/* ==========================================================================
   Unwrapped — design system
   Dark-only by design. Chart colours (--c1…--c4) are a validated categorical
   palette for the dark surfaces below (lightness band, chroma, CVD & contrast).
   ========================================================================== */

/* Basic Latin for every page; Latin Extended (Turkish ğ ş İ, Polish ł…) only
   downloads on pages that use those letters. */
@font-face {
  font-family: 'Bricolage';
  src: url('../fonts/bricolage-wght.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  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: 'Bricolage';
  src: url('../fonts/bricolage-wght-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-wght-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-wght.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
  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: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-wght-ext.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  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: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic-ext.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-2: #0b0b11;
  --surface: #101017;
  --surface-2: #16161f;
  --surface-3: #1e1e2a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.22);
  --text: #f4f4f6;
  --text-2: #b9b9c6;
  --muted: #858596;

  --signal: #d7ff3a;
  --signal-2: #b9f227;
  --signal-ink: #0a0a0e;
  --uv: #8f7dff;
  --uv-glow: rgba(143, 125, 255, 0.35);

  /* validated chart palette (dark) */
  --c1: #8f7dff;
  --c2: #e0574a;
  --c3: #1a9e8e;
  --c4: #b8820f;
  /* status (reserved meaning, always with icon + label) */
  --good: #0ca30c;
  --warning: #fab219;
  --serious: #ec835a;
  --critical: #d03b3b;
  --grid: #24242f;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --font-display: 'Bricolage', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', ui-serif, Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: 16px;
  --max: 1200px;
  --header-h: 68px;
}

@media (min-width: 720px) {
  :root { --gutter: 28px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 40px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--signal); color: var(--signal-ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
  background: var(--signal); color: var(--signal-ink); border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- atmosphere ---------- */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.045; mix-blend-mode: overlay;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.aurora {
  position: absolute; inset: -20% 0 auto; height: 1100px; pointer-events: none; z-index: 0; filter: blur(60px);
  background:
    radial-gradient(40% 35% at 20% 30%, rgba(143, 125, 255, 0.28), transparent 70%),
    radial-gradient(30% 30% at 80% 20%, rgba(215, 255, 58, 0.12), transparent 70%),
    radial-gradient(35% 30% at 60% 60%, rgba(224, 87, 74, 0.10), transparent 70%);
  animation: aurora 18s var(--ease) infinite alternate;
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(-3%, 4%, 0) scale(0.98); }
}
.page { position: relative; z-index: 1; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 11vw, 150px) 0; }
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.stack > * + * { margin-top: var(--stack, 16px); }
.grid { display: grid; gap: 16px; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-size: clamp(52px, 10.5vw, 148px);
}
.h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; font-size: clamp(40px, 6.6vw, 88px); }
.h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(34px, 5vw, 64px); }
.h3 { font-family: var(--font-display); font-weight: 650; letter-spacing: -0.025em; line-height: 1.12; font-size: clamp(22px, 2.4vw, 30px); }
.h4 { font-weight: 650; letter-spacing: -0.01em; font-size: 17px; line-height: 1.35; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.tiny > svg, .small > svg { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.18em; }
.mono { font-family: var(--font-mono); font-feature-settings: 'zero' 1; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.grad {
  background: linear-gradient(100deg, var(--signal) 0%, #f6ffc9 30%, var(--uv) 65%, var(--signal) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--signal); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; font-weight: 650; font-size: 15px; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; user-select: none;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.3s, color 0.2s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--signal); color: var(--signal-ink); box-shadow: 0 0 0 0 rgba(215, 255, 58, 0.4), 0 10px 40px -10px rgba(215, 255, 58, 0.55); }
.btn--primary:hover { background: #e6ff7a; box-shadow: 0 0 0 6px rgba(215, 255, 58, 0.12), 0 16px 50px -12px rgba(215, 255, 58, 0.7); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line-3); }
.btn--dark { background: var(--text); color: var(--bg); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn:active { transform: scale(0.97); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--text); }
.link-arrow::after { content: '→'; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  font-size: 13px; color: var(--text-2); white-space: nowrap;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 650; letter-spacing: 0.01em; background: rgba(215, 255, 58, 0.12); color: var(--signal);
}
.badge svg { width: 13px; height: 13px; flex: none; }
.badge--uv { background: rgba(143, 125, 255, 0.14); color: #c3b9ff; }
.badge--muted { background: rgba(255, 255, 255, 0.06); color: var(--text-2); }
.kbd { font-family: var(--font-mono); font-size: 12px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface-2); }

/* ---------- cards ---------- */
.card {
  position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--surface);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(143, 125, 255, 0.14), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.card:hover::after { opacity: 1; }
.card--pad { padding: clamp(22px, 3vw, 34px); }
.hairline { border-top: 1px solid var(--line); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(7, 7, 11, 0.72); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color 0.2s, background-color 0.2s; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.header-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 639px) {
  .header-actions .get-pro, .header-actions .pro-pill { display: none !important; }
  .logo { font-size: 18px; }
}
.pro-pill { display: none; }
.is-pro .pro-pill { display: inline-flex; }
.is-pro .get-pro { display: none; }
.menu-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease); }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: rgba(7, 7, 11, 0.96); backdrop-filter: blur(20px);
  padding: 24px var(--gutter); display: flex; flex-direction: column; gap: 4px; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.3s var(--ease);
}
.menu-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a { font-family: var(--font-display); font-size: 30px; font-weight: 650; letter-spacing: -0.03em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 7vw, 90px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
@media (max-width: 480px) {
  .hero .chip { white-space: normal; height: auto; padding: 7px 14px 7px 10px; line-height: 1.35; max-width: 100%; }
}
.hero-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero-title { max-width: 13ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { to { transform: none; } }
.hero-title .serif { font-size: 1.08em; letter-spacing: -0.03em; padding-right: 0.06em; }
.hero-sub { max-width: 640px; text-align: center; font-size: clamp(17px, 1.7vw, 20px); color: var(--text-2); line-height: 1.6; opacity: 0; animation: fade-up 0.9s 0.35s var(--ease) forwards; }
.hero-sub b { color: var(--text); font-weight: 600; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-in { opacity: 0; animation: fade-up 0.9s var(--d, 0.5s) var(--ease) forwards; }

/* ---------- drop zone ---------- */
.drop {
  --angle: 0deg;
  position: relative; width: 100%; max-width: 760px; margin: 0 auto; border-radius: var(--r-xl); padding: 2px;
  background: conic-gradient(from var(--angle), rgba(215, 255, 58, 0.0) 0deg, rgba(215, 255, 58, 0.9) 50deg, rgba(143, 125, 255, 0.85) 120deg, rgba(255, 255, 255, 0.06) 170deg, rgba(255, 255, 255, 0.06) 330deg, rgba(215, 255, 58, 0) 360deg);
  animation: spin-border 6s linear infinite;
  box-shadow: 0 30px 120px -40px rgba(143, 125, 255, 0.45);
}
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --angle: 360deg; } }
.drop-inner {
  position: relative; border-radius: calc(var(--r-xl) - 2px); background: radial-gradient(120% 140% at 50% 0%, #17172a 0%, #0d0d14 55%), var(--surface);
  padding: clamp(26px, 4vw, 44px) clamp(18px, 4vw, 44px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; overflow: hidden;
  transition: background-color 0.3s;
}
.drop-icon {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; position: relative;
  background: linear-gradient(145deg, rgba(215, 255, 58, 0.16), rgba(143, 125, 255, 0.16)); border: 1px solid var(--line-2);
}
.drop-icon svg { width: 34px; height: 34px; color: var(--signal); transition: transform 0.5s var(--ease-spring); }
.drop:hover .drop-icon svg, .drop.is-over .drop-icon svg { transform: translateY(-4px) rotate(-6deg); }
.drop-title { font-family: var(--font-display); font-weight: 650; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em; }
.drop-hint { color: var(--muted); font-size: 14px; }
.drop-tip { display: inline-flex; align-items: center; gap: 8px; max-width: 520px; margin: -6px auto 0; padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--text-2); background: rgba(143, 125, 255, 0.1); border: 1px solid rgba(143, 125, 255, 0.22); }
.drop-tip svg { width: 15px; height: 15px; flex: none; color: #c9c0ff; }
@media (max-width: 560px) { .drop-tip { border-radius: 14px; text-align: start; } }
.drop-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.drop-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.drop-platforms .pf { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.drop-platforms .pf svg { width: 14px; height: 14px; }
.drop.is-over { animation-duration: 1.4s; }
.drop.is-over .drop-inner { background: radial-gradient(120% 140% at 50% 0%, #22233a 0%, #11111b 60%); }
.drop-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-overlay {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(7, 7, 11, 0.82); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.drop-overlay.is-on { opacity: 1; }
.drop-overlay .box { border: 2px dashed var(--signal); border-radius: var(--r-xl); padding: 60px 70px; text-align: center; font-family: var(--font-display); font-size: clamp(26px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; }

.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; color: var(--text-2); font-size: 14px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--signal); }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--font-mono); font-size: 13px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: '✦'; color: var(--line-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- promise / privacy proof ---------- */
.promise { display: grid; gap: 18px; }
@media (min-width: 960px) { .promise { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; } }
.vs { display: grid; gap: 12px; }
.vs-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.vs-row:last-child { border-bottom: 0; }
.vs-head { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.vs-col { width: 92px; text-align: center; display: inline-flex; justify-content: center; }
.vs-yes, .vs-no { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.vs-yes { color: var(--signal); }
.vs-no { color: #ff8b80; }
.vs-yes svg, .vs-no svg { width: 16px; height: 16px; }
.monitor { display: flex; flex-direction: column; gap: 18px; }
.monitor-screen {
  border-radius: var(--r); background: #050508; border: 1px solid var(--line-2); padding: 18px; font-family: var(--font-mono); font-size: 13px;
  box-shadow: inset 0 0 60px rgba(143, 125, 255, 0.06);
}
.monitor-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.06); color: var(--text-2); }
.monitor-line:last-child { border: 0; }
.monitor-line b { color: var(--text); font-weight: 600; }
.monitor-big { display: flex; align-items: baseline; gap: 12px; }
.monitor-big .value { font-family: var(--font-ui); font-weight: 700; font-size: clamp(64px, 9vw, 104px); letter-spacing: -0.05em; line-height: 0.9; color: var(--signal); }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(215, 255, 58, 0.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(215, 255, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 255, 58, 0); } }

/* ---------- bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento .b-1 { grid-column: span 3; }
  .bento .b-2 { grid-column: span 3; }
  .bento .b-3 { grid-column: span 2; }
  .bento .b-4 { grid-column: span 2; }
  .bento .b-5 { grid-column: span 2; }
  .bento .b-6 { grid-column: span 6; }
}
.tile { display: flex; flex-direction: column; gap: 14px; min-height: 340px; padding: clamp(22px, 2.6vw, 30px); }
.tile-art { flex: 1; position: relative; min-height: 150px; border-radius: var(--r); overflow: hidden; }
.tile p { color: var(--text-2); font-size: 15px; }
.tile > .badge, .tile > .link-arrow { align-self: flex-start; }
.tile .tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* tile art: list */
.art-list { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 6px 2px; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); }
.art-list .rows { display: flex; flex-direction: column; gap: 8px; animation: scroll-up 16s linear infinite; }
@keyframes scroll-up { to { transform: translateY(-50%); } }
.art-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.art-row .av { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.art-row .nm { font-size: 14px; font-weight: 600; flex: 1; }
.art-row .st { font-size: 12px; color: #ff9d94; font-family: var(--font-mono); }
/* tile art: diff */
.art-diff { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 6px; }
.art-diff .col { display: flex; flex-direction: column; gap: 6px; }
.art-diff .pill { padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 12.5px; font-family: var(--font-mono); color: var(--text-2); }
.art-diff .pill.gone { animation: gone 4s var(--ease) infinite; border-color: rgba(224, 87, 74, 0.5); color: #ff9d94; }
@keyframes gone { 0%, 30% { transform: none; opacity: 1; } 60%, 100% { transform: translateX(40px); opacity: 0; } }
.art-diff .arrow { font-family: var(--font-mono); color: var(--muted); }
/* tile art: big number */
.art-number { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.art-number .value { font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; font-size: clamp(72px, 9vw, 120px); }
.art-number .unit { font-family: var(--font-serif); font-style: italic; color: var(--signal); font-size: 0.5em; letter-spacing: -0.02em; margin-left: 6px; }
.mini-heat { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.mini-heat i { aspect-ratio: 1; border-radius: 3px; background: var(--uv); }
/* tile art: cards */
.art-cards { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; }
.art-cards .mc { position: absolute; width: 42%; aspect-ratio: 9 / 16; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); transition: transform 0.6s var(--ease); overflow: hidden; }
.art-cards .mc:nth-child(1) { transform: rotate(-14deg) translateX(-38%); background: linear-gradient(160deg, #2a1f6b, #0d0d16 70%); }
.art-cards .mc:nth-child(2) { transform: rotate(8deg) translateX(38%); background: linear-gradient(160deg, #3d1715, #0d0d16 70%); }
.art-cards .mc:nth-child(3) { transform: translateY(-4%); background: linear-gradient(160deg, #3b4a06, #0d0d16 70%); z-index: 2; }
.tile:hover .art-cards .mc:nth-child(1) { transform: rotate(-20deg) translateX(-55%) translateY(4%); }
.tile:hover .art-cards .mc:nth-child(2) { transform: rotate(14deg) translateX(55%) translateY(4%); }
.tile:hover .art-cards .mc:nth-child(3) { transform: translateY(-10%) scale(1.04); }
.art-cards .mc b { position: absolute; left: 12%; bottom: 16%; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.04em; line-height: 0.95; }
.art-cards .mc small { position: absolute; left: 12%; top: 10%; font-family: var(--font-mono); font-size: 10px; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.1em; text-transform: uppercase; }
/* tile art: radar */
.art-radar { position: absolute; inset: 0; display: grid; place-items: center; }
.radar { position: relative; width: min(220px, 70%); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); background: radial-gradient(circle, transparent 32%, rgba(255, 255, 255, 0.05) 33%, transparent 34%, transparent 64%, rgba(255, 255, 255, 0.05) 65%, transparent 66%); }
.radar::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(215, 255, 58, 0.45), transparent 70deg); animation: spin 3.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.radar i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--c2); box-shadow: 0 0 10px var(--c2); }
.radar-labels { position: absolute; inset: 0; pointer-events: none; }
.radar-labels span { position: absolute; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); background: rgba(7, 7, 11, 0.7); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); white-space: nowrap; }
/* tile art: venn */
.art-venn { position: absolute; inset: 0; display: grid; place-items: center; }
.venn { position: relative; width: min(420px, 90%); height: 180px; }
.venn .ring { position: absolute; top: 0; width: 180px; height: 180px; border-radius: 50%; border: 1px solid var(--line-3); display: grid; place-items: center; }
.venn .ring.a { left: calc(50% - 150px); background: radial-gradient(circle at 35% 40%, rgba(143, 125, 255, 0.28), transparent 70%); }
.venn .ring.b { left: calc(50% - 30px); background: radial-gradient(circle at 65% 40%, rgba(26, 158, 142, 0.28), transparent 70%); }
.venn .mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-weight: 700; font-size: 26px; letter-spacing: -0.03em; z-index: 1; }
.venn .lab { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 11px; color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; }
.venn .lab.a { left: calc(50% - 130px); }
.venn .lab.b { right: calc(50% - 130px); }

/* ---------- how it works ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.tab svg { width: 16px; height: 16px; }
.tab[aria-selected='true'] { background: var(--text); color: var(--bg); }
.tab:not([aria-selected='true']):hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.steps { display: grid; gap: 16px; margin-top: 28px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 26px; display: flex; flex-direction: column; gap: 12px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 13px; color: var(--signal); }
.step h3 { font-size: 19px; letter-spacing: -0.02em; }
.step p, .step li { color: var(--text-2); font-size: 15px; }
.step ol { padding-left: 18px; display: grid; gap: 6px; }
.step code, .prose code { font-family: var(--font-mono); font-size: 0.86em; padding: 1px 6px; border-radius: 6px; background: var(--surface-3); color: var(--text); }
.step .btn { margin-top: auto; align-self: flex-start; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(215, 255, 58, 0.06); border: 1px solid rgba(215, 255, 58, 0.18); color: var(--text-2); font-size: 14px; }
.note svg { width: 18px; height: 18px; color: var(--signal); flex: none; margin-top: 2px; }

/* ---------- wrapped showcase ---------- */
.showcase { display: flex; gap: 18px; overflow-x: auto; padding: 10px 2px 26px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.showcase canvas, .showcase img { width: 250px; height: auto; aspect-ratio: 9 / 16; border-radius: 22px; flex: none; scroll-snap-align: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); border: 1px solid var(--line); background: var(--surface); }
@media (min-width: 900px) { .showcase { justify-content: center; } .showcase canvas { width: 270px; } }

/* ---------- pricing ---------- */
.pricing { display: grid; gap: 16px; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 30px; }
.plan.is-featured { border-color: rgba(215, 255, 58, 0.45); background: linear-gradient(180deg, rgba(215, 255, 58, 0.07), rgba(255, 255, 255, 0.01) 40%), var(--surface); box-shadow: 0 40px 120px -50px rgba(215, 255, 58, 0.35); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-name { font-weight: 650; font-size: 17px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amt { font-size: 56px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.plan-price .per { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--signal); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.free-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 30px; margin-top: 16px; }
.coins { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.coin { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); }
.coin i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; }
.faq details { border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.2s, background-color 0.2s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 20px; line-height: 1; color: var(--muted); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--signal); }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 7vw, 90px) clamp(22px, 5vw, 70px); text-align: center; display: grid; gap: 24px; justify-items: center;
  background: radial-gradient(60% 120% at 50% 0%, rgba(143, 125, 255, 0.35), transparent 70%), radial-gradient(50% 80% at 50% 100%, rgba(215, 255, 58, 0.14), transparent 70%), var(--surface);
  border: 1px solid var(--line-2);
}

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
@media (min-width: 560px) and (max-width: 859px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-grid h4, .footer-grid .f-h { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; color: var(--text-2); font-size: 14.5px; }
.footer-grid a:hover { color: var(--text); }
.wordmark { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; font-size: clamp(64px, 17vw, 240px); margin-top: 56px; color: transparent; -webkit-text-stroke: 1px var(--line-3); user-select: none; text-align: center; white-space: nowrap; overflow: hidden; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; color: var(--muted); font-size: 13px; }

/* ---------- prose pages ---------- */
.page-hero { padding: clamp(48px, 8vw, 100px) 0 clamp(24px, 4vw, 48px); }
.prose { max-width: 760px; color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.prose h2 { color: var(--text); font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.15; margin: 48px 0 14px; }
.prose h3 { color: var(--text); font-size: 19px; margin: 30px 0 10px; letter-spacing: -0.01em; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); }
.split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 18px; height: 18px; color: var(--signal); flex: none; margin-top: 4px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 7, 0.78); backdrop-filter: blur(8px); animation: fade 0.25s; }
.modal-panel {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow: auto; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 50px 140px -40px rgba(0, 0, 0, 0.9); animation: pop 0.35s var(--ease);
}
.modal-panel--wide { max-width: 980px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px 0; }
.modal-body { padding: 18px 24px 24px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: background-color 0.2s, color 0.2s; flex: none; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.input {
  height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { outline: none; border-color: rgba(215, 255, 58, 0.6); box-shadow: 0 0 0 4px rgba(215, 255, 58, 0.12); }
.input.mono { letter-spacing: 0.04em; }
.choice-grid { display: grid; gap: 10px; }
.choice { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.choice:hover { border-color: var(--line-3); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-3); flex: none; display: grid; place-items: center; }
.choice input:checked ~ .radio { border-color: var(--signal); }
.choice input:checked ~ .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.choice:has(input:checked) { border-color: rgba(215, 255, 58, 0.55); background: rgba(215, 255, 58, 0.05); }
.choice input:focus-visible ~ .radio { outline: 2px solid var(--signal); outline-offset: 2px; }
.choice .grow { flex: 1; min-width: 0; }
.choice .t { font-weight: 650; }
.choice .s { font-size: 13px; color: var(--muted); }
.choice .p { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.choice > svg { width: 22px; height: 22px; flex: none; color: var(--text-2); }

/* ---------- payment screen ---------- */
.pay { display: grid; gap: 18px; }
.pay-qr { width: 200px; height: 200px; border-radius: 18px; background: #fff; padding: 12px; margin: 0 auto; }
.pay-qr svg, .pay-qr img { width: 100%; height: 100%; }
.pay-line { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); }
.pay-line .k { font-size: 12px; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; flex: none; width: 70px; }
.pay-line .v { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 14px; overflow-wrap: anywhere; color: var(--text); }
.pay-line .v.big { font-size: 22px; font-weight: 700; color: var(--signal); font-family: var(--font-ui); letter-spacing: -0.02em; }
.copy-btn { height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); flex: none; }
.copy-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.copy-btn.is-done { color: var(--signal); border-color: rgba(215, 255, 58, 0.4); }
.status-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--signal); animation: spin 0.9s linear infinite; flex: none; }
.success-burst { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: rgba(215, 255, 58, 0.12); color: var(--signal); animation: pop 0.5s var(--ease-spring); }
.success-burst svg { width: 38px; height: 38px; }
.license-key { font-family: var(--font-mono); font-size: clamp(16px, 2.6vw, 20px); letter-spacing: 0.06em; padding: 16px; text-align: center; border-radius: 16px; border: 1px dashed rgba(215, 255, 58, 0.45); color: var(--signal); background: rgba(215, 255, 58, 0.04); overflow-wrap: anywhere; }
.warn-box { padding: 12px 14px; border-radius: 14px; background: rgba(250, 178, 25, 0.08); border: 1px solid rgba(250, 178, 25, 0.3); color: #f3d79b; font-size: 13.5px; display: flex; gap: 10px; }
.warn-box svg { width: 18px; height: 18px; flex: none; color: var(--warning); margin-top: 1px; }
.err-box { padding: 12px 14px; border-radius: 14px; background: rgba(208, 59, 59, 0.1); border: 1px solid rgba(208, 59, 59, 0.35); color: #ffb3ad; font-size: 14px; }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 400; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; padding: 13px 16px; border-radius: 14px; background: var(--surface-3); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); font-size: 14px; display: flex; gap: 10px; align-items: center; animation: pop 0.3s var(--ease); }
.toast svg { width: 18px; height: 18px; color: var(--signal); flex: none; }

/* ==========================================================================
   APP / DASHBOARD
   ========================================================================== */
.app-open { overflow: hidden; }
.app {
  position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); animation: fade 0.35s;
}
.app-bar { display: flex; align-items: center; gap: 10px; height: 64px; min-width: 0; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: rgba(7, 7, 11, 0.9); backdrop-filter: blur(14px); }
.app-bar > * { flex-shrink: 0; }
.app-bar .ds-switch { flex: 0 1 auto; min-width: 0; }
@media (max-width: 719px) {
  .app-bar { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .app-bar .ds-switch { order: 10; flex: 1 1 100%; }
  .app-bar .ds-switch:empty { display: none; }
}
.app-bar .logo { font-size: 18px; }
.app-bar .logo svg { width: 26px; height: 26px; }
.app-bar .spacer { flex: 1; }
.ds-switch { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ds-switch::-webkit-scrollbar { display: none; }
.ds-btn { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.ds-btn svg { width: 15px; height: 15px; }
.ds-btn[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }
.net-indicator { display: none; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(215, 255, 58, 0.08); border: 1px solid rgba(215, 255, 58, 0.22); font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.net-indicator b { color: var(--signal); font-family: var(--font-mono); }
@media (min-width: 900px) { .net-indicator { display: inline-flex; } }
.app-body { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; min-width: 0; }
@media (min-width: 1000px) { .app-body { grid-template-columns: 250px minmax(0, 1fr); } }
.app-nav { border-right: 1px solid var(--line); padding: 18px 12px; overflow-y: auto; display: none; }
@media (min-width: 1000px) { .app-nav { display: block; } }
.app-nav .group { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 8px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 550; color: var(--text-2); text-align: left; transition: background-color 0.15s, color 0.15s; }
.nav-item svg { width: 18px; height: 18px; flex: none; opacity: 0.85; }
.nav-item .count { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.nav-item:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.nav-item[aria-current='true'] { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.nav-item[aria-current='true'] .count { color: var(--signal); }
.nav-item .lock { width: 14px; height: 14px; margin-left: auto; color: var(--muted); }
.app-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--gutter); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tabs .nav-item { width: auto; white-space: nowrap; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; }
@media (min-width: 1000px) { .app-tabs { display: none; } }
.app-main { overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
.app-content { max-width: 1180px; margin: 0 auto; padding: 28px var(--gutter) 80px; display: grid; gap: 18px; }
.app-mainwrap { display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); min-height: 0; min-width: 0; }

.view-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.view-head h2 { font-family: var(--font-ui); font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.view-head p { color: var(--text-2); margin-top: 6px; max-width: 70ch; }
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; padding: 12px 16px; border-radius: 16px; background: rgba(143, 125, 255, 0.1); border: 1px solid rgba(143, 125, 255, 0.3); font-size: 14px; color: #d6d0ff; }

.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stat { padding: 18px 18px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; text-align: left; transition: border-color 0.2s, transform 0.2s var(--ease); min-width: 0; }
button.stat:hover { border-color: var(--line-3); transform: translateY(-2px); }
.stat .label { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.stat .label i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.stat .value { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.stat .sub { font-size: 12.5px; color: var(--muted); }
.stat--hero { grid-column: 1 / -1; padding: 26px; background: radial-gradient(80% 140% at 0% 0%, rgba(143, 125, 255, 0.18), transparent 60%), var(--surface); }
.stat--hero .value { font-size: clamp(48px, 7vw, 84px); letter-spacing: -0.05em; }

.panel { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 26px); min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.panel-head h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.panel-head p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.panels { display: grid; gap: 18px; }
@media (min-width: 1000px) { .panels--2 { grid-template-columns: 1fr 1fr; } .panels--3-2 { grid-template-columns: 3fr 2fr; } }

.insights { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.insight { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.insight .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(215, 255, 58, 0.1); color: var(--signal); }
.insight .ico svg { width: 19px; height: 19px; }
.insight b { display: block; font-size: 15px; letter-spacing: -0.01em; margin-bottom: 2px; }
.insight span { font-size: 13.5px; color: var(--text-2); }

/* list view */
.list-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1; min-width: 200px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.search .input { padding-left: 42px; height: 44px; }
.select { height: 44px; padding: 0 36px 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b9b9c6' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; color: var(--text); font-size: 14px; }
.rows { display: grid; gap: 6px; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; transition: border-color 0.15s, background-color 0.15s; min-width: 0; }
.row:hover { border-color: var(--line-2); }
.row .av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.92); text-transform: uppercase; }
.row .who { flex: 1; min-width: 0; }
.row .who b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .who span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .acts { display: flex; gap: 6px; flex: none; }
.row-btn { height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.row-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.row-btn svg { width: 14px; height: 14px; }
.row-btn.is-on { color: var(--signal); border-color: rgba(215, 255, 58, 0.4); }
.row.is-kept { opacity: 0.55; }
.row .count-pill { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.list-more { display: flex; justify-content: center; padding: 14px; }
.empty { text-align: center; padding: 44px 16px; color: var(--muted); display: grid; gap: 8px; justify-items: center; }
.empty svg { width: 34px; height: 34px; color: var(--line-3); }

/* locked */
.locked { position: relative; }
.locked-rows { display: grid; gap: 6px; filter: blur(5px); opacity: 0.6; pointer-events: none; user-select: none; }
.lock-card {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px;
  background: linear-gradient(180deg, rgba(16, 16, 23, 0) 0%, rgba(16, 16, 23, 0.85) 35%, rgba(16, 16, 23, 0.98) 100%);
}
.lock-inner { text-align: center; display: grid; gap: 12px; justify-items: center; max-width: 420px; }
.lock-inner .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(215, 255, 58, 0.12); color: var(--signal); }
.lock-inner .ico svg { width: 24px; height: 24px; }
.lock-inner h4 { font-size: 20px; letter-spacing: -0.02em; }
.lock-inner p { color: var(--text-2); font-size: 14.5px; }

/* charts */
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .axis text, .chart text.axis { fill: var(--muted); font-size: 11px; font-family: var(--font-ui); font-variant-numeric: tabular-nums; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .baseline { stroke: #3a3a48; stroke-width: 1; shape-rendering: crispEdges; }
.chart .bar { transition: opacity 0.15s, filter 0.15s; }
.chart .bar:hover, .chart .bar:focus { filter: brightness(1.25); outline: none; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:focus { outline: none; }
.chart .hit:focus + .bar, .chart .hit:hover + .bar { filter: brightness(1.3); }
.tooltip { position: absolute; z-index: 5; pointer-events: none; padding: 9px 12px; border-radius: 12px; background: #1f1f2b; border: 1px solid var(--line-2); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8); font-size: 12.5px; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity 0.12s; }
.tooltip.is-on { opacity: 1; }
.tooltip b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.tooltip span { color: var(--text-2); }
.chart-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.table-toggle { font-size: 12.5px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.data-table th { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.data-table td:last-child, .data-table th:last-child { text-align: right; }
.table-wrap { max-height: 320px; overflow: auto; }

.split-bar { display: flex; gap: 2px; height: 14px; border-radius: 6px; overflow: hidden; }
.split-bar i { display: block; height: 100%; min-width: 2px; }

.heat { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.heat .hl { font-size: 11px; color: var(--muted); }
.heat .cell { aspect-ratio: 1; border-radius: 4px; position: relative; }
.heat .cell:hover, .heat .cell:focus { outline: 1.5px solid var(--text); outline-offset: 1px; z-index: 1; }
.heat-hours { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 3px; margin-top: 6px; }
.heat-hours span { font-size: 10px; color: var(--muted); text-align: center; }
.heat-scale { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.heat-scale i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

.rank { display: grid; gap: 10px; }
.rank-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.rank-row .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.rank-row .lbl { min-width: 0; }
.rank-row .lbl b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row .track { height: 6px; border-radius: 4px; background: var(--surface-3); margin-top: 6px; overflow: hidden; }
.rank-row .track i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--c1); }
.rank-row .v { font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 13px; }

.orbit-wrap { position: relative; aspect-ratio: 1.35; width: 100%; min-height: 280px; border-radius: var(--r); overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(143, 125, 255, 0.1), transparent 60%); }
.orbit-wrap canvas { width: 100%; height: 100%; }
.orbit-tip { position: absolute; pointer-events: none; padding: 6px 10px; border-radius: 10px; background: #1f1f2b; border: 1px solid var(--line-2); font-size: 12.5px; transform: translate(-50%, calc(-100% - 10px)); white-space: nowrap; opacity: 0; transition: opacity 0.1s; }
.orbit-tip.is-on { opacity: 1; }

.score-ring { position: relative; width: 168px; height: 168px; flex: none; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-ring .center b { font-size: 48px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.score-ring .center span { font-size: 12px; color: var(--muted); }
.grade { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 22px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 6px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }

.wrapped-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.wrapped-item { display: grid; gap: 10px; }
.wrapped-item canvas { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 20px; border: 1px solid var(--line); background: var(--surface-2); }
.theme-row { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; position: relative; }
.theme-dot[aria-pressed='true'] { border-color: var(--text); }
.theme-dot .lk { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; }
.theme-dot .lk svg { width: 9px; height: 9px; }

.queue { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 14px 0; }
.queue .who { font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
.progress { width: 100%; height: 8px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--signal); border-radius: 6px; transition: width 0.4s var(--ease); }

.loading-screen { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: rgba(7, 7, 11, 0.94); backdrop-filter: blur(12px); animation: fade 0.25s; }
.loading-card { width: min(92vw, 460px); display: grid; gap: 18px; justify-items: center; text-align: center; }
.unwrap-anim { width: 120px; height: 120px; position: relative; }
.unwrap-anim .box { position: absolute; inset: 22px; border-radius: 22px; border: 2px solid var(--signal); animation: wobble 1.6s var(--ease) infinite; }
.unwrap-anim .box::before { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--uv); transform: translateX(-50%); }
.unwrap-anim .box::after { content: ''; position: absolute; top: 50%; left: -2px; right: -2px; height: 2px; background: var(--uv); transform: translateY(-50%); }
.unwrap-anim .spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); left: 50%; top: 50%; animation: spark 1.6s var(--ease) infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(0) scale(1); } 30% { transform: rotate(-8deg) scale(1.05); } 60% { transform: rotate(6deg) scale(0.97); } }
@keyframes spark { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); opacity: 0; } }
.loading-card .bar { width: 100%; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.loading-card .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--uv), var(--signal)); border-radius: 6px; transition: width 0.3s var(--ease); }

/* ---------- story mode ---------- */
.story { position: fixed; inset: 0; z-index: 180; overflow: hidden; display: grid; place-items: center; cursor: pointer; user-select: none; animation: fade 0.4s; background: #07070b; }
.story.is-leaving { opacity: 0; transform: scale(1.04); transition: opacity 0.45s, transform 0.45s var(--ease); }
.story-bg { position: absolute; inset: -10%; filter: blur(40px) saturate(1.2); transition: background 1.2s var(--ease); animation: story-drift 14s var(--ease) infinite alternate; }
@keyframes story-drift { to { transform: scale(1.12) rotate(4deg); } }
.story::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.55)); pointer-events: none; }
.story-bars { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; gap: 5px; z-index: 2; }
.story-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.story-bars i { display: block; height: 100%; width: 0; background: #fff; }
.story-bars .done i { width: 100%; }
.story-bars .active i { animation: story-bar linear forwards; }
.story.is-paused .story-bars .active i { animation-play-state: paused; }
@keyframes story-bar { to { width: 100%; } }
.story-skip { position: absolute; top: 30px; right: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); }
.story-skip svg { width: 14px; height: 14px; }
.story-stage { position: relative; z-index: 2; width: min(92vw, 820px); padding: 0 8px; }
.story-slide { display: grid; gap: 18px; justify-items: center; text-align: center; animation: story-in 0.8s var(--ease) both; }
@keyframes story-in { from { opacity: 0; transform: translateY(40px) scale(0.96); filter: blur(10px); } }
.story-kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.story-number { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; font-size: clamp(96px, 22vw, 240px); color: #fff; text-shadow: 0 20px 80px rgba(0, 0, 0, 0.35); animation: story-pop 0.9s var(--ease-spring) both 0.1s; }
@keyframes story-pop { from { transform: scale(0.6); opacity: 0; } }
.story-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-size: clamp(32px, 6vw, 64px); color: #fff; }
.story-title .serif { font-size: 1.1em; }
.story-text { max-width: 34ch; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.story-hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; z-index: 2; font-size: 12px; color: rgba(255, 255, 255, 0.55); font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- tiers ---------- */
.tier-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; flex: none; }
.tier-pill--plus { background: rgba(26, 158, 142, 0.16); color: #7fe0d2; }
.tier-pill--pro { background: rgba(143, 125, 255, 0.18); color: #c3b9ff; }
.tier-pill--creator { background: linear-gradient(90deg, rgba(215, 255, 58, 0.2), rgba(143, 125, 255, 0.24)); color: var(--signal); }
.nav-item .tier-pill { margin-left: auto; }
.nav-item .count + .tier-pill { margin-left: 6px; }
.app-nav .group--lab { display: flex; align-items: center; gap: 8px; color: var(--signal); margin-top: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.app-nav .group--lab svg { width: 14px; height: 14px; }
.nav-upsell { background: radial-gradient(120% 100% at 0% 0%, rgba(143, 125, 255, 0.16), transparent 70%), var(--surface); }

/* checkout: tier switch */
.tier-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tier-opt { display: grid; gap: 2px; padding: 12px 8px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); text-align: center; transition: border-color 0.2s, background-color 0.2s; }
.tier-opt .n { font-weight: 700; font-size: 15px; }
.tier-opt .s { font-size: 12px; color: var(--muted); }
.tier-opt:hover:not(:disabled) { border-color: var(--line-3); }
.tier-opt[aria-checked='true'] { border-color: rgba(215, 255, 58, 0.6); background: rgba(215, 255, 58, 0.07); }
.tier-opt[aria-checked='true'] .s { color: var(--signal); }
.tier-opt:disabled { opacity: 0.45; cursor: not-allowed; }
.tier-opt:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.tier-detail { display: grid; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.tier-detail .checklist { gap: 8px; }
.tier-detail .checklist svg { width: 16px; height: 16px; margin-top: 2px; }

/* pricing: billing toggle + tier cards */
.billing { display: flex; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); gap: 4px; }
.billing button { height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; transition: background-color 0.2s, color 0.2s; }
.billing button[aria-checked='true'] { background: var(--text); color: var(--bg); }
.billing .save { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--signal); color: var(--signal-ink); }
.plan-tagline { color: var(--text-2); font-size: 15px; margin-top: -10px; }
.plan-sub { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: -12px; }
.plan-sub .save { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; color: var(--signal); background: rgba(215, 255, 58, 0.1); padding: 2px 8px; border-radius: 999px; }
.plan-for { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.plan-for svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--uv); }
.plan .plan-inherit { color: var(--text); font-weight: 600; }
.plan .plan-inherit svg { color: var(--uv); }
.plan .plan-alt { margin-top: -8px; font-size: 13.5px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); align-self: center; }
.plan .plan-alt:hover { color: var(--signal); }
.plan--creator { background: radial-gradient(120% 60% at 100% 0%, rgba(143, 125, 255, 0.12), transparent 60%), var(--surface); }
.guarantees { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 900px) { .guarantees { grid-template-columns: repeat(3, 1fr); } }
.guarantees > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.guarantees svg { grid-row: span 2; width: 20px; height: 20px; color: var(--signal); margin-top: 2px; }
.guarantees b { font-size: 15px; }
.guarantees span { font-size: 13.5px; color: var(--text-2); }

/* pricing: compare table */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.compare tbody th[scope='row'] { text-align: left; font-weight: 500; color: var(--text); }
.compare td { color: var(--text-2); }
.compare td.y { color: var(--signal); font-weight: 600; }
.compare td.n { color: var(--muted); }
.compare .is-featured { background: rgba(215, 255, 58, 0.04); }
.compare thead th.is-featured { color: var(--signal); }
.compare tr.grp th { text-align: left; padding-top: 24px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--uv); border-bottom-color: var(--line-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* home: proof strip */
.proof { padding: clamp(28px, 4vw, 48px) 0 0; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof-item { display: grid; gap: 4px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.proof-item b { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.04em; line-height: 1; }
.proof-item span { font-size: 14px; color: var(--text-2); }

/* home: Pro Lab showcase */
.lab-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .lab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lab-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.lab-card p { color: var(--text-2); font-size: 14.5px; }
.lab-top { display: flex; justify-content: space-between; align-items: center; }
.lab-top svg { width: 22px; height: 22px; color: var(--text-2); }
.lab-art { position: relative; min-height: 158px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); padding: 16px; overflow: hidden; display: grid; align-content: center; gap: 10px; }
.art-reply .rr { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; }
.art-reply .nm { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-reply i { justify-self: start; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--c3), var(--c1)); width: var(--w); transition: width 0.8s var(--ease); }
.art-reply b { font-family: var(--font-mono); font-size: 12px; }
.art-reply .hot b { color: #ff8b80; }
.art-reply .hot i { background: linear-gradient(90deg, var(--c4), var(--c2)); }
.read-tag { justify-self: start; font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(224, 87, 74, 0.14); color: #ff8b80; }
.audit-big { display: flex; gap: 12px; align-items: baseline; }
.audit-big b { font-family: var(--font-display); font-size: 40px; letter-spacing: -0.04em; color: #ff8b80; line-height: 1; }
.audit-big span { font-size: 12.5px; color: var(--text-2); }
.audit-row { display: flex; gap: 10px; align-items: center; font-size: 12.5px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.audit-row .av { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.audit-row span:not(.av) { font-weight: 600; white-space: nowrap; }
.audit-row em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-curve { padding: 0; align-content: end; }
.art-curve svg { width: 100%; height: 118px; display: block; }
.curve-tags { position: absolute; top: 12px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.curve-tags span { font-family: var(--font-mono); font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text-2); }
.curve-tags .up { color: #7fe0d2; background: rgba(26, 158, 142, 0.16); }
.curve-tags .down { color: #ff8b80; background: rgba(224, 87, 74, 0.14); }
.art-gauge { grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
.gauge { width: 108px; height: 108px; border-radius: 50%; background: conic-gradient(var(--signal) calc(var(--v) * 1%), rgba(255, 255, 255, 0.08) 0); display: grid; place-items: center; }
.gauge-in { width: 82px; height: 82px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; align-content: center; }
.gauge-in b { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--signal); }
.gauge-in span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.gauge-side { display: grid; gap: 8px; font-size: 13px; color: var(--text-2); }
.gauge-side span { display: flex; align-items: center; gap: 8px; }
.gauge-side i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-r { background: var(--c2); }
.dot-y { background: var(--c4); }
.dot-g { background: var(--c1); }
.best-heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.best-heat i { aspect-ratio: 1; border-radius: 4px; background: #1b1b27; }
.best-heat i.m { background: #433685; }
.best-heat i.h { background: #6d5acb; }
.best-heat i.x { background: var(--signal); box-shadow: 0 0 14px rgba(215, 255, 58, 0.6); }
.best-tag { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.best-tag b { font-size: 16px; }
.best-tag span { font-size: 12.5px; color: var(--signal); }
.art-paper { place-items: center; background: radial-gradient(80% 80% at 50% 0%, rgba(143, 125, 255, 0.18), transparent 70%), var(--bg-2); }
.paper { width: 58%; max-width: 180px; aspect-ratio: 1 / 1.2; background: #f6f6f8; border-radius: 8px; padding: 14px; display: grid; gap: 8px; align-content: start; transform: rotate(-3deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); transition: transform 0.4s var(--ease); }
.lab-card:hover .paper { transform: rotate(0deg) translateY(-4px); }
.paper b { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: #5644a8; }
.paper .ln { height: 6px; border-radius: 3px; background: #d9d9e0; }
.paper .w70 { width: 70%; }
.paper .w40 { width: 40%; }
.paper .w60 { width: 60%; }
.paper .bars { display: flex; align-items: flex-end; gap: 6px; height: 50px; padding: 6px 0; }
.paper .bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #8f7dff, #5644a8); }
.lab-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* app: Pro Lab views */
.lab-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: linear-gradient(90deg, rgba(143, 125, 255, 0.12), rgba(215, 255, 58, 0.06)); border: 1px solid rgba(143, 125, 255, 0.3); font-size: 14px; color: var(--text-2); }
.lab-teaser > span:not(.tier-pill) { flex: 1; min-width: 200px; }
.quality-hero .value small { font-size: 18px; color: var(--muted); letter-spacing: 0; font-weight: 600; }
.delta { font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.delta .up { color: #7fe0d2; }
.delta .down { color: #ff8b80; }

/* app: white-label report */
.report-preview { position: relative; max-height: 760px; overflow: auto; border-radius: 14px; background: #e9e9ee; padding: 18px; }
.report-preview.is-sample .report-sheet { filter: blur(3px); user-select: none; }
.report-preview.is-sample::after { content: 'SAMPLE · CREATOR'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.2em; color: rgba(86, 68, 168, 0.6); font-size: 22px; pointer-events: none; }
.report-sheet { background: #fff; color: #16161d; border-radius: 6px; padding: 34px 36px; font-family: var(--font-ui); display: grid; gap: 22px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35); max-width: 800px; margin: 0 auto; }
.rs-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 18px; border-bottom: 2px solid #16161d; }
.rs-brand { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #5644a8; font-weight: 700; }
.rs-head h1 { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0 4px; color: #16161d; }
.rs-head p { color: #5b5b6b; font-size: 13.5px; }
.rs-grade { display: grid; justify-items: center; padding: 10px 16px; border-radius: 12px; background: #f1effe; min-width: 86px; }
.rs-grade span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: #5b5b6b; }
.rs-grade b { font-family: var(--font-display); font-size: 38px; line-height: 1; color: #5644a8; }
.rs-grade small { font-size: 11px; color: #5b5b6b; }
.report-sheet h2 { font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #5b5b6b; margin-bottom: 10px; }
.rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rs-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rs-kpi { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: #f5f5f8; border: 1px solid #e6e6ec; }
.rs-kpi span { font-size: 11.5px; color: #5b5b6b; }
.rs-kpi b { font-size: 22px; letter-spacing: -0.02em; color: #16161d; }
.rs-kpi small { font-size: 11px; color: #85859a; }
.rs-list { padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: #26262f; }
.rs-note, .rs-text { font-size: 13px; color: #5b5b6b; margin-top: 6px; white-space: pre-wrap; }
.rs-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid #e6e6ec; font-size: 11.5px; color: #85859a; }
@media (max-width: 640px) { .rs-grid, .rs-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .report-sheet { padding: 22px 18px; } .tier-opt .s { font-size: 11px; } }
.report-print { display: none; }

/* ---------- header extras ---------- */
.nav-new { font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 5px; border-radius: 6px; background: var(--signal); color: var(--signal-ink); margin-left: 4px; vertical-align: 2px; }
.chip--link { text-decoration: none; color: var(--text-2); gap: 10px; padding-left: 5px; transition: border-color 0.2s, color 0.2s; }
.chip--link:hover { color: var(--text); border-color: var(--line-3); }
.chip--link .badge { height: 22px; padding: 0 8px; font-size: 11px; }
.chip--link svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.chip--link:hover svg { transform: translateX(3px); }
.tier-pill--free { background: rgba(255, 255, 255, 0.08); color: var(--text-2); }

/* ---------- home: dashboard preview ---------- */
.browser { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; box-shadow: 0 60px 140px -60px rgba(143, 125, 255, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.8); max-width: 1040px; margin: 0 auto; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.browser-bar > i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.browser-bar > i:nth-child(1) { background: #e0574a; }
.browser-bar > i:nth-child(2) { background: #fab219; }
.browser-bar > i:nth-child(3) { background: #0ca30c; }
.browser-url { margin: 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.browser-url svg { width: 12px; height: 12px; color: var(--signal); }
.mock { display: grid; min-height: 380px; }
@media (min-width: 820px) { .mock { grid-template-columns: 230px 1fr; } }
.mock-nav { display: none; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); }
@media (min-width: 820px) { .mock-nav { display: flex; } }
.mock-group { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 6px; }
.mock-group--lab { color: var(--signal); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.mock-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; color: var(--text-2); }
.mock-item svg { width: 15px; height: 15px; opacity: 0.85; }
.mock-item em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.mock-item.is-on { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.mock-main { padding: clamp(18px, 3vw, 30px); display: grid; gap: 18px; align-content: start; }
.mock-head { display: grid; gap: 2px; }
.mock-head b { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.03em; }
.mock-head span { font-size: 13px; color: var(--muted); }
.mock-hero { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; padding: 20px; border-radius: 18px; background: radial-gradient(80% 140% at 0% 0%, rgba(143, 125, 255, 0.18), transparent 60%), var(--surface-2); border: 1px solid var(--line); }
.mock-copy { display: grid; gap: 4px; flex: 1; min-width: 200px; }
.mock-copy small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); }
.mock-copy b { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.03em; }
.mock-copy span { font-size: 13.5px; color: var(--text-2); }
.mock-btn { justify-self: start; margin-top: 8px; font-style: normal; font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--signal); color: var(--signal-ink); }
.mock-factors { display: grid; gap: 10px; }
.mf { display: grid; grid-template-columns: minmax(110px, 170px) 1fr 34px; gap: 12px; align-items: center; font-size: 13px; color: var(--text-2); }
.mf i { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--c), var(--c)) no-repeat 0 0 / var(--w) 100%, rgba(255, 255, 255, 0.07); }
.mf b { font-family: var(--font-mono); font-size: 12.5px; text-align: right; color: var(--text); }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(16, 16, 23, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); transform: translateY(140%); transition: transform 0.35s var(--ease); }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn--ghost { flex: none; width: 48px; padding: 0; justify-content: center; }
@media (min-width: 760px) { .sticky-cta { display: none; } }
.app-open .sticky-cta { display: none; }

/* ---------- tool landing pages ---------- */
@media (min-width: 960px) { .split--visual { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; } .split--flip { grid-template-columns: 0.95fr 1.05fr; } }
.tool-visual { display: grid; gap: 14px; padding: 18px; }
.flag-list { display: grid; gap: 8px; }
.flag { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13px; min-width: 0; }
.flag .av { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.flag b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flag em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.how3 { display: grid; gap: 16px; }
@media (min-width: 860px) { .how3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how3 .card { display: grid; gap: 10px; align-content: start; }
.how3 svg { width: 26px; height: 26px; color: var(--signal); }
.how3 b { font-size: 17px; letter-spacing: -0.01em; }
.how3 p { color: var(--text-2); font-size: 14.5px; }
.steps3 { list-style: none; counter-reset: step; display: grid; gap: 14px; }
@media (min-width: 860px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps3 li { counter-increment: step; position: relative; display: grid; gap: 8px; align-content: start; padding: 24px 22px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.steps3 li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--signal); letter-spacing: 0.1em; }
.steps3 b { font-size: 17px; }
.steps3 span { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.related { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.related-card { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; padding: 18px; text-decoration: none; color: inherit; }
.related-card svg { grid-row: span 2; width: 22px; height: 22px; color: var(--signal); margin-top: 2px; }
.related-card b { font-size: 15px; }
.related-card span { font-size: 13px; color: var(--muted); }
.related-card:hover b { color: var(--signal); }

/* ---------- tools hub ---------- */
.tools-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 44px 0 16px; }
.tools-group:first-child { margin-top: 0; }
.tools-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.tool-tile { display: grid; gap: 10px; align-content: start; padding: 22px; text-decoration: none; color: inherit; transition: transform 0.25s var(--ease), border-color 0.2s; }
.tool-tile:hover { transform: translateY(-3px); border-color: var(--line-3); }
.tool-top { display: flex; justify-content: space-between; align-items: center; }
.tool-top svg { width: 24px; height: 24px; color: var(--text-2); }
.tool-tile b { font-size: 17px; letter-spacing: -0.01em; }
.tool-tile p { color: var(--text-2); font-size: 14px; }

/* ---------- app: account health ---------- */
.gauge--lg { width: 168px; height: 168px; flex: none; background: conic-gradient(var(--g, var(--signal)) calc(var(--v) * 1%), rgba(255, 255, 255, 0.08) 0); }
.gauge--lg .gauge-in { width: 130px; height: 130px; background: var(--surface); }
.gauge--lg .gauge-in b { font-size: 56px; color: var(--g, var(--signal)); }
.gauge--lg .gauge-in span { font-size: 13px; }
.health-hero { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 8px; }
.health-copy { display: grid; gap: 8px; flex: 1; min-width: 220px; justify-items: start; }
.health-copy h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.035em; line-height: 1.05; }
.health-copy p { color: var(--text-2); font-size: 15px; }
.health-copy .btn { margin-top: 6px; }
.health-copy .btn > svg, .hf .btn > svg { width: 14px; height: 14px; }
.health-card { display: grid; gap: 12px; justify-items: center; }
.health-card canvas { width: min(100%, 220px); height: auto; aspect-ratio: 9 / 16; border-radius: 18px; border: 1px solid var(--line); background: var(--surface-2); }
.health-factors { display: grid; gap: 12px; }
.hf { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.hf-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hf-top b { font-size: 15.5px; }
.hf-score { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.hf-score small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.hf .track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.hf .track i { display: block; height: 100%; border-radius: 99px; transition: width 0.8s var(--ease); }
.hf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.hf-bottom .btn, .health-copy .btn { gap: 6px; }

/* ---------- app: friendship card ---------- */
.friend-card { display: grid; gap: 22px; align-items: start; }
@media (min-width: 760px) { .friend-card { grid-template-columns: minmax(0, 260px) 1fr; } }
.friend-card-preview { display: grid; gap: 12px; justify-items: center; }
.friend-card-preview canvas { width: min(100%, 260px); height: auto; aspect-ratio: 9 / 16; border-radius: 20px; border: 1px solid var(--line); background: var(--surface-2); }
.friend-card-preview.is-locked canvas { filter: blur(6px); }
.friend-card .tiny svg { display: inline-block; width: 12px; height: 12px; vertical-align: -1px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .hero-sub, .fade-in { opacity: 1; }
}
@media print {
  .site-header, .site-footer, .noise, .aurora, .hero-canvas { display: none !important; }
  body { background: #fff; color: #000; }
  /* Client report: print only the sheet. */
  body.printing > *:not(.report-print) { display: none !important; }
  body.printing .report-print { display: block !important; }
  body.printing .report-sheet { box-shadow: none; padding: 0; max-width: none; border-radius: 0; }
  .report-sheet, .report-sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { margin: 14mm; }
}

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer; text-transform: uppercase; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { color: var(--text); border-color: var(--line-2); }
.lang-switch svg, .footer-langs svg { width: 15px; height: 15px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); z-index: 60; display: grid; }
.lang-menu a { padding: 9px 12px; border-radius: 8px; color: var(--text-2); font-size: 14px; text-decoration: none; }
.lang-menu a:hover { background: var(--surface-3); color: var(--text); }
.lang-menu a[aria-current], .mobile-nav .mobile-langs a[aria-current], .footer-langs a[aria-current] { color: var(--text); font-weight: 600; }
.mobile-langs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--line); }
.mobile-nav .mobile-langs a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); font-size: 14px; text-decoration: none; }
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--text-2); font-size: 13px; }
.footer-langs a { color: inherit; text-decoration: none; }
.footer-langs a:hover { color: var(--text); }
@media (max-width: 860px) { .header-actions .lang-switch { display: none; } }

/* Message viewer */
.msg-global { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.msg-global svg { width: 18px; height: 18px; color: var(--text-2); flex: none; }
.msg-layout { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; height: min(72vh, 760px); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.msg-side { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-right: 1px solid var(--line); min-height: 0; }
.msg-list { overflow-y: auto; display: grid; align-content: start; gap: 2px; min-height: 0; }
.msg-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: var(--text); text-align: left; cursor: pointer; }
.msg-item:hover, .msg-item[aria-current='true'] { background: var(--surface-3); }
.msg-item svg { width: 15px; height: 15px; color: var(--text-2); margin-left: auto; flex: none; }
.msg-item .avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.92); }
.msg-item-main { display: grid; min-width: 0; }
.msg-item-main b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.msg-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.msg-head-title { display: grid; flex: 1; min-width: 140px; }
.msg-head .input { max-width: 220px; }
.msg-back { display: none; }
.msg-body, .msg-results { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.msg-loading { padding: 40px; text-align: center; color: var(--text-2); }
.msg-day { align-self: center; margin: 14px 0 6px; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 12px; }
.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: min(78%, 560px); }
.msg--me { align-self: flex-end; align-items: flex-end; }
.msg-from { font-size: 12px; color: var(--uv); margin: 0 10px 2px; }
.msg-bubble { position: relative; padding: 8px 12px 18px; border-radius: 16px 16px 16px 4px; background: var(--surface-3); color: var(--text); display: grid; gap: 6px; min-width: 64px; }
.msg--me .msg-bubble { border-radius: 16px 16px 4px 16px; background: rgba(143, 125, 255, 0.22); }
.msg-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.45; }
.msg-text mark, .msg-hit mark { background: var(--signal); color: #0a0a0e; border-radius: 3px; padding: 0 2px; }
.msg-time { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: var(--text-2); }
.msg-media { max-width: 100%; max-height: 320px; border-radius: 10px; display: block; background: var(--surface-2); min-height: 60px; min-width: 120px; }
audio.msg-media { min-height: 0; }
.msg-media-missing { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.msg-media-missing svg, .msg-link svg { width: 14px; height: 14px; }
.msg-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--uv); overflow-wrap: anywhere; }
.msg-reacts { font-size: 13px; margin: -6px 8px 0; padding: 1px 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.msg-more { align-self: center; margin-bottom: 8px; }
.msg-hit { display: grid; gap: 3px; width: 100%; text-align: left; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 14px; }
.msg-hit:hover { border-color: var(--line-2); }
@media (max-width: 760px) {
  .msg-layout { grid-template-columns: 1fr; height: 74vh; }
  .msg-side { border-right: 0; }
  .msg-pane { display: none; }
  .msg-layout.is-open .msg-side { display: none; }
  .msg-layout.is-open .msg-pane { display: flex; }
  .msg-back { display: inline-grid; }
  .msg-head .input { max-width: none; flex-basis: 100%; order: 3; }
  .msg { max-width: 88%; }
}

/* In-app browser notice (Instagram / TikTok / Facebook link browsers) */
.inapp-notice { position: relative; z-index: 70; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: var(--signal); color: #0a0a0e; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.inapp-notice svg { width: 18px; height: 18px; flex: none; }
.inapp-notice span { flex: 1 1 220px; }
.inapp-notice .btn { background: #0a0a0e; color: var(--signal); }

/* Compact inputs and segmented tabs (Message viewer, Video finder) */
.input.input--sm, .select.input--sm { height: 38px; font-size: 14px; border-radius: 11px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.seg-btn { border: 0; background: none; color: var(--text-2); padding: 7px 12px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.seg-btn[aria-selected='true'] { background: var(--surface-3); color: var(--text); }

/* Video finder */
.vid-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vid-tools .input, .vid-tools .select { width: auto; }
.vid-tools .btn { margin-left: auto; }
.panel > .tiny.muted svg { width: 13px; height: 13px; vertical-align: -2px; }
.vid-list { display: grid; gap: 4px; margin-top: 12px; }
.vid-day { margin: 16px 0 4px; font-size: 12.5px; font-weight: 600; color: var(--text-2); text-transform: capitalize; }
.vid-row { display: grid; grid-template-columns: 64px 34px 1fr auto; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); text-decoration: none; font-size: 14px; }
.vid-row:hover { border-color: var(--line-2); background: var(--surface-3); }
.vid-time { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
.vid-thumb { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #25f4ee33, #fe2c5533); }
.vid-thumb svg { width: 14px; height: 14px; }
.vid-open { display: inline-flex; align-items: center; gap: 6px; color: var(--uv); font-weight: 600; font-size: 13px; }
.vid-open svg { width: 13px; height: 13px; }
@media (max-width: 560px) { .vid-tools .btn { margin-left: 0; } .vid-row { grid-template-columns: 54px 1fr auto; } .vid-thumb { display: none; } }

/* "Also inside" strip under the home tools grid */
.also-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.also-strip .eyebrow { margin-right: 4px; }
.also-strip a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; text-decoration: none; transition: border-color .2s, background .2s; }
.also-strip a:hover { border-color: var(--line-2); background: var(--surface-2); }
.also-strip svg { width: 15px; height: 15px; color: var(--signal); }

/* Posts & stories archive */
.arch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.arch-tile { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); cursor: pointer; }
.arch-tile img, .arch-tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.arch-tile:hover img, .arch-tile:hover video { transform: scale(1.04); }
.arch-tile:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.arch-badge { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; }
.arch-badge svg { width: 12px; height: 12px; }
.arch-date { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 11.5px; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.arch-more { grid-column: 1 / -1; justify-self: center; margin-top: 8px; }
.arch-full { display: block; max-width: 100%; max-height: 70vh; margin: 0 auto; border-radius: 12px; background: var(--surface-2); }
.arch-caption { margin: 14px 0 0; white-space: pre-wrap; color: var(--text-2); }
@media (max-width: 560px) { .arch-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; } .arch-tile { border-radius: 6px; } .arch-date { display: none; } }

.related-platforms { margin: 18px 0 0; text-align: center; }
.related-platforms a { color: var(--text); }

/* Finders (X posts search & clean-up, Instagram likes & comments) */
.finder-search { display: flex; align-items: center; gap: 10px; }
.finder-search svg { width: 18px; height: 18px; color: var(--text-2); flex: none; }
.finder-extra:empty { display: none; }
.scan-box { margin-top: 14px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line-2); background: var(--surface-2); display: grid; gap: 10px; }
.scan-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.scan-head svg { width: 16px; height: 16px; color: var(--signal); }
.scan-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.scan-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.scan-chip .scan-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(224, 87, 74, .18); color: #ff9a8f; font-size: 12px; text-align: center; }
.scan-chip.is-zero .scan-n { background: rgba(26, 158, 142, .18); color: #7fe0d2; }
.scan-chip.is-on { border-color: var(--signal); background: rgba(215, 255, 58, .08); }
.finder-list { display: grid; gap: 8px; margin-top: 10px; }
.finder-row { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); display: grid; gap: 8px; }
.finder-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); }
.finder-owner { color: var(--text); font-weight: 600; text-decoration: none; }
.finder-owner:hover { text-decoration: underline; }
.finder-type { padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--surface-3); color: var(--text); }
.finder-type--replies { color: var(--uv); }
.finder-type--reposts { color: #7fe0d2; }
.finder-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.5; }
.finder-text mark { background: var(--signal); color: #0a0a0e; border-radius: 3px; padding: 0 2px; }
.finder-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Look up anyone */
.lk-search { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lk-search > svg { width: 20px; height: 20px; color: var(--text-2); flex: none; }
.lk-input { font-size: 16px; height: 52px; }
.lk-suggest { position: absolute; left: 30px; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 18px 50px rgba(0,0,0,.45); overflow: hidden; }
.lk-suggest:empty { display: none; }
.lk-opt { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 0; background: none; color: var(--text); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.lk-opt em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--text-2); }
.lk-opt:hover, .lk-opt.is-active { background: var(--surface-3); }
.lk-none { padding: 12px 14px; color: var(--text-2); font-size: 14px; }
.lk-mini { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.92); }
.lk-group { margin-top: 14px; }
.lk-group h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.lk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; }
.lk-chip:hover { border-color: var(--line-2); background: var(--surface-3); }
.lk-chip em { font-style: normal; font-size: 12px; color: var(--signal); }
.lk-card { display: grid; gap: 16px; }
.lk-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lk-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 700; color: rgba(255,255,255,.95); flex: none; }
.lk-who { display: grid; gap: 6px; min-width: 0; flex: 1; }
.lk-who b { font-size: 20px; font-family: var(--font-display, inherit); overflow-wrap: anywhere; }
.lk-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(143,125,255,.18); color: #c9c0ff; }
.lk-badge--warn { background: rgba(224,87,74,.18); color: #ff9a8f; }
.lk-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.lk-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lk-fact { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.lk-fact > div { display: grid; gap: 2px; }
.lk-fact b { font-size: 14.5px; font-weight: 600; }
.lk-fact span:not(.lk-ico) { font-size: 13px; color: var(--text-2); }
.lk-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); flex: none; }
.lk-ico svg { width: 16px; height: 16px; color: var(--signal); }
@media (max-width: 560px) { .lk-suggest { left: 0; } .lk-acts { width: 100%; } }

/* Close Friends check */
.cf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.cf-col { padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.cf-col h4 { margin: 0; font-size: 14.5px; }
.cf-col .tiny { margin: 0; }

/* "More guides" list: two columns on wide screens */
.checklist.more-links { display: block; columns: 2; column-gap: 32px; }
.checklist.more-links li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 720px) { .checklist.more-links { columns: 1; } }

/* Action plan */
.ap { display: grid; gap: 14px; }
.ap-count { font-size: 13px; font-weight: 600; color: var(--signal); white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: rgba(215, 255, 58, 0.08); border: 1px solid rgba(215, 255, 58, 0.18); }
.ap-meter { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.ap-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--uv), var(--signal)); transition: width 0.5s var(--ease); }
.ap-done { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(12, 163, 12, 0.1); border: 1px solid rgba(12, 163, 12, 0.3); }
.ap-done > svg { width: 22px; height: 22px; color: #6fe36f; flex: none; }
.ap-done b { display: block; font-size: 15px; }
.ap-done span { font-size: 13.5px; color: var(--text-2); }
.ap-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.ap-step { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); transition: opacity 0.2s, border-color 0.2s; }
.ap-step:hover { border-color: var(--line-2); }
.ap-check { width: 24px; height: 24px; margin-top: 7px; border-radius: 8px; border: 1.5px solid var(--line-3); background: transparent; color: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.ap-check svg { width: 14px; height: 14px; }
.ap-check:hover { border-color: var(--signal); color: rgba(215, 255, 58, 0.5); }
.ap-check[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.ap-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(143, 125, 255, 0.14); color: #c9c0ff; }
.ap-ico svg { width: 18px; height: 18px; }
.ap-body { display: grid; gap: 4px; min-width: 0; }
.ap-body b { font-size: 15px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ap-body > span { font-size: 13.5px; color: var(--text-2); }
.ap-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.ap-step.is-done { opacity: 0.55; }
.ap-step.is-done .ap-body b { text-decoration: line-through; text-decoration-color: var(--muted); }
@media (max-width: 560px) { .ap-ico { display: none; } .ap-step { grid-template-columns: auto minmax(0, 1fr); } }
.ap-link { display: flex; align-items: center; gap: 10px; min-width: 0; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.ap-link .ap-body { flex: 1; }
.ap-arrow { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform 0.2s var(--ease), color 0.2s; }
.ap-step:hover .ap-arrow, .ap-link:focus-visible .ap-arrow { color: var(--signal); transform: translateX(3px); }
.ap-link:focus-visible { outline: 2px solid var(--signal); outline-offset: 6px; border-radius: 10px; }
.ap-more { justify-self: start; padding: 6px 2px; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); cursor: pointer; }
.ap-more:hover { color: var(--signal); }

/* Your digital life (timeline) */
.dl-line { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.dl-year { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
.dl-yr { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; color: var(--signal); padding-top: 8px; }
.dl-year ul { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line-2); display: grid; gap: 10px; }
.dl-ev { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.dl-ev::before { content: ''; position: absolute; left: -26px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--uv); box-shadow: 0 0 0 4px var(--surface); }
.dl-ev b { display: block; font-size: 14.5px; overflow-wrap: anywhere; }
.dl-ev span:not(.dl-ico):not(.dl-kind) { font-size: 13px; color: var(--text-2); }
.dl-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); }
.dl-ico svg, .dl-kind svg { width: 16px; height: 16px; }
.dl-kind { color: var(--muted); }
@media (max-width: 560px) { .dl-year { grid-template-columns: 1fr; gap: 8px; } .dl-yr { padding-top: 0; } .dl-kind { display: none; } .dl-ev { grid-template-columns: auto minmax(0, 1fr); } }
.also-strip button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.also-strip button:hover { border-color: var(--line-2); background: var(--surface-2); }
.also-strip--center { justify-content: center; margin: 26px 0 0; }
.ap-check:focus-visible, .ap-more:focus-visible, .also-strip button:focus-visible, .also-strip a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.welcome-back { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto 18px; padding: 14px 16px; border-radius: 18px; background: rgba(143, 125, 255, 0.12); border: 1px solid rgba(143, 125, 255, 0.3); text-align: start; }
.welcome-back > svg { width: 26px; height: 26px; flex: none; color: #c9c0ff; }
.welcome-back b { display: block; font-size: 15.5px; }
.welcome-back span { font-size: 13.5px; color: var(--text-2); }
.welcome-back .btn { flex: none; }
@media (max-width: 560px) { .welcome-back { flex-wrap: wrap; } }
.crypto-help { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--surface-2); font-size: 14px; }
.crypto-help summary { cursor: pointer; font-weight: 600; color: var(--text); }
.crypto-help ol { margin: 10px 0 6px; padding-left: 20px; display: grid; gap: 6px; color: var(--text-2); }
.crypto-help p { margin: 0; }
.app-nav .group:not(:first-child):not(.group--lab) { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.app-picker { width: 100%; height: 46px; font-size: 15px; font-weight: 600; }
.drop-links { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; align-items: center; color: var(--muted); }
.drop-links button { background: none; border: 0; font: inherit; cursor: pointer; }

/* Phones: long card stacks become a swipeable row (the next card peeks in). */
@media (max-width: 760px) {
  .lab-grid, .pricing--tiers, #tools .bento, #how .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lab-grid::-webkit-scrollbar, .pricing--tiers::-webkit-scrollbar, #tools .bento::-webkit-scrollbar, #how .steps::-webkit-scrollbar { display: none; }
  .lab-grid > *, .pricing--tiers > *, #tools .bento > *, #how .steps > * { flex: 0 0 86%; scroll-snap-align: center; margin: 0; }
}

@media (max-width: 560px) { .drop-links { flex-direction: column; gap: 4px; } .drop-links span { display: none; } }

/* Gemini 3D artwork */
.hero-art { position: relative; z-index: 0; max-width: 720px; margin: 22px auto -36px; pointer-events: none; }
.hero-art img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 58%, transparent 100%); }
.hero-art--sq { max-width: 340px; margin-bottom: -24px; }
.hero-art + div { position: relative; z-index: 1; }
.sec-art { display: block; width: 220px; height: auto; margin: 0 0 6px -18px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 72%); }
.sec-head--center .sec-art { margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .hero-art { max-width: 420px; margin: 12px auto -24px; } .hero-art--sq { max-width: 260px; } .sec-art { width: 170px; } }

/* 3D icons */
.ico3d { display: block; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.tool-top .ico3d { width: 52px; height: 52px; }
.tool-tile:hover .ico3d, .related-card:hover .ico3d { transform: translateY(-3px) rotate(-4deg) scale(1.06); }
.related-card .ico3d { grid-row: span 2; width: 44px; height: 44px; }
.tab .ico3d { width: 22px; height: 22px; filter: none; }
.pf .ico3d { width: 20px; height: 20px; filter: none; }

/* Art beside text-page headings */
.page-hero > .container { position: relative; }
.hero-art--side { max-width: 170px; margin: -8px auto 4px; }
.hero-art--side + * { position: static; }
@media (min-width: 960px) {
  .hero-art--side { position: absolute; top: -28px; right: 8px; width: 300px; max-width: none; margin: 0; z-index: 0; }
  .page-hero > .container:has(.hero-art--side) > :not(.hero-art) { position: relative; z-index: 1; }
  .page-hero > .container:has(.hero-art--side) > :is(.sec-head, .stack, .eyebrow, h1, .lead, .meta, p) { max-width: calc(100% - 320px); }
  .page-hero > .container:has(.hero-art--side) > .sec-head > * { max-width: 100%; }
}
.ds-btn .ico3d { width: 20px; height: 20px; filter: none; flex: none; }
.also-strip .ico3d { width: 22px; height: 22px; filter: none; flex: none; }
.card.tile:has(.tile-art) { position: relative; overflow: hidden; padding-right: 128px; }
.tile-art { position: absolute; right: -14px; top: 50%; width: 140px; height: 140px; transform: translateY(-50%); pointer-events: none; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 72%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.card.tile:hover .tile-art { transform: translateY(-50%) scale(1.08) rotate(-4deg); }
@media (max-width: 520px) { .card.tile:has(.tile-art) { padding-right: 96px; } .tile-art { width: 110px; height: 110px; right: -16px; } }
.lock-art { display: block; width: 120px; height: 120px; margin: -10px auto 2px; -webkit-mask-image: radial-gradient(circle, #000 50%, transparent 70%); mask-image: radial-gradient(circle, #000 50%, transparent 70%); }
.empty .empty-art { width: 56px; height: 56px; margin: 0 auto 10px; }
.footer-grid .f-h { margin-top: 0; line-height: 1.4; }
.plan-top:has(.plan-ico) { justify-content: flex-start; gap: 10px; } .plan-top:has(.plan-ico) .badge { margin-left: auto; } .plan-ico { width: 40px; height: 40px; }
.lab-top .lab-ico { width: 44px; height: 44px; }
