@font-face {
  font-family: "Archivo";
  src: url("/assets/archivo-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --midnight: #081427;
  --ink: #10213a;
  --canvas: #e8eef6;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #165ecb;
  --blue-dark: #104b9f;
  --amber: #f5a623;
  --muted: #52627a;
  --rule: #cbd6e4;
  --soft-rule: #dce4ef;
  --success: #246f45;
  --max: 1200px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-width: 0; margin: 0; background: var(--paper); }
body, button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
p, h1, h2, h3, figure, dl { margin-top: 0; }
h1, h2, h3 { font-family: "Archivo", Inter, ui-sans-serif, system-ui, sans-serif; color: var(--midnight); }
h1, h2 { letter-spacing: -.045em; text-wrap: balance; }
h1 { max-width: 15ch; margin-bottom: 18px; font-size: clamp(2.4rem, 9.5vw, 4.6rem); font-weight: 720; line-height: .99; }
h2 { max-width: 14ch; margin-bottom: 18px; font-size: clamp(2.15rem, 8vw, 4.1rem); font-weight: 690; line-height: 1; }
h3 { margin-bottom: 10px; font-size: 1.2rem; line-height: 1.18; }
p { line-height: 1.62; }

.shell, .wrap { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.section { padding: 56px 0; scroll-margin-top: 0; }
.eyebrow { margin-bottom: 14px; color: var(--blue); font: 760 .75rem/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-light { color: #9ec4ff; }
.section-intro { max-width: 660px; margin-bottom: 46px; }
.section-intro > p:last-child, .product-copy > p, .questions-heading > p, .pricing-copy > p { color: var(--muted); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; min-height: 44px; padding: 11px 16px; color: var(--white); background: var(--midnight); transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; box-shadow: 0 0 0 7px var(--midnight); }

.site-header, .topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, .15); color: var(--white); background: rgba(8, 20, 39, .97); }
.header-inner, .topbar-inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 10px; }
.wordmark { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; color: inherit; font-family: "Archivo", sans-serif; font-size: 1.04rem; font-weight: 760; text-decoration: none; }
.site-header .wordmark > span:last-child { display: inline; }
.site-header .brand-mark { display: none; }
.brand-mark { display: grid; width: 48px; min-width: 48px; height: 32px; place-items: center; border: 1px solid #4d607c; color: var(--white); font: 780 .68rem/1 ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.desktop-nav, .topnav { display: none; }
.header-actions { display: flex; align-items: center; gap: 7px; }
.login-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 5px; font-size: .78rem; font-weight: 720; white-space: nowrap; text-decoration: none; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border: 2px solid var(--blue); color: var(--white); background: var(--blue); font-weight: 760; line-height: 1.15; text-align: center; text-decoration: none; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.button:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.button:active { transform: translateY(1px); }
.button-small { max-width: 108px; min-height: 44px; padding: 7px 9px; font-size: .72rem; }
.button-secondary { border-color: #9eb0c8; color: var(--ink); background: transparent; }
.button-secondary:hover { border-color: var(--ink); color: var(--white); background: var(--ink); }
.button-amber { border-color: var(--amber); color: var(--midnight); background: var(--amber); }
.button-amber:hover { border-color: #ffc55f; background: #ffc55f; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--blue); font-weight: 760; }

.hero { padding: 36px 0 48px; background: var(--paper); }
.hero-layout { display: grid; gap: 24px; }
.hero-copy { max-width: 760px; }
.hero-lede { max-width: 540px; margin-bottom: 20px; color: #384c68; font-size: 1.05rem; }
.button-row { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 10px; }
.hero-demo { min-width: 0; margin: 0; }
.hero-video-frame { position: relative; overflow: hidden; border: 1px solid #b9c5d4; border-radius: 18px; background: var(--midnight); box-shadow: 0 24px 64px rgba(8, 20, 39, .18); }
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 1; background: var(--midnight); object-fit: contain; }
.hero-video:focus-visible { outline-offset: -5px; box-shadow: inset 0 0 0 7px var(--midnight); }
.hero-video-play { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; padding: 0; transform: translate(-50%, -50%); border: 2px solid var(--white); border-radius: 50%; background: var(--blue); box-shadow: 0 12px 32px rgba(8, 20, 39, .3); cursor: pointer; }
.hero-video-play::before { content: ""; position: absolute; top: 50%; left: 52%; width: 0; height: 0; transform: translate(-42%, -50%); border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 19px solid var(--white); }
.hero-video-play:hover { background: #0f55bd; }
.hero-video-play:focus-visible { outline: 4px solid var(--amber); outline-offset: 4px; }
.hero-video-play:disabled { cursor: not-allowed; opacity: .75; }
.hero-video-play[hidden] { display: none; }
.hero-demo figcaption { display: grid; gap: 4px; margin-top: 14px; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.hero-demo figcaption strong { color: var(--ink); font-family: "Archivo", sans-serif; font-size: 1rem; }

.credibility-strip { padding: 30px 0; border-block: 1px solid var(--soft-rule); background: var(--white); }
.credibility-strip p { max-width: 780px; margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }
.credibility-strip a { color: var(--blue); font-weight: 680; }


.conditional { border-top: 1px solid var(--soft-rule); background: var(--white); }


.product-section { background: var(--paper); }
.product-layout { display: grid; gap: 46px; align-items: center; }
.annotation-list { display: grid; margin: 32px 0 0; }
.annotation-list div { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--rule); }
.annotation-list dt { color: var(--blue); font: 760 .68rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.annotation-list dd { margin: 0; color: #3f5169; line-height: 1.45; }
.product-figure { margin: 0; }
.product-frame { overflow: hidden; border: 1px solid #b9c5d4; background: var(--canvas); box-shadow: 0 22px 60px rgba(8, 20, 39, .14); }
.product-frame picture { display: block; }
.product-frame img { width: 100%; }
.phone-frame { width: min(100%, 390px); margin-inline: auto; border-radius: 28px; }
.product-figure figcaption { margin-top: 14px; color: #607089; font-size: .875rem; line-height: 1.45; }


.desktop-frame { border-radius: 14px; }

.after-section { background: var(--canvas); }
.after-layout { display: grid; }
.editorial-rows article { display: grid; grid-template-columns: 50px 1fr; gap: 12px; padding: 24px 0; border-top: 1px solid #aebcd0; }
.editorial-rows article > span { color: var(--blue); font: 760 .7rem/1 ui-monospace, Consolas, monospace; }
.editorial-rows h3 { margin-bottom: 6px; }
.editorial-rows p { margin-bottom: 0; color: var(--muted); }
.editorial-rows .review-callout { margin-top: 12px; padding: 26px 18px; border: 1px solid #9ab9e5; background: #eef5ff; }
.review-callout .eyebrow { margin-bottom: 10px; }
.review-callout h3 { margin-bottom: 8px; }

.pricing-section { color: var(--white); background: #0c1c33; }
.pricing-section h2, .pricing-section h3 { color: var(--white); }
.pricing-layout { display: grid; gap: 48px; }
.pricing-copy > p { color: #c7d2e1; }
.package-grid { display: grid; gap: 16px; margin: 30px 0 4px; }
.package { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid #42536b; background: #0e2038; }
.package h3 { margin: 0; font-size: 1.15rem; }
.package-price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.package-price strong { font: 720 2.7rem/.9 "Archivo", sans-serif; letter-spacing: -.05em; }
.package-price span { color: #b4c1d2; font-size: .8rem; }
.package-line { margin: 0; color: #c7d2e1; font-size: 1rem; }
.package .button { width: 100%; }
.pricing-legal { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid #42536b; color: #aebdd0; font-size: .875rem; }

.questions-section { background: var(--paper); }
.questions-layout { display: grid; gap: 38px; }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; color: var(--midnight); font-family: "Archivo", sans-serif; font-weight: 650; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--blue); font-family: ui-monospace, monospace; font-size: 1.25rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 680px; margin: 0 0 20px; padding-right: 28px; color: var(--muted); }

.final-section { padding: 70px 0; color: var(--white); background: var(--midnight); }
.final-section h2 { color: var(--white); }
.final-layout { display: grid; gap: 28px; }
.final-actions { display: grid; gap: 8px; align-items: center; }
.final-actions > a:not(.button) { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; color: var(--white); font-weight: 700; }

.site-footer, .footer { padding: 42px 0; color: #c6d2e0; background: #050d19; }
.footer-layout, .footer-inner { display: grid; gap: 24px; }
.footer-layout p { margin: 0; color: #9bacbf; font-size: .82rem; }
.footer-layout nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-layout nav a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-wordmark { color: var(--white); }

/* Existing legal pages keep their content unchanged while sharing the new shell. */
.topbar .wordmark { color: var(--white); }
.legal-hero { padding: 70px 0 42px; color: var(--white); background: var(--midnight); }
.legal-hero h1 { color: var(--white); }
.legal-updated { color: #aabbd0; }
.legal-content { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; }
.legal-content h2 { max-width: none; margin: 46px 0 14px; font-size: 1.65rem; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: #374b65; line-height: 1.7; }
.legal-content li + li { margin-top: 8px; }
.footer-inner { text-align: center; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--white); }

@media (min-width: 520px) {
  .shell, .wrap { width: min(calc(100% - 56px), var(--max)); }
  .site-header .wordmark > span:last-child { display: inline; }
  .button-small { max-width: none; padding-inline: 14px; font-size: .8rem; white-space: nowrap; }
  .login-link { padding-inline: 9px; font-size: .82rem; }
  .button-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .final-actions { grid-template-columns: max-content max-content; gap: 18px; justify-content: start; }
}

@media (min-width: 760px) {
  .section { padding: 80px 0; }
  .hero { padding: 64px 0; }
  .desktop-nav a, .topnav a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 10px; color: #d0dae7; font-size: .79rem; font-weight: 650; text-decoration: none; }
  .hero-layout { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: center; gap: 48px; }
  .product-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr); gap: 9%; }
  .after-layout { grid-template-columns: .75fr 1.25fr; gap: 10%; }
  .pricing-layout { gap: 40px; }
  .package-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .questions-layout { grid-template-columns: .72fr 1.28fr; gap: 10%; align-items: start; }
  .questions-heading { position: sticky; top: 100px; }
  .final-layout { grid-template-columns: 1fr auto; align-items: center; }
  .final-actions { justify-content: end; }
  .footer-layout { grid-template-columns: .7fr 1fr 1fr; align-items: start; }
  .footer-layout nav { justify-content: end; }
}

@media (min-width: 900px) {
  .desktop-nav, .topnav { display: flex; align-items: center; gap: 2px; }
}

@media (min-width: 1060px) {
  .header-inner { gap: 22px; }
  .desktop-nav { margin-left: auto; }
  .desktop-nav a { padding-inline: 13px; }
  .hero-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
  .hero-lede { font-size: 1.14rem; }
  .desktop-frame { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  .brand-mark, .route-kicker span { border-color: currentColor; }
}

/* Sales page: concise handover, concrete plan comparison and practical setup. */
.hero-reassurance { margin: 12px 0 0; color: var(--muted); font-size: .875rem; }
.handover-steps { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.handover-steps li { padding-top: 20px; border-top: 2px solid var(--blue); }
.handover-steps h3 { margin-top: 18px; }
.handover-steps p { margin-bottom: 0; color: var(--muted); }
.step-number { color: var(--blue); font: 700 .875rem/1.2 ui-monospace, monospace; }
.product-section { border-block: 1px solid var(--soft-rule); background: var(--white); }
.annotation-list dt { font-size: .75rem; }
.assistant-boundary { padding: 28px 0; background: var(--canvas); }
.assistant-boundary .shell { display: grid; gap: 8px; }
.assistant-boundary strong { color: var(--midnight); font: 700 1.2rem/1.4 "Archivo", sans-serif; }
.assistant-boundary p { max-width: 800px; margin: 0; color: var(--muted); }
.after-section { background: var(--paper); }
.package { gap: 18px; padding: 26px; border-radius: 12px; }
.package h3 { font-size: 1.5rem; }
.package-price span { font-size: 1rem; }
.package .button { margin-top: auto; }
.plan-example { padding: 20px 0; border-block: 1px solid #42536b; }
.plan-example > span { display: block; margin-bottom: 10px; color: #9ec4ff; font-size: .875rem; }
.plan-example strong { display: block; line-height: 1.6; }
.plan-example strong span { color: var(--amber); }
.plan-example p { margin: 8px 0 0; color: #c7d2e1; font-size: .875rem; }
.pricing-note { max-width: 880px; margin: 0; color: #c7d2e1; }
.pricing-note a { color: var(--white); }
.setup-section { background: var(--canvas); }
.setup-layout { display: grid; gap: 24px; }
.setup-layout .section-intro { margin-bottom: 0; }
.setup-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.setup-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid #aebcd0; }
.setup-steps li > span { padding-top: 3px; color: var(--blue); font: 700 .875rem/1.4 ui-monospace, monospace; }
.setup-steps p { margin: 0; color: var(--muted); }
.video-error { margin: 14px 0 0; color: var(--muted); line-height: 1.5; }
.hero-demo figcaption a { display: inline-flex; min-height: 44px; align-items: center; justify-self: start; color: var(--blue); }
@media (min-width: 520px) {
  .site-header .brand-mark { display: grid; }
}
@media (min-width: 760px) {
  .handover-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .setup-layout { grid-template-columns: 1fr 1.2fr; gap: 9%; }
  .assistant-boundary .shell { grid-template-columns: 220px 1fr; align-items: center; }
}
@media (max-width: 759px) {
  .hero-copy h1 { max-width: 16ch; }
  .hero-demo { width: min(100%, 430px); justify-self: center; }
  .hero .button-row { margin-bottom: 0; }
  .header-actions { gap: 8px; }
  .site-header .login-link, .site-header .button-small { font-size: .875rem; }
  .site-header .button-small { padding: 9px 11px; }
  .site-header .wordmark { font-size: 1rem; }
}
