:root {
  --ink: #172338;
  --ink-soft: #283650;
  --muted: #5b6880;
  --paper: #f4f7fb;
  --cream: #fbfaf6;
  --surface: #ffffff;
  --elevated: #eaf0f7;
  --night: #172338;
  --night-soft: #24324b;
  --coral: #f45b78;
  --coral-soft: #ffcad3;
  --coral-ink: #713244;
  --line: rgba(23, 35, 56, 0.16);
  --line-light: rgba(255, 255, 255, 0.2);
  --gutter: clamp(20px, 5vw, 96px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --display: "Avenir Next", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --body: "Avenir Next", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --utility: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--coral); color: var(--coral-ink); font-weight: 700; transform: translateY(-160%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }
.section--dark { background: var(--night); color: #fff; }
.section--light { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--coral { background: var(--coral); color: var(--coral-ink); }
.eyebrow { margin: 0 0 var(--space-5); color: var(--muted); font-family: var(--utility); font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.eyebrow--light { color: var(--coral-soft); }
.eyebrow--dark { color: var(--coral-ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; line-height: 1.04; }
h1 { max-width: 10ch; margin-bottom: var(--space-6); font-size: clamp(40px, 6vw, 80px); }
h2 { margin-bottom: var(--space-6); font-size: clamp(32px, 4vw, 56px); }
h3 { margin-bottom: var(--space-3); font-size: clamp(21px, 2vw, 28px); }
em { color: var(--coral); font-style: normal; }
.body-large { max-width: 65ch; margin-bottom: var(--space-6); color: var(--muted); font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; }
.button { display: inline-flex; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 48px; padding: 10px 16px; font-size: 14px; }
.button--coral { background: var(--coral); color: var(--coral-ink); }
.button--coral:hover { background: #ff7890; }
.button--dark { background: var(--ink); color: #fff; }
.button--dark:hover { background: #2d3c59; }
.button--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.button--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.text-link { color: var(--muted); font-size: 14px; text-decoration: none; }
.text-link:hover { color: var(--ink); }
.arrow-link { display: inline-flex; min-height: 48px; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; text-decoration: none; }
.arrow-link:hover { color: var(--coral-ink); }
.arrow-link--light { color: #fff; }

.site-header { position: relative; z-index: 10; width: 100%; background: rgba(244, 247, 251, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header__inner { display: flex; width: 100%; min-height: 80px; align-items: center; justify-content: space-between; gap: var(--space-5); padding: 16px var(--gutter); }
.brand { display: inline-flex; min-height: 48px; align-items: center; color: var(--ink); text-decoration: none; }
.brand__logo { display: block; width: clamp(126px, 10vw, 166px); height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin-inline: auto; padding-inline: var(--space-6); }
.desktop-nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.desktop-nav a:hover { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: var(--space-5); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 6px auto; background: currentColor; transition: transform 180ms ease; }
.mobile-nav { display: none; }

.hero { position: relative; min-height: min(860px, calc(100svh - 80px)); padding: clamp(48px, 7vw, 112px) var(--gutter) var(--space-8); overflow: hidden; }
.hero__grid { display: grid; width: 100%; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(40px, 7vw, 128px); }
.hero__copy { position: relative; z-index: 1; }
.hero__lede { max-width: 53ch; margin-bottom: var(--space-7); color: #d5ddea; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--space-7); }
.hero__note { display: flex; align-items: center; gap: 10px; margin: 0; color: #b2bfd2; font-family: var(--utility); font-size: 12px; line-height: 1.5; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(244, 91, 120, .15); }
.hero__media { min-width: 0; }
.video-frame { position: relative; aspect-ratio: 1.28 / 1; overflow: hidden; border-radius: var(--radius-xl); background: #090e17; box-shadow: 0 24px 80px rgba(0, 0, 0, .25); }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.video-frame::after { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 65%, rgba(6, 11, 20, .6)); content: ""; }
.video-frame--fallback { background: center / cover no-repeat url("/assets/hero-autonow-v07-poster.png"); }
.video-frame--fallback .hero-video { visibility: hidden; }
.video-toggle { position: absolute; z-index: 1; right: 20px; bottom: 20px; display: inline-flex; min-height: 48px; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(23, 35, 56, .78); color: #fff; cursor: pointer; backdrop-filter: blur(12px); }
.video-toggle__icon { font-size: 15px; letter-spacing: -.2em; }
.video-toggle__label { font-size: 12px; font-weight: 700; }
.video-frame__caption { position: absolute; z-index: 1; bottom: 22px; left: 22px; color: #fff; font-size: 13px; }
.hero__rail { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(48px, 7vw, 96px); padding-top: 16px; border-top: 1px solid var(--line-light); color: #aab6c8; font-family: var(--utility); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

.intro { padding: var(--space-10) var(--gutter); }
.intro__grid { display: grid; width: 100%; grid-template-columns: minmax(180px, 3fr) minmax(0, 7fr); gap: var(--space-8); }
.intro h2 { max-width: 15ch; }
.intro h2 em { color: var(--coral-ink); }

.feature-section { padding: var(--space-10) var(--gutter); }
.section-heading { display: grid; grid-template-columns: minmax(0, 7fr) minmax(220px, 3fr); gap: var(--space-8); margin-bottom: var(--space-8); }
.section-heading h2 { max-width: 14ch; }
.section-heading__aside { align-self: end; max-width: 38ch; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.section-heading--light .section-heading__aside { color: #b2bfd2; }
.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-7) var(--space-5); align-items: start; }
.feature-card { grid-column: span 5; }
.feature-card--wide { grid-column: span 7; }
.feature-card--offset { margin-top: var(--space-9); }
.feature-card--warm .feature-card__image { background: #e4dbcf; }
.feature-card__image { aspect-ratio: 1.28 / 1; overflow: hidden; border-radius: var(--radius-lg); background: var(--elevated); }
.feature-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.feature-card:hover .feature-card__image img { transform: scale(1.035); }
.feature-card__body { position: relative; padding: var(--space-5) 0 0; }
.feature-card__number { display: block; margin-bottom: var(--space-3); color: var(--coral-ink); font-family: var(--utility); font-size: 12px; font-weight: 700; }
.feature-card__body p { max-width: 44ch; margin-bottom: 0; color: var(--muted); }

.workflow { padding: var(--space-10) var(--gutter); }
.workflow .section-heading { margin-bottom: var(--space-7); }
.workflow .section-heading h2 { max-width: 12ch; }
.workflow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; border-top: 1px solid var(--line-light); list-style: none; }
.workflow-item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); min-height: 220px; padding: var(--space-6) var(--space-5) var(--space-6) 0; border-right: 1px solid var(--line-light); }
.workflow-item + .workflow-item { padding-left: var(--space-5); }
.workflow-item:last-child { border-right: 0; }
.workflow-item__index { color: var(--coral); font-family: var(--utility); font-size: 12px; font-weight: 700; }
.workflow-item h3 { margin-bottom: var(--space-3); color: #fff; }
.workflow-item p { max-width: 32ch; margin: 0; color: #b2bfd2; font-size: 15px; line-height: 1.55; }
.workflow-item__mark { grid-column: 2; align-self: end; color: var(--coral); font-size: 20px; }
.workflow-gallery { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-5); margin-top: var(--space-8); }
.workflow-gallery figure { margin: 0; }
.workflow-gallery img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; border-radius: var(--radius-lg); }
.workflow-gallery figure:first-child img { aspect-ratio: 1 / 1.08; }
.workflow-gallery figcaption { margin-top: 12px; color: #b2bfd2; font-size: 14px; }

.trust { padding: var(--space-10) var(--gutter); }
.trust__grid { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: var(--space-7); align-items: end; }
.trust__copy { align-self: center; padding-block: var(--space-6); }
.trust__copy h2 { max-width: 11ch; }
.trust__portrait { position: relative; }
.trust__portrait img { width: 100%; aspect-ratio: 1 / 1.18; object-fit: cover; border-radius: var(--radius-lg); }
.portrait-note { position: absolute; right: -24px; bottom: 24px; display: grid; gap: 4px; max-width: 185px; padding: 16px; border-radius: var(--radius-md); background: var(--coral); color: var(--coral-ink); font-size: 12px; line-height: 1.35; box-shadow: 0 10px 30px rgba(23, 35, 56, .15); }
.portrait-note span { font-family: var(--utility); font-size: 10px; text-transform: uppercase; }
.portrait-note strong { font-family: var(--display); font-size: 20px; letter-spacing: -.03em; }
.trust__small-portrait { align-self: start; padding-top: var(--space-9); }
.trust__small-portrait img { width: 100%; aspect-ratio: 1 / 1.25; object-fit: cover; border-radius: var(--radius-lg); }
.check-list { display: grid; gap: 12px; padding: 0; margin: var(--space-7) 0 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; max-width: 44ch; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.check-list li > span:first-child { color: var(--coral-ink); font-weight: 700; }

.quote-band { display: grid; grid-template-columns: minmax(0, 8fr) minmax(200px, 4fr); gap: var(--space-8); align-items: center; padding: var(--space-10) var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-band__quote { position: relative; padding-left: clamp(0px, 4vw, 64px); }
.quote-mark { position: absolute; top: -24px; left: 0; color: var(--coral); font-family: Georgia, serif; font-size: 90px; line-height: 1; }
blockquote { max-width: 19ch; margin: 0 0 var(--space-5); font-family: var(--display); font-size: clamp(28px, 4vw, 52px); letter-spacing: -.045em; line-height: 1.08; }
cite { color: var(--muted); font-size: 13px; font-style: normal; }
.quote-band__stamp { display: grid; width: 180px; height: 180px; align-content: center; justify-items: center; margin-left: auto; border: 1px solid var(--coral); border-radius: 50%; color: var(--coral-ink); font-family: var(--utility); font-size: 11px; line-height: 1.6; text-align: center; text-transform: uppercase; transform: rotate(8deg); }
.quote-band__stamp strong { font-family: var(--display); font-size: 20px; letter-spacing: -.04em; text-transform: none; }

.calm-section { display: grid; grid-template-columns: 7fr 5fr; min-height: 650px; }
.calm-section__image { min-height: 420px; }
.calm-section__image img { width: 100%; height: 100%; object-fit: cover; }
.calm-section__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: var(--space-9) var(--gutter); }
.calm-section__copy h2 { max-width: 11ch; }
.calm-section__copy p:not(.eyebrow) { max-width: 38ch; margin-bottom: var(--space-7); color: #c5cfdd; font-size: 18px; line-height: 1.55; }

.faq { display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-8); padding: var(--space-10) var(--gutter); }
.faq__intro h2 { max-width: 10ch; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; color: var(--ink); cursor: pointer; font-family: var(--display); font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -.03em; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { color: var(--coral-ink); content: "+"; font-family: var(--utility); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 60ch; margin: 0 40px 20px 0; color: var(--muted); font-size: 16px; }

.final-cta { display: grid; grid-template-columns: 7fr 5fr; min-height: 540px; }
.final-cta__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: var(--space-9) var(--gutter); }
.final-cta h2 { max-width: 10ch; }
.final-cta__copy > p:not(.eyebrow) { max-width: 40ch; margin-bottom: var(--space-7); color: var(--coral-ink); font-size: 18px; line-height: 1.55; }
.final-cta__image { min-height: 420px; }
.final-cta__image img { width: 100%; height: 100%; object-fit: cover; }

.site-footer { padding: var(--space-8) var(--gutter) var(--space-5); }
.brand--light { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--space-7); align-items: start; padding-bottom: var(--space-8); border-bottom: 1px solid var(--line-light); }
.footer__top p { margin: 0; color: #b2bfd2; font-size: 15px; line-height: 1.5; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: var(--space-5); color: #8290a5; font-family: var(--utility); font-size: 11px; }
.footer__bottom a { color: #c5cfdd; text-decoration: none; }
.noscript-note { padding: 16px var(--gutter); background: var(--coral); color: var(--coral-ink); text-align: center; }
.error-page { min-height: calc(100svh - 80px); padding: clamp(96px, 15vw, 192px) var(--gutter); }
.error-page h1 { max-width: 12ch; }

@media (max-width: 1023px) {
  :root { --gutter: 32px; }
  .desktop-nav, .header__login { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: grid; gap: 4px; padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { min-height: 48px; padding: 12px 0; color: var(--ink); font-size: 17px; text-decoration: none; }
  .mobile-nav a:last-child { color: var(--coral-ink); font-weight: 700; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero__copy { max-width: 70ch; }
  .hero__media { width: 100%; }
  .intro__grid, .section-heading, .faq { grid-template-columns: 1fr; gap: var(--space-5); }
  .intro__grid > .eyebrow { margin-bottom: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card, .feature-card--wide { grid-column: span 1; }
  .feature-card--offset { margin-top: 0; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-item, .workflow-item + .workflow-item { min-height: auto; padding: var(--space-5) 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .workflow-item:last-child { border-bottom: 0; }
  .trust__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .trust__copy { grid-column: span 2; }
  .trust__small-portrait { padding-top: 0; }
  .calm-section, .final-cta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 639px) {
  :root { --gutter: 20px; }
  html { scroll-behavior: auto; }
  .header__inner { min-height: 72px; padding-block: 12px; }
  .header__cta { display: none; }
  .brand { font-size: 19px; }
  .hero { min-height: auto; padding-top: var(--space-8); }
  .hero h1 { max-width: 9ch; margin-bottom: var(--space-5); }
  .hero__lede { margin-bottom: var(--space-6); font-size: 18px; }
  .hero__actions { display: grid; width: 100%; gap: 10px; }
  .hero__actions .button { width: 100%; }
  .video-frame { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
  .hero__rail { display: grid; gap: 8px; margin-top: var(--space-7); }
  .hero__rail span:not(:first-child) { display: none; }
  .intro, .feature-section, .workflow, .trust, .quote-band, .faq { padding-block: var(--space-9); }
  .intro h2, .section-heading h2, .workflow .section-heading h2, .trust__copy h2, .faq__intro h2 { max-width: 14ch; }
  .body-large { font-size: 18px; }
  .feature-grid, .workflow-gallery, .trust__grid, .quote-band, .calm-section, .faq, .final-cta { grid-template-columns: 1fr; }
  .feature-card__image, .workflow-gallery img, .workflow-gallery figure:first-child img { aspect-ratio: 4 / 5; }
  .workflow-gallery { gap: var(--space-6); }
  .trust__copy { grid-column: auto; padding-block: 0; }
  .trust__portrait img { aspect-ratio: 4 / 5; }
  .trust__small-portrait { width: 70%; padding: 0; }
  .portrait-note { right: -8px; bottom: 16px; }
  .quote-band__quote { padding-left: 28px; }
  .quote-mark { left: -4px; font-size: 64px; }
  blockquote { max-width: 15ch; font-size: 34px; }
  .quote-band__stamp { width: 144px; height: 144px; margin: 0 auto; }
  .calm-section__image, .final-cta__image { min-height: auto; }
  .calm-section__image img, .final-cta__image img { aspect-ratio: 4 / 5; }
  .calm-section__copy, .final-cta__copy { padding-block: var(--space-9); }
  .calm-section__copy p:not(.eyebrow), .final-cta__copy > p:not(.eyebrow) { font-size: 17px; }
  .final-cta__copy { order: 1; }
  .final-cta__image { order: 0; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-5); }
  .footer__bottom { display: grid; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-video { visibility: hidden; }
  .video-frame { background: center / cover no-repeat url("/assets/hero-autonow-v07-poster.png"); }
}
