@font-face { font-family: "Anton"; src: url("/fonts/anton.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* Blacklight (dark) is the default; Paper (light) follows the system or the saved choice. */
:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #141418;
  --raised: #1c1c22;
  --hair: #2a2a31;
  --ink: #f4f2ec;
  --ink2: #b6b4ae;
  --ink3: #96948f;
  --lime: #ccff4a;
  --lime-text: #ccff4a;
  --on-lime: #0b0b0e;
  --heat: #ff4d8d;
  --cta-shadow: 0 12px 24px -10px rgb(0 0 0 / 0.7);
  --glow: radial-gradient(60% 50% at 80% 30%, rgb(255 77 141 / 0.16), transparent 70%), radial-gradient(50% 45% at 15% 60%, rgb(204 255 74 / 0.08), transparent 70%);
  --display: "Anton", "Oswald", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 5vw, 4rem);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f2eb; --surface: #ffffff; --raised: #eae6dc; --hair: #d8d3c6;
  --ink: #101014; --ink2: #494950; --ink3: #5c5b61;
  --lime-text: #4f7700; --heat: #f0387a;
  --cta-shadow: 0 10px 24px -8px rgb(79 119 0 / 0.55);
  --glow: none;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f5f2eb; --surface: #ffffff; --raised: #eae6dc; --hair: #d8d3c6;
    --ink: #101014; --ink2: #494950; --ink3: #5c5b61;
    --lime-text: #4f7700; --heat: #f0387a;
    --cta-shadow: 0 10px 24px -8px rgb(79 119 0 / 0.55);
    --glow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink3) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink2); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lime-text); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--lime); color: var(--on-lime); }
input, button { caret-color: var(--lime-text); }
:focus-visible { outline: 3px solid var(--lime-text); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--lime); color: var(--on-lime); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; transition: top 0.2s var(--ease); }
.skip:focus { top: 1rem; }

h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 400; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 7vw, 4.75rem); line-height: 0.95; letter-spacing: 0.005em; }
h3 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
.fine { font-size: 0.9rem; color: var(--ink3); }

section, .foot { padding: clamp(4rem, 9vw, 8rem) var(--pad); max-width: 90rem; margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 1.5rem; padding: 0.75rem var(--pad); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; margin-right: auto; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 1.75rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink2); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.theme { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform 0.25s var(--ease), background 0.2s; }
.theme:hover { background: var(--raised); transform: rotate(-12deg); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-moon, :root:not([data-theme]) .i-moon { display: none; }
:root[data-theme="dark"] .i-sun, :root:not([data-theme]) .i-sun { display: block; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .i-sun { display: none; }
  :root:not([data-theme]) .i-moon { display: block; }
}

/* Lime CTA slab (404 page) */
.cta { display: inline-flex; align-items: center; gap: 0.85rem; min-height: 56px; padding: 0.6rem 1.6rem 0.6rem 1.25rem; border-radius: 16px; background: var(--lime); color: var(--on-lime); text-decoration: none; font-weight: 800; font-size: 1.25rem; line-height: 1.05; box-shadow: var(--cta-shadow); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.cta small { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; }
.cta:hover { transform: translateY(-2px); text-decoration: none; }
.cta:active { transform: translateY(0) scale(0.98); }
.cta:focus-visible { outline-color: var(--ink); }

/* App Store badge: Apple's official artwork, self-hosted. White on Blacklight, black on Paper. */
.badge { display: inline-block; border-radius: 10px; line-height: 0; transition: transform 0.25s var(--ease); }
.badge img { height: 56px; width: auto; }
.badge-lg img { height: 64px; }
.badge:hover { transform: translateY(-2px); }
.badge:active { transform: translateY(0) scale(0.98); }
.badge:focus-visible { outline-offset: 4px; border-radius: 12px; }
.b-black { display: none; }
:root[data-theme="light"] .b-white { display: none; }
:root[data-theme="light"] .b-black { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .b-white { display: none; }
  :root:not([data-theme]) .b-black { display: block; }
}

/* Hero */
.hero { display: grid; gap: 2.5rem; align-items: center; padding-top: clamp(2rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); background-image: var(--glow); max-width: none; }
.hero > * { max-width: 90rem; }
h1 { font-size: clamp(3.75rem, 17vw, 6rem); line-height: 0.88; letter-spacing: 0.005em; }
h1 .ln { display: block; overflow: hidden; padding-block: 0.04em; }
h1 .ln > span { display: block; animation: rise 0.9s var(--ease) both; }
h1 .ln:nth-child(2) > span { animation-delay: 0.1s; }
.tagline { margin-top: 1.5rem; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.2; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.lede { margin-top: 1rem; }
.cta-row { margin-top: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.compare { --pos: 50%; position: relative; margin: 0; width: 100%; aspect-ratio: 1200 / 876; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.55); user-select: none; -webkit-user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.c-after { clip-path: inset(0 0 0 var(--pos)); }
.chip { position: absolute; bottom: 0.9rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: #09090b; color: #f4f2ec; font-size: 0.8rem; font-weight: 600; pointer-events: none; }
.chip-l { left: 0.9rem; }
.chip-r { right: 0.9rem; background: var(--lime); color: var(--on-lime); } /* the active look, as a selected chip */
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #f4f2ec; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.35); pointer-events: none; }
.handle svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 12px; box-sizing: content-box; width: 22px; height: 22px; border-radius: 50%; background: #f4f2ec; color: #09090b; box-shadow: 0 6px 18px rgb(0 0 0 / 0.45); }
.c-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; appearance: none; -webkit-appearance: none; }
.compare:has(.c-range:focus-visible) { outline: 3px solid var(--lime-text); outline-offset: 4px; }
.c-range:focus-visible { outline: none; }

@media (min-width: 62rem) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 4rem; padding-top: 3rem; }
  .cta-row { flex-direction: column; }
}

/* How it works */
.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 2.5rem; counter-reset: s; }
.steps li { border-top: 1px solid var(--hair); padding-top: 1.25rem; }
.num { display: block; font-family: var(--display); font-size: clamp(4rem, 9vw, 6rem); line-height: 1; color: var(--lime-text); }
.steps h3 { margin: 0.5rem 0 0.6rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* Gallery: every tile takes its image's own aspect ratio, so nothing is cropped.
   Rows are justified: flex-grow equals the aspect ratio, so tiles in a row share one height. */
.g-set { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.g-set h3 { margin-bottom: 1.25rem; }
.g-set .prompt { margin: -0.5rem 0 1.5rem; }
.prompt q { color: var(--ink); font-style: italic; quotes: "\201C" "\201D"; }
.row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.5rem 0.75rem; }
.row li { flex: var(--r) 1 0; min-width: 0; }
.row figure { margin: 0; }
.row img { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; border-radius: 18px; background: var(--surface); outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.row figcaption { margin-top: 0.6rem; color: var(--ink); font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.t-anime { --r: 0.7293; --ar: 800 / 1097; }
.t-3d { --r: 1.3704; --ar: 1184 / 864; }
.t-sq { --r: 1; --ar: 1 / 1; }
/* Phones and small tablets: the landscape look gets its own line, the portrait and square pair up below it,
   and the four engines sit in a 2 x 2 grid. */
@media (max-width: 51.99rem) {
  .looks .t-3d { order: -1; flex-basis: 100%; }
  .engines .t-sq { flex: 1 1 calc(50% - 0.375rem); }
}
@media (min-width: 52rem) {
  .row { flex-wrap: nowrap; gap: 1rem; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .row img { transition: filter 0.4s var(--ease); }
  .row li:hover img { filter: saturate(1.12) brightness(1.04); }
}

/* Pricing */
.pricing { display: grid; gap: 2.5rem; }
.pricing-head p { margin-top: 1.25rem; }
.packs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.packs th, .packs td { padding: 1.05rem 0.5rem; text-align: right; border-bottom: 1px solid var(--hair); }
.packs th[scope="col"] { font-size: 0.85rem; font-weight: 600; color: var(--ink3); }
.packs th:first-child { text-align: left; }
.packs tbody th { color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.packs td { color: var(--ink2); }
.packs td.price { color: var(--ink); font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1; letter-spacing: 0.01em; }
.packs .pop th, .packs .pop td { background: var(--surface); }
.tag { display: inline-block; margin-left: 0.5rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--heat); color: #09090b; font-size: 0.72rem; font-weight: 800; vertical-align: middle; }
@media (max-width: 36rem) { .packs th, .packs td { padding-inline: 0.3rem; } .packs th:nth-child(3), .packs td:nth-child(3) { display: none; } .tag { display: block; margin: 0.25rem 0 0; width: max-content; } }
@media (min-width: 62rem) { .pricing { grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; } .pricing .fine { grid-column: 2; margin-top: -1.5rem; } }
.pricing .fine { color: var(--ink2); }

/* Duo */
.duo { display: grid; gap: 3rem; align-items: center; }
.duo-copy { display: grid; gap: 1.25rem; }
.duo-art { display: flex; align-items: flex-end; justify-content: center; gap: 1.25rem; padding: 2rem 1rem; border-radius: 28px; background: var(--surface); border: 1px solid var(--hair); }
.screen { border-radius: 22px; border: 6px solid #26262c; background: #000; overflow: hidden; box-shadow: 0 24px 40px -20px rgb(0 0 0 / 0.6); }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.s-out { width: 30%; aspect-ratio: 1398 / 2034; }
.s-in { width: 58%; aspect-ratio: 2007 / 2853; }
.s-in img { object-position: 28% center; }
@media (min-width: 62rem) { .duo { grid-template-columns: 1.1fr 1fr; gap: 5rem; } }

/* FAQ */
.faq h2 { margin-bottom: 2.5rem; }
.qa { max-width: 52rem; border-top: 1px solid var(--hair); padding-top: 0.5rem; }
details { border-bottom: 1px solid var(--hair); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: 1rem 0; cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2.5px solid var(--lime-text); border-bottom: 2.5px solid var(--lime-text); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
details p { padding: 0 0 1.5rem; max-width: 60ch; }

/* Final CTA */
.final { text-align: center; display: grid; justify-items: center; gap: 2rem; }
.final h2 { font-size: clamp(3rem, 10vw, 6rem); }

/* Footer */
.foot { border-top: 1px solid var(--hair); display: grid; gap: 1rem; padding-block: 3rem; }
.legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.legal a { color: var(--ink); font-weight: 600; padding: 0.6rem 0; text-decoration: none; min-height: 44px; }
.legal a:hover { text-decoration: underline; }
.foot .fine { max-width: 58ch; }
.foot .fine a { color: var(--ink2); }

.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 1.5rem; padding: var(--pad); }
.notfound h1 { font-size: clamp(3.75rem, 17vw, 6rem); }

@media (max-width: 51.99rem) {
  .top { gap: 1rem; }
  .nav { gap: 1.25rem; }
  .nav .n-wide { display: none; }
}
@media (max-width: 23rem) { .nav { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
