/* Self-hosted fonts: no request to Google, nothing to declare for visitors */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --bg: #0f0e17;
  --bg-2: #15152a;
  --card: #1e1e30;
  --card-2: #262640;
  --line: #2a2a4a;
  --ink: #000;
  --text: #f0f0f0;
  --text-2: #b4b4d0;
  --muted: #7a7a9c;
  --pink: #ff6b9d;
  --orange: #ff8c42;
  --yellow: #ffd700;
  --cyan: #2de2e6;
  --green: #53d769;
  --purple: #b854d4;
  --red: #ff4757;
  --grad: linear-gradient(135deg, var(--pink), var(--orange));
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --radius: 20px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* The self-hosted fonts have no CJK glyphs: fall back to good system fonts */
:lang(ja) {
  --cjk: "Yu Gothic UI", "Meiryo", "Hiragino Sans", sans-serif;
}
:lang(ko) {
  --cjk: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}
:lang(zh) {
  --cjk: "Microsoft YaHei", "PingFang SC", sans-serif;
}
:lang(ja) body,
:lang(ko) body,
:lang(zh) body,
:lang(ja) :is(h1, h2, h3, .display, .eyebrow, .price, .btn),
:lang(ko) :is(h1, h2, h3, .display, .eyebrow, .price, .btn),
:lang(zh) :is(h1, h2, h3, .display, .eyebrow, .price, .btn) {
  font-family: "Nunito", var(--cjk);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
.display {
  font-family: "Fredoka", "Nunito", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--yellow);
  color: #000;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
}
.skip:focus {
  left: 8px;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-family: "Fredoka", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  background: var(--card-2);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.btn-yellow {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}
.btn-ghost {
  background: var(--card);
  color: var(--text);
}
.btn-small {
  padding: 8px 16px;
  font-size: 0.95rem;
  border-radius: 12px;
}
.btn svg {
  flex-shrink: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 14, 23, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a:not(.btn) {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 700;
}
.nav a:not(.btn):hover {
  color: var(--text);
}
/* Language menu (a <details>, works without JavaScript) */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-2);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 2px 8px;
  user-select: none;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-menu summary::after {
  content: " \25BE";
}
.lang-menu[open] summary,
.lang-menu summary:hover {
  color: var(--text);
  border-color: var(--text-2);
}
.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 170px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-height: 70vh;
  overflow-y: auto;
}
.nav .lang-menu a {
  display: block;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nav .lang-menu a:hover {
  background: var(--card-2);
  color: var(--text);
}
.nav .lang-menu a[aria-current] {
  color: var(--yellow);
}
@media (max-width: 760px) {
  .nav > a:not(.btn) {
    display: none;
  }
  .nav {
    gap: 12px;
  }
}

/* Suggests the visitor's language (site.js) */
.lang-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 16px;
  background: var(--card-2);
  border-bottom: 3px solid var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.lang-banner button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

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

.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  z-index: -1;
}
.hero::before {
  background: var(--pink);
  top: -180px;
  left: -160px;
}
.hero::after {
  background: var(--cyan);
  bottom: -220px;
  right: -140px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 .hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.2rem;
  color: var(--text-2);
  max-width: 34em;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 14px;
}
.hero-note {
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding-top: 44px;
  }
}

/* The fake screen with a meme popping in */
.screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 80%, rgba(83, 215, 105, 0.35), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(45, 226, 230, 0.3), transparent 45%),
    linear-gradient(160deg, #1b2a3a, #0f1a26 60%, #0b1119);
}
.screen-bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.35);
}
.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}
/* A stylised game HUD so the meme lands on "something" */
.screen-hud {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hud-bar {
  width: 120px;
  height: 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0.6);
}
.hud-bar i {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--green);
}
.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}
.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: #fff;
}
.crosshair::before {
  left: 10px;
  top: 0;
  width: 2px;
  height: 22px;
}
.crosshair::after {
  top: 10px;
  left: 0;
  width: 22px;
  height: 2px;
}

.meme {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 58%;
  transform: translate(-50%, -50%) scale(0.2) rotate(-6deg);
  opacity: 0;
  animation: meme-pop 6s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
  /* Start mid-cycle so the meme is already on screen when the page opens */
  animation-delay: -1.6s;
}
.meme-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 3px solid var(--ink);
  overflow: hidden;
  /* First layer is drawn on top: eyes and mouth before the face */
  background:
    radial-gradient(circle at 44% 35%, #000 0 2.2%, transparent 2.6%),
    radial-gradient(circle at 56% 35%, #000 0 2.2%, transparent 2.6%),
    radial-gradient(ellipse 7% 5% at 50% 45%, #000 0 60%, transparent 66%),
    radial-gradient(circle at 50% 40%, #ffe08a 0 16%, transparent 17%),
    linear-gradient(180deg, #7b5cff, #ff6b9d);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}
.meme-text {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-family: Impact, "Fredoka", sans-serif;
  font-weight: 900;
  font-size: clamp(0.8rem, 2.3vw, 1.3rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000;
  padding: 0 8px;
  line-height: 1.1;
}
.meme-text.top {
  top: 8px;
}
.meme-text.bottom {
  bottom: 8px;
}
.meme-from {
  margin: 10px auto 0;
  width: max-content;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--card);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 2px 2px 0 var(--ink);
}
@keyframes meme-pop {
  0%,
  8% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(-6deg);
  }
  16% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.07) rotate(1deg);
  }
  22%,
  78% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }
  88%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6) rotate(4deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .meme {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Sections ---------- */

section {
  padding: 84px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-head p {
  color: var(--text-2);
  font-size: 1.1rem;
}
.eyebrow {
  display: inline-block;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}
.alt {
  background: var(--bg-2);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 42px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px;
  left: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--yellow);
  color: #000;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}
.step:nth-child(2)::before {
  background: var(--cyan);
}
.step:nth-child(3)::before {
  background: var(--pink);
}
.step p {
  color: var(--text-2);
  margin: 0;
}
code.tag {
  font-family: "Fredoka", monospace;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--yellow);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature p {
  color: var(--text-2);
  margin: 0;
}
.icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 2px solid var(--ink);
  color: #000;
}
@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Pricing: yearly / monthly switch, driven by two radio buttons */
.billing-switch {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 36px;
  padding: 5px;
  gap: 4px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.billing-switch label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  color: var(--text-2);
  transition: background 0.15s, color 0.15s;
}
.billing-switch .save {
  background: var(--green);
  color: #000;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
}
#bill-yearly:checked ~ .billing-switch label[for="bill-yearly"],
#bill-monthly:checked ~ .billing-switch label[for="bill-monthly"] {
  background: var(--yellow);
  color: #000;
}
#bill-yearly:focus-visible ~ .billing-switch label[for="bill-yearly"],
#bill-monthly:focus-visible ~ .billing-switch label[for="bill-monthly"] {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
#bill-yearly:checked ~ .plans .for-monthly,
#bill-monthly:checked ~ .plans .for-yearly {
  display: none;
}
.plan-sub strong {
  color: var(--text);
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
}
.plan.premium {
  border-color: var(--ink);
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--yellow), var(--orange)) border-box;
  border: 3px solid transparent;
  box-shadow: 6px 6px 0 var(--ink);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -16px;
  right: 22px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #000;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 12px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}
.price {
  font-family: "Fredoka", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin: 6px 0 4px;
}
.price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}
.plan-sub {
  color: var(--muted);
  margin-bottom: 18px;
}
.checks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}
.checks li {
  position: relative;
  padding: 7px 0 7px 32px;
  border-bottom: 1px dashed var(--line);
}
.checks li:last-child {
  border-bottom: none;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.checks li.no {
  color: var(--muted);
}
.checks li.no::before {
  background: var(--card-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7a9c' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.plan .btn {
  width: 100%;
}
.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 28px;
}
@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* Presentation video, vertical (9:16) in a phone frame */
.video-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  max-width: 920px;
}
.phone {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 9 / 16;
  border: 3px solid var(--ink);
  border-radius: 36px;
  padding: 10px;
  background: #07070d;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.phone-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  background: var(--card);
}
.sound-toggle {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  white-space: nowrap;
  font: 700 0.9rem "Nunito", sans-serif;
  color: #000;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  padding: 6px 14px;
  cursor: pointer;
}
.sound-toggle[aria-pressed="true"] {
  background: var(--card);
  color: var(--text);
}
@media (max-width: 800px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .video-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Safety */
.safety {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 36px;
  max-width: 900px;
  margin: 0 auto;
}
.safety div {
  display: flex;
  gap: 14px;
}
.safety h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}
.safety p {
  margin: 0;
  color: var(--text-2);
}
@media (max-width: 700px) {
  .safety {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq details {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--pink);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details > div {
  padding: 0 0 18px;
  color: var(--text-2);
}

/* CTA band */
.cta-band {
  text-align: center;
}
.cta-band .lead {
  margin: 0 auto 28px;
}
.cta-band .card {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 28px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 107, 157, 0.25), transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(45, 226, 230, 0.2), transparent 50%),
    var(--card);
}

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

.site-footer {
  border-top: 3px solid var(--ink);
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.site-footer a {
  color: var(--text-2);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ---------- Content pages (legal, download, billing) ---------- */

.page {
  padding: 56px 0 80px;
}
.page .wrap {
  max-width: 820px;
}
.prose h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2em;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose p,
.prose li {
  color: var(--text-2);
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose strong {
  color: var(--text);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.6em;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border: 2px solid var(--line);
  vertical-align: top;
}
.prose th {
  background: var(--card);
  color: var(--text);
}
.updated {
  color: var(--muted);
  font-size: 0.95rem;
}
/* Placeholders the owner must fill in before going live */
.todo {
  background: rgba(255, 215, 0, 0.14);
  color: var(--yellow);
  border: 1px dashed var(--yellow);
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 700;
}
.table-scroll {
  overflow-x: auto;
}

.center-page {
  min-height: calc(100vh - 68px - 120px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 56px 20px;
}
.center-page .card {
  max-width: 520px;
}
.big-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}

.download-steps {
  counter-reset: dl;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
  margin: 32px 0;
}
.download-steps li {
  counter-increment: dl;
  position: relative;
  padding: 18px 20px 18px 72px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--text-2);
}
.download-steps li::before {
  content: counter(dl);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
  color: #000;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}
.download-steps strong {
  color: var(--text);
}
.smartscreen {
  border-left: 5px solid var(--yellow);
}
.kbd {
  display: inline-block;
  border: 2px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 6px;
  padding: 0 7px;
  font-size: 0.9em;
  color: var(--text);
  background: var(--bg);
}
