/* Layout: a dark, high-contrast hero with a phone full of arriving SMS; then five colour-coded price packs, two ways to send, steps, industries, FAQ and a bright green closing band. */
:root {
  --bg: #F4F7F5;
  --surface: #FFFFFF;
  --surface-2: #E9F1ED;
  --ink: #0A1A2A;
  --muted: #475866;
  --line: #D3DDD8;
  --brand: #19C37D;
  --brand-strong: #13A86A;
  --brand-ink: #087A47;
  --on-brand: #06231A;
  --navy: #071A2B;
  --navy-2: #0E2740;
  --on-navy: #EDF5F1;
  --on-navy-muted: #A3B8C5;
  --yellow: #FFC83D;
  --coral: #FF6A55;
  --sky: #3A9EFF;
  --chip-ink: #0A1A2A;
  --frame: #0B1016;
  --screen-a: #0F5C49;
  --screen-b: #123B66;
  --note: rgba(255, 255, 255, 0.86);
  --note-ink: #0A1A2A;
  --note-muted: #4D5C68;
  --focus: #3A9EFF;
  --shadow: 0 1px 2px rgba(10, 26, 42, 0.06), 0 18px 40px rgba(10, 26, 42, 0.1);

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step-0: 1.0625rem;
  --step-2: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem);
  --step-hero: clamp(2.45rem, 1.3rem + 4.6vw, 4.7rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08131D;
    --surface: #0F1F2D;
    --surface-2: #132A3B;
    --ink: #E7F0EC;
    --muted: #9DB1BE;
    --line: #22394B;
    --brand: #25D088;
    --brand-strong: #4BDDA0;
    --brand-ink: #3FDC98;
    --on-brand: #04170F;
    --navy: #050F19;
    --navy-2: #0D2234;
    --on-navy: #EDF5F1;
    --on-navy-muted: #A3B8C5;
    --yellow: #FFD05C;
    --coral: #FF7D6B;
    --sky: #5AAFFF;
    --chip-ink: #0A1A2A;
    --frame: #02060A;
    --screen-a: #0F5C49;
    --screen-b: #123B66;
    --note: rgba(255, 255, 255, 0.86);
    --note-ink: #0A1A2A;
    --note-muted: #4D5C68;
    --focus: #7FB8FF;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08131D;
  --surface: #0F1F2D;
  --surface-2: #132A3B;
  --ink: #E7F0EC;
  --muted: #9DB1BE;
  --line: #22394B;
  --brand: #25D088;
  --brand-strong: #4BDDA0;
  --brand-ink: #3FDC98;
  --on-brand: #04170F;
  --navy: #050F19;
  --navy-2: #0D2234;
  --on-navy: #EDF5F1;
  --on-navy-muted: #A3B8C5;
  --yellow: #FFD05C;
  --coral: #FF7D6B;
  --sky: #5AAFFF;
  --chip-ink: #0A1A2A;
  --frame: #02060A;
  --screen-a: #0F5C49;
  --screen-b: #123B66;
  --note: rgba(255, 255, 255, 0.86);
  --note-ink: #0A1A2A;
  --note-muted: #4D5C68;
  --focus: #7FB8FF;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { margin: 0; }
section[id] { scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px)); }

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus {
  left: max(16px, env(safe-area-inset-left, 0px));
  top: calc(12px + env(safe-area-inset-top, 0px));
  z-index: 20;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

/* Header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--navy);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 9;
  background: var(--navy);
  color: var(--on-navy);
  border-bottom: 1px solid color-mix(in srgb, var(--on-navy) 12%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: 1.08rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { width: 26px; height: 22px; flex: none; }
.brand-mark .bar { fill: currentColor; }
.brand-mark .bar-hi { fill: var(--brand); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav-link { color: var(--on-navy-muted); text-decoration: none; }
.nav-link:hover { color: var(--on-navy); }
@media (max-width: 820px) { .nav-link { display: none; } }
@media (max-width: 420px) {
  .brand { gap: 8px; font-size: 0.98rem; font-stretch: 104%; }
  .brand-mark { width: 22px; height: 19px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-light { background: transparent; color: var(--on-navy); border-color: color-mix(in srgb, var(--on-navy) 40%, transparent); }
.btn-light:hover { border-color: var(--on-navy); }
.btn-dark { background: var(--navy); color: var(--on-navy); }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy);
  background-image: radial-gradient(color-mix(in srgb, var(--on-navy) 9%, transparent) 1px, transparent 1.4px);
  background-size: 24px 24px;
  color: var(--on-navy);
  padding-block: clamp(36px, 7vw, 88px) clamp(48px, 8vw, 104px);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  top: -18%;
  right: -12%;
  width: min(900px, 90vw);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 38%, transparent), transparent 72%);
}
.hero::after {
  bottom: -38%;
  left: -18%;
  width: min(760px, 80vw);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sky) 28%, transparent), transparent 72%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero .eyebrow { color: var(--brand); }
.hero h1 { font-size: var(--step-hero); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; }
.hl {
  padding: 0 0.16em;
  border-radius: 0.16em;
  background: var(--yellow);
  color: var(--chip-ink);
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-lead { max-width: 33em; font-size: 1.2rem; color: var(--on-navy-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 540px; margin: 0; padding: 0; list-style: none; }
.stats li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--navy-2) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--on-navy) 10%, transparent);
}
.stats b {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 115%;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.1;
  color: var(--brand);
}
.stats span { font-size: 0.84rem; line-height: 1.35; color: var(--on-navy-muted); }

/* Phone */
.phone-wrap { display: grid; justify-items: center; min-width: 0; }
.phone {
  width: min(330px, 84vw);
  padding: 12px;
  border-radius: 46px;
  background: var(--frame);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(-2deg);
}
.screen {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 560px;
  padding: 18px 12px 22px;
  border-radius: 36px;
  background: linear-gradient(160deg, var(--screen-a), var(--screen-b));
  overflow: hidden;
}
.notch { justify-self: center; width: 96px; height: 24px; border-radius: 999px; background: var(--frame); }
.clock { margin-top: 18px; text-align: center; color: #FFFFFF; }
.clock b { display: block; font-family: var(--font-display); font-weight: 600; font-stretch: 100%; font-size: 4.2rem; line-height: 1; letter-spacing: -0.03em; }
.clock span { font-size: 0.95rem; opacity: 0.85; }
.notes { display: grid; gap: 10px; margin-top: 18px; }
.note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  background: var(--note);
  color: var(--note-ink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: drop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.note:nth-child(2) { animation-delay: 0.25s; }
.note:nth-child(3) { animation-delay: 0.5s; }
.note:nth-child(4) { animation-delay: 0.75s; }
.app-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: var(--on-brand); }
.app-icon svg { width: 20px; height: 20px; }
.note-head { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; color: var(--note-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.note p { font-size: 0.86rem; line-height: 1.38; overflow-wrap: anywhere; }
.note.report { background: var(--brand); color: var(--on-brand); }
.note.report .note-head { color: var(--on-brand); opacity: 0.8; }
.note.report .app-icon { background: var(--navy); color: var(--on-navy); }
@keyframes drop { from { transform: translateY(-14px) scale(0.96); } to { transform: none; } }

/* Networks strip */
.networks { border-bottom: 1px solid var(--line); background: var(--surface); }
.networks .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 20px; }
.networks p { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.networks ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.networks li { font-family: var(--font-display); font-weight: 900; font-stretch: 118%; font-size: 1.35rem; letter-spacing: -0.01em; }

/* Sections */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-tint { background: var(--surface-2); }
.section-head { display: grid; gap: 14px; max-width: 48rem; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head h2 { font-size: var(--step-2); font-weight: 900; }
.section-head p { font-size: 1.08rem; color: var(--muted); }

/* Price packs */
.packs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1080px) { .packs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pack {
  --tier: var(--brand);
  position: relative;
  display: grid;
  grid-template-areas: "badge" "qty" "rate" "price" "btn";
  gap: 10px;
  align-content: start;
  padding: 26px 18px 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.pack::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: var(--tier); }
.pack[data-tier="sky"] { --tier: var(--sky); }
.pack[data-tier="brand"] { --tier: var(--brand); }
.pack[data-tier="yellow"] { --tier: var(--yellow); }
.pack[data-tier="coral"] { --tier: var(--coral); }
.pack[data-tier="volume"] { --tier: var(--yellow); background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.pack.featured { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.pack-badge {
  grid-area: badge;
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tier);
  color: var(--chip-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pack-qty {
  grid-area: qty;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pack-qty small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.34em;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.pack-rate {
  grid-area: rate;
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tier) 24%, transparent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.pack-price { grid-area: price; font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pack .btn { grid-area: btn; width: 100%; margin-top: 4px; }
.pack[data-tier="volume"] .pack-qty small { color: var(--on-navy-muted); }
.pack[data-tier="volume"] .btn-outline { color: var(--on-navy); border-color: color-mix(in srgb, var(--on-navy) 40%, transparent); }
@media (max-width: 720px) {
  .packs { grid-template-columns: minmax(0, 1fr); }
  .pack {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "badge badge" "qty price" "rate btn";
    align-items: center;
    gap: 8px 14px;
    padding: 22px 16px 16px;
  }
  .pack-price { text-align: right; }
  .pack .btn { width: auto; margin-top: 0; }
}
.price-notes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--muted); }
.price-notes li { display: inline-flex; align-items: center; gap: 8px; }
.price-notes svg { width: 18px; height: 18px; color: var(--brand-ink); }
.price-notes { padding: 0; list-style: none; }
.after-note { margin-top: 14px; color: var(--muted); }
.after-note a { color: var(--brand-ink); font-weight: 700; }

/* Two ways to send */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 780px) { .ways { grid-template-columns: minmax(0, 1fr); } }
.way {
  --way: var(--brand);
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.way.api { --way: var(--sky); }
.way-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--way); color: var(--chip-ink); }
.way-icon svg { width: 28px; height: 28px; }
.way h3 { font-size: 1.5rem; font-weight: 900; }
.way > p { color: var(--muted); }
.ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.ticks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--brand-ink); }
.code {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 14px;
  background: var(--navy);
  color: var(--on-navy);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
}
.code .k { color: var(--sky); }
.code .s { color: var(--yellow); }
.way .btn { justify-self: start; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li {
  counter-increment: step;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--step-c, var(--brand));
  color: var(--chip-ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
}
.steps li:nth-child(2) { --step-c: var(--sky); }
.steps li:nth-child(3) { --step-c: var(--yellow); }
.steps li:nth-child(4) { --step-c: var(--coral); }
.steps h3 { font-size: 1.2rem; font-weight: 800; }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .uses { grid-template-columns: minmax(0, 1fr); } }
.use {
  --use: var(--brand);
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--use);
  border-radius: 18px;
}
.use:nth-child(6n + 2) { --use: var(--sky); }
.use:nth-child(6n + 3) { --use: var(--yellow); }
.use:nth-child(6n + 4) { --use: var(--coral); }
.use:nth-child(6n + 5) { --use: var(--sky); }
.use:nth-child(6n + 6) { --use: var(--yellow); }
.use h3 { font-size: 1.1rem; font-weight: 800; }
.bubble {
  justify-self: start;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 4px;
  background: var(--surface-2);
  font-size: 0.94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* Rules */
.rules { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 820px) { .rules { grid-template-columns: minmax(0, 1fr); } }
.rules .section-head { margin-bottom: 0; }
.rules ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.rules li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
.rules li svg { width: 24px; height: 24px; margin-top: 2px; color: var(--brand-ink); }
.rules li strong { display: block; }
.rules li span { color: var(--muted); }

/* FAQ */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 44px 18px 0; font-weight: 700; font-size: 1.07rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 46rem; padding-bottom: 18px; color: var(--muted); }

/* Closing band */
.closer { background: var(--brand); color: var(--on-brand); }
.closer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center; }
@media (max-width: 820px) { .closer-grid { grid-template-columns: minmax(0, 1fr); } }
.closer h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 900; line-height: 1.02; }
.closer p { max-width: 34rem; margin-top: 14px; font-size: 1.1rem; }
.contact-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  border-radius: 22px;
  background: var(--navy);
  color: var(--on-navy);
}
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--font-mono); font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-line .label { color: var(--on-navy-muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.copy-btn {
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--on-navy) 35%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--on-navy);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Privacy and footer */
.privacy { padding-block: 44px 8px; }
.privacy .wrap { display: grid; gap: 10px; }
.privacy h2 { font-size: 1.25rem; font-weight: 800; }
.privacy p { max-width: 48rem; color: var(--muted); font-size: 0.95rem; }
.site-footer { padding-block: 28px calc(92px + env(safe-area-inset-bottom, 0px)); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.wa-float:hover { background: var(--brand-strong); }
.wa-float svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}

/* Inner pages, navigation, footer, prose, tables and the character counter */

/* Header extras */
.nav-link[aria-current="page"] { color: var(--on-navy); }
.menu { position: relative; display: none; }
@media (max-width: 820px) { .menu { display: block; } }
@media (max-width: 480px) { .nav .btn-buy { display: none; } }
.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--on-navy) 30%, transparent);
  border-radius: 999px;
  color: var(--on-navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  display: grid;
  gap: 2px;
  width: min(300px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 10px;
  border-radius: 18px;
  background: var(--navy-2);
  border: 1px solid color-mix(in srgb, var(--on-navy) 12%, transparent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.menu-panel a { padding: 9px 12px; border-radius: 10px; color: var(--on-navy); text-decoration: none; }
.menu-panel a:hover { background: color-mix(in srgb, var(--on-navy) 8%, transparent); }
.menu-panel .group {
  padding: 12px 12px 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}
.menu-panel .btn { margin: 6px 4px 4px; }

/* Inner page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy);
  background-image: radial-gradient(color-mix(in srgb, var(--on-navy) 9%, transparent) 1px, transparent 1.4px);
  background-size: 24px 24px;
  color: var(--on-navy);
  padding-block: clamp(26px, 5vw, 52px) clamp(40px, 6vw, 76px);
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  right: -10%;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 32%, transparent), transparent 72%);
  pointer-events: none;
}
.page-hero h1 { max-width: 17em; font-size: clamp(2.15rem, 1.3rem + 3.4vw, 3.9rem); font-weight: 900; line-height: 1.03; letter-spacing: -0.02em; }
.page-hero .lead { max-width: 40em; font-size: 1.17rem; color: var(--on-navy-muted); }
.page-hero .eyebrow { color: var(--brand); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.86rem; color: var(--on-navy-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--on-navy); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero-points li {
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--on-navy) 9%, transparent);
  font-size: 0.9rem;
}

/* Page body layout */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .page-grid { grid-template-columns: minmax(0, 1fr); } }
.aside-card {
  position: sticky;
  top: calc(84px + env(safe-area-inset-top, 0px));
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 22px;
  background: var(--navy);
  color: var(--on-navy);
}
@media (max-width: 980px) { .aside-card { position: static; } }
.aside-card h2 { font-size: 1.25rem; font-weight: 900; }
.aside-card p { color: var(--on-navy-muted); font-size: 0.95rem; }
.mini-prices { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.mini-prices li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--on-navy) 18%, transparent);
  font-size: 0.95rem;
}
.mini-prices li b { color: var(--brand); }

/* Prose */
.prose { max-width: 46rem; min-width: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); font-weight: 900; }
.prose h3 { margin-top: 1.6em; font-size: 1.25rem; font-weight: 800; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose a { color: var(--brand-ink); font-weight: 700; }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--surface-2); font-family: var(--font-mono); font-size: 0.88em; }
.updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.callout { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--brand); }
.callout.warn { border-left-color: var(--yellow); }
.callout.info { border-left-color: var(--sky); }
.callout strong { display: block; margin-bottom: 4px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.95rem; }
.table-wrap th, .table-wrap td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap thead th {
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Example messages */
.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .examples { grid-template-columns: minmax(0, 1fr); } }
.example { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.example .tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); }
.example .meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--fi, var(--brand)); color: var(--chip-ink); }
.feature-icon svg { width: 24px; height: 24px; }
.feature:nth-child(4n + 2) { --fi: var(--sky); }
.feature:nth-child(4n + 3) { --fi: var(--yellow); }
.feature:nth-child(4n + 4) { --fi: var(--coral); }
.feature h3 { font-size: 1.1rem; font-weight: 800; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* Link cards (industries, guides) */
.link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .link-cards { grid-template-columns: minmax(0, 1fr); } }
.link-card {
  --lc: var(--brand);
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--lc);
  border-radius: 18px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.link-card:nth-child(6n + 2) { --lc: var(--sky); }
.link-card:nth-child(6n + 3) { --lc: var(--yellow); }
.link-card:nth-child(6n + 4) { --lc: var(--coral); }
.link-card:nth-child(6n + 5) { --lc: var(--sky); }
.link-card:nth-child(6n + 6) { --lc: var(--yellow); }
.link-card h3 { font-size: 1.12rem; font-weight: 800; }
.link-card p { color: var(--muted); font-size: 0.95rem; }
.link-card .go { color: var(--brand-ink); font-weight: 700; font-size: 0.95rem; }
.section-more { margin-top: 20px; }
.section-more a { color: var(--brand-ink); font-weight: 700; }

/* Footer */
.site-footer { padding-block: 0 calc(92px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-block: 44px 28px;
  border-top: 0;
  color: var(--ink);
  font-size: 0.95rem;
}
@media (max-width: 960px) { .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand p { color: var(--muted); }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--brand-ink); }
.site-footer .footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .brand { color: var(--ink); }

/* Character counter tool */
.counter { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.counter label { font-weight: 700; }
.counter textarea, .counter input[type="number"] {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.counter textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.counter-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .counter-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.counter-stats div { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.counter-stats b { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.counter-stats span { font-size: 0.82rem; color: var(--muted); }
.counter-warn { padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--yellow) 22%, transparent); font-size: 0.93rem; }
.counter-cost { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.counter-cost b { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); font-variant-numeric: tabular-nums; }
.counter-cost span { color: var(--muted); }
.field-row { display: grid; gap: 6px; }

/* 404 */
.notfound { padding-block: clamp(60px, 10vw, 120px); text-align: center; }
.notfound .wrap { display: grid; gap: 18px; justify-items: center; }
.notfound h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); font-weight: 900; }
.notfound p { max-width: 32rem; color: var(--muted); }

/* Inner-page hero visuals, price ticket, templates, forms and small utilities */

/* Inner hero with an optional visual on the right */
.page-hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.page-hero-grid.has-visual { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
@media (max-width: 900px) { .page-hero-grid.has-visual { grid-template-columns: minmax(0, 1fr); } }
.page-hero-copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.page-hero-visual { display: grid; justify-items: center; min-width: 0; }
.page-hero .cta-row { margin-top: 4px; }

/* A slice of a lock screen with arriving SMS */
.note-stack {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  padding: 18px 14px 16px;
  border-radius: 30px;
  background: linear-gradient(160deg, var(--screen-a), var(--screen-b));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(1.5deg);
}
.stack-clock { display: grid; justify-items: center; color: #FFFFFF; }
.stack-clock b { font-family: var(--font-display); font-weight: 600; font-stretch: 100%; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.stack-clock span { font-size: 0.85rem; opacity: 0.85; }
.note-stack .notes { margin-top: 2px; }
@media (max-width: 560px) {
  .note-stack { transform: none; }
  .note-stack .note:nth-child(n + 3) { display: none; }
}

/* Price ticket shown in the prices hero */
.price-ticket {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 400px;
  padding: 20px 20px 16px;
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
}
@media (max-width: 560px) { .price-ticket { transform: none; } }
.ticket-head, .ticket-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket-foot { justify-content: center; padding-top: 8px; text-align: center; }
.price-ticket ul { display: grid; margin: 0; padding: 0; list-style: none; }
.price-ticket li {
  --tier: var(--brand);
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-variant-numeric: tabular-nums;
}
.price-ticket li[data-tier="sky"] { --tier: var(--sky); }
.price-ticket li[data-tier="yellow"] { --tier: var(--yellow); }
.price-ticket li[data-tier="coral"] { --tier: var(--coral); }
.price-ticket li[data-tier="volume"] { --tier: var(--navy); }
.price-ticket .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--tier); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 15%, transparent); }
.price-ticket .r { font-family: var(--font-mono); font-size: 0.84rem; color: var(--muted); }
.price-ticket b { min-width: 4.6em; font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; text-align: right; }

/* Code in the API hero */
.page-hero .code {
  width: 100%;
  max-width: 460px;
  background: var(--navy-2);
  border: 1px solid color-mix(in srgb, var(--on-navy) 14%, transparent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  font-size: 0.82rem;
}
.code-label { justify-self: start; margin-bottom: 8px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-navy-muted); }

/* Guide pages: tool and article stacked in the main column */
.stack-main { display: grid; gap: clamp(28px, 4vw, 44px); align-content: start; min-width: 0; }
.stack-main .prose { max-width: 46rem; }

/* Industry cards carry a sample message */
.use-card .bubble { justify-self: start; }

/* Lists of ticks inside running text */
.prose .ticks { padding-left: 0; }
.prose .ticks li + li { margin-top: 0; }
.prose .examples { margin-block: 1.4em; }
.prose figure { margin: 0; }
.toc { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.toc p { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prose .toc ol { margin-top: 8px; padding-left: 1.2em; }
.prose .toc li + li { margin-top: 0.25em; }
.source-list { font-size: 0.93rem; }
.disclaimer { font-size: 0.93rem; color: var(--muted); }

/* Templates */
.templates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 680px) { .templates { grid-template-columns: minmax(0, 1fr); } }
.template { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.template h3 { font-size: 1.02rem; font-weight: 800; font-stretch: 105%; }
.template .bubble { justify-self: stretch; }
.template-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.template-foot .meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.var { padding: 0 3px; border-radius: 4px; background: color-mix(in srgb, var(--yellow) 42%, transparent); }
.copy-chip {
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.copy-chip:hover { border-color: var(--ink); }
.category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.category-nav a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.category-nav a:hover { border-color: var(--brand); }
.stack { display: grid; gap: clamp(36px, 5vw, 56px); }
.stack > section { display: grid; gap: 18px; }
.stack h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); font-weight: 900; }

/* Contact form that writes a WhatsApp message */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form-card { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; font-weight: 900; }
.form-card label { font-weight: 700; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.form-card textarea { min-height: 96px; resize: vertical; }
.form-card .btn { justify-self: start; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.contact-cards { display: grid; gap: 14px; }
.contact-tile { display: grid; gap: 10px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.contact-tile h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 900; }
.contact-tile h2 svg { width: 22px; height: 22px; color: var(--brand-ink); }
.contact-tile .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.contact-tile .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.contact-tile p { color: var(--muted); }

/* Counter extras */
.counter-samples { display: flex; flex-wrap: wrap; gap: 8px; }
.counter-samples span { font-size: 0.9rem; color: var(--muted); align-self: center; }
.counter-fit { color: var(--muted); }
.counter-fit strong { color: var(--ink); }
.counter-warn p + p { margin-top: 6px; }
.counter-warn .bad { font-family: var(--font-mono); font-weight: 600; }
.counter-warn .btn { margin-top: 10px; }
.counter-stats div[data-state="over"] { background: color-mix(in srgb, var(--coral) 22%, transparent); }

/* Footer contact lines on a light surface */
.site-footer .contact-line { font-family: var(--font-body); font-size: 0.95rem; }
.site-footer .footer-brand .brand { color: var(--ink); }

/* Section spacing helpers */
.band + .band-tint, .band-tint + .band { border-top: 0; }
.center-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lede-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .lede-grid { grid-template-columns: minmax(0, 1fr); } }

/* Fixes after the first visual check */
.link-card .go { display: inline-flex; align-items: center; gap: 6px; }
.link-card .go svg { width: 16px; height: 16px; flex: none; transition: transform 0.15s ease; }
.link-card:hover .go svg { transform: translateX(3px); }
.example { margin: 0; }
.hero-code { display: grid; width: 100%; max-width: 460px; min-width: 0; }
.var { padding: 0 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.btn-dark { border-color: color-mix(in srgb, var(--on-navy) 16%, transparent); }
.site-footer .footer-base { padding-top: 18px; padding-left: 0; padding-right: 0; }
.page-hero .code { white-space: pre-wrap; overflow-wrap: anywhere; }
.prose .category-nav { padding-left: 0; }
.prose .category-nav li + li { margin-top: 0; }
.price-ticket li[data-tier="volume"] { --tier: var(--ink); }
.table-wrap td.num, .price-ticket li > span:nth-child(2), .mini-prices li span:first-child { font-family: var(--font-display); font-weight: 600; font-stretch: 100%; }

/* Send summary card on the online sending page */
.portal-card {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
}
@media (max-width: 560px) { .portal-card { transform: none; } }
.portal-rows { display: grid; margin: 0; }
.portal-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.portal-rows dt { color: var(--muted); }
.portal-rows dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.portal-bar { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--coral) 35%, var(--surface-2)); overflow: hidden; }
.portal-bar span { display: block; width: 99.4%; height: 100%; border-radius: 999px; background: var(--brand); }
.portal-foot { font-size: 0.95rem; color: var(--muted); }
.portal-foot b { color: var(--ink); font-family: var(--font-display); }
.code-note { font-size: 0.85rem; color: var(--muted); }

/* Register page */
.register-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .register-grid { grid-template-columns: minmax(0, 1fr); } }
.register-main { display: grid; gap: 16px; min-width: 0; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.form-card input[type="checkbox"], .form-card input[type="radio"] { width: 20px; height: 20px; min-height: 0; padding: 0; }
.pack-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pack-pick legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.pick {
  --tier: var(--brand);
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 14px 12px;
  border: 1.5px solid var(--line);
  border-top: 5px solid var(--tier);
  border-radius: 16px;
  background: var(--bg);
  cursor: pointer;
}
.pick[data-tier="sky"] { --tier: var(--sky); }
.pick[data-tier="yellow"] { --tier: var(--yellow); }
.pick[data-tier="coral"] { --tier: var(--coral); }
.pick[data-tier="volume"] { --tier: var(--ink); }
.form-card .pick input { position: absolute; top: 12px; right: 12px; opacity: 0; pointer-events: none; }
.pick:has(input:checked) { border-color: var(--brand); border-top-color: var(--tier); box-shadow: 0 0 0 2px var(--brand); background: var(--surface); }
.pick:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.pick-name { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pick-qty { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; line-height: 1.2; }
.pick-price { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.pick-rate { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.form-card .check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 400; cursor: pointer; }
.form-card .check input { margin-top: 3px; accent-color: var(--brand-strong); }
.check a { color: var(--brand-ink); font-weight: 700; }
.form-error { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--coral) 20%, transparent); font-weight: 700; }
.form-card [aria-invalid="true"] { border-color: var(--coral); }
.form-card button.btn { justify-self: start; }
.order-card {
  position: sticky;
  top: calc(84px + env(safe-area-inset-top, 0px));
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 22px;
  background: var(--navy);
  color: var(--on-navy);
}
@media (max-width: 900px) { .order-card { position: static; } }
.order-card .ticket-head { color: var(--on-navy-muted); }
.order-pack { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.order-qty { font-family: var(--font-display); font-size: 1.1rem; }
.order-qty b { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-block: 1px dashed color-mix(in srgb, var(--on-navy) 25%, transparent);
}
.order-total b { font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; color: var(--yellow); }
.order-card .ticks svg { color: var(--brand); }
.order-steps { display: grid; gap: 4px; margin: 0; padding-left: 1.2em; font-size: 0.95rem; color: var(--on-navy-muted); }
.reg-done { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); border: 2px solid var(--brand); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.reg-done h2 { font-size: 1.6rem; font-weight: 900; }
.reg-done .btn { justify-self: start; }
#r-summary { justify-self: stretch; white-space: pre-line; }
.closer-cta { margin-top: 22px; }
@media (min-width: 1000px) {
  .pack-pick { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pick { padding-inline: 10px; }
  .pick-qty { font-size: 1.02rem; }
}
@media (max-width: 999px) {
  .pack-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick:last-child { grid-column: 1 / -1; }
}

:root { padding-top: env(safe-area-inset-top, 0px); }
