@font-face { font-family: Newsreader; src: url('assets/fonts/Newsreader-Variable.ttf') format('truetype'); font-weight: 200 800; font-display: optional; }
@font-face { font-family: Plex; src: url('assets/fonts/IBMPlexMono-Regular.ttf') format('truetype'); font-display: optional; }
:root {
  color-scheme: dark;
  --button-text: #2a2620;
  --button-hover: #f7f2e6;
  --edge: #efe9db40;
  --error: #efb773;
  --canvas: #211d16;
  --sheet: #2b2620;
  --cream: #efe9db;
  --paper: #f7f2e6;
  --ink: #2a2620;
  --amber: #d97706;
  --muted: #c7bba7;
  --serif: Newsreader, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --type-display: clamp(88px, 10.5vw, 158px);
  --type-page-title: clamp(64px, 8vw, 112px);
  --type-heading: clamp(40px, 4.2vw, 60px);
  --type-subheading: clamp(24px, 2.2vw, 32px);
  --type-lead: clamp(20px, 1.7vw, 24px);
  --type-body: clamp(18px, 1.4vw, 20px);
  --type-small: 16px;
  --type-control: 16px;
  --type-brand: 36px;
  --weight-regular: 400;
  --weight-semibold: 600;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--canvas); color: var(--cream); font: var(--weight-regular) var(--type-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }
figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--amber); color: var(--canvas); }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px; background: var(--cream); color: var(--button-text); }
.skip:focus { top: 15px; }
.site-header { height: 104px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font: var(--weight-semibold) var(--type-brand)/1 var(--serif); letter-spacing: -.035em; }
.brand img { border-radius: 8px; }
.site-header nav { display: flex; align-items: center; gap: 42px; font-size: var(--type-control); font-weight: var(--weight-semibold); }
.site-header nav span { color: var(--muted); }
.site-header nav a { padding-bottom: 3px; border-bottom: 1px solid var(--edge); }
h1, h2, h3 { font-family: var(--serif); font-weight: var(--weight-semibold); }
h1 { font-size: var(--type-display); line-height: .98; letter-spacing: -.045em; }
h1 > span { display: block; }
h2 { font-size: var(--type-heading); line-height: 1.05; letter-spacing: -.035em; }
h3 { font-size: var(--type-subheading); line-height: 1.15; letter-spacing: -.02em; }
.hero { padding-top: 54px; overflow: clip; }
.hero-copy { position: relative; text-align: center; z-index: 1; }
.hero-description { font-size: var(--type-lead); color: var(--muted); margin-top: 28px; }
.hero-conversion { margin-top: 32px; }
.hero-conversion > p { font-size: var(--type-body); color: var(--muted); }
.hero-conversion strong { color: var(--cream); font-weight: var(--weight-semibold); }
.signup { max-width: 600px; margin: 18px auto 0; }
.botcheck { display: none; }
.form-row { display: flex; gap: 10px; }
.form-row input { flex: 1; width: 0; min-width: 0; background: var(--sheet); border: 1px solid var(--edge); border-radius: 8px; padding: 17px 22px; color: var(--cream); font-size: var(--type-control); }
.form-row input::placeholder { color: var(--muted); opacity: 1; }
.form-row button { background: var(--cream); color: var(--button-text); border: 0; border-radius: 8px; padding: 17px 27px; font-size: var(--type-control); font-weight: var(--weight-semibold); transition: transform .2s; }
@media (hover: hover) and (pointer: fine) {
  .form-row button:hover { background: var(--button-hover); transform: translateY(-1px); }
}
.form-row button:active, .appearance-controls button:active { transform: scale(.97); }
.consent { padding-top: 10px; font-size: var(--type-small); line-height: 1.5; opacity: .7; }
.form-status { min-height: 62px; padding-top: 12px; font-size: var(--type-small); line-height: 1.6; }
.form-status[data-error=true] { color: var(--error); }
.hero-showcase { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 4%; align-items: center; margin-top: 8px; padding-bottom: 50px; }
.hero-product { position: relative; min-width: 0; perspective: 1400px; }
.hero-product::before { content: ''; position: absolute; inset: -60px -20% -50px; background: radial-gradient(ellipse at 50% 55%, #d9770629, transparent 64%); pointer-events: none; }
.screen { border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; background: var(--canvas); box-shadow: 0 30px 70px #00000040; }
.screen img { width: 100%; }
.hero-product .screen { transform: rotateX(5deg); transform-origin: center top; }
.product-intro { position: relative; z-index: 1; }
.product-intro h2 { margin-bottom: 24px; }
.intro-copy { max-width: 760px; }
.intro-copy .intro-lead { color: var(--cream); font-size: var(--type-lead); }
.intro-copy p + p { margin-top: 20px; color: var(--muted); font-size: var(--type-body); line-height: 1.6; }
.engine { padding-block: 110px 90px; }
.section-heading { margin-bottom: 20px; }
.section-heading > p { max-width: 760px; margin-top: 24px; color: var(--muted); font-size: var(--type-body); }
.feature-stack { background: var(--sheet); }
.stack-stage { width: min(1500px, 100%); margin: auto; padding: 60px 56px; }
.feature-scene { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 4%; align-items: center; padding: 64px 0; }
.scene-copy p { font-size: var(--type-body); color: var(--muted); margin-top: 20px; max-width: 340px; }
.scene-nav { display: none; }
.launch { text-align: center; padding-top: 60px; }
.launch > p { margin-top: 32px; color: var(--muted); font-size: var(--type-body); }
.launch strong { color: var(--cream); font-weight: var(--weight-semibold); }
.launch .signup { margin-top: 30px; }
footer { display: flex; align-items: center; justify-content: space-between; margin-top: 70px; border-top: 1px solid var(--edge); padding: 30px 0; font-size: var(--type-small); color: var(--muted); }
footer .brand { color: var(--cream); }
@media (min-width: 1000px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .motion-enabled .feature-stack { height: 300vh; position: relative; }
  .motion-enabled .stack-stage { position: sticky; top: 0; height: 100vh; padding: 36px 56px 86px; overflow: clip; }
  .motion-enabled .stack-scenes { position: relative; height: 100%; }
  .motion-enabled .feature-scene { position: absolute; inset: 0; padding: 24px 0; background: var(--sheet); transform-origin: center center; }
  .motion-enabled .feature-scene[aria-hidden=true] { pointer-events: none; }
  .motion-enabled .scene-nav { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 38px; z-index: 5; }
  .scene-nav a { color: var(--muted); font-size: var(--type-control); font-weight: var(--weight-semibold); padding: 8px 0; border-bottom: 2px solid transparent; }
  .scene-nav a[aria-current=true] { color: var(--cream); border-color: var(--amber); }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .stack-stage { padding-inline: 32px; }
}
/* Phones keep the vertical scene transitions, with the screenshot above readable copy.
   Short screens keep every feature in normal vertical document flow. */
@media (max-width: 999px) and (prefers-reduced-motion: no-preference) {
  .mobile-motion-enabled .feature-stack { position: relative; height: calc(100svh + var(--scene-count) * 65svh); }
  .mobile-motion-enabled .stack-stage { position: sticky; top: 0; width: 100%; height: 100svh; padding: 16px 20px calc(72px + env(safe-area-inset-bottom, 0px)); overflow: clip; }
  .mobile-motion-enabled .stack-scenes { position: relative; height: 100%; }
  .mobile-motion-enabled .feature-scene { position: absolute; inset: 0; grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 20px; padding: 8px 0; background: var(--sheet); }
  .mobile-motion-enabled .scene-copy { grid-row: 2; width: 100%; max-width: 640px; justify-self: center; }
  .mobile-motion-enabled .scene-copy p { margin-top: 12px; max-width: 100%; }
  .mobile-motion-enabled .feature-details { margin-top: 12px; }
  .mobile-motion-enabled .feature-details li + li { margin-top: 4px; }
  .mobile-motion-enabled .scene-media { grid-row: 1; width: min(100%, 42svh); max-width: 560px; justify-self: center; }
  .mobile-motion-enabled .feature-scene[aria-hidden=true] { pointer-events: none; }
  .mobile-motion-enabled .scene-nav, .compact-tour-enabled .scene-nav { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .mobile-motion-enabled .scene-nav { position: absolute; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); left: 20px; right: 20px; }
  .mobile-motion-enabled .scene-nav a, .compact-tour-enabled .scene-nav a { flex: 0 0 auto; display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--muted); font-size: var(--type-control); font-weight: var(--weight-semibold); border-bottom: 2px solid transparent; }
  .mobile-motion-enabled .scene-nav a[aria-current=true], .compact-tour-enabled .scene-nav a[aria-current=true] { color: var(--cream); border-color: var(--amber); }
  .compact-tour-enabled .stack-stage { display: flex; flex-direction: column; }
  .compact-tour-enabled .scene-nav { position: sticky; top: 0; z-index: 5; order: -1; padding-top: 12px; background: var(--sheet); }
  .compact-tour-enabled .stack-scenes { display: block; }
  .compact-tour-enabled .feature-scene { min-width: 0; grid-template-columns: 1fr; align-content: start; gap: 24px; }
  .compact-tour-enabled .scene-media { grid-row: 1; }
  .compact-tour-enabled .scene-copy { grid-row: 2; }
  .compact-tour-enabled .scene-copy p { max-width: 100%; }
}
@media (max-width: 900px) {
  .hero-showcase { grid-template-columns: 1fr; gap: 32px; }
  .product-intro { max-width: 680px; }
}
@media (max-width: 767px) {
  :root { --type-display: clamp(52px, 16vw, 106px); --type-heading: 40px; --type-brand: 30px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 84px; }
  .brand { gap: 9px; }
  .brand img { width: 29px; height: 29px; }
  .site-header nav span { display: none; }
  .hero { padding-top: 40px; }
  .hero-description { margin-top: 24px; }
  .hero-conversion { margin-top: 26px; }
  .form-row { gap: 8px; }
  .form-row input { padding: 15px 13px; }
  .form-row button { padding: 15px; }
  .form-status { min-height: 84px; }
  .hero-showcase { padding-bottom: 20px; }
  .screen { border-radius: 7px; }
  .intro-copy p + p { margin-top: 16px; }
  .engine { padding-block: 64px; }
  .stack-stage { padding: 8px 20px; }
  .feature-scene { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .scene-copy p { margin-top: 16px; max-width: 100%; }
  .launch { padding-top: 10px; }
  .launch > p { margin-top: 24px; }
  footer { margin-top: 30px; gap: 15px; flex-wrap: wrap; }
}
@media (max-width: 359px) {
  :root { --type-heading: 36px; }
  .form-row { flex-direction: column; }
  .form-row input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-product .screen, .bank-screen { transform: none !important; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    @keyframes product-arrival {
      from { transform: rotateX(9deg) scale(.94); }
      to { transform: rotateX(0deg) scale(1); }
    }
    @keyframes title-recede {
      from { transform: scale(1); opacity: 1; }
      to { transform: scale(.93); opacity: .3; }
    }
    .hero-product .screen {
      animation: product-arrival linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 90%;
    }
    h1 {
      animation: title-recede linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
  }
}
@supports (animation-timeline: view()) {
  @media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    @keyframes mobile-image-focus {
      from { transform: translate3d(0, 20px, 0) scale(.96); }
      to { transform: translate3d(0, 0, 0) scale(1); }
    }
    @keyframes mobile-title-recede {
      from { transform: scale(1); opacity: 1; }
      to { transform: scale(.97); opacity: .55; }
    }
    .hero-product.focus-frame > .screen, .generation-screen.focus-frame > .screen {
      animation: mobile-image-focus linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }
    .hero h1 {
      animation: mobile-title-recede linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
  }
}
/* Product-focused refinement: Mac launch, real captures, and stronger image arrivals. */
.brand { gap: 10px; }
.brand img { flex: 0 0 auto; width: 36px; height: 36px; align-self: center; }
.wordmark { display: inline-block; line-height: 1; padding-top: .12em; }
.brand-dot { color: var(--amber); }
.appearance-controls { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 0; margin-bottom: 28px; }
.appearance-controls[hidden] { display: flex; visibility: hidden; }
.appearance-controls button { background: transparent; border: 1px solid transparent; border-radius: 24px; padding: 9px 23px; color: var(--muted); font-size: var(--type-control); font-weight: var(--weight-semibold); }
.appearance-controls button[aria-pressed=true] { background: var(--cream); color: var(--button-text); }
.ai-requirement { max-width: 760px; color: var(--muted); font-size: var(--type-small); line-height: 1.6; }
.generation-screen { margin-top: 42px; }
.generation-screen figcaption { max-width: 700px; margin: 24px auto 0; color: var(--muted); font-size: var(--type-body); text-align: center; }
.scene-media { transform-origin: center; }
.feature-details { margin: 18px 0 0; padding-left: 18px; color: var(--muted); font-size: var(--type-small); line-height: 1.6; }
.feature-details li + li { margin-top: 6px; }
.scene-copy .import-detail { font-size: var(--type-small); }
.launch { padding-top: 100px; }
@media (min-width:1000px) and (min-height:700px) and (prefers-reduced-motion:no-preference) {
  .motion-enabled .feature-stack { height: 350vh; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion:no-preference) {
    @keyframes image-focus {
      from { transform: translate3d(0, 48px, 0) scale(.86); }
      to { transform: translate3d(0, 0, 0) scale(1); }
    }
    .focus-frame > .screen {
      animation: image-focus linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}
@media(max-width:767px) {
  .brand img { width: 30px; height: 30px; }
  .launch { padding-top: 65px; }
}

/* The same brand palette, inverted for the full-page light appearance. */
:root[data-theme="light"] {
  color-scheme: light;
  --canvas: #efe9db;
  --sheet: #f7f2e6;
  --cream: #2a2620;
  --muted: #625b50;
  --amber: #b45309;
  --button-text: #f7f2e6;
  --button-hover: #b45309;
  --edge: #2a262040;
  --error: #a14509;
}
/* Keep the expanded navigation usable on narrow screens. */
.site-header nav { gap: 28px; }
.site-header nav a[aria-current="page"] { color: var(--cream); border-color: var(--amber); }
.legal-page { max-width: 900px; padding-top: 70px; }
.legal-page h1 { font-size: var(--type-page-title); animation: none; }
.legal-intro { margin-top: 30px; font-size: var(--type-lead); color: var(--muted); max-width: 650px; }
.legal-date { margin-top: 22px; font-size: var(--type-small); color: var(--muted); }
.legal-contents { display: flex; flex-wrap: wrap; gap: 16px 30px; margin: 35px 0 60px; }
.legal-page a:not(.brand) { text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
.legal-page section { margin-top: 55px; }
.legal-page h3 { margin-top: 32px; }
.legal-page section p { font-size: var(--type-body); line-height: 1.6; color: var(--muted); margin-top: 18px; }
@media(max-width:900px) {
  .site-header nav > span { display: none; }
  .site-header nav { gap: 20px; }
}
@media(max-width:600px) {
  .site-header { height: auto; min-height: 115px; flex-wrap: wrap; gap: 20px; padding-block: 22px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 14px; }
  .legal-page { padding-top: 35px; }
}

/* Native video controls include seeking and fullscreen; the screenshot is the no-JS fallback. */
.hero-screen { position: relative; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--canvas); }

/* The two notes under the generation shot: offline, and your own model. */
.ai-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; margin: 56px auto 0; }
.ai-extras p { color: var(--muted); font-size: var(--type-body); line-height: 1.6; margin-top: 10px; }
@media (max-width: 760px) { .ai-extras { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; } }

#questions a { text-decoration: underline; text-underline-offset: 5px; }
