/* 365 Automations — site styles. Tokens match the approved style guide. */
:root {
  color-scheme: light;
  --navy-900: #081B2E;
  --navy-800: #0C2238;
  --navy-700: #13304D;
  --teal-400: #00CEBB;
  --cyan-400: #01BFFE;
  --deepteal-600: #027494;
  --deepteal-800: #005B77;
  --ink: #1A2433;
  --slate: #5B6B7F;
  --paper: #F6F8FA;
  --white: #FFFFFF;
  --line: #E3E8EE;
  --line-strong: #C4CEDA;
  --line-dark: #1E3B5A;
  --muted-dark: #A9B8C9;
  --text-dark: #DCE5EF;
  --grad: linear-gradient(115deg, var(--teal-400), var(--cyan-400));
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --maxw: 1160px;
  --radius: 12px;
  --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--deepteal-600); }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--navy-900); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; border-radius: 4px; }

.chev { width: 0.72em; height: 0.72em; flex: none; display: inline-block; vertical-align: -0.02em; }

/* ---------- sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.dark { background: var(--navy-900); color: var(--white); }
.paper { background: var(--paper); }
.white { background: var(--white); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section-head h2, .form-intro h2, .pricing-teaser h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.015em; }
.eyebrow { font: 500 12px/1.4 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--deepteal-600); }
.dark .eyebrow { color: var(--cyan-400); }
.lede { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; color: var(--slate); max-width: 62ch; }
.dark .lede { color: var(--muted-dark); }
.small { font-size: 14px; color: var(--slate); }
.dark .small { color: var(--muted-dark); }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer;
  border-radius: 8px; padding: 12px 18px; font: 700 15px/1.1 var(--display); letter-spacing: 0.01em;
  text-decoration: none; transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 14px; font-size: 14px; }
.btn-lg { padding: 15px 22px; font-size: 16px; }
.btn-grad { background: var(--grad); color: var(--navy-900); }
.btn-grad:hover { filter: brightness(1.06); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy .chev { color: var(--teal-400); }
.btn-outline-dark { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px #3A5878; }
.btn-outline-dark:hover { box-shadow: inset 0 0 0 1.5px var(--cyan-400); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- ticks */
.ticks { display: grid; gap: 9px; }
.ticks li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; font-size: 15px; }
.ticks .chev { width: 11px; height: 11px; color: var(--deepteal-600); transform: translateY(1px); }
.dark .ticks .chev, .ticks.on-dark .chev { color: var(--teal-400); }

/* ---------- header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(8, 27, 46, 0.94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand svg { height: 30px; width: auto; display: block; }
.brand-word { font: 600 11px/1 var(--display); letter-spacing: 0.24em; color: var(--white); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 20px; }
.site-nav ul a { color: var(--text-dark); text-decoration: none; font: 600 14px/1 var(--body); padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--white); border-bottom-color: var(--teal-400); }
.menu-btn { display: none; background: transparent; border: 1px solid var(--line-dark); color: var(--white); border-radius: 8px; padding: 9px 12px; font: 600 14px var(--body); align-items: center; gap: 8px; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -5px; } .menu-lines::after { top: 5px; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-bottom: 1px solid var(--line-dark); padding: 12px var(--gutter) 20px; flex-direction: column; align-items: stretch; gap: 14px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--teal-400); }
  .site-nav .btn { display: none; }
}

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 104px); }
.hero-glow { position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(1, 191, 254, 0.16), rgba(0, 206, 187, 0.06) 55%, transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 20px; }
.hero h1 { font-weight: 800; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
.not365 { font-size: 13.5px; color: var(--muted-dark); border-left: 2px solid var(--teal-400); padding-left: 12px; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-art .rest { fill: #fff; }
.hero-art .six-glow { opacity: .35; }
.hero-art.play .rest { animation: rest-in 1.5s ease-out both; }
.hero-art.play .six { animation: six-in 1.5s ease-out both; }
.hero-art.play .six-glow { animation: glow-in 1.5s ease-out both; }
@keyframes rest-in { 0%, 45% { opacity: .1; } 100% { opacity: 1; } }
@keyframes six-in { 0% { opacity: .15; } 40%, 100% { opacity: 1; } }
@keyframes glow-in { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .hero-art.play .rest, .hero-art.play .six, .hero-art.play .six-glow { animation: none; } }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hero-points li { display: inline-flex; align-items: baseline; gap: 8px; font-size: 14.5px; color: var(--text-dark); }
.hero-points .chev { width: 10px; height: 10px; color: var(--teal-400); }

.hero-card { position: relative; background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: 16px; padding: 20px; display: grid; gap: 10px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.hc-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; background: var(--navy-700); border-radius: 10px; padding: 12px 14px; }
.hc-row b { display: block; font: 700 15px/1.3 var(--display); }
.hc-row small { color: var(--muted-dark); font-size: 13px; }
.hc-time { font-size: 12px; color: var(--muted-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.hc-icon::after { content: ""; width: 12px; height: 12px; border-radius: 50%; }
.hc-icon.miss { background: rgba(255, 107, 107, .14); } .hc-icon.miss::after { background: #FF7A7A; }
.hc-icon.sent { background: rgba(1, 191, 254, .14); } .hc-icon.sent::after { background: var(--cyan-400); }
.hc-icon.booked { background: rgba(0, 206, 187, .16); } .hc-icon.booked::after { background: var(--teal-400); }
.hero-card .badge-demo { justify-self: start; margin-top: 4px; }

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 460px; } }

/* ---------- badge */
.badge-demo { display: inline-block; font: 600 11.5px/1 var(--body); padding: 5px 9px; border-radius: 999px; background: #FFF4D6; color: #7A5200; white-space: nowrap; }

/* ---------- niche cards */
.niche-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.niche-card { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.niche-card:hover { border-color: var(--deepteal-600); transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(8, 27, 46, .35); }
.niche-card h3 { font-weight: 800; font-size: 21px; line-height: 1.2; }
.niche-pain { color: var(--slate); font-size: 15px; }
.niche-go { font: 700 14px var(--display); color: var(--deepteal-600); display: inline-flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .niche-grid { grid-template-columns: 1fr; } }

/* ---------- before/after table */
.swap-table { display: grid; border-top: 1px solid var(--line); }
.swap-row { display: grid; grid-template-columns: 1fr 36px 1fr; gap: 16px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); }
.swap-headrow { padding-block: 10px; }
.swap-headrow span { font: 500 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.swap-before { color: var(--slate); }
.swap-after { font-weight: 600; color: var(--navy-900); }
.swap-arrow { color: var(--teal-400); display: grid; place-items: center; }
.swap-arrow .chev { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .swap-headrow { display: none; }
  .swap-row { grid-template-columns: 1fr; gap: 6px; }
  .swap-arrow { justify-items: start; transform: rotate(90deg); width: 14px; }
}

/* ---------- demos */
.demo-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; align-items: start; }
.demo-col { display: grid; gap: 12px; }
.demo-link { color: var(--cyan-400); font: 700 14px var(--display); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.demo-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) { .demo-grid { grid-template-columns: 1fr; max-width: 520px; } }
.demo { background: var(--white); color: var(--ink); border-radius: 14px; overflow: hidden; display: grid; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.demo-top b { font-family: var(--display); font-weight: 700; }
.phone { background: #EEF2F6; }
.phone-head { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--white); border-bottom: 1px solid var(--line); }
.phone-head b { display: block; font-size: 14px; }
.phone-head small { color: var(--slate); font-size: 12px; font-variant-numeric: tabular-nums; }
.phone-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-700); color: var(--white); display: grid; place-items: center; font: 700 14px var(--display); }
.thread { display: grid; gap: 8px; padding: 14px; min-height: 360px; align-content: start; }
.demo.compact .thread { min-height: 320px; }
.msg { max-width: 85%; font-size: 14px; line-height: 1.45; transition: opacity .35s ease, transform .35s ease; }
.anim-item { transition: opacity .35s ease, transform .35s ease; }
.anim-item.hidden { opacity: 0; transform: translateY(6px); }
.msg small { display: block; font-size: 11px; opacity: .7; margin-top: 3px; }
.msg.out { background: var(--navy-900); color: var(--white); padding: 9px 12px; border-radius: 14px 14px 14px 4px; }
.msg.in { background: #D9F5F1; color: var(--ink); padding: 9px 12px; border-radius: 14px 14px 4px 14px; justify-self: end; }
.msg.sys { justify-self: center; max-width: none; font-size: 12px; color: #A4262C; background: #FDE8E8; padding: 4px 10px; border-radius: 999px; }
.msg.tag { justify-self: center; max-width: none; font-size: 12px; font-weight: 600; color: var(--deepteal-800); background: #DDF7F4; padding: 4px 10px; border-radius: 999px; }
.msg.owner { justify-self: stretch; max-width: none; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal-400); padding: 10px 12px; border-radius: 8px; }
.msg.owner b { display: block; font: 700 11px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--deepteal-600); margin-bottom: 3px; }
.demo-replay { margin: 0; border: 0; border-top: 1px solid var(--line); background: var(--white); color: var(--deepteal-600); font: 700 13px var(--display); padding: 11px; cursor: pointer; display: flex; gap: 8px; justify-content: center; align-items: center; }
.demo-replay:hover { background: var(--paper); }
.inbox { display: grid; margin: 0; padding: 0; min-height: 360px; align-content: start; background: #EEF2F6; }
.demo.compact .inbox { min-height: 320px; }
.inbox-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 14px; background: var(--white); border-bottom: 1px solid var(--line); }
.inbox-head b { font-size: 14px; }
.inbox-head small { color: var(--slate); font-size: 12px; }
.mail { background: var(--white); }
.mail-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.mail-from { font-size: 12.5px; color: var(--slate); font-weight: 600; }
.mail-time { font-size: 11.5px; color: var(--slate); font-variant-numeric: tabular-nums; }
.mail-result { font-size: 12.5px; }
.state-sent { color: #0B6B3A; } .state-draft { color: #7A5200; } .state-flag { color: #0B4F71; }
.inbox-summary { margin: 10px 12px; }
.mail { display: grid; gap: 3px; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mail small { color: var(--slate); font-size: 12.5px; }
.mail-tag { justify-self: start; font: 600 11px var(--body); padding: 3px 8px; border-radius: 999px; }
.t-order { background: #DDF7F4; color: #04594F; } .t-w { background: #ECE8FB; color: #43307A; } .t-return { background: #FFF4D6; color: #7A5200; } .t-q { background: #E4F2FB; color: #0B4F71; }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 14px; background: #EEF2F6; }
.pipe-col { display: grid; gap: 8px; align-content: start; }
.pipe-col h4 { font: 700 11px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.pipe-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 9px; font-size: 13.5px; font-weight: 600; }
.pipe-card small { display: block; font-weight: 400; color: var(--slate); font-size: 11.5px; margin-top: 2px; }
.pipe-card.hot { border-color: var(--teal-400); box-shadow: 0 0 0 2px rgba(0, 206, 187, .18); }

.demo-feature { display: grid; grid-template-columns: 1fr minmax(0, 430px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.demo-feature .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .demo-feature { grid-template-columns: 1fr; } .demo-feature .demo { max-width: 460px; } }
.video-slot { margin-top: 12px; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px dashed #3A5878; border-radius: 10px; }
.video-slot b { display: block; font: 700 15px var(--display); }
.video-slot small { color: var(--muted-dark); }
.video-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); display: grid; place-items: center; color: var(--teal-400); flex: none; }
.video-icon .chev { width: 13px; height: 13px; }

/* ---------- steps */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: start; }
.step { display: grid; gap: 8px; }
.step-n { font: 800 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--deepteal-600); }
.dark .step-n { color: var(--cyan-400); }
.step h3 { font-weight: 800; font-size: 20px; }
.step p { color: var(--slate); font-size: 15px; }
.dark .step p { color: var(--muted-dark); }
.step-chev { color: var(--teal-400); padding-top: 30px; }
.step-chev .chev { width: 20px; height: 20px; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step-chev { padding: 0 0 0 2px; transform: rotate(90deg); width: 20px; }
}

/* ---------- pricing */
.pricing-teaser { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; justify-content: space-between; }
.pricing-teaser > div { display: grid; gap: 12px; max-width: 700px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; display: grid; grid-template-rows: auto auto auto 1fr; gap: 10px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.popular { border: 2px solid var(--teal-400); background: linear-gradient(180deg, #F2FCFB, var(--white) 40%); }
.price-flag { position: absolute; top: -11px; left: 20px; background: var(--navy-900); color: var(--white); font: 700 11px var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.price-card h3 { font-weight: 800; font-size: 19px; }
.price { font: 800 28px/1 var(--display); color: var(--navy-900); font-variant-numeric: tabular-nums; }
.price span { font: 500 14px var(--body); color: var(--slate); margin-right: 4px; }
.price-desc { color: var(--slate); font-size: 15px; }
.price-card .ticks { padding-top: 12px; border-top: 1px solid var(--line); align-content: start; }
.price-card .ticks li { font-size: 14px; }
.price-note { margin-top: 18px; }

/* ---------- pains */
.pain-list { display: grid; gap: 14px; }
.pain { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 16px; align-items: stretch; }
.pain p { padding: 18px 20px; border-radius: 10px; font-size: 16px; line-height: 1.5; display: grid; gap: 6px; align-content: start; }
.pain-problem { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.pain-outcome { background: var(--navy-900); color: var(--white); font-weight: 500; }
.pain-label { font: 700 11px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.pain-outcome .pain-label { color: var(--teal-400); }
.pain-arrow { display: grid; place-items: center; color: var(--teal-400); }
.pain-arrow .chev { width: 18px; height: 18px; }
@media (max-width: 760px) { .pain { grid-template-columns: 1fr; gap: 6px; } .pain-arrow { transform: rotate(90deg); width: 18px; justify-self: start; margin-left: 20px; } }

/* ---------- day table */
.day-table { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.day-row { display: grid; grid-template-columns: 96px 1fr 1fr; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: baseline; }
.day-row:last-child { border-bottom: 0; }
.day-head { background: var(--paper); padding-block: 11px; }
.day-head span { font: 500 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.day-time { font: 800 15px var(--display); color: var(--navy-900); font-variant-numeric: tabular-nums; }
.day-before { color: var(--slate); }
.day-after { font-weight: 500; color: var(--ink); }
@media (max-width: 700px) {
  .day-head { display: none; }
  .day-row { grid-template-columns: 1fr; gap: 6px; }
  .day-before::before { content: "Without it: "; font-weight: 600; }
  .day-after::before { content: "With it: "; font-weight: 700; color: var(--deepteal-600); }
}

/* ---------- why */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.why { display: grid; gap: 8px; align-content: start; }
.why-mark { color: var(--teal-400); }
.why-mark .chev { width: 16px; height: 16px; }
.why h3 { font-weight: 800; font-size: 18px; }
.why p { color: var(--slate); font-size: 15px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- faq */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font: 700 17px/1.35 var(--display); color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 14px; height: 14px; position: relative; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--deepteal-600); transition: transform .2s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon::after { transform: rotate(0); }
.faq details p { padding-bottom: 18px; color: var(--slate); max-width: 64ch; }

/* ---------- lead form */
.form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.form-intro { display: grid; gap: 18px; }
.link-dark { color: var(--cyan-400); font-weight: 600; }
.lead-form, .form-done { background: var(--white); color: var(--ink); border-radius: 16px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 16px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--body); color: var(--ink); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 11px 12px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--deepteal-600); outline: none; box-shadow: 0 0 0 3px rgba(2, 116, 148, .18); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--slate); align-items: start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--deepteal-600); }
.form-error { color: #A4262C; background: #FDECEC; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.lead-form .btn { justify-self: start; }
.form-done { align-content: start; }
.form-done h2 { font-weight: 800; font-size: 28px; color: var(--navy-900); }
.form-done .lede { color: var(--slate); }
.form-done .btn { justify-self: start; }

/* ---------- footer */
.site-footer { background: #06141F; color: var(--muted-dark); padding-block: 56px 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-logo svg { width: 170px; height: auto; display: block; }
.footer-col h2 { font: 700 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 8px; }
.site-footer a { color: var(--text-dark); text-decoration: none; }
.site-footer a:hover { color: var(--cyan-400); }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- mobile bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 30px -18px rgba(8, 27, 46, .5); }
  .mobile-bar .btn { padding: 13px 14px; }
  .mobile-bar-alt { display: grid; place-items: center; padding: 0 16px; border-radius: 8px; border: 1.5px solid var(--line-strong); color: var(--navy-900); font: 700 14px var(--display); text-decoration: none; }
  body { padding-bottom: 76px; }
}

/* ---------- inner page hero */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px); }
.page-hero-inner { position: relative; display: grid; gap: 18px; justify-items: start; }
.page-hero-inner > * { max-width: 820px; }
.page-hero h1 { font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.02em; }

/* ---------- demos on light sections */
.demo-feature.light .demo { border: 1px solid var(--line); box-shadow: 0 24px 60px -36px rgba(8, 27, 46, .45); }
.demo-feature.light .section-head .btn { justify-self: start; margin-top: 8px; white-space: normal; text-align: left; }
.video-slot.on-light { border-color: var(--line-strong); }
.video-slot.on-light small { color: var(--slate); }
.video-slot.on-light .video-icon { background: var(--navy-900); }

/* ---------- timeline (how it works) */
.timeline { display: grid; gap: 0; counter-reset: none; }
.tl-item { display: grid; grid-template-columns: 48px 1fr; gap: 20px; position: relative; padding-bottom: 28px; }
.tl-item::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-n { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); color: var(--white); display: grid; place-items: center; font: 800 18px var(--display); position: relative; }
.tl-body { display: grid; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.tl-head h3 { font-weight: 800; font-size: 20px; }
.tl-when { font: 600 13px var(--body); color: var(--deepteal-600); background: #E3F4F8; padding: 4px 10px; border-radius: 999px; }
.tl-body p { color: var(--slate); max-width: 64ch; }
@media (max-width: 560px) { .tl-item { grid-template-columns: 36px 1fr; gap: 12px; } .tl-n { width: 36px; height: 36px; font-size: 15px; } .tl-item::before { left: 17px; top: 36px; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.col-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; background: var(--paper); }
.col-card h3 { font-weight: 800; font-size: 19px; }

/* ---------- pricing page */
.section-tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.tabs-inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.tabs-inner a { flex: none; font: 600 14px var(--body); color: var(--navy-900); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); }
.tabs-inner a:hover { border-color: var(--deepteal-600); color: var(--deepteal-600); }
.cost-table { display: grid; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.cost-row { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); color: var(--text-dark); }
.cost-row:last-child { border-bottom: 0; }
.cost-row b { color: var(--white); font-weight: 600; }
.cost-head { background: var(--navy-800); }
.cost-head span { font: 500 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.cost-note { margin-top: 16px; }
@media (max-width: 700px) { .cost-head { display: none; } .cost-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- booking */
.book-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
.book-aside { display: grid; gap: 16px; }
.book-aside h2 { font-weight: 800; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; }
.book-aside p { color: var(--slate); }
.cal-frame { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-height: 640px; }
.cal-frame iframe { display: block; width: 100%; height: 700px; border: 0; }

/* ---------- about */
.prose-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 18px; font-size: 18px; line-height: 1.7; max-width: 64ch; }
.prose p:first-child { font-size: 21px; color: var(--navy-900); font-weight: 500; }
.fact-card { background: var(--navy-900); color: var(--white); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.fact-card h2 { font: 700 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-400); }
.fact-card dl { margin: 0; display: grid; gap: 12px; }
.fact-card dl div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.fact-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-card dt { font-size: 12.5px; color: var(--muted-dark); }
.fact-card dd { margin: 0; font-weight: 600; }

/* ---------- legal */
.legal { max-width: 760px; }
.legal h2 { font-weight: 800; font-size: 22px; margin: 32px 0 10px; }
.legal p { margin: 0 0 12px; color: var(--ink); max-width: 68ch; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; display: grid; gap: 6px; }
.legal-meta { font-size: 14px; color: var(--slate); background: #FFF4D6; display: inline-block; padding: 6px 12px; border-radius: 8px; }

/* ---------- cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin-left: auto; background: var(--navy-900); color: var(--text-dark); border: 1px solid var(--line-dark); border-radius: 14px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.consent p { font-size: 14px; }
.consent a { color: var(--cyan-400); }
.consent .btn-row { gap: 10px; }
@media (max-width: 760px) { .consent { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }
