/* =========================================================================
   ClippyManager — Landing Page
   Orange-glass design · Bricolage Grotesque + Hanken Grotesk + JetBrains Mono
   ========================================================================= */

:root {
  /* base */
  --bg: #0c0806;
  --text: #f4f3fb;

  /* orange ramp */
  --orange: #ff8a3d;
  --orange-2: #ff7a18;
  --orange-light: #ff9d4d;
  --orange-deep: #f56a1c;
  --orange-deeper: #ef5e0c;
  --orange-pale: #ffc488;
  --amber: #ff9d57;
  --amber-light: #ffb27a;

  /* content-type accents */
  --c-red: #d97757;
  --c-green: #5fd98a;
  --c-green-light: #6fe0a0;
  --c-blue: #3a9bff;
  --c-blue-light: #7fbcff;
  --c-blue-deep: #0a6ee0;
  --c-yellow: #febc2e;
  --c-gold: #ffc06b;

  /* fonts */
  --font-display: 'Bricolage Grotesque', -apple-system, system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* glass surface */
  --glass-grad: linear-gradient(165deg, rgba(58,40,28,.5), rgba(20,13,9,.62));
  --glass-border: 1px solid rgba(255,255,255,.1);

  --maxw: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(255,138,61,.4); color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- keyframes ---------- */
@keyframes capdot   { 0%,100% { opacity: 1; }   50% { opacity: .25; } }
@keyframes floaty   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glowpulse{ 0%,100% { opacity: .55; }  50% { opacity: .9; } }
@keyframes caret    { 0%,100% { opacity: 1; }   50% { opacity: 0; } }

/* ---------- page shell ---------- */
.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 12% -6%, #4a2c14 0%, transparent 50%),
    radial-gradient(110% 60% at 92% 2%, #6e3a1a 0%, transparent 46%),
    radial-gradient(90% 70% at 50% 116%, #5a3318 0%, transparent 52%),
    var(--bg);
}

.ambient-glow {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 520px;
  max-width: 100vw;
  background: radial-gradient(closest-side, rgba(255,138,61,.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: glowpulse 7s ease-in-out infinite;
}

/* =========================================================================
   Reusable atoms
   ========================================================================= */

.glass {
  background: var(--glass-grad);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: var(--glass-border);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.1);
}

.glass-card {
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(58,40,28,.55), rgba(20,13,9,.7));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.glass-card--accent {
  background: linear-gradient(150deg, rgba(255,138,61,.16), rgba(224,101,58,.08));
  border: 1px solid rgba(255,138,61,.26);
}

/* logo mark — parametric paperclip/clipboard glyph, sized via --s */
.logo-mark {
  --s: 32px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--s); height: var(--s);
  border-radius: calc(var(--s) * .31);
  background: linear-gradient(155deg, var(--orange-pale), var(--orange) 50%, var(--orange-deeper));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}
.logo-mark--float { animation: floaty 5s ease-in-out infinite; }
.logo-mark__shine {
  position: absolute; inset: 0;
  background: radial-gradient(75% 55% at 32% 10%, rgba(255,255,255,.5), transparent 60%);
}
.logo-mark__clip {
  position: relative;
  width: calc(var(--s) * .375);
  height: calc(var(--s) * .47);
  border-radius: calc(var(--s) * .09);
  background: rgba(255,255,255,.95);
  box-shadow: calc(var(--s) * .125) calc(var(--s) * -.125) 0 rgba(255,255,255,.42);
}
/* bigger marks (pricing/cta) get a brighter glow */
.logo-mark[style*="60px"], .logo-mark[style*="74px"] {
  box-shadow: 0 14px 30px -12px rgba(245,120,40,.8), inset 0 1px 0 rgba(255,255,255,.45);
}

/* eyebrow label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  transition: filter .18s ease, transform .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(245,120,40,.8), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--sm  { padding: 10px 18px; border-radius: 12px; font-size: 13.5px; box-shadow: 0 10px 24px -10px rgba(245,120,40,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--lg  { padding: 15px 26px; font-size: 15.5px; }
.btn__glyph {
  width: 17px; height: 17px;
  -webkit-mask: var(--apple-logo) center / contain no-repeat;
  mask: var(--apple-logo) center / contain no-repeat;
  background: currentColor;
}
.play-dot {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,138,61,.25);
  font-size: 9px;
}

/* Apple logo glyph reused by download buttons */
:root {
  --apple-logo: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M17.05 12.04c-.03-2.86 2.33-4.23 2.44-4.3-1.33-1.95-3.4-2.22-4.14-2.25-1.76-.18-3.43 1.03-4.32 1.03-.89 0-2.26-1.01-3.72-.98-1.91.03-3.68 1.11-4.66 2.82-1.99 3.45-.51 8.56 1.43 11.36.95 1.37 2.08 2.91 3.56 2.85 1.43-.06 1.97-.92 3.7-.92 1.72 0 2.21.92 3.72.89 1.54-.03 2.51-1.4 3.45-2.78 1.09-1.6 1.54-3.15 1.56-3.23-.03-.01-2.99-1.15-3.02-4.56zM14.2 4.38c.79-.96 1.32-2.29 1.18-3.61-1.14.05-2.51.76-3.32 1.71-.73.85-1.37 2.2-1.2 3.5 1.27.1 2.56-.65 3.34-1.6z'/></svg>");
}

/* mono helper */
.mono { font-family: var(--font-mono); }

/* =========================================================================
   Nav
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 16px 24px;
}
.nav-inner {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; gap: 18px;
  padding: 11px 14px 11px 18px;
  border-radius: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.nav-links {
  margin-left: 14px;
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: rgba(244,243,251,.7);
  font-size: 13.5px; font-weight: 500;
  padding: 8px 13px; border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-cta { margin-left: auto; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; z-index: 2;
  max-width: 920px; margin: 0 auto;
  padding: 72px 24px 0;
  text-align: center;
}
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 7px 7px 7px 15px;
  border-radius: 11px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: rgba(244,243,251,.72);
  margin-bottom: 26px;
}
.eyebrow-chip__diamond {
  width: 6px; height: 6px;
  background: var(--orange);
  transform: rotate(45deg);
}
.eyebrow-chip__tag {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .08em;
  color: var(--amber-light);
  padding: 4px 9px; border-radius: 7px;
  background: rgba(255,138,61,.12);
}
.hero__title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 68px);
  line-height: 1.0;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__sub {
  margin: 0 auto 34px;
  max-width: 600px;
  font-size: 18.5px; line-height: 1.6;
  color: rgba(244,243,251,.62);
  text-wrap: pretty;
}
.hero__cta {
  display: flex; gap: 13px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(244,243,251,.4);
}

/* =========================================================================
   Hero desktop scene (the live notch)
   The scene is a fixed 1180×660 canvas scaled to fit by JS (--scene-scale).
   ========================================================================= */
.scene-section {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 54px auto 0;
  padding: 0 24px;
}
.scene-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1180 / 660;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 50px 110px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.08);
  background:
    radial-gradient(120% 90% at 22% -8%, #b0612e 0%, transparent 52%),
    radial-gradient(110% 90% at 84% 4%, #e06a3a 0%, transparent 46%),
    radial-gradient(90% 80% at 60% 124%, #9c4a1e 0%, transparent 55%),
    linear-gradient(160deg, #3a2416 0%, #100b07 76%);
}
.scene {
  position: absolute; top: 0; left: 0;
  width: 1180px; height: 660px;
  transform-origin: top left;
  transform: scale(var(--scene-scale, 1));
}
.scene__wallpaper {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 120%, rgba(255,150,70,.5), transparent 60%),
    radial-gradient(60% 50% at 20% 90%, rgba(120,60,170,.4), transparent 60%),
    linear-gradient(180deg, #1a1326 0%, #2a1a16 55%, #6b3a1e 100%);
}
.scene__wallpaper-grid {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: repeating-linear-gradient(90deg, rgba(255,180,90,.05) 0 3px, transparent 3px 16px);
  -webkit-mask: linear-gradient(0deg, #000, transparent);
  mask: linear-gradient(0deg, #000, transparent);
}

/* menu bar */
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 34px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  font: 600 12px/1 -apple-system, system-ui, sans-serif;
  color: rgba(255,255,255,.9);
}
.menubar__left, .menubar__right { display: flex; align-items: center; gap: 16px; }
.menubar__right { gap: 14px; }
.menubar__left span:not(.menubar__apple):not(.menubar__title) { font-weight: 400; opacity: .85; }
.menubar__apple { width: 13px; height: 13px; border-radius: 3px; background: rgba(255,255,255,.9); }
.menubar__clippy-glyph { width: 13px; height: 13px; border-radius: 4px; background: linear-gradient(150deg,#ff9d4d,#ff8a3d); }
.menubar__battery {
  width: 22px; height: 11px; position: relative;
  border: 1.4px solid rgba(255,255,255,.75); border-radius: 3px;
}
.menubar__battery-fill { position: absolute; top: 1.4px; bottom: 1.4px; left: 1.4px; width: 62%; background: rgba(255,255,255,.75); border-radius: 1px; }
.menubar__right span:last-child { font-weight: 400; }

/* the notch panel */
.notch {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 720px; height: 486px; z-index: 3;
  cursor: pointer;
  padding: 0; border: none; text-align: left;
  background: linear-gradient(165deg, rgba(58,40,28,.72), rgba(20,13,9,.82));
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  filter: drop-shadow(0 30px 56px rgba(0,0,0,.6));
  clip-path: var(--notch-clip);
  transition: clip-path .58s cubic-bezier(.34,1.32,.42,1);
  color: var(--text);
}
.notch__content {
  position: absolute; inset: 0;
  padding: 50px 24px 18px;
  display: flex; flex-direction: column; gap: 14px;
  transition: opacity .3s ease;
  opacity: 1;
}
.notch:not(.is-open) .notch__content { opacity: 0; pointer-events: none; }
.notch__handle {
  position: absolute; bottom: 9px; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.32);
  transition: opacity .3s ease;
}
.notch:not(.is-open) .notch__handle { opacity: 0; }

.notch__header { display: flex; align-items: center; gap: 11px; }
.notch__app-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.notch__search {
  flex: 1; margin: 0 4px;
  display: flex; align-items: center; gap: 9px;
  height: 33px; padding: 0 13px;
  border-radius: 11px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}
.search-glass {
  width: 12px; height: 12px; flex: 0 0 auto;
  border: 1.6px solid rgba(255,255,255,.55);
  border-radius: 50%;
}
.search-placeholder { font-size: 13px; color: rgba(255,255,255,.5); }

.notch__tabs { display: flex; gap: 6px; align-items: center; }
.ntab {
  font-size: 12.5px; padding: 7px 13px;
  border-radius: 11px; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 6px;
}
.ntab--active {
  font-weight: 600; color: #fff;
  background: rgba(255,138,61,.28);
  border: 1px solid rgba(255,138,61,.4);
}
.ntab__count { font-size: 10px; padding: 1px 6px; border-radius: 10px; background: rgba(255,255,255,.25); }
.ntab__add {
  margin-left: auto; width: 29px; height: 29px;
  border-radius: 10px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 18px; font-weight: 300;
}

.notch__grid {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 11px;
}
.notch__status {
  display: flex; align-items: center; gap: 9px;
  font-size: 11px; color: rgba(255,255,255,.55);
}
.notch__shortcut { margin-left: auto; font-family: var(--font-mono); }

/* clip cards (shared between hero notch + library) */
.clip {
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.clip--text, .clip--code, .clip--link, .clip--color, .clip--fav { padding: 12px; }
.clip__thumb { flex: 1; position: relative; }
.hatch { background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, rgba(255,255,255,.1) 10px 20px); }
.hatch--accent { background: repeating-linear-gradient(135deg, rgba(255,138,61,.12) 0 11px, rgba(255,138,61,.2) 11px 22px); }
.clip__text { margin: 0; flex: 1; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.92); overflow: hidden; }
.clip__code { margin: 8px 0 0; flex: 1; font-family: var(--font-mono); font-size: 10.5px; line-height: 1.55; color: rgba(255,255,255,.82); overflow: hidden; white-space: pre-wrap; }
.clip__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 11px; margin-top: 8px;
  font-size: 10.5px; color: rgba(255,255,255,.6);
}
.clip--text .clip__foot, .clip--code .clip__foot, .clip--link .clip__foot, .clip--color .clip__foot, .clip--fav .clip__foot { padding: 0; }
.clip__src { display: flex; align-items: center; gap: 6px; }
.app-dot { width: 13px; height: 13px; border-radius: 4px; }

.badge { font-size: 9px; padding: 2px 7px; border-radius: 7px; align-self: flex-start; }
.badge--neutral { position: absolute; left: 10px; top: 9px; background: rgba(255,255,255,.16); color: rgba(255,255,255,.75); }
.badge--code  { background: rgba(95,217,138,.18); color: var(--c-green-light); }
.badge--link  { background: rgba(58,155,255,.2);  color: var(--c-blue-light); }
.badge--color { background: rgba(255,177,77,.18); color: var(--c-gold); }
.badge--fav   { background: rgba(255,177,77,.18); color: var(--c-gold); }

/* dock */
.dock {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; padding: 7px 10px;
  border-radius: 18px; z-index: 1;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
}
.dock__icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.dock__icon--clippy { background: linear-gradient(150deg,#ff9d4d,#f56a1c); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.dock__clip { width: 12px; height: 15px; border-radius: 2px; background: rgba(255,255,255,.92); box-shadow: 4px -4px 0 rgba(255,255,255,.4); }

.scene-caption { text-align: center; margin: 16px 0 0; font-size: 13px; color: rgba(244,243,251,.42); }

/* capturing indicator */
.capturing { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.notch__status .capturing { gap: 6px; }
.capturing__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); animation: capdot 1.6s infinite; }
.notch__status .capturing__dot { width: 7px; height: 7px; }

/* =========================================================================
   Stats strip
   ========================================================================= */
.stats {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 64px auto 0;
  padding: 0 24px;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.stat { padding: 26px 22px; background: rgba(20,13,9,.5); }
.stat__num { font-size: 32px; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; color: #ff9d57; }
.stat__label { margin-top: 5px; font-size: 13.5px; color: rgba(244,243,251,.6); }

/* =========================================================================
   Section scaffolding
   ========================================================================= */
.section {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 120px auto 0;
  padding: 0 24px;
  scroll-margin-top: 90px;
}
.faq { max-width: 780px; }
.section__head--center { text-align: center; margin-bottom: 40px; }
.section__head--center .eyebrow,
.library .section__head--center .eyebrow { display: inline-block; }
.section__title {
  margin: 0 auto 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -.03em;
  line-height: 1.05;
  max-width: 620px;
}
.section__title--left { margin-left: 0; margin-right: 0; max-width: 620px; }
.section__sub {
  margin: 0 auto;
  max-width: 520px;
  font-size: 17px; line-height: 1.6;
  color: rgba(244,243,251,.6);
}
.section__sub--left { margin: 0 0 44px; max-width: 560px; }
.how .section__title--left { margin-bottom: 44px; max-width: 560px; }

/* =========================================================================
   Features bento
   ========================================================================= */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}
.bento--trio {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}
.bento__cell { padding: 30px; }
.bento__cell--tall { grid-row: span 2; padding: 32px; display: flex; flex-direction: column; overflow: hidden; }
.bento__title { margin: 0 0 9px; font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.bento__title--sm { font-size: 21px; }
.bento__title--xs { font-size: 18px; letter-spacing: -.01em; margin-bottom: 7px; }
.bento__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(244,243,251,.6); }
.bento__cell--tall .bento__text { margin-bottom: 26px; max-width: 380px; font-size: 15px; }
.bento__text--sm { font-size: 13.5px; line-height: 1.5; }

/* shelf demo (inside tall cell) */
.shelf-demo {
  flex: 1; position: relative; min-height: 240px;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #2a1a16, #6b3a1e);
  display: flex; justify-content: center;
}
.shelf-demo__panel {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 230px;
  background: linear-gradient(165deg, rgba(58,40,28,.85), rgba(20,13,9,.9));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 0 0 22px 22px;
  padding: 34px 14px 16px;
  display: flex; flex-direction: column; gap: 9px;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.shelf-demo__row { display: flex; align-items: center; gap: 8px; }
.shelf-demo__icon { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(150deg,#ff9d4d,#f56a1c); }
.shelf-demo__bar { flex: 1; height: 22px; border-radius: 8px; background: rgba(255,255,255,.1); }
.shelf-demo__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.shelf-demo__card { height: 54px; border-radius: 9px; }
.shelf-demo__card--text { background: rgba(255,255,255,.08); padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.shelf-demo__line { height: 6px; border-radius: 3px; }
.shelf-demo__line--80 { width: 80%; background: rgba(255,255,255,.25); }
.shelf-demo__line--60 { width: 60%; background: rgba(255,255,255,.16); }

/* search bar (inside search cell) */
.search-bar {
  display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 14px;
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 18px;
}
.search-bar__glass { width: 13px; height: 13px; border: 1.7px solid rgba(255,255,255,.5); border-radius: 50%; }
.search-bar__text { font-size: 13.5px; color: rgba(255,255,255,.85); }
.caret { animation: caret 1s step-end infinite; opacity: .4; }
.search-bar__hits { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4); }

/* AI action chips */
.action-chips { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.action-chips__label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,178,122,.85); margin-right: 2px;
}
.tag {
  font-size: 13px; padding: 8px 13px; border-radius: 9px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(244,243,251,.88);
}

/* trio details */
.swatch-row { display: flex; gap: 7px; margin-bottom: 16px; }
.swatch { width: 34px; height: 34px; border-radius: 9px; }
.fav-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.fav-row__star { font-size: 18px; color: var(--c-gold); }
.fav-row__bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,177,77,.25); }
.keys { display: flex; gap: 5px; margin-bottom: 16px; }
.key {
  font-family: var(--font-mono); font-size: 13px;
  padding: 6px 0; min-width: 30px; text-align: center;
  border-radius: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}

/* =========================================================================
   How it works
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 30px; }
.step.glass-card { background: linear-gradient(165deg, rgba(58,40,28,.5), rgba(20,13,9,.66)); }
.step.glass-card--accent { background: linear-gradient(150deg, rgba(255,138,61,.16), rgba(224,101,58,.08)); }
.step__num { font-family: var(--font-mono); font-size: 13px; color: var(--orange); margin-bottom: 18px; }
.step__title { margin: 0 0 9px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.step__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(244,243,251,.6); }

/* =========================================================================
   Library window (interactive)
   ========================================================================= */
.window-frame {
  position: relative;
  border-radius: 22px; overflow: hidden;
  padding: 30px;
  box-shadow: 0 50px 110px -40px rgba(0,0,0,.8);
  background:
    radial-gradient(120% 90% at 18% -8%, #b0612e 0%, transparent 50%),
    radial-gradient(110% 90% at 86% 6%, #e06a3a 0%, transparent 44%),
    linear-gradient(160deg, #33200f 0%, #0e0a07 78%);
}
.window {
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, rgba(58,40,28,.7), rgba(20,13,9,.8));
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
}
.window__top { display: flex; align-items: center; gap: 18px; padding: 16px 20px 0; }
.traffic { display: flex; gap: 8px; }
.traffic__dot { width: 12px; height: 12px; border-radius: 50%; }
.window__title { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.window__search {
  flex: 1; max-width: 380px;
  display: flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 14px; border-radius: 11px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.window__search .search-glass { width: 13px; height: 13px; border-width: 1.7px; }
.window__search .search-placeholder { font-size: 13.5px; }
.window__meta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.trial-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; padding: 6px 11px; border-radius: 8px;
  background: rgba(255,138,61,.1);
  border: 1px solid rgba(255,138,61,.26);
  color: #ffcaa0;
}
.trial-badge__tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; }

.window__tabs { display: flex; align-items: center; gap: 7px; padding: 16px 20px 14px; flex-wrap: wrap; }
.ltab {
  cursor: pointer;
  font: 600 13px/1 -apple-system, system-ui, sans-serif;
  display: flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: rgba(255,255,255,.6);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ltab:hover { color: rgba(255,255,255,.85); }
.ltab.is-active {
  background: rgba(255,138,61,.28);
  color: #fff;
  border-color: rgba(255,138,61,.4);
}
.ltab__count { font-size: 11px; padding: 1px 7px; border-radius: 10px; background: rgba(255,255,255,.18); }

.window__filters { display: flex; align-items: center; gap: 12px; padding: 0 20px 14px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.filter { display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.filter--sort { margin-left: auto; background: none; border: none; padding: 0; }

.window__body { padding: 0 20px 22px; min-height: 240px; }
.panel { display: none; }
.panel.is-active { display: block; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* library clip cards are taller / a bit more padded than the notch ones */
.window__body .clip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.11); height: 200px; }
.window__body .clip--text, .window__body .clip--code, .window__body .clip--link, .window__body .clip--color, .window__body .clip--fav { padding: 14px; }
.window__body .clip__text { font-size: 13px; color: rgba(255,255,255,.9); }
.window__body .clip__code { margin-top: 9px; font-size: 11px; line-height: 1.6; }
.window__body .clip__foot { font-size: 11.5px; padding: 0; margin-top: 10px; }
.window__body .clip--media .clip__foot { padding: 10px 13px; }
.window__body .app-dot { width: 14px; height: 14px; }
.window__body .badge--neutral { left: 11px; top: 11px; font-size: 10px; padding: 2px 8px; border-radius: 8px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.7); }
.window__body .badge { font-size: 10px; padding: 2px 8px; border-radius: 8px; }
.window__body .hatch { background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 11px, rgba(255,255,255,.1) 11px 22px); }

.clip__link-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.link-icon { width: 34px; height: 34px; border-radius: 9px; }
.link-url { font-size: 13px; color: rgba(255,255,255,.9); word-break: break-all; }
.clip__color-body { flex: 1; display: flex; align-items: center; justify-content: center; }
.color-chip { width: 74px; height: 74px; border-radius: 16px; box-shadow: 0 8px 18px -6px rgba(217,119,87,.6); }
.clip--fav { border-color: rgba(255,177,77,.25) !important; }

/* prompts */
.prompt {
  border-radius: 14px;
  background: rgba(255,138,61,.1);
  border: 1px solid rgba(255,138,61,.28);
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  height: 130px;
}
.prompt__head { display: flex; align-items: center; gap: 9px; }
.ai-mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(150deg,#ff9d4d,#f56a1c);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .02em;
  color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
  flex: 0 0 auto;
}
.prompt__name { font-size: 14px; font-weight: 600; }
.prompt__text { margin: 0; flex: 1; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.6); }
.prompt__hint { font-size: 11.5px; color: #ffc199; align-self: flex-start; }
.prompt--add {
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.18);
  align-items: center; justify-content: center;
  gap: 8px; color: rgba(255,255,255,.5); font-size: 12.5px;
}
.prompt__plus { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 300; }

/* assets */
.asset { border-radius: 14px; height: 160px; border: 1px solid rgba(255,255,255,.11); overflow: hidden; }
.asset.hatch { background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 11px, rgba(255,255,255,.1) 11px 22px); }
.asset.hatch--accent { background: repeating-linear-gradient(135deg, rgba(255,138,61,.12) 0 11px, rgba(255,138,61,.2) 11px 22px); border-color: rgba(255,138,61,.2); }
.asset--doc, .asset--file { background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; }
.asset__doc { width: 46px; height: 58px; border-radius: 8px; background: rgba(255,255,255,.14); }
.asset--file .mono { font-size: 11px; color: rgba(255,255,255,.5); }

/* =========================================================================
   Pricing
   ========================================================================= */
.price-card {
  max-width: 460px; margin: 0 auto;
  border-radius: 24px; padding: 2px;
  background: linear-gradient(160deg, rgba(255,170,110,.7), rgba(245,106,28,.2) 50%, rgba(255,255,255,.06));
  box-shadow: 0 40px 90px -34px rgba(245,120,40,.5);
}
.price-card__inner {
  border-radius: 22px; padding: 34px 30px;
  background: linear-gradient(165deg, rgba(46,30,20,.96), rgba(16,11,7,.98));
}
.price-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.price-card__plan { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.price-card__desc { font-size: 13.5px; color: rgba(255,255,255,.55); }
.price-card__amount { margin-left: auto; text-align: right; }
.price-card__price { font-size: 38px; font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price-card__unit { font-size: 12px; color: rgba(255,255,255,.5); }
.price-card__features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; }
.feat { display: flex; align-items: center; gap: 11px; font-size: 14.5px; }
.feat__check {
  width: 21px; height: 21px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(150deg,#ff9d4d,#f56a1c);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff;
}
.price-card__buy {
  width: 100%;
  justify-content: space-between;
  padding: 16px 22px; border-radius: 14px;
  font: 700 16px/1 -apple-system, system-ui, sans-serif;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(245,120,40,.8), inset 0 1px 0 rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.price-card__buy:hover { filter: brightness(1.06); }
.price-card__sub { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 12.5px; color: rgba(255,255,255,.45); flex-wrap: wrap; }
.price-card__link { cursor: pointer; transition: color .15s ease; }
.price-card__link:hover { color: rgba(255,255,255,.8); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(58,40,28,.5), rgba(20,13,9,.64));
  border: 1px solid rgba(255,255,255,.09);
  transition: border-color .2s ease;
}
.faq-item.is-open { border-color: rgba(255,138,61,.32); }
.faq-item__q {
  width: 100%;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  background: none; border: none; cursor: pointer;
  color: inherit; text-align: left;
  font-family: var(--font-body);
}
.faq-item__q > span:first-child { flex: 1; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.faq-item__icon {
  flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255,138,61,.16);
  border: 1px solid rgba(255,138,61,.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-light); font-size: 17px; font-weight: 300;
  transition: transform .25s ease;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease;
}
.faq-item.is-open .faq-item__a { max-height: 240px; opacity: 1; }
.faq-item__a p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 14.5px; line-height: 1.6;
  color: rgba(244,243,251,.6);
  max-width: 90%;
}

/* =========================================================================
   Footer CTA + footer
   ========================================================================= */
.cta-section { margin-top: 120px; }
.cta {
  position: relative;
  border-radius: 28px; overflow: hidden;
  padding: 72px 32px; text-align: center;
  background:
    radial-gradient(100% 120% at 50% -10%, rgba(255,138,61,.35), transparent 60%),
    linear-gradient(165deg, rgba(58,40,28,.7), rgba(16,11,7,.9));
  border: 1px solid rgba(255,138,61,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.cta .logo-mark { margin: 0 auto 24px; }
.cta__title {
  margin: 0 0 14px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 6vw, 46px);
  letter-spacing: -.03em; line-height: 1.04;
}
.cta__text { margin: 0 auto 30px; max-width: 480px; font-size: 17.5px; line-height: 1.6; color: rgba(244,243,251,.65); }

.footer {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 64px auto 0;
  padding: 32px 24px 60px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__name { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.footer__version { font-family: var(--font-mono); font-size: 12px; color: rgba(244,243,251,.4); margin-left: 6px; }
.footer__links { margin-left: auto; display: flex; gap: 22px; font-size: 13.5px; color: rgba(244,243,251,.55); }
.footer__links a { text-decoration: none; transition: color .15s ease; }
.footer__links a:hover { color: #fff; }
.footer__copy { flex-basis: 100%; font-size: 12.5px; color: rgba(244,243,251,.35); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell--tall { grid-row: auto; }
  .bento--trio { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section { margin-top: 88px; }
  .cta-section { margin-top: 88px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .scene-section { padding: 0 16px; }
  .section { padding: 0 16px; }
  .nav { padding: 12px 16px; }
  .window-frame { padding: 16px; }
  .window__top { flex-wrap: wrap; gap: 12px; }
  .window__search { order: 3; max-width: none; flex-basis: 100%; }
  .window__meta { margin-left: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .price-card__head { flex-wrap: wrap; }
  .price-card__amount { margin-left: 0; text-align: left; width: 100%; display: flex; align-items: baseline; gap: 8px; }
  .footer__links { margin-left: 0; flex-basis: 100%; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .notch { transition: none; }
}
