@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #101e2c;
  --navy-deep: #0b1621;
  --panel: #172f40;
  --panel-soft: #1b394c;
  --panel-bright: #244c5b;
  --border: rgba(135, 247, 193, 0.14);
  --border-strong: rgba(135, 247, 193, 0.38);
  --mint: #87f7c1;
  --mint-bright: #b9ffdf;
  --coral: #ff8f9c;
  --gold: #ffd580;
  --blue: #7dd3fc;
  --ink: #e7f4ef;
  --muted: #91abba;
  --muted-dim: #708c9b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --font: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 620px at 82% -8%, rgba(135, 247, 193, 0.1), transparent 62%),
    radial-gradient(760px 560px at -12% 28%, rgba(255, 143, 156, 0.07), transparent 64%),
    var(--navy);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(231, 244, 239, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 244, 239, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.65) 55%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.65) 55%, transparent 92%);
}

::selection {
  background: var(--mint);
  color: var(--navy);
}

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

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--mint-bright);
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.9rem, 3.7vw, 2.85rem);
  font-weight: 700;
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.2em;
}

li + li {
  margin-top: 0.45em;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--mint);
  background: rgba(135, 247, 193, 0.08);
  border: 1px solid rgba(135, 247, 193, 0.14);
  padding: 0.14em 0.42em;
  border-radius: 6px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.2rem 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--mint);
  color: var(--navy);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 22, 33, 0.84);
  border-color: var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.78rem;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(135, 247, 193, 0.07);
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  color: var(--navy);
  background: var(--mint);
}

.site-nav .nav-cta:hover {
  color: var(--navy);
  background: var(--mint-bright);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(23, 47, 64, 0.7);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* Shared type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
  transform: rotate(45deg);
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

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

.small {
  font-size: 0.86rem;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(23, 47, 64, 0.55);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--navy);
  background: var(--mint);
  box-shadow: 0 12px 30px rgba(135, 247, 193, 0.18);
}

.btn-primary:hover {
  color: var(--navy);
  background: var(--mint-bright);
  box-shadow: 0 16px 36px rgba(135, 247, 193, 0.24);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(23, 47, 64, 0.55);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(36, 76, 91, 0.65);
  border-color: var(--border-strong);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Store buttons */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 168px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(11, 22, 33, 0.55);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.store-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
  background: rgba(23, 47, 64, 0.75);
  transform: translateY(-1px);
}

.store-btn .store-glyph {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(135, 247, 193, 0.1);
  color: var(--mint);
}

.store-btn .store-glyph svg {
  width: 17px;
  height: 17px;
}

.store-btn span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn small {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-btn strong {
  font-size: 0.92rem;
}

.store-btn.is-disabled {
  cursor: default;
  opacity: 0.78;
}

.store-btn.is-disabled:hover {
  transform: none;
  border-color: var(--border);
  background: rgba(11, 22, 33, 0.55);
}

/* Hero */
.hero {
  padding: clamp(3.2rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.5rem, 5.7vw, 4.5rem);
}

.hero h1 .accent {
  color: var(--mint);
}

.hero .lead {
  max-width: 53ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2.2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.stat {
  min-width: 0;
}

.stat strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
}

.hero-glow {
  position: absolute;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135, 247, 193, 0.18), transparent 68%);
  filter: blur(12px);
  z-index: -1;
}

.hero-ring {
  position: absolute;
  width: min(430px, 80%);
  aspect-ratio: 1;
  border: 1px solid rgba(135, 247, 193, 0.16);
  border-radius: 50%;
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(135, 247, 193, 0.1);
  border-radius: 50%;
  inset: 32px;
}

.hero-ring::after {
  inset: 74px;
  border-style: dashed;
}

.phone {
  position: relative;
  width: min(292px, 78vw);
  aspect-ratio: 9 / 19.4;
  padding: 9px;
  border: 1px solid rgba(231, 244, 239, 0.22);
  border-radius: 42px;
  background: linear-gradient(160deg, #24394a, #070e15 38%, #0b1621 70%, #1c2e3c);
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  transform: rotate(2.2deg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 78px;
  height: 20px;
  border-radius: 999px;
  background: #050a0f;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: var(--navy);
}

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

.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 9px;
  background: rgba(11, 22, 33, 0.85);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  animation: float 7s ease-in-out infinite;
}

.hero-chip.der {
  top: 16%;
  left: 1%;
  color: var(--gold);
}

.hero-chip.die {
  top: 42%;
  right: 0;
  color: var(--coral);
  animation-delay: -2.2s;
}

.hero-chip.das {
  bottom: 13%;
  left: 5%;
  color: var(--mint);
  animation-delay: -4.1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.1rem;
}

.section-head h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.section-head p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
}

.section-rule {
  border-top: 1px solid var(--border);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  padding: 1.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(23, 47, 64, 0.92), rgba(16, 30, 44, 0.72));
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135, 247, 193, 0.09), transparent 68%);
  pointer-events: none;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border: 1px solid rgba(135, 247, 193, 0.2);
  border-radius: 11px;
  color: var(--mint);
  background: rgba(135, 247, 193, 0.08);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Steps */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1.4rem 1.35rem;
  border-top: 1px solid var(--border-strong);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 1rem;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.step h3 {
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Screenshot gallery */
.screens-shell {
  position: relative;
}

.screens {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 218px);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 0.8rem 0.25rem 1.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(135, 247, 193, 0.35) transparent;
}

.screens::-webkit-scrollbar {
  height: 8px;
}

.screens::-webkit-scrollbar-thumb {
  background: rgba(135, 247, 193, 0.25);
  border-radius: 999px;
}

.screen {
  margin: 0;
  scroll-snap-align: start;
}

.screen a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.screen-frame {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  padding: 7px;
  border: 1px solid rgba(231, 244, 239, 0.16);
  border-radius: 28px;
  background: linear-gradient(160deg, #203444, #070e15 42%, #0b1621);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.screen a:hover .screen-frame {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.screen-frame img {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  object-fit: cover;
}

.screen figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* Privacy band */
.band {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(135, 247, 193, 0.11), transparent 65%),
    linear-gradient(155deg, rgba(23, 47, 64, 0.94), rgba(16, 30, 44, 0.85));
  overflow: hidden;
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: 2rem;
}

.band h2 {
  margin-bottom: 0.65rem;
}

.band p {
  color: var(--muted);
  margin-bottom: 0;
}

.privacy-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(11, 22, 33, 0.35);
  font-size: 0.9rem;
}

.privacy-list svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
  flex: none;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 900px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(23, 47, 64, 0.52);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--mint);
  font-family: var(--mono);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq-body {
  padding: 0 1.15rem 1.05rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq .faq-body p:last-child {
  margin-bottom: 0;
}

/* CTA */
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.8rem, 5vw, 3.2rem);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background:
    radial-gradient(520px 240px at 20% 0%, rgba(135, 247, 193, 0.16), transparent 70%),
    linear-gradient(150deg, rgba(36, 76, 91, 0.92), rgba(16, 30, 44, 0.96));
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 16ch;
  margin-bottom: 0.55rem;
}

.cta-panel p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: rgba(11, 22, 33, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.65fr 0.65fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-brand p {
  max-width: 32ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-col h3 {
  margin: 0 0 0.7rem;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin: 0.32rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--mint);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 1.15rem 0 1.6rem;
  border-top: 1px solid var(--border);
  color: var(--muted-dim);
  font-size: 0.76rem;
}

.footer-bottom p {
  margin: 0;
}

/* Legal / support pages */
.page-hero {
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(1.6rem, 4vw, 2.4rem);
}

.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 0.7rem;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

.page-hero .lead {
  max-width: 62ch;
  margin: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: 2rem;
}

.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(23, 47, 64, 0.42);
}

.toc strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 0.28rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--mint);
}

.legal-body {
  min-width: 0;
  max-width: 820px;
}

.legal-body section {
  padding: 1.55rem 0;
  border-top: 1px solid var(--border);
}

.legal-body section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-body h2 {
  margin-top: 0.2rem;
  font-size: 1.45rem;
  scroll-margin-top: 100px;
}

.legal-body h3 {
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: 1rem;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
}

.legal-body strong {
  color: var(--ink);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.callout {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: rgba(135, 247, 193, 0.06);
  color: var(--ink);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout.warn {
  border-color: rgba(255, 213, 128, 0.4);
  background: rgba(255, 213, 128, 0.06);
}

.data-table {
  width: 100%;
  margin: 1rem 0 1.4rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--muted);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.support-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(23, 47, 64, 0.5);
}

.support-card h3 {
  margin-bottom: 0.45rem;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  background: rgba(135, 247, 193, 0.05);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

/* Press kit */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.kit-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(23, 47, 64, 0.5);
}

.kit-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--navy-deep);
}

.kit-card h3 {
  margin: 0.8rem 0 0.25rem;
  font-size: 1rem;
}

.kit-card p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.fact-grid li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.fact-grid strong {
  color: var(--ink);
  text-align: right;
}

/* Dialog */
.lightbox {
  width: min(560px, calc(100% - 32px));
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--navy-deep);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(3, 8, 12, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-inner {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox img {
  max-height: 78vh;
  width: auto;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(11, 22, 33, 0.85);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-caption {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* 404 */
.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  text-align: center;
}

.error-page .code {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.error-page h1 {
  margin: 0.6rem 0 0.7rem;
  max-width: 15ch;
}

.error-page p {
  max-width: 52ch;
  margin: 0 auto 1.4rem;
  color: var(--muted);
}

/* Reveal animation. Content is visible without JavaScript; the no-js class is
   removed by an inline script in the head before the stylesheet loads. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-art {
    min-height: 520px;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    padding: 0.6rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(135, 247, 193, 0.3) transparent;
  }

  .toc strong {
    display: none;
  }

  .toc a {
    flex: 0 0 auto;
    padding: 0.42rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(11, 22, 33, 0.35);
    font-size: 0.72rem;
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.65rem;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(11, 22, 33, 0.97);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: space-between;
    padding: 0.75rem 0.8rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    margin-top: 0.25rem;
    justify-content: center;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 0.8rem;
  }

  .band-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .step-grid,
  .support-grid,
  .kit-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .nav-row {
    min-height: 66px;
  }

  .site-nav {
    top: 66px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .hero-art {
    min-height: 470px;
  }

  .phone {
    width: min(250px, 76vw);
  }

  .hero-chip {
    font-size: 0.62rem;
    padding: 0.34rem 0.5rem;
  }

  .hero-chip.der {
    left: -2%;
  }

  .hero-chip.die {
    right: -2%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .btn-row,
  .store-row {
    align-items: stretch;
  }

  .btn,
  .store-btn {
    flex: 1 1 auto;
  }

  .store-btn {
    min-width: 0;
  }

  .screens {
    grid-auto-columns: minmax(160px, 190px);
  }

  .legal-body {
    max-width: 100%;
  }

  .toc {
    grid-template-columns: 1fr;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: auto;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .no-js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  body {
    background: #ffffff;
    color: #111111;
  }

  body::before,
  .site-header,
  .site-footer,
  .toc,
  .skip-link {
    display: none !important;
  }

  .wrap {
    width: 100%;
  }

  .legal-layout {
    display: block;
  }

  .legal-body p,
  .legal-body li,
  .legal-body td {
    color: #333333;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  a {
    color: #111111;
    text-decoration: underline;
  }
}
