/* ==========================================================================
   Echo — Design System & Styles
   Single CSS file for the entire Echo website.
   Dark futuristic aesthetic · Purple/blue gradients · Glassmorphism
   ========================================================================== */

/* ===========================================================================
   Echo homepage: creator experiment edition
   Scoped to .home-page so the shared site keeps its existing presentation.
   ========================================================================== */
.home-page {
  --home-ink: #0f1024;
  --home-panel: #17183a;
  --home-paper: #f8f8ff;
  --home-paper-deep: #cdcde1;
  --home-lime: #34d7d7;
  --home-coral: #f827c6;
  --home-violet: #6634f0;
  --home-muted: #9293b0;
  --home-rule: rgba(248, 248, 255, 0.17);
  --home-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --home-sans: "Avenir Next", "Plus Jakarta Sans", Avenir, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background: var(--home-ink);
  color: var(--home-paper);
  font-family: var(--home-sans);
  line-height: 1.45;
  overflow-x: clip;
}

.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page a { color: inherit; }
.home-page ::selection { background: var(--home-lime); color: var(--home-ink); }
.home-page .skip-link { background: var(--home-lime); color: var(--home-ink); }

.home-nav, .home-footer {
  width: min(1440px, calc(100% - 64px));
  margin-inline: auto;
}

.home-nav {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--home-rule);
}

.home-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.35rem; font-weight: 650; letter-spacing: -0.07em; }
.home-brand img { width: 45px; height: 45px; margin: -9px; object-fit: contain; }
.home-nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); margin-left: auto; }
.home-nav__links a, .home-footer__links a { font-size: .82rem; letter-spacing: .02em; color: var(--home-paper-deep); transition: color 180ms ease; }
.home-nav__links a:hover, .home-nav__links a:focus-visible, .home-footer__links a:hover, .home-footer__links a:focus-visible { color: var(--home-lime); }
.home-nav__cta { padding: 10px 15px; border: 1px solid var(--home-lime); color: var(--home-lime); font-size: .82rem; font-weight: 700; letter-spacing: .01em; transition: background 180ms ease, color 180ms ease; }
.home-nav__cta:hover, .home-nav__cta:focus-visible { background: var(--home-lime); color: var(--home-ink); }

.home-hero {
  width: min(1320px, calc(100% - 64px));
  min-height: min(760px, calc(100vh - 94px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(440px, 1.04fr);
  align-items: center;
  gap: clamp(50px, 8vw, 140px);
  padding: 88px 0 106px;
}

.home-kicker { margin: 0 0 18px; color: var(--home-muted); font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-hero h1, .home-intro h2, .experiment-panel h2, .home-proof h2, .home-closing h2 { font-family: var(--home-serif); font-weight: 500; letter-spacing: -.065em; }
.home-hero h1 { max-width: 760px; margin: 0; font-size: clamp(4rem, 7.6vw, 7.7rem); line-height: .84; }
.home-hero h1 > span, .home-hero h1 > em { display: block; white-space: nowrap; }
.home-hero h1 em, .home-intro h2 em, .experiment-panel h2 em { color: var(--home-lime); font-style: italic; }
.home-hero__lede { max-width: 470px; margin: 32px 0; color: var(--home-paper-deep); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; }
.home-hero__actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.home-button { display: inline-flex; align-items: center; gap: 16px; padding: 16px 20px; font-size: .9rem; font-weight: 750; transition: background-color 180ms ease, color 180ms ease; }
.home-button--primary { background: var(--home-violet); color: var(--home-paper); }
.home-button--primary span { color: var(--home-coral); transition: color 180ms ease, transform 180ms ease; }
.home-button--primary:hover, .home-button--primary:focus-visible { background: #7446f2; }
.home-button--primary:hover span, .home-button--primary:focus-visible span { color: var(--home-lime); transform: translate(2px, -2px); }
.home-button span, .home-text-link span, .home-nav__cta span { font-size: 1.1em; }
.home-text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid var(--home-paper-deep); color: var(--home-paper-deep); font-size: .9rem; transition: border-color 180ms ease, color 180ms ease; }
.home-text-link:hover, .home-text-link:focus-visible { color: var(--home-lime); border-color: var(--home-lime); }
.home-availability { margin: 30px 0 0; color: var(--home-muted); font-size: .75rem; }

.sound-artifact { position: relative; min-height: 560px; display: grid; place-items: center; overflow: clip; isolation: isolate; }
.sound-artifact__orbit { position: absolute; border: 1px solid rgba(52, 215, 215, .32); border-radius: 50%; z-index: -1; }
.sound-artifact__orbit--one { width: 590px; height: 590px; transform: rotate(-16deg); }
.sound-artifact__orbit--two { width: 445px; height: 630px; border-color: rgba(102, 52, 240, .38); transform: rotate(29deg); }
.sound-artifact__paper { position: relative; width: min(100%, 430px); padding: 24px; overflow: hidden; background: #f1f0ff; color: var(--home-ink); box-shadow: 0 18px 30px rgba(2, 3, 17, .28), 0 3px 7px rgba(248, 39, 198, .28); transform: rotate(4deg); }
.sound-artifact__paper::before { content: ''; position: absolute; inset: 0; opacity: .75; pointer-events: none; background: linear-gradient(118deg, rgba(248,39,198,.08), transparent 44%); }
.sound-artifact__topline, .sound-artifact__footer { position: relative; display: flex; justify-content: space-between; gap: 12px; font-size: .58rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.sound-artifact__prompt { position: relative; margin: 72px 0 54px; font-family: var(--home-serif); font-size: clamp(2.25rem, 4vw, 3.65rem); line-height: .9; letter-spacing: -.065em; }
.sound-artifact__wave { position: relative; display: flex; align-items: center; justify-content: space-between; height: 118px; padding: 0 6px; border-block: 1px solid rgba(21,19,14,.2); }
.sound-artifact__wave i { display: block; width: 4px; border-radius: 4px; background: var(--home-ink); animation: home-wave 1.7s ease-in-out infinite alternate; }
.sound-artifact__wave i:nth-child(3n) { background: var(--home-coral); }
.sound-artifact__wave i:nth-child(1) { height: 17%; animation-delay: -.3s; }.sound-artifact__wave i:nth-child(2) { height: 48%; animation-delay: -.7s; }.sound-artifact__wave i:nth-child(3) { height: 84%; animation-delay: -.1s; }.sound-artifact__wave i:nth-child(4) { height: 41%; animation-delay: -.5s; }.sound-artifact__wave i:nth-child(5) { height: 70%; animation-delay: -.9s; }.sound-artifact__wave i:nth-child(6) { height: 93%; animation-delay: -.2s; }.sound-artifact__wave i:nth-child(7) { height: 56%; animation-delay: -.6s; }.sound-artifact__wave i:nth-child(8) { height: 26%; animation-delay: -.4s; }.sound-artifact__wave i:nth-child(9) { height: 78%; animation-delay: -.8s; }.sound-artifact__wave i:nth-child(10) { height: 50%; animation-delay: -.1s; }.sound-artifact__wave i:nth-child(11) { height: 31%; animation-delay: -.7s; }.sound-artifact__wave i:nth-child(12) { height: 93%; animation-delay: -.3s; }.sound-artifact__wave i:nth-child(13) { height: 65%; animation-delay: -.5s; }.sound-artifact__wave i:nth-child(14) { height: 38%; animation-delay: -.9s; }.sound-artifact__wave i:nth-child(15) { height: 80%; animation-delay: -.2s; }.sound-artifact__wave i:nth-child(16) { height: 60%; animation-delay: -.6s; }.sound-artifact__wave i:nth-child(17) { height: 20%; animation-delay: -.4s; }.sound-artifact__wave i:nth-child(18) { height: 73%; animation-delay: -.8s; }.sound-artifact__wave i:nth-child(19) { height: 46%; animation-delay: -.1s; }.sound-artifact__wave i:nth-child(20) { height: 91%; animation-delay: -.5s; }.sound-artifact__wave i:nth-child(21) { height: 62%; animation-delay: -.7s; }.sound-artifact__wave i:nth-child(22) { height: 30%; animation-delay: -.3s; }.sound-artifact__wave i:nth-child(23) { height: 52%; animation-delay: -.9s; }
@keyframes home-wave { to { transform: scaleY(.4); } }
.sound-artifact__footer { margin-top: 20px; align-items: center; }.sound-artifact__status { display: inline-flex; align-items: center; gap: 5px; }.sound-artifact__status b { width: 6px; height: 6px; border-radius: 50%; background: var(--home-coral); }
.sound-artifact__sticker { position: absolute; display: grid; place-items: center; width: 94px; height: 94px; border-radius: 50%; color: var(--home-ink); font-size: .68rem; font-weight: 800; line-height: 1.05; letter-spacing: .08em; text-align: center; transform: rotate(-12deg); }
.sound-artifact__sticker--top { top: 43px; right: 8px; background: var(--home-lime); }.sound-artifact__sticker--bottom { bottom: 25px; left: 3px; background: var(--home-coral); transform: rotate(14deg); }

.home-intro { width: min(1040px, calc(100% - 64px)); padding: 125px 0 95px; margin: 0 auto; border-top: 1px solid var(--home-rule); }
.home-intro h2 { max-width: 760px; margin: 0; font-size: clamp(3.2rem, 6.3vw, 6.8rem); line-height: .9; }.home-intro > p:last-child { max-width: 420px; margin: 27px 0 0 auto; color: var(--home-paper-deep); font-size: 1.08rem; }

.experiments { width: min(1320px, calc(100% - 64px)); margin: 0 auto; border-top: 1px solid var(--home-rule); border-bottom: 1px solid var(--home-rule); }
.experiments__rail { display: none; grid-template-columns: repeat(3, 1fr); }.home-page--enhanced .experiments__rail { display: grid; }.experiment-tab { display: flex; align-items: center; gap: 13px; min-height: 86px; padding: 22px; border: 0; border-right: 1px solid var(--home-rule); color: var(--home-paper-deep); text-align: left; transition: color 180ms ease, background 180ms ease; }.experiment-tab:last-child { border-right: 0; }.experiment-tab__number { color: var(--home-muted); font-size: .65rem; font-weight: 700; }.experiment-tab > span:nth-child(2) { font-family: var(--home-serif); font-size: 1.2rem; letter-spacing: -.035em; }.experiment-tab i { margin-left: auto; font-style: normal; }.experiment-tab:hover, .experiment-tab:focus-visible, .experiment-tab.is-active { background: #efeeff; color: var(--home-ink); }.experiment-tab.is-active .experiment-tab__number { color: var(--home-violet); }
.experiments__stage { min-height: 530px; }.experiment-panel { position: relative; min-height: 530px; padding: clamp(38px, 6vw, 92px); overflow: hidden; background: var(--home-panel); }.experiment-panel[hidden] { display: none; }.experiment-panel__eyebrow { margin: 0 0 22px; color: var(--home-lime); font-size: .67rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.experiment-panel h2 { position: relative; z-index: 1; max-width: 650px; margin: 0; font-size: clamp(3.2rem, 6.5vw, 6.9rem); line-height: .87; }.experiment-panel > p:not(.experiment-panel__eyebrow) { position: relative; z-index: 1; max-width: 440px; margin: 25px 0; color: var(--home-paper-deep); font-size: 1.06rem; }.experiment-panel dl { position: relative; z-index: 1; display: flex; gap: 50px; margin: 34px 0; }.experiment-panel dt { margin-bottom: 4px; color: var(--home-muted); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.experiment-panel dd { margin: 0; font-family: var(--home-serif); font-size: 1.08rem; }.experiment-panel .home-text-link { position: relative; z-index: 1; }
.experiment-panel__art { position: absolute; right: 7%; bottom: -12%; width: min(40vw, 490px); height: min(40vw, 490px); border: 1px solid rgba(245,239,227,.18); border-radius: 50%; }.experiment-panel__art--song::before, .experiment-panel__art--song::after { content: ''; position: absolute; inset: 16%; border: 1px solid var(--home-lime); border-radius: 50%; }.experiment-panel__art--song::after { inset: 32%; background: var(--home-coral); border: 0; }.experiment-panel__art--song span { position: absolute; font-size: .66rem; font-weight: 800; letter-spacing: .12em; }.experiment-panel__art--song span:first-child { top: 12%; left: 4%; }.experiment-panel__art--song span:last-child { bottom: 16%; right: 0; color: var(--home-lime); }.experiment-panel__art--song div { position: absolute; inset: 23%; border-left: 2px solid var(--home-paper); transform: rotate(39deg); }
.experiment-panel__art--voice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-color: var(--home-coral); transform: rotate(-12deg); }.experiment-panel__art--voice span { font-family: var(--home-serif); font-size: clamp(2.5rem, 7vw, 6.5rem); line-height: .77; }.experiment-panel__art--voice span:nth-child(2) { color: var(--home-lime); transform: translateX(22%); }.experiment-panel__art--voice span:nth-child(3) { color: var(--home-coral); font-size: clamp(1.4rem, 3.3vw, 3.5rem); letter-spacing: .19em; transform: translateX(-11%); }.experiment-panel__art--clean { display: grid; place-content: center; color: var(--home-paper); transform: rotate(8deg); }.experiment-panel__art--clean span { font-family: var(--home-serif); font-size: clamp(4rem, 10vw, 9rem); line-height: .5; }.experiment-panel__art--clean span:first-child { color: var(--home-muted); letter-spacing: -.35em; }.experiment-panel__art--clean span:nth-child(2) { color: var(--home-lime); letter-spacing: .15em; }.experiment-panel__art--clean span:last-child { color: var(--home-coral); font-size: 4rem; text-align: center; }

.home-proof { width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 125px 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }.home-proof h2 { margin: 0; font-size: clamp(3rem, 5vw, 5.6rem); line-height: .91; }.home-proof__list { border-top: 1px solid var(--home-rule); }.home-proof__list a { display: grid; grid-template-columns: 42px 1fr 22px; align-items: center; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--home-rule); font-family: var(--home-serif); font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.04em; transition: color 180ms ease, padding-left 180ms ease; }.home-proof__list a:hover, .home-proof__list a:focus-visible { padding-left: 12px; color: var(--home-lime); }.home-proof__list b { color: var(--home-coral); font-family: var(--home-sans); font-size: .67rem; letter-spacing: .1em; }.home-proof__list i { font-family: var(--home-sans); font-size: .9rem; font-style: normal; }

.home-closing { position: relative; padding: 145px 32px; overflow: hidden; background: #21102e; color: var(--home-paper); text-align: center; }.home-closing::before { content: 'ECHO'; position: absolute; left: 50%; top: 53%; color: rgba(248, 39, 198, .12); font-family: var(--home-serif); font-size: min(45vw, 680px); font-weight: 700; letter-spacing: -.13em; transform: translate(-50%, -50%); pointer-events: none; }.home-closing .home-kicker { color: rgba(248, 248, 255, .75); }.home-closing h2 { position: relative; margin: 0; font-size: clamp(4rem, 8vw, 8.5rem); line-height: .82; }.home-closing h2 span { display: block; white-space: nowrap; }.home-closing p:not(.home-kicker) { position: relative; margin: 28px auto 34px; font-size: 1.08rem; }.home-store-actions { position: relative; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }.home-closing .home-button--primary { background: var(--home-lime); color: var(--home-ink); }.home-closing .home-button--secondary { border: 1px solid var(--home-coral); color: var(--home-paper); }

.home-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 36px 0 48px; }.home-footer__links { display: flex; justify-content: center; gap: 23px; flex-wrap: wrap; }.home-footer > p { justify-self: end; margin: 0; color: var(--home-muted); font-size: .72rem; }

.home-page :focus-visible { outline: 2px solid var(--home-lime); outline-offset: 4px; }

@media (max-width: 850px) {
  .home-nav, .home-footer, .home-hero, .home-intro, .experiments, .home-proof { width: min(100% - 38px, 680px); }
  .home-nav { min-height: 76px; gap: 14px; }.home-nav__links { display: flex; gap: clamp(8px, 2.4vw, 18px); }.home-nav__links a { padding-block: 14px; font-size: .72rem; }.home-nav__cta { margin-left: 0; }
  .home-hero { grid-template-columns: 1fr; gap: 22px; min-height: auto; padding: 75px 0 68px; }.home-hero h1 { font-size: clamp(3.2rem, 15vw, 6.2rem); }.home-hero__copy { max-width: 550px; }.sound-artifact { min-height: 465px; max-width: 510px; width: 100%; justify-self: end; }.sound-artifact__orbit--one { width: 450px; height: 450px; }.sound-artifact__orbit--two { width: 350px; height: 500px; }.sound-artifact__paper { width: min(83%, 390px); }
  .home-intro { padding: 80px 0 65px; }.home-intro h2 { font-size: clamp(3.4rem, 13vw, 5.7rem); }.home-intro > p:last-child { margin-left: 0; }
  .home-page--enhanced .experiments__rail { display: block; }.experiment-tab { width: 100%; border-right: 0; border-bottom: 1px solid var(--home-rule); }.experiment-tab:last-child { border-bottom: 0; }.experiments__stage, .experiment-panel { min-height: 610px; }.experiment-panel { padding: 50px 28px; }.experiment-panel__art { width: 235px; height: 235px; right: -52px; bottom: 18px; opacity: .34; }.experiment-panel__art--song span { display: none; }.experiment-panel h2 { font-size: clamp(3.2rem, 12vw, 5.5rem); }.experiment-panel dl { gap: 22px; flex-direction: column; }
  .home-proof { grid-template-columns: 1fr; gap: 48px; padding: 80px 0; }.home-proof h2 { font-size: clamp(3.4rem, 12vw, 5.3rem); }.home-closing { padding: 110px 22px; }.home-closing h2 { font-size: clamp(2.55rem, 11vw, 5.3rem); line-height: .9; }.home-closing::before { top: 57%; color: rgba(248, 39, 198, .08); }.home-footer { grid-template-columns: 1fr; text-align: center; }.home-footer .home-brand, .home-footer > p { justify-self: center; }.home-footer__links { gap: 14px 22px; }
}

@media (max-width: 440px) {
  .home-nav, .home-footer, .home-hero, .home-intro, .experiments, .home-proof { width: min(100% - 30px, 680px); }.home-nav { gap: 9px; }.home-brand { font-size: 1.2rem; }.home-nav__links { gap: 10px; }.home-nav__links a { font-size: .75rem; }.home-nav__links a:first-child { display: none; }.home-nav__cta { padding: 9px 8px; font-size: .75rem; }.home-hero__copy { min-width: 0; }.home-hero h1 { font-size: clamp(2.7rem, 14.2vw, 6.2rem); }.sound-artifact { min-height: 390px; }.sound-artifact__orbit--one { width: 300px; height: 300px; }.sound-artifact__orbit--two { width: 240px; height: 320px; }.sound-artifact__paper { padding: 18px; }.sound-artifact__prompt { margin: 52px 0 38px; font-size: 2.25rem; }.sound-artifact__wave { height: 90px; }.sound-artifact__sticker { width: 70px; height: 70px; font-size: .54rem; }.sound-artifact__sticker--top { top: 18px; }.sound-artifact__sticker--bottom { bottom: 0; }.home-hero__actions { align-items: flex-start; flex-direction: column; }.home-button { padding: 15px 17px; }.experiment-panel { min-height: 610px; }.experiment-panel__art { width: 235px; height: 235px; }.home-proof__list a { grid-template-columns: 31px 1fr 16px; gap: 10px; }.home-closing { padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Skip-to-content accessibility link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--accent-purple);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   0. Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors — dark palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.06);

  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;

  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;

  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;

  --white: #ffffff;
  --black: #000000;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  --gradient-hero: linear-gradient(160deg, var(--accent-purple) 0%, var(--accent-blue) 50%, var(--accent-cyan) 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.08));
  --gradient-border: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(59, 130, 246, 0.5));

  /* Spacing scale (4px base) */
  --space-xs: 0.25rem;   /* 4px  */
  --space-sm: 0.5rem;    /* 8px  */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  --space-5xl: 8rem;     /* 128px */

  /* Typography — unified with Echo homepage editorial serif + crisp UI sans */
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-display: "Avenir Next", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-sans: "Avenir Next", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "SF Mono", Menlo, Consolas, monospace;

  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  --text-7xl: 4.5rem;     /* 72px */

  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;

  /* Borders & Radius */
  --radius-sm: 0.375rem;  /* 6px  */
  --radius-md: 0.625rem;  /* 10px */
  --radius-lg: 1rem;      /* 16px */
  --radius-xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
  --border-accent: 1px solid rgba(139, 92, 246, 0.3);

  /* Shadows & Glow */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.7);
  --glow-purple: 0 0 20px rgba(139, 92, 246, 0.35), 0 0 60px rgba(139, 92, 246, 0.15);
  --glow-blue: 0 0 20px rgba(59, 130, 246, 0.35), 0 0 60px rgba(59, 130, 246, 0.15);
  --glow-sm: 0 0 10px rgba(139, 92, 246, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index layers */
  --z-below: -1;
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;

  /* Layout */
  --header-height: 4.5rem;
  --container-max: 1200px;
  --container-narrow: 800px;
}

/* --------------------------------------------------------------------------
   1. Reset / Normalize
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle noise texture overlay for depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: 700;
  overflow-wrap: break-word;
  padding-bottom: 0.08em;
}

p {
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */
h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: var(--text-5xl);
}
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); font-weight: 600; }

.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-4xl  { font-size: var(--text-4xl); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

/* Gradient text utility */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-hero {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-4xl);
  position: relative;
}

.section--lg {
  padding-block: var(--space-5xl);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
  overflow: visible;
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: var(--space-md);
}

/* Flex helpers */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--glow-sm);
}

.btn--primary:hover {
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: var(--glow-sm);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
}

.btn--ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
}

.btn--full {
  width: 100%;
}

/* Glow pulse on CTA buttons */
.btn--glow {
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.25); }
  50%      { box-shadow: 0 0 30px rgba(139, 92, 246, 0.45), 0 0 60px rgba(59, 130, 246, 0.15); }
}

/* --------------------------------------------------------------------------
   5. Glassmorphism Card
   -------------------------------------------------------------------------- */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card:hover::before {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   6. Glow Effects
   -------------------------------------------------------------------------- */
.glow {
  position: relative;
}

.glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient-primary);
  filter: blur(20px);
  opacity: 0;
  transition: opacity var(--transition-slow);
  z-index: var(--z-below);
  pointer-events: none;
}

.glow:hover::after {
  opacity: 0.4;
}

.glow-static {
  box-shadow: var(--glow-purple);
}

/* Background glow orbs */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: var(--z-below);
}

.bg-glow--purple {
  background: rgba(139, 92, 246, 0.15);
}

.bg-glow--blue {
  background: rgba(59, 130, 246, 0.12);
}

/* --------------------------------------------------------------------------
   7. Scroll Reveal Animations
   -------------------------------------------------------------------------- */
/* Reveals are opt-in: JS adds .reveal-ready to <html> when IntersectionObserver is available.
   Without JS, all elements remain fully visible. */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html.reveal-ready .reveal { opacity: 0; transform: translateY(30px); }
html.reveal-ready .reveal-left { opacity: 0; transform: translateX(-30px); }
html.reveal-ready .reveal-right { opacity: 0; transform: translateX(30px); }
html.reveal-ready .reveal-scale { opacity: 0; transform: scale(0.92); }

html.reveal-ready .reveal.revealed,
html.reveal-ready .reveal-left.revealed,
html.reveal-ready .reveal-right.revealed,
html.reveal-ready .reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* --------------------------------------------------------------------------
   8. Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: var(--z-header);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.header__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.header__link:hover {
  color: var(--text-primary);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Hamburger / Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: var(--z-overlay);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: var(--z-overlay);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   9. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  max-width: 850px;
  margin-inline: auto;
  overflow: visible;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-purple);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
  animation: badge-border-glow 3s ease-in-out infinite alternate;
}

/* Shimmer sweep across the badge */
.hero__badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
  animation: badge-shimmer 4s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

@keyframes badge-border-glow {
  0% { border-color: rgba(139, 92, 246, 0.25); box-shadow: none; }
  100% { border-color: rgba(139, 92, 246, 0.5); box-shadow: 0 0 12px rgba(139, 92, 246, 0.15); }
}

.hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-7xl);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-lg);
  padding-inline: var(--space-sm);
  overflow: visible;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__visual {
  margin-top: var(--space-3xl);
  position: relative;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: var(--z-below);
}

/* Dot grid pattern */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  translate: -50% 0;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 60% 60%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 50% 30%, rgba(6, 182, 212, 0.12) 0%, transparent 40%);
  border-radius: 50%;
  filter: blur(60px);
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% { opacity: 0.7; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -5%) scale(1.05); }
}

/* --------------------------------------------------------------------------
   10. Features Grid
   -------------------------------------------------------------------------- */
.features {
  background: var(--bg-secondary);
  position: relative;
}

/* Subtle gradient mesh behind features */
.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.feature-card {
  text-align: left;
  padding: var(--space-2xl);
  padding-bottom: calc(var(--space-2xl) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.04) 0%, transparent 60%),
    rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  /* Override glass-card hover effects for feature cards */
  backdrop-filter: none;
}

/* Top-left gradient accent unique per card */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Ambient glow on hover */
.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(139, 92, 246, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover::after {
  opacity: 1;
}

/* Each card gets a unique accent color for its top bar */
.feature-card:nth-child(1)::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.feature-card:nth-child(2)::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.feature-card:nth-child(3)::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.feature-card:nth-child(4)::before { background: linear-gradient(90deg, #ec4899, #f472b6); }
.feature-card:nth-child(5)::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.feature-card:nth-child(6)::before { background: linear-gradient(90deg, #22c55e, #4ade80); }

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  font-size: var(--text-2xl);
  position: relative;
}

/* Each icon gets matching gradient background */
.feature-card:nth-child(1) .feature-card__icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
  color: #a78bfa;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}
.feature-card:nth-child(2) .feature-card__icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
  color: #60a5fa;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}
.feature-card:nth-child(3) .feature-card__icon {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.05));
  color: #22d3ee;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}
.feature-card:nth-child(4) .feature-card__icon {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.05));
  color: #f472b6;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
}
.feature-card:nth-child(5) .feature-card__icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  color: #fbbf24;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}
.feature-card:nth-child(6) .feature-card__icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
  color: #4ade80;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   11. How It Works
   -------------------------------------------------------------------------- */
.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

/* Connecting line between steps */
.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.25;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: var(--z-base);
  box-shadow: var(--glow-sm);
}

.step__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.step__desc {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   12. Use Cases
   -------------------------------------------------------------------------- */
.use-cases {
  background: var(--bg-secondary);
}

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.use-case-card {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-xl);
}

.use-case-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--accent-blue);
  border: var(--border-subtle);
}

.use-case-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.use-case-card__desc {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  padding: var(--space-xl);
}

.testimonial-card__stars {
  color: var(--warning);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--white);
  position: relative;
  background: var(--bg-secondary);
  z-index: 0;
}

/* Rotating gradient ring around avatar */
.testimonial-card__avatar::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--accent-purple),
    var(--accent-blue),
    var(--accent-cyan),
    var(--accent-purple)
  );
  z-index: -2;
  animation: avatar-ring-spin 4s linear infinite;
}

/* Inner fill */
.testimonial-card__avatar::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  z-index: -1;
}

@keyframes avatar-ring-spin {
  to { transform: rotate(360deg); }
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
}

.testimonial-card__role {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

/* --------------------------------------------------------------------------
   14. Pricing
   -------------------------------------------------------------------------- */
.pricing {
  background: var(--bg-secondary);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.pricing-card {
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
}

.pricing-card--featured {
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: var(--glow-purple);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.pricing-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.pricing-card__price span {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__desc {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xl);
}

.pricing-card__features {
  text-align: left;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   15. CTA Section
   -------------------------------------------------------------------------- */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__inner {
  position: relative;
  z-index: var(--z-base);
  padding: var(--space-4xl) var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--gradient-card);
  border: var(--border-subtle);
  max-width: 900px;
  margin-inline: auto;
}

.cta__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  padding-inline: var(--space-sm);
}

.cta__desc {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-inline: auto;
}

.cta__bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  border-top: var(--border-subtle);
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  border-top: var(--border-subtle);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer__socials {
  display: flex;
  gap: var(--space-md);
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: var(--border-subtle);
  transition: all var(--transition-fast);
  font-size: var(--text-sm);
}

.footer__socials a:hover {
  color: var(--accent-purple);
  border-color: var(--accent-purple);
  box-shadow: var(--glow-sm);
}

/* --------------------------------------------------------------------------
   17. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq__list {
  max-width: 750px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.active {
  border-color: rgba(139, 92, 246, 0.2);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--accent-purple);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
  color: var(--accent-purple);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   18. Blog Listing
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card__image {
  aspect-ratio: 16 / 9;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.blog-card__tag {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.blog-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--accent-purple);
}

.blog-card__excerpt {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-purple);
  margin-top: var(--space-md);
  transition: gap var(--transition-base);
}

.blog-card__read-more:hover {
  gap: var(--space-sm);
}

/* --------------------------------------------------------------------------
   19. Blog Article
   -------------------------------------------------------------------------- */
.article {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.article__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.article__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.article__title {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: var(--space-md);
}

.article__subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
}

.article__cover {
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-3xl);
  background: var(--bg-tertiary);
}

.article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article__body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

.article__body h2 {
  color: var(--text-primary);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
}

.article__body h3 {
  color: var(--text-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article__body p {
  margin-bottom: var(--space-lg);
}

.article__body a {
  color: var(--accent-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article__body a:hover {
  color: var(--accent-blue);
}

.article__body ul,
.article__body ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article__body li {
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.article__body ol li {
  list-style: decimal;
}

.article__body blockquote {
  border-left: 3px solid var(--accent-purple);
  padding-left: var(--space-lg);
  margin-block: var(--space-xl);
  font-style: italic;
  color: var(--text-muted);
}

.article__body code {
  font-family: var(--font-mono);
  background: rgba(139, 92, 246, 0.1);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
}

.article__body pre {
  background: var(--bg-tertiary);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-block: var(--space-xl);
  overflow-x: auto;
}

.article__body pre code {
  background: none;
  padding: 0;
  font-size: var(--text-sm);
}

.article__body img {
  border-radius: var(--radius-md);
  margin-block: var(--space-xl);
}

/* In-article app screenshots (real UI captures) */
.article__figure {
  margin-block: var(--space-xl);
  padding: var(--space-md);
  background: var(--bg-secondary);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
}

.article__figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: var(--radius-md);
}

.article__figure figcaption {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

.article__figure--phone {
  max-width: 420px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   20. Responsive Breakpoints (mobile-first)
   -------------------------------------------------------------------------- */

/* Small phones and up (480px) */
@media (max-width: 480px) {
  :root {
    --text-5xl: 2.25rem;
    --text-6xl: 2.5rem;
    --text-7xl: 3rem;
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* Up to tablet (768px) */
@media (max-width: 768px) {
  .section {
    padding-block: var(--space-3xl);
  }

  .section--lg {
    padding-block: var(--space-4xl);
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  /* Navigation — mobile */
  .nav-toggle {
    display: flex;
  }

  .header__nav {
    display: none;
  }

  /* Grids — single column */
  .features__grid,
  .how-it-works__steps,
  .testimonials__grid,
  .pricing__grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works__steps::before {
    display: none;
  }

  .use-cases__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Hero */
  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  /* CTA */
  .cta__title {
    font-size: var(--text-3xl);
  }

  /* Article */
  .article__title {
    font-size: var(--text-3xl);
  }
}

/* Tablet (768px — 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-it-works__steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large desktop (1280px+) */
@media (min-width: 1280px) {
  .container {
    padding-inline: var(--space-2xl);
  }

  .hero__title {
    font-size: var(--text-7xl);
  }
}

/* --------------------------------------------------------------------------
   21. Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Listening-room home / Discover / keyword (2026-08-18)
   -------------------------------------------------------------------------- */
.home-nav { position: relative; }
.home-nav__end { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--home-rule, rgba(248,248,255,.14));
  background: transparent; border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #f8f8ff;
}
.nav-toggle::before { top: 16px; }
.nav-toggle::after { bottom: 16px; }
.switcher { position: relative; }
.switcher summary {
  list-style: none; cursor: pointer; font-size: .78rem; font-weight: 700;
  color: #cdcde1; padding: 8px 10px; border: 1px solid rgba(248,248,255,.14); border-radius: 999px;
}
.switcher summary::-webkit-details-marker { display: none; }
.switcher ul {
  position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 8px;
  list-style: none; min-width: 160px; max-width: calc(100vw - 24px); background: #17183a; border: 1px solid rgba(248,248,255,.14);
  border-radius: 12px; z-index: 40;
}
.switcher a { display: block; padding: 8px 10px; text-decoration: none; color: #f8f8ff; border-radius: 8px; }
.switcher a[aria-current="true"], .switcher a:hover { background: rgba(52,215,215,.12); color: #34d7d7; }
.wrap-hero { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.now {
  position: relative; min-height: 360px; border-radius: 28px; overflow: hidden;
  background: #10122a; border: 1px solid rgba(255,255,255,.1);
}
.now-art { position: absolute; inset: 0; background: #171a36 center/cover no-repeat; }
.now-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, #0f1024 100%); }
.now-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 22px; }
.now-pill { width: max-content; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.now h2 { margin: 12px 0 4px; font-size: 28px; }
.now-play {
  position: absolute; right: 22px; bottom: 22px; z-index: 2;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(120deg, #6634f0, #34d7d7); color: #fff; text-decoration: none; font-size: 18px;
}
.hub-strip, .doors, .seo-path, .disc-main, .kw { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.hub-strip { padding: 24px 0 56px; }
.hub-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 18px; }
.hub-head h2, .disc-hero h1, .kw h1 { font-family: Iowan Old Style, Palatino, Georgia, serif; font-weight: 500; letter-spacing: -.03em; }
.hub-head h2 { font-size: clamp(28px, 4vw, 34px); margin: 0; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(248,248,255,.14); background: transparent; color: #cdcde1; font-weight: 600; cursor: pointer; }
.chip.is-on { border-color: #34d7d7; color: #34d7d7; background: rgba(52,215,215,.12); }
.rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.track { display: flex; flex-direction: column; height: 100%; text-align: left; background: rgba(26,31,58,.92); border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid transparent; }
.track:hover, .track:focus-visible { border-color: rgba(52,215,215,.4); }
.track img, .track .art { aspect-ratio: 1; width: 100%; object-fit: cover; background: #1a1f3a; display: block; }
.track figcaption, .track .cap { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 10px 11px 12px; min-height: 58px; }
.track strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.25; min-height: 2.5em; word-break: break-word; }
.track small { display: block; color: #9293b0; font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 48px; }
.door { padding: 24px; border-radius: 22px; background: #17183a; border: 1px solid rgba(248,248,255,.14); }
.door b { display: block; color: #34d7d7; font-size: 12px; letter-spacing: .08em; margin-bottom: 12px; }
.door h3 { margin: 0 0 8px; font-size: 22px; }
.door p { margin: 0; color: #cdcde1; }
.door a { display: inline-block; margin-top: 16px; color: #34d7d7; text-decoration: none; font-weight: 650; }
.seo-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-bottom: 56px; }
.seo-path a { display: block; padding: 16px; border-radius: 16px; text-decoration: none; color: inherit; border: 1px solid rgba(248,248,255,.14); }
.seo-path small { color: #9293b0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.seo-path strong { display: block; margin-top: 8px; font-size: 18px; }
.disc-hero { padding: 42px 0 22px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.disc-hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 12px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 28px; }
.hub-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px; background: rgba(26,31,58,.92); border-radius: 18px; text-decoration: none; color: inherit; }
.hub-card img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.hub-card h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hub-card p { margin: 0; color: #9293b0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.warn { margin: 0 0 40px; padding: 16px 18px; border-left: 3px solid #f827c6; color: #cdcde1; background: rgba(248,39,198,.06); }
.kw { padding: 48px 0 72px; }
.kw h1 { font-size: clamp(36px, 5vw, 56px); max-width: 16ch; }
.scan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 28px; }
.scan div { padding: 16px; border-radius: 16px; background: #17183a; color: #cdcde1; }
.scan b { display: block; color: #34d7d7; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.facts { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.facts th { text-align: left; color: #9293b0; font-weight: 500; padding: 8px 8px 8px 0; width: 34%; }
.facts td { padding: 8px 0; border-bottom: 1px solid rgba(248,248,255,.14); }
.faq-kw dt { margin-top: 16px; font-weight: 700; }
.faq-kw dd { margin: 6px 0 0; color: #cdcde1; }
.hub-status { color: #9293b0; }

@media (max-width: 980px) {
  .home-nav .nav-toggle { display: inline-block; margin-left: auto; }
  .home-nav__links { display: none; }
  .home-nav__links.open, .mobile-nav.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    padding: 12px 20px 18px; background: #0f1024; border-bottom: 1px solid rgba(248,248,255,.14); z-index: 15;
  }
  .rail, .hub-grid, .doors, .seo-path, .scan { grid-template-columns: 1fr 1fr; }
  .disc-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rail, .hub-grid, .doors, .seo-path, .scan { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Listening-room home / Discover / keyword (2026-08-18)
   -------------------------------------------------------------------------- */
.home-nav { position: relative; }
.home-nav__end { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--home-rule, rgba(248,248,255,.14));
  background: transparent; border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #f8f8ff;
}
.nav-toggle::before { top: 16px; }
.nav-toggle::after { bottom: 16px; }
.switcher { position: relative; }
.switcher summary {
  list-style: none; cursor: pointer; font-size: .78rem; font-weight: 700;
  color: #cdcde1; padding: 8px 10px; border: 1px solid rgba(248,248,255,.14); border-radius: 999px;
}
.switcher summary::-webkit-details-marker { display: none; }
.switcher ul {
  position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 8px;
  list-style: none; min-width: 160px; max-width: calc(100vw - 24px); background: #17183a; border: 1px solid rgba(248,248,255,.14);
  border-radius: 12px; z-index: 40;
}
.switcher a { display: block; padding: 8px 10px; text-decoration: none; color: #f8f8ff; border-radius: 8px; }
.switcher a[aria-current="true"], .switcher a:hover { background: rgba(52,215,215,.12); color: #34d7d7; }
.wrap-hero { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.now {
  position: relative; min-height: 360px; border-radius: 28px; overflow: hidden;
  background: #10122a; border: 1px solid rgba(255,255,255,.1);
}
.now-art { position: absolute; inset: 0; background: #171a36 center/cover no-repeat; }
.now-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, #0f1024 100%); }
.now-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 22px; }
.now-pill { width: max-content; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.now h2 { margin: 12px 0 4px; font-size: 28px; }
.now-play {
  position: absolute; right: 22px; bottom: 22px; z-index: 2;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(120deg, #6634f0, #34d7d7); color: #fff; text-decoration: none; font-size: 18px;
}
.hub-strip, .doors, .seo-path, .disc-main, .kw { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.hub-strip { padding: 24px 0 56px; }
.hub-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 18px; }
.hub-head h2, .disc-hero h1, .kw h1 { font-family: Iowan Old Style, Palatino, Georgia, serif; font-weight: 500; letter-spacing: -.03em; }
.hub-head h2 { font-size: clamp(28px, 4vw, 34px); margin: 0; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(248,248,255,.14); background: transparent; color: #cdcde1; font-weight: 600; cursor: pointer; }
.chip.is-on { border-color: #34d7d7; color: #34d7d7; background: rgba(52,215,215,.12); }
.rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.track { display: flex; flex-direction: column; height: 100%; text-align: left; background: rgba(26,31,58,.92); border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid transparent; }
.track:hover, .track:focus-visible { border-color: rgba(52,215,215,.4); }
.track img, .track .art { aspect-ratio: 1; width: 100%; object-fit: cover; background: #1a1f3a; display: block; }
.track figcaption, .track .cap { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 10px 11px 12px; min-height: 58px; }
.track strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.25; min-height: 2.5em; word-break: break-word; }
.track small { display: block; color: #9293b0; font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 48px; }
.door { padding: 24px; border-radius: 22px; background: #17183a; border: 1px solid rgba(248,248,255,.14); }
.door b { display: block; color: #34d7d7; font-size: 12px; letter-spacing: .08em; margin-bottom: 12px; }
.door h3 { margin: 0 0 8px; font-size: 22px; }
.door p { margin: 0; color: #cdcde1; }
.door a { display: inline-block; margin-top: 16px; color: #34d7d7; text-decoration: none; font-weight: 650; }
.seo-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-bottom: 56px; }
.seo-path a { display: block; padding: 16px; border-radius: 16px; text-decoration: none; color: inherit; border: 1px solid rgba(248,248,255,.14); }
.seo-path small { color: #9293b0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.seo-path strong { display: block; margin-top: 8px; font-size: 18px; }
.disc-hero { padding: 42px 0 22px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.disc-hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 12px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 28px; }
.hub-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px; background: rgba(26,31,58,.92); border-radius: 18px; text-decoration: none; color: inherit; }
.hub-card img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.hub-card h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hub-card p { margin: 0; color: #9293b0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.warn { margin: 0 0 40px; padding: 16px 18px; border-left: 3px solid #f827c6; color: #cdcde1; background: rgba(248,39,198,.06); }
.kw { padding: 48px 0 72px; }
.kw h1 { font-size: clamp(36px, 5vw, 56px); max-width: 16ch; }
.scan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 28px; }
.scan div { padding: 16px; border-radius: 16px; background: #17183a; color: #cdcde1; }
.scan b { display: block; color: #34d7d7; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.facts { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.facts th { text-align: left; color: #9293b0; font-weight: 500; padding: 8px 8px 8px 0; width: 34%; }
.facts td { padding: 8px 0; border-bottom: 1px solid rgba(248,248,255,.14); }
.faq-kw dt { margin-top: 16px; font-weight: 700; }
.faq-kw dd { margin: 6px 0 0; color: #cdcde1; }
.hub-status { color: #9293b0; }

@media (max-width: 980px) {
  .home-nav .nav-toggle { display: inline-block; margin-left: auto; }
  .home-nav__links { display: none; }
  .home-nav__links.open, .mobile-nav.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    padding: 12px 20px 18px; background: #0f1024; border-bottom: 1px solid rgba(248,248,255,.14); z-index: 15;
  }
  .rail, .hub-grid, .doors, .seo-path, .scan, .disc-hero { grid-template-columns: 1fr 1fr; }
  .disc-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rail, .hub-grid, .doors, .seo-path, .scan { grid-template-columns: 1fr; }
  .home-hero { grid-template-columns: 1fr; }
}

.home-page .home-hero h1 > span,
.home-page .home-hero h1 > em { white-space: normal; }
.home-page .home-hero h1 { font-size: clamp(3rem, 5.4vw, 5.6rem); }
.home-page .home-nav__links {
  display: flex;
  position: static;
  opacity: 1;
  pointer-events: auto;
  inset: auto;
  background: transparent;
  flex-direction: row;
}
@media (max-width: 980px) {
  .home-page .home-nav__links { display: none; }
  .home-page .home-nav__links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 8px 20px 20px;
    background: #0f1024;
    border-bottom: 1px solid rgba(248,248,255,.14);
    z-index: 30;
    gap: 0;
  }
  .home-page .home-nav__links.open a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: #f8f8ff;
  }
  .home-page .hub-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-page .now-body { padding-right: 88px; }
  .home-page .now h2 { padding-right: 8px; word-break: break-word; }
  .home-page .kw .home-store-actions { margin-top: 36px; }
}

.kw-page .home-store-actions { margin-top: 40px; }

/* Echo Web Audio Studio visual cover card grid on homepage */
.studio-home-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.studio-home-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #f4f5ff;
  background: linear-gradient(165deg, rgba(28, 31, 72, 0.85), rgba(15, 16, 36, 0.96));
  border: 1px solid rgba(186, 151, 250, 0.2);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), border-color 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.studio-home-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0c1c;
  border-bottom: 1px solid rgba(186, 151, 250, 0.14);
}

.studio-home-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms cubic-bezier(0.23, 1, 0.32, 1);
}

.studio-home-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.studio-home-card__body small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d7d7;
}

.studio-home-card__body strong {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f4f5ff;
}

@media (hover: hover) and (pointer: fine) {
  .studio-home-card:hover {
    transform: translateY(-3px);
    border-color: rgba(52, 215, 215, 0.55);
    box-shadow: 0 14px 32px rgba(10, 11, 30, 0.5);
  }
  .studio-home-card:hover .studio-home-card__media img {
    transform: scale(1.05);
  }
}

@media (max-width: 1080px) {
  .studio-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .studio-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .studio-home-card__body {
    padding: 10px 11px 12px;
  }
  .studio-home-card__body strong {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-home-card,
  .studio-home-card__media img,
  .xmas-spotlight__media img {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Christmas 2026 Featured Spotlight Banner (Homepage — All 6 Locales)
   -------------------------------------------------------------------------- */
.xmas-spotlight {
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.xmas-spotlight__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 211, 65, 0.14), transparent 46%),
    radial-gradient(circle at 92% 88%, rgba(52, 215, 215, 0.14), transparent 48%),
    linear-gradient(145deg, rgba(24, 21, 56, 0.92), rgba(15, 16, 36, 0.96));
  border: 1px solid rgba(255, 211, 65, 0.34);
  box-shadow: 0 22px 54px rgba(8, 9, 26, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.xmas-spotlight__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd341;
  background: rgba(255, 211, 65, 0.12);
  border: 1px solid rgba(255, 211, 65, 0.32);
  margin-bottom: 14px;
}

.xmas-spotlight__copy h2 {
  font-family: var(--home-serif, var(--font-serif));
  font-weight: 500;
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #f6f7ff;
}

.xmas-spotlight__lede {
  margin: 0 0 18px;
  color: rgba(232, 234, 252, 0.84);
  font-size: 0.98rem;
  line-height: 1.58;
}

.xmas-spotlight__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.xmas-spotlight__pills li {
  font-size: 0.8rem;
  font-weight: 600;
  color: #d6e9ff;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(186, 151, 250, 0.12);
  border: 1px solid rgba(186, 151, 250, 0.3);
}

.xmas-spotlight__media {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(186, 151, 250, 0.28);
  background: #0b0c1c;
  box-shadow: 0 16px 38px rgba(6, 7, 20, 0.55);
}

.xmas-spotlight__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 320ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .xmas-spotlight__media:hover img {
    transform: scale(1.03);
  }
}

@media (max-width: 860px) {
  .xmas-spotlight {
    padding: 0 16px;
    margin-bottom: 36px;
  }
  .xmas-spotlight__card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}
