/* =============================================================================
   Pocket CVI — marketing site
   Design system: dark, premium, "keynote-grade". Graphite base matching the app
   icon, restrained full-spectrum accents, macOS Liquid-Glass nods.
   ============================================================================= */

/* ---------- Design tokens ---------------------------------------------------- */
:root {
  /* Graphite base (matches the app icon squircle) */
  --ink-900: #08090c;
  --ink-850: #0b0d11;
  --ink-800: #0f1116;
  --ink-750: #14161d;
  --ink-700: #1a1d25;
  --ink-650: #22262f;

  /* Text */
  --text:      #f3f5f8;
  --text-soft: #c3c8d2;
  --text-dim:  #8b929f;
  --text-faint:#5c6270;

  /* Lines & glass */
  --line:      rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.055);
  --line-strong: rgba(255, 255, 255, 0.14);
  --glass:     rgba(255, 255, 255, 0.035);
  --glass-2:   rgba(255, 255, 255, 0.06);

  /* Full spectrum — the brand's soul */
  --spec-red:    #ff4d6d;
  --spec-orange: #ff9245;
  --spec-yellow: #ffd23f;
  --spec-green:  #3ddc84;
  --spec-teal:   #22d3ee;
  --spec-blue:   #4f7bff;
  --spec-indigo: #7c6cff;
  --spec-violet: #b06bff;

  /* Signature accent (CTAs, focus) */
  --accent:      #6c7bff;
  --accent-2:    #22d3ee;
  --accent-glow: rgba(108, 123, 255, 0.55);

  --spectrum: linear-gradient(90deg,
    var(--spec-red) 0%, var(--spec-orange) 15%, var(--spec-yellow) 30%,
    var(--spec-green) 46%, var(--spec-teal) 62%, var(--spec-blue) 76%,
    var(--spec-indigo) 88%, var(--spec-violet) 100%);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow:    0 18px 50px rgba(0,0,0,0.45);
  --shadow-lg: 0 40px 120px rgba(0,0,0,0.6);

  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Fonts — native SF on Mac, with graceful fallbacks. Serif accent echoes the
     app icon's "Aa". */
  --font-sans: -apple-system, "SF Pro Display", "SF Pro Text", "Inter",
               system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "New York", "Iowan Old Style", "Palatino Linotype", Georgia,
                "Times New Roman", serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace,
               "Cascadia Code", Menlo, Consolas, monospace;
}

/* ---------- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--ink-900);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
}

/* Ambient page backdrop: graphite with faint spectral glows + grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 45% at 15% -5%, rgba(124, 108, 255, 0.18), transparent 60%),
    radial-gradient(50% 40% at 92% 8%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(55% 50% at 60% 105%, rgba(255, 77, 109, 0.10), transparent 60%),
    var(--ink-900);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent-glow); color: #fff; }

/* ---------- Layout ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--spectrum);
}
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 640; }
h2 { font-size: clamp(2rem, 4.4vw, 3.35rem); margin-top: 18px; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-soft); margin-top: 20px; line-height: 1.55; }
.serif-em { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }

.spectrum-text {
  color: var(--text);
}

/* ---------- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #fff; position: relative;
  background: linear-gradient(180deg, #7b88ff, #5a68f0);
  box-shadow: 0 10px 30px rgba(90, 104, 240, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(90, 104, 240, 0.6), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost {
  background: var(--glass); color: var(--text);
  border: 1px solid var(--line-strong); backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--glass-2); border-color: rgba(255,255,255,0.24); }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .sub { font-size: 0.72rem; font-weight: 500; opacity: 0.7; margin-left: 2px; }

/* ---------- Nav -------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 650; letter-spacing: -0.02em; font-size: 1.06rem; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-size: 0.92rem; color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--glass); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- Hero ------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); text-align: center; overflow: hidden; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: 999px; margin-bottom: 30px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px);
  font-size: 0.82rem; color: var(--text-soft); font-weight: 500;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--spec-green); box-shadow: 0 0 12px var(--spec-green); }
.hero-badge .pill { font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(124,108,255,0.18); color: #b7bdff; letter-spacing: 0.02em; }
.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.6rem); font-weight: 680; letter-spacing: -0.035em;
  line-height: 0.98; max-width: 15ch; margin-inline: auto;
}
.hero p.lead { max-width: 60ch; margin-inline: auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-meta { margin-top: 20px; font-size: 0.85rem; color: var(--text-faint); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .chk { color: var(--spec-green); }

/* Hero: interactive picker strip */
.picker-demo { margin: 40px auto 0; max-width: 560px; }
.picker-strip {
  height: 66px; border-radius: 14px; position: relative; cursor: crosshair;
  background: var(--spectrum); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.14);
  overflow: hidden;
}
.picker-loupe {
  position: absolute; top: 50%; width: 58px; height: 58px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.6); opacity: 0; pointer-events: none;
  border: 3px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.4);
  transition: opacity 0.18s, transform 0.18s var(--ease);
}
.picker-loupe.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.picker-loupe::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background-image: linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 12px 12px; opacity: 0.5;
}
.picker-readout {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.92rem; color: var(--text-soft);
  padding: 9px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line);
}
.picker-readout .sw { width: 18px; height: 18px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.25); }
.picker-readout .hint { color: var(--text-faint); font-family: var(--font-sans); font-size: 0.8rem; }

/* Hero app shot */
.hero-shot { margin-top: 60px; position: relative; }
.hero-shot .glow {
  position: absolute; inset: -6% 8% 14%; z-index: -1; filter: blur(70px); opacity: 0.55;
  background: var(--spectrum); border-radius: 50%;
}

/* ---------- Trust / logos strip --------------------------------------------- */
.marquee-wrap { border-block: 1px solid var(--line-soft); background: rgba(255,255,255,0.015); }
.marquee-label { text-align: center; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); padding-top: 26px; }
.marquee { display: flex; gap: 56px; padding: 22px 0 30px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; align-items: center; animation: scroll-x 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); font-weight: 550; font-size: 1.02rem; white-space: nowrap; letter-spacing: -0.01em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- App window frame (mockups) -------------------------------------- */
.window {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-800);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.window-bar {
  height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-bottom: 1px solid var(--line);
}
.traffic { display: flex; gap: 8px; }
.traffic i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.traffic .r { background: #ff5f57; } .traffic .y { background: #febc2e; } .traffic .g { background: #28c840; }
.window-title { font-size: 0.82rem; color: var(--text-dim); margin-inline: auto; font-weight: 550; letter-spacing: -0.01em; }
.window-tools { display: flex; gap: 6px; }
.window-tools i { width: 26px; height: 22px; border-radius: 6px; background: var(--glass); }

/* ---------- Feature grid (bento) -------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -20%, rgba(255,255,255,0.06), transparent 60%);
}
.card .tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.card h3 { margin-top: 10px; }
.card p { color: var(--text-soft); margin-top: 10px; font-size: 0.98rem; }
.card .icn { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--line); background: var(--ink-750); }
.card .icn svg { width: 24px; height: 24px; }
.col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-3 { grid-column: span 3; } .col-2 { grid-column: span 2; }
.card-feature { grid-column: span 6; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; padding: 0; }
.card-feature .body { padding: 40px; }
.card-feature .art { align-self: stretch; min-height: 320px; display: grid; place-items: center; padding: 32px; }

/* mini spectral icon tints */
.t-red { color: var(--spec-red); } .t-orange { color: var(--spec-orange); } .t-yellow { color: var(--spec-yellow); }
.t-green { color: var(--spec-green); } .t-teal { color: var(--spec-teal); } .t-blue { color: var(--spec-blue); }
.t-indigo { color: var(--spec-indigo); } .t-violet { color: var(--spec-violet); }

/* ---------- Steps / how it works -------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-faint);
  position: absolute; top: 0; left: 0;
}
.step::after { content: ""; position: absolute; top: 6px; left: 44px; right: -10px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.94rem; }
.step .dot { position: absolute; top: 2px; left: 34px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }

/* ---------- Scheme generator showcase --------------------------------------- */
.scheme-roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.role { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-750); }
.role .chip { height: 130px; position: relative; }
.role .meta { padding: 14px 16px; }
.role .meta .name { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); }
.role .meta .hex { font-family: var(--font-mono); font-size: 0.92rem; margin-top: 3px; }

/* ---------- Use cases -------------------------------------------------------- */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.usecase {
  padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass-2), transparent);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.usecase:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.usecase .persona { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.usecase h3 { margin: 12px 0; font-size: 1.28rem; }
.usecase p { color: var(--text-soft); font-size: 0.96rem; }
.usecase .feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.usecase .feats span { font-size: 0.78rem; padding: 5px 11px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: var(--text-dim); }

/* ---------- Testimonials ----------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quote { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--glass); }
.quote p { font-size: 1.08rem; color: var(--text); line-height: 1.5; letter-spacing: -0.01em; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 0.9rem; color: #fff; }
.quote .who .n { font-weight: 600; font-size: 0.92rem; } .quote .who .r { font-size: 0.82rem; color: var(--text-dim); }

/* ---------- FAQ -------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--text-dim); border-radius: 2px; }
.faq summary .plus::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq summary .plus::after { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: opacity 0.3s; }
.faq details[open] summary .plus::after { opacity: 0; }
.faq details[open] summary .plus { transform: rotate(90deg); }
.faq details p { color: var(--text-soft); padding: 0 4px 22px; font-size: 0.98rem; max-width: 68ch; }

/* ---------- Big CTA ---------------------------------------------------------- */
.cta-band { position: relative; text-align: center; border-radius: var(--radius-xl); overflow: hidden; padding: clamp(56px, 8vw, 96px) 24px; border: 1px solid var(--line-strong); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 50% -30%, rgba(124,108,255,0.35), transparent 55%), radial-gradient(90% 120% at 50% 130%, rgba(34,211,238,0.22), transparent 55%), var(--ink-800); }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.cta-band .hero-cta { margin-top: 32px; }

/* ---------- Footer ----------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: 60px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer p { color: var(--text-dim); font-size: 0.92rem; max-width: 34ch; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: var(--text-soft); font-size: 0.92rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }
/* Sibling products: a nudge from a spoke, not a directory — nullbase.eu is the
   hub. Footer-only and low-contrast on purpose, so it never competes with the
   download and pricing calls to action. */
.footer-siblings { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-siblings ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; }
.footer-siblings a { display: block; color: var(--text-soft); font-size: 0.92rem; }
.footer-siblings a strong { display: block; font-weight: 600; color: var(--text); }
.footer-siblings a span { color: var(--text-faint); font-size: 0.84rem; }
.footer-siblings a:hover strong { color: var(--accent, currentColor); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom p { font-size: 0.86rem; color: var(--text-faint); }
.footer-bottom .spectrum-bar { flex: 1; max-width: 200px; height: 4px; border-radius: 4px; background: var(--spectrum); opacity: 0.8; }

/* ---------- Reveal animation ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Sub-page (guides / use-cases) ----------------------------------- */
.page-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(28px, 4vw, 48px); text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.035em; max-width: 16ch; margin-inline: auto; }
.crumbs { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 22px; }
.crumbs a:hover { color: var(--text); }

.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide {
  display: block; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass-2), transparent);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.guide:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.guide .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.guide .num { font-family: var(--font-mono); color: var(--text-faint); font-size: 0.82rem; }
.guide .time { font-size: 0.78rem; color: var(--text-dim); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.guide h3 { font-size: 1.24rem; }
.guide p { color: var(--text-soft); margin-top: 8px; font-size: 0.95rem; }
.guide .go { margin-top: 18px; font-size: 0.9rem; color: var(--accent-2); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

.article { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 8px; }
.article ol { list-style: none; counter-reset: s; display: grid; gap: 20px; margin-top: 34px; }
.article ol li { counter-increment: s; position: relative; padding: 22px 24px 22px 66px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.article ol li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: #fff; background: linear-gradient(180deg, #7b88ff, #5a68f0); }
.article ol li b { display: block; margin-bottom: 3px; letter-spacing: -0.01em; }
.article ol li span { color: var(--text-soft); }
.tip { margin-top: 30px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid rgba(61,220,132,0.28); background: rgba(61,220,132,0.07); }
.tip b { color: var(--spec-green); }
.tip p { color: var(--text-soft); margin-top: 4px; }

/* ---------- App UI mockups (the "screenshots") ------------------------------ */
.app { font-size: 13px; color: var(--text); }
.app-body { display: grid; grid-template-columns: 210px 1fr; min-height: 380px; }
.app-body.tall { min-height: 520px; }

/* sidebar */
.side { background: rgba(255,255,255,0.02); border-right: 1px solid var(--line); padding: 14px 10px; }
.side .grp { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); padding: 12px 10px 6px; }
.side .item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: var(--text-soft); font-weight: 500; }
.side .item .ic { width: 15px; height: 15px; opacity: 0.8; }
.side .item.sel { background: linear-gradient(180deg, rgba(124,108,255,0.28), rgba(124,108,255,0.16)); color: #fff; box-shadow: inset 0 0 0 1px rgba(124,108,255,0.35); }
.side .item .dotcol { width: 10px; height: 10px; border-radius: 3px; }
.side .item .cnt { margin-left: auto; font-size: 0.72rem; color: var(--text-faint); }

/* main sheet */
.sheet { padding: 22px 24px; overflow: hidden; }
.sheet .title { font-size: 1.5rem; font-weight: 640; letter-spacing: -0.02em; }
.sheet .subtitle { color: var(--text-dim); font-size: 0.82rem; margin-top: 2px; }
.notecard { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,0.02); }
.notecard .nbar { display: flex; gap: 4px; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.notecard .nbar b { width: 22px; height: 20px; border-radius: 5px; background: var(--glass); display: grid; place-items: center; font-size: 0.72rem; color: var(--text-dim); font-weight: 700; }
.notecard .ntext { padding: 12px 14px; color: var(--text-soft); font-size: 0.82rem; line-height: 1.55; }
.notecard .ntext strong { color: var(--text); }
.sec-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin: 22px 0 12px; display: flex; align-items: center; gap: 8px; }
.sec-label .ln { flex: 1; height: 1px; background: var(--line); }

.swatch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.swatch { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-750); }
.swatch .fill { height: 56px; }
.swatch .lab { padding: 7px 9px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-soft); }
.logo-row { display: flex; gap: 12px; }
.logo-chip { width: 96px; height: 62px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); display: grid; place-items: center; }
.font-row { display: grid; gap: 8px; }
.font-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.font-item .fname { font-size: 1.02rem; letter-spacing: -0.01em; }
.font-item .fmeta { margin-left: auto; font-size: 0.72rem; color: var(--text-dim); }
.badge { font-size: 0.68rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.badge.ok { background: rgba(61,220,132,0.16); color: #7ff0b0; }
.badge.no { background: rgba(255,146,69,0.16); color: #ffbb8a; }

/* loupe art */
.loupe-scene { width: 100%; max-width: 340px; aspect-ratio: 4 / 3; border-radius: var(--radius); position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #2b3350, #3a2b52 45%, #52314a); }
.loupe-scene .ui-blob { position: absolute; border-radius: 10px; opacity: 0.9; }
.loupe { position: absolute; width: 118px; height: 118px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 14px 40px rgba(0,0,0,0.55); left: 52%; top: 46%; transform: translate(-50%,-50%); overflow: hidden; background: #3ddc84; }
.loupe .px { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.22) 1px, transparent 1px); background-size: 16px 16px; }
.loupe .cross { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; transform: translate(-50%,-50%); box-shadow: 0 0 0 1.5px rgba(0,0,0,0.5), inset 0 0 0 1.5px #fff; }
.loupe-tag { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.78rem; background: rgba(0,0,0,0.6); color: #fff; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px); }

/* scheme art */
.scheme-art { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%; max-width: 360px; }
.scheme-art .r { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.scheme-art .r .c { height: 92px; }
.scheme-art .r .m { padding: 8px 9px; background: var(--ink-750); }
.scheme-art .r .m .k { font-size: 0.58rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.scheme-art .r .m .h { font-family: var(--font-mono); font-size: 0.66rem; margin-top: 2px; }

/* share art */
.share-art { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px; }
.file-badge { width: 116px; height: 140px; border-radius: 14px; position: relative; background: linear-gradient(160deg, #1c1f28, #12141a); border: 1px solid var(--line-strong); box-shadow: var(--shadow); display: grid; place-items: center; }
.file-badge .fold { position: absolute; top: 0; right: 0; width: 30px; height: 30px; background: var(--ink-700); border-bottom-left-radius: 10px; border-left: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.file-badge .ext { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-2); }
.file-badge .spark { width: 46px; height: 46px; border-radius: 12px; background: var(--spectrum); box-shadow: 0 0 24px rgba(124,108,255,0.5); }
.share-chips { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.share-chips span { font-size: 0.72rem; padding: 5px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: var(--text-dim); }

/* ---------- Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
  .bento, .steps, .usecases, .quotes, .scheme-roles, .footer-grid, .guide-list { grid-template-columns: 1fr; }
  .footer-siblings ul { grid-template-columns: 1fr; }
  .col-6, .col-4, .col-3, .col-2, .card-feature { grid-column: 1 / -1; }
  .card-feature { grid-template-columns: 1fr; }
  .card-feature .art { min-height: 240px; }
  .scheme-roles { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
  .nav-links { display: none; }
  .footer-grid { gap: 32px; }
}
@media (max-width: 560px) {
  .scheme-roles { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-band .btn { width: 100%; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Press kit -------------------------------------------------------- */
.press-facts { border-collapse: collapse; width: 100%; margin-top: 18px; }
.press-facts th { text-align: left; vertical-align: top; color: var(--text-faint);
  font-weight: 600; font-size: 0.86rem; letter-spacing: 0.04em; padding: 10px 24px 10px 0;
  white-space: nowrap; width: 160px; border-bottom: 1px solid var(--line); }
.press-facts td { padding: 10px 0; color: var(--text-soft); font-size: 0.95rem;
  border-bottom: 1px solid var(--line); }
.press-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.press-shot img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.press-shot figcaption { color: var(--text-dim); font-size: 0.86rem; margin-top: 8px; line-height: 1.5; }
@media (max-width: 720px) { .press-shots { grid-template-columns: 1fr; } }

/* ---------- Brand guidelines page -------------------------------------------- */
.brand-swrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin: 14px 0; }
.brand-sw { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.brand-sw .chip { height: 56px; }
.brand-sw .meta { padding: 8px 10px; font-size: 0.8rem; line-height: 1.4; }
.brand-sw .meta b { display: block; color: var(--text); }
.brand-sw .meta span { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.74rem; }
.brand-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.brand-logobox { border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; align-items: center; justify-content: center; }
.brand-logobox img { max-width: 100%; height: auto; }
@media (max-width: 720px) { .brand-logos { grid-template-columns: 1fr; } }

/* Inline code — the Homebrew one-liner on /download/, the press facts. */
code { font-family: var(--font-mono); font-size: 0.88em; color: var(--text-soft); background: var(--ink-750); border: 1px solid var(--line); padding: 2px 8px; border-radius: 7px; overflow-wrap: anywhere; }
