/* ============================================================================
   12Testers — Design system & landing page styles
   ----------------------------------------------------------------------------
   Structure
     01. Fonts & fallback metrics
     02. Design tokens
     03. Reset & base
     04. Layout primitives
     05. Typography
     06. Buttons & links
     07. Header & navigation
     08. Hero
     09. Trust strip
     10. Problem section
     11. How it works
     12. Pricing
     13. Ordering / Upwork explanation
     14. Features grid
     15. Why 12Testers
     16. Testing timeline
     17. Education
     18. FAQ
     19. Final CTA
     20. Footer
     21. Reveal animations
     22. Responsive
     23. Print & reduced motion
   ========================================================================= */

/* --------------------------------------------------------------------------
   01. FONTS
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter Fallback";
  src: local("Segoe UI"), local("Roboto"), local("Helvetica Neue"), local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.4%;
  line-gap-override: 0%;
}

/* --------------------------------------------------------------------------
   02. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --ink: #0f172a;

  /* Text */
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;

  /* Brand */
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-ink: #1e40af;
  --blue-tint: #eff6ff;
  --indigo: #4f46e5;
  --green: #16a34a;
  --green-tint: #f0fdf4;

  /* Lines */
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Elevation — kept subtle on purpose */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --sh-sm: 0 1px 3px rgba(15, 23, 42, .07), 0 1px 2px rgba(15, 23, 42, .04);
  --sh-md: 0 4px 12px -2px rgba(15, 23, 42, .08), 0 2px 6px -2px rgba(15, 23, 42, .05);
  --sh-lg: 0 12px 32px -10px rgba(15, 23, 42, .14), 0 4px 12px -4px rgba(15, 23, 42, .06);
  --sh-xl: 0 28px 64px -20px rgba(15, 23, 42, .22), 0 8px 20px -8px rgba(15, 23, 42, .08);
  --sh-blue: 0 1px 2px rgba(37, 99, 235, .28), 0 10px 24px -10px rgba(37, 99, 235, .55);

  /* Layout */
  --container: 1160px;
  --gutter: clamp(1.125rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --header-h: 66px;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .45s;

  /* Fonts */
  --font-sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   03. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01";
}

body.has-menu-open { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul, ol { list-style: none; padding: 0; }

[hidden] { display: none !important; }

::selection { background: rgba(37, 99, 235, .16); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.25rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  font-size: .9rem;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); text-decoration: none; }

/* Icon defaults — line icons inherit colour from their parent */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.icon--tick { stroke-width: 2.6; width: 1em; height: 1em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   04. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section--surface { background: var(--surface); }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }

.section__head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section__head--left { text-align: left; margin-inline: 0; }

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .875rem;
}
.section__eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .55;
}

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.4vw, 1.75rem);
  box-shadow: var(--sh-xs);
}

/* --------------------------------------------------------------------------
   05. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

.h1 { font-size: clamp(2.15rem, 1.5rem + 3.2vw, 3.45rem); letter-spacing: -.032em; }
.h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); letter-spacing: -.028em; }
.h3 { font-size: clamp(1.125rem, 1.02rem + .42vw, 1.375rem); }
.h4 { font-size: 1.0625rem; }

.lead {
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-soft);
}

.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.6; }
.center { text-align: center; }

.grad {
  background: linear-gradient(96deg, var(--blue) 0%, var(--indigo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   06. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1;
  letter-spacing: -.01em;
  padding: .8125rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    transform .16s var(--ease),
    box-shadow .18s var(--ease),
    background-color .18s var(--ease),
    border-color .18s var(--ease),
    color .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: translateY(0) scale(.99); }

.btn__arrow { transition: transform .18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  box-shadow: var(--sh-blue);
}
.btn--primary:hover {
  --btn-bg: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, .3), 0 16px 30px -12px rgba(37, 99, 235, .62);
}

.btn--ghost {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-border: var(--border-strong);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover {
  --btn-border: #94a3b8;
  transform: translateY(-1px);
  box-shadow: var(--sh-sm);
}

.btn--soft {
  --btn-bg: var(--blue-tint);
  --btn-fg: var(--blue-ink);
  --btn-border: #dbeafe;
}
.btn--soft:hover { --btn-bg: #dbeafe; transform: translateY(-1px); }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--blue-ink);
  box-shadow: 0 10px 26px -12px rgba(2, 6, 23, .55);
}
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -14px rgba(2, 6, 23, .6); }

.btn--onDark {
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, .34);
  --btn-bg: rgba(255, 255, 255, .06);
}
.btn--onDark:hover {
  --btn-bg: rgba(255, 255, 255, .14);
  --btn-border: rgba(255, 255, 255, .6);
  transform: translateY(-1px);
}

.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; border-radius: var(--r-lg); }
.btn--sm { padding: .625rem 1rem; font-size: .875rem; border-radius: var(--r-sm); }
.btn--block { width: 100%; }

/* Compact label swap used by the header CTA on small screens */
.btn__short { display: none; }

.btn[data-unconfigured="true"] {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--blue);
}
.text-link .icon { width: 1em; height: 1em; transition: transform .18s var(--ease); }
.text-link:hover { color: var(--blue-dark); text-decoration: none; }
.text-link:hover .icon { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   07. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02), 0 8px 24px -18px rgba(15, 23, 42, .35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -.03em;
  text-decoration: none !important;
  flex: none;
}
/* Logo image. The source PNG has a transparent background, so it works on
   both the white header and the white footer without a plate behind it. */
.brand__logo {
  width: 38px;
  height: 38px;
  flex: none;
  object-fit: contain;
}

.brand__name span { color: var(--blue); font-weight: 700; }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  display: inline-block;
  padding: .5rem .8rem;
  border-radius: var(--r-sm);
  font-size: .9125rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none !important;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--surface-alt); }
.nav__link.is-active,
.nav__link[aria-current="page"] { color: var(--blue); background: var(--blue-tint); }

.site-header__actions { display: flex; align-items: center; gap: .6rem; flex: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  place-items: center;
  gap: 5px;
  flex-direction: column;
  box-shadow: var(--sh-xs);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .24s var(--ease), opacity .18s var(--ease);
}
.site-header.is-menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile panel
   NOTE: the header uses backdrop-filter, which makes it the containing block
   for position:fixed descendants. The panel is therefore absolutely positioned
   against the header (top: 100% = directly below the bar) with an explicit
   viewport-derived height, rather than using `inset`. */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 90;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: var(--surface);
  padding: 1.25rem var(--gutter) 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  border-top: 1px solid var(--border);
}
.site-header.is-menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu__list { display: grid; gap: .15rem; margin-bottom: 1.5rem; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem .25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none !important;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__link .icon { width: 1rem; height: 1rem; color: var(--muted); stroke-width: 2; }
.mobile-menu__link[aria-current="page"] { color: var(--blue); }
.mobile-menu__link[aria-current="page"] .icon { color: var(--blue); }
.mobile-menu__foot { display: grid; gap: .75rem; }
.mobile-menu__note {
  font-size: .8125rem;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   08. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 380px at 78% -8%, rgba(79, 70, 229, .10), transparent 68%),
    radial-gradient(620px 340px at 6% 4%, rgba(37, 99, 235, .10), transparent 66%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .85rem .4rem .6rem;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--blue-ink);
  box-shadow: var(--sh-xs);
  margin-bottom: 1.25rem;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .16);
}

.hero__title { margin-bottom: 1.15rem; }
.hero__lead { max-width: 34ch; margin-bottom: 1.6rem; }

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.4rem;
  margin-bottom: 2rem;
}
.benefits li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-soft);
}
.benefits .icon { color: var(--green); width: .95rem; height: .95rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.1rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8375rem;
  color: var(--muted);
}
.hero__note .icon { width: .95rem; height: .95rem; color: var(--green); }

/* --- Hero visual: abstract status card (no third-party UI screenshots) --- */
.hero__visual { position: relative; }

.visual-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-xl);
  padding: 1.4rem;
  overflow: hidden;
}
.visual-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--indigo) 60%, var(--green));
}

.visual-card__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.15rem;
}
.visual-card__glyph {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue-tint);
  color: var(--blue);
}
.visual-card__glyph .icon { width: 17px; height: 17px; }
.visual-card__title {
  display: block;
  font-size: .9375rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
}
.visual-card__sub {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.3;
}
.status-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .6rem;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  border: 1px solid #bbf7d0;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #15803d;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.visual-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1.15rem;
}
.metric {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .85rem .95rem;
}
.metric__value {
  display: block;
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.1;
}
.metric__label {
  display: block;
  margin-top: .15rem;
  font-size: .775rem;
  font-weight: 500;
  color: var(--muted);
}

.progress {
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--surface-alt);
  overflow: hidden;
}
.progress__bar {
  display: block;
  height: 100%;
  width: 64%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--indigo));
}
.progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .6rem;
  font-size: .775rem;
  color: var(--muted);
}
.progress__meta strong { color: var(--text-soft); font-weight: 600; }

.visual-card__rows { display: grid; gap: .55rem; margin-top: 1.15rem; }
.visual-card__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem .8rem;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--muted);
}
.visual-card__rows b {
  color: var(--ink);
  font-weight: 600;
}

/* Developer → testing → Play flow strip */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.flow span {
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  box-shadow: var(--sh-xs);
}
.flow .icon { width: .85rem; height: .85rem; stroke-width: 2.2; color: var(--border-strong); }

/* --------------------------------------------------------------------------
   09. TRUST STRIP
   -------------------------------------------------------------------------- */
.stats {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: 1.15rem clamp(1rem, 2vw, 1.5rem);
  background: var(--surface);
  text-align: center;
}
.stat__value {
  font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem);
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.25;
}
.stat__label {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
}
.stats__note {
  margin-top: .9rem;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. PROBLEM SECTION
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
.split__copy p + p { margin-top: 1rem; }

.callout {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--blue-tint);
  border: 1px solid #dbeafe;
  font-size: .9375rem;
  color: var(--blue-ink);
  line-height: 1.6;
}
.callout strong { font-weight: 650; }

.step-cards { display: grid; gap: 1rem; }
.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.2rem 1.35rem;
  box-shadow: var(--sh-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.step-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: var(--sh-md);
}
.step-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--blue-tint);
  color: var(--blue);
  border: 1px solid #dbeafe;
}
.step-card__icon .icon { width: 20px; height: 20px; }
.step-card h3 { margin-bottom: .2rem; }
.step-card p { font-size: .9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. HOW IT WORKS
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
}

.step {
  position: relative;
  text-align: center;
  padding-inline: .5rem;
}
.step__num {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.15rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  font-size: 1.0625rem;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--blue);
}
.step h3 { margin-bottom: .45rem; }
.step p { font-size: .9125rem; color: var(--muted); max-width: 34ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   12. PRICING
   -------------------------------------------------------------------------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--sh-sm);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--sh-lg);
}

.plan--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--sh-lg);
  padding-top: 2.1rem;
}
.plan--featured:hover { box-shadow: 0 0 0 1px var(--blue), var(--sh-xl); }

.plan__badge {
  position: absolute;
  top: -.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem .8rem;
  border-radius: var(--r-pill);
  background: linear-gradient(96deg, var(--blue), var(--indigo));
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .8);
}

.plan__head { padding-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.plan__name {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan--featured .plan__name { color: var(--blue); }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  margin: .55rem 0 .5rem;
}
.plan__amount {
  font-size: clamp(2.1rem, 1.8rem + 1vw, 2.6rem);
  font-weight: 780;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1;
}
.plan__period { font-size: .8125rem; color: var(--muted); font-weight: 500; }

.plan__desc { font-size: .8875rem; color: var(--text-soft); line-height: 1.55; }

.plan__features {
  display: grid;
  gap: .6rem;
  padding: 1.15rem 0 1.35rem;
  margin: 0;
  flex: 1;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .8875rem;
  color: var(--text-soft);
}
.plan__features .icon {
  color: var(--green);
  width: 1rem;
  height: 1rem;
  margin-top: .22em;
}

.plan__cta { margin-top: auto; }
.plan__cta .btn {
  font-size: .875rem;
  padding-inline: .9rem;
  gap: .4rem;
  text-wrap: balance;
}
.plan__foot {
  margin-top: .7rem;
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
}

.pricing__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
  font-size: .8375rem;
  color: var(--muted);
  text-align: center;
  flex-wrap: wrap;
}
.pricing__note .icon { width: 1rem; height: 1rem; color: var(--blue); }

/* --------------------------------------------------------------------------
   13. ORDERING / UPWORK EXPLANATION
   -------------------------------------------------------------------------- */
.order-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--sh-md);
}
.order-info__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--blue-tint);
  color: var(--blue);
  border: 1px solid #dbeafe;
  margin-bottom: 1rem;
}
.order-info__icon .icon { width: 22px; height: 22px; }
.order-info h2 { font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.05rem); }

.order-steps { display: grid; gap: .85rem; counter-reset: order; }
.order-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
  padding: .95rem 1.05rem;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
}
.order-steps li::before {
  counter-increment: order;
  content: counter(order);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  margin-top: .1rem;
}
.order-steps strong { display: block; font-size: .9125rem; color: var(--ink); font-weight: 650; }
.order-steps span { font-size: .8375rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   14. FEATURES GRID
   -------------------------------------------------------------------------- */
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.3rem;
  box-shadow: var(--sh-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: var(--sh-md);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: .9rem;
}
.feature__icon .icon { width: 19px; height: 19px; }
.feature h3 { font-size: 1rem; margin-bottom: .3rem; }
.feature p { font-size: .8625rem; color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   15. WHY 12TESTERS
   -------------------------------------------------------------------------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
.why__list { display: grid; gap: 1rem; }

.why-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: #c7d2fe;
  box-shadow: var(--sh-md);
}
.why-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--blue-tint), #eef2ff);
  color: var(--indigo);
  border: 1px solid #e0e7ff;
}
.why-card__icon .icon { width: 20px; height: 20px; }
.why-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.why-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   16. TIMELINE
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, #dbeafe, var(--blue), var(--indigo));
  opacity: .5;
}
.tl-step { position: relative; text-align: center; }
.tl-step__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  color: var(--blue);
}
.tl-step__dot .icon { width: 19px; height: 19px; }
.tl-step h3 { font-size: .9125rem; margin-bottom: .2rem; }
.tl-step p { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.tl-step__index {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--border-strong);
  margin-bottom: .3rem;
}

/* --------------------------------------------------------------------------
   17. EDUCATION
   -------------------------------------------------------------------------- */
.education {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--sh-md);
}
.education p + p { margin-top: 1rem; }
.education__aside {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.4rem;
}
.education__aside h3 { font-size: 1rem; margin-bottom: .75rem; }
.education__aside ul { display: grid; gap: .6rem; }
.education__aside li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .8625rem;
  color: var(--text-soft);
}
.education__aside .icon { color: var(--green); width: .95rem; height: .95rem; margin-top: .25em; }

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  overflow: hidden;
}
.faq__item[open] {
  border-color: #bfdbfe;
  box-shadow: var(--sh-md);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: .9688rem;
  color: var(--ink);
  transition: background-color .18s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--bg); }
.faq__question { text-wrap: balance; }

.faq__chevron {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--muted);
  transition: transform .26s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.faq__chevron .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
  background: var(--blue-tint);
  color: var(--blue);
}

.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.faq__item[open] .faq__body { grid-template-rows: 1fr; }
.faq__body > div { overflow: hidden; }
.faq__body p {
  padding: 0 1.25rem 1.2rem;
  font-size: .9125rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   19. FINAL CTA
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #0b1220 0%, #15224a 52%, #1e2870 100%);
  color: #fff;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 300px at 82% 0%, rgba(79, 70, 229, .5), transparent 70%),
    radial-gradient(480px 280px at 8% 100%, rgba(37, 99, 235, .38), transparent 72%);
  pointer-events: none;
}
.final-cta__inner {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.final-cta h2 { color: #fff; margin-bottom: .9rem; }
.final-cta p { color: rgba(255, 255, 255, .74); font-size: clamp(1rem, .95rem + .4vw, 1.15rem); }
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: 2rem;
}
.final-cta__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1.5rem;
  margin-top: 1.75rem;
  font-size: .8375rem;
  color: rgba(255, 255, 255, .62);
}
.final-cta__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.final-cta__meta .icon { width: .9rem; height: .9rem; color: #4ade80; }

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: clamp(2.5rem, 5vw, 3.75rem) 1.75rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.25rem;
}
.footer__about { max-width: 34ch; }
.footer__about p { margin-top: .85rem; font-size: .8875rem; color: var(--muted); }

.footer__col h3 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .9rem;
}
.footer__links { display: grid; gap: .55rem; }
.footer__links a {
  font-size: .8875rem;
  color: var(--text-soft);
  text-decoration: none;
  width: fit-content;
}
.footer__links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-bottom: 1.75rem;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none !important;
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.footer__social a:hover {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--ink);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--muted);
}
.footer__legal { max-width: 62ch; }
.footer__legal strong { color: var(--text-soft); font-weight: 600; }

/* --------------------------------------------------------------------------
   21. REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .6s var(--ease) var(--reveal-delay, 0ms),
    transform .6s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE
   -------------------------------------------------------------------------- */

/* --- Large laptop --- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 2.5rem; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .timeline::before { display: none; }
}

/* --- Tablet --- */
@media (max-width: 1020px) {
  .pricing__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .plan--featured { order: -1; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .hero__lead { max-width: 52ch; }
  .hero__visual { max-width: 540px; margin-inline: auto; width: 100%; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split,
  .why,
  .education,
  .order-info { grid-template-columns: minmax(0, 1fr); }
  .education__aside { max-width: 560px; }
  .stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; max-width: 560px; margin-inline: auto; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; text-align: left; }
  .step__num { margin: 0; }
  .step p { margin-inline: 0; }
  .step__body { padding-top: .35rem; }
}

/* --- Mobile navigation breakpoint ---
   The desktop nav (5 links + full CTA) needs ~790px of content width, so the
   hamburger takes over below 900px to guarantee it never gets squeezed. */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Keep a CTA visible at all times, just more compact */
  .btn__full { display: none; }
  .btn__short { display: inline; }
  .site-header__actions .btn--sm {
    padding: .55rem .8rem;
    font-size: .8125rem;
  }
  .site-header__inner { gap: .75rem; }
}

/* --- Mobile --- */
@media (max-width: 640px) {
  :root { --header-h: 62px; }

  body { font-size: .9688rem; }

  .hero { padding-block: 2.25rem 2.5rem; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero__lead { max-width: none; }
  .benefits { gap: .5rem .9rem; }
  .benefits li { font-size: .8625rem; }
  .hero__actions { display: grid; gap: .65rem; }
  .hero__actions .btn { width: 100%; }
  .hero__note { justify-content: center; text-align: center; }

  .visual-card { padding: 1.1rem; border-radius: var(--r-xl); }
  .visual-card__metrics { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .metric__value { font-size: 1.4rem; }
  .status-pill { font-size: .625rem; }

  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1rem .75rem; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }

  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: .75rem; }
  .tl-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .9rem;
    text-align: left;
    align-items: center;
    padding: .85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
  }
  .tl-step__dot { margin: 0; width: 38px; height: 38px; }
  .tl-step__index { display: none; }
  .tl-step h3 { margin-bottom: .1rem; }

  .final-cta__actions { display: grid; gap: .65rem; }
  .final-cta__actions .btn { width: 100%; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .step-card { padding: 1.05rem 1.1rem; }
  .order-info { border-radius: var(--r-lg); }
  .education { border-radius: var(--r-xl); }

  /* Comfortable tap targets */
  .btn { min-height: 46px; }
  .btn--sm { min-height: 40px; }
  .faq__item summary { padding: 1rem 1.05rem; }
  .faq__body p { padding-inline: 1.05rem; }
}

/* --- Small phones --- */
@media (max-width: 380px) {
  .stat__value { font-size: 1.05rem; }
  .brand { font-size: 1rem; }
}

@media (max-width: 360px) {
  .brand__name { display: none; }
}

/* --------------------------------------------------------------------------
   23. PRINT & REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; }

  .plan:hover,
  .feature:hover,
  .step-card:hover,
  .why-card:hover,
  .btn:hover { transform: none !important; }

  .faq__item[open] .faq__body { grid-template-rows: 1fr; }
}

@media print {
  .site-header,
  .mobile-menu,
  .final-cta__actions,
  .skip-link { display: none !important; }

  body { background: #fff; }
  .faq__item .faq__body { grid-template-rows: 1fr !important; }
  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   24. ARTICLE / LONG-FORM PAGES
   -------------------------------------------------------------------------- */
.article-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
/* Keep the article header aligned with the prose column below it. */
.article-hero > .container { max-width: calc(720px + 2 * var(--gutter)); }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: 1.15rem;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs .icon { width: .8rem; height: .8rem; stroke-width: 2.2; opacity: .6; }

.article-hero h1 { max-width: 22ch; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1.25rem;
  font-size: .8375rem;
  color: var(--muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta .icon { width: .95rem; height: .95rem; }

.prose {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.prose > * + * { margin-top: 1.15rem; }
.prose p {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--text-soft);
}
.prose h2 {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  margin-top: 2.75rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose ul,
.prose ol {
  display: grid;
  gap: .55rem;
  padding-left: 1.4rem;
  color: var(--text-soft);
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { font-size: 1.0625rem; line-height: 1.7; padding-left: .15rem; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: .12em .38em;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin-block: 2.5rem;
}

.prose .callout {
  margin-top: 1.75rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-md);
  background: var(--blue-tint);
  border: 1px solid #dbeafe;
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--blue-ink);
}
.prose .callout p { font-size: inherit; color: inherit; line-height: inherit; }
.prose .callout > * + * { margin-top: .7rem; }

.prose .callout--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--sh-xs);
}
.toc h2 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.toc ol { list-style: decimal; padding-left: 1.3rem; display: grid; gap: .4rem; }
.toc li { font-size: .9125rem; }
.toc a { color: var(--text-soft); }
.toc a:hover { color: var(--blue); }

.article-cta {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--sh-md);
}
.article-cta h2 { font-size: clamp(1.3rem, 1.15rem + .8vw, 1.65rem); margin-bottom: .6rem; }
.article-cta p { font-size: .9375rem; color: var(--muted); }
.article-cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

/* 404 */
.error-page {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 62vh;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.error-page .h1 { font-size: clamp(3rem, 2rem + 6vw, 5rem); line-height: 1; }
.error-page p { max-width: 46ch; margin-inline: auto; }

@media (max-width: 640px) {
  .article-cta__actions { display: grid; }
  .article-cta__actions .btn { width: 100%; }
  .prose p,
  .prose li { font-size: 1rem; }
}
