/* Allizai: site styles. One file, no build step.
   Brand: white page, orange #FF6600, STK Bureau Sans Book for site text, Geist Pixel for labels.
   Product UI (windows, artworks) uses Inter + JetBrains Mono, like the original Framer embeds.
   Visual language: design-tool metaphors (frames, rulers, selection handles, redlines, comment pins, variables). */

@font-face { font-family: "STK Bureau Sans"; src: url(/fonts/STKBureauSans-Book.woff2) format("woff2"), url(/fonts/STKBureauSans-Book.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Pixel"; src: url(/fonts/GeistPixel-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/Inter-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/JetBrainsMono-var.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

/* Section colours (round 8): every section has data-hue; its accent drives headlines, hairlines, handles and buttons.
   <html> takes the hue of the section in view (site.js), so header, logo, nav and footer change colour while scrolling. */
@property --accent { syntax: "<color>"; inherits: true; initial-value: #ff6600; }
:root {
  --accent: #ff6600;
  --ink: #141414;
  --ink-2: #4a4a4a;
  --grey: #6f6f6f;
  --mute: #9b9b9b;
  --win-line: #ededed;
  --col: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sans: "STK Bureau Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Geist Pixel", ui-monospace, Menlo, monospace;
  --ui-font: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-win: 0 30px 60px -20px rgba(80, 28, 0, .38), 0 6px 16px -6px rgba(0, 0, 0, .10), 0 0 0 1px rgba(0, 0, 0, .04);

  /* Section imagery: abstract renders by Milad Fakurian (unsplash.com/@fakurian), Unsplash licence,
     credited on /legal/credits. Served by Unsplash's image CDN; --fNN is the large size, --fNNs the small one. */
  --f01: url("https://images.unsplash.com/photo-1729420477957-bd0e3c08cc33?w=1400&q=70&auto=format&fit=crop");
  --f01s: url("https://images.unsplash.com/photo-1729420477957-bd0e3c08cc33?w=480&q=70&auto=format&fit=crop");
  --f02: url("https://images.unsplash.com/photo-1729420478052-0264c4a72b1b?w=1400&q=70&auto=format&fit=crop");
  --f02s: url("https://images.unsplash.com/photo-1729420478052-0264c4a72b1b?w=480&q=70&auto=format&fit=crop");
  --f03: url("https://images.unsplash.com/photo-1729420477971-02df8bf80d50?w=1400&q=70&auto=format&fit=crop");
  --f03s: url("https://images.unsplash.com/photo-1729420477971-02df8bf80d50?w=480&q=70&auto=format&fit=crop");
  --f04: url("https://images.unsplash.com/photo-1729420477994-dee878963dc4?w=1400&q=70&auto=format&fit=crop");
  --f04s: url("https://images.unsplash.com/photo-1729420477994-dee878963dc4?w=480&q=70&auto=format&fit=crop");
  --f05: url("https://images.unsplash.com/photo-1729420478043-f52c7337750f?w=1400&q=70&auto=format&fit=crop");
  --f05s: url("https://images.unsplash.com/photo-1729420478043-f52c7337750f?w=480&q=70&auto=format&fit=crop");
  --f06: url("https://images.unsplash.com/photo-1729420477981-fb92a9c5bca2?w=1400&q=70&auto=format&fit=crop");
  --f06s: url("https://images.unsplash.com/photo-1729420477981-fb92a9c5bca2?w=480&q=70&auto=format&fit=crop");
  --f07: url("https://images.unsplash.com/photo-1729420478088-631a89b9ed5a?w=1400&q=70&auto=format&fit=crop");
  --f07s: url("https://images.unsplash.com/photo-1729420478088-631a89b9ed5a?w=480&q=70&auto=format&fit=crop");
  --f08: url("https://images.unsplash.com/photo-1729420478018-ed3011a1f53b?w=1400&q=70&auto=format&fit=crop");
  --f08s: url("https://images.unsplash.com/photo-1729420478018-ed3011a1f53b?w=480&q=70&auto=format&fit=crop");
  --f09: url("https://images.unsplash.com/photo-1729067915140-3bfad0b1b00d?w=1400&q=70&auto=format&fit=crop");
  --f09s: url("https://images.unsplash.com/photo-1729067915140-3bfad0b1b00d?w=480&q=70&auto=format&fit=crop");
  --f10: url("https://images.unsplash.com/photo-1729067915053-066f21df196e?w=1400&q=70&auto=format&fit=crop");
  --f10s: url("https://images.unsplash.com/photo-1729067915053-066f21df196e?w=480&q=70&auto=format&fit=crop");
  --f11: url("https://images.unsplash.com/photo-1729067915096-b8d7f41827ca?w=1400&q=70&auto=format&fit=crop");
  --f11s: url("https://images.unsplash.com/photo-1729067915096-b8d7f41827ca?w=480&q=70&auto=format&fit=crop");
  --f12: url("https://images.unsplash.com/photo-1729067915080-9a14aaf2a96a?w=1400&q=70&auto=format&fit=crop");
  --f12s: url("https://images.unsplash.com/photo-1729067915080-9a14aaf2a96a?w=480&q=70&auto=format&fit=crop");
  --f13: url("https://images.unsplash.com/photo-1729067915032-3c9baa6ba5de?w=1400&q=70&auto=format&fit=crop");
  --f13s: url("https://images.unsplash.com/photo-1729067915032-3c9baa6ba5de?w=480&q=70&auto=format&fit=crop");
  --f14: url("https://images.unsplash.com/photo-1729067915069-fb84564ca0ec?w=1400&q=70&auto=format&fit=crop");
  --f14s: url("https://images.unsplash.com/photo-1729067915069-fb84564ca0ec?w=480&q=70&auto=format&fit=crop");
}

/* derived from --accent; re-declared wherever the hue changes so var() resolves against the local accent */
:root, [data-hue] {
  --accent-ink: color-mix(in srgb, var(--accent) 86%, #000);
  --a60: color-mix(in srgb, var(--accent) 60%, transparent);
  --a40: color-mix(in srgb, var(--accent) 40%, transparent);
  --a14: color-mix(in srgb, var(--accent) 14%, transparent);
  --a06: color-mix(in srgb, var(--accent) 6%, transparent);
  --ui: var(--accent);
  --ui-soft: color-mix(in srgb, var(--accent) 9%, #fff);
  --line: color-mix(in srgb, var(--accent) 16%, #fff);   /* grid hairlines */
  --line-2: color-mix(in srgb, var(--accent) 32%, #fff); /* handles, dashed rules */
  --tint: color-mix(in srgb, var(--accent) 3.5%, #fff);
}
[data-hue=orange] { --accent: #ff6600; } [data-hue=blue] { --accent: #2d5bff; } [data-hue=indigo] { --accent: #5a46f2; }
[data-hue=violet] { --accent: #9a3cf0; } [data-hue=magenta] { --accent: #d6338f; } [data-hue=red] { --accent: #e5383b; }
html { transition: --accent .8s var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, iframe, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p { margin: 0; font-weight: 400; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }

/* ---------- type ---------- */
.fname { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pixel); font-size: 13px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--accent); }
.fname svg { width: 11px; height: 11px; flex: none; }
.fname .n { color: var(--a60); }
.h1 { font-size: clamp(44px, 6.4vw, 86px); line-height: 1.0; letter-spacing: -.035em; color: var(--accent); }
.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.03em; color: var(--accent); max-width: 22ch; }
.h1 span, .h2 span { color: var(--a60); }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.h4 { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 54ch; }
.body { font-size: 15.5px; line-height: 1.55; color: var(--grey); }
.px { font-family: var(--pixel); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }

/* ---------- the grid: one 1200px column, hairlines, square handles where lines meet ---------- */
.wrap { position: relative; max-width: calc(var(--col) + 2px); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.pad { padding-left: 40px; padding-right: 40px; }
.hl { position: relative; height: 1px; background: var(--line); }
.hl::before, .hl::after, .cells > * + *::before, .cells > * + *::after { content: ""; position: absolute; width: 7px; height: 7px; background: #fff; border: 1px solid var(--line-2); z-index: 3; pointer-events: none; }
.hl::before { left: -4px; top: -3px; } .hl::after { right: -4px; top: -3px; }
.cells { display: grid; position: relative; }
.cells > * { position: relative; min-width: 0; }
.cells > * + * { border-left: 1px solid var(--line); }
.cells > * + *::before { left: -4px; top: -4px; }
.cells > * + *::after { left: -4px; bottom: -4px; }
.c2 { grid-template-columns: 1fr 1fr; } .c3 { grid-template-columns: repeat(3, 1fr); } .c4 { grid-template-columns: repeat(4, 1fr); }
.cell-copy { padding: 26px 28px 32px; display: grid; gap: 10px; align-content: start; }
.section { padding-top: 104px; }
.section-head { display: grid; gap: 22px; padding-bottom: 56px; }
.section-head .lede { margin-top: 2px; }

/* ruler between sections (Figma's canvas ruler). Ticks in CSS, numbers and the cursor marker from site.js */
.ruler { position: relative; height: 26px; margin-top: 104px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background:
  linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 100% / 100px 12px repeat-x,
  linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 100% / 50px 7px repeat-x,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 100% / 10px 4px repeat-x,
  var(--tint); overflow: hidden; }
.ruler span { position: absolute; top: 3px; font-family: var(--pixel); font-size: 9px; color: var(--a60); transform: translateX(3px); pointer-events: none; }
.ruler .cur { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--accent); opacity: 0; transition: opacity .2s; pointer-events: none; }
.ruler .cur b { position: absolute; top: 4px; left: 4px; font-family: var(--pixel); font-weight: 400; font-size: 9px; color: #fff; background: var(--accent); padding: 2px 4px; border-radius: 2px; white-space: nowrap; }
.ruler:hover .cur { opacity: 1; }
.ruler.first, .hl + .ruler { margin-top: 0; }
.hl + .ruler { border-top: 0; }

/* ---------- buttons: squared, a little depth (round 8, no icons). Hover still selects them like a layer (box + handles). ---------- */
.btn { --sel: var(--accent); position: relative; display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 5px; font-size: 15px; line-height: 1; letter-spacing: .005em; white-space: nowrap; transition: filter .2s, box-shadow .15s var(--ease), transform .15s var(--ease); }
.btn::before { content: ""; position: absolute; inset: -6px; border: 1px solid var(--sel); opacity: 0; transform: scale(.96); transition: opacity .2s, transform .25s var(--ease); pointer-events: none; }
.btn .hd { position: absolute; width: 7px; height: 7px; background: #fff; border: 1px solid var(--sel); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--spring); pointer-events: none; }
.btn .hd:nth-of-type(1) { left: -9px; top: -9px; } .btn .hd:nth-of-type(2) { right: -9px; top: -9px; }
.btn .hd:nth-of-type(3) { left: -9px; bottom: -9px; } .btn .hd:nth-of-type(4) { right: -9px; bottom: -9px; }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; transform: none; }
.btn:hover .hd, .btn:focus-visible .hd { opacity: 1; transform: none; }
.btn:focus-visible { outline: none; }
.btn-primary { color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .16);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 52%, color-mix(in srgb, var(--accent) 90%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 2px 0 -.5px color-mix(in srgb, var(--accent) 80%, #000), 0 8px 18px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-soft { color: var(--accent); background: linear-gradient(180deg, #fff 0%, var(--tint) 100%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 #fff, 0 3px 0 -1px var(--line-2), 0 8px 16px -10px var(--a40); }
.btn-white { --sel: #fff; color: var(--accent); background: linear-gradient(180deg, #fff 0%, #f1f1f1 100%);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08), 0 3px 0 -1px rgba(0, 0, 0, .22), 0 14px 28px -12px rgba(0, 0, 0, .45); }
.btn-white .hd { background: transparent; }
.btn:hover { filter: brightness(1.05) saturate(1.05); }
.btn:active { transform: translateY(2px); }
.btn-primary:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(0, 0, 0, .2), 0 1px 0 0 color-mix(in srgb, var(--accent) 80%, #000); }
.btn-soft:active { box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 0 var(--line-2); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 16px; }

/* redline (Figma's measurement): stat labels */
.meas { display: flex; align-items: center; width: 100%; color: var(--accent); }
.meas i { flex: 1; height: 1px; background: currentColor; position: relative; min-width: 12px; }
.meas i:first-child::before, .meas i:last-child::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: currentColor; }
.meas i:first-child::before { left: 0; } .meas i:last-child::after { right: 0; }
.meas b { font-family: var(--pixel); font-weight: 400; font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase; background: #fff; box-shadow: inset 0 0 0 1px currentColor; padding: 4px 7px 3px; border-radius: 3px; white-space: nowrap; }
.meas b span { color: currentColor; }
.cells > :hover .meas b { animation: meas-run 2.6s var(--ease) infinite; }
@keyframes meas-run { 0% { transform: translateX(-36px); opacity: 0; } 22%, 70% { opacity: 1; } 46% { transform: none; } 100% { transform: translateX(36px); opacity: 0; } }

/* ---------- image panels ----------
   Each section picks the images closest to its own hue (site.js samples the 14 images and sets --pa/--pb/--pc and
   --pq, the calmest of them, on the section). The static fallback below is used until then and without JS.
   Panels choose a slot with .v1/.v2/.v3, or .vq for busy UI (rule space). */
:root { --pa: var(--f01); --pas: var(--f01s); --pb: var(--f02); --pbs: var(--f02s); --pc: var(--f03); --pcs: var(--f03s); --pq: var(--f02); --pqs: var(--f02s); }
[data-hue=blue] { --pa: var(--f03); --pas: var(--f03s); --pb: var(--f04); --pbs: var(--f04s); --pc: var(--f05); --pcs: var(--f05s); --pq: var(--f04); --pqs: var(--f04s); }
[data-hue=indigo] { --pa: var(--f05); --pas: var(--f05s); --pb: var(--f06); --pbs: var(--f06s); --pc: var(--f07); --pcs: var(--f07s); --pq: var(--f06); --pqs: var(--f06s); }
[data-hue=violet] { --pa: var(--f07); --pas: var(--f07s); --pb: var(--f08); --pbs: var(--f08s); --pc: var(--f09); --pcs: var(--f09s); --pq: var(--f08); --pqs: var(--f08s); }
[data-hue=magenta] { --pa: var(--f09); --pas: var(--f09s); --pb: var(--f10); --pbs: var(--f10s); --pc: var(--f11); --pcs: var(--f11s); --pq: var(--f10); --pqs: var(--f10s); }
[data-hue=red] { --pa: var(--f11); --pas: var(--f11s); --pb: var(--f12); --pbs: var(--f12s); --pc: var(--f13); --pcs: var(--f13s); --pq: var(--f12); --pqs: var(--f12s); }
#compare { --pa: var(--f13); --pas: var(--f13s); --pb: var(--f14); --pbs: var(--f14s); --pc: var(--f01); --pcs: var(--f01s); --pq: var(--f14); --pqs: var(--f14s); }
.v1 { --img: var(--pa); --img-s: var(--pas); } .v2 { --img: var(--pb); --img-s: var(--pbs); } .v3 { --img: var(--pc); --img-s: var(--pcs); } .vq { --img: var(--pq); --img-s: var(--pqs); }
.mesh { position: relative; overflow: hidden; isolation: isolate; background: #ece8ea; }
.mesh::before { content: ""; position: absolute; inset: 0; background: var(--img, var(--pa)) center / cover no-repeat; z-index: -2; transition: opacity .5s var(--ease); }
.mesh::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.mesh:has(> .mesh-layer)::before { display: none; }
.mesh.rounded { border-radius: 20px; }
/* Fold-in (build.js): the image arrives as a few rows that unfold one after the other, then the content fades in. */
.mesh.fold-wait::before { opacity: 0 !important; }
.mesh-layer.fold-wait { background-image: none !important; }
.mesh.fold-wait > :not(.fold, .mesh-layer) { opacity: 0; }
.mesh.fold-shown > :not(.fold, .mesh-layer) { animation: fold-fade .6s var(--ease) backwards; }
@keyframes fold-fade { from { opacity: 0; transform: translateY(8px); } }
.mesh-layer > .fold { z-index: 0; }
.fold { position: absolute; inset: 0; z-index: -1; pointer-events: none; display: grid; perspective: 900px; }
.fold i { display: block; background-image: var(--img, var(--pa)); background-size: cover; background-position: center; transform-origin: 50% 0; transform: rotateX(-92deg); filter: brightness(.6); }
.fold.go i { animation: fold-in .62s cubic-bezier(.2, .75, .25, 1) both; animation-delay: calc(var(--k) * 75ms); }
@keyframes fold-in { 60% { filter: brightness(1.08); } to { transform: none; filter: none; } }
/* Frosted glass for every UI piece that sits on an image; the accent inside it is white. */
.mesh { --ink: #fff; --ink-2: rgba(255, 255, 255, .84); --grey: rgba(255, 255, 255, .74); --mute: rgba(255, 255, 255, .62);
  --win-line: rgba(255, 255, 255, .18); --ui: #fff; --ui-soft: rgba(255, 255, 255, .18); --a60: rgba(255, 255, 255, .7);
  --glass: rgba(255, 255, 255, .13); --glass-2: rgba(255, 255, 255, .1); --glass-line: rgba(255, 255, 255, .3);
  --shadow-win: 0 24px 60px -24px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .4);
  color: #fff; }
.mesh .glass, .mesh .win, .mesh .scr, .mesh .artb, .mesh .fr, .mesh .gl { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.5) brightness(.84); backdrop-filter: blur(22px) saturate(1.5) brightness(.84); box-shadow: var(--shadow-win); text-shadow: 0 1px 2px rgba(0, 0, 0, .14); }
.mesh .win-bar { background: rgba(255, 255, 255, .06); }
.mesh .win-bar .dots3 { display: none; }
/* glass details: no grey fills, white lines, white "accent" with dark content */
.mesh .canvas { background: transparent radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px) 0 0 / 18px 18px; }
.mesh .scr { border-radius: 22px; }
.mesh .scr .card, .mesh .scr .slot span { border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .07); }
.mesh .scr .slot span.a, .mesh .scr .pcta, .mesh .share, .mesh .scr .size { background: #fff; border-color: #fff; color: var(--accent); text-shadow: none; }
.mesh .scr .pcta.soft { background: rgba(255, 255, 255, .18); color: #fff; }
.mesh .scr .bar { background: rgba(255, 255, 255, .3); }
.mesh .scr .ok { background: rgba(255, 255, 255, .2); color: #fff; }
.mesh .scr .ph.im { background: var(--pbs) center / cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.mesh .scr .hd { background: transparent; border-color: #fff; }
.mesh .scr.sel::before { border-color: #fff; }
.mesh .rule .ring { border-color: rgba(255, 255, 255, .45); }
.mesh .rule.ok .ring { background: #fff; border-color: #fff; --tick: var(--accent); }
.mesh .rule.fix { background: rgba(255, 255, 255, .12); }
.mesh .tagp { background: rgba(255, 255, 255, .18); color: #fff; }
.mesh .prompt { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.5) brightness(.84); backdrop-filter: blur(22px) saturate(1.5) brightness(.84); box-shadow: var(--shadow-win); }
.mesh .prompt .go { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .2); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); color: #fff; }
.mesh .prompt .go svg { color: #fff; }
.mesh .toast { background: #fff; color: var(--accent); }
.mesh .appbar .mkb { background: rgba(255, 255, 255, .92); }
.mesh .ck { background: #fff; --tick: var(--accent); }
/* iframe widgets draw their window themselves; the page puts the blurred glass behind it (same box as the widget's .win) */
.media:has(> iframe) { container-type: size; }
.media > iframe { position: relative; z-index: 1; }
.media:has(> iframe)::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 0; --s: min(100cqw / 400, 100cqh / 360, 2px); width: calc(var(--s) * 360); height: calc(var(--s) * 320); translate: -50% -50%; border-radius: calc(var(--s) * 14); box-shadow: none;
  -webkit-backdrop-filter: blur(22px) saturate(1.5) brightness(.84); backdrop-filter: blur(22px) saturate(1.5) brightness(.84); }
/* Until build.js has covered a section (a few ms after load), keep it from flashing in; never longer than 2.5s. */
.px-on main > section { position: relative; }
.px-on main > section:not(.px-ready) > * { opacity: 0; animation: px-fs 0s 2.5s forwards; }
.px-on .mesh:not(.fold-done)::before { opacity: 0; animation: px-fs 0s 6s forwards; }
@keyframes px-fs { to { opacity: 1; } }
canvas.pxs { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; image-rendering: pixelated; }
canvas.dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- product window (same chrome as the Framer embeds) ---------- */
.win { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-win); font-family: var(--ui-font); color: var(--ink); font-size: 12.5px; display: flex; flex-direction: column; font-feature-settings: "cv11", "ss01"; }
.win-bar { height: 40px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 16px; border-bottom: 1px solid var(--win-line); background: #fbfbfb; }
.dots3 { display: flex; gap: 7px; flex: none; } .dots3 i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .dots3 i:nth-child(2) { background: #febc2e; } .dots3 i:nth-child(3) { background: #28c840; }
.win-t { margin-left: auto; color: var(--mute); font-size: 12.5px; letter-spacing: .01em; white-space: nowrap; }
.win-ft { height: 38px; flex: none; border-top: 1px solid var(--win-line); display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11.5px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.win-ft b { color: var(--ink-2); font-weight: 500; } .win-ft .sep { opacity: .5; }
.lbl { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tagp { font-size: 10.5px; color: var(--ui); background: var(--ui-soft); border-radius: 999px; padding: 3px 8px; font-weight: 500; white-space: nowrap; }
.mono { font-family: var(--mono); }
.ck { width: 16px; height: 16px; border-radius: 50%; background: var(--ui); display: grid; place-items: center; flex: none; transform: scale(0); transition: transform .35s var(--spring); }
.ck svg { width: 9px; height: 9px; }
.on > .ck, .ck.on { transform: scale(1); }
.pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--ui); color: #fff; font: 600 11px/22px var(--ui-font); text-align: center; box-shadow: 0 4px 10px -3px rgba(0,0,0,.3), 0 0 0 2px #fff; flex: none; }
.pin.ok { background: #1fa35b; }

/* selection box with handles + size badge (artworks on the canvas) */
.selbox { position: relative; }
.selbox::before { content: ""; position: absolute; inset: -6px; border: 1.5px solid var(--selc, #fff); pointer-events: none; z-index: 5; }
.selbox > .hd { position: absolute; width: 8px; height: 8px; background: var(--hdbg, transparent); border: 1.5px solid var(--selc, #fff); z-index: 6; }
.selbox > .hd.a { left: -10px; top: -10px; } .selbox > .hd.b { right: -10px; top: -10px; } .selbox > .hd.c { left: -10px; bottom: -10px; } .selbox > .hd.d { right: -10px; bottom: -10px; }
.selbox > .size { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); background: var(--selc, #fff); color: var(--sizec, var(--ui)); font: 500 10px/1 var(--mono); padding: 4px 6px; border-radius: 3px; white-space: nowrap; z-index: 6; }
.flabel { position: absolute; left: 0; top: -20px; font: 500 11px/1 var(--ui-font); color: rgba(255,255,255,.88); white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.flabel svg { width: 9px; height: 9px; }

/* ---------- header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: transform .35s var(--ease), background .25s, box-shadow .25s; }
.hdr.compact { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { max-width: calc(var(--col) + 2px); margin: 0 auto; height: 66px; padding: 0 40px; /* same column and inset as the sections */ display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; color: var(--accent); }
.brand-sel { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px 5px 6px; font-size: 20px; line-height: 1; letter-spacing: -.05em; }
.brand-sel::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--accent); pointer-events: none; }
.brand-sel .mk { width: 26px; height: 26px; flex: none; background: currentColor; -webkit-mask: url(/img/logo.svg) center / contain no-repeat; mask: url(/img/logo.svg) center / contain no-repeat; transition: transform .7s var(--ease); }
.brand-sel .h { position: absolute; width: 5px; height: 5px; background: #fff; border: 1px solid var(--accent); }
.brand-sel .h:nth-of-type(1) { left: -3px; top: -3px; } .brand-sel .h:nth-of-type(2) { right: -3px; top: -3px; }
.brand-sel .h:nth-of-type(3) { left: -3px; bottom: -3px; } .brand-sel .h:nth-of-type(4) { right: -3px; bottom: -3px; }
.brand-size { position: absolute; left: 50%; top: calc(100% + 7px); transform: translate(-50%, -3px); background: var(--accent); color: #fff; font: 500 9.5px/1 var(--mono); letter-spacing: 0; padding: 3px 5px; border-radius: 3px; white-space: nowrap; opacity: 0; transition: opacity .2s, transform .25s var(--ease); pointer-events: none; }
.brand:hover .brand-size { opacity: 1; transform: translate(-50%, 0); }
.brand:hover .brand-sel .mk { transform: rotate(90deg); }
.brand-lg .brand-sel { font-size: 30px; gap: 10px; padding: 6px 14px 8px 9px; }
.brand-lg .brand-sel .mk { width: 38px; height: 38px; }
.brand-lg .brand-size { opacity: 1; transform: translate(-50%, 0); font-size: 10px; }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a { position: relative; font-size: 14.5px; color: var(--ink-2); padding: 8px 12px; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--accent); } .nav a:hover::after, .nav a[aria-current]::after { transform: none; }
.hdr-cta { margin-left: auto; display: flex; gap: 14px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 99px; background: var(--a06); position: relative; margin-left: auto; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--accent); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 24px; }
.hdr.open .burger i:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.hdr.open .burger i:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }
.panel { display: none; }

/* ---------- hero ---------- */
.hero { padding-top: 150px; }
.hero-copy { display: grid; gap: 26px; justify-items: start; padding-bottom: 64px; }
.hero-copy .lede { font-size: 20px; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.hero-notes { display: flex; justify-content: center; align-items: center; gap: 14px 48px; flex-wrap: wrap; min-height: 72px; padding: 16px 20px; color: var(--mute); }
.hero-notes span { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.hero-notes svg .f { fill: var(--accent); stroke: none; }
.hero-notes svg rect.f { fill: var(--a14); stroke: var(--accent); }
.hero-fade > .wrap { border-color: transparent; }
.hero-fade > .wrap::before, .hero-fade > .wrap::after { content: ""; position: absolute; top: -150px; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent 0, var(--line) 380px); pointer-events: none; }
.hero-fade > .wrap::before { left: -1px; } .hero-fade > .wrap::after { right: -1px; }
.hero-stage { padding: 72px 64px 0; }
.app { border-radius: 14px 14px 0 0; }
.appbar { height: 46px; gap: 14px; padding: 0 10px 0 16px; }
.appbar .file { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 8px 4px 4px; border-radius: 8px; margin-left: 4px; }
.appbar .mkb { width: 24px; height: 24px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.07); display: grid; place-items: center; flex: none; }
.appbar .mkb img { width: 16px; height: 16px; }
.appbar .crumb { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.appbar .crumb i { font-style: normal; opacity: .5; margin: 0 2px; }
.appbar .crumb b { color: var(--ink); font-weight: 500; }
.appbar .dd { width: 14px; height: 14px; color: var(--mute); flex: none; }
.appbar .tools { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: #f3f3f2; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.appbar .tools span { height: 28px; min-width: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; gap: 5px; color: #5a5a5a; }
.appbar .tools span svg { width: 16px; height: 16px; }
.appbar .tools span.on { background: var(--ui); color: #fff; box-shadow: 0 1px 2px color-mix(in srgb, var(--ui) 50%, transparent); }
.appbar .tools em { width: 1px; height: 16px; background: #dcdcdc; margin: 0 4px; }
.appbar .tools span.ai { padding: 0 10px 0 8px; color: var(--ui); background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); font-weight: 500; font-size: 12px; }
.appbar .tools span.ai svg { width: 13px; height: 13px; }
.appbar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 600; color: #fff; border: 2px solid #fbfbfb; margin-left: -8px; }
.share { background: var(--ui); color: #fff; border-radius: 7px; padding: 5px 11px; font-weight: 500; }
.appbar .avs { display: flex; padding-left: 8px; margin-right: 4px; }
.appbar .av { width: 24px; height: 24px; border: 2px solid #fbfbfb; margin-left: -7px; font-size: 9px; }
.appbar .ai-av { background: var(--ui-soft); color: var(--ui); }
.appbar .ai-av svg { width: 11px; height: 11px; }
.appbar .ib { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #5a5a5a; }
.appbar .ib svg { width: 16px; height: 16px; }
.appbar .share { height: 30px; display: grid; place-items: center; padding: 0 13px; border-radius: 8px; }
.app-body { display: grid; grid-template-columns: 1fr 300px; height: 540px; }
.side { border-right: 1px solid var(--win-line); padding: 10px 8px; overflow: hidden; }
.side .srch { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px; border-radius: 8px; background: #f5f5f4; color: var(--mute); font-size: 12px; margin-bottom: 6px; }
.side .srch svg { width: 14px; height: 14px; }
.side h5 { display: flex; justify-content: space-between; padding: 12px 8px 6px; font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.side h5 span { font-weight: 400; color: var(--mute); }
.side .it { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 8px 0 22px; border-radius: 7px; color: var(--ink-2); white-space: nowrap; font-size: 12px; position: relative; }
.side .it svg { width: 14px; height: 14px; flex: none; color: #8a8a8a; }
.side .it .car { position: absolute; left: 5px; width: 12px; height: 12px; color: #b0b0b0; }
.side .it .car.r { transform: rotate(-90deg); }
.side .it em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--mute); font-family: var(--mono); }
.side .it.sel { background: #f3f3f2; color: var(--ink); font-weight: 500; }
.side .it.act { background: var(--ui-soft); color: var(--ui); font-weight: 500; }
.side .it.act svg { color: var(--ui); }
.side .it.l2 { padding-left: 40px; }
.side .it.cmp, .side .it.cmp svg { color: #8a5cf6; }
.canvas { position: relative; overflow: hidden; background: #f5f5f4 radial-gradient(#dcdcd8 1px, transparent 1px) 0 0 / 16px 16px; }
.insp { border-left: 1px solid var(--win-line); display: flex; flex-direction: column; }
.itabs { display: flex; gap: 2px; padding: 8px 10px; border-bottom: 1px solid var(--win-line); }
.itabs span { padding: 5px 9px; border-radius: 7px; font-size: 12px; color: var(--mute); font-weight: 500; }
.itabs span.on { background: #f3f3f2; color: var(--ink); }
.insp-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 6px; }
.insp-h b { font-weight: 500; }
.rules { padding: 0 8px; flex: 1; overflow: hidden; }
.rule { display: grid; grid-template-columns: 16px 1fr auto; gap: 9px; align-items: center; height: 34px; padding: 0 8px; border-bottom: 1px solid var(--win-line); font-size: 12px; opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s; }
.rule:last-child { border-bottom: 0; }
.rule.on { opacity: 1; transform: none; }
.rule .k { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.rule .v { font-family: var(--mono); font-size: 11px; color: var(--mute); white-space: nowrap; }
.rule.ok .v { color: var(--ink); }
.rule .ring { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #e2e2e2; position: relative; display: grid; place-items: center; }
.rule.ok .ring { border-color: var(--ui); background: var(--ui); }
.rule .ring svg { width: 9px; height: 9px; opacity: 0; transition: opacity .2s; }
.rule.ok .ring svg { opacity: 1; }
.rule.fix { background: #fff6f0; }
.rule.fix .ring { border-color: var(--ui); border-style: dashed; animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.screens { position: absolute; left: 50%; top: 46%; display: flex; gap: 30px; transform: translate(-50%, -50%) scale(var(--s, 1)); }
.scr { width: 200px; height: 412px; border-radius: 24px; background: #fff; box-shadow: 0 20px 40px -24px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); padding: 22px 14px 14px; position: relative; display: flex; flex-direction: column; gap: 10px; font-family: var(--ui-font); opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.scr.on { opacity: 1; transform: none; }
.scr .cap { position: absolute; top: -20px; left: 2px; font-size: 10.5px; color: var(--mute); white-space: nowrap; display: flex; gap: 5px; align-items: center; }
.scr .cap svg { width: 8px; height: 8px; }
.scr .t1 { font-size: 10px; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.scr .t2 { font-size: 17px; line-height: 1.15; color: var(--ink); letter-spacing: -.02em; font-weight: 600; }
.scr .card { border: 1px solid #ededed; border-radius: 12px; padding: 10px; display: grid; gap: 7px; }
.scr .slot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.scr .slot span { border: 1px solid #e5e5e5; border-radius: 8px; height: 30px; display: grid; place-items: center; font-size: 10.5px; color: var(--ink-2); }
.scr .slot span.a { background: var(--ui); border-color: var(--ui); color: #fff; }
.scr .row2 { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-2); }
.scr .bar { height: 7px; border-radius: 4px; background: #f0f0f0; }
.scr .bar.s { width: 60%; }
.scr .pcta { margin-top: auto; height: 38px; border-radius: 10px; background: var(--ui); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 500; transition: height .5s var(--ease); }
.scr .pcta.soft { background: var(--ui-soft); color: var(--ui); }
.scr .ph { height: 92px; border-radius: 12px; overflow: hidden; }
.scr .ok { width: 46px; height: 46px; border-radius: 50%; background: var(--ui-soft); display: grid; place-items: center; margin: 34px auto 6px; color: var(--ui); }
.scr .ctr { text-align: center; }
.scr.sel { --selc: var(--ui); --hdbg: #fff; --sizec: #fff; }
.scr.sel::before { content: ""; position: absolute; inset: -6px; border: 1.5px solid var(--ui); border-radius: 0; }
.scr .hd { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid var(--ui); }
.scr .hd.a { left: -10px; top: -10px; } .scr .hd.b { right: -10px; top: -10px; } .scr .hd.c { left: -10px; bottom: -10px; } .scr .hd.d { right: -10px; bottom: -10px; }
.scr .size { white-space: nowrap; position: absolute; left: 50%; bottom: -32px; transform: translateX(-50%); background: var(--ui); color: #fff; font: 500 10px/1 var(--mono); padding: 4px 6px; border-radius: 3px; }
.cursor { position: absolute; z-index: 3; left: 0; top: 0; transition: transform 1s var(--ease); pointer-events: none; }
.cursor svg { width: 16px; height: 16px; overflow: visible; }
.cursor svg path { fill: var(--accent); stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; }
.mesh .cursor svg path { fill: #fff; stroke: #fff; }
.mesh .cursor span { background: #fff; color: var(--accent); text-shadow: none; }
.cursor span { position: absolute; left: 14px; top: 14px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 500; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.prompt { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(460px, 88%); background: #fff; border-radius: 14px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.3), 0 0 0 1px rgba(0,0,0,.06); padding: 10px 10px 10px 14px; display: flex; align-items: center; gap: 10px; z-index: 4; }
.prompt .sp { color: var(--ui); font-size: 14px; line-height: 1; height: 20px; display: grid; place-items: center; }
.prompt .tx { flex: 1; font-size: 13px; min-height: 20px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prompt .tx.ph { color: var(--mute); }
.prompt .go { color: #fff; width: 30px; height: 30px; border-radius: 9px; background: var(--ui); display: grid; place-items: center; flex: none; transition: transform .15s; }
.prompt .go.press { transform: scale(.9); }
.toast { position: absolute; left: 50%; bottom: 78px; transform: translate(-50%, 8px); background: var(--ink); color: #fff; border-radius: 99px; padding: 6px 12px; font-size: 11.5px; opacity: 0; transition: opacity .35s, transform .35s var(--ease); z-index: 4; white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- logos ---------- */
.logos { padding-top: 44px; padding-bottom: 48px; display: grid; gap: 26px; }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 64px; width: max-content; animation: tick 40s linear infinite; }
.ticker-track { gap: 72px; align-items: center; }
.ticker-track .lg { color: var(--accent); opacity: .7; display: flex; align-items: center; height: 34px; }
.ticker-track .lg svg { display: block; }
.ticker-track .lg { gap: 8px; }
.ticker-track .lg b { font: 600 21px/1 var(--ui-font); letter-spacing: -.025em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- deliverables: a pages panel + the canvas ---------- */
.deliv { grid-template-columns: 330px 1fr; }
.pages { padding: 22px 0 28px; display: flex; flex-direction: column; }
.pages-h { padding: 0 28px 12px; display: flex; justify-content: space-between; color: var(--mute); }
.page { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; height: 44px; padding: 0 28px; text-align: left; color: var(--ink-2); font-size: 16px; transition: background .2s, color .2s; position: relative; }
.page svg { width: 14px; height: 14px; color: var(--a60); transition: color .2s; }
.page .k { font-family: var(--pixel); font-size: 11px; color: var(--mute); }
.page:hover { background: var(--tint); color: var(--ink); }
.page[aria-selected="true"] { background: var(--a06); color: var(--accent); }
.page[aria-selected="true"] svg { color: var(--accent); }
.page[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
/* auto-advance progress: a ring that fills where the letter is (the letter comes back when the tabs stop) */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.page .k { transition: opacity .2s; }
.page .bar { position: absolute; right: var(--pr, 28px); top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--a14) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); }
.page[aria-selected="true"] .bar.run { opacity: 1; animation: ring-fill 4.2s linear forwards; }
.page:has(.bar.run) .k { opacity: 0; }
@keyframes ring-fill { to { --p: 100; } }
@keyframes fill { to { width: 100%; } }
.pdesc { margin-top: auto; padding: 26px 28px 0; display: grid; gap: 10px; }
.dpanel { display: none; gap: 10px; }
.dpanel.on { display: grid; animation: fadein .45s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
.dlist { list-style: none; margin: 6px 0 0; padding: 0; }
.dlist li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line-2); font-size: 14.5px; color: var(--ink-2); }
.dlist li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); flex: none; }
.dstage { min-height: 600px; display: grid; place-items: center; }
.dv { position: absolute; inset: 56px 40px; display: grid; place-items: center; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; z-index: 2; }
.dv.on { opacity: 1; transform: none; pointer-events: auto; }
.mesh-layer { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity .7s var(--ease); background: var(--img) center / cover no-repeat; }
.mesh-layer.on { opacity: 1; }

.phones { display: flex; gap: 22px; align-items: flex-end; }
.phones .scr { opacity: 1; transform: none; width: 178px; height: 368px; }
.phones .scr .cap { color: rgba(255,255,255,.9); }
.phones .scr.sel::before, .phones .scr .hd { border-color: #fff; }
.phones .scr .hd { background: transparent; }
.phones .scr .size { background: #fff; color: var(--ui); }
.dash-ui { width: min(660px, 100%); aspect-ratio: 16 / 10; background: #fff; border-radius: 12px; box-shadow: var(--shadow-win); display: grid; grid-template-columns: 136px 1fr; overflow: hidden; font: 11px/1.4 var(--ui-font); }
.dash-ui .nv { background: #faf8f6; border-right: 1px solid #f0ebe6; padding: 14px 10px; display: grid; align-content: start; gap: 3px; }
.dash-ui .nv b { font-weight: 600; padding: 2px 8px 12px; display: flex; align-items: center; gap: 6px; }
.dash-ui .nv b i { width: 14px; height: 14px; border-radius: 4px; background: var(--ui); }
.dash-ui .nv span { padding: 6px 8px; border-radius: 6px; color: #6b6b6b; }
.dash-ui .nv span.a { background: var(--ui-soft); color: var(--ui); }
.dash-ui .mn { padding: 16px; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; }
.dash-ui .top { display: flex; justify-content: space-between; align-items: center; }
.dash-ui .top b { font-weight: 600; font-size: 14px; }
.dash-ui .top span { background: var(--ui); color: #fff; padding: 6px 10px; border-radius: 7px; font-weight: 500; }
.dash-ui .kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-ui .kp div { border: 1px solid #f0f0f0; border-radius: 9px; padding: 10px; display: grid; gap: 2px; }
.dash-ui .kp b { font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.dash-ui .kp small { color: var(--mute); font-size: 10px; }
.dash-ui .kp small.g { color: #1fa35b; }
.dash-ui .cal { display: grid; grid-template-columns: 30px repeat(5, 1fr); gap: 4px; font-size: 9.5px; color: var(--mute); align-content: start; }
.dash-ui .cal i { height: 22px; border-radius: 5px; background: #f6f6f6; }
.dash-ui .cal i.b { background: var(--ui); } .dash-ui .cal i.c { background: #ffd7bf; }
.deck { display: grid; gap: 14px; width: min(620px, 100%); }
.slide { aspect-ratio: 16 / 9; background: #fff; border-radius: 8px; box-shadow: var(--shadow-win); padding: 6% 7%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 0 7%; font-family: var(--ui-font); color: var(--ink); position: relative; overflow: hidden; }
.slide .kk { grid-column: 1 / -1; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ui); font-weight: 600; }
.slide h4 { align-self: end; font-size: clamp(18px, 2.4vw, 28px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
.slide .bars { display: flex; align-items: flex-end; gap: 9%; align-self: stretch; padding-top: 10%; }
.slide .bars i { flex: 1; background: #ececec; border-radius: 3px 3px 0 0; position: relative; }
.slide .bars i.a { background: var(--ui); }
.slide .bars i.a::after { content: "86%"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 600 10px var(--ui-font); color: var(--ui); font-style: normal; }
.slide .ft { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 9px; color: var(--mute); padding-top: 4%; border-top: 1px solid #f0f0f0; margin-top: 5%; }
.thumbs { display: flex; gap: 10px; justify-content: center; }
.thumbs i { width: 96px; aspect-ratio: 16 / 9; border-radius: 4px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
.thumbs i.a { background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ui); }
.ads { display: grid; grid-template-columns: 180px 230px; gap: 34px 20px; align-items: start; }
.ad { border-radius: 10px; overflow: hidden; position: relative; isolation: isolate; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 15px; font-family: var(--ui-font); box-shadow: 0 18px 40px -24px rgba(60,20,0,.55); }
.ad::before { content: ""; position: absolute; inset: 0; background: var(--pas) center / cover; z-index: -1; }
.ad.st { grid-row: span 2; height: 320px; }
.ad.sq { height: 230px; background: #fff; color: var(--ink); }
.ad.sq::before { display: none; }
.ad.lb { grid-column: 2; height: 58px; flex-direction: row; align-items: center; padding: 0 14px; gap: 10px; }
.ad.lb::before { background: var(--pbs) center / cover; }
.ad .s { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.ad h5 { font-weight: 600; font-size: 21px; line-height: 1.05; letter-spacing: -.03em; }
.ad.sq h5 { font-size: 19px; }
.ad .b { align-self: flex-start; background: #fff; color: var(--ui); font-size: 10.5px; font-weight: 600; padding: 6px 10px; border-radius: 99px; }
.ad.sq .b { background: var(--ui); color: #fff; }
.ad.sq .art-dot { height: 84px; border-radius: 8px; overflow: hidden; position: relative; isolation: isolate; }
.ad.sq .art-dot::before { content: ""; position: absolute; inset: 0; background: var(--pcs) center / cover; z-index: -1; }
.adw { position: relative; }
.adw .flabel { top: -19px; }
.site-ui { width: min(660px, 100%); background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-win); font-family: var(--ui-font); color: var(--ink); }
.site-ui .br { height: 28px; background: #f6f6f6; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.site-ui .br i { width: 8px; height: 8px; border-radius: 50%; background: #ddd; }
.site-ui .br span { margin-left: 10px; font-size: 9.5px; color: var(--mute); background: #fff; border-radius: 4px; padding: 2px 10px; }
.site-ui .nvb { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; font-size: 10.5px; color: var(--ink-2); }
.site-ui .nvb b { font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.site-ui .nvb b i { width: 12px; height: 12px; border-radius: 3px; background: var(--ui); }
.site-ui .hr { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; padding: 16px 24px 26px; align-items: center; }
.site-ui h4 { font-size: 30px; line-height: 1.02; letter-spacing: -.04em; font-weight: 600; }
.site-ui p { font-size: 11px; color: var(--grey); margin-top: 10px; }
.site-ui .bt { margin-top: 14px; display: inline-block; background: var(--ui); color: #fff; font-size: 10.5px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.site-ui .im { aspect-ratio: 4 / 3.3; border-radius: 10px; overflow: hidden; position: relative; isolation: isolate; }
.site-ui .im::before { content: ""; position: absolute; inset: 0; background: var(--pbs) center / cover; z-index: -1; }
.site-ui .ft3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #f0f0f0; }
.site-ui .ft3 div { padding: 12px 24px; font-size: 10px; color: var(--grey); }
.site-ui .ft3 div + div { border-left: 1px solid #f0f0f0; }
.site-ui .ft3 b { display: block; color: var(--ink); font-weight: 600; font-size: 12px; }
.wframe { width: min(460px, 100%); aspect-ratio: 400 / 360; border: 0; background: transparent; }

/* ---------- how it works / bento media ---------- */
.media { aspect-ratio: 400 / 340; display: grid; place-items: center; }
.media iframe { width: 100%; height: 100%; border: 0; }
.media.tall { aspect-ratio: auto; height: 380px; }

/* ---------- brand: variables with modes + brand check with comment pins ---------- */
.vars { position: absolute; left: 7%; top: 11%; width: min(440px, 78%); }
.vars table { width: 100%; border-collapse: collapse; font-size: 12px; }
.vars th { font-weight: 500; color: var(--mute); text-align: left; padding: 9px 12px; font-size: 11px; border-bottom: 1px solid var(--win-line); }
.vars th.m { cursor: pointer; transition: color .2s, background .3s; }
.vars th.m span { display: inline-flex; align-items: center; gap: 6px; }
.vars th.m span i { width: 6px; height: 6px; border: 1px solid currentColor; transform: rotate(45deg); }
.vars td { padding: 8px 12px; border-bottom: 1px solid var(--win-line); color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s; }
.vars tr:last-child td { border-bottom: 0; }
.vars td:first-child { font-family: var(--mono); font-size: 11px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.vars td:first-child svg { width: 11px; height: 11px; color: var(--mute); }
.vars .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 7px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.vars [data-mode="a"] .ma, .vars [data-mode="b"] .mb { background: #fff7f1; color: var(--ink); }
.vars [data-mode="a"] th.ma, .vars [data-mode="b"] th.mb { color: var(--ui); }
.vprev { position: absolute; right: 6%; bottom: 7%; width: 184px; border-radius: var(--r, 14px); background: #fff; padding: 14px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); font-family: var(--ui-font); display: grid; gap: 8px; transition: border-radius .5s var(--ease); z-index: 3; }
.vprev .t1 { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--p); transition: color .5s; }
.vprev .t2 { font-size: 16px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: var(--s); font-family: var(--df); transition: color .5s; }
.vprev .bt { height: 32px; border-radius: calc(var(--r, 14px) * .6); background: var(--p); color: #fff; font-size: 11px; font-weight: 500; display: grid; place-items: center; transition: background .5s, border-radius .5s; }
.vprev .ln { height: 6px; border-radius: 3px; background: #f0f0f0; }
.vprev .ln.s { width: 60%; }
.check { position: relative; width: 500px; height: 340px; flex: none; }
.check .artb { position: absolute; left: 0; top: 30px; width: 220px; height: 250px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-win); padding: 18px; display: flex; flex-direction: column; gap: 10px; font-family: var(--ui-font); }
.check .artb .flabel { color: rgba(255,255,255,.9); }
.check .artb .im { flex: 1; border-radius: 8px; position: relative; overflow: hidden; isolation: isolate; }
.check .artb .im::before { content: ""; position: absolute; inset: 0; background: var(--pbs) center / cover; z-index: -1; }
.check .artb h5 { font-size: 18px; line-height: 1.05; letter-spacing: -.03em; font-weight: 600; transition: color .4s; }
.check .artb .rw { display: flex; justify-content: space-between; align-items: center; }
.check .artb .bt { font-size: 10px; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: #ff6a00; color: #fff; transition: background .4s; }
.check .artb .lg { font-size: 10px; font-weight: 700; letter-spacing: .02em; color: var(--ink); transition: margin .4s var(--ease); }
.check.fixed .artb .bt { background: var(--ui); }
.check.fixed .artb .lg { margin-left: 8px; }
.check .pin { position: absolute; transform: scale(0); transform-origin: 0 100%; transition: transform .4s var(--spring), background .3s; z-index: 4; }
.check .pin.on { transform: scale(1); }
.check .list { position: absolute; right: 0; bottom: 0; width: 262px; }
.check .row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--win-line); font-size: 11.5px; opacity: .35; transition: opacity .35s; }
.check .row.on { opacity: 1; }
.check .row:last-child { border-bottom: 0; }
.check .row .pin { position: static; transform: none; width: 18px; height: 18px; font-size: 9.5px; line-height: 18px; box-shadow: none; }
.check .row small { display: block; color: var(--mute); font-size: 10.5px; font-family: var(--mono); }
.check .st { font-size: 10px; font-weight: 500; padding: 3px 7px; border-radius: 99px; background: #f4f4f4; color: var(--mute); white-space: nowrap; transition: background .3s, color .3s; }
.check .row.done .st { background: #e9f7ef; color: #1fa35b; }
.check .row.ask .st { background: var(--ui-soft); color: var(--ui); }

/* small capability visuals (no icons: geometric primitives + tiny UI) */
.cap-vis { height: 150px; position: relative; display: grid; place-items: center; background: var(--tint); border-bottom: 1px solid var(--line); overflow: hidden; }
.stack3 { display: flex; gap: 10px; }
.stack3 div { width: 70px; height: 92px; border-radius: 9px; background: #fff; box-shadow: 0 12px 24px -14px rgba(80,28,0,.5), 0 0 0 1px rgba(0,0,0,.05); padding: 9px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--ease); font-family: var(--ui-font); }
.stack3 div b { font-size: 17px; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.stack3 div small { font-size: 8.5px; color: var(--mute); }
.stack3 div span { display: flex; gap: 3px; } .stack3 div span i { width: 11px; height: 11px; border-radius: 50%; }
.stack3 div:nth-child(1) { transform: rotate(-7deg) translateY(6px); } .stack3 div:nth-child(3) { transform: rotate(7deg) translateY(6px); }
.c4 > div:hover .stack3 div { transform: none; }
.extract { display: grid; gap: 10px; justify-items: center; font-family: var(--ui-font); }
.extract .url { font-size: 10.5px; background: #fff; border-radius: 99px; padding: 5px 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); color: var(--ink-2); }
.extract .ln { width: 1px; height: 16px; background: repeating-linear-gradient(var(--a40) 0 3px, transparent 3px 6px); }
.extract .sws { display: flex; gap: 6px; }
.extract .sws i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.12); transform: scale(0); transition: transform .4s var(--spring); }
.extract.on .sws i { transform: scale(1); }
.extract .sws i:nth-child(2) { transition-delay: .08s; } .extract .sws i:nth-child(3) { transition-delay: .16s; } .extract .sws i:nth-child(4) { transition-delay: .24s; } .extract .sws i:nth-child(5) { transition-delay: .32s; }
.approve { width: 210px; background: #fff; border-radius: 10px; box-shadow: 0 10px 24px -14px rgba(80,28,0,.5), 0 0 0 1px rgba(0,0,0,.05); padding: 11px 12px; font-family: var(--ui-font); font-size: 10.5px; display: grid; gap: 9px; }
.approve .chg { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; color: var(--ink-2); }
.approve .chg i { width: 12px; height: 12px; border-radius: 3px; }
.approve .who { display: flex; align-items: center; justify-content: space-between; }
.approve .who span { display: flex; align-items: center; gap: 6px; color: var(--grey); }
.approve .who .av { margin: 0; width: 18px; height: 18px; font-size: 8px; border: 0; }
.approve .who .ok-b { background: var(--ui); color: #fff; border-radius: 6px; padding: 4px 9px; font-weight: 500; transition: background .3s; }
.c4 > div:hover .approve .who .ok-b { background: #1fa35b; }
.vhist { display: grid; gap: 0; font-family: var(--ui-font); font-size: 10.5px; }
.vhist div { display: grid; grid-template-columns: 14px 34px 1fr; gap: 8px; align-items: center; height: 24px; position: relative; color: var(--grey); }
.vhist div::before { content: ""; position: absolute; left: 6.5px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.vhist div:first-child::before { top: 50%; } .vhist div:last-child::before { bottom: 50%; }
.vhist i { width: 8px; height: 8px; border: 1px solid var(--ui); background: #fff; transform: rotate(45deg); position: relative; z-index: 1; margin-left: 3px; }
.vhist div.a i { background: var(--ui); }
.vhist b { font: 500 10px var(--mono); color: var(--ink); }

/* ---------- developers ---------- */
.paste { width: 86%; display: grid; grid-template-columns: 1fr 22px 1.15fr; align-items: center; gap: 8px; font-family: var(--ui-font); }
.paste .fig { background: #fff; border-radius: 10px; box-shadow: var(--shadow-win); padding: 10px; display: grid; gap: 6px; }
.paste .fig .lbl { font-size: 9px; }
.paste .fig .fr { border-radius: 8px; border: 1px solid #ececec; padding: 8px; display: grid; gap: 5px; }
.paste .fig .fr i { height: 6px; border-radius: 3px; background: #efefef; }
.paste .fig .fr i.o { background: var(--ui); height: 14px; border-radius: 5px; }
.paste .arrow { height: 1px; background: rgba(255,255,255,.9); position: relative; }
.paste .arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid rgba(255,255,255,.95); }
.paste .lay { background: #fff; border-radius: 10px; box-shadow: var(--shadow-win); padding: 8px 0; font-size: 10.5px; }
.paste .lay .lbl { font-size: 9px; padding: 0 10px 4px; display: block; }
.paste .lr { display: flex; align-items: center; gap: 6px; padding: 4px 10px; opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.paste .lr.on { opacity: 1; transform: none; }
.paste .lr svg { width: 9px; height: 9px; color: var(--mute); flex: none; }
.paste .lr.l2 { padding-left: 22px; } .paste .lr.l3 { padding-left: 34px; }
.paste .lr em { margin-left: auto; font-style: normal; font: 9.5px var(--mono); color: var(--ui); background: var(--ui-soft); padding: 1px 5px; border-radius: 4px; }
.vec { width: 82%; }
.vec .win-bar { height: 34px; }
.vec .vtools { display: flex; gap: 2px; }
.vec .vtools span { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: var(--ink-2); }
.vec .vtools span.on { background: var(--ui-soft); color: var(--ui); }
.vec .vtools svg { width: 12px; height: 12px; }
.vec .vc { position: relative; height: 200px; background: #fafafa radial-gradient(#e6e6e3 1px, transparent 1px) 0 0 / 12px 12px; display: grid; place-items: center; }
.vec .vc svg.mk { width: 150px; height: 150px; overflow: visible; }
.vec .anc { fill: #fff; stroke: var(--ui); stroke-width: 1.2; }
.vec .hdl { stroke: #b9b9b9; stroke-width: .6; }
.vec .hdc { fill: #b9b9b9; }
.vec .ray { transition: d .6s var(--ease); }

/* ---------- the model ---------- */
.flow { position: relative; padding: 40px 0 8px; }
.flow svg.wires { position: absolute; left: 0; top: 40px; width: 100%; height: 76px; overflow: visible; }
.flow .wire { stroke: var(--line-2); stroke-width: 1; fill: none; stroke-dasharray: 3 4; }
.flow .pulse { fill: var(--accent); }
.nodes { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; z-index: 1; }
.node { display: grid; align-content: start; justify-items: center; text-align: center; gap: 10px; padding: 0 12px; }
.shape { width: 76px; height: 76px; display: grid; place-items: center; position: relative; }
.shape .sq { width: 46px; height: 46px; border: 1.5px solid var(--accent); background: #fff; }
.shape .ci { width: 56px; height: 56px; border-radius: 50%; position: relative; overflow: hidden; isolation: isolate; }
.shape .ci::before { content: ""; position: absolute; inset: -30%; background: var(--pas) center / cover; filter: blur(6px); z-index: -1; animation: wob 6s ease-in-out infinite; }
@keyframes wob { 50% { transform: rotate(180deg) scale(1.1); } }
.shape .di { width: 44px; height: 44px; background: var(--accent); transform: rotate(45deg); }
.shape .di.o { background: #fff; border: 1.5px solid var(--accent); }
.shape .fr { width: 50px; height: 40px; border: 1.5px solid var(--accent); background: #fff; position: relative; }
.shape .fr::before { content: ""; position: absolute; left: -8px; right: -8px; top: 7px; height: 1.5px; background: var(--accent); }
.shape .fr::after { content: ""; position: absolute; top: -8px; bottom: -8px; left: 9px; width: 1.5px; background: var(--accent); }
.node .h4 { margin-top: 6px; }
.node p { font-size: 13.5px; color: var(--grey); line-height: 1.45; max-width: 24ch; }
.node .px { color: var(--a60); }
.node .px.d { color: var(--accent); }
.model-cells { margin-top: 48px; }
.compass { aspect-ratio: 1 / .92; display: grid; place-items: center; color: #fff; font-family: var(--ui-font); }
.compass .ctitle { position: absolute; left: 28px; top: 24px; z-index: 3; }
.compass .ctitle b { display: block; font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.compass .ctitle span { font-size: 14px; opacity: .55; }
.compass .cfoot { position: absolute; left: 28px; right: 28px; bottom: 22px; display: flex; justify-content: space-between; font-size: 12.5px; opacity: .85; z-index: 3; }
.compass .cfoot span { display: flex; gap: 6px; align-items: center; }
.compass .cfoot i { width: 6px; height: 6px; border: 1px solid #fff; transform: rotate(45deg); }
.dial { position: relative; width: min(68%, 330px); aspect-ratio: 1; z-index: 2; }
.dial .core { position: absolute; inset: 16%; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .5), 0 30px 60px -24px rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.dial .wedge { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 90deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .22) 22%, transparent 25%); transform: rotate(var(--rot, 0deg)); transition: transform .8s var(--ease); -webkit-mask: radial-gradient(circle, #000 0 70%, transparent 71%); mask: radial-gradient(circle, #000 0 70%, transparent 71%); opacity: .9; }
.dial .ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dotted rgba(255,255,255,.28); }
.dial .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; z-index: 2; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.dial .val b { display: block; font-weight: 500; font-size: 30px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dial .val span { display: block; font-size: 11px; opacity: .6; max-width: 15ch; margin: 2px auto 0; line-height: 1.3; }
.dial .tk { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.dial .fl { position: absolute; transform: translate(-50%, -50%); font: 500 9.5px/1 var(--ui-font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 5px 6px; border-radius: 4px; cursor: pointer; transition: background .2s, color .2s; color: rgba(255,255,255,.85); }
.dial .fl:hover, .dial .fl.a { background: #fff; color: var(--accent); }
.trace-wrap { aspect-ratio: 1 / .92; display: grid; place-items: center; }
.trace { width: 86%; }
.trace .tr { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; height: 33px; padding: 0 14px; border-bottom: 1px solid var(--win-line); font-size: 11.5px; opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s; }
.trace .tr.on { opacity: 1; transform: none; }
.trace .tr .k { font-family: var(--mono); font-size: 11px; color: var(--ink); }
.trace .tr .v { font-family: var(--mono); font-size: 11px; color: var(--grey); white-space: nowrap; }
.trace .tr .st { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ui); }
.trace .tr.bad { background: #fff4f2; } .trace .tr.bad .st { background: #e5484d; } .trace .tr.bad .v { color: #e5484d; }
.trace .tr.fix { background: #fff8f2; } .trace .tr.fix .st { background: transparent; border: 1.5px dashed var(--ui); }
.trace .tr.fix .k { color: var(--ui); }
.trace .tr svg { width: 8px; height: 8px; }
.trace .hdr2 { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 8px; }
.vs { margin-top: 0; }
.vs-row { display: grid; grid-template-columns: 1fr 1fr 1fr; font-size: 15px; border-bottom: 1px solid var(--line); }
.vs-row > * { padding: 16px 28px; }
.vs-row > * + * { border-left: 1px solid var(--line); }
.vs-row .k { color: var(--grey); }
.vs-row .a { color: var(--ink); background: var(--tint); }
.vs-row .b { color: var(--mute); }
.vs-row.h > * { padding-top: 18px; padding-bottom: 14px; }
.vs-row.h .a { color: var(--accent); } .vs-row.h .b { color: var(--mute); }
.stats > div { padding: 28px 28px 30px; display: grid; gap: 8px; }
.stats b { font-weight: 400; font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -.03em; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14.5px; color: var(--grey); }

.cat { grid-template-columns: 330px 1fr; }
.cat-side { padding: 28px; display: grid; gap: 14px; align-content: start; position: sticky; top: 76px; align-self: start; }
.cat-list { display: grid; }
.cat-row { border-bottom: 1px solid var(--line); }
.cat-row:last-child { border-bottom: 0; }
.cat-btn { width: 100%; display: grid; grid-template-columns: 34px 1fr 100px 130px 20px; gap: 14px; align-items: center; padding: 18px 28px; text-align: left; transition: background .2s; }
.cat-btn:hover { background: var(--tint); }
.cat-btn .no { font-family: var(--pixel); font-size: 13px; color: var(--a60); }
.cat-btn .nm { font-size: 18px; letter-spacing: -.01em; color: var(--ink); }
.cat-btn .tp { color: var(--mute); }
.cat-btn .rl { font-variant-numeric: tabular-nums; color: var(--accent); font-size: 15px; display: grid; gap: 7px; }
.cat-btn .rl i { display: block; height: 3px; background: var(--a14); position: relative; }
.cat-btn .rl i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--accent); }
.tog { width: 11px; height: 11px; border: 1.5px solid var(--accent); transition: transform .35s var(--spring), background .2s; justify-self: center; }
.cat-row.open .tog { transform: rotate(45deg); background: var(--accent); }
.cat-row.open .cat-btn { background: var(--tint); }
.cat-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.cat-row.open .cat-body { grid-template-rows: 1fr; }
.cat-body > div { overflow: hidden; }
.cat-in { padding: 6px 28px 30px 76px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--tint); }
.cat-in > * { min-width: 0; }
.topics div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line-2); font-size: 14.5px; color: var(--ink-2); }
.topics div span { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.props { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 24px 44px -28px rgba(80,28,0,.45); font-family: var(--ui-font); font-size: 12px; overflow: hidden; align-self: start; }
.props-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; }
.props-h b { display: flex; align-items: center; gap: 8px; min-width: 0; }
.props-h b i { width: 8px; height: 8px; background: var(--ui); transform: rotate(45deg); flex: none; }
.props-h code { font: 500 12px var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.test { margin: 0 10px; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; border-radius: 10px; background: #f7f7f6 radial-gradient(#e2e2df 1px, transparent 1px) 0 0 / 10px 10px; padding: 10px; }
.tc { position: relative; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.05); padding: 26px 10px 12px; display: grid; place-items: center; min-height: 92px; }
.tc.bad { box-shadow: 0 0 0 1px rgba(229,72,77,.35); }
.tc.good { box-shadow: 0 0 0 1.5px var(--ui); }
.tl { position: absolute; top: 7px; left: 8px; display: flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tl i { width: 12px; height: 12px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 7.5px; color: #fff; }
.tc.bad .tl { color: #e5484d; } .tc.bad .tl i { background: #e5484d; }
.tc.good .tl { color: var(--ui); } .tc.good .tl i { background: var(--ui); }
.arrow2 { position: relative; display: grid; place-items: center; }
.arrow2::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--a40) 0 3px, transparent 3px 6px); }
.arrow2 em { position: relative; font: 500 9px var(--mono); font-style: normal; color: var(--ui); background: #fff; padding: 3px 4px; border-radius: 4px; box-shadow: 0 0 0 1px var(--a14); white-space: nowrap; }
.vz { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; text-align: center; }
.vz.col { flex-direction: column; gap: 6px; width: 100%; }
.vz code { font: 10.5px var(--mono); color: var(--ink); }
.vz small { font: 9.5px var(--mono); color: var(--mute); }
.sw2 { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.trk { font-size: 10px; font-weight: 600; color: var(--ink); }
.el { width: 26px; height: 20px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.chp { font-size: 10px; padding: 4px 8px; border-radius: 99px; background: #f1f1f1; color: var(--ink-2); }
.chp.o { background: var(--ui-soft); color: var(--ui); font-weight: 500; }
.kb { font: 500 10px var(--mono); color: #e5484d; } .kb.ok { color: #1fa35b; }
.bud { position: relative; display: block; width: 100%; height: 6px; border-radius: 3px; background: #efefef; }
.bud > i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--ui); }
.bud b { position: absolute; left: 100%; top: -4px; bottom: -4px; width: 1.5px; background: var(--ink); }
.dots7 { display: flex; gap: 4px; } .dots7 i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid #ddd; } .dots7 i.a { background: var(--ui); border-color: var(--ui); }
.props-r { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 8px 14px; align-items: baseline; }
.props-r:first-of-type { margin-top: 6px; }
.props-r span { color: var(--mute); font-size: 11px; }
.props-r code { font: 11px/1.55 var(--mono); color: var(--ink); word-break: break-word; }
.props-why { padding: 4px 14px 12px; color: var(--grey); line-height: 1.5; font-size: 12px; }
.props-f { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--win-line); background: #fbfbfb; font-size: 10.5px; color: var(--mute); }

/* ---------- compare: same brief, two outputs, one scorecard ---------- */
.duel-h { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 28px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.duel-h .px { color: var(--accent); }
.duel > div + div .duel-h .px { color: var(--mute); }
.duel-h .mono { font-size: 11.5px; color: var(--mute); }
.duel-stage { height: 520px; display: grid; place-items: center; position: relative; }
.duel-stage .scr { width: 214px; height: 440px; }
.duel-stage .scr.sel .size { background: #fff; color: var(--ui); }
.duel-stage .scr.sel::before, .duel-stage .scr.sel .hd { border-color: #fff; }
.duel-stage .scr.sel .hd { background: transparent; }
.duel-stage .scr .cap { color: rgba(255,255,255,.9); }
.duel-stage.grey { background: #f4f4f3 radial-gradient(#dcdcd8 1px, transparent 1px) 0 0 / 16px 16px; }
.duel-stage.grey .scr .cap { color: var(--mute); }
.scr.gen { font-family: var(--ui-font); padding-top: 18px; gap: 12px; }
.scr.gen .gbtn { height: 34px; border-radius: 99px; background: linear-gradient(90deg, #7c5cff, #c85cff); color: #fff; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; box-shadow: 0 8px 18px -8px rgba(124,92,255,.8); }
.chips7 { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.chips7 span { font-size: 9.5px; border: 1px solid #e3e3f5; border-radius: 99px; padding: 4px 7px; color: #6b6b8a; }
.chips7 span.a { background: #7c5cff; color: #fff; border-color: #7c5cff; }
.gcard { border-radius: 16px; background: linear-gradient(160deg, #f6f3ff, #fdf2ff); padding: 12px; display: grid; gap: 7px; }
.gcard .row2.low { color: #c9c4d9; }
.pin.red { background: #e5484d; }
.duel-stage > .pin { position: absolute; z-index: 4; }
.notes { position: absolute; right: 22px; bottom: 22px; width: 236px; padding: 6px 0; border-radius: 12px; }
.nrow { display: flex; gap: 9px; align-items: center; padding: 6px 12px; font-size: 11px; color: var(--ink-2); }
.nrow .pin { width: 18px; height: 18px; font-size: 9.5px; line-height: 18px; box-shadow: none; }
.score { padding: 0; }
.score-h, .srow { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.score-h > *, .srow > * { padding: 14px 28px; }
.score-h > * + *, .srow > * + * { border-left: 1px solid var(--line); }
.score-h { border-bottom: 1px solid var(--line); }
.score-h .px { color: var(--mute); }
.score-h .px.a { color: var(--accent); }
.srow { border-bottom: 1px solid var(--line); font-size: 15px; align-items: stretch; }
.srow:last-of-type { border-bottom: 0; }
.srow .k { color: var(--grey); }
.srow .a, .srow .b { display: flex; align-items: center; gap: 12px; }
.srow .a { background: var(--tint); }
.srow b { font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.srow .a b { color: var(--ink); } .srow .b b { color: var(--mute); }
.srow i { flex: 1; height: 3px; background: var(--a14); position: relative; max-width: 160px; }
.srow i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--accent); transition: width 1.2s var(--ease); }
.srow .b i { background: #eee; } .srow .b i::after { background: #bdbdbd; }
.srow em { font-style: normal; font-family: var(--pixel); font-size: 11px; text-transform: uppercase; color: #1fa35b; background: #e9f7ef; padding: 3px 6px; border-radius: 3px; }
.srow em.f { color: #e5484d; background: #fdecec; }
.score-n { padding: 14px 28px; font-size: 12.5px; color: var(--mute); border-top: 1px solid var(--line); }

/* ---------- cta + footer ---------- */
.cta { margin: 0 40px; border-radius: 22px; min-height: 520px; display: grid; place-items: center; text-align: center; padding: 100px 24px; color: #fff; }
.cta-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; }
.cta .h2 { color: #fff; max-width: 17ch; }
.cta .h2 span { color: rgba(255,255,255,.66); }
.cta .fname { color: #fff; } .cta .fname .n { color: rgba(255,255,255,.6); }
.ftr { padding: 64px 0 30px; }
.ftr-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; padding-bottom: 44px; }
.ftr h6 { margin: 0 0 12px; font-family: var(--pixel); font-weight: 400; font-size: 12px; text-transform: uppercase; color: var(--a60); letter-spacing: .02em; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr ul a { color: var(--ink-2); font-size: 14.5px; transition: color .2s; }
.ftr ul a:hover { color: var(--accent); }
.ftr-bot { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 18px; font-family: var(--pixel); font-size: 12px; text-transform: uppercase; color: var(--accent); letter-spacing: .02em; }
.ftr-bot .m { opacity: .55; }
.ftr-bot .r { margin-left: auto; display: flex; gap: 24px; flex-wrap: wrap; }
.dot-ok { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #1fa35b; margin-right: 6px; vertical-align: 1px; }

/* ---------- appear ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .app-body { grid-template-columns: 1fr; }
  .appbar .tools span:nth-child(n+5) { display: none; }
  .appbar .tools em, .appbar .tools .ai { display: none; }
  .insp { display: none; }
  .deliv, .cat { grid-template-columns: 1fr; }
  .deliv > * + *, .cat > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .deliv > * + *::before, .deliv > * + *::after, .cat > * + *::before, .cat > * + *::after { display: none; }
  .pages { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; }
  .pages-h { display: none; }
  .page { --pr: 16px; padding: 0 16px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
  .page:nth-child(3n+2) , .page:nth-child(3n+3), .page:nth-child(3n+4) { border-right: 1px solid var(--line); }
  .pdesc { grid-column: 1 / -1; padding: 22px 28px; }
  .cat-side { position: static; }
}
@media (max-width: 900px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: block; }
  .panel { display: grid; position: fixed; inset: 66px 0 0; background: #fff; padding: 24px 22px; align-content: start; gap: 4px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .panel a.pl { font-size: 30px; letter-spacing: -.02em; color: var(--accent); padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
  .panel .btns { display: flex; gap: 18px; margin-top: 28px; }
  /* a backdrop-filter on the header would make it the containing block of the fixed panel (panel loses its height and fill) */
  .hdr.open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .panel { z-index: 60; overflow-y: auto; }
  .hdr.open .panel { opacity: 1; transform: none; pointer-events: auto; }
  .c2, .c3, .c4 { grid-template-columns: 1fr; }
  .cells.c2 > * + *, .cells.c3 > * + *, .cells.c4 > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .cells.c2 > * + *::before, .cells.c3 > * + *::before, .cells.c4 > * + *::before { top: -4px; left: -4px; }
  .cells.c2 > * + *::after, .cells.c3 > * + *::after, .cells.c4 > * + *::after { top: -4px; left: auto; right: -4px; bottom: auto; }
  .stats.c4 { grid-template-columns: 1fr 1fr; }
  .stats.c4 > *:nth-child(2) { border-left: 1px solid var(--line); border-top: 0; }
  .stats.c4 > *:nth-child(4) { border-left: 1px solid var(--line); }
  .nodes { grid-template-columns: 1fr; gap: 26px; }
  .node { grid-template-columns: 76px 1fr; justify-items: start; text-align: left; align-items: center; }
  .node .shape { grid-row: span 4; }
  .node .h4 { margin: 0; }
  .flow svg.wires { display: none; }
  .vs-row, .srow, .score-h { grid-template-columns: 1fr 1fr; }
  .srow .k { grid-column: 1 / -1; padding-bottom: 0; font-family: var(--pixel); font-size: 12px; text-transform: uppercase; color: var(--a60); }
  .srow > .a { border-left: 0; }
  .score-h > :first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .score-h > .a { border-left: 0; }
  .vs-row .k { grid-column: 1 / -1; padding-bottom: 0; color: var(--a60); font-family: var(--pixel); font-size: 12px; text-transform: uppercase; }
  .vs-row > .a { border-left: 0; }
  .vs-row.h .k { display: none; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .pad { padding-left: 20px; padding-right: 20px; }
  .hdr-in { padding: 0 20px; }
  .section { padding-top: 80px; }
  .ruler { margin-top: 80px; }
  .hero { padding-top: 116px; }
  .h1 br { display: none; }
  .hero-stage { padding: 24px 12px 0; }
  .app-body { grid-template-columns: 1fr; height: 470px; }
  .side, .appbar .tools, .appbar .avs, .appbar .ib { display: none; }
  .screens .scr:not([data-s="1"]) { display: none; }
  .pages { grid-template-columns: 1fr 1fr; }
  .page:nth-child(n) { border-right: 0; }
  .page:nth-child(2n+2) { border-right: 1px solid var(--line); }
  .dstage { min-height: 460px; }
  .dv { inset: 40px 16px; }
  .phones .scr:not(:nth-child(2)) { display: none; }
  .ads { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .ad.st { height: 250px; } .ad.sq { height: 180px; } .ad.lb { grid-column: 1 / -1; }
  .ad.sq .art-dot { height: 50px; }
  .thumbs i { width: 64px; }
  .cell-copy { padding: 22px 20px 28px; }
  .check { transform: scale(.66); }
  .vprev { right: 4%; bottom: 5%; width: 150px; }
  .vars td, .vars th { padding: 7px 8px; }
  .vars .hide-s { display: none; }
  .paste { width: 92%; grid-template-columns: 1fr 14px 1.2fr; }
  .vs-row > *, .srow > *, .score-h > *, .duel-h, .score-n, .stats > div { padding-left: 20px; padding-right: 20px; }
  .cat-btn { grid-template-columns: 26px 1fr auto 16px; padding: 16px 20px; }
  .cat-btn .tp { display: none; }
  .cat-in { grid-template-columns: 1fr; padding: 4px 20px 24px; }
  .cta { margin: 0 12px; min-height: 440px; }
  .ftr-bot .r { margin-left: 0; }
  .dial .fl { font-size: 8px; }
  .duel-stage { height: 500px; }
  .notes { right: 12px; bottom: 12px; width: 220px; }
  .ticker-track { gap: 48px; }
  .srow b { white-space: normal; }
  .srow { font-size: 14px; }
  .compass { aspect-ratio: auto; padding: 96px 0 70px; }
  .dial { width: 74%; }
  .trace-wrap { aspect-ratio: auto; padding: 40px 0; }
  .trace { width: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   Sub-pages: join / invite (auth), legal, 404, about
   ===================================================================== */
.pg main { padding-top: 66px; }
.pg-top { padding-top: 84px; padding-bottom: 48px; display: grid; gap: 20px; }

/* auth */
.auth-cells { grid-template-columns: 1fr 1fr; min-height: calc(100vh - 66px - 1px); }
.auth-form { padding: 72px 56px 64px; display: grid; gap: 22px; align-content: center; }
.auth-form .h2 { font-size: clamp(34px, 3.8vw, 50px); }
.auth-wrap { display: grid; }
.auth-art { height: 100%; display: grid; place-items: center; padding: 48px; }
.auth-art .flabel { left: 28px; top: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--pixel); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; }
.field label span { color: var(--mute); text-transform: none; font-family: var(--sans); letter-spacing: 0; font-size: 13px; }
.inp { width: 100%; height: 50px; border-radius: 12px; border: 1px solid #e7e2de; background: #fff; padding: 0 16px; font: 16px var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; outline: none; }
.inp::placeholder { color: #b8b2ad; }
.inp:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--a14); }
textarea.inp { height: 128px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.inp.code { font: 500 20px var(--mono); letter-spacing: .12em; text-transform: uppercase; height: 60px; text-align: center; }
.inp.err { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.form { display: grid; gap: 18px; }
.form .row2f { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { justify-self: start; border: 0; cursor: pointer; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 14.5px; line-height: 1.5; min-height: 22px; color: var(--grey); display: flex; gap: 8px; align-items: flex-start; }
.msg.bad { color: #d23f44; } .msg.ok { color: #178a4c; }
.msg i { width: 8px; height: 8px; transform: rotate(45deg); margin-top: 7px; flex: none; background: currentColor; }
.msg:empty { display: none; }
.aside-note { padding-top: 18px; border-top: 1px dashed var(--line-2); display: grid; gap: 10px; font-size: 14.5px; color: var(--grey); }
.tlink { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; position: relative; justify-self: start; }
.tlink::after { content: ""; position: absolute; left: 0; right: 14px; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.tlink:hover::after { transform: none; }
.tlink svg { width: 7px; height: 11px; transition: transform .25s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* the invite pass */
.pass { position: relative; z-index: 2; width: min(420px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(80,20,0,.55), 0 0 0 1px rgba(0,0,0,.04); font-family: var(--ui-font); overflow: hidden; transform: rotate(-3deg); transition: transform .6s var(--ease); }
.auth-art:hover .pass { transform: rotate(0); }
.pass-top { padding: 22px 22px 18px; display: grid; gap: 18px; }
.pass-h { display: flex; justify-content: space-between; align-items: center; }
.pass-h img { width: 30px; height: 30px; }
.pass-h span { font: 500 10.5px var(--mono); color: var(--mute); letter-spacing: .06em; }
.pass h3 { font: 600 24px/1.1 var(--ui-font); letter-spacing: -.03em; color: var(--ink); }
.pass h3 span { color: var(--ui); }
.slots { display: flex; gap: 6px; align-items: center; }
.slots i { flex: 1; min-width: 0; height: 38px; border-radius: 8px; background: #f6f5f4; box-shadow: inset 0 0 0 1px #ece9e6; display: grid; place-items: center; font: 600 16px var(--mono); color: var(--ink); font-style: normal; transition: background .2s, box-shadow .2s; }
.slots i.f { background: var(--ui-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ui) 35%, transparent); color: var(--ui); }
.slots b { width: 6px; height: 1.5px; background: #d8d4d0; flex: none; }
.perf { height: 0; border-top: 1.5px dashed #e7e2de; margin: 0 14px; position: relative; }
.perf::before, .perf::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: #f07a4a; }
.perf::before { left: -26px; } .perf::after { right: -26px; }
.pass-bot { padding: 14px 22px 18px; display: flex; justify-content: space-between; font-size: 11px; color: var(--mute); }
.pass-bot b { color: var(--ink-2); font-weight: 500; }

/* invite: what happens next */
.next { position: relative; z-index: 2; width: min(400px, 100%); display: grid; gap: 12px; }
.next-step { background: #fff; border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; box-shadow: 0 24px 50px -30px rgba(40,10,60,.5), 0 0 0 1px rgba(0,0,0,.04); font-family: var(--ui-font); }
.next-step:nth-child(2) { margin-left: 22px; } .next-step:nth-child(3) { margin-left: 44px; } .next-step:nth-child(4) { margin-left: 22px; }
.next-step i { width: 10px; height: 10px; border: 1.5px solid var(--ui); transform: rotate(45deg); margin: 5px 0 0 7px; }
.next-step.a i { background: var(--ui); }
.next-step b { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.next-step span { font-size: 12.5px; color: var(--grey); line-height: 1.45; }

/* legal */
.legal { grid-template-columns: 300px 1fr; }
.legal-nav { padding: 28px 0; position: sticky; top: 66px; align-self: start; }
.legal-body { padding: 48px 56px 80px; max-width: 760px; }
.prose { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: 24px; letter-spacing: -.02em; color: var(--ink); margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); }
.ph-note { display: flex; gap: 10px; align-items: center; background: #fff8f3; border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); margin-bottom: 32px; }
.ph-note i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--accent); flex: none; }
.meta { font-family: var(--pixel); font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .02em; }

/* 404 */
.nf { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 60px 20px 100px; }
.nf-frame { position: relative; width: min(560px, 100%); aspect-ratio: 1.45; border: 1.5px dashed var(--line-2); display: grid; place-items: center; background: var(--tint) radial-gradient(var(--line) 1px, transparent 1px) 0 0 / 14px 14px; }
.nf-frame .flabel { color: var(--accent); top: -24px; font-family: var(--pixel); text-transform: uppercase; font-size: 12px; }
.nf-frame .num { font-size: clamp(110px, 20vw, 210px); line-height: .8; letter-spacing: -.06em; color: var(--accent); position: relative; }
.nf-frame .num span { color: var(--a40); }
.nf-sel { position: absolute; inset: 22% 16% 22% 16%; --selc: var(--accent); --hdbg: #fff; --sizec: #fff; pointer-events: none; animation: nfsel 6s var(--ease) infinite; }
@keyframes nfsel { 0%, 100% { inset: 22% 16% 22% 16%; } 50% { inset: 18% 10% 26% 30%; } }
.nf-copy { display: grid; gap: 16px; justify-items: center; text-align: center; margin-top: 64px; }
.nf-copy .btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* about */
.ab-hero { padding-top: 150px; }
.ab-hero .h1 { max-width: 15ch; }
.ab-stage { height: 560px; margin: 64px 40px 0; border-radius: 22px; display: grid; place-items: center; }
.ab-stage .fr { position: absolute; z-index: 2; background: rgba(255,255,255,.92); border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(60,10,40,.5); font-family: var(--ui-font); padding: 14px; display: grid; gap: 8px; }
.ab-stage .fr .flabel { color: rgba(255,255,255,.95); }
.ab-stage .fr.f1 { left: 7%; top: 16%; width: 220px; transform: rotate(-4deg); }
.ab-stage .fr.f2 { right: 8%; top: 12%; width: 200px; transform: rotate(3deg); }
.ab-stage .fr.f3 { right: 16%; bottom: 12%; width: 250px; transform: rotate(-2deg); }
.ab-stage .fr b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.ab-stage .fr small { font-size: 11.5px; color: var(--grey); line-height: 1.45; }
.ab-stage .quote { position: relative; z-index: 3; max-width: 22ch; text-align: center; color: #fff; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.025em; }
.ab-stage .quote span { opacity: .7; }
.story { grid-template-columns: 330px 1fr; }
.story-side { padding: 32px 28px; display: grid; gap: 14px; align-content: start; position: sticky; top: 76px; align-self: start; }
.vh { display: grid; }
.vh-row { display: grid; grid-template-columns: 120px 34px 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.vh-row:last-child { border-bottom: 0; }
.vh-row .v { padding: 30px 0 30px 28px; font-family: var(--pixel); font-size: 13px; color: var(--accent); }
.vh-row .v small { display: block; color: var(--mute); font-size: 11px; margin-top: 6px; }
.vh-row .ln { position: relative; }
.vh-row .ln::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.vh-row .ln i { position: absolute; left: 50%; top: 34px; width: 11px; height: 11px; transform: translateX(-50%) rotate(45deg); background: #fff; border: 1.5px solid var(--accent); }
.vh-row.now .ln i { background: var(--accent); }
.vh-row:first-child .ln::before { top: 38px; } .vh-row:last-child .ln::before { bottom: calc(100% - 38px); }
.vh-row .c { padding: 26px 28px 30px 8px; display: grid; gap: 8px; }
.vh-row .c p { max-width: 58ch; }
.beliefs > div { padding: 32px 28px 36px; display: grid; gap: 14px; align-content: start; }
.beliefs .shape { width: 72px; height: 72px; place-items: start; }
.team { height: 520px; position: relative; overflow: hidden; background: #f7f6f5 radial-gradient(#e2deda 1px, transparent 1px) 0 0 / 18px 18px; }
.team .tc2 { position: absolute; left: 0; top: 0; transition: transform 2.6s var(--ease); pointer-events: none; z-index: 2; }
.team .tc2 svg { width: 18px; height: 18px; }
.team .tc2 span { position: absolute; left: 15px; top: 15px; color: #fff; font: 500 11.5px var(--ui-font); padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.team .card { position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 20px 40px -26px rgba(80,28,0,.4); padding: 14px 16px; font-family: var(--ui-font); display: grid; gap: 4px; max-width: 250px; }
.team .card b { font-size: 13.5px; font-weight: 600; } .team .card span { font-size: 12px; color: var(--grey); line-height: 1.45; }
.team .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; z-index: 1; }
.team .center .h3 { max-width: 22ch; }

@media (max-width: 900px) {
  .auth-cells, .legal, .story { grid-template-columns: 1fr; }
  .auth-cells > * + *, .legal > * + *, .story > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .auth-art { min-height: 420px; order: 2; }
  .legal-nav, .story-side { position: static; }
  .legal-nav { padding: 12px 0; }
  .ab-stage .fr.f1 { left: 4%; top: 8%; } .ab-stage .fr.f2 { display: none; } .ab-stage .fr.f3 { right: 4%; bottom: 6%; }
}
@media (max-width: 640px) {
  .auth-form { padding: 48px 20px 44px; }
  .form .row2f { grid-template-columns: 1fr; }
  .legal-body { padding: 32px 20px 64px; }
  .ab-stage { margin: 40px 12px 0; height: 480px; }
  .ab-stage .fr { width: 190px !important; }
  .vh-row { grid-template-columns: 74px 26px 1fr; }
  .vh-row .v { padding-left: 16px; font-size: 11.5px; }
  .vh-row .c { padding-right: 20px; }
  .beliefs > div { padding: 26px 20px 30px; }
  .team { height: 560px; }
  .team .card { max-width: 200px; }
  .nf-copy { margin-top: 48px; }
}

/* hero background: canvas dots, warm wash, abstract design-tool composition */
.hero > .wrap { isolation: isolate; }
.hero-bg { position: absolute; left: 0; right: 0; top: -150px; height: 900px; z-index: -1; pointer-events: none; overflow: hidden; }
.hb-grid { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--accent) 28%, transparent) 1px, transparent 1.2px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(70% 70% at 72% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 72% 40%, #000 0%, transparent 75%); }
.hb-art { position: absolute; right: 3%; top: 330px; width: min(420px, 34%); height: auto; color: var(--accent); overflow: visible; }
.hb-art .hb-img { opacity: 0; transition: opacity .9s var(--ease); } .hb-art .hb-img.on { opacity: 1; }
.hb-art .lab { font: 500 11px var(--ui-font); fill: var(--a60); }
.hb-art .hdl rect, .hb-art .anc { fill: #fff; stroke: var(--accent); stroke-width: 1.2; }
.hb-art .badge { fill: var(--accent); }
.hb-art .bt { font: 500 10px var(--mono); fill: #fff; }
.hb-art .hc { fill: var(--a60); }
.hb-art .dia { fill: var(--accent); }
.hb-art .cp { fill: var(--accent); stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; }
.hb-art .ct { fill: var(--accent); }
.hb-art .cl { font: 500 10.5px var(--ui-font); fill: #fff; }
.hb-art .fl { animation: hbfloat 9s ease-in-out infinite; }
.hb-art .f2 { animation-duration: 11s; animation-delay: -3s; }
.hb-art .f3 { animation-duration: 10s; animation-delay: -6s; }
.hb-art .f4 { animation: hbspin 14s linear infinite; transform-origin: 509px 105px; }
@keyframes hbfloat { 50% { transform: translateY(-8px); } }
@keyframes hbspin { to { transform: rotate(360deg); } }
.hb-art .cur { animation: hbcur 14s var(--ease) infinite; }
@keyframes hbcur { 0%, 100% { transform: translate(450px, 330px); } 30% { transform: translate(300px, 200px); } 60% { transform: translate(330px, 430px); } 80% { transform: translate(400px, 455px); } }
.hero-copy { position: relative; }
@media (max-width: 1100px) { .hb-art { opacity: .45; width: 40%; right: -4%; top: 420px; } }
@media (max-width: 760px) { .hb-art { display: none; } .hero-bg { height: 760px; } }
/* credits: contact sheet of the section images */
.prose h3 { font-size: 17px; color: var(--ink); margin: 26px 0 2px; letter-spacing: -.01em; }
.cr-where { font-size: 14px; color: var(--mute); margin-bottom: 10px; }
.cr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.cr-im { margin: 0; }
.cr-im img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: #f1ece9; }
.cr-im figcaption { font-family: var(--pixel); font-size: 11px; text-transform: uppercase; color: var(--a60); margin-top: 6px; }
@media (max-width: 560px) { .cr-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   Round 8: frosted glass for the UI inside image panels (after the component styles so it wins).
   Light fills become translucent white, lines white, the accent white with dark content on it.
   ===================================================================== */
.mesh .dash-ui, .mesh .slide, .mesh .site-ui, .mesh .vprev, .mesh .check .artb, .mesh .paste .fig, .mesh .paste .lay, .mesh .ad.sq {
  background: var(--glass); color: #fff; box-shadow: var(--shadow-win); text-shadow: 0 1px 2px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: blur(22px) saturate(1.5) brightness(.84); backdrop-filter: blur(22px) saturate(1.5) brightness(.84); }
.mesh .dash-ui .nv { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.mesh .dash-ui .nv span { color: var(--grey); }
.mesh .dash-ui .kp div, .mesh .paste .fig .fr { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .06); }
.mesh .dash-ui .cal i, .mesh .slide .bars i, .mesh .paste .fig .fr i, .mesh .vprev .ln { background: rgba(255, 255, 255, .26); }
.mesh .dash-ui .cal i.b, .mesh .slide .bars i.a, .mesh .paste .fig .fr i.o { background: #fff; }
.mesh .dash-ui .cal i.c { background: rgba(255, 255, 255, .55); }
.mesh .dash-ui .top span, .mesh .site-ui .bt, .mesh .ad .b, .mesh .ad.sq .b, .mesh .check .artb .bt, .mesh .check.fixed .artb .bt, .mesh .vprev .bt { background: #fff; color: var(--accent); text-shadow: none; }
.mesh .dash-ui .kp small.g { color: #c9ffe0; }
.mesh .slide .ft, .mesh .site-ui .ft3, .mesh .site-ui .ft3 div + div { border-color: rgba(255, 255, 255, .18); }
.mesh .site-ui .br { background: rgba(255, 255, 255, .08); }
.mesh .site-ui .br i { background: rgba(255, 255, 255, .45); }
.mesh .site-ui .br span { background: rgba(255, 255, 255, .14); color: #fff; }
.mesh .check .artb .lg { color: #fff; }
.mesh .vprev .t1, .mesh .vprev .t2 { color: #fff; }
.mesh .pin { background: #fff; color: var(--accent); box-shadow: 0 4px 10px -3px rgba(0, 0, 0, .3); }
.mesh .pin.ok { background: #1fa35b; color: #fff; }
.mesh .check .st { background: rgba(255, 255, 255, .16); color: #fff; }
.mesh .check .row.done .st { background: #fff; color: #128a49; }
.mesh .check .row.ask .st { background: #fff; color: var(--accent); }
.mesh .vec .vc { background: transparent radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px) 0 0 / 12px 12px; }
.mesh .vec .vc svg.mk { color: #fff; }
.mesh .vec .hdl { stroke: rgba(255, 255, 255, .6); } .mesh .vec .hdc { fill: rgba(255, 255, 255, .8); }
.mesh .vec .anc { fill: transparent; stroke: #fff; }
.mesh .vec .vtools span.on { background: rgba(255, 255, 255, .2); color: #fff; }
.mesh .trace .tr .st { background: #fff; --tick: var(--accent); }
.mesh .trace .tr.bad { background: rgba(255, 90, 95, .22); } .mesh .trace .tr.bad .st { background: #fff; --tick: #e5484d; } .mesh .trace .tr.bad .v { color: #fff; }
.mesh .trace .tr.fix { background: rgba(255, 255, 255, .1); } .mesh .trace .tr.fix .st { background: transparent; border-color: #fff; } .mesh .trace .tr.fix .k { color: #fff; }
.mesh .scr .size, .mesh .duel-stage .scr.sel .size, .duel-stage.mesh .scr.sel .size { background: #fff; color: var(--accent); }
.mesh .paste .lr em { background: rgba(255, 255, 255, .18); color: #fff; }
.mesh .paste .lr svg { color: rgba(255, 255, 255, .7); }

.mesh .selbox > .size { color: var(--accent); }
.mesh .paste .lr[style] { color: #fff !important; } .mesh .paste .lr[style] svg { color: #fff !important; }
.mesh .pass, .mesh.ab-stage .fr { background: var(--glass); color: #fff; box-shadow: var(--shadow-win); text-shadow: 0 1px 2px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: blur(22px) saturate(1.5) brightness(.84); backdrop-filter: blur(22px) saturate(1.5) brightness(.84); }
.mesh.ab-stage .fr small { color: var(--grey); }
.mesh .slots i { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); color: #fff; }
.mesh .slots i.f { background: #fff; box-shadow: none; color: var(--accent); text-shadow: none; }
.mesh .slots b { background: rgba(255, 255, 255, .5); }
.mesh .pass-h img { filter: brightness(0) invert(1); }
.mesh .perf { border-color: rgba(255, 255, 255, .35); } .mesh .perf::before, .mesh .perf::after { display: none; }
.mesh .next-step { background: var(--glass); box-shadow: var(--shadow-win); text-shadow: 0 1px 2px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: blur(22px) saturate(1.5) brightness(.84); backdrop-filter: blur(22px) saturate(1.5) brightness(.84); }
.mesh .dial { --a40: color-mix(in srgb, var(--accent) 40%, transparent); --a14: color-mix(in srgb, var(--accent) 14%, transparent); }
.dial .val span { color: rgba(255, 255, 255, .8); opacity: 1; }
/* CTA: canvas elements instead of the dotted globe, shown one after another */
.cta-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; color: #fff; overflow: visible; }
.cta-art .ln { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-opacity: .9; }
.cta-art .hd { fill: rgba(255, 255, 255, .25); stroke: #fff; stroke-width: 1.4; }
.cta-art .bg { fill: #fff; } .cta-art .bt { font: 500 10.5px var(--ui-font); fill: var(--accent); }
.cta-art .cur { fill: #fff; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; }
.cta-art .it { opacity: 0; animation: cta-seq 16s var(--ease) infinite; }
.cta-art .i2 { animation-delay: 4s; } .cta-art .i3 { animation-delay: 8s; } .cta-art .i4 { animation-delay: 12s; }
@keyframes cta-seq { 0% { opacity: 0; translate: 0 6px; } 4%, 21% { opacity: 1; translate: 0 0; } 25%, 100% { opacity: 0; translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) { .cta-art .i1 { opacity: 1; } }
@media (max-width: 760px) { .cta-art { opacity: .55; } }
/* rule card in the catalogue (round 10): calmer test panels, the principle highlighted */
.props { border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -30px var(--a40); }
.props-h { padding: 14px 16px 12px; }
.test { margin: 0 16px; padding: 0; background: none; grid-template-columns: 1fr 64px 1fr; gap: 0; }
.tc { border-radius: 12px; box-shadow: none; min-height: 100px; padding: 30px 10px 14px; }
.tc.bad { background: rgba(229, 72, 77, .06); box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .18); }
.tc.good { background: var(--a06); box-shadow: inset 0 0 0 1px var(--a40); }
.tl { top: 9px; left: 10px; font-size: 9.5px; }
.tl i { display: none; }
.tl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.arrow2::before { left: 10px; right: 10px; background: repeating-linear-gradient(90deg, var(--a40) 0 3px, transparent 3px 6px); }
.arrow2 em { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 1px var(--a40); border-radius: 99px; padding: 3px 7px; }
.dots7 i { border-radius: 50%; border-color: var(--line-2); } .dots7 i.a { background: var(--accent); border-color: var(--accent); }
.props-r { padding: 9px 16px 0; grid-template-columns: 48px 1fr; }
.props-r:first-of-type { margin-top: 12px; }
.props-r span { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.props-why { margin: 14px 16px 16px; padding: 12px 14px; border-radius: 10px; background: var(--a06); box-shadow: inset 2px 0 0 var(--accent); color: var(--ink); font-size: 13px; line-height: 1.5; }
.props-why b { display: block; font: 500 9.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.props-f { background: none; border-top: 1px solid var(--line); padding: 10px 16px; }
.shape .frs { width: 66px; height: 56px; overflow: visible; } .shape .frs rect { fill: #fff; } .shape .frs rect, .shape .frs path { stroke: var(--accent); stroke-width: 1.5; fill-opacity: 1; } .shape .frs path { fill: none; }
/* layer switches: the new layer unfolds on top of the previous one (no other image shows through) */
.mesh-layer.on { z-index: -1; }
.mesh-layer.keep { opacity: 1 !important; transition: none; }
.mesh-layer.on.fold-wait { opacity: 1; transition: none; }
