:root {
  color-scheme: dark;
  --bg0: #070707;
  --bg1: #0d0b0a;
  --bg2: #16100d;
  --panel: rgba(39, 24, 20, 0.72);
  --panel-soft: rgba(249, 187, 163, 0.055);
  --line: rgba(249, 187, 163, 0.18);
  --line-strong: rgba(249, 187, 163, 0.34);
  --text: #f8eee8;
  --muted: #c9aa9c;
  --dim: #8f7066;
  --peach: #f9bba3;
  --copper: #dd7b65;
  --gold: #f2d48a;
  --burnt: #873f1e;
  --green: #49c6a4;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --background-parallax-y: 0px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg0);
  color: var(--text);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  margin: 0;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 8%, rgba(221, 123, 101, 0.18), transparent 30rem),
    radial-gradient(circle at 82% 12%, rgba(242, 212, 138, 0.12), transparent 28rem),
    linear-gradient(145deg, #050505 0%, #120d0b 48%, #080707 100%);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
}

body::before {
  inset: -9vh -5vw;
  z-index: -2;
  opacity: 0.5;
  background-image: url("../img/ornamental-string-background.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  mix-blend-mode: screen;
  transform: translate3d(0, var(--background-parallax-y), 0) scale(1.055);
  transform-origin: center;
  will-change: transform;
}

body::after {
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 44%, transparent 22%, rgba(4, 3, 3, 0.16) 72%, rgba(4, 3, 3, 0.46) 100%),
    linear-gradient(180deg, rgba(242, 212, 138, 0.025), transparent 32%, rgba(221, 123, 101, 0.02) 72%, transparent);
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
a { color: inherit; }
code { color: var(--gold); font-size: 0.94em; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow { width: min(820px, calc(100% - 40px)); }

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  transform: translateY(-160%);
  background: var(--peach);
  color: #1a100d;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  z-index: 20;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 7, 7, 0.68);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.scrolled {
  background: rgba(7, 7, 7, 0.9);
  border-bottom-color: rgba(249, 187, 163, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(249, 187, 163, 0.18));
}
.brand strong {
  display: block;
  font-size: 1.16rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.94rem;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--peach);
  background: rgba(249, 187, 163, 0.06);
  border-color: rgba(249, 187, 163, 0.14);
}
.site-nav .nav-cta {
  margin-left: 6px;
  color: #1b100d;
  background: linear-gradient(135deg, #f9bba3, #f2d48a);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 32px rgba(221, 123, 101, 0.22);
}
.site-nav .nav-cta:hover {
  color: #1b100d;
  transform: translateY(-1px);
  background: linear-gradient(135deg, #ffd6c6, #ffe2a3);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(249, 187, 163, 0.16);
  background: rgba(30, 19, 16, 0.82);
  color: var(--peach);
  padding: 0;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.ornate-bg {
  --ornate-fade-depth: clamp(150px, 18vw, 260px);
  --ornate-fade-offset: clamp(-260px, -18vw, -150px);
  position: relative;
  isolation: isolate;
  overflow: visible;
  z-index: 0;
}
.ornate-bg > * {
  position: relative;
  z-index: 1;
}
.ornate-bg::before,
.ornate-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--ornate-fade-offset);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - var(--ornate-fade-depth)),
    rgba(0, 0, 0, 0.82) calc(100% - 110px),
    rgba(0, 0, 0, 0.34) calc(100% - 45px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - var(--ornate-fade-depth)),
    rgba(0, 0, 0, 0.82) calc(100% - 110px),
    rgba(0, 0, 0, 0.34) calc(100% - 45px),
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.ornate-bg::before {
  top: -20%;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 30%, rgba(221, 123, 101, 0.22), transparent 28rem),
    radial-gradient(circle at 78% 16%, rgba(242, 212, 138, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(23, 15, 12, 0.9), rgba(7, 7, 7, 0.5));
}
.ornate-bg::after {
  top: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(242, 212, 138, 0.025), transparent 38%, rgba(221, 123, 101, 0.035));
}

.hero-section { padding: clamp(64px, 9vw, 126px) 0 clamp(44px, 7vw, 90px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(34px, 7vw, 78px);
  align-items: center;
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 950;
  margin: 0 0 14px;
}
h1, h2, h3 { line-height: 1.04; margin: 0; letter-spacing: -0.045em; }
h1 { font-size: clamp(3rem, 8vw, 6.7rem); max-width: 11ch; }
h2 { font-size: clamp(2.1rem, 5vw, 4.25rem); }
h3 { font-size: clamp(1.24rem, 2.2vw, 1.68rem); }
.lead {
  color: #ead9d0;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  max-width: 66ch;
  margin: 24px 0 0;
}
.hero-copy .lead { max-width: 58ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(249, 187, 163, 0.18);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #1b100d;
  background: linear-gradient(135deg, #f9bba3, #f2d48a);
  box-shadow: 0 16px 42px rgba(221, 123, 101, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.button.secondary {
  color: var(--peach);
  background: rgba(30, 19, 16, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.button.compact { min-height: 42px; padding: 10px 14px; font-size: 0.9rem; }
.text-link { color: var(--peach); font-weight: 950; text-decoration-thickness: 0.08em; text-underline-offset: 0.26em; }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.trust-list li {
  color: var(--muted);
  border: 1px solid rgba(249, 187, 163, 0.13);
  background: rgba(23, 16, 14, 0.66);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 800;
}
.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}
.device-showcase {
  position: relative;
  width: min(690px, 100%);
  aspect-ratio: 1.36;
  filter: drop-shadow(0 32px 72px rgba(0, 0, 0, 0.46));
}
.device-showcase::before {
  content: "";
  position: absolute;
  inset: 5% 5% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 123, 101, 0.2), transparent 68%);
  filter: blur(28px);
  z-index: -1;
}
.laptop-device {
  position: absolute;
  inset: 2% 0 auto;
  width: 100%;
}
.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: clamp(8px, 1.2vw, 13px);
  border-radius: clamp(15px, 2vw, 24px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), transparent 18%),
    linear-gradient(145deg, #3b241e, #070707 62%, #20120e);
  border: 1px solid rgba(249, 187, 163, 0.28);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.45), 0 28px 70px rgba(0, 0, 0, 0.42);
}
.laptop-screen::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(249, 187, 163, 0.46);
  z-index: 1;
}
.laptop-screen img,
.phone-screen img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: saturate(1.03) contrast(1.035);
}
.laptop-screen img {
  height: 100%;
  object-fit: cover;
  border-radius: clamp(9px, 1.3vw, 15px);
}
.laptop-base {
  position: relative;
  width: 108%;
  height: clamp(12px, 1.7vw, 20px);
  margin-left: -4%;
  border-radius: 3px 3px 22px 22px;
  background: linear-gradient(180deg, #8b6252 0%, #3d251f 44%, #140d0b 100%);
  border: 1px solid rgba(249, 187, 163, 0.2);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
}
.laptop-base::before {
  content: "";
  position: absolute;
  left: 42%;
  top: 0;
  width: 16%;
  height: 38%;
  border-radius: 0 0 9px 9px;
  background: rgba(7, 7, 7, 0.55);
}
.phone-device {
  position: absolute;
  right: -0.5%;
  bottom: 1.2%;
  width: 56%;
  aspect-ratio: 147.5 / 71.5;
  padding: 0;
  border-radius: 4.65% / 9.7%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.025) 10%, rgba(0,0,0,0.08) 28%, rgba(255,255,255,0.03) 62%, rgba(0,0,0,0.3) 100%),
    linear-gradient(165deg, #747780 0%, #30333a 12%, #101116 28%, #040405 50%, #14161a 74%, #5c5f66 100%);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.14),
    inset 0 0 0 2px rgba(0,0,0,0.62),
    0 22px 52px rgba(0,0,0,0.54),
    0 0 36px rgba(221,123,101,0.08);
  z-index: 2;
  isolation: isolate;
  overflow: visible;
}
.phone-device::before {
  content: "";
  position: absolute;
  inset: 0.55%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.015) 12%, rgba(0,0,0,0.14) 46%, rgba(255,255,255,0.025) 68%, rgba(0,0,0,0.24) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.065);
  pointer-events: none;
  z-index: 0;
}
.phone-device::after {
  content: "";
  position: absolute;
  inset: 1.05%;
  border-radius: 4.15% / 8.75%;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 2px rgba(0,0,0,0.90);
  pointer-events: none;
  z-index: 4;
}
.phone-screen {
  position: absolute;
  inset: 0.85%;
  z-index: 1;
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 4.15% / 8.8%;
  background: #000;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: inherit;
}
.phone-dynamic-island {
  position: absolute;
  left: 2.95%;
  top: 50%;
  width: 1.95%;
  height: 11.6%;
  min-height: 0;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #0b0b0b 0%, #010101 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.022),
    0 0 0 1px rgba(0,0,0,0.5);
  z-index: 5;
}
.phone-dynamic-island::before {
  content: "";
  position: absolute;
  left: 49%;
  top: 14%;
  width: 10%;
  height: 55%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  filter: blur(1px);
}
.phone-dynamic-island::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: 34%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #1d406d 0 18%, #0a1420 38%, #020202 72%);
}
.phone-button {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #474b52 0%, #81858e 18%, #2a2d33 44%, #050506 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 1px rgba(0,0,0,0.34),
    0 2px 4px rgba(0,0,0,0.25);
}
.phone-button-action {
  left: 18.4%;
  bottom: -1.8%;
  width: 3.7%;
  height: 1.3%;
}
.phone-button-volume-up {
  left: 25.7%;
  bottom: -1.8%;
  width: 7.1%;
  height: 2.0%;
}
.phone-button-volume-down {
  left: 35.1%;
  bottom: -1.8%;
  width: 7.1%;
  height: 2.0%;
}
.phone-button-side {
  left: 24.8%;
  top: -1.1%;
  width: 17.9%;
  height: 2.05%;
}
.floating-card {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 158px;
  padding: 15px 17px;
  border-radius: 18px;
  background: rgba(20, 13, 10, 0.8);
  border: 1px solid rgba(249, 187, 163, 0.2);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}
.floating-card span { color: var(--muted); font-size: 0.78rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.09em; }
.floating-card strong { color: var(--peach); font-size: 1.1rem; }
.card-tuner { right: 2%; top: 22%; }
.card-score { left: 0; bottom: 18%; }

.section { padding: clamp(54px, 8vw, 104px) 0; }
.section-heading { max-width: 780px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 7vw, 82px);
  align-items: start;
}
.split-copy {
  color: #ead9d0;
  font-size: 1.08rem;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(249, 187, 163, 0.055);
  border: 1px solid rgba(249, 187, 163, 0.13);
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 18px;
  margin-top: 38px;
}
.mode-card,
.glass-card,
.detail-card,
.faq-card,
.comparison-card,
.legal-card,
.cta-card {
  border: 1px solid rgba(249, 187, 163, 0.14);
  background:
    linear-gradient(180deg, rgba(249, 187, 163, 0.07), transparent 44%),
    rgba(18, 12, 10, 0.74);
  border-radius: var(--radius);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.mode-card {
  overflow: hidden;
  padding: 16px;
  min-height: 410px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.mode-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 187, 163, 0.3);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.34), 0 0 28px rgba(221, 123, 101, 0.1);
}
.mode-card img {
  width: 100%;
  aspect-ratio: 0.84;
  object-fit: contain;
  object-position: center;
  padding: clamp(12px, 2vw, 22px);
  border-radius: 20px;
  background: transparent;
  border: 0;
}
.mode-card h3 { margin-top: 20px; color: var(--peach); }
.mode-card p { color: var(--muted); margin: 12px 0 0; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}
.price-card {
  display: grid;
  gap: 5px;
  padding: 26px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(249, 187, 163, 0.18);
  background: linear-gradient(160deg, rgba(249, 187, 163, 0.09), rgba(18, 12, 10, 0.78));
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.26);
}
.price-card span { color: var(--peach); font-weight: 900; }
.price-card strong { color: var(--gold); font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1; }
.price-card small { color: var(--muted); }
.pricing-note {
  max-width: 850px;
  margin: 24px auto 0;
  color: #d9c2b5;
  text-align: center;
}
.performance-band {
  background:
    linear-gradient(90deg, rgba(221, 123, 101, 0.10), transparent 42%, rgba(242, 212, 138, 0.08)),
    rgba(9, 8, 7, 0.74);
  border-block: 1px solid rgba(249, 187, 163, 0.1);
}
.performance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: clamp(26px, 6vw, 72px);
  align-items: center;
}
.performance-grid p:not(.eyebrow) { color: #ead9d0; font-size: 1.1rem; max-width: 62ch; }
.metric-stack { display: grid; gap: 12px; }
.metric-stack div {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(249, 187, 163, 0.06);
  border: 1px solid rgba(249, 187, 163, 0.13);
}
.metric-stack strong { color: var(--gold); font-size: 2rem; line-height: 1; }
.metric-stack span { color: var(--muted); font-weight: 850; }
.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-highlights { margin-top: clamp(30px, 5vw, 48px); }
.glass-card { padding: 24px; }
.glass-card .icon-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--gold);
  border-radius: 16px;
  background: rgba(249, 187, 163, 0.08);
  border: 1px solid rgba(249, 187, 163, 0.16);
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.glass-card h3 { color: var(--peach); }
.glass-card p { color: var(--muted); margin-bottom: 0; }
.cta-section { padding: clamp(60px, 9vw, 112px) 0; }
.cta-card { text-align: center; padding: clamp(28px, 6vw, 62px); width: min(920px, calc(100% - 40px)); margin-inline: auto; }
.cta-card p:not(.eyebrow) { color: #ead9d0; max-width: 66ch; margin: 18px auto 0; }
.centered-actions { justify-content: center; }

.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(34px, 6vw, 72px); }
.legal-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(17px, 3vw, 36px); }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.detail-card,
.faq-card,
.comparison-card,
.legal-card { padding: clamp(22px, 4vw, 34px); }
.detail-card h2,
.faq-card h2,
.comparison-card h2,
.legal-card h2 { color: var(--peach); margin-top: 0; }
.detail-card p,
.detail-card li,
.faq-card p,
.comparison-card p,
.comparison-card li,
.legal-card p,
.legal-card li { color: #d9c2b5; }
.detail-card ul { padding-left: 1.15rem; margin-bottom: 0; }
.detail-card li + li { margin-top: 6px; }
.comparison-card { margin-top: 0; }
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.faq-card a,
.legal-card a { color: var(--peach); font-weight: 850; }
.legal-layout {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding-top: clamp(27px, 4vw, 52px);
  isolation: isolate;
}
.legal-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: rgba(18, 12, 10, 0.94);
}
.legal-card > * {
  position: relative;
  z-index: 1;
}
.legal-card h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin-top: 34px; }
.legal-card h2:first-of-type { margin-top: 20px; }
.legal-card strong { color: var(--gold); }

.site-footer {
  border-top: 1px solid rgba(249, 187, 163, 0.12);
  background: rgba(7, 7, 7, 0.78);
  padding: 46px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.6fr));
  gap: 28px;
}
.footer-brand { margin-bottom: 0; }
.site-footer nav,
.site-footer .footer-grid > div:last-child {
  display: grid;
  align-content: start;
  gap: 8px;
}
.site-footer strong { color: var(--peach); }
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 760;
}
.site-footer a:hover { color: var(--peach); }
.legal-note { color: var(--dim); line-height: 1.5; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(249, 187, 163, 0.1);
  color: var(--dim);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 0.72, 0.18, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  :root { --background-parallax-y: 0px; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .performance-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 510px; }
  .device-showcase { width: min(690px, 92vw); }
  .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-columns { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .shell, .narrow {
    width: calc(100% - 28px);
    max-width: 1180px;
  }
  .price-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(10, 8, 7, 0.96);
    border: 1px solid rgba(249, 187, 163, 0.16);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
    transform-origin: top;
    transform: scaleY(0.94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }
  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    pointer-events: auto;
  }
  .site-nav a { border-radius: 14px; }
  .site-nav .nav-cta { margin-left: 0; text-align: center; }
  h1 { font-size: clamp(2.5rem, 13vw, 4.2rem); }
  .hero-section { padding-top: 44px; }
  .hero-visual { min-height: min(440px, 82vw); }
  .device-showcase { width: min(650px, 96vw); }
  .phone-device { right: 1%; width: 62%; }
  .floating-card { min-width: 138px; padding: 12px 14px; }
  .card-tuner { right: 0; top: 16%; }
  .card-score { left: 0; bottom: 10%; }
  .mode-grid,
  .detail-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }
  .mode-card { min-height: auto; }
  .mode-card img { aspect-ratio: 1.3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions,
  .trust-list {
    display: grid;
    width: 100%;
    min-width: 0;
  }
  .hero-visual {
    min-height: 340px;
    overflow: hidden;
    overflow: clip;
  }
  .device-showcase {
    width: 100%;
    margin-left: 0;
    overflow: hidden;
    overflow: clip;
  }
  .laptop-device,
  .laptop-screen {
    max-width: 100%;
  }
  .laptop-base {
    width: 100%;
    margin-left: 0;
  }
  .phone-device {
    right: 0;
    width: 64%;
    bottom: 3%;
  }
  .button { width: 100%; }
  .metric-stack div { grid-template-columns: 1fr; gap: 8px; }
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0 10px;
  border-radius: 20px;
  border: 1px solid rgba(249, 187, 163, 0.14);
  background: rgba(255, 255, 255, 0.025);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.95rem;
}
.legal-table th,
.legal-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(249, 187, 163, 0.12);
}
.legal-table th {
  color: var(--gold);
  text-align: left;
  background: rgba(249, 187, 163, 0.06);
}
.legal-table td {
  color: #d9c2b5;
}
.legal-table tr:last-child td {
  border-bottom: 0;
}

/* OAuth callback page: external styles keep the production CSP free of inline scripts. */
.auth-callback-page {
  background: #090908;
  color: #f6eee8;
  display: grid;
  min-height: 100vh;
  place-items: center;
  margin: 0;
  padding: 24px;
  text-align: center;
}
.auth-callback-card { max-width: 34rem; }
.auth-callback-link { color: #f9bba3; }
