/* Siha website — shared styles. Look carried over from the live sihahealth.in design. */
:root {
  --bg: #F6F4EF;
  --bg-sage: #EDF1EC;
  --surface: #FFFFFF;
  --ink: #16211F;
  --ink-2: #46534F;
  --ink-3: #6B7A76;
  --muted: #8A9793;
  --faint: #A9B2AF;
  --accent: #2E6A66;
  --accent-tint: #E6EFEA;
  --accent-wash: rgba(46, 106, 102, 0.10);
  --amber: #A96A1E;
  --amber-wash: rgba(196, 124, 42, 0.10);
  --line: rgba(22, 33, 31, 0.08);
  --line-2: rgba(22, 33, 31, 0.14);
  --footer: #16211F;
  --serif: Newsreader, Georgia, serif;
  --sans: Jost, system-ui, sans-serif;
  --gutter: clamp(18px, 4vw, 44px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 28px 64px -44px rgba(22, 33, 31, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.serif { font-family: var(--serif); }
em.accent, .accent-em { font-style: italic; color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 15px 26px; font-size: 16px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: gap 300ms ease, background 300ms ease, border-color 300ms ease, color 300ms ease;
}
.btn .arrow { transition: transform 300ms ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(46, 106, 102, 0.55); color: var(--ink); }
.btn-small { padding: 11px 20px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Header ──────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(246, 244, 239, 0.86); border-bottom: 1px solid rgba(22, 33, 31, 0.07);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: 14px; }
.nav a:not(.btn) { color: #43514E; }
.nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ── Hero ────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 7vh, 72px) 0 clamp(56px, 9vh, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(22,33,31,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(22,33,31,0.045) 1px, transparent 1px);
  background-size: 100% 92px, 92px 100%;
}
.hero-glow {
  position: absolute; top: 4%; right: -8%; width: 48vw; height: 48vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 40% 40%, rgba(46,106,102,0.17), rgba(46,106,102,0) 68%);
  transition: transform 900ms var(--ease);
}
.hero[data-audience="patients"] .hero-glow { transform: translateX(-90px); }
.hero .wrap { position: relative; z-index: 2; }

/* The audience switch: two labelled, unmistakable choices. */
.audience { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: clamp(28px, 4.5vh, 44px); }
.audience-label { font-size: 13px; color: var(--ink-3); }
.switch {
  position: relative; display: inline-flex; background: rgba(22, 33, 31, 0.06);
  border-radius: 999px; padding: 4px; gap: 0;
}
.switch button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px;
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 11px clamp(14px, 2.4vw, 22px); font-size: 15px; color: #4E5B57; white-space: nowrap;
  transition: color 300ms ease;
}
.switch button svg { width: 17px; height: 17px; }
.switch button[aria-selected="true"] { color: #fff; }
.switch-pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--accent);
  transition: transform 460ms var(--ease), width 460ms var(--ease);
}

.hero-panel[hidden] { display: none; }
.hero-panel { animation: panelIn 520ms var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.2vw, 82px); line-height: 1.08;
  letter-spacing: -0.025em; margin: 0; max-width: 14em; text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-row { margin-top: clamp(28px, 5vh, 52px); display: flex; align-items: flex-start; gap: clamp(28px, 4vw, 52px); flex-wrap: wrap; }
.hero-copy { max-width: 440px; flex: 1 1 300px; }
.hero-copy p { font-size: 18.5px; line-height: 1.5; color: var(--ink-2); margin: 0 0 26px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-copy .hero-note { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

.card {
  background: var(--surface); border: 1px solid rgba(22, 33, 31, 0.09); border-radius: 20px;
  padding: 22px 24px; box-shadow: var(--shadow);
}
.hero-card { flex: 1.15 1 320px; max-width: 540px; }
.card-label { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rows li { display: flex; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid rgba(22, 33, 31, 0.06); }
.rows li:last-child { border-bottom: 0; padding-bottom: 2px; }
.tag-dot {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent-tint); color: var(--accent);
  font-size: 10.5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rows .main { font-size: 14px; flex: 1; min-width: 0; }
.rows .main small { display: block; font-size: 12.5px; color: var(--muted); }
.rows .right { font-size: 12px; color: var(--muted); white-space: nowrap; }
.rows .right.on { color: var(--accent); }
.rows .right.warn { color: var(--amber); }

/* ── Sections ────────────────────────────── */
.section { position: relative; padding: clamp(60px, 9vh, 110px) 0; border-top: 1px solid var(--line); }
.section.sage { background: var(--bg-sage); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(34px, 5vh, 52px); }
.h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.06;
  letter-spacing: -0.02em; margin: 0; max-width: 18em; text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--accent); }
.lede { font-size: 18px; line-height: 1.5; color: var(--ink-2); margin: 18px 0 0; max-width: 560px; text-wrap: pretty; }
.head-note { font-size: 13px; color: var(--muted); max-width: 260px; text-wrap: pretty; margin: 0; }

/* Roles: who uses what */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.role { background: var(--surface); border: 1px solid rgba(22, 33, 31, 0.08); border-radius: 20px; padding: 26px 26px 22px; }
.role h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: -0.01em; margin: 0 0 4px; }
.role .who { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.role ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.role li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.role li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex-shrink: 0; }
.role li strong { font-weight: 500; color: var(--ink); }

/* Demo module (tabs + stage) */
.demo { display: flex; flex-wrap: wrap; gap: clamp(26px, 4vw, 56px); align-items: flex-start; }
.demo-tabs { display: flex; flex-direction: column; gap: 4px; flex: 1 1 260px; max-width: 330px; position: sticky; top: 110px; }
@media (max-width: 900px) {
  .demo-tabs { position: static; max-width: none; }
  .demo-tab { padding-top: 12px; padding-bottom: 12px; }
}
.demo-tab {
  text-align: left; border: 0; background: transparent; cursor: pointer;
  padding: 16px 4px 16px 20px; border-left: 2px solid rgba(22, 33, 31, 0.12);
  display: flex; flex-direction: column; gap: 5px; transition: border-color 400ms ease;
}
.demo-tab .t { display: flex; align-items: baseline; gap: 12px; }
.demo-tab .num { font-size: 10.5px; letter-spacing: 0.14em; color: var(--faint); }
.demo-tab .title { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; color: var(--muted); transition: color 400ms ease; }
.demo-tab .desc {
  font-size: 13.5px; line-height: 1.45; color: var(--muted); max-width: 260px;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height 480ms var(--ease), opacity 380ms ease;
}
.demo-tab[aria-selected="true"] { border-left-color: var(--accent); }
.demo-tab[aria-selected="true"] .title { color: var(--ink); }
.demo-tab[aria-selected="true"] .desc { max-height: 90px; opacity: 1; }
.demo-stage {
  position: relative; flex: 999 1 380px; min-width: 0; min-height: clamp(440px, 58vh, 560px);
  background: var(--bg-sage); border-radius: 26px; border: 1px solid rgba(22, 33, 31, 0.07);
  padding: clamp(18px, 3.4vw, 40px); overflow: hidden;
}
.section.sage .demo-stage { background: var(--bg); }
.demo-stage::before {
  content: ""; position: absolute; inset: 0; opacity: 0.6; pointer-events: none;
  background-image: radial-gradient(rgba(22,33,31,0.07) 1px, transparent 1px); background-size: 22px 22px;
}
.demo-panel { position: relative; display: flex; flex-direction: column; gap: 14px; }
.demo-panel[hidden] { display: none; }
.stage-foot { font-size: 13px; line-height: 1.5; color: #6F7E79; text-wrap: pretty; margin: 4px 0 0; }

/* stagger-in items inside panels */
.reveal > * { opacity: 0.12; transform: translateY(8px); transition: opacity 480ms ease, transform 520ms var(--ease); }
.reveal > .in { opacity: 1; transform: none; }

.tile { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 15px; padding: 14px 18px; box-shadow: 0 14px 34px -32px rgba(22,33,31,0.5); border: 1px solid transparent; }
.tile .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-size: 13.5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tile .body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile .name { font-size: 16px; color: var(--ink); }
.tile .meta { font-size: 12.5px; color: var(--muted); }
.tile .end { margin-left: auto; font-size: 12.5px; color: var(--accent); white-space: nowrap; text-align: right; }
.tile .end.muted { color: var(--muted); }
.tile .end.warn { color: var(--amber); }
.tile.walkin { background: rgba(46,106,102,0.06); border-color: rgba(46,106,102,0.3); }
.tile.away { background: var(--amber-wash); border-color: rgba(196,124,42,0.28); }
.kind { font-size: 9.5px; letter-spacing: 0.12em; color: var(--accent); background: var(--accent-wash); border-radius: 6px; padding: 6px 9px; flex-shrink: 0; }

.week { display: flex; gap: 6px; }
.week div { flex: 1; text-align: center; padding: 9px 0; border-radius: 12px; background: rgba(22,33,31,0.04); color: #5D6B67; }
.week div.on { background: var(--accent); color: #fff; }
.week div.off { background: var(--amber-wash); color: var(--amber); }
.week small { display: block; font-size: 9.5px; letter-spacing: 0.1em; opacity: 0.75; }
.week span { display: block; font-size: 15px; margin-top: 3px; }

.slot { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid rgba(22,33,31,0.10); border-radius: 13px; padding: 11px 15px; }
.slot .time { font-size: 13px; color: var(--muted); min-width: 52px; }
.slot .who { font-size: 14.5px; flex: 1; min-width: 0; }
.slot .who small { color: var(--muted); font-size: 12.5px; }
.slot .st { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.slot .st.muted { color: var(--faint); }
.slot.walkin { background: rgba(46,106,102,0.06); border-color: rgba(46,106,102,0.32); }
.slot.open .who { color: var(--faint); }

.listening { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 14px; padding: 14px 16px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.bars i { width: 3px; height: 100%; background: var(--accent); border-radius: 2px; transform-origin: bottom; animation: barPulse 900ms ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: 120ms; } .bars i:nth-child(3) { animation-delay: 240ms; }
.bars i:nth-child(4) { animation-delay: 360ms; } .bars i:nth-child(5) { animation-delay: 480ms; }
@keyframes barPulse { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.transcript p { display: flex; gap: 12px; margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.transcript p::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex-shrink: 0; }
.note-card { background: var(--surface); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.field-row { display: flex; gap: 13px; align-items: flex-start; }
.field-row .k { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); min-width: 86px; padding-top: 3px; }
.field-row .v { font-size: 14.5px; line-height: 1.5; color: var(--ink); min-width: 0; }

.call-list .tile .end { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }

.search-bar { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 999px; padding: 18px 24px; box-shadow: 0 18px 40px -28px rgba(22,33,31,0.4); }
.search-bar .ring { width: 18px; height: 18px; border: 1.6px solid var(--accent); border-radius: 50%; flex-shrink: 0; }
.search-bar .typed { font-size: 18px; white-space: nowrap; overflow: hidden; }
.caret { display: inline-block; width: 2px; height: 20px; background: var(--accent); vertical-align: -3px; margin-left: 3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip { font-size: 12.5px; color: #5D6B67; background: rgba(22,33,31,0.05); border-radius: 999px; padding: 7px 15px; }
.chip.on { color: var(--accent); background: var(--accent-wash); }
.big-num { font-family: var(--serif); font-size: clamp(56px, 7vw, 92px); line-height: 0.9; letter-spacing: -0.03em; }
.pill-warn { display: inline-flex; background: rgba(196,124,42,0.12); color: var(--amber); border-radius: 999px; padding: 8px 15px; font-size: 13px; }
.chart { background: var(--surface); border-radius: 20px; padding: 22px; }
.chart svg { width: 100%; height: 170px; display: block; }
.chart .axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--faint); margin-top: 10px; }
.chart polyline { stroke-dasharray: 620; stroke-dashoffset: 620; }
.demo-panel:not([hidden]) .chart polyline { animation: drawLine 1900ms var(--ease) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 22px; }
.steps .n { font-size: 11px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 14px; display: block; }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 10px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-3); text-wrap: pretty; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(28px, 3vw, 44px); }
.trust h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: -0.01em; margin: 0 0 8px; }
.trust p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); text-wrap: pretty; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 2px; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); line-height: 1; transition: transform 300ms var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 640px; }

/* CTA band */
.cta-band { background: var(--accent); color: #EAF2EF; border-radius: 28px; padding: clamp(32px, 5vw, 60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 10px; color: #fff; }
.cta-band p { margin: 0; color: rgba(234,242,239,0.82); font-size: 16px; }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* Footer */
.site-footer { background: var(--footer); color: #E8EDEB; padding: clamp(48px, 7vh, 76px) 0 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(232,237,235,0.14); }
.footer-top img { height: 38px; width: auto; display: block; margin-bottom: 18px; filter: brightness(1.35) saturate(0.85); }
.footer-line { font-family: var(--serif); font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; max-width: 400px; margin: 0; text-wrap: pretty; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-cols h3 { font-size: 10.5px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: #86948F; margin: 0; }
.footer-cols a { color: #E8EDEB; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 12.5px; color: #86948F; }

/* Sticky mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246, 244, 239, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 360ms var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { flex: 1; padding: 13px 10px; font-size: 14.5px; min-height: 46px; }
  .mobile-bar a.btn-primary { flex: 1.6; }
  body.has-mobile-bar { padding-bottom: 76px; }
  .site-header .btn-small { padding: 10px 16px; }
}

/* ── Clinic form page ────────────────────── */
.form-page { padding: clamp(20px, 4vh, 48px) 0 90px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid rgba(22,33,31,0.09); border-radius: 24px; padding: clamp(20px, 4vw, 34px); box-shadow: 0 30px 70px -54px rgba(22,33,31,0.55); }
.progress { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.progress .track { flex: 1; height: 3px; border-radius: 3px; background: rgba(22,33,31,0.09); overflow: hidden; }
.progress .fill { height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width 520ms var(--ease); }
.progress span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px; border: 0; padding: 0; margin: 0; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: 13px; letter-spacing: 0.02em; color: var(--ink-2); padding: 0; }
.field > legend { margin-bottom: 9px; float: left; width: 100%; }
.field .opt { color: var(--faint); }
.input, .phone-input {
  border: 1px solid var(--line-2); border-radius: 13px; background: #FDFDFC; font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.input { padding: 15px 17px; width: 100%; }
.input::placeholder, .phone-input input::placeholder { color: #AEB7B4; }
.input:focus, .phone-input:focus-within { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,106,102,0.12); }
.phone-input { display: flex; align-items: stretch; overflow: hidden; }
.phone-input span { display: flex; align-items: center; padding: 0 15px; border-right: 1px solid rgba(22,33,31,0.12); }
.phone-input input { border: 0; background: transparent; padding: 15px 16px; font: inherit; font-size: 16px; width: 100%; min-width: 0; color: inherit; }
.phone-input input:focus { outline: none; }
.field .err { font-size: 12.5px; color: #B3261E; display: none; }
.field.invalid .err { display: block; }
.field.invalid .input, .field.invalid .phone-input { border-color: rgba(179,38,30,0.55); }

.seg { position: relative; display: flex; background: rgba(22,33,31,0.05); border-radius: 13px; padding: 4px; clear: both; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 12px 6px; font-size: 15px; border-radius: 10px; color: #5D6B67; transition: background 300ms ease, color 300ms ease; }
.seg input:checked + span { background: var(--accent); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sizes { display: flex; gap: 7px; clear: both; }
.sizes label { flex: 1; position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sizes span { display: block; text-align: center; padding: 14px 0; font-size: 15px; border: 1px solid var(--line-2); background: #FDFDFC; border-radius: 12px; color: var(--ink-2); transition: all 280ms ease; }
.sizes input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.sizes input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.submit { margin-top: 30px; width: 100%; padding: 18px 28px; font-size: 16.5px; }
.submit[aria-disabled="true"] { background: rgba(22,33,31,0.06); color: #8F9A97; cursor: not-allowed; }
.submit[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.form-foot { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.form-alert { margin-top: 18px; border: 1px solid rgba(179,38,30,0.35); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.form-alert strong { color: #B3261E; font-weight: 500; }
.form-alert[hidden] { display: none; }
.thanks { text-align: left; animation: panelIn 500ms var(--ease); }
.thanks[hidden] { display: none; }
.check { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px; }
.thanks h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; }
.thanks p { font-size: 17px; line-height: 1.55; color: #57645F; margin: 0 0 26px; max-width: 440px; }

.side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
@media (max-width: 900px) { .side { position: static; } }
.side-card { background: var(--bg-sage); border-radius: 20px; padding: 24px; }
.side-card h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 6px; }
.side-card p { margin: 0 0 18px; font-size: 14.5px; color: var(--ink-3); }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list .btn { justify-content: flex-start; width: 100%; background: var(--surface); border-color: var(--line); color: var(--ink); }
.contact-list .btn:hover { border-color: rgba(46,106,102,0.5); }
.contact-list .btn small { margin-left: auto; color: var(--muted); font-size: 13px; }
.next-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.next-list li { display: flex; gap: 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.next-list .n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(46,106,102,0.4); color: var(--accent); font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

[data-wa][hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal > * { opacity: 1; transform: none; }
  .chart polyline { stroke-dashoffset: 0; }
}
