/* ---------------------------------------------------------------------------
   Lazer — a restrained, monochrome marketing site. Paper white, fog grey and
   ink; #c9c9c9 is the one theme colour and only marks controls that need
   emphasis. The OC illustration provides the only saturated surface.
   --------------------------------------------------------------------------- */

:root {
  color-scheme: light;

  --paper: #f6f6f4;
  --paper-2: #efefed;
  --paper-3: #fbfbfa;
  --ink: #1d1d1f;
  --ink-2: #5d5d60;
  --ink-3: #6c6c6f;
  --line: rgba(20, 20, 20, 0.1);
  --line-strong: rgba(20, 20, 20, 0.2);

  --accent: #c9c9c9;
  --accent-strong: #b7b7b7;
  --accent-ink: #1b1b1d;
  --accent-soft: rgba(201, 201, 201, 0.3);

  /* Legacy role aliases kept for the existing component rules. */
  --lake: #b3b3b6;
  --lake-soft: rgba(201, 201, 201, 0.26);
  --deep: #3f3f42;
  --deep-2: #2f2f32;
  --on-deep: #ffffff;
  --clay: #b9b9bb;
  --clay-soft: rgba(185, 185, 187, 0.14);
  --red: #7a7a7d;
  --on-red: #ffffff;

  --glass: rgba(251, 251, 250, 0.72);
  --glass-strong: rgba(251, 251, 250, 0.92);
  --shadow: 0 30px 80px -42px rgba(20, 20, 20, 0.28);
  --shadow-sm: 0 12px 30px -20px rgba(20, 20, 20, 0.18);

  --radius: 20px;
  --radius-lg: 28px;

  --font-sans: MiSans, "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei",
    system-ui, sans-serif;
  --font-mono: MiSans, Consolas, "Courier New", monospace;

  --page: 1240px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --section: clamp(72px, 9vw, 128px);
}

html[data-theme="dark"] {
  color-scheme: dark;

  --paper: #151515;
  --paper-2: #1d1d1d;
  --paper-3: #1a1a1a;
  --ink: #e9e9e9;
  --ink-2: #b3b3b3;
  --ink-3: #8d8d8d;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);

  --accent: #c9c9c9;
  --accent-strong: #dedede;
  --accent-ink: #1a1a1a;
  --accent-soft: rgba(201, 201, 201, 0.16);

  --lake: #c9c9c9;
  --lake-soft: rgba(201, 201, 201, 0.16);
  --deep: #d6d6d6;
  --deep-2: #e8e8e8;
  --on-deep: #1a1a1a;
  --clay: #bdbdbd;
  --clay-soft: rgba(189, 189, 189, 0.12);
  --red: #c9c9c9;
  --on-red: #1a1a1a;

  --glass: rgba(26, 26, 26, 0.72);
  --glass-strong: rgba(26, 26, 26, 0.92);
  --shadow: 0 30px 80px -42px rgba(0, 0, 0, 0.8);
  --shadow-sm: 0 12px 30px -20px rgba(0, 0, 0, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   Utilities
   --------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section + .section {
  padding-block-start: 0;
}

.section__head {
  display: grid;
  gap: 14px;
  max-width: 64ch;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-3);
  color: var(--ink);
  font-size: 13px;
  transition: top 0.16s ease;
}
.skip:focus {
  top: 12px;
}

.caption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-3);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.muted {
  color: var(--ink-2);
}

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deep);
}

.h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.lede {
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 44em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper-3) 68%, transparent);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
}

.live-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--ink-2);
  box-shadow: 0 0 0 4px var(--line);
  animation: pulse 2.8s ease-in-out infinite;
}

.chip,
.micro-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper-2) 70%, transparent);
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ---------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn--primary {
  border-color: var(--line-strong);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -20px rgba(20, 20, 20, 0.5);
}
.btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--paper-3) 62%, transparent);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--paper-2);
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------------------
   Navigation
   --------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand__icon {
  display: block;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.brand__word {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.nav__links a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  height: 36px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 15px) 15px, calc(100% - 10px) 15px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.lang option {
  color: #141413;
  background: #fff;
}

.iconbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.16s ease;
}
.iconbtn:hover {
  background: var(--paper-2);
}
.iconbtn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.nav__cta {
  min-height: 38px;
  padding: 0 18px;
  font-size: 13px;
}

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 84px);
  padding-bottom: clamp(36px, 6vw, 84px);
}

.hero__bg {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 20s ease-in-out infinite alternate;
}
.blob--lake {
  width: 52vw;
  height: 52vw;
  left: -10%;
  top: -12%;
  background: radial-gradient(circle, rgba(201, 201, 201, 0.5), transparent 65%);
}
.blob--ice {
  width: 44vw;
  height: 44vw;
  right: -8%;
  top: 4%;
  background: radial-gradient(circle, rgba(240, 240, 238, 0.9), transparent 62%);
  animation-delay: -7s;
}
.blob--clay {
  width: 36vw;
  height: 36vw;
  right: 18%;
  bottom: -28%;
  background: radial-gradient(circle, rgba(180, 180, 178, 0.22), transparent 66%);
  animation-delay: -13s;
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), transparent 72%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.32),
    transparent 72%
  );
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(20px, 3vw, 44px);
}

.hero__copy {
  display: grid;
  gap: 22px;
  max-width: 650px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.meta li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper-3) 56%, transparent);
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__ticker {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(18px, 3vw, 34px);
  padding-block: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.hero__ticker i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* --- stage ---------------------------------------------------------------- */

.stage {
  position: relative;
  min-height: clamp(460px, 52vw, 640px);
  isolation: isolate;
}

/* .stage__frame {
  position: absolute;
  inset: 0 0 0 6%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(
      80% 70% at 72% 16%,
      rgba(255, 255, 255, 0.9),
      transparent 62%
    ),
    linear-gradient(155deg, #ececeb, var(--paper-3));
  box-shadow: var(--shadow);
} */

html[data-theme="dark"] .stage__frame {
  background: radial-gradient(
      80% 70% at 72% 16%,
      rgba(255, 255, 255, 0.07),
      transparent 62%
    ),
    linear-gradient(155deg, #1c1c1c, #111111);
}

.stage__mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 25% 30%,
      rgba(255, 255, 255, 0.55),
      transparent 38%
    ),
    radial-gradient(
      circle at 78% 72%,
      rgba(255, 255, 255, 0.35),
      transparent 42%
    );
  opacity: 0.7;
}

html[data-theme="dark"] .stage__mesh {
  opacity: 0.25;
}

.stage__ring {
  position: absolute;
  left: 16%;
  top: 15%;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.07),
    inset 0 0 90px rgba(255, 255, 255, 0.24);
}

html[data-theme="dark"] .stage__ring {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.05),
    inset 0 0 90px rgba(255, 255, 255, 0.08);
}

.stage__character {
  position: absolute;
  left: 50%;
  bottom: -2%;
  height: 104%;
  width: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 50px rgba(27, 42, 48, 0.2));
  user-select: none;
}

.stage__note {
  position: absolute;
  color: var(--lake);
  font-size: 26px;
  opacity: 0.65;
  animation: float-note 7s ease-in-out infinite;
}
.stage__note--a {
  top: 15%;
  right: 12%;
}
.stage__note--b {
  left: 10%;
  bottom: 24%;
  animation-delay: -3.4s;
}

/* --- floating client cards ------------------------------------------------ */

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px) saturate(1.1);
}

html[data-theme="dark"] .float {
  border-color: var(--line);
}

.float--now {
  top: 9%;
  left: -2%;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  grid-template-rows: auto auto;
  gap: 3px 10px;
  min-width: 250px;
}

.float__art {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}
.float__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float__meta {
  display: grid;
  gap: 1px;
}
.float__meta strong {
  font-size: 13px;
  line-height: 1.2;
}
.float__meta small {
  color: var(--ink-3);
  font-size: 10px;
}

.float__progress {
  grid-column: 1 / -1;
  height: 3px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}
.float__progress i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 99px;
  background: var(--ink);
}

.float--lyric {
  right: -3%;
  bottom: 25%;
  display: grid;
  gap: 6px;
  min-width: 230px;
}
.float--lyric .lyric-line {
  font-size: 16px;
}

.float--badge {
  left: 2%;
  bottom: 7%;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.float--badge small {
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
}
.badge-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--lake-soft);
  color: var(--deep);
  font-size: 15px;
  font-weight: 700;
}

/* --- lyric typography shared by mockups ----------------------------------- */

.lyric-line {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.lyric-line--dim {
  color: var(--ink-3);
  font-weight: 500;
  opacity: 0.55;
}
.lyric-line--blur {
  opacity: 0.38;
  filter: blur(0.6px);
}
.lyric-line--bright {
  font-size: 20px;
  font-weight: 700;
}
.lyric-line .on {
  color: inherit;
  background: var(--accent-soft);
  border-radius: 5px;
  padding: 0 3px;
  margin: 0 -1px;
}

/* ---------------------------------------------------------------------------
   Features
   --------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-column: span 4;
  padding: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-3);
  transition: border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: none;
  transform: none;
}

/* 12-column bento, four cards: lyrics 7 + cache 5 fills the first row,
   system 4 + feel 4 + language 4 the second. */
.card--lyrics {
  grid-column: span 7;
}
.card--cache {
  grid-column: span 5;
}
.card--system,
.card--feel,
.card--language {
  grid-column: span 4;
}

.card > p {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--ink-2);
}
.icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ticks {
  display: grid;
  gap: 6px;
  list-style: none;
  margin-top: 2px;
}
.ticks li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* lyric demo */

.lyric-demo {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding: 16px;
  border-radius: 16px;
  background: #121212;
  color: #eeeeee;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.lyric-demo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.lyric-demo .micro-chip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #d0d0d0;
}
.lyric-demo__time {
  color: #8a8a8a;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.lyric-demo .lyric-line {
  color: #f3f8f9;
  font-size: 13px;
}
.lyric-demo .lyric-line--dim {
  color: #9a9a9a;
}
.lyric-demo .lyric-line--bright {
  font-size: 17px;
}
.lyric-demo .lyric-line .on {
  color: inherit;
}

.wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
  margin-top: 6px;
  opacity: 0.6;
}
.wave i {
  flex: 1;
  height: 30%;
  border-radius: 2px;
  background: linear-gradient(to top, #8f8f8f, #dedede);
  animation: wave 1.8s ease-in-out infinite;
}
.wave i:nth-child(3n) {
  animation-delay: -0.4s;
}
.wave i:nth-child(4n) {
  animation-delay: -0.8s;
}
.wave i:nth-child(5n) {
  animation-delay: -1.2s;
}

/* cache meter */

.meter-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.meter {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--accent-strong) 0 72%, var(--line) 72% 100%);
}
.meter i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper-3);
}
.meter-demo > span:last-child {
  display: grid;
  gap: 1px;
}
.meter-demo strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.meter-demo small {
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 0.06em;
}

/* platform chips */

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}
.platform-chips span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* sliders */

.slider-demo {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding: 14px 0 4px;
}
.slider-demo span {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
}
.slider-demo i {
  position: relative;
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 99px;
  background: var(--accent-strong);
}
.slider-demo i::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 2px solid var(--accent-strong);
  transform: translateY(-50%);
}

/* language card */

/* The card is a quarter of the bento now, so its body stacks instead of
   sitting on a wide row. */
.card--language__body {
  display: grid;
  align-content: start;
  gap: 12px;
  margin-top: auto;
}
.card--language__body > div:first-child {
  display: grid;
  gap: 8px;
  max-width: none;
}
.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lang-pills span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 11px;
}
.lang-pills span.is-on {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   Download
   --------------------------------------------------------------------------- */

.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-3);
  transition: border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}
.download-card:hover {
  border-color: var(--line-strong);
  box-shadow: none;
  transform: none;
}
.download-card--wide {
  grid-column: 1 / -1;
}

.platform {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--lake-soft);
  color: var(--deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.download-card__meta {
  flex: 1;
  min-width: 0;
}
.download-card__file {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.download-card__meta p:last-child {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}
.download-card__arrow {
  color: var(--ink-3);
  font-size: 18px;
}

.download__actions {
  margin-top: 28px;
}
.download__note {
  margin-top: 14px;
}

/* ---------------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-3);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: var(--ink-2);
  transition: transform 0.2s ease;
}
.faq__plus::before {
  left: 2px;
  right: 2px;
  top: 7px;
  height: 2px;
}
.faq__plus::after {
  top: 2px;
  bottom: 2px;
  left: 7px;
  width: 2px;
}
.faq__item[open] .faq__plus::after {
  transform: scaleY(0);
}

.faq__body {
  max-width: 72ch;
  padding: 0 20px 18px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */

.footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 112px);
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #111111;
  color: #e9e9e9;
}

.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  padding-right: clamp(0px, 16vw, 240px);
}

.footer__brand {
  max-width: 320px;
}
.footer__brand .brand__word {
  color: #ffffff;
  font-size: 26px;
}
.footer__tag {
  margin: 10px 0 18px;
  color: #a8a8a8;
  font-size: 14px;
  line-height: 1.6;
}
.footer .caption {
  margin-top: 6px;
  color: #808080;
  font-size: 11px;
}

.footer h4 {
  margin: 4px 0 12px;
  color: #8f8f8f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
}
.footer a {
  color: #c9c9c9;
  font-size: 13px;
  transition: color 0.16s ease;
}
.footer a:hover {
  color: #ffffff;
}

.footer__mascot {
  position: absolute;
  right: max(2%, calc((100vw - var(--page)) / 2));
  bottom: -8%;
  z-index: 0;
  width: auto;
  height: clamp(220px, 30vw, 380px);
  opacity: 0.94;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  mask-image: linear-gradient(to top, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(to top, #000 72%, transparent);
}

/* ---------------------------------------------------------------------------
   Reveal + motion
   --------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1),
    transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes float-note {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-14px) rotate(6deg);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(3vw, 2vw, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    gap: 36px;
  }
  .float--now {
    left: 0;
  }
  .float--lyric {
    right: 0;
  }
}

@media (max-width: 960px) {
  .nav__links {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    padding-right: 180px;
  }
  .footer__grid > div:last-child {
    display: none;
  }
}

@media (max-width: 820px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero__copy {
    max-width: none;
  }
  .stage {
    min-height: clamp(420px, 78vw, 560px);
  }
  .stage__frame {
    inset: 0;
  }
  .float--now {
    top: 6%;
    left: 2%;
  }
  .float--lyric {
    right: 2%;
    bottom: 20%;
  }
  .float--badge {
    display: none;
  }
  .bento {
    gap: 12px;
  }
  .card--lyrics,
  .card--cache {
    grid-column: span 12;
  }
  .card--system,
  .card--feel {
    grid-column: span 6;
  }
  .card--language {
    grid-column: span 12;
  }
  .downloads {
    grid-template-columns: 1fr;
  }
  .download-card--wide {
    grid-column: auto;
  }
  .footer__grid {
    grid-template-columns: 1.4fr 1fr;
    padding-right: 140px;
  }
  .footer__grid > div:nth-child(3) {
    display: none;
  }
  .footer__mascot {
    height: 240px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .nav__inner {
    gap: 10px;
    min-height: 60px;
  }
  .iconbtn span {
    display: none;
  }
  .iconbtn {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
  .nav__cta {
    display: none;
  }
  .hero__ticker {
    gap: 10px;
    font-size: 9px;
  }
  .h1 {
    font-size: clamp(38px, 11vw, 52px);
  }
  .card--lyrics,
  .card--cache,
  .card--system,
  .card--feel,
  .card--language {
    grid-column: span 12;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-right: 0;
  }
  .footer__grid > div:nth-child(3) {
    display: block;
  }
  .footer__grid > div:last-child {
    display: block;
  }
  .footer__mascot {
    display: none;
  }
  .float--lyric {
    display: none;
  }
  .float--now {
    min-width: 0;
    padding: 10px 12px;
  }
  .float--now .float__art {
    width: 38px;
    height: 38px;
  }
  .stage {
    min-height: 440px;
  }
}

@media (max-width: 420px) {
  .lang {
    height: 32px;
    padding: 0 24px 0 8px;
    font-size: 11px;
    background-position: calc(100% - 13px) 13px, calc(100% - 8px) 13px;
  }
  .float--now {
    top: 4%;
  }
  .card {
    padding: 18px;
  }
  .download-card {
    padding: 14px;
    gap: 12px;
  }
  .platform {
    width: 44px;
    height: 44px;
  }
}