/* Medtest – website styles. No build step. */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/nunito-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/nunito-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/nunito-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/nunito-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/nunito-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/nunito-latin-ext-900-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens (brand colours of the app: teal, ink, indigo for timers) ---------- */

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --surface: #f1f7f6;
  --surface-strong: #e2efec;
  --card: #ffffff;
  --line: #dde9e7;
  --line-strong: #c3d7d3;
  --ink: #0c1f1d;
  --ink-soft: #45605b;
  --ink-muted: #66807b;

  --brand: #0b8c7f;
  --brand-edge: #07695f;
  --brand-soft: #ddf3ef;
  --on-brand: #ffffff;
  --brand-ink: #07695f;

  /* Dark hero and CTA band */
  --deep: #0c1f1d;
  --deep-2: #0a3d37;
  --on-deep: #ffffff;
  --on-deep-soft: #bfdcd7;

  /* Mint highlight on dark backgrounds */
  --mint: #5fd3c3;
  --mint-edge: #2fa595;
  --mint-soft: #e3f7f3;

  /* Indigo: timers and the simulation */
  --indigo: #5b5bd6;
  --indigo-soft: #ebebfb;

  --success: #2fb36d;
  --success-edge: #23955a;
  --success-soft: #e5f6ec;
  --success-ink: #1b7a47;

  --danger: #e5484d;
  --danger-soft: #fcebec;

  --amber: #d98a00;
  --amber-soft: #fff3dc;
  --flame: #ff8a1f;
  --flame-soft: #fff0e0;

  --phone-bezel: #0c1f1d;
  --phone-ring: #1f3b37;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --gutter: 20px;

  --font: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #061a18;
    --surface: #0b2522;
    --surface-strong: #12312d;
    --card: #0b2522;
    --line: #15332f;
    --line-strong: #21463f;
    --ink: #ecf6f4;
    --ink-soft: #a3bfba;
    --ink-muted: #7b9993;

    --brand: #19a898;
    --brand-edge: #0b7a6e;
    --brand-soft: #0e322d;
    --brand-ink: #5fd3c3;

    --deep: #03100e;
    --deep-2: #0a2f2a;

    --mint-soft: #0f2f2a;

    --indigo: #8585ec;
    --indigo-soft: #1b1d3d;

    --success: #34c477;
    --success-edge: #228a52;
    --success-soft: #12291c;
    --success-ink: #5bd892;

    --danger: #f2555a;
    --danger-soft: #30171a;

    --amber: #f0b13a;
    --amber-soft: #2e2510;
    --flame: #ff9a3d;
    --flame-soft: #33220f;

    --phone-bezel: #010908;
    --phone-ring: #21463f;
  }
}

/* ---------- Base ---------- */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 6.4vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

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

.section {
  padding: 88px 0;
}
.section.tint {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.section-head {
  max-width: 700px;
  margin-bottom: 44px;
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.125rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

/* ---------- Top bar + header ---------- */

.tidebar {
  height: 5px;
  background: linear-gradient(90deg, var(--brand-edge) 0%, var(--brand) 50%, var(--mint) 80%, var(--indigo) 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  box-shadow: 0 3px 0 var(--brand-edge);
}

.nav {
  display: none;
  margin-left: auto;
  gap: 2px;
}
.nav a {
  padding: 8px 11px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink-soft);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
}
.site-header .btn {
  margin-left: auto;
}
@media (min-width: 960px) {
  .nav {
    display: flex;
  }
  .site-header .btn {
    margin-left: 8px;
  }
}

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

.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  --btn-edge: var(--brand-edge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 14px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 4px 0 var(--btn-edge);
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 80ms ease, box-shadow 80ms ease, filter 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  filter: brightness(1.06);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--btn-edge);
}
.btn-sm {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.95rem;
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--btn-edge);
}
.btn-sm:active {
  transform: translateY(3px);
}
.btn-ghost {
  --btn-bg: var(--card);
  --btn-fg: var(--ink);
  --btn-edge: var(--line-strong);
  border: 2px solid var(--line-strong);
}
.btn-mint {
  --btn-bg: var(--mint);
  --btn-fg: #0c1f1d;
  --btn-edge: var(--mint-edge);
}
.btn-block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ---------- Store badges ---------- */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  min-width: 192px;
  padding: 0 18px 0 14px;
  border: 1px solid #a6a6a6;
  border-radius: 12px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 0 #1f3b37;
  transition: transform 80ms ease, box-shadow 80ms ease;
  -webkit-tap-highlight-color: transparent;
}
.store:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #1f3b37;
}
.store svg {
  flex: none;
  width: 26px;
  height: 26px;
}
.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.store-text small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.store-text strong {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.store-text small.caps {
  text-transform: uppercase;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.soon {
  display: none;
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.is-soon .soon {
  display: block;
}

/* ---------- Hero (dark, with a wave at the bottom) ---------- */

.hero {
  position: relative;
  padding: 48px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(95, 211, 195, 0.2) 0, rgba(95, 211, 195, 0) 34%),
    linear-gradient(165deg, var(--deep) 0%, var(--deep-2) 62%, var(--brand-edge) 100%);
  color: var(--on-deep);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero h1 .accent {
  color: var(--mint);
}
.hero-copy p.lead {
  margin-top: 20px;
  max-width: 36ch;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--on-deep-soft);
}
.hero-copy .stores {
  margin-top: 30px;
}
.hero .soon {
  color: var(--on-deep-soft);
}
.hero .store {
  box-shadow: 0 4px 0 #010807;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--on-deep-soft);
}
.checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.checks svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 70px;
}
.hero-wave path {
  fill: var(--bg);
}
.hero-wave path.back {
  fill: var(--bg);
  opacity: 0.35;
}

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 0 30px;
}
.phones::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  width: min(420px, 90%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #8fe6d9 0, var(--mint) 50%, #19a898 100%);
  box-shadow: 0 0 0 18px rgba(95, 211, 195, 0.12), 0 0 0 44px rgba(95, 211, 195, 0.06);
}
.phones .phone {
  position: relative;
}
.phones .phone + .phone {
  margin-left: -44px;
  margin-top: 70px;
}

.phone {
  position: relative;
  width: clamp(164px, 43vw, 262px);
  flex: none;
  padding: 9px;
  border-radius: 46px;
  background: var(--phone-bezel);
  box-shadow:
    0 0 0 2px var(--phone-ring),
    0 30px 60px -24px rgba(1, 12, 10, 0.55);
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  border-radius: 37px;
  background: var(--surface);
}
/* Shown by site.js when a screenshot file is missing. */
.screen-fallback {
  display: none;
  place-items: center;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: 37px;
  background: linear-gradient(180deg, #12a595 0%, #07695f 100%);
}
.screen-fallback svg {
  width: 44%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
}
.phone.is-missing picture {
  display: none;
}
.phone.is-missing .screen-fallback {
  display: grid;
}
@media (max-width: 420px) {
  .phone {
    padding: 6px;
    border-radius: 30px;
  }
  .phone img,
  .screen-fallback {
    border-radius: 25px;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 72px 0 150px;
  }
  .hero .wrap {
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
  }
  .phones::before {
    width: min(500px, 100%);
    top: 8%;
  }
  .hero-wave {
    height: 96px;
  }
}

/* ---------- Stats ---------- */

.stats ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats li {
  padding: 22px 12px;
  text-align: center;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.stats strong {
  display: block;
  font-size: clamp(2rem, 6vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}
.stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink-soft);
}
@media (min-width: 720px) {
  .stats ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
.stats {
  margin-top: -8px;
  padding-bottom: 8px;
}

/* ---------- Cards / features ---------- */

.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--line);
}

.grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 26px 24px 28px;
}
.feature h3 {
  margin-top: 18px;
}
.feature p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.icon-tile svg {
  width: 26px;
  height: 26px;
}
.tone-brand {
  background: var(--brand-soft);
  color: var(--brand);
}
.tone-amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.tone-indigo {
  background: var(--indigo-soft);
  color: var(--indigo);
}
.tone-green {
  background: var(--success-soft);
  color: var(--success);
}
.tone-teal {
  background: var(--mint-soft);
  color: var(--brand-edge);
}
.tone-red {
  background: var(--danger-soft);
  color: var(--danger);
}
.tone-orange {
  background: var(--flame-soft);
  color: var(--flame);
}
@media (prefers-color-scheme: dark) {
  .tone-teal {
    color: var(--mint);
  }
}

.extras {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Showcase rows ---------- */

.showcase {
  display: grid;
  gap: 40px;
  align-items: center;
}
.showcase + .showcase {
  margin-top: 88px;
}
.showcase .phone {
  margin: 0 auto;
}
.showcase-copy p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 44ch;
}
.ticks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ticks svg {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  margin-top: 1px;
}
.showcase-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.showcase-art::before {
  content: "";
  position: absolute;
  inset: 14% 6% 4%;
  border-radius: 50% 50% 40px 40px;
  background: linear-gradient(180deg, var(--brand-soft), var(--surface));
  border: 2px solid var(--line);
}
.showcase-art .phone {
  position: relative;
}
@media (min-width: 900px) {
  .showcase {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .showcase.flip .showcase-art {
    order: 2;
  }
}

/* ---------- Subtests (the 8 groups of the TMSnat) ---------- */

.subtests {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 820px) {
  .subtests {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }
}
.subtest {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
}
.subtest h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}
.sub-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 900;
  font-size: 1.15rem;
}
.sub-meta {
  margin-top: 2px;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}
.subtest .sub-meta + p {
  margin-top: 6px;
  color: var(--ink-soft);
}
.subtest.pause {
  align-items: center;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
}
.subtest.pause .sub-num {
  background: var(--surface-strong);
  color: var(--ink-muted);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  padding: 28px 24px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 4px 0 var(--brand-edge);
  font-weight: 900;
  font-size: 1.5rem;
}
.steps h3 {
  margin-top: 20px;
}
.steps p {
  margin-top: 8px;
  color: var(--ink-soft);
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  gap: 20px;
  align-items: start;
}
@media (min-width: 900px) {
  .plans {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
.plan {
  padding: 30px 26px;
}
.plan h3 {
  font-size: 1.5rem;
  font-weight: 900;
}
.plan-price {
  margin-top: 10px;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-price small {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.plan-sub {
  margin-top: 6px;
  color: var(--ink-soft);
}
.plan ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.plan li svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--success);
}
.plan-plus {
  border-color: var(--brand);
  box-shadow: 0 6px 0 var(--brand-edge);
}
.plan-plus .plus-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 1rem;
  vertical-align: 4px;
}
.compare {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 2px dashed var(--line-strong);
  color: var(--ink-soft);
  max-width: 820px;
}
.compare b {
  color: var(--ink);
}
.fine {
  margin-top: 22px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 820px;
}
.fine a {
  color: inherit;
}

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

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 3px 0 var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 160ms ease;
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-3px, -3px);
}
.faq .answer {
  padding: 0 20px 20px;
  color: var(--ink-soft);
}
.faq .answer p + p {
  margin-top: 10px;
}
.faq .answer a {
  color: var(--ink);
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--brand-edge) 0%, var(--deep) 100%);
  color: var(--on-deep);
  padding: 88px 0;
  text-align: center;
}
.cta p {
  margin: 14px auto 0;
  max-width: 40ch;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--on-deep-soft);
}
.cta .stores {
  justify-content: center;
  margin-top: 30px;
}
.cta .soon {
  color: var(--on-deep-soft);
}
.cta .store {
  box-shadow: 0 4px 0 #010807;
}

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

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.footer-top {
  display: grid;
  gap: 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
@media (min-width: 820px) {
  .footer-top {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .footer-links {
    justify-content: flex-end;
  }
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 48px 0 80px;
}
.legal .wrap {
  max-width: 780px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink-soft);
}
.back:hover {
  color: var(--ink);
}
.back svg {
  width: 18px;
  height: 18px;
}
.legal h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}
.legal .stand {
  margin-top: 10px;
  color: var(--ink-muted);
}
.prose {
  margin-top: 36px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.prose h2 {
  margin: 44px 0 12px;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.prose h3 {
  margin: 28px 0 8px;
  font-size: 1.12rem;
}
.prose p,
.prose ul,
.prose ol,
.prose address {
  margin: 0 0 14px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 6px;
}
.prose address {
  font-style: normal;
}
.prose a {
  color: var(--ink);
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose .box {
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 2px solid var(--line);
}
.prose .box > :last-child {
  margin-bottom: 0;
}

/* ---------- 404 ---------- */

.notfound {
  padding: 96px 0 120px;
  text-align: center;
}
.notfound .big {
  font-size: clamp(5rem, 22vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
  margin: 0;
}
.notfound h1 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}
.notfound p {
  margin: 16px auto 32px;
  max-width: 36ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- Small helpers ---------- */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.plan-remind {
  margin: 18px 0 20px;
  font-size: 0.95rem;
}
.back-bottom {
  margin-top: 48px;
}
.back-bottom .back {
  margin-bottom: 0;
}
.nowrap {
  white-space: nowrap;
}
.center-row {
  justify-content: center;
}
