/* ==========================================================================
   Lyra — landing page styles
   Extracted from the Claude Design export. Visuals preserved verbatim.
   ========================================================================== */

/* ---- Base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #000; }
::selection { background: rgba(244, 199, 82, 0.3); }

:root {
  --font-sans: 'General Sans', Inter, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

body { font-family: var(--font-sans); }

img { -webkit-user-drag: none; }

/* ---- Keyframes (verbatim from export) ------------------------------------ */
@keyframes lyraSheen {
  0%        { transform: translateX(-170%) skewX(-18deg); }
  60%, 100% { transform: translateX(340%) skewX(-18deg); }
}
@keyframes lyraBreath {
  0%, 100% { box-shadow: inset 0 1px 1px rgba(255,255,255,0.30), inset 0 0 18px rgba(255,184,206,0.10); border-color: rgba(255,255,255,0.22); }
  50%      { box-shadow: inset 0 1px 1px rgba(255,255,255,0.40), inset 0 0 30px rgba(255,184,206,0.24); border-color: rgba(255,255,255,0.44); }
}
@keyframes lyraTwinkle {
  0%, 100% { opacity: 0.65; transform: scale(0.82) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1.18) rotate(90deg); }
}
@keyframes kbFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50%      { transform: translateY(-12px) rotateX(1.5deg); }
}
@keyframes lyraPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
@keyframes waBlink {
  0%, 50%    { opacity: 1; }
  51%, 100%  { opacity: 0; }
}
@keyframes lyraDot {
  0%, 100% { transform: scale(0.78); opacity: 0.55; }
  50%      { transform: scale(1.18); opacity: 1; }
}
@keyframes lyraPillIn {
  0%   { transform: translateY(6px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes lyraCardIn {
  0%   { opacity: 0; transform: translateY(-50%) scale(0.985); }
  100% { opacity: 1; transform: translateY(-50%) scale(1); }
}
@keyframes lyraStarAI {
  0%   { transform: rotate(0deg) scale(1); }
  25%  { transform: rotate(90deg) scale(1.07); }
  50%  { transform: rotate(180deg) scale(0.96); }
  75%  { transform: rotate(270deg) scale(1.07); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes lyraStarGlow {
  0%, 100% { filter: drop-shadow(0 18px 60px rgba(240,120,152,0.30)) drop-shadow(0 0 18px rgba(249,176,198,0.25)); }
  50%      { filter: drop-shadow(0 18px 70px rgba(240,120,152,0.55)) drop-shadow(0 0 38px rgba(249,176,198,0.6)); }
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 880px;
  overflow: hidden;
  background:
    radial-gradient(58% 52% at 52% 104%, rgba(240,120,152,0.07) 0%, transparent 66%),
    radial-gradient(135% 95% at 50% -6%, #101013 0%, #070708 52%, #000 100%);
  font-family: var(--font-sans);
}
.hero__stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 880px;
  transform-origin: top center;
  transform: translateX(-50%) scale(1);
}

/* Word-wave */
.hero__wave {
  position: absolute;
  top: 100px; left: 0;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.wave__messy {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
  fill: rgba(255,255,255,0.52);
}
.wave__clean {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.005em;
  fill: #FFFFFF;
  /* soft white glow so the curve reads clearly on black without going neon */
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.45));
}

/* Lyra badge */
.hero__badge {
  position: absolute;
  z-index: 4;
  left: 752px; top: 833px;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  border-radius: 100px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(249,176,198,0.20) 0%, rgba(240,120,154,0.17) 52%, rgba(232,92,134,0.20) 100%);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(5px) saturate(1.4);
  -webkit-backdrop-filter: blur(5px) saturate(1.4);
  color: #fff;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), inset 0 0 18px rgba(255,184,206,0.1);
  animation: lyraBreath 3.4s ease-in-out infinite;
}
.hero__badge-sheen {
  position: absolute;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  transform: translateX(-170%) skewX(-18deg);
  animation: lyraSheen 3s ease-in-out infinite;
  pointer-events: none;
}
.hero__badge-star {
  position: relative;
  z-index: 1;
  animation: lyraTwinkle 2.2s ease-in-out infinite;
}
.hero__badge-text { position: relative; z-index: 1; }

/* Character */
.hero__character {
  position: absolute;
  z-index: 3;
  left: -168px; bottom: 196px;
  height: 470px;
  width: auto;
  user-select: none;
  pointer-events: none;
}

/* Headline cluster */
.hero__cluster {
  position: absolute;
  z-index: 5;
  left: 50%; top: 232px;
  transform: translate(-50%, 0);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__headline {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-size: 96px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.hero__headline strong { color: #fff; font-weight: 500; }
.hero__sub {
  margin: 24px 0 0;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

/* Buttons (shared) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
}
.btn--primary {
  background: #fff;
  color: #000;
  padding: 14px 26px;
}
.btn--ghost {
  background: transparent;
  color: #fff;
  padding: 14px 26px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ==========================================================================
   2. WORKS ANYWHERE
   ========================================================================== */
.works {
  position: relative;
  z-index: 6;
  margin-top: 26px;
  padding: 130px 24px 72px;
  border-radius: 48px 48px 0 0;
  background:
    radial-gradient(120% 78% at 50% 0%, rgba(240,120,152,0.05) 0%, transparent 56%),
    linear-gradient(180deg, #101015 0%, #0a0a0d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 -26px 50px rgba(0,0,0,0.45);
  font-family: var(--font-sans);
}
.works__inner { max-width: 1120px; margin: 0 auto; }
.works__head { text-align: center; }
.works__stage { position: relative; margin: 0 auto 16px; }

.works__suggest {
  position: absolute;
  left: 50%; top: -64px;
  transform: translate(-50%, 8px) scale(0.96);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 22px;
  border-radius: 18px;
  background: linear-gradient(#1c1c20, #1c1c20) padding-box, linear-gradient(135deg, #F9B0C6, #E85C86 50%, #F078A0) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 22px 54px rgba(0,0,0,0.62), 0 3px 8px rgba(0,0,0,0.45), 0 0 22px rgba(240,120,152,0.28);
  white-space: nowrap;
  pointer-events: none;
  z-index: 6;
  transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.works__suggest-label {
  font-size: 21px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}
.tabkey {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  background: #333339;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 5px 13px;
  transition: background .18s ease, color .18s ease;
}
.works__headline {
  font-size: clamp(40px, 8vw, 6.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: #fff;
  margin: 0 auto;
  max-width: 8em;
  min-height: 2.2em;
}
.caret {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: #fff;
  margin-left: 5px;
  vertical-align: -0.06em;
  border-radius: 1px;
  animation: waBlink 1s step-end infinite;
}
.works__sub {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 50ch;
  margin: 18px auto 0;
  text-wrap: pretty;
}
.works__kb-wrap { position: relative; margin-top: 64px; }
.works__kb-glow {
  position: absolute;
  left: 50%; top: 44%;
  transform: translate(-50%,-50%);
  width: 720px; height: 400px;
  max-width: 96%;
  background: radial-gradient(ellipse at center, rgba(240,120,152,0.18), rgba(240,120,152,0) 70%);
  pointer-events: none;
}
.works__tagline {
  text-align: center;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 60px 0 0;
  color: rgba(255,255,255,0.55);
}

/* ==========================================================================
   KEYBOARD
   ========================================================================== */
.kbd__perspective { perspective: 1700px; perspective-origin: center 30%; }
.kbd__float { animation: kbFloat 7s ease-in-out infinite; transform-style: preserve-3d; }
.kbd {
  transform: rotateX(38deg);
  transform-style: preserve-3d;
  max-width: 780px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(180deg, #18181B, #0C0C0E);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 60px 120px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.kbd__row { display: flex; gap: 9px; justify-content: center; }
.kbd__key {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 11px;
  background: linear-gradient(180deg, #2B2B30, #1E1E22);
  box-shadow: 0 3px 0 #121214, 0 5px 9px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  color: rgba(220,226,242,0.26);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
}
.kbd__key--enter {
  width: 88px;
  color: rgba(220,226,242,0.3);
  font-family: var(--font-sans);
  font-size: 18px;
}
.kbd__app {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 0 rgba(0,0,0,0.4), 0 8px 18px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform .22s ease, box-shadow .22s ease;
}
.kbd__app:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 30px rgba(240,120,152,0.55);
}
.kbd__lyra {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(249,176,198,0.16) 0%, rgba(240,120,154,0.12) 52%, rgba(232,92,134,0.16) 100%);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(5px) saturate(1.3);
  -webkit-backdrop-filter: blur(5px) saturate(1.3);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  gap: 9px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.30), inset 0 0 18px rgba(255,184,206,0.10);
  animation: lyraBreath 3.4s ease-in-out infinite;
}
.kbd__lyra-star {
  display: inline-block;
  animation: lyraTwinkle 2.2s ease-in-out infinite;
}

/* ==========================================================================
   3. ADAPTIVE
   ========================================================================== */
.adaptive {
  position: relative;
  z-index: 5;
  padding: 92px 24px 168px;
  background:
    radial-gradient(58% 52% at 52% 104%, rgba(240,120,152,0.07) 0%, transparent 66%),
    radial-gradient(135% 95% at 50% -6%, #101013 0%, #070708 52%, #000 100%);
  font-family: var(--font-sans);
}
.adaptive__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-h2 {
  margin: 0;
  font-size: clamp(40px, 8vw, 6.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: #fff;
}
.adaptive__body {
  margin: 32px 0 0;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.62;
  color: rgba(255,255,255,0.6);
  max-width: 60ch;
  text-wrap: pretty;
}
.adaptive .btn--primary { margin-top: 48px; padding: 15px 28px; }

/* ==========================================================================
   4. AMBIENT REWRITE
   ========================================================================== */
.ambient {
  position: relative;
  z-index: 7;
  margin-top: -38px;
  padding: 116px 24px 80px;
  border-radius: 48px 48px 0 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(240,120,152,0.06) 0%, transparent 56%),
    linear-gradient(180deg, #101015 0%, #0a0a0d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 -26px 50px rgba(0,0,0,0.5);
  font-family: var(--font-sans);
}
.ambient__inner { max-width: 980px; margin: 0 auto; }
.tabs {
  display: flex;
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.13);
}
.tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 6px 18px;
  margin-bottom: -1px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,0.45);
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color .22s ease, border-color .22s ease;
}
.tab svg { flex: none; }
.tab:hover { color: rgba(255,255,255,0.7); }
.tab.is-active { color: #fff; border-bottom-color: #fff; }

.ambient__stage {
  position: relative;
  margin: 56px auto 0;
  max-width: 720px;
  height: 540px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(56% 78% at 16% 24%, rgba(240,120,152,0.32), transparent 62%),
    radial-gradient(54% 72% at 86% 80%, rgba(232,92,134,0.24), transparent 60%),
    radial-gradient(64% 62% at 62% 10%, rgba(150,96,168,0.26), transparent 70%),
    linear-gradient(135deg, #17121b 0%, #0a0809 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Compose card shell (shared by all 4 apps) */
.card {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  width: 88%;
  max-width: 600px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 34px 70px rgba(0,0,0,0.45), 0 6px 16px rgba(0,0,0,0.25);
  overflow: hidden;
  transition: opacity .45s ease;
}
.card--wide { width: 90%; max-width: 640px; }
.card.is-hidden { opacity: 0; pointer-events: none; }
.card__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 22px;
  background: #f4f4f5;
  border-bottom: 1px solid #eaeaea;
}
.card__head svg { flex: none; }
.card__app-name {
  font-size: 19px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.card__body {
  padding: 52px 22px 0;
  min-height: 122px;
}
.card__line {
  position: relative;
  font-size: 18px;
  line-height: 1.5;
  color: #1a1a1a;
}
.card__caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: #1a1a1a;
  margin-left: 1px;
  vertical-align: -0.16em;
  border-radius: 1px;
}
.card__toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px 18px;
  color: #9b9b9b;
}
.card__field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px 14px;
}
.card__field--bordered {
  padding: 14px 24px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.card__field-label { font-size: 15px; color: #8a8a8a; width: 56px; }
.card__field-value { font-size: 17px; font-weight: 600; color: #1a1a1a; }
.card__greeting { font-size: 18px; line-height: 1.55; color: #1a1a1a; }
.card__line--mail { position: relative; font-size: 18px; line-height: 1.55; color: #1a1a1a; margin-top: 6px; }
.card__body--mail { padding: 22px 24px 0; min-height: 120px; }
.card__toolbar--mail { padding: 18px 24px 20px; }
.card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

/* Suggestion pill inside a card */
.suggest {
  position: absolute;
  left: -2px; top: -52px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px 9px 15px;
  border-radius: 14px;
  background: linear-gradient(#1c1c20,#1c1c20) padding-box, linear-gradient(135deg,#F9B0C6,#E85C86 50%,#F078A0) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 18px rgba(240,120,152,0.26);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1);
  z-index: 6;
}
.suggest--mail { top: -50px; }
.suggest svg { flex: none; }
.suggest__text { font-size: 15px; font-weight: 500; color: #fff; }
.tabkey--sm {
  font-size: 13px;
  border-radius: 7px;
  padding: 4px 11px;
}

/* ==========================================================================
   5. PRICING
   ========================================================================== */
.pricing {
  position: relative;
  z-index: 5;
  padding: 88px 24px 160px;
  background:
    radial-gradient(60% 50% at 50% 108%, rgba(240,120,152,0.06) 0%, transparent 64%),
    radial-gradient(130% 90% at 50% -4%, #0c0c0f 0%, #060607 50%, #000 100%);
  font-family: var(--font-sans);
}
.pricing__inner { max-width: 1080px; margin: 0 auto; }
.pricing__head { text-align: center; }
.pricing__head h2 { white-space: nowrap; }
.pricing__sub {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  text-wrap: pretty;
}
.pricing__toggle-wrap { display: flex; justify-content: center; margin: 46px 0 52px; }
.pricing__toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 6px;
  gap: 4px;
}
.pricing__toggle-btn {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: none;
  padding: 10px 24px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s ease, color .2s ease;
}
.pricing__toggle-btn.is-active { background: rgba(255,255,255,0.1); color: #fff; }
.pricing__badge {
  background: #F4C752;
  color: #000;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tile {
  border-radius: 24px;
  padding: 48px 40px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
}
.tile--free {
  background: #0A0A0B;
  border: 1px solid rgba(255,255,255,0.06);
}
.tile--pro {
  position: relative;
  background: #F3F0E9;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.28);
}
.tile__name {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.tile--free .tile__name { color: #fff; }
.tile--pro .tile__name { color: #17151B; }
.tile__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.tile__price-currency {
  font-size: 24px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 18px;
}
.tile__price-whole {
  font-size: 88px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.tile__price-decimal {
  font-size: 32px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 12px;
}
.tile--free .tile__price-currency,
.tile--free .tile__price-whole { color: #fff; }
.tile--pro .tile__price-currency,
.tile--pro .tile__price-whole,
.tile--pro .tile__price-decimal { color: #17151B; }
.tile__price-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.tile__price-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
}
.tile__price-per { color: rgba(0,0,0,0.55); font-size: 14px; }
.tile__price-note { color: rgba(0,0,0,0.45); font-size: 12px; opacity: 0; transition: opacity .2s ease; }
.tile__desc { font-size: 16px; margin: 0 0 28px; }
.tile--free .tile__desc { color: rgba(255,255,255,0.55); }
.tile--pro .tile__desc { color: rgba(0,0,0,0.6); }
.tile__rule { height: 1px; margin-bottom: 28px; }
.tile--free .tile__rule { background: rgba(255,255,255,0.08); }
.tile--pro .tile__rule { background: rgba(0,0,0,0.1); }
.tile__features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.tile__feature {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tile__feature svg { flex: none; }
.tile--free .tile__feature { color: rgba(255,255,255,0.85); }
.tile--pro .tile__feature { color: rgba(0,0,0,0.82); }
.tile__feature--head {
  font-weight: 500;
  color: #17151B !important;
  margin-bottom: -6px;
}
.tile__cta {
  padding: 16px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.tile__cta--free {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.tile__cta--free:hover { background: rgba(255,255,255,0.14); }
.tile__cta--pro {
  background: #17151B;
  color: #fff;
  border: none;
  font-weight: 600;
}
.tile__cta--pro:hover { transform: translateY(-2px); }
.tile__fineprint {
  font-size: 13px;
  text-align: center;
  margin: 16px 0 0;
}
.tile--free .tile__fineprint { color: rgba(255,255,255,0.4); }
.tile--pro .tile__fineprint { color: rgba(0,0,0,0.5); }

/* ==========================================================================
   5B. PERFORMANCE
   ========================================================================== */
.perf {
  position: relative;
  z-index: 5;
  padding: 96px 24px 110px;
  background: linear-gradient(180deg, #000 0%, #060607 55%, #000 100%);
  font-family: var(--font-sans);
}
.perf__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.perf__head { text-align: center; margin-bottom: 60px; }
.perf__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 13px;
  border-radius: 100px;
  background: rgba(240,120,152,0.1);
  border: 1px solid rgba(240,120,152,0.22);
  color: #F9B0C6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.perf__sub {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  text-wrap: pretty;
}

.perf__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.perf__card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 28px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.perf__card:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.045);
  transform: translateY(-3px);
}
.perf__card-icon {
  display: inline-flex;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}
.perf__card-value {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.perf__card-label {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.perf__card-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
  text-wrap: pretty;
}

.perf__matrix {
  margin-top: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  overflow: hidden;
}
.perf__matrix-head,
.perf__row {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1fr 0.8fr;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
}
.perf__matrix-head {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.perf__row { border-bottom: 1px solid rgba(255,255,255,0.05); }
.perf__row:last-child { border-bottom: none; }
.perf__row-ram { font-size: 16px; font-weight: 600; color: #fff; }
.perf__row-model {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #F9B0C6;
}
.perf__row-quant,
.perf__row-size {
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.perf__note {
  margin: 26px auto 0;
  max-width: 620px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.42);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .perf__stats { grid-template-columns: repeat(2, 1fr); }
  .perf__card-icon { margin-bottom: 26px; }
}
@media (max-width: 620px) {
  .perf__stats { grid-template-columns: 1fr; }
  .perf__matrix-head { display: none; }
  .perf__row {
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
    padding: 18px 20px;
  }
  .perf__row-ram { grid-column: 1 / -1; }
  .perf__row-quant { text-align: right; }
  .perf__row-size { text-align: right; }
}

/* ==========================================================================
   6. FAQ
   ========================================================================== */
.faq {
  position: relative;
  z-index: 6;
  padding: 96px 24px 150px;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(240,120,152,0.05) 0%, transparent 60%),
    linear-gradient(180deg, #000 0%, #060607 40%, #08080b 100%);
  font-family: var(--font-sans);
}
.faq__inner {
  max-width: 820px;
  margin: 0 auto;
}
.faq__head { text-align: center; margin-bottom: 56px; }
.faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 13px;
  border-radius: 100px;
  background: rgba(240,120,152,0.1);
  border: 1px solid rgba(240,120,152,0.22);
  color: #F9B0C6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.faq__sub {
  margin: 22px auto 0;
  max-width: 520px;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  text-wrap: pretty;
}
.faq__sub a { color: #F9B0C6; text-decoration: none; border-bottom: 1px solid rgba(249,176,198,0.35); transition: border-color .2s ease; }
.faq__sub a:hover { border-color: #F9B0C6; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__item {
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: border-color .3s ease, background .3s ease;
}
.faq__item:hover { border-color: rgba(255,255,255,0.14); }
.faq__item.is-open {
  background: rgba(255,255,255,0.045);
  border-color: rgba(240,120,152,0.3);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.01em;
  transition: color .2s ease;
}
.faq__q:hover { color: #F9B0C6; }
.faq__icon {
  flex: none;
  color: rgba(255,255,255,0.45);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), color .2s ease;
}
.faq__item.is-open .faq__icon {
  transform: rotate(135deg);
  color: #F078A0;
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s cubic-bezier(.3,.8,.3,1);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 26px;
  font-size: clamp(15px, 1.7vw, 16.5px);
  line-height: 1.68;
  color: rgba(255,255,255,0.6);
  text-wrap: pretty;
  opacity: 0;
  transition: opacity .3s ease, padding .38s cubic-bezier(.3,.8,.3,1);
}
.faq__item.is-open .faq__a > p {
  opacity: 1;
  padding: 2px 26px 24px;
}
.faq__a a {
  color: #F9B0C6;
  text-decoration: none;
  border-bottom: 1px solid rgba(249,176,198,0.35);
  transition: border-color .2s ease;
}
.faq__a a:hover { border-color: #F9B0C6; }
.faq__a code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.82);
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.footer {
  position: relative;
  z-index: 8;
  margin-top: -38px;
  padding: 104px 40px 40px;
  border-radius: 48px 48px 0 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(240,120,152,0.07) 0%, transparent 56%),
    linear-gradient(180deg, #101015 0%, #0a0a0d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 -26px 50px rgba(0,0,0,0.5);
  font-family: var(--font-sans);
}
.footer__inner { max-width: 1280px; margin: 0 auto; }
.footer__brand {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  margin-bottom: clamp(36px, 7vw, 96px);
}
.footer__star {
  flex: none;
  width: clamp(120px, 22vw, 300px);
  height: auto;
  overflow: visible;
  animation: lyraStarGlow 3.6s ease-in-out infinite;
}
.footer__star path {
  transform-box: fill-box;
  transform-origin: center;
  animation: lyraStarAI 9s cubic-bezier(.45,0,.55,1) infinite;
}
.footer__wordmark {
  font-size: clamp(110px, 30vw, 420px);
  line-height: 0.78;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: #fff;
}
.footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__legal {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__star-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(240,120,152,0.16);
  border: 1px solid rgba(255,255,255,0.1);
  flex: none;
}
.footer__star-badge svg { animation: lyraTwinkle 2.6s ease-in-out infinite; }
.footer__copy { color: rgba(255,255,255,0.5); font-size: 15px; font-weight: 500; }
.footer__link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease;
}
.footer__link:hover { color: #fff; }
.footer__social { display: flex; align-items: center; gap: 12px; }
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .2s ease;
}
.footer__social-link:hover { background: rgba(255,255,255,0.14); }

/* ==========================================================================
   RESPONSIVE — preserve the original design & animation at every width.
   The hero keeps the export's transform:scale() fit (driven by app.js),
   so the wave, character, badge and headline shrink proportionally and
   stay intact. We only reflow the genuinely-fluid sections and clip stray
   horizontal overflow from the fixed-width hero stage.
   ========================================================================== */
html, body { overflow-x: hidden; }

@media (max-width: 900px) {
  /* Keyboard: keep it fully visible & animated, just scale it to fit. */
  .works { padding: 96px 18px 56px; }
  .kbd { transform: rotateX(38deg) scale(0.78); transform-origin: top center; }

  /* Pricing: single column */
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__head h2 { white-space: normal; }
  .tile { min-height: 0; padding: 40px 30px; }

  /* Ambient: tabs may need horizontal room */
  .ambient { padding: 96px 16px 64px; }
  .tab { font-size: 15px; gap: 7px; }
}

@media (max-width: 600px) {
  .kbd { transform: rotateX(38deg) scale(0.58); transform-origin: top center; }
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ambient__stage { height: 500px; }
  .footer { padding: 72px 22px 32px; }
  .faq { padding: 72px 18px 96px; }
  .faq__q { padding: 20px 20px; }
  .faq__a > p { padding: 0 20px; }
  .faq__item.is-open .faq__a > p { padding: 2px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge, .hero__badge-sheen, .hero__badge-star,
  .kbd__float, .kbd__lyra, .kbd__lyra-star,
  .footer__star, .footer__star path, .footer__star-badge svg,
  .caret { animation: none !important; }
}

/* ==========================================================================
   FLOATING PILL NAV — centered, fixed, sticks on scroll (all pages)
   ========================================================================== */
.topnav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  width: calc(100vw - 48px);
  max-width: 1120px;
}
.topnav__pill {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  background: rgba(18,18,22,0.72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 10px 34px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.topnav__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-right: auto;
}
.topnav__brand-name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.topnav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.topnav__link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 9px 17px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.topnav__link:hover { color: #fff; }
.topnav__link.is-active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.topnav__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 3px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.topnav__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,255,255,0.22); }
.topnav__btn svg { display: block; }

@media (max-width: 760px) {
  .topnav__links { display: none; }
}
@media (max-width: 560px) {
  .topnav { top: 12px; width: calc(100vw - 24px); }
  .topnav__pill { gap: 2px; padding: 6px 6px 6px 14px; }
  .topnav__brand-name { font-size: 16px; }
  .topnav__link { padding: 8px 12px; font-size: 13.5px; }
  .topnav__btn { padding: 8px 14px; font-size: 13.5px; gap: 6px; }
}

/* ==========================================================================
   LEGAL / POLICY PAGES (privacy, terms, data-controls)
   Narrow reading column. No marketing decoration.
   ========================================================================== */
.legal {
  position: relative;
  z-index: 8;
  max-width: 720px;
  margin: 0 auto;
  padding: 110px 24px 120px;
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.legal h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 10px;
}
.legal .legal-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  margin: 0 0 8px;
}
.legal section { margin-top: 40px; }
.legal h2 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 12px;
}
.legal h3 {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin: 22px 0 8px;
}
.legal p { margin: 0 0 16px; font-size: 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 8px; font-size: 16px; }
.legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal a {
  color: #F9B0C6;
  text-decoration: none;
  border-bottom: 1px solid rgba(249,176,198,0.3);
}
.legal a:hover { border-bottom-color: rgba(249,176,198,0.7); }
.legal strong { color: #fff; font-weight: 600; }
.legal code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  padding: 1px 6px;
  color: rgba(255,255,255,0.85);
  word-break: break-word;
}
.legal pre {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  margin: 0 0 16px;
}
.legal pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre;
  word-break: normal;
  color: rgba(255,255,255,0.82);
}

@media (max-width: 600px) {
  .legal { padding: 84px 22px 90px; }
  .legal h1 { font-size: 30px; }
  .legal h2 { font-size: 20px; }
}

/* ========================================================================== */
/* DEMO VIDEO LIGHTBOX                                                        */
/* ========================================================================== */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.demo-modal[hidden] { display: none; }
.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.demo-modal__panel {
  position: relative;
  width: min(960px, 100%);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6);
  animation: demoModalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes demoModalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.demo-modal__video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
}
.demo-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.demo-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
@media (max-width: 600px) {
  .demo-modal { padding: 14px; }
}
