/* masterSync — Production Stylesheet (Proposta A · Functional Monochrome + 3D Chrome) */

@font-face { font-family: "Funnel Display"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../assets/fonts/funnel-display-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Funnel Display"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../assets/fonts/funnel-display-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Funnel Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../assets/fonts/funnel-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Funnel Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../assets/fonts/funnel-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/geist-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/geist-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Dark Theme: Absolute Black + Silver Chrome */
  --g0: #000000;
  --g1: #151515;
  --g2: #1E1E1E;
  --edge: rgba(255, 255, 255, 0.14);
  --hair: rgba(255, 255, 255, 0.10);
  --ink: #FFFFFF;
  --muted: #A3A3A3;
  --faint: #737373;

  /* Functional Monochrome Thread & Chrome */
  --thread: #E5E5E5;
  --thread-ghost: rgba(255, 255, 255, 0.13);
  --thread-back: rgba(255, 255, 255, 0.45);
  --thread-halo: rgba(255, 255, 255, 0.08);
  --glyph: rgba(229, 229, 229, 0.62);
  --glyph-ink: 212, 212, 212;
  --glyph-accent: 59, 130, 246;

  /* Strictly Functional Signals (~5% budget) */
  --sig-green: #22C55E;
  --sig-blue: #3B82F6;
  --sig-amber: #F59E0B;
  --sig-red: #EF4444;

  /* Surfaces & Devices (Aligned with DarkNexusColors & redesigned macOS) */
  --chip: rgba(21, 21, 21, 0.96);
  --chip-cipher: #A3A3A3;
  --pop: #181818;
  --panel: rgba(21, 21, 21, 0.96);
  --plan-wall: #404040;
  --plan-soft: #2E2E2E;
  --plan-fill: #151515;
  --plan-label: #1A1A1A;
  --plan-label-ink: #D4D4D4;
  --plan-text: #858585;
  --base-hi: #666666;
  --base-mid: #404040;
  --base-lo: #262626;
  --base-edge: #141414;
  --phone-bg: #000000;
  --phone-card: #151515;
  --phone-ink: #FFFFFF;
  --phone-muted: #A6A6A6;
  --fix: #262626;
  --fix-ink: #A3A3A3;
  --ct: #9CA3AF;
  --blk: #525252;
  --blk-ok: #22C55E;
  --light: rgba(255, 255, 255, 0.05);
  --floor: rgba(0, 0, 0, 0.85);
  --shadow: rgba(0, 0, 0, 0.95);
  --btn-bg: #FFFFFF;
  --btn-ink: #000000;
  --btn-hover: #E5E5E5;

  --d: "Funnel Display", system-ui, sans-serif;
  --f: "Funnel Sans", system-ui, sans-serif;
  --m: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gut: 56px;
  --pad: 120px;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  /* Light Theme: Pure White + Neutral Silver/Graphite */
  --g0: #FFFFFF;
  --g1: #F5F5F5;
  --g2: #EAEAEA;
  --edge: rgba(17, 17, 17, 0.12);
  --hair: rgba(17, 17, 17, 0.09);
  --ink: #111111;
  --muted: #525252;
  --faint: #737373;

  --thread: #171717;
  --thread-ghost: rgba(17, 17, 17, 0.12);
  --thread-back: rgba(17, 17, 17, 0.42);
  --thread-halo: rgba(17, 17, 17, 0.07);
  --glyph: rgba(23, 23, 23, 0.62);
  --glyph-ink: 34, 34, 34;
  --glyph-accent: 37, 99, 235;

  --sig-green: #15803D;
  --sig-blue: #2563EB;
  --sig-amber: #B45309;
  --sig-red: #DC2626;

  --chip: rgba(255, 255, 255, 0.97);
  --chip-cipher: #525252;
  --pop: #FFFFFF;
  --panel: rgba(255, 255, 255, 0.97);
  --plan-wall: #B8B8B8;
  --plan-soft: #D4D4D4;
  --plan-fill: #F5F5F5;
  --plan-label: #FFFFFF;
  --plan-label-ink: #262626;
  --plan-text: #737373;
  --base-hi: #E5E5E5;
  --base-mid: #CCCCCC;
  --base-lo: #A3A3A3;
  --base-edge: #8A8A8A;
  --phone-bg: #FFFFFF;
  --phone-card: #F5F5F5;
  --phone-ink: #111111;
  --phone-muted: #5C5C5C;
  --fix: #EBEBEB;
  --fix-ink: #525252;
  --ct: #525252;
  --blk: #A3A3A3;
  --blk-ok: #15803D;
  --light: rgba(0, 0, 0, 0.03);
  --floor: rgba(0, 0, 0, 0.18);
  --shadow: rgba(0, 0, 0, 0.22);
  --btn-bg: #111111;
  --btn-ink: #FFFFFF;
  --btn-hover: #2E2E2E;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body { margin: 0; max-width: 100%; overflow-x: clip; }
body {
  background: var(--g0);
  color: var(--ink);
  font: 16px/1.55 var(--f);
  -webkit-font-smoothing: antialiased;
  position: relative;
  transition: background-color 0.28s, color 0.28s;
}
::selection { background: var(--ink); color: var(--g0); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--sig-blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 16px; border-radius: 8px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Functional micro-dots (strictly semantic, never decorative) */
.sig-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--faint); }
.sig-dot.green { background: var(--sig-green); }
.sig-dot.blue { background: var(--sig-blue); }
.sig-dot.amber { background: var(--sig-amber); }
.sig-dot.red { background: var(--sig-red); }

/* Brand logo switching by theme */
.brand-mark { width: 28px; height: 22px; display: block; }
.brand-mark-dark { display: block; }
.brand-mark-light { display: none; }
:root[data-theme="light"] .brand-mark-dark { display: none; }
:root[data-theme="light"] .brand-mark-light { display: block; }

/* The Thread SVG Layers */
.tl { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; overflow: hidden; }
#tb { z-index: 2; }
#tf { z-index: 9; }
.tl .ghost { fill: none; stroke: var(--thread-ghost); stroke-width: 1.1; }
.tl .lit { fill: none; stroke: var(--thread); stroke-width: 1.7; stroke-linecap: round; }
.tl .halo { fill: none; stroke: var(--thread-halo); stroke-width: 6; stroke-linecap: round; }
.tl .hx { font: 500 9px var(--m); fill: var(--glyph); }
#tb .lit { stroke: var(--thread-back); }
.tl .hr { fill: none; stroke: var(--sig-blue); stroke-width: 1.3; }
.tl .hd { fill: var(--ink); }
.tl .pair-dot { fill: var(--sig-green); }
html:not(.js-motion) .tl { display: none; }

/* Packet + Functional Morph Attachments */
.pkt {
  position: absolute; left: 0; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px;
  border-radius: 12px; background: var(--chip);
  box-shadow: 0 0 0 1px var(--edge), 0 20px 38px -16px var(--shadow);
  font-size: 13.5px; white-space: nowrap; pointer-events: none; opacity: 0;
  will-change: transform, opacity; transform-origin: 0 0;
}
.pkt .av { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-weight: 700; font-size: 11px; flex: none; background: var(--g2); color: var(--ink); border: 1px solid var(--edge); }
.pkt .av.av-blue { color: var(--sig-blue); border-color: color-mix(in srgb, var(--sig-blue) 45%, transparent); }
.pkt .av.av-green { color: var(--sig-green); border-color: color-mix(in srgb, var(--sig-green) 45%, transparent); }
.pkt b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pkt small { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pkt em { font: normal 500 10.5px var(--m); color: var(--sig-blue); margin-left: 4px; }
.pkt.delivered em { color: var(--sig-green); }
.pkt.cipher b, .pkt.cipher small { font-family: var(--m); font-size: 12px; color: var(--chip-cipher); }

.fn-morph {
  position: absolute; left: 0; top: 0; z-index: 10; pointer-events: none; opacity: 0;
  display: flex; align-items: flex-end; gap: 4px; will-change: transform, opacity;
}
.fn-morph[data-mode="frames"] i { display: block; width: 14px; height: 18px; border-radius: 3px; border: 1px solid var(--edge); background: var(--g1); box-shadow: 0 4px 10px -4px var(--shadow); }
.fn-morph[data-mode="bubbles"] span { display: block; width: 18px; height: 10px; border-radius: 999px; border: 1px solid var(--edge); background: var(--g2); }
.fn-morph[data-mode="bubbles"] span:last-child { width: 12px; opacity: 0.65; }
.fn-morph[data-mode="wave"] s { display: block; width: 2px; height: 10px; border-radius: 1px; background: var(--ink); text-decoration: none; opacity: 0.75; }
.fn-morph[data-mode="blocks"] b { display: block; width: 10px; height: 10px; border-radius: 2px; border: 1px solid var(--sig-blue); background: color-mix(in srgb, var(--sig-blue) 22%, transparent); }

.fx { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 11; pointer-events: none; }
.fx i { position: absolute; font: 500 10px var(--m); color: var(--muted); font-style: normal; }
.fx .ring { width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--sig-green) 60%, transparent); }

/* Header & Progress Bar */
.top { position: relative; z-index: 12; height: 72px; display: flex; align-items: center; gap: 28px; padding: 0 56px; font-size: 14.5px; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font: 600 17.5px var(--d); letter-spacing: -0.02em; }
.top nav { margin-left: auto; display: flex; gap: 26px; }
.top nav a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.top nav a:hover { color: var(--ink); }
.tb { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--edge); background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.tb:hover { color: var(--ink); border-color: var(--ink); }
.prog { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); z-index: 30; opacity: 0.85; }

/* Buttons — Strictly Monochrome */
.btn {
  display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px;
  border-radius: 999px; font: 600 15.5px var(--f); text-decoration: none; white-space: nowrap;
  transition: transform 0.24s var(--out), background-color 0.2s, box-shadow 0.25s, outline-color 0.4s;
  outline: 1.5px solid transparent; outline-offset: 5px;
}
.btn:hover { transform: translateY(-1px); }
.btn.f { background: var(--btn-bg); color: var(--btn-ink); }
.btn.f:hover { background: var(--btn-hover); }
.btn.g { color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge); }
.btn.g:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* Segmented Demo Controls */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--g1); box-shadow: inset 0 0 0 1px var(--edge); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { all: unset; flex: none; cursor: pointer; height: 36px; padding: 0 15px; border-radius: 999px; font: 500 14px var(--f); color: var(--muted); display: flex; align-items: center; gap: 8px; transition: background-color 0.2s, color 0.2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.seg button:focus-visible { outline: 2px solid var(--sig-blue); outline-offset: 2px; }

.status {
  /* Keep the live region available to screen readers without taking up space. */
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Hero — Sculptural Connection (Monumental 3D Chrome) */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 520px) minmax(0, 1fr);
  column-gap: clamp(16px, 2.5vw, 36px);
  padding: 28px 56px 0;
  align-items: center;
}
.hero .copy { position: relative; z-index: 8; min-width: 0; padding: 24px 0 64px; }
.hero .hero-visual {
  position: relative; min-width: 0; height: 100%; min-height: 480px;
  display: flex; align-items: center; justify-content: center; overflow: visible;
}
.hero-sculp { width: min(100%, 660px); height: clamp(420px, 58svh, 560px); margin-left: 0; }
.hero h1 { font: 600 clamp(44px, 5.4vw, 82px)/0.95 var(--d); letter-spacing: -0.04em; text-wrap: balance; }
.hero h1 span { font-weight: 300; color: var(--muted); }
.hero .lede { margin-top: 22px; max-width: 30em; font-size: 18px; line-height: 1.55; color: var(--muted); }
.hero .ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero .req { margin-top: 14px; font-size: 13.5px; color: var(--faint); }

/* Section 2: Devices Showcase + Small Interactive 3D Logo + Interactive Demo */
.showcase {
  position: relative; padding: 96px 56px 56px var(--pad);
  border-top: 1px solid var(--hair);
  display: grid; grid-template-columns: minmax(320px, 470px) minmax(0, 1fr);
  gap: 44px; align-items: center;
}
.showcase .demo-col { min-width: 0; }
.showcase h2 { font: 600 44px/1.04 var(--d); letter-spacing: -0.035em; text-wrap: balance; }
.showcase h2 span { font-weight: 300; color: var(--muted); }
.showcase .intro { margin-top: 16px; color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.showcase .demo { margin-top: 28px; }
.showcase .demo .l { display: block; font-size: 13.5px; color: var(--faint); margin-bottom: 10px; }
.showcase .seg button { padding: 0 12px; font-size: 13.5px; gap: 6px; }
.showcase .scene { min-width: 0; max-width: 730px; }

/* Glyph Reveal Overlay */
.rv { position: relative; --r: 4000px; --cx: 50%; --cy: 50%; --bl: 0; }
.rv canvas.gl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: none; pointer-events: none; }
.rv .bloom { position: absolute; inset: 0; pointer-events: none; opacity: var(--bl); background: radial-gradient(circle at var(--cx) var(--cy), color-mix(in srgb, var(--sig-blue) 16%, transparent), transparent 34%); }
html.js-motion:not(.rm) .rv canvas.gl.ready { display: block; -webkit-mask: radial-gradient(circle at var(--cx) var(--cy), transparent calc(var(--r) - 70px), #000 calc(var(--r) + 10px)); mask: radial-gradient(circle at var(--cx) var(--cy), transparent calc(var(--r) - 70px), #000 calc(var(--r) + 10px)); }
html.js-motion:not(.rm) .rv.glyphed > img { -webkit-mask: radial-gradient(circle at var(--cx) var(--cy), #000 calc(var(--r) - 50px), transparent var(--r)); mask: radial-gradient(circle at var(--cx) var(--cy), #000 calc(var(--r) - 50px), transparent var(--r)); }
html.js-motion:not(.rm) .rv.band.glyphed > img { -webkit-mask: linear-gradient(#000 76%, transparent 86%); mask: linear-gradient(#000 76%, transparent 86%); }
html.js-motion:not(.rm) .rv.band canvas.gl.ready { -webkit-mask: linear-gradient(transparent 76%, #000 86%); mask: linear-gradient(transparent 76%, #000 86%); }

.tgt { position: absolute; border-radius: 10px; border: 1.5px solid var(--sig-blue); background: color-mix(in srgb, var(--sig-blue) 10%, transparent); pointer-events: none; }
html.js-motion:not(.rm) .tgt { opacity: 0; }

/* Devices Showcase Stage (MacBook + Redesigned Android Phone + In-Device 3D Sculptures) */
.scene { --sh: 706; position: relative; z-index: 5; width: 100%; max-width: 100%; height: calc(var(--sh) * 1px * var(--k, 1)); overflow: hidden; }
.devices { position: absolute; left: 0; top: 0; width: 812px; height: calc(var(--sh) * 1px); transform: scale(var(--k, 1)); transform-origin: 0 0; }
.mbp { position: absolute; left: 32px; top: 140px; width: 740px; z-index: 5; }
.mbp .lid { position: relative; border-radius: 22px 22px 10px 10px; padding: 13px 13px 20px; background: linear-gradient(#0D0D0D, #050505); box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 50px 110px -45px var(--shadow); }
.mbp .lid::before { content: ""; position: absolute; left: 50%; top: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #262626; }
.mbp .scr { position: relative; width: 714px; height: 503px; border-radius: 6px; overflow: hidden; background: var(--g0); }
.mbp .shot > img { width: 100%; display: block; }
.mbp .base { position: relative; height: 18px; margin: 0 -46px; border-radius: 3px 3px 16px 16px; background: linear-gradient(180deg, var(--base-hi) 0, var(--base-mid) 25%, var(--base-lo) 72%, var(--base-edge)); }
.mbp .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 6px; margin-left: -60px; border-radius: 0 0 8px 8px; background: linear-gradient(var(--base-lo), var(--base-mid)); }
.mbp .floor { position: absolute; left: -50px; right: -50px; bottom: -30px; height: 36px; background: radial-gradient(50% 50% at 50% 30%, var(--floor), transparent 70%); z-index: -1; }

/* Live 3D Sculpture inside MacBook App Screen */
.mac-sculp-stage {
  position: absolute; left: 34.8%; top: 0.5%; width: 31.4%; height: 39.2%;
  z-index: 3; background: var(--g0); display: grid; place-items: center; pointer-events: auto;
}
.mac-sculp-stage::after {
  content: ""; position: absolute; left: 16%; right: 16%; bottom: 6%; height: 15%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.14) 0%, transparent 72%);
  pointer-events: none;
}
:root[data-theme="light"] .mac-sculp-stage::after {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.14) 0%, transparent 72%);
}
.mac-sculp-3d { width: 100%; height: 92%; }

/* Android Phone Mockup — Redesigned Functional Monochrome (HomeScreen.kt) */
.px {
  position: absolute; left: 616px; top: 0; width: 188px; height: 398px; z-index: 7;
  border-radius: 38px; padding: 3px;
  background: linear-gradient(150deg, #737373, #262626 35%, #171717 65%, #525252);
  box-shadow: 0 46px 76px -28px var(--shadow);
}
.px .in { width: 100%; height: 100%; border-radius: 35px; background: #080808; padding: 6px; }
.px .s {
  position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: var(--phone-bg); color: var(--phone-ink);
  padding: 28px 13px 12px; display: flex; flex-direction: column;
}
.px .cam { position: absolute; left: 50%; top: 10px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #000; border: 1px solid rgba(255,255,255,0.12); }
.px .sb {
  position: absolute; left: 16px; right: 16px; top: 10px;
  display: flex; justify-content: space-between; font-size: 8.5px; color: var(--phone-muted);
}
.px-top {
  display: flex; align-items: center; justify-content: space-between; margin-top: 2px;
  font: 600 10.5px var(--d); letter-spacing: -0.02em; color: var(--phone-ink);
}
.px-top svg { color: var(--phone-muted); flex: none; }
.px-sculp { height: 84px; display: grid; place-items: center; margin: 2px 0 0; }
.px-sculp-3d { width: 118px; height: 84px; }
.px-head b { display: block; font: 600 22px/1 var(--d); letter-spacing: -0.03em; color: var(--phone-ink); }
.px-head span { display: block; margin-top: 3px; font: 400 10.5px/1.2 var(--f); color: var(--phone-muted); }
.px-status {
  display: flex; align-items: center; gap: 5px; margin-top: 7px;
  font: 400 8.8px/1.3 var(--f); color: var(--phone-muted);
}
.px-status i { width: 5.5px; height: 5.5px; border-radius: 50%; background: var(--sig-green); flex: none; }

/* Live 3-Stage Choreography on Android & Mac */
.phone-live {
  position: relative; margin-top: 10px; border-radius: 11px;
  background: var(--phone-card); border: 1px solid var(--edge);
  padding: 7px 8px; display: none; gap: 7px; align-items: center; min-height: 46px;
}
.phone-live.is-on { display: flex; animation: phoneArrive 0.34s var(--out) both; }
.phone-live.flash::after {
  content: ""; position: absolute; inset: -34px -14px; background: #fff; opacity: 0; pointer-events: none;
  animation: camFlash 0.42s ease-out;
}
.phone-live .pl-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--sig-blue); transition: background-color 0.25s; }
.phone-live.is-done .pl-dot { background: var(--sig-green); }
.phone-live .pl-thumb { width: 26px; height: 26px; border-radius: 5px; object-fit: cover; flex: none; }
.phone-live .pl-tx { min-width: 0; flex: 1; }
.phone-live .pl-tx b { display: block; font: 600 8.8px/1.2 var(--f); color: var(--phone-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-live .pl-tx small { display: block; font: 400 8px/1.2 var(--f); color: var(--phone-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.phone-live .pl-thread { margin-top: 5px; display: flex; align-items: center; gap: 6px; position: relative; }
.phone-live .pl-thread::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--edge); }
.phone-live .pl-thread i { position: relative; z-index: 1; width: 4px; height: 4px; border-radius: 1px; background: var(--sig-blue); animation: threadStep 0.48s var(--out) both; transition: background-color 0.25s; }
.phone-live .pl-thread i:nth-child(2) { animation-delay: 0.06s; }
.phone-live .pl-thread i:nth-child(3) { animation-delay: 0.12s; }
.phone-live .pl-thread i:nth-child(4) { animation-delay: 0.18s; }
.phone-live .pl-thread i:nth-child(5) { animation-delay: 0.24s; }
.phone-live.is-done .pl-thread i { background: var(--sig-green); }

.px-actions { margin-top: auto; display: flex; flex-direction: column; gap: 5px; padding-top: 8px; }
.px-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.px-btn { height: 25px; border-radius: 999px; display: grid; place-items: center; font: 600 8.2px var(--f); white-space: nowrap; }
.px-btn.solid { background: var(--btn-bg); color: var(--btn-ink); }
.px-btn.sec { border: 1px solid var(--edge); color: var(--phone-ink); }
.px-link { text-align: center; font: 500 7.8px var(--f); color: var(--phone-muted); padding-top: 2px; }

.demo-flyer {
  position: absolute; left: 0; top: 0; z-index: 12; pointer-events: none; opacity: 0;
  display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px; border-radius: 12px;
  background: var(--chip); border: 1px solid var(--sig-blue);
  box-shadow: 0 18px 36px -12px var(--shadow); font-size: 12.5px; white-space: nowrap;
}
.demo-flyer .df-ic { width: 26px; height: 26px; border-radius: 7px; overflow: hidden; display: grid; place-items: center; background: var(--g2); color: var(--sig-blue); font: 700 10px var(--f); border: 1px solid var(--edge); }
.demo-flyer .df-ic img { width: 100%; height: 100%; object-fit: cover; }
.demo-flyer .df-tx b { display: block; font-weight: 600; color: var(--ink); line-height: 1.2; }
.demo-flyer .df-tx small { display: block; color: var(--muted); font-size: 11px; }
.demo-flyer em { font: normal 500 10px var(--m); color: var(--sig-blue); margin-left: 4px; }

/* Mac Landing Overlay — Aligned with redesigned visao-geral.webp */
.mac-live { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.ml-card {
  position: absolute; left: auto; right: 16px; bottom: 16px; width: 47%;
  border-radius: 12px; padding: 11px 13px;
  background: var(--pop); color: var(--ink);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sig-green) 55%, var(--edge)), 0 24px 44px -16px var(--shadow);
  opacity: 0; transform: translateY(10px) scale(0.95);
  transition: opacity 0.34s var(--out), transform 0.38s var(--out);
}
.ml-card.is-landed { opacity: 1; transform: none; }
.ml-hd { display: flex; align-items: center; gap: 9px; }
.ml-ic { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--g2); border: 1px solid var(--edge); font: 700 9px var(--f); flex: none; }
.ml-hd b { display: block; font-size: 12px; line-height: 1.2; }
.ml-hd small { display: block; font-size: 10.5px; color: var(--muted); }
.ml-badge { margin-left: auto; font: 500 10px var(--m); padding: 2px 7px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--sig-green) 50%, transparent); color: var(--sig-green); white-space: nowrap; }
.ml-body { margin: 7px 0 0; font-size: 12px; color: var(--ink); line-height: 1.35; }
.ml-actions { margin-top: 7px; display: flex; align-items: center; gap: 7px; }
.ml-reply { flex: 1; padding: 4px 9px; border-radius: 999px; background: var(--g1); border: 1px solid var(--hair); font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-pill { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--edge); font-size: 10.5px; color: var(--ink); }
.ml-blks { margin-top: 9px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.ml-blks i { height: 5px; border-radius: 3px; background: var(--sig-green); display: block; opacity: 0; transform: scaleX(0); transform-origin: 0 50%; }
.ml-card.is-landed .ml-blks i { animation: blkCheck 0.28s var(--out) forwards; }
.ml-card.is-landed .ml-blks i:nth-child(2) { animation-delay: 0.06s; }
.ml-card.is-landed .ml-blks i:nth-child(3) { animation-delay: 0.12s; }
.ml-card.is-landed .ml-blks i:nth-child(4) { animation-delay: 0.18s; }
.ml-card.is-landed .ml-blks i:nth-child(5) { animation-delay: 0.24s; }

.ml-photo-slot {
  position: absolute; left: 51.3%; top: 52.3%; width: 15.7%; height: 18.4%;
  border-radius: 9px; overflow: hidden;
  box-shadow: 0 0 0 2px var(--sig-green), 0 12px 24px -8px var(--shadow);
  opacity: 0; transform: scale(0.84);
  transition: opacity 0.34s var(--out), transform 0.38s var(--out);
}
.ml-photo-slot.is-landed { opacity: 1; transform: scale(1); }
.ml-photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ml-photo-tag {
  position: absolute; left: 4px; right: 4px; bottom: 4px; padding: 2px 4px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.72); color: #fff; font: 500 8.5px var(--m); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@keyframes phoneArrive { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes camFlash { 0% { opacity: 0.85; } 100% { opacity: 0; } }
@keyframes threadStep { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes blkCheck { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }

/* WebGL Sculpture Hosts */
.sculp-host { position: relative; pointer-events: auto; }
.sculp-host canvas { display: block; width: 100%; height: 100%; }

/* Day Chapters & Stations */
.day { position: relative; padding: 110px 56px 36px var(--pad); }
.day > h2 { font: 600 58px/1 var(--d); letter-spacing: -0.04em; max-width: 15em; text-wrap: balance; }
.day > h2 span { color: var(--muted); font-weight: 300; }

.st {
  position: relative; display: grid; grid-template-columns: 360px minmax(0, 1fr);
  gap: 52px; align-items: start; padding: 104px 0 36px; border-top: 1px solid var(--hair);
  max-width: 1120px;
}
.st:first-of-type { border-top: none; }
.st.wide { grid-template-columns: 1fr; gap: 36px; }
.st.wide .lead { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 52px; align-items: end; }
.st.wide .media { max-width: 940px; }
.st.flipped { grid-template-columns: minmax(0, 1fr) 360px; }
.st.flipped > div:nth-child(2) { order: 2; }
.st.flipped > .media { order: 1; }

.node { position: absolute; left: calc(var(--gut) - var(--pad)); top: 54px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--g0); box-shadow: 0 0 0 1.5px var(--faint); z-index: 9; transition: box-shadow 0.35s var(--out), background-color 0.35s var(--out); }
.node.on { background: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.st .hour { font: 200 88px/0.84 var(--d); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.st .hour span { color: var(--faint); }
.st h3 { margin-top: 18px; font: 600 36px/1.06 var(--d); letter-spacing: -0.03em; text-wrap: balance; }
.st p { margin-top: 14px; color: var(--muted); font-size: 16.5px; line-height: 1.55; max-width: 34em; }
.media { position: relative; z-index: 4; border-radius: 16px; overflow: hidden; background: var(--g1); box-shadow: 0 0 0 1px var(--edge), 0 40px 90px -45px var(--shadow); }
.media > img { width: 100%; }
.dim > img { filter: brightness(0.55) saturate(0.85); }
:root[data-theme="light"] .dim > img { filter: brightness(0.96) saturate(0.8) opacity(0.75); }

.otp { position: absolute; right: 24px; top: 24px; width: 296px; border-radius: 16px; background: var(--pop); padding: 18px 20px; box-shadow: 0 0 0 1px var(--edge), 0 36px 64px -20px var(--shadow); z-index: 2; }
html.js-motion:not(.rm) .otp { opacity: 0; }
.otp .r { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.otp .lk { width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--sig-green) 14%, transparent); color: var(--sig-green); display: grid; place-items: center; }
.otp .n { font: 600 48px/1 var(--d); letter-spacing: 0.02em; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.otp .t { display: flex; justify-content: space-between; gap: 12px; font: 500 12px var(--m); color: var(--faint); }
.drain { height: 3px; border-radius: 2px; background: var(--hair); margin-top: 8px; overflow: hidden; }
.drain i { display: block; height: 100%; width: 100%; background: var(--sig-green); transform-origin: 0 50%; transform: scaleX(0.74); }

.blocks { position: absolute; left: 3%; width: 68%; bottom: 6%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 14px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--edge), 0 28px 54px -18px var(--shadow); z-index: 2; }
.blocks .hd { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; font: 500 12px var(--m); color: var(--muted); margin-bottom: 4px; }
.blocks .hd b { color: var(--ink); font-weight: 500; }
.blocks i { height: 42px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--edge); font: 500 10.5px/13px var(--m); font-style: normal; color: var(--blk); padding: 7px; overflow: hidden; word-break: break-all; position: relative; transition: box-shadow 0.25s, background-color 0.25s, color 0.25s; }
.blocks i.ok { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sig-green) 55%, transparent); color: var(--blk-ok); }
.blocks i.now { box-shadow: inset 0 0 0 1px var(--sig-blue); background: color-mix(in srgb, var(--sig-blue) 10%, transparent); color: var(--sig-blue); }
.blocks i span { display: block; height: 26px; overflow: hidden; }
.blocks i b { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sig-blue); transform-origin: 0 50%; transform: scaleX(0); }
.blocks i.ok b { background: var(--sig-green); }

.player { display: flex; gap: 36px; align-items: center; }
.player .pl { width: 280px; border-radius: 22px; flex: none; }
.player ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); min-width: 260px; }
.player li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px; color: var(--muted); }
.player li b { color: var(--ink); font-weight: 500; }

/* Privacy Floor Plan */
.priv { position: relative; }
.stage { position: relative; padding: 110px 56px 36px var(--pad); display: flex; flex-direction: column; }
.stage h2 { font: 600 60px/1 var(--d); letter-spacing: -0.04em; position: relative; z-index: 3; }
.stage h2 span { color: var(--muted); font-weight: 300; }
.stage .intro { margin-top: 16px; max-width: 38em; color: var(--muted); font-size: 17.5px; line-height: 1.55; position: relative; z-index: 3; }
.pv { display: grid; grid-template-columns: min(600px, calc((100svh - 190px) * 700 / 640), 54%) minmax(280px, 420px); justify-content: start; gap: 48px; margin-top: 32px; align-items: start; }
.pb { position: relative; width: 100%; aspect-ratio: 700 / 640; overflow: hidden; border-radius: 16px; background: var(--g1); box-shadow: 0 0 0 1px var(--edge); }
.camera { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.camera svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.walls { stroke: var(--plan-wall); }
.soft { stroke: var(--plan-soft); }
.rm-t { font: 500 11px var(--m); fill: var(--plan-text); letter-spacing: 0.08em; }
.furn rect.desk, .furn rect.router { fill: var(--plan-fill); stroke: var(--plan-soft); }
.lb rect { fill: var(--plan-label); stroke: var(--edge); }
.lb text { font: 500 12px var(--m); fill: var(--plan-label-ink); }
.lb tspan { fill: var(--ink); font-weight: 600; }
#route { stroke: var(--sig-green); }
#routeGhost { stroke: var(--thread-ghost); }
#stageSvg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; overflow: visible; }
#branch { fill: none; stroke: var(--thread); }

.cipher { border-top: 1px solid var(--hair); }
.cipher div { padding: 15px 0 15px 18px; border-bottom: 1px solid var(--hair); position: relative; transition: opacity 0.35s var(--out); }
.cipher div::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); transition: background-color 0.3s; }
.cipher div.on::before { background: var(--sig-green); }
.cipher div.mid.on::before { background: var(--sig-blue); }
.cipher small { display: block; font: 500 12px var(--m); color: var(--faint); margin-bottom: 6px; }
.cipher .pt { font-size: 16.5px; }
.cipher .ct { font: 500 12.5px/1.5 var(--m); color: var(--ct); word-break: break-all; }


/* Feature Explorer (Compact, 34 unified features) */
.rec { position: relative; padding: 130px 56px 24px var(--pad); }
.rec h2, .rec h1 { font: 600 60px/1 var(--d); letter-spacing: -0.04em; text-wrap: balance; }
.rec h2 span, .rec h1 span { color: var(--muted); font-weight: 300; }
.rec .intro { margin-top: 16px; max-width: 40em; color: var(--muted); font-size: 17.5px; line-height: 1.55; }
.rec-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.find { position: relative; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--edge); color: var(--faint); flex: 1 1 260px; max-width: 380px; transition: box-shadow 0.2s, color 0.2s; }
.find:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.find input { all: unset; flex: 1; min-width: 0; font: 400 14.5px var(--f); color: var(--ink); }
.find input::placeholder { color: var(--faint); }
.rec-count { margin-top: 14px; font-size: 14px; color: var(--faint); min-height: 1.5em; }
.rec-count b { color: var(--ink); font: 500 13px var(--m); }
.rec mark { background: color-mix(in srgb, var(--sig-blue) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }

.rx { position: relative; display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); grid-template-rows: repeat(7, auto) 1fr; column-gap: 64px; margin-top: 32px; max-width: 1440px; }
.rx-link { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.rx-link path { fill: none; stroke: var(--thread); stroke-width: 1.4; stroke-linecap: round; }
.rx-cat { all: unset; box-sizing: border-box; grid-column: 1; grid-row: var(--row); position: relative; display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); cursor: pointer; color: var(--muted); transition: color 0.2s var(--out); }
.rx-cat:first-of-type { border-top: 1px solid var(--hair); }
.rx-cat .node { top: 50%; margin-top: -5.5px; }
.rx-cat .nm { flex: 1; font: 500 17.5px/1.25 var(--d); letter-spacing: -0.01em; transition: transform 0.3s var(--out); }
.rx-cat .ct { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.rx-cat .ct b { font: 500 12.5px var(--m); color: var(--faint); }
.rx-cat .chev { display: none; }
.rx-cat:hover { color: var(--ink); }
.rx-cat:hover .nm { transform: translateX(3px); }
.rx-cat[aria-expanded="true"] { color: var(--ink); }
.rx-cat[aria-expanded="true"] .nm { font-weight: 600; }
.rx-cat[aria-expanded="true"] .ct b { color: var(--sig-blue); }
.rx-cat.zero { opacity: 0.4; }
.rx-cat .hits { color: var(--sig-blue); }

.rx-panel { grid-column: 2; grid-row: 1 / -1; align-self: start; position: relative; z-index: 2; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity 0.16s ease-out, transform 0.16s ease-out, visibility 0s linear 0.16s; }
.rx-panel.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s var(--out), transform 0.25s var(--out), visibility 0s; }
.rx.searching .rx-panel:not(.rx-results), .rx:not(.searching) .rx-results { visibility: hidden; opacity: 0; }
.rx.searching .rx-results { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s var(--out), visibility 0s; }
.rx-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--edge); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; align-items: start; }
.rx-f { display: block; padding: 18px 0; border-bottom: 1px solid var(--hair); min-width: 0; }
.rx-main b { display: block; font: 600 16px/1.3 var(--f); color: var(--ink); }
.rx-main .dt { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.rx-main .cat-of { display: inline-block; margin-left: 8px; font-size: 12.5px; color: var(--sig-blue); }
.rx-req { margin-top: 6px; font-size: 12.5px; color: var(--faint); }
.rx-req .sl { margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--hair); }
.rx-req summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12.5px; color: var(--muted); }
.rx-req summary::-webkit-details-marker { display: none; }
.rx-req summary:hover .sl { color: var(--ink); }
.rx-req summary i { position: relative; width: 10px; height: 10px; }
.rx-req summary i::before, .rx-req summary i::after { content: ""; position: absolute; left: 0; top: 4.5px; width: 10px; height: 1.5px; background: currentColor; transition: transform 0.25s var(--out); }
.rx-req summary i::after { transform: rotate(90deg); }
.rx-req[open] summary .sl, .rx-req[open] summary i { color: var(--ink); }
.rx-req[open] summary i::after { transform: rotate(0deg); }
.rx-req p { margin: 6px 0 2px; max-width: 46em; font-size: 14px; color: var(--muted); line-height: 1.5; }
.rx-empty { padding: 18px 0; color: var(--muted); }
.rx-more { display: inline-flex; margin-top: 14px; color: var(--sig-blue); font-size: 14.5px; text-underline-offset: 3px; }
.rx-all { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--ink); font: 500 15.5px var(--f); text-decoration: none; }
.rx-all:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Full Catalog Page (recursos.html — Unified 34 Features) */
.cat-page::before { content: ""; position: absolute; left: var(--gut); top: 0; bottom: 0; width: 1.5px; margin-left: -0.75px; background: linear-gradient(var(--thread), color-mix(in srgb, var(--thread) 35%, transparent)); pointer-events: none; }
.cat-full { padding-top: 40px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 14.5px; text-decoration: none; }
.back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--edge); color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s, box-shadow 0.2s; }
.toc a span { font: 500 12.5px var(--m); color: var(--faint); }
.toc a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rec-t { width: 100%; margin-top: 18px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.rec-t thead th { position: sticky; top: 0; z-index: 3; background: var(--g0); padding: 14px 0 12px; border-bottom: 1px solid var(--hair); font: 500 14px var(--f); color: var(--faint); text-align: left; }
.rec-t th, .rec-t td { border-bottom: 1px solid var(--hair); }
.rec .rec-t .c-req { width: 38%; text-align: left; }
.rec-t thead .c-req { padding-left: 28px; }
.rec-t tr.cat th { position: relative; padding: 54px 0 14px; border-bottom: 1px solid var(--edge); font: 600 26px/1.1 var(--d); letter-spacing: -0.02em; color: var(--ink); text-align: left; scroll-margin-top: 60px; }
.rec-t tbody:first-of-type tr.cat th { padding-top: 30px; }
.rec-t tr.cat .n { margin-left: 8px; font: 500 13px var(--m); color: var(--faint); vertical-align: 4px; }
.rec-t .cat-node { top: auto; bottom: 18px; left: calc(var(--gut) - var(--pad)); }
.rec-t tr.f > * { padding: 16px 0; vertical-align: top; transition: opacity 0.3s var(--out); }
.rec-t tr.f.miss { display: none; }
.rec-t tr.f th { text-align: left; font-weight: 400; padding-right: 24px; }
.rec-t tr.f th b { display: block; font: 600 17px/1.3 var(--f); color: var(--ink); }
.rec-t .dt { display: block; margin-top: 4px; color: var(--muted); line-height: 1.5; max-width: 42em; }
.rec-t .rt { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--faint); }
.rec-t td.c-req { padding-left: 28px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.rec-t .none { color: var(--faint); }
.rec-t tr.f:hover > * { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.rec-none { margin-top: 24px; color: var(--muted); }
.rec-legend { margin-top: 26px; font-size: 13.5px; color: var(--faint); line-height: 1.6; max-width: 58em; }
.cat-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 48px 0 100px; }

/* Download Finale + Chapter 6 Reconnection Loom */
.dl { position: relative; padding: 24px 56px 96px var(--pad); }
.bridge-wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.bridge-wire .bw-fil { fill: none; stroke-linecap: round; will-change: stroke-dashoffset, opacity; }
.bridge-wire .bw-branch { fill: none; stroke-linecap: round; will-change: stroke-dashoffset, opacity; }
.bridge-wire .bw-dot { stroke: none; transition: opacity 0.28s var(--out), r 0.28s var(--out); }
.dl-loom {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(260px, 410px) minmax(0, 1fr);
  align-items: center; gap: 24px 52px; max-width: 1180px; margin-bottom: 22px;
}
.dl-loom-stage { position: relative; width: 100%; height: 212px; display: flex; align-items: center; justify-content: center; }
.bridge-sculp { width: 100%; height: 100%; }
.dl-thesis {
  position: relative; z-index: 2; margin: 0;
  font: 600 clamp(30px, 3.1vw, 44px)/1.04 var(--d); letter-spacing: -0.032em;
  color: var(--ink); text-wrap: balance; will-change: transform, opacity;
}
.dl-thesis span { font-weight: 300; color: var(--muted); }
.dl h2 { position: relative; z-index: 2; font: 600 60px/1 var(--d); letter-spacing: -0.04em; }
.pair { position: relative; z-index: 2; margin-top: 16px; font: 400 16px var(--f); color: var(--muted); min-height: 1.6em; }
.pair b { color: var(--ink); font-weight: 600; }
.pair.done b { color: var(--sig-green); }
.split { left: var(--gut); z-index: 2; }
.ends { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; margin-top: 52px; max-width: 1180px; }
.end { position: relative; padding-top: 28px; border-top: 1px solid var(--hair); }
.end h3 { font: 600 28px var(--d); letter-spacing: -0.02em; }
.end > p { margin: 8px 0 20px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.paired .end .btn { outline-color: color-mix(in srgb, var(--sig-green) 70%, transparent); }
.paired .end .btn.g { box-shadow: inset 0 0 0 1.5px var(--sig-green); }

.chip { position: absolute; top: -40px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--g2); box-shadow: 0 0 0 1px var(--edge); font: 500 12px var(--m); color: var(--ink); white-space: nowrap; }
.chip svg { color: var(--sig-green); }
html.js-motion:not(.rm) .chip { opacity: 0; }
html.rm .chip, html:not(.js-motion) .chip { display: none; }
.qr { display: grid; grid-template-columns: repeat(5, 4px); gap: 1px; }
.qr i { width: 4px; height: 4px; background: var(--ink); border-radius: 1px; }
.qr i.o { background: transparent; }

.foot { padding: 36px 56px 44px var(--pad); border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--faint); font-size: 13.5px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.tl { transition: opacity 0.3s var(--out); }
html.settling .tl, html.settling .pkt { opacity: 0 !important; }

@media (max-width: 1180px) {
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding: 28px 36px 0 56px; }
  .hero .copy { padding: 12px 0 16px; }
  .hero .hero-visual { min-height: 360px; justify-content: center; }
  .hero-sculp { height: 360px; margin-left: 0; }
  .showcase { grid-template-columns: minmax(0, 1fr); padding: 72px 36px 36px var(--pad); gap: 32px; }
  .st, .st.wide, .st.wide .lead, .st.flipped { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .st.flipped > div:nth-child(2), .st.flipped > .media { order: 0; }
  .dl-loom { grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: 20px 36px; }
}

@media (max-width: 1100px) {
  :root { --pad: 88px; }
  .pv { grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; }
  .rx { grid-template-columns: minmax(220px, 240px) minmax(0, 1fr); column-gap: 40px; }
  .rx-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  :root { --gut: 18px; --pad: 44px; }
  section, .stage, .day, .priv, .rec, .dl, .foot, .showcase { max-width: 100%; overflow-x: clip; }
  .top { padding: 0 18px; height: 60px; gap: 12px; }
  .top nav { display: none; }
  .tb { margin-left: auto; }
  .hero { padding: 18px 18px 0 var(--pad); }
  .hero h1 { font-size: 38px; }
  .hero .ctas { flex-direction: column; }
  .hero .ctas .btn { justify-content: center; }
  .hero .hero-visual { min-height: 250px; }
  .hero-sculp { height: 250px; width: 100%; }
  .showcase { padding: 56px 18px 24px var(--pad); gap: 24px; }
  .showcase h2 { font-size: 32px; }
  .showcase .scene { --sh: 900; }
  .showcase .mbp { top: 360px; }
  .showcase .px { transform: scale(1.45); transform-origin: 100% 0; }
  .day { padding: 80px 18px 20px var(--pad); }
  .day > h2 { font-size: 34px; }
  .st { padding: 64px 0 18px; }
  .st .hour { font-size: 64px; }
  .st h3 { font-size: 27px; }
  .stage { padding: 84px 18px 24px var(--pad); }
  .stage h2, .rec h2, .rec h1, .dl h2 { font-size: 36px; }
  .pv { display: block; margin-top: 20px; }
  .pb { width: 100%; }
  .cipher { margin-top: 18px; }
  .rec { padding: 88px 18px 16px var(--pad); }
  .cat-full { padding-top: 32px; }
  .rx { display: block; }
  .rx-link { display: none; }
  .rx-cat { width: 100%; align-items: center; }
  .rx-cat .chev { display: block; flex: none; }
  .rx-cat[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .rx-panel { display: none; visibility: visible; opacity: 1; transform: none; }
  .rx-panel.is-on { display: block; padding-bottom: 10px; }
  .rx.searching .rx-cat, .rx.searching .rx-panel:not(.rx-results) { display: none; }
  .rx.searching .rx-results { display: block; }
  .rx-f { display: block; padding: 14px 0; }
  .rec-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rec .rec-t, .rec .rec-t tbody, .rec .rec-t tr, .rec .rec-t th, .rec .rec-t td { display: block; width: auto; }
  .rec-t tr.cat th { font-size: 22px; padding: 40px 0 12px; }
  .rec-t .cat-node { bottom: 16px; }
  .rec .rec-t tr.f { display: block; padding: 16px 0; border-bottom: 1px solid var(--hair); }
  .rec-t tr.f > * { border: 0; padding: 0; }
  .rec-t tr.f th { padding: 0; }
  .rec .rec-t td.c-req { width: auto; text-align: left; padding: 8px 0 0; font-size: 13.5px; }
  .rec-t tr.f:hover > * { background: none; }
  .dl { padding: 20px 18px 72px var(--pad); }
  .dl-loom { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
  .dl-loom-stage { height: 172px; }
  .dl-thesis { font-size: 28px; }
  .ends { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .end { min-width: 0; }
  .foot { flex-direction: column; padding: 28px 18px 36px var(--pad); }
  .otp { left: 12px; right: 12px; width: auto; top: auto; bottom: 12px; padding: 12px 14px; }
  .otp .n { font-size: 32px; }
  .blocks { position: relative; left: 0; width: auto; bottom: 0; border-radius: 0; padding: 12px; gap: 5px; }
  .player { flex-direction: column; align-items: stretch; min-width: 0; }
  .player .pl { width: 100%; }
  .player ul { min-width: 0; width: 100%; }
  .st > div, .st > .media, .pv > div { min-width: 0; max-width: 100%; }
  .seg { display: flex; max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tl, .btn, .rx-cat, .cipher div, .bridge-wire .bw-dot { transition: none !important; }
  .dl-thesis { transform: none !important; opacity: 1 !important; will-change: auto; }
}
