/* ═══════════════════════════════════════
   OLIVIA — Landing Page  (redesign v2)
   All-light · Glass · Signal-driven
   olivia.tools
═══════════════════════════════════════ */

:root {
  --bg:        #F8F7F5;
  --bg-2:      #FFFFFF;
  --surface:   rgba(255,255,255,0.82);
  --border:    rgba(0,0,0,0.07);
  --text:      #111111;
  --text-2:    #444444;
  --text-3:    #888888;

  --olivia:    #D0B8E8;
  --olivia-2:  #B89ED0;
  --olivia-3:  #8B5CF6;

  --blob-a: rgba(208,184,232,0.50);
  --blob-b: rgba(139,92,246,0.18);
  --blob-c: rgba(180,155,235,0.30);
  --blob-d: rgba(200,185,245,0.22);

  --f-sans:    'Geist', system-ui, sans-serif;
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --nav-h:     62px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: var(--f-sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 3px; }

/* ── Layout ─────────────────────────────── */
.container { width: 100%; padding: 0 52px; }

/* ── Typography ─────────────────────────── */
.section-label {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.1rem;
  display: block;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.6rem;
}
.section-title em { font-style: italic; color: var(--olivia-2); }

/* ── Reveal ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Blobs ──────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  z-index: 0;
}
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(22px, -26px) scale(1.05); }
  66%       { transform: translate(-16px, 18px) scale(0.97); }
}

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: 0.88rem;
  font-weight: 400;
  cursor: pointer;
  border: none;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn--filled {
  background: var(--text);
  color: var(--bg);
  padding: 12px 28px;
}
.btn--filled:hover { background: #222; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.14); }

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  padding: 11px 22px;
  border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: rgba(0,0,0,0.18); }

/* ── Signal chips (shared) ──────────────── */
.signal-chip {
  font-size: 0.75rem; font-weight: 400;
  color: var(--olivia-3); background: rgba(139,92,246,0.05);
  border: 1px solid rgba(139,92,246,0.18); border-radius: 100px;
  padding: 4px 12px; cursor: default; transition: all 0.2s;
}
.signal-chip:hover { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.35); }


/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s;
}
.nav.scrolled {
  background: rgba(248,247,245,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 52px;
}
.nav__wordmark {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.02em;
}
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__cta {
  font-family: var(--f-sans);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  transition: all 0.25s var(--ease);
}
.nav__cta:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-switcher__btn {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--f-sans); font-size: 0.78rem; font-weight: 500;
  color: var(--text-2);
  background: none; border: 1px solid var(--border); border-radius: 100px;
  padding: 7px 14px; cursor: pointer; transition: all 0.25s var(--ease);
}
.lang-switcher__btn:hover { color: var(--text); border-color: rgba(0,0,0,0.18); }
.lang-switcher__btn svg { opacity: 0.5; transition: transform 0.2s; }
.lang-switcher__menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px; min-width: 130px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all 0.2s var(--ease); z-index: 110;
}
.lang-switcher__menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switcher__option {
  display: block; width: 100%; text-align: left;
  font-family: var(--f-sans); font-size: 0.82rem; font-weight: 400;
  color: var(--text-2); background: none; border: none; border-radius: 8px;
  padding: 8px 12px; cursor: pointer; transition: all 0.15s;
}
.lang-switcher__option:hover { background: rgba(208,184,232,0.12); color: var(--text); }
.lang-switcher__option.active { color: var(--olivia-3); font-weight: 500; }


/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  background: var(--bg);
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.blob--h1 { width: 520px; height: 520px; background: var(--blob-a); top: -100px; right: 8%; animation: blob-drift 14s ease-in-out infinite; }
.blob--h2 { width: 300px; height: 300px; background: var(--blob-b); bottom: 10%; left: 4%; animation: blob-drift 17s ease-in-out infinite reverse; }
.blob--h3 { width: 220px; height: 220px; background: var(--blob-c); top: 40%; left: 38%; animation: blob-drift 11s ease-in-out infinite; animation-delay: -4s; }
.blob--lib  { width: 480px; height: 480px; background: var(--blob-d); top: -80px; right: -120px; animation: blob-drift 18s ease-in-out infinite; }
.blob--ext  { width: 400px; height: 400px; background: var(--blob-a); bottom: -80px; left: -100px; animation: blob-drift 15s ease-in-out infinite reverse; }
.blob--cta1 { width: 480px; height: 480px; background: var(--blob-a); top: -60px;  right: 5%;   animation: blob-drift 16s ease-in-out infinite; }
.blob--cta2 { width: 280px; height: 280px; background: var(--blob-b); bottom: 10%; left: 10%;   animation: blob-drift 13s ease-in-out infinite reverse; }

.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 60px;
  align-items: center;
  padding-top: calc(var(--nav-h) + 52px);
  padding-bottom: 64px;
}

.hero__left { display: flex; flex-direction: column; min-width: 0; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.65);
  border-radius: 100px; padding: 7px 14px;
  backdrop-filter: blur(10px);
  font-family: var(--f-sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--olivia-3);
  margin-bottom: 2rem; width: fit-content;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--olivia-3);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.65); }
}

.hero__headline {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.8rem;
}
.hero__headline em { font-style: italic; color: var(--olivia-2); }

.hero__sub {
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.82;
  margin-bottom: 2.6rem;
  max-width: 440px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.4rem; }

.hero__proof { display: flex; align-items: center; gap: 10px; }
.hero__proof-dots { display: flex; }
.proof-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -6px; flex-shrink: 0;
}
.proof-dot:first-child { margin-left: 0; }
.hero__proof-text { font-size: 0.78rem; font-weight: 300; color: var(--text-3); }

.hero__right { position: relative; }
.hero__canvas-outer { position: relative; }

.hero__canvas-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #e8e6e0;
  box-shadow: 0 24px 72px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
}
.hero__canvas { display: block; width: 100%; height: 100%; }
.hero__canvas-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.06em;
  color: rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.75); border: 1px solid rgba(0,0,0,0.07);
  border-radius: 100px; padding: 5px 12px; backdrop-filter: blur(10px);
  white-space: nowrap; pointer-events: none; transition: opacity 0.35s;
}
.hero__canvas-frame:hover .hero__canvas-hint { opacity: 0; }

/* Glassmorphism stats card */
.hero__stats {
  position: absolute; bottom: -28px; left: -28px;
  width: 258px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px; padding: 20px;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 56px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  z-index: 10;
}
.hero__stats-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero__stats-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(208,184,232,0.15); border: 1px solid rgba(208,184,232,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--olivia-3);
}
.hero__stats-big { font-size: 1.6rem; font-weight: 600; color: var(--text); line-height: 1; }
.hero__stats-label { font-size: 0.68rem; color: var(--text-3); margin-top: 2px; }

.hero__stats-bar-section { margin-bottom: 14px; }
.hero__stats-bar-row {
  display: flex; justify-content: space-between;
  font-size: 0.68rem; color: var(--text-3); margin-bottom: 6px;
}
.hero__stats-bar-val { color: var(--text); font-weight: 500; }
.hero__stats-bar-track { height: 3px; background: rgba(0,0,0,0.07); border-radius: 100px; overflow: hidden; }
.hero__stats-bar-fill {
  height: 100%; width: 80%; border-radius: 100px;
  background: linear-gradient(90deg, var(--olivia), var(--olivia-3));
  animation: bar-grow 2s var(--ease) 0.8s both;
}
@keyframes bar-grow { from { width: 0; } to { width: 80%; } }

.hero__stats-divider { height: 1px; background: rgba(0,0,0,0.06); margin: 14px 0; }

.hero__stats-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 4px; text-align: center; margin-bottom: 14px;
}
.hero__stats-sep { width: 1px; background: rgba(0,0,0,0.06); height: 100%; }
.hero__stats-mini { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hero__stats-mini-val { font-size: 1rem; font-weight: 600; color: var(--text); }
.hero__stats-mini-label { font-size: 0.56rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }

.hero__stats-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stats-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.6rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 9px; border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.02); color: var(--text-3);
}
.stats-chip--live {
  color: #059669;
  border-color: rgba(5,150,105,0.2);
  background: rgba(5,150,105,0.05);
}
.stats-chip--brand {
  color: var(--olivia-3);
  border-color: rgba(208,184,232,0.4);
  background: rgba(208,184,232,0.07);
}

.pulse-dot { position: relative; width: 6px; height: 6px; flex-shrink: 0; }
.pulse-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #059669;
}
.pulse-ring {
  position: absolute; inset: -2px; border-radius: 50%;
  border: 1.5px solid rgba(5,150,105,0.55);
  animation: pulse-expand 2s ease-out infinite;
}
@keyframes pulse-expand {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}


/* ════════════════════════════════════
   MARQUEE STRIP
════════════════════════════════════ */
.marquee-strip {
  background: #111111;
  padding: 22px 0;
  overflow: hidden;
}
.marquee-strip__label-wrap { text-align: center; margin-bottom: 14px; }
.marquee-strip__eyebrow {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.marquee-strip__track { overflow: hidden; position: relative; }
.marquee-strip__track::before,
.marquee-strip__track::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee-strip__track::before { left: 0; background: linear-gradient(to right, #111111, transparent); }
.marquee-strip__track::after  { right: 0; background: linear-gradient(to left, #111111, transparent); }

.marquee-inner {
  display: flex; align-items: center; gap: 24px;
  white-space: nowrap; width: max-content;
  animation: marquee-fwd 40s linear infinite;
}
@keyframes marquee-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mq-item {
  font-family: var(--f-sans); font-size: 0.9rem; font-weight: 400;
  color: rgba(255,255,255,0.48); cursor: default; transition: color 0.2s;
}
.mq-item:hover { color: rgba(255,255,255,0.84); }
.mq-sep { color: rgba(208,184,232,0.28); font-size: 0.48rem; }


/* ════════════════════════════════════
   LIBRARY
════════════════════════════════════ */
.library {
  background: var(--bg-2);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.library__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 2;
}
.library__body {
  font-size: 0.95rem; font-weight: 300; line-height: 1.85;
  color: var(--text-2); margin-bottom: 1rem;
}

/* lib-signal-strip */
.lib-signal-strip { margin-top: 2rem; }
.lib-signal-strip__label {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; display: block;
}
.lib-signal-strip__rows { display: flex; flex-direction: column; gap: 6px; }
.lib-signal-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.9); border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px; backdrop-filter: blur(10px);
  transition: border-color 0.2s;
}
.lib-signal-pill:hover { border-color: rgba(208,184,232,0.4); }
.lsp-type {
  font-size: 0.7rem; font-weight: 600; color: var(--olivia-3);
  background: rgba(139,92,246,0.07); border: 1px solid rgba(139,92,246,0.18);
  border-radius: 100px; padding: 3px 10px; white-space: nowrap;
}
.lsp-desc { font-size: 0.8rem; font-weight: 300; color: var(--text-2); }

/* Glass library card */
.lib-glass-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 22px; padding: 22px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.95);
}
.lib-glass-card__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.lib-glass-card__title {
  font-family: var(--f-display); font-style: italic;
  font-size: 1rem; font-weight: 300; color: var(--text);
}
.lib-glass-card__count { font-size: 0.68rem; color: var(--text-3); }

.lib-items { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.lib-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 10px;
  transition: background 0.2s; cursor: default;
}
.lib-item:hover, .lib-item--active { background: rgba(208,184,232,0.07); }

.lib-item__thumb {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  overflow: hidden; background: rgba(0,0,0,0.05);
}
.lib-item__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.lib-item__info { flex: 1; min-width: 0; }
.lib-item__name {
  display: block; font-size: 0.8rem; font-weight: 400; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lib-item__source { font-size: 0.67rem; color: var(--text-3); }

.lib-item__signal {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 100px; padding: 3px 8px;
  white-space: nowrap; flex-shrink: 0;
}
.lib-sig--save    { color: #059669; background: rgba(5,150,105,0.06);   border: 1px solid rgba(5,150,105,0.18); }
.lib-sig--linger  { color: var(--olivia-3); background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.18); }
.lib-sig--annotate{ color: #D97706; background: rgba(217,119,6,0.06);   border: 1px solid rgba(217,119,6,0.18); }
.lib-sig--connect { color: #2563EB; background: rgba(37,99,235,0.06);   border: 1px solid rgba(37,99,235,0.18); }

.lib-glass-card__footer {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.05);
}
.lib-platform-tag {
  font-size: 0.67rem; font-weight: 400; color: var(--text-3);
  background: rgba(0,0,0,0.03); border: 1px solid var(--border);
  border-radius: 100px; padding: 3px 10px;
}
.lib-platform-tag--more {
  color: var(--olivia-2); border-color: rgba(208,184,232,0.4);
  background: rgba(208,184,232,0.06); font-style: italic;
}


/* ════════════════════════════════════
   CREATIVE IDENTITY
════════════════════════════════════ */
.identity {
  background: var(--bg);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.identity__top { margin-bottom: 56px; }
.identity__headline { margin-bottom: 0; }
.identity__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.identity__body {
  font-size: 0.95rem; font-weight: 300; line-height: 1.85;
  color: var(--text-2); margin-bottom: 1rem;
}
.identity__body em { font-style: italic; color: var(--text); }

/* Signals glass card */
.identity__signal-glass {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px; padding: 18px 20px;
  backdrop-filter: blur(16px);
  margin-bottom: 12px;
}
.isg-label {
  font-size: 0.67rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 10px; display: block;
}
.isg-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Fingerprint glass card */
.identity__fingerprint {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px; padding: 18px 20px;
  backdrop-filter: blur(16px);
}
.fp-label {
  font-size: 0.67rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 14px; display: block;
}
.fp-rows { display: flex; flex-direction: column; gap: 11px; margin-bottom: 14px; }
.fp-row__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 5px;
}
.fp-row__name { font-size: 0.8rem; font-weight: 400; color: var(--text); }
.fp-row__tier {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 100px; padding: 2px 7px;
}
.fp-tier--core    { color: var(--olivia-3); background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.2); }
.fp-tier--emerging{ color: #D97706; background: rgba(217,119,6,0.06); border: 1px solid rgba(217,119,6,0.18); }

.fp-bar { height: 3px; background: rgba(0,0,0,0.06); border-radius: 100px; overflow: hidden; }
.fp-bar__fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--olivia), var(--olivia-3));
}
.fp-bar__fill--emerging { background: linear-gradient(90deg, #F59E0B, #D97706); }

.fp-insight {
  font-family: var(--f-display); font-style: italic;
  font-size: 0.82rem; font-weight: 300; color: var(--text-2); line-height: 1.55;
  border-top: 1px solid rgba(0,0,0,0.05); padding-top: 12px;
}

/* Orbit */
.identity__orbit { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.orbit { position: relative; width: 320px; height: 320px; display: flex; align-items: center; justify-content: center; }
.orbit__center {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-style: italic; font-size: 0.95rem; color: var(--text-2);
  z-index: 2; position: relative;
  box-shadow: 0 0 0 8px rgba(208,184,232,0.07), 0 0 0 16px rgba(208,184,232,0.03);
}
.taste-tag {
  position: absolute; top: 50%; left: 50%;
  font-size: 0.7rem; font-weight: 400;
  color: var(--c, var(--olivia-2));
  padding: 4px 12px;
  background: var(--bg-2); border: 1px solid currentColor;
  border-radius: 100px; opacity: 0.72; white-space: nowrap; transition: opacity 0.3s;
}
.taste-tag:hover { opacity: 1; }
.orbit__caption { font-size: 0.72rem; color: var(--text-3); font-style: italic; text-align: center; }


/* ════════════════════════════════════
   DISCOVER PREVIEW
════════════════════════════════════ */
.discover-preview {
  background: var(--bg-2);
  padding: 100px 0;
  overflow: hidden;
}
.discover-preview__header { margin-bottom: 48px; }
.discover-preview__text { max-width: 560px; }
.discover-preview__body { font-size: 0.96rem; font-weight: 300; line-height: 1.82; color: var(--text-2); }

/* Signal activity bar */
.signal-activity-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: rgba(255,255,255,0.9); border: 1px solid rgba(0,0,0,0.07);
  border-radius: 100px; padding: 9px 18px;
  backdrop-filter: blur(16px);
  margin-bottom: 36px; width: fit-content;
}
.sab-label {
  font-size: 0.67rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
}
.sab-chips { display: flex; gap: 6px; }
.sab-chip {
  font-size: 0.72rem; color: var(--text-2);
  background: rgba(0,0,0,0.04); border: 1px solid var(--border);
  border-radius: 100px; padding: 3px 10px;
}
.sab-result {
  font-size: 0.72rem; font-weight: 500; color: var(--olivia-3);
}

/* Ref cards */
.discover-preview__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 52px;
}
.ref-card {
  border-radius: 16px; overflow: hidden;
  background: white; border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
}
.ref-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(139,92,246,0.1); }
.ref-card__img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.ref-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ref-card:hover .ref-card__img-wrap img { transform: scale(1.04); }
.ref-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.55) 100%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity 0.3s;
}
.ref-card:hover .ref-card__overlay { opacity: 1; }
.ref-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ref-tag {
  font-size: 0.64rem; font-weight: 500; color: white;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px; padding: 3px 10px; backdrop-filter: blur(8px);
}
.ref-card__meta { padding: 12px 14px; }
.ref-card__source-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ref-card__source { font-size: 0.67rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.ref-card__match { font-size: 0.67rem; font-weight: 500; color: var(--olivia-3); }
.ref-card__title { font-family: var(--f-display); font-style: italic; font-size: 0.95rem; font-weight: 300; color: var(--text); display: block; margin-bottom: 6px; }

/* "matched because" chips */
.ref-card__because { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.ref-because-label { font-size: 0.62rem; color: var(--text-3); white-space: nowrap; }
.ref-because-chip {
  font-size: 0.62rem; font-weight: 500; color: var(--olivia-2);
  background: rgba(208,184,232,0.1); border: 1px solid rgba(208,184,232,0.3);
  border-radius: 100px; padding: 1px 7px;
}

.discover-preview__cta {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.discover-preview__cta-text {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.3rem; font-weight: 300; color: var(--text-2);
}


/* ════════════════════════════════════
   EXTENSION — glass popup
════════════════════════════════════ */
.extension {
  background: var(--bg);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.extension__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 2;
}
.extension__body {
  font-size: 0.95rem; font-weight: 300; line-height: 1.85;
  color: var(--text-2); margin-bottom: 1rem;
}

/* Signal impact strip */
.ext-impact { margin-top: 1.8rem; }
.ext-impact__label {
  font-size: 0.67rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; display: block;
}
.ext-impact__chips { display: flex; flex-direction: column; gap: 6px; }
.ext-impact-chip {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 300; color: var(--text-2);
  padding: 8px 14px;
  background: rgba(255,255,255,0.82); border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
}
.ext-ic-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; opacity: 0.8; }

/* Glass extension popup card */
.ext-popup {
  max-width: 420px; margin-left: auto;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
}

/* Browser chrome */
.ext-popup__chrome {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.03); border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 10px 14px;
}
.ext-chrome__dots { display: flex; gap: 5px; flex-shrink: 0; }
.ext-chrome__dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.ext-chrome__dot--r { background: #FF5F57; }
.ext-chrome__dot--y { background: #FEBC2E; }
.ext-chrome__dot--g { background: #28C840; }
.ext-chrome__url {
  flex: 1; font-size: 0.67rem; color: var(--text-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.07);
  border-radius: 5px; padding: 3px 10px;
}
.ext-chrome__wordmark {
  font-family: var(--f-display); font-style: italic;
  font-size: 0.88rem; font-weight: 300; color: var(--olivia-2); flex-shrink: 0;
}

.ext-popup__image-wrap {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
}
.ext-popup__img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ext-popup__save-pill {
  position: absolute; top: 10px; right: 10px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(208,184,232,0.95); backdrop-filter: blur(8px);
  border-radius: 100px; padding: 6px 12px;
  font-size: 0.72rem; font-weight: 600; color: #111;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.ext-popup__extract {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.ext-extract-col {
  padding: 13px 16px; display: flex; flex-direction: column; gap: 7px;
}
.ext-extract-col:first-child { border-right: 1px solid rgba(0,0,0,0.06); }
.ext-extract-label {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-3);
}
.ext-swatches { display: flex; gap: 5px; }
.ext-swatch {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.ext-font-name {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.05rem; line-height: 1.1; color: var(--text);
}
.ext-font-meta { font-size: 0.64rem; color: var(--text-3); }

.ext-popup__signals {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 13px 16px;
}
.ext-signals-label {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-3);
  display: block; margin-bottom: 9px;
}
.ext-signal-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ext-signal-chip {
  font-size: 0.69rem; font-weight: 500; color: #059669;
  background: rgba(5,150,105,0.06); border: 1px solid rgba(5,150,105,0.2);
  border-radius: 100px; padding: 3px 10px;
}


/* ════════════════════════════════════
   CTA — light
════════════════════════════════════ */
.cta-section {
  background: var(--bg);
  min-height: 100dvh; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.cta-section__inner {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 100px 52px 48px; position: relative; z-index: 2;
}
.cta-box {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 28px; padding: 64px 60px; max-width: 580px; margin: 0 auto;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 64px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.95);
  text-align: center;
}
.cta-box__eyebrow {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--olivia-3); display: block; margin-bottom: 1.4rem;
}
.cta-box__title {
  font-family: var(--f-display); font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: 1rem;
}
.cta-box__title em { font-style: italic; color: var(--olivia-2); }
.cta-box__sub {
  font-size: 0.9rem; font-weight: 300; color: var(--text-2);
  line-height: 1.7; margin-bottom: 2.6rem;
}
.cta-form__row { display: flex; gap: 10px; margin-bottom: 12px; }
.cta-form__input {
  flex: 1; background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px; padding: 13px 22px;
  font-family: var(--f-sans); font-size: 0.9rem; font-weight: 300;
  color: var(--text); outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.cta-form__input::placeholder { color: var(--text-3); }
.cta-form__input:focus { border-color: rgba(208,184,232,0.6); box-shadow: 0 0 0 3px rgba(208,184,232,0.15); }
.cta-form__note { font-size: 0.75rem; color: var(--text-3); line-height: 1.5; }
.cta-success {
  display: none; font-family: var(--f-display); font-style: italic;
  font-size: 1.15rem; color: var(--olivia-3); padding: 14px 0;
}
.cta-success.visible { display: block; }


/* ════════════════════════════════════
   FOOTER — light
════════════════════════════════════ */
.footer {
  padding: 22px 0; border-top: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0; position: relative; z-index: 2;
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__name { font-family: var(--f-display); font-style: italic; font-size: 1rem; color: var(--text-3); }
.footer__link { font-size: 0.8rem; color: var(--text-3); transition: color 0.2s; }
.footer__link:hover { color: var(--text); }
.footer__copy { font-size: 0.72rem; color: var(--text-3); }


/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */

/* Global overflow guard */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding-top: calc(var(--nav-h) + 48px); }
  .hero__right { display: flex; justify-content: center; }
  .hero__canvas-outer { max-width: 520px; width: 100%; }
  .hero__canvas-frame { aspect-ratio: 4/3; }
  .hero__stats { left: -8px; bottom: -20px; width: 244px; }
  .hero__left { max-width: 600px; }
}

@media (max-width: 900px) {
  .library__layout, .identity__grid, .extension__layout { grid-template-columns: 1fr; gap: 44px; }
  .library, .identity, .extension { padding: 72px 0; }
  .ext-popup { margin-left: 0; max-width: 100%; }
  .blob--lib, .blob--ext { display: none; }
  .identity__top { margin-bottom: 36px; }
  .identity__orbit { order: -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .nav__right { gap: 6px; }
  .lang-switcher__btn { padding: 6px 10px; font-size: 0.72rem; }

  /* Hero badge — shrink so it doesn't overflow */
  .hero__badge {
    font-size: 0.6rem;
    letter-spacing: 0.07em;
    padding: 5px 11px;
    max-width: calc(100% - 0px);
    margin-bottom: 1.4rem;
  }

  .hero__inner { padding-left: 20px; padding-right: 20px; }
  .hero__headline { font-size: 2.6rem; }
  .hero__sub { max-width: 100%; font-size: 0.95rem; }
  .br-md { display: none; }

  /* Canvas: square on mobile, fits without clipping */
  .hero__canvas-outer { max-width: 100%; }
  .hero__canvas-frame { aspect-ratio: 1/1; }

  /* Stats card: pull out of absolute, full width */
  .hero__stats {
    position: static; margin-top: 20px; width: 100%;
    border-radius: 16px; left: auto; bottom: auto;
  }
  /* Tighten stats grid on narrow screen */
  .hero__stats-mini-label { font-size: 0.5rem; letter-spacing: 0.05em; }
  .hero__stats-mini-val { font-size: 0.9rem; }

  /* Library items: truncate name shorter on mobile */
  .lib-item__name { font-size: 0.76rem; }

  /* Identity orbit */
  .orbit { width: 280px; height: 280px; }

  /* Lib signal strip: horizontal scroll if needed */
  .lib-signal-strip__rows { gap: 6px; }

  .cta-form__row { flex-direction: column; }
  .cta-box { padding: 40px 24px; }
  .cta-section__inner { padding: 60px 20px 32px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Extension popup: max width */
  .ext-popup { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav__inner { padding: 0 16px; }

  /* Hero */
  .hero__inner { padding-top: calc(var(--nav-h) + 52px); padding-left: 16px; padding-right: 16px; padding-bottom: 48px; }
  .hero__headline { font-size: 2rem; letter-spacing: -0.02em; }
  .hero__sub { font-size: 0.9rem; line-height: 1.7; }
  .hero__badge { font-size: 0.58rem; letter-spacing: 0.06em; }
  .hero__actions { gap: 8px; }
  .hero__proof-text { font-size: 0.72rem; }

  /* Simplify stats card on very small screens */
  .stats-chip--brand { display: none; }
  .hero__stats { padding: 16px; }

  /* Section titles */
  .section-title { font-size: 1.85rem; }
  .orbit { width: 250px; height: 250px; }

  /* Library */
  .library, .identity, .extension { padding: 52px 0; }
  .lib-glass-card { padding: 16px; }

  /* Identity fingerprint */
  .identity__signal-glass, .identity__fingerprint { padding: 14px 16px; }

  /* Extension popup chrome */
  .ext-chrome__url { display: none; }

  /* CTA */
  .cta-box { padding: 32px 16px; }
  .cta-box__title { font-size: 1.8rem; }
}
