/* Trades Websites: the shared design system. Every page links this file, then its own
   assets/css/<page>.css for rules that only that page needs.

   Page rhythm: a light top (.band--hero on the home page, .page-hero on inner pages), then bands that
   alternate light and dark (.band--light / .band--tint and .band--dark), ending with the dark footer.
   Each band has one job. See _partials/NOTES.md for the class names and how to add a page.

   Every color is a custom property in :root. The blue is one edit: --blue and --blue-dark (and their
   r, g, b copies). There is no gold or yellow anywhere on the main site. Every text and background
   pair below was measured at 4.5:1 or better (3:1 for large headings and the marquee's big type). */

/* ================================================================
   Fonts: self-hosted, SIL Open Font License, license files beside them
   ================================================================ */

/* Headlines: Big Shoulders Display (variable weight, latin; set at 900 for h1 and h2) */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2-variations"),
       url("assets/fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Everything else: Figtree */
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ================================================================
   Tokens
   ================================================================ */

:root {
  /* ---- The blue (option A, the chosen brand blue). Change these two, their r, g, b copies,
     assets/favicon.svg and the theme-color meta tag, and the whole site follows. The logo's letters
     take their color from .brand (below); its red nut is #D32F2F inside <symbol id="logo">. ---- */
  --blue: #1D6FD8;            /* buttons, links, icons, labels, the picked-out headline words */
  --blue-dark: #0F4FA8;       /* hover, text on white buttons, small text on light blue tiles */
  --blue-rgb: 29, 111, 216;
  --blue-dark-rgb: 15, 79, 168;

  /* ---- Red: a small third color, an accent only. Where it shows (all set in this file, so every
     page gets them): the rules beside section labels (.label), the dot in the top pill, the dots
     in the marquee, the "My pick" tag, the underline under the picked-out words of each page's top
     headline (.band--hero .hl), the step numbers (.step-num), the numbered callouts (.callout), a
     thin rule at the top of every dark band, and link underlines on hover. Never large areas,
     never body text, never red text on the dark bands (3.3:1 on --deep), and never the only way
     something is marked. White on --red is 4.99:1; --red text on white is 4.98:1. ---- */
  --red: #D32F2F;
  --red-dark: #B71C1C;        /* hover or darker use */
  --red-rgb: 211, 47, 47;

  /* ---- Dark bands: a deep blue from the same family, with a glow of --blue in one corner ---- */
  --deep: #0A1F3D;            /* dark bands */
  --deep-2: #071630;          /* the footer, a step darker */
  --on-dark: #FFFFFF;         /* headings and strong text on dark */
  --on-dark-soft: #E6EDF7;    /* running text on dark (13.9:1 on --deep) */
  --on-dark-accent: #9CC8FF;  /* labels, icons and picked-out words on dark (9.5:1) */
  --dark-fill: rgba(255, 255, 255, 0.045);  /* cards on dark */
  --dark-line: rgba(255, 255, 255, 0.12);   /* card borders and rules on dark */

  /* ---- Light grounds ---- */
  --white: #FFFFFF;
  --tint: #F4F8FE;            /* the very light blue: alternating light bands (blue text still 4.56:1) */
  --tint-2: #EEF4FD;          /* the bottom of the light top section */
  --tile-bg: #EAF2FD;         /* icon tiles and tick circles (icons only, never small blue text) */
  --tile-line: #CFE0F7;

  /* ---- Neutrals ---- */
  --ink: #0B1B33;             /* headings */
  --text: #1B2433;            /* body text */
  --muted: #475467;           /* muted text: never lighter than this on light grounds */
  --line: #D9E1EC;            /* borders */
  --line-soft: #E6ECF4;       /* card borders, dividers */
  --field-line: #8391A7;      /* form field borders: 3:1 on white */
  --marquee-ink: #7388A8;     /* the marquee's big light type: 3.6:1 on white (large text) */
  --shade: 11, 27, 51;        /* the ink as r, g, b, for shadows */

  /* ---- Type ---- */
  /* Big Shoulders Display is narrow, so headings run larger than a normal width face would, and
     with a touch of open letter spacing instead of the usual tight tracking */
  --font-display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(3rem, 1.6rem + 4.2vw, 5rem);          /* h1 */
  --fs-h2: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
  --fs-h3: clamp(1.5rem, 1.4rem + 0.4vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-body: 1rem;            /* 16px on phones, 17px from 768px (below) */
  --fs-small: 1rem;           /* notes and second lines: still 16px, set apart by color */
  --fs-label: 0.8125rem;      /* small-caps section labels */

  /* ---- Space ---- */
  --gutter: 16px;
  --wrap: 1200px;
  --band-pad: clamp(72px, 8.4vw, 128px);
  --head-gap: clamp(36px, 4.4vw, 64px);
  --grid-gap: 16px;
  --header-top: 10px;         /* the floating header's distance from the top of the window */
  --header-bar: 64px;         /* its height */
  --header-space: calc(var(--header-top) + var(--header-bar));

  /* ---- Shape ---- */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(var(--shade), 0.06);
  --shadow: 0 1px 2px rgba(var(--shade), 0.04), 0 8px 24px -6px rgba(var(--shade), 0.08), 0 24px 48px -24px rgba(var(--shade), 0.10);
  --shadow-lg: 0 2px 4px rgba(var(--shade), 0.04), 0 18px 40px -10px rgba(var(--shade), 0.16), 0 40px 80px -40px rgba(var(--blue-dark-rgb), 0.28);
  --shadow-blue: 0 10px 24px -8px rgba(var(--blue-rgb), 0.55);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --marquee-time: 280s;       /* one full pass of the list: slow */

  /* measured by script.js; fallback for no JavaScript */
  --header-h: var(--header-space);
}

@media (min-width: 720px) { :root { --gutter: 24px; --grid-gap: 20px; --header-top: 14px; } }
@media (min-width: 768px) { :root { --fs-body: 1.0625rem; } }
@media (min-width: 1100px) { :root { --gutter: 32px; --grid-gap: 24px; } }

/* ================================================================
   Base
   ================================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-space) + 20px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-display); font-weight: 900; line-height: 0.98; letter-spacing: 0.005em; }
h2 { font-size: var(--fs-h2); font-weight: 900; line-height: 1.02; letter-spacing: 0.005em; }
h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.12; letter-spacing: 0.01em; }
h4 { font-size: 1.375rem; font-weight: 800; line-height: 1.2; letter-spacing: 0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
/* on hover, a link's underline turns red (the words stay blue: red is never the text color) */
a:hover { color: var(--blue-dark); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
b, strong { font-weight: 700; }

/* The picked-out word or phrase in a headline. In each page's top headline it also gets the red
   underline (one of the red accents). */
.hl { color: var(--blue); }
.band--hero .hl {
  text-decoration: underline var(--red);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.1em;
  text-decoration-skip-ink: none;
}

/* Numbered callout: a small red disc with a white number (white on red 4.99:1). Marks the numbered
   parts of a picture and the cards that explain them (google-setup.html). */
.callout {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 3px var(--white), 0 6px 14px -4px rgba(var(--red-rgb), 0.55);
}

.lede { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* One size and one stroke for every line icon (the stroke is set on each symbol by _icons/build.mjs) */
.ico { width: 24px; height: 24px; flex: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.band--dark :focus-visible,
.site-footer :focus-visible,
.cta-panel :focus-visible { outline-color: var(--on-dark-accent); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.nowrap { white-space: nowrap; }

/* ================================================================
   Header: a floating, rounded, slightly see-through bar, fixed at the top
   ================================================================ */

.site-header {
  position: fixed;
  top: var(--header-top);
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.header-bar {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: var(--wrap);
  min-height: var(--header-bar);
  margin-inline: auto;
  padding: 10px 10px 10px 16px;
  border: 1px solid rgba(var(--blue-dark-rgb), 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 2px rgba(var(--shade), 0.05), 0 12px 32px -12px rgba(var(--shade), 0.18);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.is-scrolled .header-bar {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(var(--shade), 0.06), 0 16px 40px -14px rgba(var(--shade), 0.28);
}

/* The logo: the "Trades Websites" wordmark with a red hex nut for the dot on the i (option A,
   _logos/TW-A). One <symbol id="logo"> in each page's sprite; its letters are currentColor, so the
   header shows them dark blue (as logo.svg) and the footer white (as logo-white.svg). --logo-h is the
   height of the whole mark; the width follows from its shape (783.8 by 85.86). */
.brand {
  --logo-h: 22px;
  display: inline-flex;
  align-items: center;
  flex: 1 1 0;               /* never pushes the menu button onto a second line: it shrinks first */
  max-width: max-content;    /* and never grows past the logo itself */
  min-width: 0;
  margin-right: auto;
  padding-block: 4px;
  color: var(--blue-dark);
  text-decoration: none;
}
.brand:hover { color: var(--blue-dark); }
.brand-logo {
  display: block;
  width: calc(var(--logo-h) * 9.129);
  max-width: 100%;
  height: auto;
  aspect-ratio: 783.8 / 85.86;
  flex: none;
  overflow: visible;
}
.brand--light, .brand--light:hover { color: var(--on-dark); }
@media (min-width: 480px) { .site-header .brand { --logo-h: 24px; } }
@media (min-width: 720px) { .site-header .brand { --logo-h: 26px; } }
@media (min-width: 1000px) { .site-header .brand { --logo-h: 24px; } }
@media (min-width: 1100px) { .site-header .brand { --logo-h: 28px; } }
@media (min-width: 1200px) { .site-header .brand { --logo-h: 32px; } }

.header-cta { display: none; }
@media (min-width: 390px) { .header-cta { display: inline-flex; } }
@media (max-width: 479px) {
  .header-bar { padding-left: 12px; gap: 6px; }
  .site-header .brand { padding-right: 4px; }   /* a little air between the logo and the button */
  .header-cta .btn { min-height: 40px; padding: 8px 14px; font-size: 0.875rem; }
}

.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.menu-btn:hover { border-color: var(--blue); color: var(--blue-dark); }
.menu-bars { display: grid; gap: 4px; }
.menu-bars i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Phones and tablets: the menu opens inside the bar, under the logo */
.nav { display: none; order: 10; width: 100%; }
.nav.is-open { display: block; }
.nav-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px 0 0;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line-soft);
}
.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.nav-list a:hover { background: var(--tint); color: var(--blue-dark); }
.nav-list a[aria-current="page"] { background: var(--tile-bg); color: var(--blue-dark); }
/* on the Start a project page, the header button is the current page */
.header-cta .btn[aria-current="page"], .nav-cta[aria-current="page"] { background: var(--blue-dark); box-shadow: none; }
.nav-cta { margin: 10px 0 4px; }
@media (min-width: 390px) { .nav .nav-cta { display: none; } }  /* the header's own button is showing */
.header-bar:has(.nav.is-open) { background: rgba(255, 255, 255, 0.98); }

@media (min-width: 1000px) {
  /* three columns, the menu centered between two equal sides; the logo link stays the logo's size */
  .header-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    padding: 10px 10px 10px 20px;
    border-radius: var(--r-pill);
  }
  .brand { justify-self: start; margin-right: 0; max-width: 100%; }
  .nav { display: block; order: 0; width: auto; }
  .nav-list { display: flex; gap: 4px; margin: 0; padding: 0; border: 0; }
  .nav-list a { min-height: 40px; padding: 8px 16px; border-radius: var(--r-pill); font-size: 0.9688rem; color: var(--text); }
  .nav .nav-cta { display: none; }
  .header-cta { display: inline-flex; flex: 1 1 0; justify-content: flex-end; }
  .header-cta .btn { flex: none; }
  .menu-btn { display: none; }
}

/* No JavaScript: the menu is simply open under the logo, and on phones and tablets the header sits
   in the page instead of floating over it */
.no-js .menu-btn { display: none; }
.no-js .nav { display: block; }
@media (max-width: 999px) {
  .no-js .site-header { position: relative; top: 0; padding-top: var(--header-top); }
  .no-js .band--hero { padding-top: clamp(40px, 6vw, 88px); }
}

/* ================================================================
   Buttons, pills and text links
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font: 650 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn .ico { width: 20px; height: 20px; transition: transform 0.2s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn:hover .ico--up { transform: translate(2px, -2px); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }

.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue-dark); }

/* on dark bands and the blue panel */
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: var(--on-dark); border-color: rgba(255, 255, 255, 0.34); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--on-dark); color: var(--on-dark); }
.btn--white { background: var(--white); color: var(--blue-dark); box-shadow: 0 10px 24px -10px rgba(var(--shade), 0.5); }
.btn--white:hover { background: var(--tile-bg); color: var(--blue-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) {
  .btn-row--stack { flex-direction: column; align-items: stretch; }
}

/* Pill: a small rounded label (not a button). .pill-dot is the little blue dot before the words. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--tile-line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.8);
  color: var(--blue-dark);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
}
.pill-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(var(--red-rgb), 0.16);
}
.band--dark .pill { background: rgba(255, 255, 255, 0.06); border-color: var(--dark-line); color: var(--on-dark-accent); box-shadow: none; }

/* Chip: a smaller tag inside cards ("Every package", "Five and Ten pages") */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--tile-bg);
  color: var(--blue-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
}
.chip--plain { background: #EEF1F5; color: var(--text); }
.band--dark .chip { background: rgba(var(--blue-rgb), 0.22); color: var(--on-dark-accent); }
.band--dark .chip--plain { background: rgba(255, 255, 255, 0.08); color: var(--on-dark-soft); }

/* Text link with an arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: none;
}
.link-arrow .ico { width: 20px; height: 20px; transition: transform 0.2s var(--ease-out); }
.link-arrow:hover { color: var(--blue-dark); text-decoration: underline var(--red) 2px; text-underline-offset: 0.22em; }
.link-arrow:hover .ico { transform: translateX(3px); }
.band--dark .link-arrow { color: var(--on-dark-accent); }
.band--dark .link-arrow:hover { color: var(--on-dark); }

/* ================================================================
   Bands and section heads
   ================================================================ */

.band { position: relative; padding-block: var(--band-pad); }
.band--light { background: var(--white); }
.band--tint { background: var(--tint); }

/* Dark band: deep blue with a soft glow of the brighter blue in one corner (top right by default) */
.band--dark {
  --glow: 100% 0%;
  background-color: var(--deep);
  background-image: radial-gradient(720px 560px at var(--glow), rgba(var(--blue-rgb), 0.36), rgba(var(--blue-rgb), 0) 72%);
  background-repeat: no-repeat;
  color: var(--on-dark-soft);
}
/* a thin red rule, centered on the top edge of every dark band (one of the red accents) */
.band--dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(240px, 44%);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, rgba(var(--red-rgb), 0), var(--red) 22%, var(--red) 78%, rgba(var(--red-rgb), 0));
  pointer-events: none;
}
.band--glow-tl { --glow: 0% 0%; }
.band--glow-bl { --glow: 0% 100%; }
.band--glow-br { --glow: 100% 100%; }
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4 { color: var(--on-dark); }
.band--dark .hl { color: var(--on-dark-accent); }
.band--dark .lede { color: var(--on-dark-soft); }
.band--dark a:not(.btn) { color: var(--on-dark-accent); }
.band--dark a:not(.btn):hover { color: var(--on-dark); }

/* The light top section: white into a very light cool blue, a soft blue glow and a faint grid.
   Used by the home hero (.hero) and by .page-hero on inner pages. */
.band--hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(760px 520px at 86% 16%, rgba(var(--blue-rgb), 0.13), rgba(var(--blue-rgb), 0) 70%),
    radial-gradient(560px 420px at 0% 100%, rgba(var(--blue-rgb), 0.07), rgba(var(--blue-rgb), 0) 70%),
    linear-gradient(180deg, var(--white) 0%, var(--tint-2) 100%);
}
.band--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(var(--blue-dark-rgb), 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--blue-dark-rgb), 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 70% 35%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 75% at 70% 35%, #000 0%, transparent 78%);
  pointer-events: none;
}

/* Inner page top: centered label pill, big headline, intro, optional buttons */
.page-hero {
  padding-top: calc(var(--header-space) + clamp(48px, 7vw, 104px));
  padding-bottom: clamp(56px, 7vw, 104px);
  text-align: center;
}
.page-hero h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.375rem, 1.3rem + 3.2vw, 4rem); }
.page-hero .lede { max-width: 40em; margin-inline: auto; }
.page-hero .btn-row { justify-content: center; margin-top: 32px; }

/* Section head: small-caps label, heading, intro. Centered by default. */
.band-head { max-width: 780px; margin: 0 auto var(--head-gap); text-align: center; }
.band-head h2 { margin-bottom: 18px; }
.band-head p:not(.label) { margin-inline: auto; max-width: 34em; font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); }
.band--dark .band-head p:not(.label) { color: var(--on-dark-soft); }
.band-head--left { margin-left: 0; text-align: left; }
.band-head--left p:not(.label) { margin-left: 0; }

/* Section label: small caps with a thin rule (and a rule on both sides when centered).
   Add <span class="label-num">01</span> only where the sections really are a sequence. */
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.label::before,
.band-head:not(.band-head--left) > .label::after,
.page-hero .label::after {
  content: "";
  width: 28px;
  height: 1.5px;
  flex: none;
  background: currentColor;
  opacity: 0.7;
}
/* the rules are the red accent (both rules on centered labels, so they stay symmetrical) */
.label::before,
.band-head:not(.band-head--left) > .label::after,
.page-hero .label::after { background: var(--red); opacity: 1; }
.label-num { font-variant-numeric: tabular-nums; color: var(--blue-dark); }
.band--dark .label { color: var(--on-dark-accent); }
.band--dark .label-num { color: var(--on-dark); }
.band--tint .label { color: var(--blue); }

/* Two columns, vertically centered, equal weight */
.split { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Buttons or a link centered under a grid */
.band-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: clamp(32px, 4vw, 52px); text-align: center; }
.band-foot p { margin: 0; color: var(--muted); }
.band--dark .band-foot p { color: var(--on-dark-soft); }
/* phones: button pairs under grids stack at full width, like the hero's */
@media (max-width: 479px) {
  .band-foot, .btn-row--center { flex-direction: column; align-items: stretch; }
  .band-foot p { text-align: center; }
}

/* ================================================================
   Grids, cards and icon tiles
   ================================================================ */

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--grid-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); }
.card > .tile { margin-bottom: 20px; }
.card--flat { box-shadow: none; }
.band--tint .card--flat { border-color: var(--line); }

/* A card that is one big link: put .stretch on its main link */
.card--link { transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--tile-line); }
.stretch { text-decoration: none; color: inherit; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(.stretch) { border-radius: var(--r-lg); }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: var(--r-lg); }

.band--dark .card {
  border-color: var(--dark-line);
  background: var(--dark-fill);
  box-shadow: none;
}
.band--dark .card p { color: var(--on-dark-soft); }
.band--dark .card--link:hover { border-color: rgba(var(--blue-rgb), 0.6); background: rgba(255, 255, 255, 0.07); }

/* Icon tile: the soft square an icon sits in */
.tile {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--tile-bg);
  color: var(--blue);
}
.tile .ico { width: 24px; height: 24px; }
.tile--sm { width: 40px; height: 40px; border-radius: 12px; }
.tile--solid { background: var(--blue); color: var(--white); }
.band--dark .tile { background: rgba(var(--blue-rgb), 0.2); color: var(--on-dark-accent); box-shadow: inset 0 0 0 1px rgba(156, 200, 255, 0.16); }
.band--dark .tile--solid { background: var(--blue); color: var(--white); box-shadow: none; }

/* List with ticks: <ul class="ticks"><li><svg class="ico"><use href="#ti-check"/></svg>Words</li></ul> */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.ticks .ico {
  width: 24px;
  height: 24px;
  margin-top: -1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--tile-bg);
  color: var(--blue-dark);
  stroke-width: 2.5;
}
.band--dark .ticks .ico { background: rgba(var(--blue-rgb), 0.26); color: var(--on-dark-accent); }
.ticks--2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; } }

/* A plain, honest note in a box (for example "Google decides what it shows...") */
.note-box {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 880px;
  margin: clamp(32px, 4vw, 52px) auto 0;
  padding: 20px 24px;
  border: 1px solid var(--tile-line);
  border-radius: var(--r-lg);
  background: var(--tint);
}
.note-box p { margin: 0; color: var(--ink); font-weight: 600; }
.note-box .link-arrow { flex: none; margin-left: auto; }
@media (max-width: 719px) { .note-box { flex-wrap: wrap; } .note-box .link-arrow { margin-left: 0; } }
.band--tint .note-box { background: var(--white); }
.band--dark .note-box { border-color: var(--dark-line); background: var(--dark-fill); }
.band--dark .note-box p { color: var(--on-dark); }

/* ================================================================
   Browser frame (for screenshots of the sample site)
   <div class="browser"><div class="browser-bar"><span class="browser-dots"><i></i><i></i><i></i></span>
   <span class="browser-url">yourbusiness.com</span></div><img ...></div>
   ================================================================ */

.browser {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(var(--shade), 0.1);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: inherit;
  text-decoration: none;
}
.browser > img, .browser > picture img { display: block; width: 100%; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #F3F6FA;
}
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #C9D3E1; }
.browser-url {
  flex: 0 1 240px;
  margin-inline: auto;
  overflow: hidden;
  padding: 2px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.browser-tag {
  flex: none;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--tile-bg);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}
@media (max-width: 419px) { .browser-bar { height: 30px; padding: 0 10px; gap: 8px; } .browser-dots i { width: 8px; height: 8px; } }

/* ================================================================
   Steps: I do / You do (home, and in full on how-it-works.html)
   ================================================================ */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--grid-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: flex; flex-direction: column; gap: 16px; }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--red);          /* one of the red accents: 4.98:1 on white, and large */
  font-variant-numeric: tabular-nums;
}
.step-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.step-row p { margin: 0; color: var(--text); font-weight: 500; }
.step-who {
  justify-self: start;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--tile-bg);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.step-row--you .step-who { background: #EEF1F5; color: var(--text); }
/* on dark the number stays light (red text is too dim there); a red underline carries the accent */
.band--dark .step-num { color: var(--on-dark); text-decoration: underline 3px var(--red); text-underline-offset: 8px; }
.band--dark .step-row { border-color: var(--dark-line); }
.band--dark .step-row p { color: var(--on-dark); }
.band--dark .step-who { background: rgba(var(--blue-rgb), 0.24); color: var(--on-dark-accent); }
.band--dark .step-row--you .step-who { background: rgba(255, 255, 255, 0.1); color: var(--on-dark-soft); }

/* ================================================================
   Pricing cards. The middle one (.pkg--pick) is marked "My pick" and raised.
   Works on light and on dark bands.
   ================================================================ */

.pkgs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
@media (max-width: 999px) { .pkgs { max-width: 640px; margin-inline: auto; } }
@media (min-width: 1000px) { .pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 16px; } }

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(26px, 2.6vw, 36px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}
.pkg-name { margin: 0; font-size: 1.75rem; }
.pkg-meta { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.pkg-price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 6px; }
.pkg-price b {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2.3rem + 1.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}
.pkg-price span { color: var(--muted); font-weight: 600; }
.pkg-for { margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.pkg-head { margin: 0 0 16px; font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.pkg-label { margin: 0 0 12px; font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-dark); }
.pkg .ticks { margin-bottom: 22px; }
.pkg-note { margin: auto 0 0; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: var(--fs-small); }
.pkg .btn { margin-top: 22px; }

.pkg--pick { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
@media (min-width: 1000px) { .pkg--pick { margin-block: -16px; padding-block: calc(clamp(26px, 2.6vw, 36px) + 16px); } }
.pick-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: var(--red);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(var(--red-rgb), 0.5);
}

/* On a dark band the side cards are faint, and the pick is solid white */
.band--dark .pkg { border-color: var(--dark-line); background: var(--dark-fill); box-shadow: none; }
.band--dark .pkg-name, .band--dark .pkg-price b, .band--dark .pkg-head { color: var(--on-dark); }
.band--dark .pkg-meta, .band--dark .pkg-price span, .band--dark .pkg-for, .band--dark .pkg-note { color: var(--on-dark-soft); }
.band--dark .pkg-for { border-color: var(--dark-line); }
.band--dark .pkg-note { border-color: rgba(255, 255, 255, 0.2); }
.band--dark .pkg-label { color: var(--on-dark-accent); }
.band--dark .pkg .ticks li { color: var(--on-dark); }
.band--dark .pkg--pick { border: 0; background: var(--white); box-shadow: 0 30px 80px -30px rgba(var(--blue-rgb), 0.7), 0 0 0 1px rgba(255, 255, 255, 0.5); }
.band--dark .pkg--pick .pkg-name, .band--dark .pkg--pick .pkg-price b, .band--dark .pkg--pick .pkg-head { color: var(--ink); }
.band--dark .pkg--pick .pkg-meta, .band--dark .pkg--pick .pkg-price span, .band--dark .pkg--pick .pkg-for, .band--dark .pkg--pick .pkg-note { color: var(--muted); }
.band--dark .pkg--pick .pkg-for { border-color: var(--line-soft); }
.band--dark .pkg--pick .pkg-note { border-color: var(--line); }
.band--dark .pkg--pick .pkg-label { color: var(--blue-dark); }
.band--dark .pkg--pick .ticks li { color: var(--text); }
.band--dark .pkg--pick .ticks .ico { background: var(--tile-bg); color: var(--blue-dark); }
.band--dark .pkg--pick :focus-visible { outline-color: var(--blue); }

/* The plain one-time-fee line: "One-time fee. No monthly fees. The site is yours for good." */
.fee-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; font-weight: 700; color: var(--ink); }
.fee-line span { display: inline-flex; align-items: center; gap: 8px; }
.fee-line .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--tile-bg); color: var(--blue-dark); stroke-width: 2.5; }
.band--dark .fee-line { color: var(--on-dark); }
.band--dark .fee-line .ico { background: rgba(var(--blue-rgb), 0.26); color: var(--on-dark-accent); }

/* ================================================================
   Questions: <div class="faq-list"><details class="faq"><summary>Q<span class="faq-icon">+</span></summary>
   <div class="faq-a"><p>A</p></div></details></div>
   ================================================================ */

.faq-list { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 16px 16px 24px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 20px; }
.faq-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--tile-bg);
  color: var(--blue-dark);
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
}
.faq-icon .ico { width: 20px; height: 20px; }
.faq[open] { border-color: rgba(var(--blue-rgb), 0.55); }
.faq[open] .faq-icon { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq-a { padding: 0 24px 22px; color: var(--muted); max-width: 38em; }
.faq-a p { margin: 0 0 0.8em; }
.faq-a p:last-child { margin: 0; }

.band--dark .faq { border-color: var(--dark-line); background: var(--dark-fill); }
.band--dark .faq summary { color: var(--on-dark); }
.band--dark .faq-icon { background: rgba(var(--blue-rgb), 0.24); color: var(--on-dark-accent); }
.band--dark .faq[open] { border-color: rgba(156, 200, 255, 0.45); background: rgba(255, 255, 255, 0.07); }
.band--dark .faq[open] .faq-icon { background: var(--blue); color: var(--white); }
.band--dark .faq-a { color: var(--on-dark-soft); }

/* ================================================================
   Forms. The project form: <form class="form" data-web3forms data-from-name="...">.
   script.js checks the required fields and sends it through Web3Forms (key in assets/config.js).
   ================================================================ */

.form-card {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.form-card h2, .form-card h3 { color: var(--ink); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label, .field legend { padding: 0; font-weight: 650; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--field-line);
  border-radius: 14px;
  background-color: var(--white);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230F4FA8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-dark); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(var(--blue-rgb), 0.22);
}
.form-note { margin: 0; color: var(--muted); font-size: var(--fs-small); text-align: center; }

/* Radio choices as pills: <div class="choices"><label class="choice"><input type="radio" ...><span>One page</span></label></div> */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.choice span:hover { border-color: var(--blue); }
.choice input:checked + span { border-color: var(--blue); background: var(--tile-bg); color: var(--blue-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }

/* A field the script marked: a darker red border plus the words under it (the words carry the meaning) */
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red-dark); }
.field-error { margin: 0; color: var(--red-dark); font-weight: 600; font-size: var(--fs-small); }
/* Side by side, a field with a message under it must not stretch the input of the one beside it */
.field-row > .field { align-content: start; }

/* While it sends, the button stays readable (no fading); it just stops taking clicks */
.btn:disabled, .btn[aria-busy="true"] { cursor: progress; }
.btn:disabled:hover .ico { transform: none; }
/* without JavaScript the form's button stays switched off (the note under it says why) */
.no-js .btn:disabled { cursor: not-allowed; }

/* The line the script writes under the button: not connected yet, sent, or not sent */
.form-status {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--tint);
  color: var(--ink);
  font-weight: 650;
  text-align: center;
}
.form-status[hidden] { display: none; }
.form-status--ok { border-color: var(--tile-line); background: var(--tile-bg); color: var(--blue-dark); }
.form-status--error { border-color: rgba(var(--red-rgb), 0.4); background: #FDF1F1; color: var(--red-dark); }
.form-note a { font-weight: 650; }

/* ================================================================
   Marquee: a slow strip of trades in big light type, separated by dots.
   <div class="marquee-band"><div class="marquee" aria-hidden="true"><div class="marquee-track">
   <ul class="marquee-list">...</ul><ul class="marquee-list">(the same list again)</ul></div></div>
   <button class="marquee-toggle" ...></button></div>
   Hidden from screen readers (the same trades are listed in the page). Still under reduced motion.
   ================================================================ */

.marquee-band {
  position: relative;
  padding-block: clamp(22px, 2.6vw, 34px);
  border-block: 1px solid var(--line-soft);
  background: var(--white);
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; }
.marquee-list { display: flex; flex: none; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee-list li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--marquee-ink);
  white-space: nowrap;
}
.marquee-list li::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-inline: clamp(20px, 2.4vw, 36px);
  flex: none;
  border-radius: 50%;
  background: var(--red);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee var(--marquee-time) linear infinite; }
  .marquee:hover .marquee-track,
  .marquee-band.is-paused .marquee-track,
  .marquee-band.is-offscreen .marquee-track { animation-play-state: paused; }
}
/* the pause button sits at the right, centered on the strip; the moving words fade out before it */
@media (prefers-reduced-motion: no-preference) { .js .marquee { margin-right: calc(var(--gutter) + 48px); } }
.marquee-toggle {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-dark);
  cursor: pointer;
  opacity: 0.85;
}
.marquee-toggle:hover, .marquee-toggle:focus-visible { opacity: 1; border-color: var(--blue); }
.marquee-toggle .ico { width: 16px; height: 16px; }
.marquee-toggle .when-paused { display: none; }
.is-paused .marquee-toggle .when-paused { display: block; }
.is-paused .marquee-toggle .when-playing { display: none; }
@media (prefers-reduced-motion: no-preference) { .js .marquee-toggle { display: grid; } }

/* ================================================================
   Closing call to action: a big blue panel on a light band
   ================================================================ */

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 6vw, 88px) clamp(22px, 5vw, 80px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--on-dark);
  text-align: center;
  box-shadow: 0 40px 90px -40px rgba(var(--blue-dark-rgb), 0.75);
}
/* two faint rings, darker than the panel so the white text keeps its contrast */
.cta-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -180px;
  bottom: -300px;
  border-radius: 50%;
  border: 90px solid rgba(7, 22, 48, 0.12);
  pointer-events: none;
}
.cta-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  left: -160px;
  top: -200px;
  border-radius: 50%;
  border: 60px solid rgba(7, 22, 48, 0.1);
  pointer-events: none;
}
.cta-panel h2 { max-width: 16em; margin-inline: auto; color: var(--on-dark); }
.cta-panel p { max-width: 36em; margin-inline: auto; color: var(--on-dark); }
.cta-panel .lede { color: var(--on-dark); }
.cta-panel .label { color: var(--on-dark); }
.cta-panel .label::before, .cta-panel .label::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: 0.7; }
.cta-panel .btn-row { justify-content: center; margin-top: 32px; }
.cta-panel .cta-small { margin-top: 26px; font-size: var(--fs-small); font-weight: 600; }
.cta-panel a:not(.btn) { color: var(--on-dark); }

/* ================================================================
   Footer: dark, the end of the page
   ================================================================ */

.site-footer {
  position: relative;
  padding-block: clamp(56px, 6vw, 88px) 28px;
  background-color: var(--deep-2);
  background-image: radial-gradient(640px 420px at 0% 0%, rgba(var(--blue-rgb), 0.26), rgba(var(--blue-rgb), 0) 72%);
  background-repeat: no-repeat;
  color: var(--on-dark-soft);
}
.footer-grid {
  display: grid;
  gap: 36px 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.footer-brand, .footer-grid > :last-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .footer-grid > :last-child { grid-column: auto; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.3fr); gap: 36px 40px; }
  .footer-brand { grid-column: auto; }
}
.footer-brand .brand { --logo-h: 24px; margin-bottom: 18px; }
@media (min-width: 720px) { .footer-brand .brand { --logo-h: 28px; } }
.footer-brand p { max-width: 30em; margin: 0; }
.footer-col h2 {
  margin: 4px 0 16px;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-accent);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-col ul a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-col p { margin: 0 0 12px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline var(--red) 2px; }
.footer-start { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; min-height: 32px; }
.footer-start .ico { width: 20px; height: 20px; color: var(--on-dark-accent); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
  font-size: var(--fs-small);
}
.footer-base p { margin: 0; }

/* ================================================================
   Tables (comparison and "which package has what")
   ================================================================ */

.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.table thead th { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; letter-spacing: 0.01em; color: var(--ink); background: var(--tint); }
.table tbody th { font-weight: 600; color: var(--text); }
.table tr:last-child > * { border-bottom: 0; }
.table .yes { color: var(--blue-dark); }
.table .no { color: #667085; }

/* ================================================================
   Motion. Only when the visitor has not asked for less motion, and only once a class set by a script
   is on the page, so every word is there without JavaScript.
   .motion      set by the tiny script in each page's <head>: the page-load sequence
   .load        an element that rises in on page load; order it with style="--i:0", "--i:1" ...
   .reveal-on   set by script.js: blocks rise in as they come on screen
   .reveal      a block that rises in on scroll
   .reveal-group  its direct children rise in one after another
   ================================================================ */

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .motion .load {
    animation: rise 0.65s var(--ease-out) backwards;
    animation-delay: calc(80ms + var(--i, 0) * 90ms);
  }

  .reveal-on [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
}

/* While script.js hides the blocks for the first time, nothing fades: they are simply not shown yet. */
.reveal-setup [data-reveal] { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .marquee-track { animation: none !important; }
}

@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-header, .marquee-band { position: static; }
}
