:root {
  --night: #071417;
  --night-2: #0D2126;
  --line-dark: #1D3438;
  --teal: #12D8C5;
  --teal-ink: #0B7F74;
  --day: #F3F6F5;
  --paper: #FFFFFF;
  --ink: #0B1C21;
  --steel: #4E6268;
  --mist: #A9BCC0;
  --amber: #FFB347;
  --wrap: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--day); }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--teal-ink); }

/* Headings: the wide cut of Archivo, like lettering on a work van */
h1, h2 { font-stretch: 118%; font-weight: 800; letter-spacing: -0.012em; line-height: 1.02; }
h1 { font-size: clamp(44px, 7.2vw, 96px); }
h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 18ch; }
h3 { font-size: 20px; font-weight: 700; font-stretch: 108%; line-height: 1.25; }
@media (max-width: 520px) { h1, h2 { font-stretch: 104%; } }

.section-lead { font-size: 20px; color: var(--steel); max-width: 52ch; margin-top: 18px; }
.dark .section-lead { color: var(--mist); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-teal { background: var(--teal); color: var(--night); }
.btn-teal:hover { background: #5DEBDD; }
.btn-outline { border-color: #2C4A50; color: #FFFFFF; }
.btn-outline:hover { border-color: var(--teal); }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: var(--teal-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(7, 20, 23, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); color: #FFFFFF; }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: block; margin-right: auto; }
.logo img { width: 190px; }
.nav-list { display: flex; gap: 28px; }
.nav-list a { text-decoration: none; color: var(--mist); font-weight: 500; font-size: 16px; }
.nav-list a:hover { color: #FFFFFF; }
@media (max-width: 760px) { .site-header nav { display: none; } .logo img { width: 150px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: #FFFFFF; padding: 72px 0 96px; }
.hero-orbit { position: absolute; left: 50%; top: 52%; width: 1500px; max-width: none; transform: translate(-36%, -50%); fill: none; stroke: var(--teal); stroke-width: 1.5; opacity: .22; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.lead { font-size: 21px; color: var(--mist); max-width: 46ch; }
.hero-note { font-size: 15px; color: var(--mist); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* Call card */
.call { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.call-bar { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--mist); padding: 0 4px 6px; border-bottom: 1px solid var(--line-dark); }
.call-status { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 600; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 1.6s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .3; } }
.transcript { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: 16px; line-height: 1.45; }
.msg .who { display: block; font-size: 12px; font-weight: 700; color: var(--mist); margin-bottom: 2px; }
.msg.ai { background: #12302E; border: 1px solid #1F4B47; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.caller { background: #1B2B2F; border-bottom-right-radius: 4px; align-self: flex-end; }
.booked { display: flex; gap: 14px; align-items: center; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 12px 14px; }
.booked-time { flex: none; text-align: center; font-size: 12px; line-height: 1.2; color: var(--steel); padding-right: 14px; border-right: 1px solid #DCE4E3; }
.booked-time strong { display: block; font-size: 20px; color: var(--ink); font-stretch: 110%; }
.booked-body { font-size: 14px; color: var(--steel); line-height: 1.35; }
.booked-body strong { display: block; color: var(--ink); font-size: 16px; }
.replay { align-self: center; background: none; border: 1px solid var(--line-dark); color: var(--mist); font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; }
.replay:hover { color: #FFFFFF; border-color: var(--teal); }

/* Animation support (GSAP + Lenis). Hidden only briefly while script.js sets up. */
.preload .hero h1, .preload .hero .lead, .preload .hero .actions, .preload .hero-note, .preload .call, .preload .call [data-delay] { visibility: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.line-mask { padding-bottom: .06em; margin-bottom: -.06em; }

/* Sections */
.band { padding: 104px 0; }
.band.light { background: var(--day); }
.band.light + .band.light { padding-top: 0; }
.band.dark { background: var(--night); color: #FFFFFF; }
@media (max-width: 760px) { .band { padding: 72px 0; } }

/* Timeline */
.timeline { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: #CFDAD8; }
.timeline::after { background: var(--teal-ink); transform-origin: left center; transform: scaleX(var(--progress, 1)); }
.timeline li { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.stamp { align-self: flex-start; background: var(--ink); color: var(--teal); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; padding: 5px 10px; border-radius: 6px; margin-bottom: 8px; }
.timeline p { color: var(--steel); font-size: 16px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 32px; padding-left: 0; }
  .timeline { padding-left: 76px; }
  .timeline::before, .timeline::after { left: 26px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline::after { transform-origin: center top; transform: scaleY(var(--progress, 1)); }
  .stamp { position: absolute; left: -76px; top: 0; }
}

/* Calendar split */
.split { padding-top: 104px; }
.band.light + .band.split { padding-top: 104px; border-top: 1px solid #DCE4E3; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-copy p { color: var(--steel); font-size: 19px; margin-top: 18px; max-width: 46ch; }
.fields { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.fields li { display: flex; gap: 12px; font-weight: 500; }
.fields li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; border-radius: 2px; background: var(--teal-ink); }
.day { background: var(--paper); border-radius: 18px; padding: 22px; box-shadow: 0 1px 0 #DCE4E3, 0 24px 60px rgba(11, 28, 33, .10); }
.day-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid #E3EAE9; font-weight: 700; font-stretch: 110%; font-size: 20px; }
.day-count { font-size: 14px; font-weight: 500; color: var(--steel); font-stretch: 100%; }
.day-grid { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-auto-rows: minmax(54px, auto); margin-top: 8px; }
.hour { grid-column: 1; font-size: 13px; color: var(--steel); padding-top: 4px; border-top: 1px solid #EEF2F1; }
.slot { grid-column: 2; border-top: 1px solid #EEF2F1; padding: 4px 0 4px 8px; font-size: 14px; }
.slot.busy { margin: 4px 0; padding: 8px 12px; border: 0; border-radius: 8px; background: #E6ECEB; color: var(--steel); }
.slot.event { grid-row: span 2; margin: 4px 0; padding: 12px 14px; border: 0; border-radius: 10px; background: var(--ink); color: #D7E4E2; display: flex; flex-direction: column; gap: 2px; font-size: 14px; box-shadow: inset 0 3px 0 var(--teal); }
.slot.event strong { color: #FFFFFF; font-size: 16px; }
.slot.event-cont { display: none; }
.day-note { margin-top: 12px; font-size: 13px; color: var(--steel); }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Calculator */
.math-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.calc { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 600; }
.calc-row output { font-size: 22px; font-weight: 800; font-stretch: 110%; color: var(--teal); font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; height: 44px; margin: 0 0 12px; accent-color: var(--teal); cursor: pointer; background: transparent; }
.calc-result { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 4px; }
.calc-result span { color: var(--mist); font-size: 16px; }
.calc-result output { font-size: clamp(48px, 6vw, 72px); font-weight: 800; font-stretch: 118%; line-height: 1; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.calc-note { font-size: 14px; color: var(--mist); }
@media (max-width: 900px) { .math-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Trades */
.trades { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.trade-list { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; font-weight: 500; max-width: 34ch; }
@media (max-width: 900px) { .trades { grid-template-columns: 1fr; gap: 20px; } }

/* Pricing */
#pricing { padding-top: 104px; border-top: 1px solid #DCE4E3; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.price-box { background: var(--paper); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 1px 0 #DCE4E3, 0 24px 60px rgba(11, 28, 33, .10); }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.amount { font-size: 56px; font-weight: 800; font-stretch: 118%; line-height: 1; }
.per { color: var(--steel); font-weight: 600; }
.included { display: flex; flex-direction: column; gap: 12px; }
.included li { display: flex; gap: 12px; }
.included li::before { content: ""; flex: none; width: 18px; height: 10px; margin-top: 6px; border-left: 3px solid var(--teal-ink); border-bottom: 3px solid var(--teal-ink); transform: rotate(-45deg); }
.price-box .btn { align-self: flex-start; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; gap: 36px; } }

/* FAQ */
#faq { padding-top: 104px; border-top: 1px solid #DCE4E3; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq { border-top: 1px solid #CFDAD8; }
details { border-bottom: 1px solid #CFDAD8; }
summary { cursor: pointer; list-style: none; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 19px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details p { color: var(--steel); padding: 0 0 22px; max-width: 60ch; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; } }

/* Closing */
.closing { text-align: left; border-top: 1px solid var(--line-dark); }
.closing-inner { display: flex; flex-direction: column; gap: 0; }
.closing h2 { max-width: 16ch; }
.closing .actions { margin-top: 32px; }

/* Footer */
.site-footer { background: var(--night); color: var(--mist); border-top: 1px solid var(--line-dark); padding: 36px 0; font-size: 15px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-row img { width: 150px; margin-right: auto; }
.footer-row a { color: var(--mist); }
.footer-row a:hover { color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Demo request page */
.demo-page { padding-block: 72px 104px; background: var(--day); }
.demo-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.demo-intro { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 0; }
.demo-intro h1 { font-size: clamp(38px, 5vw, 64px); text-wrap: balance; }
.demo-steps { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; counter-reset: d; }
.demo-steps li { position: relative; padding-left: 48px; display: flex; flex-direction: column; gap: 2px; }
.demo-steps li::before { counter-increment: d; content: counter(d); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--teal); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.demo-steps span { color: var(--steel); font-size: 16px; }
.demo-alt { margin-top: 36px; padding-top: 24px; border-top: 1px solid #DCE4E3; color: var(--steel); font-size: 16px; }
.demo-alt a { color: var(--teal-ink); font-weight: 600; }
@media (max-width: 960px) { .demo-grid { grid-template-columns: 1fr; gap: 40px; } .demo-intro { position: static; } }

.demo-form { background: var(--paper); border-radius: 20px; padding: 36px; box-shadow: 0 1px 0 #DCE4E3, 0 24px 60px rgba(11, 28, 33, .10); display: flex; flex-direction: column; gap: 32px; }
@media (max-width: 560px) { .demo-form { padding: 24px 18px; } }
.demo-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.demo-form fieldset + fieldset { padding-top: 32px; border-top: 1px solid #E3EAE9; }
.demo-form legend { float: left; width: 100%; padding: 0; margin: 0; font-size: 22px; font-weight: 800; font-stretch: 112%; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--steel); }
.hint { margin-top: -8px; color: var(--steel); font-size: 15px; }
.demo-form input[type="text"], .demo-form input[type="email"], .demo-form input[type="tel"], .demo-form select, .demo-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #F7F9F9; border: 1.5px solid #CCD8D6; border-radius: 10px; transition: border-color .15s ease, background-color .15s ease;
}
.demo-form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.demo-form input::placeholder, .demo-form textarea::placeholder { color: #7A8B8F; }
.demo-form input:hover, .demo-form select:hover, .demo-form textarea:hover { border-color: #A9BCC0; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: none; border-color: var(--teal-ink); background: #FFFFFF; box-shadow: 0 0 0 3px rgba(18, 216, 197, .25); }
.demo-form input:user-invalid, .demo-form select:user-invalid { border-color: #C2410C; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select:invalid { color: #7A8B8F; }
.select option { color: var(--ink); }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 620px) { .checks-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1.5px solid #CCD8D6; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.4; transition: border-color .15s ease, background-color .15s ease; }
.check:hover { border-color: #A9BCC0; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--teal-ink); cursor: pointer; }
.check:has(input:checked) { border-color: var(--teal-ink); background: #EAF7F5; }
.check.consent { border: 0; padding: 4px 0 0; font-weight: 400; color: var(--steel); font-size: 14px; }
.check.consent:has(input:checked) { background: none; }
.btn-submit { align-self: stretch; min-height: 58px; font-size: 18px; cursor: pointer; font-family: inherit; }
.privacy { margin-top: -18px; text-align: center; font-size: 14px; color: var(--steel); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you page */
.thanks-page { background: var(--night); color: #FFFFFF; padding-block: 120px 140px; }
.thanks-inner { display: flex; flex-direction: column; gap: 0; }
.thanks-inner h1 { font-size: clamp(38px, 6vw, 76px); max-width: 16ch; text-wrap: balance; }
.thanks-inner .actions { margin-top: 32px; }
.thanks-number { margin-top: 18px; color: var(--mist); font-size: 16px; }
.thanks-page .section-lead { color: var(--mist); }

/* Privacy policy */
.legal-page { background: var(--day); padding-block: 72px 104px; }
.legal-wrap { max-width: 760px; }
.legal-wrap h1 { font-size: clamp(38px, 5vw, 60px); }
.legal-date { margin-top: 12px; color: var(--steel); font-size: 16px; }
.legal-body { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.legal-body h2 { margin-top: 28px; font-size: 26px; font-stretch: 112%; max-width: none; }
.legal-body h3 { margin-top: 8px; font-size: 18px; }
.legal-body p, .legal-body li { color: #2C3E43; max-width: 68ch; }
.legal-body ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-body a { color: var(--teal-ink); font-weight: 600; }
.consent a { color: var(--teal-ink); font-weight: 600; }
.privacy a { color: var(--teal-ink); font-weight: 600; }
