/* qrtofu — landing page */

:root {
  --paper: #F2F0EA;
  --paper-2: #E8E5DC;
  --card: #FBFAF7;
  --ink: #0D0D0B;
  --ink-2: #2A2925;
  --mute: #6F6D65;
  --line: rgba(13, 13, 11, 0.12);
  --line-2: rgba(13, 13, 11, 0.06);
  --accent: #FF4D00;
  --ok: #148A4E;
  --warn: #B87500;
  --bad: #D93A3F;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, 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; }
code { font-family: var(--mono); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 400; }
em { font-style: normal; }

.soon {
  display: inline-flex; align-items: center; vertical-align: middle;
  font-family: inherit; font-size: 10.5px; font-weight: 600; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 8px 4px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  transform: translateY(-0.2em);
}

.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent::before { background: var(--ink); }
.btn-accent:hover { color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink::before { background: var(--accent); }
.btn-ink:hover { color: var(--ink); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: transform 0.5s var(--ease), background-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.04em; }
.brand-mark { width: 24px; height: 24px; color: var(--ink); transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--mute); position: relative; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 1020px) { .nav-links { display: none; } .nav-inner > .btn { margin-left: auto; } }

/* ---------- type ---------- */
.display {
  font-weight: 500; font-size: clamp(64px, 10.4vw, 168px); line-height: 0.86; letter-spacing: -0.065em;
  margin: 22px 0 28px;
}
.display em { color: var(--accent); }
.display-2 { font-weight: 500; font-size: clamp(48px, 7.6vw, 124px); line-height: 0.9; letter-spacing: -0.055em; }
.display-2 em { color: var(--mute); }
.h2 { font-weight: 500; font-size: clamp(40px, 5.6vw, 84px); line-height: 0.96; letter-spacing: -0.05em; }
.h2 em { color: var(--mute); }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 54ch; letter-spacing: -0.012em; }
.kicker { display: flex; align-items: center; gap: 12px; font: 400 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin-bottom: 26px; }
.kicker > .mono { color: var(--ink); padding: 5px 7px 4px; border: 1px solid var(--line); border-radius: 6px; }
.kicker::after { content: ''; flex: 1; height: 1px; background: var(--line); max-width: 120px; }
.sec-lede { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin-top: 26px; letter-spacing: -0.01em; }
.sec-head.wide { display: grid; grid-template-columns: 1fr; max-width: 980px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 56px; }
.sec-head.center .kicker::after { display: none; }

/* split-text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + clamp(40px, 7vh, 90px)) 0 clamp(48px, 7vh, 80px); display: flex; align-items: center; overflow: hidden; }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding: 9px 14px 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--card) 80%, transparent); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(6px); }
.eyebrow .sep { color: var(--mute); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vh, 64px); border-top: 1px solid var(--line); max-width: 640px; }
.hero-stats > div { padding: 18px 18px 0 0; }
.hero-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats dt { font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.04em; line-height: 1; }
.hero-stats dd { font-size: 13px; line-height: 1.4; color: var(--mute); margin-top: 8px; max-width: 22ch; }

.specimen { background: color-mix(in srgb, var(--card) 88%, transparent); border-radius: 24px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px -40px rgba(13, 13, 11, 0.35); backdrop-filter: blur(8px); }
.spec-head { display: flex; justify-content: space-between; color: var(--mute); padding: 2px 4px 14px; }
.spec-label { color: var(--ink); }
.spec-stage { position: relative; padding: 30px 0 0 30px; }
.hero-qr { width: 100%; aspect-ratio: 1; background: #fff; border-radius: 10px; overflow: visible; touch-action: none; }
.hero-qr rect.m { transform-box: fill-box; transform-origin: center; }
.dim { position: absolute; display: flex; align-items: center; gap: 8px; color: var(--mute); }
.dim i { flex: 1; height: 1px; background: currentColor; opacity: 0.5; position: relative; }
.dim i::before { content: ''; position: absolute; top: -4px; width: 1px; height: 9px; background: currentColor; }
.dim i:first-child::before { left: 0; }
.dim i:last-child::before { right: 0; }
.dim b { color: var(--ink); font-weight: 500; }
.dim-top { top: 4px; left: calc(30px + 13.8%); right: 13.8%; }
.dim-side { left: 0; top: calc(30px + 13.8%); bottom: 13.8%; width: 22px; flex-direction: column; }
.dim-side i { width: 1px; height: auto; flex: 1; }
.dim-side i::before { top: auto; left: -4px; width: 9px; height: 1px; }
.dim-side i:first-child::before { top: 0; }
.dim-side i:last-child::before { bottom: 0; }
.spec-foot { display: flex; flex-direction: column; gap: 6px; padding: 16px 4px 16px 34px; }
.spec-text { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; word-break: break-all; min-height: 1.5em; }
.spec-meta { color: var(--mute); font-size: 11px; }
.seg { position: relative; display: flex; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.seg button { position: relative; z-index: 1; flex: 1; padding: 10px 8px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--mute); transition: color 0.3s; white-space: nowrap; }
.seg button span { font-weight: 400; opacity: 0.6; margin-left: 2px; font-variant-numeric: tabular-nums; }
.seg button[aria-selected="true"] { color: var(--paper); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--ink); width: 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .specimen { max-width: 480px; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-bottom: 14px; }
  .hero-stats > div { padding: 14px 0; }
  .seg button { font-size: 12px; padding: 9px 4px; }
  .seg button span { display: none; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--paper); position: relative; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-weight: 500; font-size: clamp(28px, 3.2vw, 44px); line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }
.marquee i { width: 14px; height: 14px; flex: none; background: radial-gradient(circle, var(--accent) 0 2px, transparent 2.5px), var(--ink); border-radius: 3px; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px var(--paper); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- index ---------- */
.index { padding-block: clamp(96px, 12vw, 160px); }
.index-head { display: grid; grid-template-columns: 1fr; max-width: 900px; margin-bottom: 56px; }
.index-list { border-bottom: 1px solid var(--line); }
.index-list li { border-top: 1px solid var(--line); }
.index-list a {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 40px; align-items: center; gap: 20px;
  padding: 26px 10px; transition: color 0.35s var(--ease), padding 0.5s var(--ease);
}
.index-list a::before { content: ''; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); }
.index-list a:hover { color: var(--paper); padding-inline: 22px; }
.index-list a:hover::before { transform: scaleY(1); }
.index-list .idx { color: var(--mute); font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.index-list a:hover .idx { color: var(--accent); }
.index-list .ttl { font-weight: 500; font-size: clamp(22px, 2.5vw, 34px); letter-spacing: -0.035em; line-height: 1.1; }
.index-list .desc { color: var(--mute); font-size: 15px; transition: color 0.35s; }
.index-list a:hover .desc { color: rgba(242, 240, 234, 0.7); }
.index-list .go { font-size: 22px; justify-self: end; transition: transform 0.5s var(--ease); }
.index-list a:hover .go { transform: translateX(6px) rotate(-45deg); color: var(--accent); }
@media (max-width: 760px) {
  .index-list a { grid-template-columns: 44px 1fr 24px; }
  .index-list .desc { grid-column: 2 / 3; grid-row: 2; font-size: 14px; }
  .index-list .go { grid-row: 1; grid-column: 3; }
}

/* ---------- 01 smaller ---------- */
.smaller { border-top: 1px solid var(--line); }
.smaller-track { height: 280vh; position: relative; }
.smaller-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
.smaller-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ticks { margin-top: 30px; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: baseline; gap: 12px; font-size: 15px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }
.ticks b { font-weight: 500; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); min-width: 64px; }

.scanlab { background: var(--card); border-radius: 24px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.scanlab-bar { display: flex; align-items: center; gap: 14px; padding: 4px 4px 16px; flex-wrap: wrap; }
.scanlab-bar .live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.scanlab-sub { color: var(--mute); font-size: 11px; }
.scanlab-bar .step { margin-left: auto; color: var(--mute); display: inline-flex; align-items: baseline; gap: 8px; }
.scanlab-bar output { font: 500 24px/1 var(--mono); letter-spacing: -0.03em; color: var(--ink); text-transform: none; min-width: 3.4ch; text-align: right; font-variant-numeric: tabular-nums; }
.cams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cam { display: flex; flex-direction: column; gap: 10px; }
.cam-view { position: relative; aspect-ratio: 1; background: #ECEAE4; border-radius: 14px; overflow: hidden; }
.cam-view canvas { position: absolute; inset: 10%; width: 80%; height: 80%; image-rendering: pixelated; image-rendering: crisp-edges; }
.corners { position: absolute; inset: 6%; --c: var(--ok); transition: --c 0.3s;
  background:
    linear-gradient(var(--c), var(--c)) top left / 18% 2px, linear-gradient(var(--c), var(--c)) top left / 2px 18%,
    linear-gradient(var(--c), var(--c)) top right / 18% 2px, linear-gradient(var(--c), var(--c)) top right / 2px 18%,
    linear-gradient(var(--c), var(--c)) bottom left / 18% 2px, linear-gradient(var(--c), var(--c)) bottom left / 2px 18%,
    linear-gradient(var(--c), var(--c)) bottom right / 18% 2px, linear-gradient(var(--c), var(--c)) bottom right / 2px 18%;
  background-repeat: no-repeat; transition: inset 0.5s var(--ease), opacity 0.3s; }
.cam.lost .corners { --c: var(--bad); inset: 2%; opacity: 0.5; }
.cam figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 2px; }
.cam-name { font-weight: 500; font-size: 15px; letter-spacing: -0.02em; }
.cam.is-ours .cam-name::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 7px; background: var(--accent); border-radius: 1px; vertical-align: middle; }
.cam-n { color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px 5px; border-radius: 999px; font-size: 11px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); margin: 0 2px; transition: background-color 0.3s, color 0.3s; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cam.lost .badge { background: color-mix(in srgb, var(--bad) 13%, transparent); color: var(--bad); }
.cam-max { color: var(--mute); font-size: 11px; padding: 0 2px; }
.cam-max b { color: var(--ink); font-weight: 500; }
.rail { position: relative; height: 2px; background: var(--line); margin: 22px 4px 0; border-radius: 2px; }
.rail-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
.rail-label { position: absolute; right: 0; top: 10px; color: var(--mute); font-size: 10.5px; }
.footnote { margin-top: 40px; font-size: 12.5px; line-height: 1.55; color: var(--mute); max-width: 76ch; padding: 0 4px; }
@media (max-width: 960px) {
  .smaller-track { height: 240vh; }
  .smaller-grid { grid-template-columns: 1fr; gap: 22px; }
  .smaller .sec-lede { font-size: 15px; margin-top: 14px; }
  .smaller .h2 { font-size: clamp(34px, 9vw, 56px); }
  .smaller .kicker { margin-bottom: 14px; }
  .ticks, .footnote, .scanlab-sub { display: none; }
  .scanlab { padding: 12px; }
  .cams { gap: 8px; }
  .cam-name { font-size: 13px; }
  .cam-max { display: none; }
  .cam figcaption { flex-direction: column; gap: 2px; }
}
@media (max-width: 520px) { .eyebrow-extra { display: none; } }
@media (max-width: 960px) and (max-height: 760px) { .smaller .sec-lede { display: none; } }

/* ---------- 02 design studio ---------- */
.design { padding-block: clamp(56px, 7vw, 96px) clamp(96px, 12vw, 170px); }
.studio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px; align-items: stretch; }
.studio-stage {
  position: relative; border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 560px;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(255, 255, 255, 0.9), transparent 70%),
    repeating-linear-gradient(0deg, var(--line-2) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 24px),
    var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.studio-preview { width: min(340px, 72%); aspect-ratio: 1; filter: drop-shadow(0 30px 40px rgba(13, 13, 11, 0.18)); }
.studio-preview svg { width: 100%; height: 100%; border-radius: 6px; }
.studio-readout { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; color: var(--ink-2); }
.studio-readout span { padding: 0 12px; border-left: 1px solid var(--line); }
.studio-readout span:first-child { border-left: 0; }
.studio-panel { display: flex; flex-direction: column; gap: 20px; background: var(--card); border-radius: 28px; padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.ctrl-label { color: var(--mute); margin-bottom: 10px; font-size: 11px; }
.ctrl.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(13, 13, 11, 0.18); position: relative; transition: transform 0.3s var(--ease); }
.sw:hover { transform: scale(1.08); }
.sw.on::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--ink); }
.sw-custom { cursor: pointer; background: conic-gradient(from 0deg, #ff4d00, #f2c200, #19b36b, #1f2bd8, #a43ad9, #ff4d00); }
.sw-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; cursor: pointer; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ctrl-note { margin-top: 10px; font-size: 13px; color: var(--ink-2); padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 9%, transparent); }

.report { width: min(460px, 100%); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -30px rgba(13, 13, 11, 0.3); padding: 14px; background: #fff; }
.report-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px 12px; }
.report-head .mono { color: var(--mute); font-size: 11px; }
.report-head strong { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; transition: color 0.3s; }
.report[data-state="ok"] strong { color: var(--ok); }
.report[data-state="warn"] strong { color: var(--warn); }
.report[data-state="fail"] strong { color: var(--bad); }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; letter-spacing: -0.01em; transition: box-shadow 0.3s, background-color 0.3s; }
.checks li[data-s="fail"] { background: color-mix(in srgb, var(--bad) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 35%, transparent); }
.checks li[data-s="warn"] { background: color-mix(in srgb, var(--warn) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 35%, transparent); }
.checks i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); transition: background-color 0.3s; flex: none; }
.checks i svg { width: 11px; height: 11px; }
.checks li[data-s="ok"] i { background: var(--ok); color: #fff; }
.checks li[data-s="warn"] i { background: var(--warn); color: #fff; }
.checks li[data-s="fail"] i { background: var(--bad); color: #fff; }
.checks li[data-s="run"] i { background: conic-gradient(var(--ink) 0 25%, var(--paper-2) 0); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.export { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.export .btn { --h: 44px; }
.export-note { color: var(--mute); font-size: 10.5px; margin-left: auto; }
@media (max-width: 960px) { .studio { grid-template-columns: 1fr; } .studio-stage { min-height: 420px; } }
@media (max-width: 480px) { .ctrl.two { grid-template-columns: 1fr; } .export-note { margin-left: 0; } }

/* ---------- 03 links ---------- */
.links { padding-block: clamp(96px, 12vw, 170px); border-top: 1px solid var(--line); }
.swap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.8fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.poster { position: relative; display: flex; flex-direction: column; align-items: center; }
.poster-paper { width: 100%; max-width: 340px; aspect-ratio: 3 / 4; background: #fff; padding: 26px 26px 22px; display: flex; flex-direction: column; transform: rotate(-3deg); box-shadow: 0 1px 0 rgba(13, 13, 11, 0.06), 0 40px 60px -30px rgba(13, 13, 11, 0.35); border-radius: 4px; }
.poster-brand { color: var(--mute); font-size: 10.5px; }
.poster-title { font-weight: 600; font-size: clamp(30px, 3vw, 40px); line-height: 0.95; letter-spacing: -0.055em; margin-top: 14px; }
.poster-title em { color: var(--accent); }
.poster-qr { width: 52%; margin-top: auto; align-self: flex-start; }
.poster-qr svg { width: 100%; }
.poster-url { font-size: 10.5px; margin-top: 8px; }
.stamp { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); padding: 8px 12px 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); font-size: 11px; }
.check { width: 14px; height: 14px; border-radius: 50%; background: var(--ok); position: relative; }
.check::after { content: ''; position: absolute; left: 4.5px; top: 3px; width: 3.5px; height: 6px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.swap-mid { display: flex; flex-direction: column; gap: 18px; }
.wire { position: relative; height: 1px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); opacity: 0.35; }
.wire-dot { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); animation: wire 2.4s var(--ease) infinite; }
@keyframes wire { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 9px); opacity: 0; } }
.dest { background: var(--card); border-radius: 18px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.dest-label, .dest-meta { color: var(--mute); font-size: 11px; }
.dest-url { font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest-url::after { content: ''; display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 3px; vertical-align: -0.12em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.timeline { display: grid; gap: 6px; }
.timeline button { width: 100%; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; text-align: left; font-size: 15px; font-weight: 500; letter-spacing: -0.015em; transition: background-color 0.3s, color 0.3s; position: relative; overflow: hidden; }
.timeline button::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.timeline time { color: var(--mute); font-size: 11px; transition: color 0.3s; }
.timeline button:hover { background: var(--line-2); }
.timeline li.on button { background: var(--ink); color: var(--paper); }
.timeline li.on time { color: var(--accent); }
.timeline li.on button::after { animation: progress var(--cycle, 3.6s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.phone { justify-self: center; width: 100%; max-width: 250px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 9px; background: var(--ink); box-shadow: 0 40px 60px -30px rgba(13, 13, 11, 0.45), inset 0 0 0 1.5px #3a3935; }
.phone-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.phone-bar { margin: 26px 12px 0; padding: 7px 10px 6px; border-radius: 9px; background: #F1F0EC; font-size: 9.5px; color: var(--ink-2); text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screens { position: relative; flex: 1; }
.screen { position: absolute; inset: 0; padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; }
.screen p { color: var(--mute); font-size: 10px; }
.screen h4 { font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: -0.05em; }
.screen ul { margin-top: 8px; display: grid; gap: 0; }
.screen li { display: flex; justify-content: space-between; font-size: 12.5px; padding: 9px 0; border-top: 1px solid var(--line); }
.screen.s0 { background: linear-gradient(180deg, #fff 60%, #F3F7EC); }
.screen.s1 { background: linear-gradient(180deg, #fff 40%, #FFEBD9); }
.screen.s1 h4 { color: var(--accent); }
.screen.s2 { background: var(--ink); color: var(--paper); }
.screen.s2 p { color: #9a988f; }
.fake-btn { margin-top: auto; align-self: stretch; text-align: center; padding: 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; }
.screen.s2 .fake-btn { background: var(--accent); color: var(--ink); }

.chipline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(48px, 6vw, 72px); }
.chipline li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.chipline .soon { transform: none; }
@media (max-width: 1020px) {
  .swap { grid-template-columns: 1fr 1fr; }
  .swap-mid { grid-column: 1 / -1; grid-row: 2; }
  .wire { display: none; }
}
@media (max-width: 560px) { .poster-paper { padding: 18px; } .phone { max-width: 190px; border-radius: 30px; } .phone-screen { border-radius: 23px; } .screen h4 { font-size: 22px; } }

/* ---------- dark sections ---------- */
.dark { background: var(--ink); color: var(--paper); --line: rgba(242, 240, 234, 0.12); --line-2: rgba(242, 240, 234, 0.06); --mute: #8E8C84; --ink-2: #CFCCC3; }
.dark .kicker > .mono { color: var(--paper); }
.dark ::selection { color: var(--ink); }

/* ---------- 04 analytics ---------- */
.analytics { padding-block: clamp(96px, 12vw, 170px); position: relative; }
.dash { background: #151513; border-radius: 28px; padding: clamp(18px, 2.4vw, 28px); box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -40px rgba(0, 0, 0, 0.8); }
.dash-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dash-title { display: flex; flex-direction: column; gap: 6px; }
.dash-title strong { font-weight: 500; font-size: 22px; letter-spacing: -0.03em; }
.dash-title .mono { color: var(--mute); font-size: 11px; }
.plan { display: flex; align-items: center; gap: 12px; }
.plan > .mono { color: var(--mute); font-size: 11px; }
.plan-seg, .wl-switch, .bill { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(242, 240, 234, 0.07); }
.plan-seg button, .wl-switch button, .bill button { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--mute); transition: color 0.3s; white-space: nowrap; }
.plan-seg button.on { color: var(--ink); }
.plan-pill, .wl-pill, .bill-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--paper); }
.dash[data-plan="cancelled"] .plan-pill { background: var(--accent); }
.cancel-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); font-size: 14.5px; }
.cancel-note .mono { color: var(--accent); font-size: 11px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.kpis > div { padding: 22px 18px 22px 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.kpis > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.kpis .mono { color: var(--mute); font-size: 11px; }
.kpis strong { font-weight: 500; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.live-tag { position: absolute; top: 22px; right: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-style: normal; font-size: 10.5px; }
.live-tag .pulse { width: 6px; height: 6px; }
.chart { position: relative; height: 240px; margin: 24px 0 8px; }
.chart svg { width: 100%; height: 220px; overflow: visible; }
.chart .grid line { stroke: var(--line-2); }
.cursor-line { stroke: rgba(242, 240, 234, 0.35); stroke-dasharray: 3 3; opacity: 0; transition: opacity 0.2s; }
.chart:hover .cursor-line { opacity: 1; }
.chart-tip { position: absolute; top: -6px; transform: translateX(-50%); padding: 6px 9px 5px; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 11px; pointer-events: none; white-space: nowrap; }
.chart-x { display: flex; justify-content: space-between; color: var(--mute); font-size: 10.5px; margin-top: 4px; }
.dash-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.panel { background: rgba(242, 240, 234, 0.035); border-radius: 18px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line-2); }
.panel-label { color: var(--mute); font-size: 11px; margin-bottom: 14px; }
.bars li { display: grid; grid-template-columns: 84px 1fr 52px; align-items: center; gap: 10px; font-size: 13.5px; padding: 6px 0; }
.bars i { height: 6px; border-radius: 6px; background: rgba(242, 240, 234, 0.08); position: relative; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0; width: calc(var(--w) * 100%); background: var(--accent); border-radius: 6px; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1.4s var(--ease); }
.bars li:nth-child(n+2) i::after { background: var(--paper); opacity: 0.75; }
.bars b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.split-bar { display: flex; gap: 3px; height: 10px; }
.split-bar i { flex: 0 0 calc(var(--w) * 100% - 2px); border-radius: 3px; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1.2s var(--ease); }
.split-bar i:nth-child(2) { background: var(--paper); }
.split-bar i:nth-child(3) { background: var(--mute); }
.legend { display: flex; gap: 14px; margin-top: 10px; color: var(--mute); font-size: 11px; }
.legend b { color: var(--paper); font-weight: 500; }
.cities li { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; border-top: 1px solid var(--line-2); }
.cities b { font-weight: 500; font-variant-numeric: tabular-nums; }
.utm { display: block; font-size: 12.5px; line-height: 1.75; color: var(--paper); word-break: break-all; }
.utm span { color: var(--mute); }
.panel-note { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.panel-note b { font-weight: 600; color: var(--accent); }
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.promise li { padding: 26px 26px 0 0; display: flex; flex-direction: column; gap: 10px; }
.promise li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.promise .mono { color: var(--accent); font-size: 11px; }
.promise strong { font-weight: 500; font-size: 22px; letter-spacing: -0.03em; }
.promise p { color: var(--mute); font-size: 15px; max-width: 32ch; }
@media (max-width: 900px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dash-cols, .promise { grid-template-columns: 1fr; }
  .promise li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
}

/* ---------- 05 campaigns ---------- */
.campaigns { padding-block: clamp(96px, 12vw, 170px); }
.camp { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.camp-card { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.camp-eyebrow { color: #8E8C84; font-size: 11px; }
.camp-card h3 { font-weight: 500; font-size: 34px; letter-spacing: -0.04em; line-height: 1; margin-top: -10px; }
.camp-meta { display: grid; gap: 0; border-top: 1px solid rgba(242, 240, 234, 0.12); }
.camp-meta > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(242, 240, 234, 0.12); font-size: 14px; }
.camp-meta dt { color: #8E8C84; font-size: 11px; }
.csv { margin-top: auto; background: rgba(242, 240, 234, 0.05); border-radius: 18px; padding: 16px; }
.csv-row { display: flex; justify-content: space-between; color: #CFCCC3; font-size: 11px; }
.csv-row span:last-child { color: var(--accent); }
.csv-bar { height: 3px; border-radius: 3px; background: rgba(242, 240, 234, 0.1); margin: 12px 0 14px; overflow: hidden; }
.csv-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.csv-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.csv-grid span { aspect-ratio: 1; border-radius: 2px; background: var(--paper); opacity: 0.12; }
.csv-grid span.on { opacity: 1; }
.board { background: var(--card); border-radius: 28px; padding: 10px 22px 14px; box-shadow: inset 0 0 0 1px var(--line); }
.board-head { display: grid; grid-template-columns: 34px 1fr 90px; gap: 14px; padding: 14px 0; color: var(--mute); font-size: 11px; border-bottom: 1px solid var(--line); }
.board-head span:last-child { text-align: right; }
.board-list { position: relative; }
.board-list li { display: grid; grid-template-columns: 34px 54px 1fr 90px; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); background: var(--card); position: relative; }
.board-list li:last-child { border-bottom: 0; }
.board-list .rank { font-size: 13px; font-weight: 500; color: var(--mute); font-variant-numeric: tabular-nums; }
.board-list .mini { width: 54px; height: 54px; background: #fff; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); padding: 2px; }
.board-list .mini svg { width: 100%; height: 100%; }
.board-list .nm { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.board-list .nm strong { font-weight: 500; font-size: 16px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.board-list .nm code { font-size: 11px; color: var(--mute); font-weight: 400; }
.board-list .bar { height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.board-list .bar i { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.board-list li.top .bar i { background: var(--accent); }
.board-list .ct { text-align: right; font-weight: 500; font-size: 20px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.winner { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 7px 4px; border-radius: 999px; background: var(--accent); color: var(--ink); opacity: 0; transform: scale(0.8); transition: opacity 0.4s, transform 0.4s var(--ease); }
.board-list li.top .winner { opacity: 1; transform: none; }
@media (max-width: 900px) { .camp { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .board { padding-inline: 14px; } .board-list li { grid-template-columns: 22px 44px 1fr 60px; gap: 10px; } .board-list .mini { width: 44px; height: 44px; } .board-head { grid-template-columns: 22px 1fr 60px; } .board-list .ct { font-size: 16px; } }

/* ---------- 06 agencies ---------- */
.agencies { padding-block: clamp(96px, 12vw, 170px); background: var(--paper-2); border-block: 1px solid var(--line); }
.wl { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 20px; align-items: stretch; }
.wl-report { --b: #1E3A8A; --b-soft: #E6ECF8; position: relative; background: var(--card); border-radius: 28px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; transition: --b 0.5s; }
.wl-report[data-brand="qrtofu"] { --b: #FF4D00; --b-soft: #FFE6DA; }
.wl-switch { align-self: flex-start; background: var(--paper-2); }
.wl-switch button { color: var(--mute); }
.wl-switch button.on { color: var(--paper); }
.wl-pill { background: var(--ink); }
.doc { background: #fff; border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 rgba(13, 13, 11, 0.05), 0 30px 60px -36px rgba(13, 13, 11, 0.3); display: flex; flex-direction: column; gap: 16px; border-top: 4px solid var(--b); transition: border-color 0.5s; }
.doc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.doc-logo { position: relative; height: 26px; min-width: 190px; }
.doc-logo > span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 18px; letter-spacing: -0.035em; white-space: nowrap; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.doc-logo svg { width: 22px; height: 22px; }
.logo-a { color: var(--b); }
.logo-a svg { color: var(--b); }
.wl-report[data-brand="agency"] .logo-q, .wl-report[data-brand="qrtofu"] .logo-a { opacity: 0; transform: translateY(10px); }
.doc-date { color: var(--mute); font-size: 10.5px; }
.doc-for { color: var(--mute); font-size: 11px; }
.doc-for b { color: var(--ink); font-weight: 500; }
.doc-h { font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -0.035em; line-height: 1.12; max-width: 24ch; }
.doc-h em { color: var(--b); font-weight: 600; transition: color 0.5s; }
.doc-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 10px; border-radius: 12px; background: var(--b-soft); transition: background-color 0.5s; }
.doc-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 2px 2px; background: var(--b); opacity: 0.9; transform-origin: bottom; transition: background-color 0.5s; }
.doc-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--mute); font-size: 10.5px; }
.doc-approve { color: var(--b); transition: color 0.5s; }
.handoff { position: relative; background: var(--card); border-radius: 28px; padding: 26px 26px 26px 26px; box-shadow: inset 0 0 0 1px var(--line); }
.handoff-label { color: var(--mute); font-size: 11px; margin-bottom: 22px; }
.handoff ol { display: grid; gap: 26px; position: relative; z-index: 1; }
.handoff li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; }
.node { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px var(--mono); transition: background-color 0.4s, color 0.4s, box-shadow 0.4s; }
.handoff li.on .node { background: var(--ink); color: var(--paper); box-shadow: none; }
.handoff li:last-child.on .node { background: var(--accent); color: var(--ink); }
.handoff strong { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; display: block; margin-top: 7px; }
.handoff p { color: var(--mute); font-size: 14px; margin-top: 4px; }
.handoff-rail { position: absolute; left: 43px; top: 74px; height: 0; width: 2px; background: var(--line); border-radius: 2px; }
.handoff-rail i { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.honest { margin-top: 20px; display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 24px 26px; border-radius: 22px; background: var(--ink); color: var(--paper); }
.honest .mono { color: var(--accent); font-size: 11px; padding-top: 4px; }
.honest p:last-child { font-size: 16px; line-height: 1.55; max-width: 72ch; color: #DAD7CE; }
.agencies .chipline { margin-top: 36px; }
@media (max-width: 900px) { .wl { grid-template-columns: 1fr; } .honest { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- 07 personal ---------- */
.personal { padding-block: clamp(96px, 12vw, 170px); }
.bcard-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bcard { width: 100%; max-width: 480px; aspect-ratio: 3.5 / 2; perspective: 1400px; justify-self: center; text-align: left; }
.bcard-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.bcard.flipped .bcard-inner { transform: rotateY(180deg); }
.bcard-face { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; padding: clamp(18px, 3vw, 30px); box-shadow: 0 1px 0 rgba(13, 13, 11, 0.06), 0 40px 70px -36px rgba(13, 13, 11, 0.45); overflow: hidden; }
.front { background: #fff; }
.front::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 40px; background: var(--accent); transform: rotate(18deg); opacity: 0.95; }
.bc-top { color: var(--mute); font-size: 10.5px; }
.bc-name { font-weight: 600; font-size: clamp(32px, 3.6vw, 48px); line-height: 0.95; letter-spacing: -0.055em; margin-top: auto; }
.bc-role { color: var(--ink-2); font-size: 11px; margin-top: 10px; }
.bc-flip { position: absolute; right: 18px; top: 18px; color: var(--mute); font-size: 10px; z-index: 1; }
.back { background: var(--ink); color: var(--paper); transform: rotateY(180deg); flex-direction: row; align-items: center; gap: clamp(16px, 3vw, 28px); }
.bc-qr { width: 38%; aspect-ratio: 1; background: #fff; border-radius: 6px; flex: none; }
.bc-qr svg { width: 100%; height: 100%; }
.bc-back-copy { display: flex; flex-direction: column; gap: 10px; }
.bc-back-copy .mono { font-size: 11px; color: #CFCCC3; }
.bc-url { color: var(--accent) !important; font-size: 13px !important; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs figure { background: var(--card); border-radius: 22px; padding: 16px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.vs figure.is-ours { box-shadow: inset 0 0 0 1.5px var(--ink); }
.vs-qr { background: #fff; border-radius: 10px; aspect-ratio: 1; padding: 6%; }
.vs-qr svg { width: 100%; height: 100%; }
.vs figcaption { display: flex; flex-direction: column; gap: 4px; }
.vs figcaption strong { font-weight: 500; font-size: 15px; letter-spacing: -0.02em; }
.vs figcaption .mono { color: var(--mute); font-size: 11px; }
.vs-note { grid-column: 1 / -1; color: var(--mute); font-size: 14px; }
@media (max-width: 900px) { .bcard-row { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing { padding-block: clamp(96px, 12vw, 170px); border-top: 1px solid var(--line); }
.bill { margin-top: 30px; background: var(--paper-2); }
.bill button { color: var(--mute); }
.bill button.on { color: var(--paper); }
.bill button .save { font-size: 12px; font-weight: 600; margin-left: 6px; color: var(--accent); }
.bill-pill { background: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-card { background: var(--card); border-radius: 28px; padding: 28px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; transition: transform 0.5s var(--ease); }
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured { background: var(--ink); color: var(--paper); --line: rgba(242, 240, 234, 0.12); --mute: #8E8C84; box-shadow: 0 40px 80px -40px rgba(13, 13, 11, 0.6); }
.plan-name { color: var(--mute); display: flex; align-items: center; gap: 10px; }
.plan-name .tag { font-size: 10px; padding: 4px 7px 3px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.price { display: flex; align-items: baseline; font-weight: 500; font-size: clamp(54px, 5.4vw, 76px); letter-spacing: -0.06em; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.price .cur { font-size: 0.45em; align-self: flex-start; margin-top: 0.25em; margin-right: 4px; letter-spacing: 0; }
.price .per { font-size: 16px; letter-spacing: -0.01em; color: var(--mute); margin-left: 6px; font-weight: 400; }
.plan-for { font-size: 15px; color: var(--mute); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan-card ul { display: grid; gap: 11px; margin-bottom: 18px; }
.plan-card li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.plan-card li::before { content: ''; width: 8px; height: 8px; margin-top: 6px; border-radius: 2px; background: currentColor; }
.plan-card.featured li::before { background: var(--accent); }
.plan-card li.muted { color: var(--mute); font-size: 13px; }
.plan-card li.muted::before { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.plan-card .btn { margin-top: auto; }
.plan-card.featured .btn-accent::before { background: var(--paper); }
.plan-card.featured .btn-accent:hover { color: var(--ink); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- faq ---------- */
.faq { padding-block: clamp(96px, 12vw, 170px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; border-top: 1px solid var(--line); }
.faq .sec-head { position: sticky; top: 100px; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 500; font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -0.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; transition: transform 0.5s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--accent); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 48px 26px 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 64ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .sec-head { position: static; } }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(120px, 16vw, 220px); }
.cta-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta .kicker::after { display: none; }
.cta .display-2 { max-width: 13ch; }
.signup { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; padding: 8px; border-radius: 999px; background: rgba(242, 240, 234, 0.07); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.signup input, .signup select { height: 50px; border-radius: 999px; border: 0; background: rgba(242, 240, 234, 0.08); color: var(--paper); padding: 0 20px; font: 400 15px var(--sans); outline: none; transition: box-shadow 0.2s; }
.signup input { width: min(300px, 70vw); }
.signup input::placeholder { color: #8E8C84; }
.signup input:focus, .signup select:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.signup select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, #8E8C84 50%), linear-gradient(135deg, #8E8C84 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.signup select option { color: var(--ink); }
.signup-done { margin-top: 44px; color: var(--accent); font-size: 14px; }
.cta-note { margin-top: 26px; color: #8E8C84; font-size: 11px; }
@media (max-width: 640px) { .signup { border-radius: 24px; flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; } .signup input { width: 100%; } }

/* ---------- footer ---------- */
.footer { padding: clamp(56px, 8vw, 96px) 0 32px; background: var(--paper); }
.foot-mark { width: 100%; }
.foot-mark svg { width: 100%; height: auto; overflow: visible; }
.foot-mark rect { transform-box: fill-box; transform-origin: center; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mute); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.foot-row nav a { color: var(--ink-2); transition: color 0.2s; }
.foot-row nav a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .wire-dot, .pulse::after, .dest-url::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
