/* ==========================================================================
   Subscription Stopper — site styles
   Dark, brand-matched (app launch background #0B0618, violet → pink accent).
   No external fonts or assets: everything here is self-contained.
   ========================================================================== */

:root {
  /* Brand */
  --bg:            #0B0618;
  --bg-elev:       #140D26;
  --bg-elev-2:     #1B1233;
  --line:          #2A1F45;
  --line-soft:     #1F1737;

  --text:          #F5F2FF;
  --text-muted:    #A99FC4;
  --text-dim:      #7C7396;

  --violet:        #8B5CF6;
  --violet-bright: #A78BFA;
  --violet-deep:   #6D28D9;
  --pink:          #EC4899;
  --green:         #34D399;

  --grad: linear-gradient(100deg, var(--violet) 0%, #B06BF5 45%, var(--pink) 100%);

  /* Layout */
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 64px;

  --shadow: 0 18px 50px -12px rgba(0, 0, 0, .75);
  --glow: 0 0 0 1px rgba(139, 92, 246, .28), 0 20px 60px -20px rgba(139, 92, 246, .5);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is load-bearing — the width/height attributes on <img> are
   presentational hints that map to CSS width/height. Overriding only the
   width (as .shots img and .hero-art img do) would otherwise leave the
   intrinsic pixel height in force and stretch the image vertically. */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--violet-bright); text-decoration: none; }
a:hover { color: var(--text); }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.35rem, 6.5vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-narrow { max-width: var(--wrap-narrow); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--violet); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(11, 6, 24, .78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  height: 100%;
  display: flex; align-items: center; gap: 28px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--text); font-size: 1.02rem;
  letter-spacing: -.02em; white-space: nowrap;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav-links {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto; list-style: none; padding: 0;
}
/* :not(.btn) so the CTA keeps its own white-on-gradient colour — a bare
   `.nav-links a` selector outranks `.btn-primary` and would grey it out. */
.nav-links a:not(.btn) {
  color: var(--text-muted); font-size: .94rem; font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn)[aria-current="page"] { color: var(--text); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); color: var(--text);
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    padding: 8px 22px 20px;
    margin: 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav-links .btn { text-align: center; padding: 13px 20px; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: .97rem; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(139, 92, 246, .6);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 40px -8px rgba(139, 92, 246, .75); }

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--violet); color: var(--text); }

/* App Store badge (inline SVG mark + text, no external asset) */
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; color: #000;
  padding: 10px 22px 10px 18px; border-radius: 14px;
  transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
}
.appstore:hover { transform: translateY(-2px); color: #000; box-shadow: 0 16px 38px -10px rgba(0, 0, 0, .9); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore span { display: block; line-height: 1.15; }
.appstore .small { font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.appstore .big { font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }

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

section { padding: 84px 0; }
@media (max-width: 700px) { section { padding: 60px 0; } }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--violet-bright); margin-bottom: 14px;
}

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

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0 clamp(60px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -280px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 720px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(139, 92, 246, .35) 0%, rgba(139, 92, 246, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; top: 120px; right: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(236, 72, 153, .18) 0%, rgba(236, 72, 153, 0) 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-cta, .trust-row { justify-content: center; }
  .hero-copy .section-head { margin-inline: auto; }
}

.hero p.lede {
  font-size: clamp(1.05rem, 2.1vw, 1.24rem);
  color: var(--text-muted); max-width: 30em; margin-bottom: 30px;
}
@media (max-width: 940px) { .hero p.lede { margin-inline: auto; } }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  font-size: .87rem; color: var(--text-dim);
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 15px; height: 15px; color: var(--green); flex: none; }

.hero-art { position: relative; display: flex; justify-content: center; }
/* The hero image already contains the device bezel on a near-black ground,
   so it needs no frame of its own — it blends into the page background. */
.hero-art img { width: min(320px, 80vw); }

/* ---------- Feature grid ---------- */

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--bg-elev) 0%, rgba(20, 13, 38, .55) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card h3 { margin-bottom: .4em; font-size: 1.09rem; }
.card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

.icon-badge {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(139, 92, 246, .3);
  margin-bottom: 16px;
}
.icon-badge svg { width: 21px; height: 21px; color: var(--violet-bright); }

/* ---------- Privacy callout ---------- */

.callout {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(139, 92, 246, .18) 0%, rgba(139, 92, 246, 0) 55%),
    var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px);
}
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

.compare-col {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 22px; background: rgba(11, 6, 24, .5);
}
.compare-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 14px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.compare-col li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--text-muted); }
.compare-col li svg { width: 17px; height: 17px; margin-top: 3px; flex: none; }
.compare-col.no li svg { color: #F87171; }
.compare-col.yes li svg { color: var(--green); }

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

.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 1rem;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ---------- Screenshot gallery ---------- */

.shots {
  display: flex; gap: 20px; overflow-x: auto;
  /* Align the first shot with the page container on wide screens, while still
     letting the row bleed to the edge as it scrolls. */
  padding: 6px max(22px, calc((100vw - var(--wrap)) / 2)) 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.shot {
  flex: none; margin: 0; scroll-snap-align: center;
  width: 200px; text-align: center;
}
/* Capped height + top-anchored cover keeps the row compact: a full 19.5:9
   phone shot would be 416px tall at this width and dominate the section.
   The mask fades the cut edge out instead of ending in a hard line. */
.shot img {
  width: 200px; height: 340px;
  object-fit: cover; object-position: top center;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.shot figcaption {
  margin-top: 2px; font-size: .9rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: -.01em;
}

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

.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: start; }
@media (max-width: 780px) { .plans { grid-template-columns: 1fr; } }

.plan {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 30px 28px; background: var(--bg-elev);
}
.plan.featured {
  border-color: rgba(139, 92, 246, .55);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(236, 72, 153, .13) 0%, rgba(236, 72, 153, 0) 55%),
    var(--bg-elev-2);
  box-shadow: var(--glow);
}
.plan-name { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.plan-name h3 { margin: 0; font-size: 1.3rem; }
.badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  background: var(--grad); color: #fff; padding: 4px 10px; border-radius: 99px;
}
.plan > p.sub { color: var(--text-muted); font-size: .95rem; margin-bottom: 20px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.plan li svg { width: 17px; height: 17px; color: var(--violet-bright); margin-top: 4px; flex: none; }
.plan .btn { width: 100%; }
.plan-note { font-size: .8rem; color: var(--text-dim); margin: 14px 0 0; line-height: 1.5; }

.tiers { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.tier {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 15px; font-size: .87rem; color: var(--text-muted);
  background: rgba(11, 6, 24, .45);
}
.tier b { display: block; color: var(--text); font-size: .95rem; font-weight: 600; }

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

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

details.qa {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--bg-elev); overflow: hidden;
  transition: border-color .18s ease;
}
details.qa[open] { border-color: var(--line); }
details.qa summary {
  cursor: pointer; list-style: none;
  padding: 19px 52px 19px 22px; position: relative;
  font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg); transition: transform .2s ease;
}
details.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.qa summary:hover { color: var(--violet-bright); }
.qa-body { padding: 0 22px 20px; color: var(--text-muted); font-size: .96rem; }
.qa-body :last-child { margin-bottom: 0; }
.qa-body ol, .qa-body ul { margin: 0 0 1em; padding-left: 20px; display: grid; gap: 7px; }
.qa-body code {
  background: rgba(139, 92, 246, .13); border: 1px solid rgba(139, 92, 246, .22);
  padding: 1px 6px; border-radius: 6px; font-size: .88em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Help centre topic cards ---------- */

.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 60px; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .topics { grid-template-columns: 1fr; } }

a.topic {
  display: block; padding: 20px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--bg-elev); color: var(--text);
  transition: border-color .18s ease, transform .18s ease;
}
a.topic:hover { border-color: var(--violet); transform: translateY(-3px); color: var(--text); }
a.topic strong { display: block; font-size: 1rem; margin-bottom: 4px; }
a.topic span { color: var(--text-muted); font-size: .88rem; }

.help-group { margin-bottom: 56px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.help-group > h2 { font-size: 1.6rem; margin-bottom: 20px; }

/* ---------- Contact form ---------- */

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 840px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .97rem;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(11, 6, 24, .7); color: var(--text);
  border: 1px solid var(--line);
  transition: border-color .16s ease, background .16s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); background: rgba(11, 6, 24, .95);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
                    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field select option { background: var(--bg-elev); color: var(--text); }

.form-note { font-size: .82rem; color: var(--text-dim); margin: 12px 0 0; }

.contact-aside .card { margin-bottom: 16px; }
.contact-aside .card:last-child { margin-bottom: 0; }
.mail-link { font-weight: 600; word-break: break-word; }

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

.cta-band {
  text-align: center;
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(139, 92, 246, .2) 0%, rgba(139, 92, 246, 0) 60%),
    var(--bg-elev);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.cta-band h2 { margin-bottom: .35em; }
.cta-band p { color: var(--text-muted); max-width: 34em; margin: 0 auto 28px; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

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

.legal { padding-top: 52px; }
.legal .updated {
  display: inline-block; font-size: .84rem; color: var(--text-dim);
  border: 1px solid var(--line-soft); border-radius: 99px; padding: 5px 14px; margin-bottom: 34px;
}
.legal h2 {
  font-size: 1.32rem; margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 32px; }
.legal h3 { font-size: 1.05rem; margin-top: 26px; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 9px; margin-bottom: 1.2em; }
.legal strong { color: var(--text); }
.legal .summary-box {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px; margin-bottom: 8px;
}
.legal .summary-box ul { margin-bottom: 0; }

.legal table {
  width: 100%; border-collapse: collapse; margin-bottom: 1.4em; font-size: .93rem;
}
.legal .table-scroll { overflow-x: auto; }
.legal th, .legal td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft);
  color: var(--text-muted); vertical-align: top;
}
.legal th { color: var(--text); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; }

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

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 54px 0 40px;
  font-size: .92rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px;
  margin-bottom: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .foot-h {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .11em;
  color: var(--text-dim); margin: 0 0 14px; font-weight: 700;
}
.footer nav { margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-muted); }
.footer ul a:hover { color: var(--text); }
.footer-about p { color: var(--text-dim); max-width: 30ch; font-size: .89rem; margin: 14px 0 0; }

.footer-bottom {
  border-top: 1px solid var(--line-soft); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between;
  color: var(--text-dim); font-size: .86rem;
}

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

.notfound { text-align: center; padding: clamp(70px, 14vh, 140px) 0; }
.notfound .code {
  font-size: clamp(4.5rem, 15vw, 8rem); font-weight: 800; letter-spacing: -.05em;
  line-height: 1; margin-bottom: 10px;
}
.notfound p { color: var(--text-muted); max-width: 40ch; margin: 0 auto 30px; }

/* ==========================================================================
   Article pages (guides + legal), added with the multilingual build.
   ========================================================================== */

.article { padding: 40px 0 90px; }
.article h1 { font-size: clamp(1.95rem, 4.2vw, 2.85rem); margin-bottom: .5em; }
.article .lede { font-size: 1.1rem; color: var(--text-muted); max-width: 68ch; }
.article p, .article li { max-width: 72ch; }

.sec { margin-top: 38px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.sec > h2 {
  font-size: 1.5rem; letter-spacing: -.02em;
  padding-top: 22px; border-top: 1px solid var(--line-soft); margin-bottom: .6em;
}
.sec h3 { font-size: 1.1rem; margin: 1.8em 0 .5em; }
.sec p, .sec li { color: var(--text-muted); }
.sec strong { color: var(--text); }
.sec ul, .sec ol { padding-left: 22px; display: grid; gap: 10px; margin: 0 0 1.2em; }

.steps-list { counter-reset: st; list-style: none; padding-left: 0 !important; }
.steps-list li {
  counter-increment: st; position: relative; padding-left: 42px; min-height: 28px;
}
.steps-list li::before {
  content: counter(st);
  position: absolute; left: 0; top: -1px;
  width: 27px; height: 27px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139, 92, 246, .16);
  border: 1px solid rgba(139, 92, 246, .38);
  color: var(--violet-bright);
  font-size: .84rem; font-weight: 700; font-variant-numeric: tabular-nums;
}

.callout-note {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: 0 12px 12px 0;
  padding: 15px 18px;
  font-size: .94rem;
  margin: 1.3em 0 !important;
}

/* ---------- breadcrumbs ---------- */

.crumbs { margin-bottom: 18px; }
.crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: .85rem; color: var(--text-dim);
}
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-dim); }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--text); }

/* ---------- table of contents ---------- */

.toc {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 32px 0 8px;
  max-width: 46ch;
}
.toc h2 {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-dim); margin-bottom: 12px; border: 0; padding: 0;
}
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .93rem; }
.toc a { color: var(--text-muted); }
.toc a:hover { color: var(--violet-bright); }

/* ---------- inline CTA ---------- */

.cta-inline {
  margin: 56px 0 0;
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(139, 92, 246, .16) 0%, rgba(139, 92, 246, 0) 60%),
    var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
}
.cta-inline h2 { font-size: 1.35rem; margin-bottom: .4em; border: 0; padding: 0; }
.cta-inline p { color: var(--text-muted); margin-bottom: 22px; max-width: 60ch; }
.cta-inline .hero-cta { margin-bottom: 0; }

/* ---------- language switcher ---------- */

.langsw { position: relative; }
.langsw summary {
  list-style: none; cursor: pointer;
  color: var(--text-muted); font-size: .94rem; font-weight: 500;
  padding: 6px 0; white-space: nowrap;
}
.langsw summary::-webkit-details-marker { display: none; }
.langsw summary:hover { color: var(--text); }
.langsw ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 10;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; margin: 0; list-style: none;
  min-width: 168px; box-shadow: var(--shadow);
  display: grid; gap: 2px;
}
.langsw ul a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--text-muted); font-size: .93rem;
}
.langsw ul a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }

@media (max-width: 860px) {
  .langsw { border-bottom: 0 !important; }
  .langsw ul { position: static; box-shadow: none; margin-top: 6px; }
}

/* Guides read better a touch wider than the legal pages were set for. */
.page-guide .wrap-narrow, .page-legal .wrap-narrow { max-width: 820px; }
