/* =========================================================
   myas2.com: shared layout, type and geometry.
   One layout for both looks. Geometry, spacing and type follow
   the live ecgrid.com theme (../local-sites/ecgrid theme
   css/styles.css, identical to the live stylesheet 2026-12-01):
   bound frame, 1280px column, 32px frame pad, 64px gutter,
   section rhythm, nav and footer sizing.
   Colour comes from the theme files (theme-ecgrid.css,
   theme-blue-ocean.css), which set the colour tokens used below.
   ========================================================= */

:root {
  /* ECGrid canon type (03-typography.md), both looks */
  --font-display: 'EB Garamond', 'Goudy Old Style', Georgia, serif;
  --font-sans: 'Roboto Condensed', 'Roboto', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ecgrid.com geometry */
  --container: 1280px;
  --frame-pad: 32px;
  --gutter: 64px;
  --radius: 8px;       /* buttons */
  --card-radius: 12px; /* cards, panels */

  /* first screen: the hero takes about two-thirds of the screen, so the big numbers below peek through */
  --nav-h: 77px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--page-bg); }
body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 300;
  background: var(--btn-bg); color: var(--btn-ink);
  padding: 10px 16px; border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

/* Theme-only elements (logos drawn per look) */


/* ---------- BOUND FRAME (as ecgrid.com) ---------- */
.site-frame {
  max-width: calc(var(--container) + var(--frame-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--frame-pad);
  background: var(--frame-bg);
  min-height: 100vh;
  position: relative;
}
.inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 3;
}

/* ---------- NAV (as ecgrid.com nav.topnav) ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  padding-right: calc(var(--gutter) - var(--nav-btn-shift, 10px)); /* the button moves right by the extra gap; the links stay put */
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--nav-line);
  transition: box-shadow 0.2s;
}
.topnav.is-scrolled { box-shadow: var(--nav-shadow); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: 16px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--nav-ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--nav-ink-hover); background: var(--nav-hover-bg); }
.nav-links a[aria-current="page"] { color: var(--nav-ink-hover); background: var(--nav-hover-bg); }
.mobile-nav a[aria-current="page"] { color: var(--accent-text); }
/* the links and Sign in sit well clear of the button: 56px from "Sign in" to the
   button (14 padding + 42 gap), against 32px between the labels themselves */
.nav-actions { display: flex; align-items: center; gap: 42px; }
.nav-signin {
  color: var(--nav-ink);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-signin:hover { color: var(--nav-ink-hover); background: var(--nav-hover-bg); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--nav-ink-hover); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: sticky;
  top: 79px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--gutter) 24px;
  background: var(--frame-bg);
  border-bottom: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 16px; justify-content: center; }

/* ---------- BUTTONS (as ecgrid.com .btn-primary / .btn-ghost / .nav-cta) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; letter-spacing: 0.04em; border-radius: 6px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); font-weight: 700; }
.btn-primary::after { content: '\2192'; transition: transform 0.15s; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--btn-hover-shadow); background: var(--btn-bg-hover); }
.btn-primary:hover::after { transform: translateX(2px); }
.btn-ghost {
  background: transparent;
  color: var(--ghost-ink);
  border: 1px solid var(--ghost-line);
  font-weight: 400;
}
.btn-ghost:hover { background: var(--ghost-hover-bg); border-color: var(--ghost-line-hover); }

.text-link {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.text-link:hover { color: var(--link-hover); }

/* ---------- HERO (as ecgrid.com: centred, type-first) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(400px, calc(66svh - var(--nav-h)));
  padding: clamp(32px, 5vh, 72px) 0;
  background: var(--hero-bg);
  color: var(--hero-ink);
}
.hero::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(760px, 100vh, 1400px);
  height: clamp(760px, 100vh, 1400px);
  background: var(--hero-glow);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.hero .inner { z-index: 2; width: 100%; }
.hero-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, min(6vw, 9.5vh), 128px); /* scales with the screen, width and height */
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 26ch; /* the lockup: "Finally, purpose-built / B2B certificates for AS2." */
  margin: 0 auto;
  text-wrap: balance;
}
/* <em>: the turn of the line, as on ecgrid.com ("Speed to market, not speed to regret") */
.hero-h em, .section-h em, .why-content h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--em-color);
}
.hero-h em { color: var(--hero-em); }
.hero-turn { display: block; } /* the italic turn, with its full stop, on its own line */
.hero-sub-row {
  font-size: clamp(19px, calc(0.7vw + 0.9vh), 32px);
  max-width: 38em;
  margin: clamp(28px, 4vh, 48px) auto 0;
  padding-top: clamp(28px, 4vh, 48px);
  border-top: 1px solid var(--hero-line);
}
.hero-sub {
  font-size: 1em;
  line-height: 1.5;
  font-weight: 300;
  color: var(--hero-ink-dim);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(32px, 5vh, 60px);
}

/* ---------- BIG NUMBERS (as ecgrid.com .bignum; replaced the ticker 12/3) ---------- */
.bignum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.bignum-item { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.bignum-v {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 5vw, 76px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--ink-strong);
  margin-bottom: 14px;
}
.bignum-v em { font-style: italic; font-weight: 400; color: var(--em-color); }
.bignum-unit { font-size: 0.42em; margin-left: 0.14em; letter-spacing: 0; }
.bignum-pre { font-size: 0.3em; font-style: italic; letter-spacing: 0; color: var(--ink-faint-text); margin-right: 0.18em; }
.bignum-l {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint-text);
}
.nowrap { white-space: nowrap; }

/* ---------- SECTIONS (ecgrid.com rhythm: 56px) ---------- */
.section { position: relative; z-index: 3; padding: 56px 0; }
.band { background: var(--band-bg); }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 32px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  max-width: 18ch;
  margin-bottom: 32px;
}
.section-h--wide { max-width: none; }
.section-sub {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink-dim);
  max-width: 58ch;
}

/* ---------- WHAT MYAS2 DOES: intro + diagram (as ecgrid.com .platform-grid) ---------- */
.what { padding-top: 64px; }
.what-intro, .intro-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.what-viz, .intro-viz { width: 100%; max-width: 560px; justify-self: center; }
.intro-split .section-h { margin-bottom: 24px; }

/* numbered why-list (as ecgrid.com .why-list) */
.why-list { margin-top: 56px; }
.why-list--flush { margin-top: 0; }
.why-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s;
}
.why-item:first-child { border-top: 1px solid var(--line); }
.why-item:hover { padding-left: 12px; }
.why-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  padding-top: 6px;
  transition: color 0.3s;
}
.why-item:hover .why-num { color: var(--accent-text); }
.why-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  margin-bottom: 14px;
}
/* Copy layout note: each "Today" line sits under its "With MyAS2" line, smaller and muted. */
.why-content .with {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  max-width: 68ch;
}
.why-content .with strong { color: var(--accent-text); font-weight: 700; }
.why-content .today {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink-faint-text);
  max-width: 68ch;
}
.today-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 4px;
}
.why-link { margin-top: 16px; font-size: 15px; }

/* ---------- HOW IT WORKS: steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.step {
  position: relative;
  padding: 28px 24px 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--card-radius);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--step-num-bg);
  border: 1px solid var(--step-num-line);
  color: var(--step-num-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
  animation: step-stone 8s ease-in-out infinite;
}
.step:nth-child(2) .step-num { animation-delay: 2s; }
.step:nth-child(3) .step-num { animation-delay: 4s; }
.step:nth-child(4) .step-num { animation-delay: 6s; }
/* each number holds the "on" colour (stone in A) for a quarter of the cycle */
@keyframes step-stone {
  0%, 27%, 100% { background: var(--step-num-bg); border-color: var(--step-num-line); color: var(--step-num-ink); box-shadow: none; }
  5%, 20% { background: var(--step-on-bg); border-color: var(--step-on-bg); color: var(--step-on-ink); box-shadow: var(--step-on-glow); }
}
.step p { color: var(--card-ink-dim); font-size: 15px; line-height: 1.6; font-weight: 300; }
.step p strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--card-ink);
  margin-bottom: 10px;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 46px;
  right: -17px;
  width: 18px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* the payoff after the four steps: one paragraph, three outcomes on the steps' edges */
.steps-outcome {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.steps-outcome > span {
  position: relative;
  display: block;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
}
.steps-outcome > span::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 28px; height: 1px;
  background: var(--accent);
}
.steps-outcome em { font-style: italic; color: var(--em-color); }

/* ---------- REGISTRY: validation status (paper cards, as ecgrid.com story cards) ---------- */
.status-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.status-card {
  padding: 28px 26px 30px;
  background: var(--paper);
  color: var(--paper-ink);
  border: 1px solid var(--paper-line);
  border-radius: 14px;
}
.status-card p { color: var(--paper-ink-dim); font-size: 15px; line-height: 1.6; margin-top: 18px; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-badge strong { font-weight: 500; }
.status-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge--validated { background: var(--badge-solid-bg); color: var(--badge-solid-ink); }
.status-badge--key { border: 1px solid var(--badge-line); color: var(--badge-line-ink); }

/* ---------- WHAT YOU GET + PRICING ---------- */
.get-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  margin-top: 8px;
  align-items: start;
}
.get-list li {
  position: relative;
  padding: 16px 0 16px 36px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}
.get-list li:first-child { border-top: 1px solid var(--line); }
.get-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 22px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pricing {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--card-radius);
}
.pricing-note { color: var(--card-ink-dim); font-size: 16px; font-weight: 300; margin-bottom: 22px; }
.pricing-note strong { color: var(--card-ink); font-weight: 700; }
.price-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.price-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  background: var(--tile-bg);
}
.price-term {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--card-ink-dim);
}
.price-amt {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--card-ink);
}

/* ---------- CLOSING CTA (as ecgrid.com .final) ---------- */
.cta-band {
  position: relative;
  z-index: 3;
  overflow: hidden;
  text-align: center;
  padding: 96px 0;
  background: var(--cta-bg);
  border-bottom: 1px solid var(--line);
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: var(--cta-glow);
  filter: blur(60px);
  pointer-events: none;
}
.cta-band .inner { position: relative; z-index: 2; }
.cta-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint-text);
  margin-bottom: 32px;
}
.cta-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
  max-width: 14ch;
  margin: 0 auto 40px;
  text-wrap: balance;
}
.cta-h em { font-style: italic; color: var(--em-color); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent-text);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-text); }
.faq-item p {
  padding: 0 32px 18px 0;
  color: var(--ink-dim);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 72ch;
}

/* ---------- FOOTER (as ecgrid.com footer) ---------- */
.site-footer {
  position: relative;
  z-index: 3;
  padding: 64px 0 40px;
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-top: 1px solid var(--line);
}
.site-footer .inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "brand links" "legal legal";
  gap: 48px;
  align-items: center;
}
.footer-brand { grid-area: brand; }
.footer-logo { height: 44px; width: auto; opacity: 0.92; }
.footer-links {
  grid-area: links;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13.5px;
}
.footer-links a { color: var(--footer-link); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-text); }
.footer-links .sep { color: var(--footer-ink-dim); }
.footer-legal {
  grid-area: legal;
  padding-top: 32px;
  border-top: 1px solid var(--footer-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--footer-ink-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* ---------- DIAGRAM (decorative SVG in "What MyAS2 does") ---------- */
.viz { display: block; width: 100%; height: auto; overflow: visible; }
.viz-glow-0 { stop-color: var(--accent); stop-opacity: 0.2; }
.viz-glow-1 { stop-color: var(--accent); stop-opacity: 0; }
.viz-orbit { fill: none; stroke: var(--viz-line); stroke-dasharray: 2 6; }
.viz-link { stroke: var(--viz-line); stroke-width: 1; }
.viz-packet {
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 4 100;
  stroke-dashoffset: 4;
  opacity: 0;
  animation: viz-packet 12s linear infinite;
  animation-delay: var(--d);
}
.viz-hub { fill: var(--viz-hub-bg); stroke: var(--accent); stroke-width: 1.5; }
.viz-hub-ring {
  fill: none;
  stroke: var(--viz-line-strong);
  stroke-dasharray: 3 7;
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-spin 60s linear infinite;
}
.viz-ripple {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-ripple 2s ease-out infinite;
  animation-delay: -1.44s; /* lines each ripple up with a certificate leaving the hub */
}
.viz-pill {
  fill: var(--viz-node-bg);
  stroke: var(--viz-line-strong);
  animation: viz-pill 12s linear infinite;
  animation-delay: var(--d);
}
.viz-cert rect, .viz-cert line { fill: none; stroke: var(--viz-ink); stroke-width: 1.3; }
.viz-seal { fill: var(--accent); }
.viz-stub { fill: var(--viz-line-strong); }
.viz-track { fill: var(--viz-line); }
.viz-term {
  fill: var(--accent);
  transform-box: fill-box;
  transform-origin: left center;
  animation: viz-term 12s linear infinite;
  animation-delay: var(--d);
}
.viz-alert {
  fill: var(--alert-c);
  opacity: 0;
  animation: viz-alert 12s linear infinite;
  animation-delay: var(--d);
}

/* One 12s cycle per partner: term runs down, turns to alert with a pulsing dot,
   a new certificate leaves the hub (88-96%), arrives, and the term refills. */
@keyframes viz-term {
  0%   { transform: scaleX(1); fill: var(--accent); }
  66%  { fill: var(--accent); }
  72%  { fill: var(--alert-c); }
  94%  { transform: scaleX(0.06); fill: var(--alert-c); }
  97%  { transform: scaleX(1); fill: var(--accent); }
  100% { transform: scaleX(1); fill: var(--accent); }
}
@keyframes viz-alert {
  0%, 70% { opacity: 0; }
  73% { opacity: 1; }
  77% { opacity: 0.3; }
  81% { opacity: 1; }
  85% { opacity: 0.3; }
  89% { opacity: 1; }
  95% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
@keyframes viz-packet {
  0%, 88% { stroke-dashoffset: 4; opacity: 0; }
  88.5% { opacity: 1; }
  95.5% { stroke-dashoffset: -100; opacity: 1; }
  96%, 100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes viz-pill {
  0%, 94% { stroke: var(--viz-line-strong); }
  96.5% { stroke: var(--accent); }
  100% { stroke: var(--viz-line-strong); }
}
@keyframes viz-ripple {
  0% { transform: scale(1); opacity: 0.55; }
  60%, 100% { transform: scale(1.45); opacity: 0; }
}
@keyframes viz-spin { to { transform: rotate(360deg); } }

/* ---------- DIAGRAM (decorative SVG in the registry section) ----------
   One 10s cycle: a search is typed; entry 1 is swept and its domain check
   resolves (solid, as the Domain validated badge); entry 2 is swept and its
   key check resolves (outline, as Key checked); entry 3 arrives by upload and
   is never swept (dashed, as Uploaded). Everything clears and repeats. */
.reg-panel { fill: var(--viz-panel-bg); stroke: var(--viz-line); }
.reg-card, .reg-search { fill: var(--viz-node-bg); stroke: var(--viz-line-strong); }
.reg-mag { fill: none; stroke: var(--viz-ink); stroke-width: 1.5; stroke-linecap: round; }
.reg-type {
  fill: var(--viz-line-strong);
  transform-box: fill-box;
  transform-origin: left center;
  animation: reg-type 10s ease-in-out infinite;
}
.reg-sw-0 { stop-color: var(--accent); stop-opacity: 0; }
.reg-sw-1 { stop-color: var(--accent); stop-opacity: 0.22; }
.reg-sweep-edge { fill: var(--accent); }
.reg-sweep { opacity: 0; }
.reg-pill { fill: none; stroke: var(--viz-line-strong); stroke-dasharray: 4 4; }
.reg-pill-on--solid { fill: var(--accent); stroke: var(--accent); }
.reg-pill-on--line { fill: var(--viz-on-tint); stroke: var(--accent); stroke-width: 1.5; }
.reg-glyph { fill: none; stroke: var(--viz-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.reg-pill-text { fill: var(--viz-line-strong); }
.reg-row--1 { --g-on: var(--viz-on-ink); --t-on: var(--viz-on-ink-dim); }
.reg-row--2 { --g-on: var(--accent); --t-on: var(--accent); }
.reg-glyph--on { stroke: var(--g-on); }
.reg-pill-text--on { fill: var(--t-on); }
.reg-tick {
  fill: none;
  stroke: var(--g-on);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22; /* the tick is about 21 units long */
  stroke-dashoffset: 0;
}

.reg-row--1 .reg-sweep { animation: reg-sweep-1 10s linear infinite; }
.reg-row--1 .reg-on    { animation: reg-on-1 10s linear infinite; }
.reg-row--1 .reg-tick  { animation: reg-tick-1 10s ease-out infinite; }
.reg-row--2 .reg-sweep { animation: reg-sweep-2 10s linear infinite; }
.reg-row--2 .reg-on    { animation: reg-on-2 10s linear infinite; }
.reg-row--2 .reg-tick  { animation: reg-tick-2 10s ease-out infinite; }

@keyframes reg-type {
  0% { transform: scaleX(0); }
  8%, 88% { transform: scaleX(1); }
  94%, 100% { transform: scaleX(0); }
}
@keyframes reg-sweep-1 {
  0%, 8% { opacity: 0; transform: translateX(0); }
  9% { opacity: 1; }
  20% { opacity: 1; transform: translateX(578px); }
  21%, 100% { opacity: 0; transform: translateX(578px); }
}
@keyframes reg-sweep-2 {
  0%, 28% { opacity: 0; transform: translateX(0); }
  29% { opacity: 1; }
  40% { opacity: 1; transform: translateX(578px); }
  41%, 100% { opacity: 0; transform: translateX(578px); }
}
@keyframes reg-on-1 { 0%, 17% { opacity: 0; } 21%, 86% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes reg-on-2 { 0%, 37% { opacity: 0; } 41%, 86% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes reg-tick-1 {
  0%, 20% { stroke-dashoffset: 22; opacity: 1; }
  25%, 86% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 22; opacity: 0; }
}
@keyframes reg-tick-2 {
  0%, 40% { stroke-dashoffset: 22; opacity: 1; }
  45%, 86% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 22; opacity: 0; }
}

/* =========================================================
   INNER PAGES (Registry, CA, Why now, Buy, Support, End User Terms).
   Built from the home page's parts; these add a page header, heading
   and text rows, cards, a table and the support form.
   ========================================================= */

/* page header, as ecgrid.com's inner pages (page-platform.php .platform-hero-hybrid,
   page-builders.php): centred, the turn of the line on its own line, the sub
   under a hairline, the buttons centred */
.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 78px 0 64px;
  background: var(--hero-bg);
  color: var(--hero-ink);
  border-bottom: 1px solid var(--hero-line);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 45%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: var(--hero-glow);
  filter: blur(64px);
  pointer-events: none;
  z-index: 1;
}
.page-hero .inner { z-index: 2; }
.page-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin: 0 auto;
  text-wrap: balance;
}
.page-h em {
  display: block;
  font-style: italic;
  color: var(--hero-em);
  line-height: 0.88;
  margin-top: 0.22em;
}
/* the turn plus trailing punctuation on one line ("...changes?", Buy page) */
.page-h-turn { display: block; line-height: 0.88; margin-top: 0.22em; }
.page-h-turn em { display: inline; margin-top: 0; }
.page-sub {
  max-width: 980px;
  margin: 54px auto 0;
  padding-top: 42px;
  border-top: 1px solid var(--hero-line);
  font-size: 21px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--hero-ink-dim);
}
.page-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
/* a page that is only its header (Support) */
.page-hero--solo { padding: clamp(96px, 16vh, 180px) 0; border-bottom: 0; }

/* heading on the left, text on the right (as ecgrid.com .split-2) */
.split-list { border-top: 1px solid var(--line); }
.split-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.split-row h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  max-width: 16ch;
}
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink); max-width: 64ch; }
.prose p + p { margin-top: 16px; }
.prose--lead p:first-child {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--ink-strong);
}
.link-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; font-size: 16px; }

/* cards with a lead-in, four or three across (as ecgrid.com .outcome-card) */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  padding: 28px 24px 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-top: 2px solid var(--accent);
  border-radius: var(--card-radius);
  color: var(--card-ink-dim);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 300;
}
.feature-card strong { color: var(--card-ink); font-weight: 700; }
.feature-card--pick { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--btn-hover-shadow); }

/* two cards side by side, each with its own heading */
.card-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card {
  padding: 36px 36px 38px;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--card-radius);
}
.info-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--card-ink);
  margin-bottom: 14px;
}
.info-card p { color: var(--card-ink-dim); font-size: 16px; line-height: 1.65; }
.info-card p + p { margin-top: 12px; }

/* a caution under a set of cards */
.note {
  margin-top: 32px;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--accent);
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.65;
  max-width: 76ch;
}

/* certificate lifetimes table */
.data-table { width: 100%; max-width: 720px; border-collapse: collapse; }
.data-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint-text);
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line-strong);
}
.data-table td { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; }
.data-table th:last-child, .data-table td:last-child { text-align: right; }
.data-table td:last-child {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--ink-strong);
}
.data-table tr.is-now td { color: var(--accent-text); }
.data-table tr.is-now td:first-child { font-weight: 700; }
.data-table tr.is-now td:last-child { color: var(--em-color); font-style: italic; }
.table-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
.table-split .note { margin-top: 0; }

/* buy: prices as tiles (a table, so "Term" and "Price" stay attached to each tile) */
.price-table { width: 100%; border-collapse: separate; margin-bottom: 28px; }
.price-table tbody { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.price-table tr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  background: var(--tile-bg);
}
.price-table td { padding: 0; }
.price-table td:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--card-ink-dim);
}
.price-table td:last-child {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--card-ink);
}
.list-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 20px;
}
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps--5 .step-num { animation-duration: 10s; }
.steps--5 .step:nth-child(5) .step-num { animation-delay: 8s; }
.steps--5 .step p strong { font-size: 22px; }

/* closing band with a line of text under the heading */
.cta-text {
  max-width: 52ch;
  margin: -12px auto 36px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink-dim);
}
.cta-h--md { font-size: clamp(40px, 5vw, 72px); max-width: 18ch; }

.faq-list--single { grid-template-columns: 1fr; max-width: 900px; }
.source-note {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-faint-text);
}

/* ---------- REVEAL (JS adds .js; reduced motion skips it) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .why-item, .why-item:hover { transition: none; padding-left: 0; }
  .viz * { animation: none !important; }
  .viz-packet, .viz-ripple, .viz-alert, .reg-sweep { opacity: 0; }
  .step-num { animation: none; }
}

/* ---------- RESPONSIVE (ecgrid.com breakpoint: 960px) ---------- */
@media (max-width: 1180px) {
  .nav-links a, .nav-signin { padding: 8px 10px; font-size: 13.5px; }
  .nav-actions { gap: 30px; } /* 40px from Sign in to the button; 24px between labels here */
  .topnav { --nav-btn-shift: 6px; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .topnav { --nav-btn-shift: 0px; } /* the menu button keeps the gutter */
}
@media (min-width: 1061px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 960px) {
  body { --frame-pad: 0px; --gutter: 28px; }
  .hero { padding: 40px 0 44px; }
  .section { padding: 44px 0; }
  .what-intro, .intro-split { grid-template-columns: 1fr; gap: 40px; }
  .what-viz, .intro-viz { max-width: 480px; }
  .steps-outcome { grid-template-columns: 1fr; gap: 20px; }
  .faq-list { grid-template-columns: 1fr; }
  .faq-col + .faq-col .faq-item:first-child { border-top: none; }
  .cta-band { padding: 72px 0; }
  .split-row, .table-split { grid-template-columns: 1fr; gap: 24px; }
  .split-row { padding: 36px 0; }
  .table-split { gap: 32px; }
  .feature-grid, .feature-grid--3, .card-pair { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .get-grid { grid-template-columns: 1fr; gap: 40px; }
  .bignum-grid { gap: 32px; }
  .status-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-sub-row { font-size: 19px; }
  .feature-grid, .feature-grid--3, .card-pair { grid-template-columns: 1fr; }
  .price-table tbody { grid-template-columns: 1fr; }
  .info-card { padding: 28px 22px; }
  .page-hero { padding: 48px 0 44px; }
  .page-hero--solo { padding: 72px 0; }
  .page-h { font-size: clamp(42px, 12vw, 64px); }
  .page-sub { padding-top: 30px; margin-top: 32px; font-size: 18px; }
  .data-table td:last-child { font-size: 26px; }
  .why-item { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .why-num { padding-top: 0; }
  .why-content h3 { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .price-tiles { grid-template-columns: 1fr; }
  .price-tile { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .pricing { padding: 24px 20px; }
  .faq-item summary { font-size: 18px; }
  .steps-outcome > span { font-size: 21px; }
  .faq-item p { padding-right: 0; }
  .site-footer .inner { grid-template-columns: 1fr; grid-template-areas: "brand" "links" "legal"; gap: 28px; }
  .footer-links { justify-self: start; }
  .brand-logo { height: 30px; }
  .mobile-nav { top: 73px; }
}

/* ---------- CERTIFICATE LIFECYCLE (CA page) ----------
   Six stages on one line. A pulse runs stages 1 to 5 and each node lights as
   it passes (2s a stage, 10s a cycle); the dashed arc above marks the loop
   from Renew back to Issue every term; Revoke hangs off a dashed red line,
   the exception. Node centres sit at (2i+1)/12 of the width. */
.lifecycle { position: relative; padding-top: 72px; margin-top: 8px; }
.lc-loop { position: absolute; top: 0; left: 0; right: 0; height: 72px; pointer-events: none; }
.lc-loop svg { display: block; width: 100%; height: 100%; fill: none; stroke: var(--c-teal, var(--accent)); stroke-width: 1.5; stroke-dasharray: 5 5; }
.lc-loop-head {
  position: absolute; left: calc(25% - 6px); bottom: -2px;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 8px solid var(--c-teal, var(--accent));
}
.lc-loop-label {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  padding: 0 10px; background: var(--band-bg);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-strong);
}
.lc-track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto auto; }
.lc-track::before, .lc-track::after { content: ''; position: absolute; top: 32px; height: 0; }
.lc-track::before { left: calc(100% / 12); right: calc(100% * 3 / 12); border-top: 1px solid var(--ink-strong); opacity: 0.45; }
.lc-track::after { left: calc(100% * 9 / 12); right: calc(100% / 12); border-top: 1px dashed var(--alert-c); }
.lc-stage { position: relative; z-index: 1; text-align: center; padding: 0 14px; }
/* "Listed in the registry" takes two lines: every title shares one row (subgrid) and sits
   on the line above its text, so the nodes and the descriptions stay level across all six */
@supports (grid-template-rows: subgrid) {
  .lc-stage { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .lc-node { justify-self: center; }
  .lc-stage h3 { align-self: end; }
}
.lc-node {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--card-bg); border: 1px solid var(--card-line); color: var(--c-teal, var(--accent));
  margin-bottom: 20px;
  animation: lc-on 10s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}
.lc-node svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes lc-on {
  0%, 21%, 100% { background: var(--card-bg); border-color: var(--card-line); color: var(--c-teal, var(--accent)); box-shadow: none; }
  3%, 17% { background: var(--step-on-bg); border-color: var(--step-on-bg); color: var(--step-on-ink); box-shadow: var(--step-on-glow); }
}
.lc-stage--revoke .lc-node { animation: none; border: 1px dashed var(--alert-c); color: var(--alert-c); }
.lc-tag {
  position: absolute; top: -26px; left: 0; right: 0;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--alert-c);
}
.lc-stage h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 23px;
  line-height: 1.15; letter-spacing: -0.01em; color: var(--ink-strong); margin-bottom: 10px;
}
.lc-stage p { font-size: 15px; line-height: 1.55; color: var(--ink-strong); }
.lc-pulse {
  position: absolute; top: calc(72px + 32px - 5px); left: calc(100% / 12);
  width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; z-index: 0; /* behind the nodes, over the line */
  background: var(--accent); box-shadow: 0 0 0 4px rgba(0,128,188,0.2), 0 0 12px var(--accent);
  animation: lc-pulse 10s linear infinite;
}
@keyframes lc-pulse {
  0%   { left: calc(100% / 12); opacity: 0; }
  3%   { opacity: 1; }
  80%  { left: calc(100% * 9 / 12); opacity: 1; }
  88%  { left: calc(100% * 9 / 12); opacity: 0; }
  100% { left: calc(100% / 12); opacity: 0; }
}
@media (max-width: 960px) {
  .lifecycle { padding-top: 0; }
  .lc-loop, .lc-pulse, .lc-track::before, .lc-track::after { display: none; }
  .lc-track { grid-template-columns: 1fr; }
  .lc-stage { display: grid; grid-row: auto; grid-template-rows: none; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; padding: 0 0 28px; }
  .lc-stage h3 { align-self: auto; }
  .lc-stage:not(:last-child)::before {
    content: ''; position: absolute; left: 32px; top: 64px; bottom: 0; border-left: 1px solid var(--ink-strong); opacity: 0.45;
  }
  .lc-stage:nth-child(5)::before { border-left: 1px dashed var(--alert-c); opacity: 1; }
  .lc-node { grid-row: 1 / span 3; margin-bottom: 0; }
  .lc-tag { position: static; grid-column: 2; margin-bottom: 4px; }
  .lc-stage h3, .lc-stage p { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-node { animation: none; }
  .lc-pulse { display: none; }
}

/* ---------- WHY NOW banner (home, under What MyAS2 does) ---------- */
.why-now-sec { position: relative; z-index: 3; padding: 0 0 56px; }
.why-now {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 40px;
  padding: 40px 48px; border-radius: var(--card-radius);
  background: var(--hero-bg); color: var(--hero-ink); text-decoration: none;
}
.why-now::before {
  content: ''; position: absolute; inset: -60% -10% auto auto; width: 520px; height: 520px;
  background: var(--hero-glow); filter: blur(40px); pointer-events: none;
}
.why-now > * { position: relative; }
.why-now-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--hero-em);
  padding-right: 40px; border-right: 1px solid var(--hero-line); align-self: stretch; display: flex; align-items: center;
}
.why-now-h {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance;
}
.why-now-h em { font-style: italic; color: var(--hero-em); }
.why-now-go {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 14px 22px; border-radius: var(--radius); background: var(--btn-bg-hero, var(--c-blue, var(--btn-bg)));
  color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
}
.why-now-go::after { content: '\2192'; transition: transform 0.15s; }
.why-now:hover .why-now-go::after { transform: translateX(3px); }
.why-now:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
@media (max-width: 960px) {
  .why-now { grid-template-columns: 1fr; padding: 32px 28px; }
  .why-now-label { padding-right: 0; border-right: 0; }
  .why-now-go { justify-self: start; white-space: normal; }
}

/* ---------- LEGAL PAGES (End User Terms). As ld.com's Privacy page
   (../local-sites/ld theme ld-corp, css/styles.css .page-head and .prose-body)
   in the MyAS2 Blue Ocean colours: left-aligned head, no eyebrow, serif reading column. ---------- */
.legal-head { padding: 110px 0 80px; border-bottom: 1px solid var(--line); }
.legal-h {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(56px, 8vw, 104px); line-height: 0.95; letter-spacing: -0.028em;
  color: var(--ink-strong); margin-bottom: 36px; max-width: 1040px;
}
.legal-h em { font-style: italic; font-weight: 400; color: var(--em-color); }
.legal-standfirst { font-family: var(--font-display); font-size: 22px; line-height: 1.5; color: var(--ink); max-width: 720px; }
.legal-meta {
  margin-top: 24px; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint-text);
}
.legal { padding: 80px 0 110px; }
.legal-body { max-width: 760px; font-family: var(--font-display); font-size: 17px; line-height: 1.65; color: var(--ink); }
.legal-body > *:first-child { margin-top: 0; }
.legal-body h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink-strong); margin: 56px 0 16px; }
.legal-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink-strong); margin: 36px 0 12px; }
.legal-body p { margin: 0 0 18px; }
.legal-body strong { color: var(--ink-strong); }
.legal-body ul, .legal-body ol { list-style: disc; margin: 0 0 22px; padding-left: 22px; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin: 0 0 8px; }
.legal-body a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; word-break: break-word; }
.legal-body a:hover { color: var(--link-hover); }
@media (max-width: 960px) {
  .legal-head { padding: 70px 0 56px; }
  .legal-h { font-size: clamp(46px, 12vw, 72px); }
  .legal-standfirst { font-size: 18px; }
}

/* Template slots on legal pages (End User Terms): where approved text goes.
   Remove once the terms text is in. */
.tpl-note {
  margin-bottom: 48px; padding: 14px 18px; border-radius: 6px;
  background: var(--band-bg); color: var(--ink-strong); border: 1px solid var(--accent-text);
  font: 14px/1.5 'Roboto Condensed', 'Roboto', sans-serif;
}
.tpl, .tpl-list {
  border: 1px dashed var(--accent); border-radius: 6px; background: rgba(163,188,196,0.14);
  padding: 12px 16px; color: var(--accent-text); font-style: italic;
}
.tpl-list { padding-left: 38px; }
.tpl--address { font-style: normal; }

@media (max-width: 640px) {
  .bignum-grid { grid-template-columns: 1fr; }
}
