:root {
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --amber: #f5a623;
  --amber-dark: #e2951a;
  --amber-tint: #fdf0d5;
  --tint: #f6f6f4;
  --line: #e5e7eb;
  --white: #fff;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, transform .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cta :focus-visible, .estimate :focus-visible { outline-color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
}
.logo-accent { color: var(--amber-dark); }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav a:not(.btn) { color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
h1 {
  font-size: clamp(38px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 700;
}
.lead {
  margin: 24px 0 32px;
  max-width: 420px;
  font-size: 18px;
  color: var(--ink-soft);
}

.portal-card {
  justify-self: end;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 48px -12px rgba(31, 41, 55, .18);
  display: grid;
  gap: 14px;
  font-size: 13px;
}
.portal-head { display: flex; justify-content: space-between; align-items: flex-start; }
.portal-label { display: block; font-size: 12px; color: var(--muted); }
.portal-name { font-size: 18px; font-weight: 600; }
.badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: #e3f4e8;
  color: #1e6b3a;
  font-size: 11px;
  font-weight: 600;
}
.portal-notice {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--amber-tint);
  color: #6b4a0b;
}
.portal-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.portal-item strong { display: block; font-weight: 600; }
.portal-item span { color: var(--muted); font-size: 12px; }
.portal-event { display: flex; align-items: center; gap: 12px; }
.date-chip {
  flex: none;
  width: 46px;
  padding: 6px 0;
  border-radius: 8px;
  background: var(--ink);
  text-align: center;
  line-height: 1.15;
}
.date-chip span { display: block; color: var(--white); font-size: 9px; letter-spacing: .08em; }
.date-chip strong { color: var(--white); font-size: 18px; font-weight: 700; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-tight { padding-bottom: 40px; }
.section-how { padding-top: 40px; }
h2 {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -.01em;
  font-weight: 700;
}
.section-sub { margin-top: 8px; color: var(--ink-soft); }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.feature {
  padding: 28px 26px 32px;
  background: var(--white);
  border-radius: var(--radius);
}
.feature svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { margin: 12px 0 6px; font-size: 17px; font-weight: 600; }
.feature p { font-size: 14px; color: var(--ink-soft); }

/* Built for */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill-list li {
  padding: 9px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--amber);
  font-weight: 700;
}
.steps h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 600; }
.steps p { font-size: 14px; color: var(--ink-soft); }

/* Quote */
.quote {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  margin-top: 40px;
}
.quote legend { margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.quote fieldset + fieldset { margin-top: 28px; }
.quote input { position: absolute; opacity: 0; pointer-events: none; }

.size-options { display: flex; flex-wrap: wrap; gap: 10px; }
.size-pill span {
  display: block;
  padding: 10px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.size-pill input:checked + span { background: var(--ink); color: var(--white); font-weight: 600; }
.size-pill input:focus-visible + span,
.module input:focus-visible ~ .check { outline: 2px solid var(--amber-dark); outline-offset: 2px; }

.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.module {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s;
}
.module:hover { border-color: #c5c9d0; }
.module:has(input:checked) { border-color: var(--ink); }
.module.is-locked { cursor: default; }
.check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1.5px solid #9ca3af;
  border-radius: 4px;
  background: var(--white) center / 12px no-repeat;
}
.module input:checked ~ .check {
  border-color: var(--ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.4 2.4 4.6-5'/%3E%3C/svg%3E");
}
.module-text strong { display: block; font-size: 15px; font-weight: 600; }
.module-text .role-count {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.module-text .role-count[hidden] { display: none; }
.quote .role-count input {
  position: static;
  opacity: 1;
  pointer-events: auto;
  width: 56px;
  padding: 4px 8px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
}
.quote .role-count input:focus-visible { outline: 2px solid var(--amber-dark); outline-offset: 1px; }
.module-text .role-price { font-weight: 400; color: var(--ink-soft); }
.module-custom { grid-column: 1 / -1; border-style: dashed; }
.module-custom:hover { border-color: var(--ink); }
.custom-icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.module-text .custom-cta { font-weight: 600; color: var(--ink); white-space: nowrap; }
.module-text em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.module-text span { font-size: 13px; color: var(--ink-soft); }

.estimate {
  position: sticky;
  top: 100px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}
.estimate-title { display: block; margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.estimate-label { display: block; font-size: 13px; color: #d1d5db; }
.estimate-value {
  display: block;
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}
.estimate-value small { font-size: 16px; font-weight: 400; }
.estimate-summary {
  padding-top: 16px;
  margin-bottom: 16px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 13px;
  color: #e5e7eb;
}
.estimate-note { margin-top: 16px; font-size: 12px; color: #d1d5db; }

/* Proof */
.proof { padding: 44px 0; text-align: center; color: var(--ink-soft); }
.proof strong { color: var(--ink); }
.proof a { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.proof a:hover { text-decoration-color: var(--ink); }

/* CTA */
.cta { padding: 88px 0; background: var(--ink); color: var(--white); text-align: center; }
.cta p { margin: 14px 0 32px; color: #e5e7eb; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Footer */
.site-footer { padding: 28px 0; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .portal-card { justify-self: start; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .quote { grid-template-columns: 1fr; }
  .estimate { position: static; }
}

@media (max-width: 680px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 64px 0; }
  .section-tight { padding-bottom: 24px; }
  .section-how { padding-top: 24px; }
  .feature-grid, .module-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .cta { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
