/* ZeroDev Scripts: the storefront (2026-10-06), on the Pulse product site's system (revamp, 2026-09-29).
   Studio pages, the catalogue and the product-page template are in the 'storefront' sections at the end;
   a product page sets --p (its accent) on <body>, and --accent follows it there.
   One system: an 8 px spacing grid, one family (Inter 400/500/600), a black stage that the in-game
   footage fades into (every clip in media/rv/ is graded to fall off to #000 at its edges), grey
   surfaces for tiles, and one accent taken from the Desert Titanium finish.

   TYPE
   Role       Size (px, min-max)   Weight  Tracking   Line height  Colour
   display    54-136               600     -0.045em   0.95         --text      hero title
   h2         34-68                600     -0.032em   1.04         --text      section titles
   h-sub      26-40                600     -0.025em   1.1          --text      titles inside a section
   h3         19-24                600     -0.015em   1.25         --text      card / feature titles
   lede       18-22                400     -0.01em    1.45         --text-2
   body       17                   400      0         1.6          --text-2
   small      15                   400      0         1.55         --text-2
   caption    13                   500      0.005em   1.45         --text-3
   eyebrow    13                   600      0.12em    1.2          --accent    UPPERCASE
   label      12                   600      0.04em    1           --text-2    "In game" / "Interface render" pills */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/inter-latin-400-normal.woff2?v=68f645c6b6) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: block; src: url(../fonts/inter-latin-500-normal.woff2?v=6b66c741bf) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: block; src: url(../fonts/inter-latin-600-normal.woff2?v=e0d61f6dc5) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/inter-latin-ext-400-normal.woff2?v=1bf1f83717) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: block; src: url(../fonts/inter-latin-ext-500-normal.woff2?v=9dca915ff8) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: block; src: url(../fonts/inter-latin-ext-600-normal.woff2?v=ed01801086) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #000;
  --bg-1: #0b0b0d;          /* alternate section band */
  --bg-2: #121215;          /* tiles */
  --bg-3: #1b1b1f;          /* raised inside tiles, chips, code */
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f4f1;
  --text-2: #a9a8a4;
  --text-3: #86857f;
  --accent: #d9c3a3;        /* Desert Titanium, warmed */
  --accent-ink: #1a1510;
  --button: #f2f0ec;
  --button-ink: #0c0c0e;

  --font: 'Inter';
  --mono: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
  --p: var(--accent);          /* a product's accent: set per card / per product page */
  --p-ink: var(--accent-ink);
  --t-display: clamp(3.375rem, 1.6rem + 8vw, 8.5rem);
  --t-h2: clamp(2.125rem, 1.2rem + 3.6vw, 4.25rem);
  --t-sub: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  --t-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.5rem);
  --t-lede: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-caption: 0.8125rem;
  --t-eyebrow: 0.8125rem;
  --t-label: 0.75rem;
  --t-button: 0.9375rem;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --gutter: clamp(20px, 5vw, 48px);
  --wrap: 1200px;
  --section: clamp(96px, 13vw, 176px);
  --radius: 16px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--t-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; text-wrap: balance; }
button, input, select, textarea, code, pre, kbd, samp, summary, small, b, strong { font-family: var(--font); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: var(--s2); top: -100px; z-index: 100; background: var(--button); color: var(--button-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s2); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section.tone, #handset, #apps, #roleplay, #pricing { background: var(--bg-1); }
.eyebrow { display: block; font-family: var(--mono); font-size: var(--t-eyebrow); font-weight: 500; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s2); }
.h-section { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.032em; }
.h-sub { font-size: var(--t-sub); line-height: 1.1; letter-spacing: -0.025em; }
.lede { font-size: var(--t-lede); line-height: 1.45; letter-spacing: -0.01em; color: var(--text-2); max-width: 46ch; margin-top: var(--s3); text-wrap: pretty; }
.head { max-width: 780px; }
.head.center { margin: 0 auto; text-align: center; }
.head.center .lede { margin-left: auto; margin-right: auto; }
.small { font-size: var(--t-small); line-height: 1.55; color: var(--text-3); }

/* Source labels: "In game" is footage or a screenshot captured in FiveM. */
.src-note { display: flex; justify-content: center; margin-top: var(--s3); }
.tag-src { display: inline-flex; align-items: center; min-height: 22px; font-size: var(--t-label); font-weight: 600; line-height: 1; letter-spacing: 0.04em; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 9px; white-space: nowrap; }
.tag-src.game { color: var(--accent); border-color: rgba(217, 195, 163, 0.4); }
figcaption { margin-top: var(--s2); font-size: var(--t-caption); color: var(--text-3); text-align: center; line-height: 1.45; letter-spacing: 0.005em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.new-tag { display: inline-flex; align-items: center; min-height: 20px; margin-left: 6px; padding: 0 8px; vertical-align: 2px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); font-size: var(--t-label); font-weight: 600; letter-spacing: 0.04em; line-height: 1; text-transform: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; background: var(--button); color: var(--button-ink);
  font-weight: 600; font-size: var(--t-button); letter-spacing: -0.005em; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: #fff; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: rgba(255, 255, 255, .02); color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .06); }
.btn.small { min-height: 44px; padding: 0 18px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .soc { width: 20px; height: 20px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 10, 12, .55); cursor: pointer; }
.icon-btn:hover { border-color: rgba(255, 255, 255, .4); }
.icon-btn svg { width: 20px; height: 20px; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font-size: var(--t-small); font-weight: 600; cursor: pointer; }
.link-btn svg { width: 18px; height: 18px; }
.link-btn:hover { color: #f0e2cc; }

/* ---------------------------------------------------------------- header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); transition: background-color .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.header.solid, body:not(.home) .header { background: rgba(0, 0, 0, .9); border-bottom-color: var(--line); }
.header .nav a[aria-current] { color: var(--text); }
@media (min-width: 1101px) { .header .nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; } }
.discord-btn { color: var(--text-2); text-decoration: none; }
.discord-btn:hover { color: var(--text); }
.discord-btn svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .discord-btn { display: none; } }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s3); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.brand b { font-weight: 600; font-size: var(--t-body); letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.brand small { color: var(--text-3); font-size: var(--t-caption); font-weight: 500; line-height: 1; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; color: var(--text-2); text-decoration: none; font-size: var(--t-small); font-weight: 500; border-radius: 8px; transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: var(--s1); }
.basket-btn { position: relative; }
.basket-btn .count { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 600; line-height: 1; display: grid; place-items: center; }
.menu-btn { display: none; }
.menu-btn path { transform-origin: 12px 12px; transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
  body.menu-open .nav {
    display: flex; flex-direction: column; position: fixed; top: var(--header); left: 0; right: 0; bottom: 0; margin: 0; gap: 0; overflow-y: auto;
    padding: var(--s2) var(--gutter) var(--s4); background: #000; z-index: 60;
  }
  body.menu-open .nav a { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); min-height: 60px; padding: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { background: #000; }
  body.menu-open .nav .nav-social { display: flex; }
}
.nav .nav-social { display: none; gap: var(--s1); padding-top: var(--s3); margin-left: -11px; }
.nav .nav-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 999px; color: var(--text-2); }
body.menu-open .nav .nav-social a { min-height: 44px; border-bottom: 0; border-radius: 999px; }
.nav .nav-social a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav .nav-social svg { width: 22px; height: 22px; }
@media (max-width: 420px) { .brand small { display: none; } .header .btn.small { padding: 0 14px; } }

/* Out of stock (config.js soldOut, set on <html> before first paint): the buy actions give way to
   the Discord, where the launch is announced. */
html:not(.soldout) .when-soldout, html.soldout .when-live { display: none !important; }
.launch-note { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s3); padding: 8px 16px 8px 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 999px; background: rgba(0, 0, 0, .75); color: var(--text-2); font-size: var(--t-small); line-height: 1.4; text-align: left; }
.launch-note b { color: var(--text); }
.launch-note .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  /* The ring grows and fades with transform and opacity only, so it never repaints. */
  .launch-note .dot { position: relative; }
  .launch-note .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: color-mix(in srgb, var(--accent) 55%, transparent); animation: launch-dot 2s ease-out infinite; }
  @keyframes launch-dot { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3); opacity: 0; } }
}

/* ---------------------------------------------------------------- hero */
/* Pulse Titanium turning over the city, in game. The poster is the video's first frame, so the
   switch to the playing video cannot be seen; the video fades in only once it is really playing. */
.hero { position: relative; background: #000; overflow: hidden; }
.hero-media picture, .hero-media img, .hero-media video { display: block; }
.hero-media img.hero-poster, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity .5s var(--ease); }
.hero-media video.on { opacity: 1; }
.hero-kicker { font-size: var(--t-small); font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-bottom: var(--s2); }
.hero-kicker span { margin: 0 4px; color: var(--text-3); }
.hero h1 { font-size: var(--t-display); line-height: .95; letter-spacing: -0.045em; }
.hero .tagline { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.15; letter-spacing: -0.022em; font-weight: 500; color: var(--text); margin-top: var(--s3); max-width: 20ch; text-wrap: balance; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); align-items: center; }
.hero .price-line { font-size: var(--t-small); line-height: 1.55; color: var(--text-2); margin-top: var(--s3); max-width: 44ch; }
.hero-toggle { position: absolute; z-index: 3; background: rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .22); }
.hero-toggle svg { width: 16px; height: 16px; }

/* Wide screens: the city fills the frame, the handset turns on the right, the words sit on the left. */
@media (min-aspect-ratio: 1/1) {
  .hero { min-height: clamp(620px, 100svh, 1040px); display: grid; align-items: center; }
  /* The studio loop's own backdrop continues across the hero: its edge column, stretched. */
  .hero { background: #0c1240 url(../media/rv/hero-edge.png?v=ed9a7e4870) center / 100% 100% no-repeat; }
  .hero-media { position: absolute; top: 0; bottom: 0; right: max(var(--gutter), calc(50vw - 640px)); aspect-ratio: 720 / 1280; }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 1; pointer-events: none; background: linear-gradient(0deg, #000, rgba(0, 0, 0, 0)); }
  .hero-body { position: relative; z-index: 2; padding-top: calc(var(--header) + var(--s5)); padding-bottom: var(--s6); }
  .hero-copy { max-width: 860px; }
  .hero h1 { white-space: nowrap; }
  .hero-toggle { right: var(--gutter); bottom: var(--s4); }
}
/* Portrait screens (phones, tablets upright): the handset turns above the words, on the loop's own
   backdrop, which fades to the page's black under the words. */
@media (max-aspect-ratio: 1/1) {
  .hero { padding-top: var(--header); padding-bottom: var(--s6); background: #000 url(../media/rv/hero-edge.png?v=ed9a7e4870) center var(--header) / 100% min(60svh, 160vw) no-repeat; }
  .hero-media { position: relative; height: min(60svh, 160vw); aspect-ratio: 720 / 1280; margin: 0 auto; }
  /* One fade over the loop and the backdrop together, so there is no seam at the video's edge. */
  .hero::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--header) + min(60svh, 160vw) * 0.62); height: calc(min(60svh, 160vw) * 0.38 + 2px); z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000); }
  .hero-body { position: relative; z-index: 2; margin-top: calc(-1 * min(40px, 5svh)); }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero .tagline { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .hero .price-line { margin-left: auto; margin-right: auto; }
  .hero-toggle { position: absolute; top: calc(var(--header) + 12px); right: var(--gutter); }
}

/* ---------------------------------------------------------------- facts */
.facts-band { padding: var(--s6) 0 0; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts li { padding: var(--s3) var(--s3) 0 0; }
.facts b { display: block; font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { display: block; color: var(--text-2); font-size: var(--t-small); line-height: 1.5; margin-top: var(--s1); max-width: 22ch; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr 1fr; row-gap: var(--s4); } }

/* ---------------------------------------------------------------- the line-up */
.lineup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.model { display: flex; flex-direction: column; }
.model-media { position: relative; aspect-ratio: 608 / 1000; background: #101a5c; border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--line); }
.model-media video, .model-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.model-media picture { position: absolute; inset: 0; }
.model-media .tag-src { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(0, 0, 0, .7); }
.model-copy { padding: var(--s3) 4px 0; display: flex; flex-direction: column; flex: 1; }
.model-role { font-size: var(--t-caption); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); line-height: 1.2; display: flex; align-items: center; min-height: 22px; }
.model h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); letter-spacing: -0.025em; line-height: 1.1; margin: 10px 0 12px; }
.model-copy > p:not(.model-role):not(.model-meta) { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.model-meta { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); font-size: var(--t-small); font-weight: 500; color: var(--text); margin-bottom: 2px; }
.model-copy .link-btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 1100px) { .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s3); row-gap: var(--s6); } .model-media { aspect-ratio: 4 / 5; } }
/* Phones: the four models become a row to swipe through; the next one peeks in. */
@media (max-width: 700px) {
  .lineup { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80vw; gap: var(--s2); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: var(--s5) calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) var(--s2); scrollbar-width: none; }
  .lineup::-webkit-scrollbar { display: none; }
  .model { scroll-snap-align: start; }
  .model-media { aspect-ratio: 620 / 1000; }
}

/* ---------------------------------------------------------------- 3D */
.studio { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s6); align-items: center; margin-top: var(--s6); }
.stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: radial-gradient(60% 50% at 50% 42%, #1c1c21 0, #0c0c0f 70%); border: 1px solid var(--line); overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.stage canvas.is-dragging { cursor: grabbing; }
.stage canvas.can-fold, .stage canvas.is-folding { cursor: ns-resize; }
.stage .fold-btn { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 112px; justify-content: center; padding: 0 20px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(18, 18, 22, .88); color: var(--text); font: inherit; font-size: var(--t-small); font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.stage .fold-btn:hover { background: rgba(34, 34, 40, .82); border-color: rgba(255, 255, 255, .4); }
.stage .fold-btn svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.stage .fold-btn[data-folded="true"] svg { transform: scaleY(-1); }
.stage .fold-btn[hidden], .stage[data-state="idle"] .fold-btn, .stage[data-state="loading"] .fold-btn { display: none; }
.stage[data-state="still"] .fold-btn, .stage[data-state="error"] .fold-btn { bottom: 56px; }
.stage img.fallback { position: absolute; left: 50%; top: 50%; height: 84%; width: auto; transform: translate(-50%, -50%); transition: opacity .25s var(--ease); }
.stage img.fallback.wide { height: auto; width: 84%; }
.stage .stage-state { position: absolute; left: 0; right: 0; bottom: 16px; padding: 0 var(--s2); text-align: center; font-size: var(--t-caption); line-height: 1.45; color: var(--text-3); pointer-events: none; }
.stage[data-state="ready"] img.fallback { opacity: 0; pointer-events: none; }
.controls h3 { font-size: var(--t-eyebrow); line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: var(--s2); }
.finish-name { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; margin-bottom: var(--s3); min-height: 1.25em; }
.finish-tag { display: inline-block; margin-left: 8px; vertical-align: 3px; font-size: var(--t-caption); line-height: 1; font-weight: 500; color: var(--accent); }
.swatches { display: block; border: 0; padding: 0; margin: 0; }
.swatch-row { display: grid; grid-template-columns: repeat(7, 44px); gap: 10px; }
.swatch-label { margin: var(--s3) 0 var(--s1); font-size: var(--t-caption); line-height: 1.45; font-weight: 500; color: var(--text-2); }
.swatch { position: relative; width: 44px; height: 44px; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch span { position: absolute; inset: 6px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 -6px 10px rgba(0, 0, 0, .18); pointer-events: none; }
.swatch::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s var(--ease); pointer-events: none; }
.swatch:has(input:checked)::after { border-color: var(--text); }
.swatch input:focus-visible ~ span { outline: 2px solid var(--accent); outline-offset: 4px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; margin: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: var(--t-button); font-weight: 500; color: var(--text-2); pointer-events: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.seg input:checked + span { background: var(--text); color: var(--button-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg input:disabled + span { opacity: .4; }
.seg input:disabled { cursor: not-allowed; }
#cableToggle[disabled] { opacity: .4; cursor: not-allowed; }
#packSeg.is-off label:has(input:disabled) span { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .35); }
.acc-note b { color: var(--text); }
.controls .group { margin-top: var(--s5); }
.controls .group:first-child { margin-top: 0; }
.controls .sub { font-size: var(--t-small); line-height: 1.55; color: var(--text-2); margin-top: var(--s2); max-width: 44ch; }
.controls .group > .sub#finishCount { margin-top: var(--s3); }
.side-btns { display: flex; gap: var(--s1); margin-top: var(--s2); }
@media (max-width: 900px) {
  .studio { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .stage { aspect-ratio: 1 / 1.05; max-height: 70svh; width: 100%; }
}
@media (max-width: 420px) {
  .swatch-row { grid-template-columns: repeat(7, 40px); gap: 6px; }
  .swatch { width: 40px; height: 44px; } .swatch span { inset: 4px 2px; } .swatch::after { inset: 0 -1px; }
  #modelSeg span { padding: 0 12px; }
}
@media (max-width: 360px) {
  .swatch-row { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .swatch { width: auto; }
  #modelSeg span { padding: 0 9px; }
}

/* ---------------------------------------------------------------- two-column story (copy + media) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.split + .split { margin-top: var(--s8); }
.split-copy > p:not(.lede):not(.eyebrow) { color: var(--text-2); max-width: 52ch; }
.points { list-style: none; margin-top: var(--s4); display: grid; gap: 14px; }
.points li { position: relative; padding-left: 24px; color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1.5px; background: var(--accent); }
.points b { color: var(--text); }
.device-clip { max-width: 340px; margin: 0 auto; }
.device-clip video { width: 100%; height: auto; border-radius: 32px; border: 1px solid var(--line); background: #000; }
.frame-clip video { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #000; }
#flip .split-media { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s4); align-items: center; }
#flip .device-clip { max-width: 340px; width: 100%; }
#flip .fold-clip video { border-radius: var(--radius-lg); }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .split + .split { margin-top: var(--s7); }
}
@media (max-width: 520px) { #flip .split-media { gap: var(--s2); } }

/* ---------------------------------------------------------------- finishes */
.wide-shot { margin-top: var(--s6); }
.wide-shot img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.finish-notes { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--s3); margin-top: var(--s3); align-items: start; }
.finish-notes .wide-shot { margin-top: 0; }
.note-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); }
.note-big { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-bottom: var(--s2); }
.note-card p:not(.note-big) { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
@media (max-width: 800px) { .finish-notes { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- the system */
.screens-trio { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 3vw, 40px); margin-top: var(--s6); }
.screens-trio figure { flex: 0 1 260px; }
.screens-trio figure:nth-child(2) { flex-basis: 320px; }
.screens-trio img { width: 100%; }
.screens-trio figcaption { color: var(--text-2); font-weight: 500; font-size: var(--t-small); }
.traits { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s5); margin-top: var(--s7); }
.traits li { border-top: 1px solid var(--line); padding-top: var(--s3); }
.traits h3 { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: var(--s1); }
.traits p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
@media (max-width: 900px) { .traits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .traits { grid-template-columns: 1fr; gap: var(--s4); } .screens-trio figcaption { font-size: var(--t-caption); } }

/* Sideways rails */
.rail-wrap { position: relative; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); overflow: hidden; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 30vw, 360px); gap: var(--s3); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: var(--s2) var(--gutter) var(--s3); margin: var(--s5) calc(var(--gutter) * -1) 0; scrollbar-width: thin; scrollbar-color: #3a3a40 transparent; }
.rail figure { scroll-snap-align: start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3) var(--s3) var(--s2); }
.rail figcaption { text-align: left; align-items: flex-start; gap: 2px; }
.rail figcaption b { display: block; font-size: var(--t-small); line-height: 1.55; color: var(--text); }
@media (max-width: 700px) { .rail { grid-auto-columns: 78vw; gap: var(--s2); } .rail figure { padding: var(--s2) var(--s2) 12px; } }

/* App tour */
.tour { margin-top: var(--s6); }
.tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: var(--t-button); font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
.tabs [role="tab"]:hover { color: var(--text); }
.tabs [role="tab"][aria-selected="true"] { background: var(--text); color: var(--button-ink); }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: center; margin-top: var(--s6); }
.panel:focus-visible { outline-offset: 8px; border-radius: var(--radius); }
.panel h3 { font-size: var(--t-sub); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: var(--s2); }
.panel-copy > p { color: var(--text-2); max-width: 46ch; }
.panel-screens { display: flex; justify-content: center; gap: clamp(8px, 2vw, 24px); }
.panel-screens img { width: 100%; max-width: 220px; min-width: 0; flex: 1 1 0; }
.panel-screens.two img { max-width: 240px; }
.tour .src-note { margin-top: var(--s4); }
@media (max-width: 900px) { .panel { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } }
@media (max-width: 600px) { .tabs { justify-content: flex-start; } .tabs [role="tab"] { padding: 0 14px; } }

/* "See all" disclosures */
.all-apps, .compat { margin-top: var(--s7); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.all-apps summary, .compat summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 72px; font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.015em; }
.all-apps summary::-webkit-details-marker, .compat summary::-webkit-details-marker { display: none; }
.all-apps summary::after, .compat summary::after, .faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.all-apps[open] summary::after, .compat[open] summary::after, .faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.app-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5) var(--s4); padding: var(--s3) 0 var(--s5); }
.app-groups h3 { font-size: var(--t-eyebrow); line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.app-groups ul { list-style: none; display: grid; gap: 6px; }
.app-groups li small { color: var(--text-3); font-size: var(--t-caption); font-weight: 500; margin-left: 6px; white-space: nowrap; }
@media (max-width: 900px) { .app-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- in the world */
.cine { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: var(--s6); }
.cine-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--line); }
.cine-media video { width: 100%; height: auto; }
.cine-media .tag-src { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(0, 0, 0, .5); }
.cine-copy h3 { font-size: var(--t-sub); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: var(--s2); }
.cine-copy > p { color: var(--text-2); }
.cine-copy > p + p { margin-top: var(--s2); }
@media (max-width: 900px) { .cine { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }

.screens-row { display: flex; justify-content: center; gap: clamp(10px, 3vw, 40px); margin-top: var(--s7); }
.screens-row figure { flex: 0 1 220px; min-width: 0; }
.screens-row img { width: 100%; }
.screens-row figcaption { color: var(--text-2); font-weight: 500; }
.screens-row.tight { margin-top: 0; gap: clamp(8px, 2vw, 20px); }
.screens-row.tight figure { flex-basis: 180px; }

.lcd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.lcd-grid figure { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3) var(--s3) var(--s2); }
.lcd-grid img { width: 100%; max-width: 200px; margin: 0 auto; }
.lcd-grid figcaption { text-align: left; align-items: flex-start; gap: 2px; }
.lcd-grid figcaption b { display: block; color: var(--text); font-size: var(--t-small); line-height: 1.55; }
@media (max-width: 900px) { .lcd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); } .lcd-grid figure { padding: var(--s2) var(--s2) 12px; } }
@media (max-width: 600px) {
  .lcd-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62vw; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--s2); scroll-padding-left: var(--gutter); }
  .lcd-grid figure { scroll-snap-align: start; }
}
.intercept { margin-top: var(--s8); }
.intercept .h-sub { margin-bottom: var(--s2); }

/* Store and charging: the unboxing beside two tiles. */
.bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: var(--s3); margin-top: var(--s6); }
.tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tile-video { grid-row: span 2; display: flex; flex-direction: column; }
.tile-media { position: relative; }
.tile-media video { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.tile-video figcaption { margin: 0; padding: var(--s3); flex: 1; justify-content: center; }
.tile-text { padding: var(--s4); display: flex; flex-direction: column; justify-content: center; }
.tile-text h3 { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: var(--s2); }
.tile-text p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.tile-text p + p { margin-top: var(--s2); }
.tile-text b { color: var(--text); }
.tile-charge { display: flex; flex-direction: column; }
.tile-charge .tile-text { padding-top: var(--s2); }
.tile-render { position: relative; background: radial-gradient(70% 70% at 50% 50%, #1f1f25 0, var(--bg-2) 75%); }
.tile-render img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; padding: var(--s3) var(--s3) 0; }
.tile-render figcaption { position: absolute; right: var(--s3); top: var(--s3); margin: 0; }
@media (max-width: 800px) { .bento { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } .tile-video { grid-row: auto; } .tile-text { padding: var(--s3); } .tile-render figcaption { right: var(--s2); top: var(--s2); } }
.sizes { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); list-style: none; }
.sizes li { border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; font-size: var(--t-small); line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile-video { grid-row: auto; }
  .tile-render { grid-column: auto; grid-row: auto; }
}
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } .tile-text { padding: var(--s3); } }

/* Lost Mode and coverage: two cards, each with its screen rising from the bottom edge. */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); }
.pair-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; padding: var(--s5) var(--s5) 0; }
.pair-card .h-sub { margin-bottom: var(--s2); }
.pair-copy > p:not(.eyebrow) { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; max-width: 48ch; }
.pair-card img { width: min(62%, 260px); margin: var(--s5) auto 0; max-height: 420px; object-fit: cover; object-position: top; }
@media (max-width: 800px) { .pair { grid-template-columns: minmax(0, 1fr); } .pair-card { padding: var(--s4) var(--s3) 0; } }

/* Roleplay rules */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s6); }
.cols > div { border-top: 1px solid var(--line); padding-top: var(--s3); }
.cols h3 { margin-bottom: var(--s1); }
.cols p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cols { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------------------------------------------------------------- for server owners */
.frameworks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: var(--s6); }
.frameworks li { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; padding: 16px 22px; border: 1px solid var(--line-2); border-radius: 999px; font-variant-ligatures: none; }
.fw-note { margin-top: var(--s2); color: var(--text-3); font-size: var(--t-small); line-height: 1.55; }
.server-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4) var(--s3); }
.stat b { display: block; font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.2; margin-bottom: var(--s1); }
.stat p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
@media (max-width: 1000px) { .server-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .server-grid { grid-template-columns: 1fr; gap: var(--s2); } }
.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: start; margin-top: var(--s7); }
.install-copy .h-sub { margin-bottom: var(--s2); }
.install-copy > p { color: var(--text-2); max-width: 52ch; }
.doc-links { display: grid; gap: 10px; margin-top: var(--s4); }
.doc-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s2); align-items: center; padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.doc-link:hover { border-color: var(--line-2); background: var(--bg-3); }
.doc-link b { grid-column: 1; font-size: var(--t-body); }
.doc-link span { grid-column: 1; color: var(--text-2); font-size: var(--t-small); line-height: 1.5; }
.doc-link svg { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--accent); }
@media (max-width: 900px) { .install { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }
pre, code { font-feature-settings: "zero"; }
code { font-size: 0.9em; font-weight: 500; background: var(--bg-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; overflow-wrap: anywhere; }
pre { margin: 0; background: #0d0d10; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); overflow-x: auto; font-size: var(--t-small); line-height: 1.9; color: #dedcd6; }
pre code { background: none; border: 0; padding: 0; font-size: inherit; }
pre .c { color: var(--text-3); }
@media (max-width: 600px) { pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--t-caption); padding: var(--s2); } }
.spec { padding-bottom: var(--s3); }
.spec-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); gap: var(--s4); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.spec-row h3 { font-size: var(--t-body); }
.spec-row p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.spec-row a { color: var(--text); text-underline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips li { font-size: var(--t-caption); line-height: 1.45; font-weight: 500; color: var(--text); background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-variant-ligatures: none; }
.chips + p { margin-top: var(--s1); }
@media (max-width: 700px) { .spec-row { grid-template-columns: 1fr; gap: var(--s1); } }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin: var(--s6) auto 0; max-width: 960px; }
.plan { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: var(--s5) var(--s4) var(--s4); background: var(--bg-2); display: flex; flex-direction: column; }
.plan.featured { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent), color-mix(in srgb, var(--accent) 0%, transparent) 45%), var(--bg-2); }
.plan .badge { position: absolute; top: var(--s5); right: var(--s4); font-size: var(--t-eyebrow); line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.plan h3 { font-size: var(--t-h3); letter-spacing: -0.015em; }
.plan .amount { margin-top: var(--s3); font-size: clamp(3rem, 2.4rem + 2vw, 4.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .amount small { font-size: var(--t-body); font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-left: 6px; }
.plan .sub { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; margin-top: var(--s2); }
.plan .points { margin: var(--s3) 0 var(--s4); }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 1023px) { .plan .badge { position: static; align-self: flex-start; margin-bottom: var(--s1); } }
@media (max-width: 700px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan { padding: var(--s4) var(--s3) var(--s3); } }
.trial { margin: var(--s3) auto 0; max-width: 960px; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); }
.trial h3 { margin: 0 0 6px; }
.trial p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; max-width: 60ch; }
.trial .btn { flex: none; }
@media (max-width: 700px) { .trial { flex-direction: column; align-items: stretch; padding: var(--s3); } }
/* Out of stock: plan buttons read "Available soon" (site.js), and this line explains why. */
.soldout-note { margin: var(--s3) auto 0; max-width: 960px; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--accent) 4%, transparent); }
.soldout-note p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; max-width: 60ch; }
.soldout-note p b { color: var(--text); }
.soldout-note .btn { flex: none; }
@media (max-width: 700px) { .soldout-note { flex-direction: column; align-items: stretch; padding: var(--s3); } }
/* PhoneHub + Pulse: the separate store package under the phone plans */
.bundle { max-width: 960px; margin: var(--s6) auto 0; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: var(--s4); padding: var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--bg-2); scroll-margin-top: 96px; }
.bundle-media img { width: 100%; height: 100%; max-height: 680px; object-fit: cover; border-radius: calc(var(--radius-lg) - 6px); display: block; }
.bundle-body { display: flex; flex-direction: column; min-width: 0; }
.bundle-title { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.08; margin-top: 6px; }
.bundle .sub { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; margin-top: var(--s2); }
.bundle .points { margin-top: var(--s3); }
.bundle-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: var(--s3); }
.bundle-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; display: block; }
.bundle-plans { margin: var(--s4) 0 0; max-width: none; }
.bundle-plans .plan { padding: var(--s4) var(--s3) var(--s3); }
.bundle-plans .plan .amount { font-size: clamp(2.4rem, 2rem + 1.4vw, 3.2rem); }
.bundle-plans .plan .badge { position: static; align-self: flex-start; margin-bottom: var(--s1); }
.bundle-plans .plan .sub { margin-bottom: var(--s3); }
.bundle-note { margin-top: var(--s3); color: var(--text-3); font-size: var(--t-small); line-height: 1.55; }
.bundle-note a { color: var(--text-2); }
@media (max-width: 900px) { .bundle { grid-template-columns: minmax(0, 1fr); } .bundle-media img { max-height: 520px; aspect-ratio: 4 / 5; } }
@media (max-width: 700px) { .bundle { padding: var(--s3); } .bundle-plans { grid-template-columns: minmax(0, 1fr); } }
.included { max-width: 960px; margin: var(--s4) auto 0; color: var(--text-3); font-size: var(--t-small); line-height: 1.55; text-align: center; text-wrap: pretty; }
.included a { color: var(--text-2); }

/* ---------------------------------------------------------------- reviews */
#reviews .rv-sum { color: var(--text-2); margin-top: var(--s2); }
#reviews .rv-sum b { color: var(--accent); letter-spacing: 2px; }
#reviews .rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s2); margin-top: var(--s5); }
#reviews .rv { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: var(--s3); }
#reviews .rv .st { color: var(--accent); letter-spacing: 2px; font-size: var(--t-small); }
#reviews .rv p { color: var(--text-2); margin: 10px 0 12px; font-size: var(--t-small); line-height: 1.6; }
#reviews .rv small { color: var(--text-3); font-size: var(--t-caption); }
#reviews .rv small b { color: var(--text); font-weight: 600; }
#reviews .rv-note { color: var(--text-3); font-size: var(--t-small); margin-top: var(--s3); }
#reviews .rv-note a { color: var(--text-2); }

/* ---------------------------------------------------------------- FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s6); align-items: start; }
.faq-layout .head { position: sticky; top: calc(var(--header) + var(--s4)); }
.support { margin-top: var(--s4); }
.support p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; max-width: 36ch; margin-bottom: var(--s3); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); min-height: 68px; padding: var(--s2) 0; font-weight: 600; font-size: var(--t-body); line-height: 1.3; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .answer { padding: 0 0 var(--s3); color: var(--text-2); font-size: var(--t-small); line-height: 1.6; max-width: 70ch; }
.faq .answer p + p { margin-top: var(--s1); }
.faq .answer a { color: var(--text); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } .faq-layout .head { position: static; } }

/* ---------------------------------------------------------------- closing */
.closing { position: relative; padding: var(--s6) 0 var(--section); text-align: center; overflow: hidden; }
.closing-media { width: min(300px, 62vw); margin: 0 auto; }
.closing-media img { width: 100%; }
.closing-body { position: relative; margin-top: calc(-1 * min(96px, 14vw)); }
.h-display { font-size: clamp(2.75rem, 1.5rem + 5.5vw, 6rem); line-height: 1; letter-spacing: -0.04em; }
.closing .lede { margin: var(--s3) auto 0; }
.closing .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: var(--s6) 0 var(--s5); font-size: var(--t-small); line-height: 1.55; color: var(--text-2); }
.footer-top { display: flex; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.footer-tag { margin-top: var(--s2); max-width: 36ch; }
.footer-cols { display: flex; gap: var(--s6); flex-wrap: wrap; }
.footer h2 { font-size: var(--t-eyebrow); font-weight: 600; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); }
.footer a { display: flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer a .soc { width: 16px; height: 16px; margin-right: 10px; flex: none; opacity: .85; }
.footer-legal { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: var(--t-caption); line-height: 1.45; color: var(--text-3); }
@media (max-width: 600px) { .footer-cols { gap: var(--s4) var(--s5); } }

/* ---------------------------------------------------------------- basket, toast, thank-you */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s var(--ease); }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--s3); }
.drawer-foot { padding: var(--s3); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-foot:empty { display: none; }
.drawer .note { font-size: var(--t-caption); line-height: 1.45; color: var(--text-3); }
.line-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.line-item button { grid-column: 1 / -1; justify-self: start; background: none; border: 0; color: var(--text-2); text-decoration: underline; cursor: pointer; padding: 0; min-height: 44px; }
.total { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.empty { color: var(--text-2); text-align: center; padding: var(--s5) 0; }
.empty .btn { margin-top: var(--s2); }
.drawer .btn { width: 100%; }
.thanks { position: fixed; inset: auto var(--gutter) var(--s3); z-index: 70; max-width: 560px; margin: 0 auto; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius); padding: var(--s3); }
.thanks h2 { margin-bottom: 6px; }
.thanks p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.thanks .row { display: flex; gap: var(--s1); flex-wrap: wrap; margin-top: var(--s2); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--button-ink); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: var(--t-small); transition: opacity .25s var(--ease), transform .25s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* The pause button on every moving clip. */
.loop-btn { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 44px; height: 44px; background: rgba(0, 0, 0, .5); border-color: rgba(255, 255, 255, .22); }
.loop-btn svg { width: 16px; height: 16px; }
.device-clip .loop-btn, .frame-clip .loop-btn { bottom: auto; top: 12px; }

/* Reveal: content is visible without JS; with JS, it rises in once. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* Button rows on phones: two buttons share the row at equal width, or stack full width. */
@media (max-width: 560px) {
  .hero .cta, .closing .cta { width: 100%; }
  .hero .cta .btn, .closing .cta .btn, .soldout-note .btn { flex: 1 1 0; min-width: max-content; padding: 0 20px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .header .btn.small { padding: 0 12px; }
  .brand { min-width: 0; gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .brand b { font-size: 15px; }
}
@media (max-width: 340px) { .hide-xs { display: none; } }

/* ---------------------------------------------------------------- the film (lightbox) */
/* Opened only by a click; it plays with sound because the visitor asked for it. Esc, the close
   button or a click outside the frame close it; focus stays inside while it is open. */
.film-dialog { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: hidden; }
.film-dialog::backdrop { background: rgba(0, 0, 0, .92); }
.film-dialog[open] { display: grid; place-items: center; }
.film-frame { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px var(--gutter) 20px; height: 100%; justify-content: center; }
.film-frame video { height: auto; max-height: calc(100dvh - 120px); width: auto; max-width: min(100%, calc((100dvh - 120px) * 9 / 16)); aspect-ratio: 9 / 16; border-radius: var(--radius-lg); background: #000; border: 1px solid var(--line); }
.film-note { display: flex; align-items: center; gap: 8px; font-size: var(--t-caption); color: var(--text-3); }
.film-close { position: absolute; top: 16px; right: 16px; }
.head-cta { margin-top: var(--s3); }
.traits.why { margin-top: var(--s6); }

/* New in 1.2: a photo per headline feature, then the rest in short columns. */
.new-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.new-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.new-card h3 { margin: var(--s3) var(--s3) 0; }
.new-card p { margin: var(--s1) var(--s3) var(--s3); color: var(--text-2); }
.new-media { position: relative; margin: 0; aspect-ratio: 16 / 10; background: #e9e9ec; overflow: hidden; }
.new-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.new-media.is-tall img { object-fit: contain; background: #0e0e11; }
.new-media figcaption { position: absolute; right: var(--s2); top: var(--s2); margin: 0; }
.new-more { margin-top: var(--s6); }
@media (max-width: 900px) { .new-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .new-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } }
.new-media .tag-src { background: rgba(12, 12, 14, 0.64); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ================================================================ storefront (2026-10-06) */
/* ---------------------------------------------------------------- product pages take their accent */
body.pdp { --accent: var(--p); --accent-ink: var(--p-ink); }
.anchor-alias { position: absolute; margin-top: calc(-1 * var(--header) - 12px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-weight: 600; font-size: var(--t-small); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; color: var(--accent); transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.grid-foot { margin-top: var(--s4); color: var(--text-2); font-size: var(--t-small); }
.grid-foot a { color: var(--text); }
.pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-family: var(--mono); font-size: var(--t-label); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; white-space: nowrap; border: 1px solid var(--line-2); color: var(--text-2); }
.pill.status { background: var(--p); color: var(--p-ink); border-color: transparent; }
.pill.status.soon { background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--line-2); }
.pill.status.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--p); margin-right: 8px; }
.pill.version { font-variant-numeric: tabular-nums; }
.fw-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.fw-pills li { font-family: var(--mono); font-size: var(--t-label); font-weight: 500; letter-spacing: 0.02em; line-height: 1; padding: 6px 9px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-3); color: var(--text); white-space: nowrap; font-variant-ligatures: none; }
.fw-pills li.more { color: var(--text-2); background: none; }

/* ---------------------------------------------------------------- studio hero */
.studio-hero .hero-eyebrow { margin-bottom: var(--s3); }
.studio-hero h1 { font-size: clamp(2.75rem, 1.4rem + 5.4vw, 6.25rem); line-height: .98; letter-spacing: -0.04em; max-width: 12ch; text-wrap: balance; }
.studio-hero h1 em { font-style: normal; color: var(--accent); }
.studio-hero .tagline { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 400; color: var(--text-2); max-width: 46ch; letter-spacing: -0.012em; line-height: 1.4; }
@media (min-aspect-ratio: 1/1) { .studio-hero h1 { white-space: normal; } .studio-hero .hero-copy { max-width: 720px; } }
@media (max-aspect-ratio: 1/1) { .studio-hero h1 { max-width: 14ch; } }

/* ---------------------------------------------------------------- trust strip */
.trust { padding: var(--s6) 0 0; }
.trust-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.trust-grid li { border-right: 1px solid var(--line); }
.trust-grid li:last-child, .trust-grid li:nth-child(4) { border-right: 0; }
.trust-grid a { display: block; height: 100%; padding: var(--s3) var(--s3) var(--s3) 0; text-decoration: none; color: inherit; }
.trust-grid li + li a { padding-left: var(--s3); }
.trust-grid b { display: block; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.trust-label { display: block; margin-top: 10px; font-family: var(--mono); font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.trust-note { display: block; margin-top: 10px; color: var(--text-2); font-size: var(--t-caption); line-height: 1.5; max-width: 26ch; }
.trust-grid a:hover b { color: var(--accent); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-grid li:nth-child(2n) { border-right: 0; } .trust-grid li:nth-child(n+3) { border-top: 1px solid var(--line); } .trust-grid li:nth-child(odd) a { padding-left: 0; } .trust-grid li:nth-child(even) a { padding-left: var(--s3); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } .trust-grid li { border-right: 0 !important; } .trust-grid li + li { border-top: 1px solid var(--line); } .trust-grid li a { padding-left: 0 !important; } .trust-note { max-width: none; } }

/* ---------------------------------------------------------------- product cards */
.pcard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.pcard-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--p) 45%, var(--line-2)); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--p) 55%, transparent); }
.pcard:focus-within { border-color: color-mix(in srgb, var(--p) 60%, var(--line-2)); }
.pcard-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #0a0a0c; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .62)); pointer-events: none; }
.pcard-lockup { position: absolute; left: var(--s3); bottom: var(--s3); z-index: 2; display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.pcard-mark { width: 10px; height: 10px; border-radius: 3px; background: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 25%, transparent); }
.pcard .pill.on-media { position: absolute; left: var(--s3); top: var(--s3); z-index: 2; }
.pcard .pcard-tag { position: absolute; right: var(--s2); top: var(--s2); z-index: 2; background: rgba(0, 0, 0, .55); }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: var(--s3) var(--s3) var(--s3); }
.pcard-body .eyebrow { margin-bottom: 8px; color: var(--p); }
.pcard-title { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; }
.pcard-title a { text-decoration: none; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; }
.pcard-pitch { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; margin: 8px 0 var(--s2); min-height: calc(1.55em * 2); }
.pcard-foot { margin-top: auto; padding-top: var(--s3); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; }
.price-row { display: flex; flex-direction: column; gap: 2px; font-size: var(--t-small); color: var(--text-2); }
.price-row b { font-size: var(--t-body); color: var(--text); font-variant-numeric: tabular-nums; }
.pcard-cta { position: relative; z-index: 3; display: flex; }
.pcard-cta span { display: inline-flex; gap: 8px; }
.pcard-cta .btn.small { min-height: 40px; padding: 0 16px; }
@media (max-width: 900px) { .pcard-grid, .pcard-grid.two { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } .pcard-pitch { min-height: 0; } }

/* ---------------------------------------------------------------- pillars */
.pillars { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s6); }
.pillar { border-top: 1px solid var(--line); padding-top: var(--s3); display: flex; flex-direction: column; }
.pillar-n { font-family: var(--mono); font-size: var(--t-caption); color: var(--accent); letter-spacing: .06em; margin-bottom: var(--s2); }
.pillar h3 { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: var(--s1); }
.pillar p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; margin-bottom: var(--s2); }
.pillar .link-arrow { margin-top: auto; }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; gap: var(--s3); } }

/* ---------------------------------------------------------------- try it */
.try-foot { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: var(--s6); }

/* ---------------------------------------------------------------- plans band (home) */
.plans-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); max-width: 960px; margin: var(--s6) auto 0; }
.plan-mini { position: relative; display: flex; flex-direction: column; gap: 10px; padding: var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--bg-2); text-decoration: none; color: inherit; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.plan-mini:hover { border-color: color-mix(in srgb, var(--p) 50%, var(--line-2)); transform: translateY(-2px); }
.plan-mini .eyebrow { margin: 0; color: var(--p); }
.plan-mini > b { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; }
.plan-mini-prices { display: flex; gap: var(--s3); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 6px; }
.plan-mini-prices small { font-size: var(--t-small); font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.plan-mini-note { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.plan-mini .pill.status { position: absolute; top: var(--s4); right: var(--s4); }
@media (max-width: 700px) { .plans-band { grid-template-columns: minmax(0, 1fr); } .plan-mini .pill.status { position: static; align-self: flex-start; order: -1; } }

/* ---------------------------------------------------------------- films */
.films-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.film-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3); display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: var(--s3); align-items: center; }
.film-poster { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 9 / 16; }
.film-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.film-poster:hover img { transform: scale(1.03); }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .35); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.play-badge svg { width: 26px; height: 26px; margin-left: 3px; }
.play-badge.small { width: 32px; height: 32px; } .play-badge.small svg { width: 14px; height: 14px; margin-left: 2px; }
.film-poster:hover .play-badge { background: var(--p); color: var(--p-ink, #000); transform: translate(-50%, -50%) scale(1.06); }
.film-card figcaption { margin: 0; text-align: left; align-items: flex-start; gap: 10px; }
.film-card figcaption .eyebrow { margin: 0; color: var(--p); }
.film-card figcaption b { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; color: var(--text); }
@media (max-width: 900px) { .films-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } }
@media (max-width: 480px) { .film-card { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); padding: var(--s2); } }

/* ---------------------------------------------------------------- help cards */
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.help-card { display: flex; flex-direction: column; padding: var(--s4); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.help-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.help-card .eyebrow { margin-bottom: var(--s2); }
.help-card h3 { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: var(--s1); }
.help-card p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; margin-bottom: var(--s2); }
.help-card .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .help-grid, .help-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .help-grid, .help-grid.three { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } .help-card { padding: var(--s3); } }

/* ---------------------------------------------------------------- page heads, crumbs */
.page-head { padding: calc(var(--header) + var(--s6)) 0 var(--s4); }
.page-head .lede { max-width: 60ch; }
.page-head + .section { padding-top: var(--s5); }
.crumbs { margin-bottom: var(--s4); font-size: var(--t-caption); color: var(--text-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; } .crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--text-2); font-size: var(--t-small); font-weight: 500; }
.jump a:hover { color: var(--text); border-color: rgba(255, 255, 255, .4); }
.catalogue { padding-top: var(--s4); }
.catalogue .pcard-grid { margin-top: 0; }
.next-row { margin-top: var(--s6); padding: var(--s3) var(--s4); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.next-row .eyebrow { margin-bottom: 6px; } .next-row a { color: var(--text); }

/* ---------------------------------------------------------------- product page: top */
.pdp-top { padding: calc(var(--header) + var(--s5)) 0 var(--s6); }
.pdp-title h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); letter-spacing: -0.035em; line-height: 1.02; }
.pdp-title .lede { margin-top: var(--s2); max-width: 56ch; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); margin-top: var(--s5); align-items: start; }
@media (max-width: 1000px) { .pdp-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }
.gallery-main { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main .film-poster { aspect-ratio: 4 / 3; border-radius: 0; background: radial-gradient(60% 80% at 50% 50%, #17151f 0, #0a0a0c 80%); }
.gallery-main .film-poster img { width: auto; height: 100%; margin: 0 auto; object-fit: contain; }
.gallery-still { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #0a0a0c; }
.gallery-still.portrait { object-fit: contain; }
.gallery-main figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: var(--s2) var(--s3); flex-direction: row; justify-content: flex-start; gap: 10px; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); color: var(--text-2); text-align: left; font-size: var(--t-caption); pointer-events: none; }
.gallery-main .tag-src { background: rgba(0, 0, 0, .5); }
.gallery-thumbs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: var(--s2); }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #0a0a0c; overflow: hidden; cursor: pointer; transition: border-color .2s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--line-2); }
.thumb.is-current { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

.buy { position: sticky; top: calc(var(--header) + var(--s3)); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: var(--s4); }
.buy-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s2); }
.buy-head .eyebrow { margin: 0; }
.buy-pills { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.buy .fw-pills { margin: var(--s2) 0 var(--s3); }
.buybox, .launchcard { padding-top: var(--s3); border-top: 1px solid var(--line); }
.price-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-opt { position: relative; display: block; cursor: pointer; }
.price-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.price-opt span { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.price-opt b { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-opt small { font-size: var(--t-caption); color: var(--text-2); line-height: 1.4; }
.price-opt input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.price-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy-ctas { display: grid; gap: 10px; margin-top: var(--s3); }
.buy-ctas .btn { width: 100%; }
.buy-fine { margin-top: var(--s2); color: var(--text-3); font-size: var(--t-caption); line-height: 1.5; }
.promise { list-style: none; display: grid; gap: 8px; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.promise li { position: relative; padding-left: 22px; color: var(--text-2); font-size: var(--t-caption); line-height: 1.5; }
.promise li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.promise a { color: var(--text-2); }
.launch-title { font-size: var(--t-sub); letter-spacing: -0.025em; line-height: 1.1; margin-top: 4px; }
.launch-text { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; margin-top: var(--s2); }
.launch-price { margin-top: var(--s3); color: var(--text-2); font-size: var(--t-small); }
.launch-price b { color: var(--text); font-size: 1.5rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.launch-sub { margin-top: var(--s4); font-family: var(--mono); font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.launchcard .points { margin-top: var(--s2); gap: 10px; }
.launchcard .points li { font-size: var(--t-caption); }
.spec { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 0; margin: var(--s4) 0 0; border-top: 1px solid var(--line); }
.spec-k, .spec-v { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-caption); line-height: 1.5; }
.spec-k { font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); font-size: var(--t-label); padding-top: 12px; }
.spec-v { color: var(--text); padding-left: var(--s2); }
.spec-v a { color: var(--text); text-decoration-color: var(--text-3); text-underline-offset: 3px; }
.spec-v a:hover { text-decoration-color: var(--accent); }
@media (max-width: 1000px) { .buy { position: static; } }
@media (max-width: 480px) { .buy { padding: var(--s3); } .price-switch { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- product page: sub-nav and sections */
.subnav { position: sticky; top: var(--header); z-index: 40; background: rgba(0, 0, 0, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: var(--s3); }
.subnav ul { list-style: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; -webkit-overflow-scrolling: touch; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 12px; white-space: nowrap; color: var(--text-2); text-decoration: none; font-size: var(--t-small); font-weight: 500; border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.subnav a:hover { color: var(--text); }
.subnav a.is-current { color: var(--text); border-bottom-color: var(--accent); }
.subnav-cta { flex: none; min-height: 36px; padding: 0 16px; }
.pdp-body { padding-bottom: var(--s6); }
.pdp-section { padding: var(--section) 0 0; scroll-margin-top: calc(var(--header) + 60px); }
.pdp-section .head { max-width: 780px; }
.overview-text { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s5); }
.overview-text p { color: var(--text-2); max-width: 56ch; }
.pdp-section .facts { margin-top: var(--s6); }
@media (max-width: 800px) { .overview-text { grid-template-columns: minmax(0, 1fr); gap: var(--s3); } }
.story { scroll-margin-top: calc(var(--header) + 60px); }
.story .section:first-child { padding-top: var(--section); }

.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.feat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.feat-media { position: relative; aspect-ratio: 4 / 3; background: #0a0a0c; overflow: hidden; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; }
.feat-media.contain img { object-fit: contain; padding: 12px; background: radial-gradient(70% 70% at 50% 50%, #1b1b21 0, #0a0a0c 80%); }
.feat-media figcaption { position: absolute; right: var(--s2); top: var(--s2); margin: 0; }
.feat-media .tag-src { background: rgba(0, 0, 0, .55); }
.feat h3 { margin: var(--s3) var(--s3) 0; font-size: var(--t-body); letter-spacing: -0.01em; line-height: 1.3; }
.feat p { margin: var(--s1) var(--s3) var(--s3); color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
@media (max-width: 1100px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } }

.req-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); margin-top: var(--s6); align-items: start; }
.req-grid .h-sub { font-size: var(--t-h3); margin-bottom: var(--s3); }
.req-list { list-style: none; display: grid; gap: 8px; }
.req-list a { display: grid; gap: 2px; padding: 12px var(--s2); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); text-decoration: none; color: inherit; transition: border-color .2s var(--ease); }
.req-list a:hover { border-color: var(--line-2); }
.req-list b { font-size: var(--t-small); }
.req-list span { color: var(--text-2); font-size: var(--t-caption); line-height: 1.5; }
.req-note { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; margin-bottom: var(--s3); }
.spec-list { padding-bottom: var(--s3); }
.doc-links.three { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s6); }
@media (max-width: 900px) { .req-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } .doc-links.three { grid-template-columns: minmax(0, 1fr); } }

.try-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s4); margin-top: var(--s6); align-items: center; }
.try-copy h3 { font-size: var(--t-sub); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: var(--s2); }
.try-copy > p { color: var(--text-2); max-width: 46ch; }
.try-copy .btn { margin-top: var(--s3); }
.try-copy .small { margin-top: var(--s3); } .try-copy .small a { color: var(--text-2); }
@media (max-width: 900px) { .try-row { grid-template-columns: minmax(0, 1fr); } }
.pairs-grid.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pairs-grid .pcard:only-child { max-width: 560px; }
@media (max-width: 900px) { .pairs-grid.two { grid-template-columns: minmax(0, 1fr); } }

.log { display: grid; gap: var(--s2); margin-top: var(--s5); }
.log-entry { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); }
.log-entry h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; }
.log-entry h3 .pill { font-size: var(--t-caption); min-height: 28px; }
.log-body { margin-top: var(--s2); color: var(--text-2); font-size: var(--t-small); line-height: 1.6; max-width: 76ch; }
.log-body h4 { margin: var(--s3) 0 var(--s1); font-family: var(--mono); font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.log-body p { margin: var(--s1) 0; }
.log-body ul { list-style: none; display: grid; gap: 8px; padding: 0; }
.log-body li { position: relative; padding-left: 20px; }
.log-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1.5px; background: var(--accent); }
.log-body strong { color: var(--text); }
.log-body code { font-size: .88em; }
.log.full { gap: var(--s3); }
.log-section { padding-top: var(--s6); }
.log-section + .log-section { padding-top: 0; }
.plan-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); flex-wrap: wrap; }
.plan-head .lede { margin-top: var(--s1); max-width: 60ch; }
.plan-head .h-sub { margin-top: 0; }
.plan-section { padding-top: var(--s5); padding-bottom: var(--s5); }
.plan-section + .plan-section { border-top: 1px solid var(--line); }
.plan-section .plans, .plan-section .trial { margin-left: 0; max-width: 960px; }
.plan-section .plans { margin-top: var(--s4); }
.plans.compact .plan .amount { font-size: clamp(2.4rem, 2rem + 1.4vw, 3.2rem); }
.plans.compact .plan .badge { position: static; align-self: flex-start; margin-bottom: var(--s1); }
.plans.compact .plan .sub { margin-bottom: var(--s3); }
.tbl { margin-top: var(--s6); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--t-small); line-height: 1.55; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px var(--s3); border-bottom: 1px solid var(--line); color: var(--text-2); }
.compare thead th { font-family: var(--mono); font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.compare tbody th { color: var(--text); font-weight: 600; width: 18%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
@media (max-width: 640px) { .compare th, .compare td { padding: 12px var(--s2); } }

.support-band { padding-top: var(--section); }
.support-band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s4); align-items: center; padding: var(--s5); border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%), var(--bg-2); }
.support-band-inner .h-sub { margin: 4px 0 var(--s2); }
.support-band-inner p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; max-width: 60ch; }
.support-band-inner p a { color: var(--text); }
.support-band-inner .small { margin-top: var(--s2); }
.support-band-inner .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) { .support-band-inner { grid-template-columns: minmax(0, 1fr); padding: var(--s4) var(--s3); } .support-band-inner .cta { justify-content: flex-start; } }

/* ---------------------------------------------------------------- the four-column footer */
.footer-brand { max-width: 320px; }
.footer-social { display: flex; gap: 4px; margin: var(--s2) 0 0 -10px; }
.footer-social a { padding: 0 10px; min-height: 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: var(--s4) var(--s5); }
.footer h2 { font-family: var(--mono); font-weight: 500; letter-spacing: 0.1em; }
.footer a small { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-left: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 7px; }
.footer-legal a { color: var(--text-2); }
@media (max-width: 900px) { .footer-top { flex-direction: column; } .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- fixes after the first review pass */
.footer-legal a { display: inline; min-height: 0; }
@media (max-width: 520px) { .header-cta { display: none; } }
.closing-media { position: relative; }
.closing-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000); pointer-events: none; }
.closing-body { margin-top: calc(-1 * min(72px, 10vw)); }
details.log-entry > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
details.log-entry > summary::-webkit-details-marker { display: none; }
details.log-entry > summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
details.log-entry[open] > summary::after { transform: rotate(225deg) translate(-2px, -2px); }
details.log-entry:not([open]) { padding-top: var(--s3); padding-bottom: var(--s3); }
.footer-social { flex-wrap: wrap; }
.subnav a.btn { color: var(--button-ink); border-bottom: 0; }

/* ================================================================ store home (Quasar-style structure, 2026-10-06) */
/* Section titles carry one accent word in <em>. */
.h-section em, .h-display em { font-style: normal; color: var(--accent); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; }
.head-row .head { margin: 0; }
.head-row > .btn { flex: none; margin-bottom: 4px; }
@media (max-width: 700px) { .head-row > .btn { width: 100%; } }

/* hero: uppercase display headline, Quasar-style, in the keynote type */
.store-hero h1 { font-size: clamp(2.5rem, 1.2rem + 5vw, 5.75rem); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; max-width: 14ch; text-wrap: balance; }
.store-hero h1 span, .store-hero h1 em { display: block; }
.store-hero h1 em { font-style: normal; color: var(--accent); }
.store-hero .tagline { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); font-weight: 400; color: var(--text-2); max-width: 54ch; letter-spacing: -0.01em; line-height: 1.5; margin-top: var(--s3); }
.store-hero .trust-line { margin-top: var(--s3); font-family: var(--mono); font-size: var(--t-caption); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); max-width: 60ch; line-height: 1.6; }
@media (min-aspect-ratio: 1/1) { .store-hero h1 { white-space: normal; } .store-hero .hero-copy { max-width: 720px; } }
@media (max-aspect-ratio: 1/1) { .store-hero h1 { max-width: 16ch; } .store-hero .trust-line { margin-left: auto; margin-right: auto; } }

/* video cards with duration badges */
.vcard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.vcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.vcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--p) 45%, var(--line-2)); }
.vcard-media { position: relative; display: block; padding: 0; border: 0; background: radial-gradient(70% 70% at 50% 50%, #17151f 0, #0a0a0c 85%); cursor: pointer; min-height: 100%; aspect-ratio: 3 / 4; overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard-media:hover img { transform: scale(1.03); }
.vcard-media:hover .play-badge { background: var(--p); color: var(--p-ink, #000); transform: translate(-50%, -50%) scale(1.06); }
.duration { position: absolute; right: 10px; bottom: 10px; font-family: var(--mono); font-size: var(--t-label); font-weight: 500; letter-spacing: .04em; color: #fff; background: rgba(0, 0, 0, .7); border-radius: 6px; padding: 4px 7px; font-variant-numeric: tabular-nums; }
.vcard-body { display: flex; flex-direction: column; padding: var(--s4); }
.vcard-body .eyebrow { margin-bottom: 8px; color: var(--p); }
.vcard-body h3 { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; }
.vcard-body p:not(.eyebrow) { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; margin: var(--s1) 0 var(--s2); }
.vcard-body .link-arrow { margin-top: auto; }
@media (max-width: 1000px) { .vcard-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } }
@media (max-width: 480px) { .vcard { grid-template-columns: minmax(0, 1fr); } .vcard-media { aspect-ratio: 16 / 10; } .vcard-media img { object-position: center 20%; } .vcard-body { padding: var(--s3); } }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.cat-tile { display: flex; flex-direction: column; padding: var(--s4); min-height: 260px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.cat-tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cat-tile .eyebrow { margin-bottom: var(--s3); }
.cat-tile h3 { font-size: var(--t-sub); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: var(--s2); }
.cat-tile p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.cat-count { margin-top: var(--s3); font-family: var(--mono); font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.cat-tile .link-arrow { margin-top: auto; padding-top: var(--s2); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } .cat-tile { min-height: 0; padding: var(--s3); } }

/* get started: four steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); counter-reset: step; }
.step-tile { position: relative; padding: var(--s4); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-family: var(--mono); font-weight: 600; font-size: var(--t-body); margin-bottom: var(--s3); }
.step-tile h3 { font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: var(--s1); }
.step-tile p { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } .step-tile { padding: var(--s3); } }

/* numbers */
.numbers { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.numbers li { padding: var(--s4) var(--s3); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; }
.numbers b { display: block; font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); letter-spacing: -0.04em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.numbers span { display: block; margin-top: 10px; font-family: var(--mono); font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); line-height: 1.4; }
@media (max-width: 1000px) { .numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .numbers { grid-template-columns: 1fr 1fr; gap: var(--s2); } .numbers li { padding: var(--s3) var(--s2); } }

/* payment row */
.payments { padding: 0 0 var(--s6); }
.pay-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding-top: var(--s5); border-top: 1px solid var(--line); }
.pay-row li { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; font-size: var(--t-small); font-weight: 600; letter-spacing: -0.005em; color: var(--text-2); }
.pay-row .pay-tebex { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--text); }
.pay-row a { color: inherit; text-decoration: none; }
.pay-note { margin-top: var(--s2); text-align: center; color: var(--text-3); font-size: var(--t-caption); line-height: 1.5; }
.closing { padding-bottom: var(--s6); }

/* catalogue category filter */
.cat-filter { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.cat-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--text-2); font-size: var(--t-small); font-weight: 500; }
.cat-filter a:hover { color: var(--text); border-color: rgba(255, 255, 255, .4); }
.cat-filter a[aria-current] { background: var(--text); color: var(--button-ink); border-color: var(--text); }
.cat-empty { margin-top: var(--s3); color: var(--text-2); font-size: var(--t-small); }
.cat-empty a { color: var(--text); }
.pcard[hidden] { display: none !important; }
