/* ==========================================================================
   eCommWeb — stylesheet
   1. Tokens
   2. Reset & base
   3. Layout helpers
   4. Buttons, links, icons
   5. Header & navigation
   6. Hero
   7. Sections: strip, cards, platforms, SEO, process, CTA
   8. Footer
   9. Motion & responsive
   ========================================================================== */

/* -------------------------------------------------- 1. Tokens ----------- */
:root {
  /* Brand
     --brand-logo is the exact green in the eCommWeb logo artwork. It is too
     light to carry white button text (2.5:1), so interactive green uses the
     darker --brand from the same hue family, which clears AA at 5.1:1. */
  --brand-logo:   #4abb76;
  --brand:        #1f7d46;
  --brand-dark:   #166339;
  --brand-light:  #33a262;
  --brand-tint:   #edf8f1;
  --brand-tint-2: #d5eede;

  /* Ink */
  --ink:      #0f1a15;
  --ink-2:    #263630;
  --muted:    #52635a;
  --line:     #e3eae6;
  --line-2:   #eef2f0;

  /* Surface */
  --bg:       #ffffff;
  --surface:  #f7faf8;
  --surface-2:#f1f7f3;

  /* Type */
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing & shape */
  --wrap:     1180px;
  --gutter:   24px;
  --r-sm:     10px;
  --r:        16px;
  --r-lg:     24px;
  --r-pill:   999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(15, 26, 21, .05), 0 2px 8px rgba(15, 26, 21, .04);
  --sh-2: 0 4px 12px rgba(15, 26, 21, .06), 0 12px 32px rgba(15, 26, 21, .07);
  --sh-3: 0 10px 24px rgba(15, 26, 21, .08), 0 28px 60px rgba(15, 26, 21, .10);

  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ------------------------------------------- 2. Reset & base ------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* clip, not hidden — keeps position:sticky working on the header while
     stopping the off-canvas mobile menu creating a sideways scrollbar */
  overflow-x: clip;
}

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

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 800;
}

p  { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .18s var(--ease);
}
a:hover { color: var(--brand-dark); }

:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ------------------------------------------ 3. Layout helpers ----------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tint { background: var(--surface); }

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section__title {
  font-size: clamp(30px, 4.2vw, 46px);
  margin-bottom: 14px;
}

.section__lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-logo);
  box-shadow: 0 0 0 4px var(--brand-tint-2);
}

/* ------------------------------ 4. Buttons, links, icons ---------------- */
.icon {
  width: 22px; height: 22px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .18s var(--ease),
              box-shadow .2s var(--ease);
}
.btn--lg { padding: 15px 28px; font-size: 16.5px; }

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(31, 125, 70, .22);
}
.btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(31, 125, 70, .28);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--sh-1);
}

.btn--plain { background: transparent; color: var(--ink); }
.btn--plain:hover { color: var(--brand-dark); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 15px;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 15px;
  color: var(--muted);
  padding: 4px 0;
}
.ticks .icon { color: var(--brand); margin-top: 5px; }

/* ------------------------------- 5. Header & navigation ----------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(15, 26, 21, .05);
}

.topbar {
  background: var(--ink);
  color: #cfe0d7;
  font-size: 13.5px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__spacer { flex: 1 1 auto; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cfe0d7;
  font-weight: 500;
}
.topbar__item:hover { color: #fff; }
.topbar .icon { color: var(--brand-logo); }

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand__accent { color: var(--brand); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__list a {
  display: block;
  white-space: nowrap;            /* never let a two-word item wrap mid-nav */
  padding: 9px 11px;
  border-radius: var(--r-pill);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__list a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav__list a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-tint); }

.nav__cta { margin-left: 10px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block;
  width: 19px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__bars { position: relative; }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -6px; }
.nav__bars::after  { top: 6px; }

body.nav-open .nav__bars { background: transparent; }
body.nav-open .nav__bars::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------- 6. Hero ------------- */
.hero {
  position: relative;
  padding: clamp(52px, 7vw, 92px) 0 clamp(60px, 8vw, 104px);
  background:
    radial-gradient(900px 480px at 88% -8%, var(--brand-tint) 0%, transparent 62%),
    radial-gradient(640px 420px at 2% 18%, #f2f8ff 0%, transparent 60%),
    #fff;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: auto -10% -45% auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(74,187,118,.14), transparent 68%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero__title {
  position: relative;
  z-index: 1;                 /* contains the .hl highlight pseudo-element */
  font-size: clamp(38px, 5.6vw, 66px);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero__title .hl {
  position: relative;
  color: var(--brand);
  white-space: nowrap;
}
.hero__title .hl::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: .07em;
  height: .22em;
  background: var(--brand-tint-2);
  border-radius: 4px;
  z-index: -1;
}

.hero__lead {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.hero__ticks li { display: inline-flex; align-items: center; gap: 7px; }
.hero__ticks .icon { color: var(--brand); }

/* Hero visual --------------------------------------------------------- */
.hero__visual { position: relative; padding: 18px 10px; }

.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.mock__bar > span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #cdd9d3;
}
.mock__url {
  margin-left: 12px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 12px;
  color: var(--muted);
}
.mock__body { padding: 20px; }
.mock__hero {
  height: 112px;
  border-radius: var(--r);
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-light) 50%, var(--brand-logo) 100%);
  margin-bottom: 16px;
}
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mock__row i {
  display: block;
  height: 56px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.mock__lines b { display: block; height: 9px; border-radius: 5px; background: var(--line); margin-bottom: 9px; }
.mock__lines b:nth-child(2) { width: 86%; }
.mock__lines b:nth-child(3) { width: 62%; }

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  animation: float 6s ease-in-out infinite;
}
.chip .icon { color: var(--brand); }
.chip strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.2; }
.chip span  { display: block; font-size: 12px; color: var(--muted); }

.chip--rank   { top: 30%; left: -26px; }
.chip--speed  { bottom: 22%; right: -18px; animation-delay: -2s; }
.chip--secure { bottom: 2%; left: -10px; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---------------------------------------------- 7. Sections ------------- */

/* Trust strip */
.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 34px;
  text-align: center;
}
/* The reviews tile shows stars where the others show a number */
.strip__stars {
  display: flex !important;
  justify-content: center;
  gap: 2px;
  color: var(--brand);
  min-height: 46px;              /* sit on the same baseline as the figures */
  align-items: center;
}
.icon--star { width: 28px; height: 28px; }

.strip__stat > strong {
  display: block;
  white-space: nowrap;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
/* direct child only — the counter <span> lives inside <strong> */
.strip__stat > span {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* Cards */
.cards { display: grid; gap: 22px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

/* Platform groups — commerce / non-commerce */
.pgroup + .pgroup { margin-top: clamp(40px, 5vw, 60px); }
.pgroup__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.pgroup__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  white-space: nowrap;
}
.pgroup__lead {
  flex: 1 1 320px;
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--brand-tint-2);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 18px;
}

.card__kind {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.card__title { font-size: 21px; margin-bottom: 8px; }
.card__lead  { font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.card__body  { font-size: 15.5px; color: var(--muted); margin-bottom: 16px; }
.card__links { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }

.card__flag {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--brand);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

.card--own {
  border-color: var(--brand-tint-2);
  background: linear-gradient(180deg, #fff 0%, var(--brand-tint) 190%);
  box-shadow: 0 2px 6px rgba(31,125,70,.07), 0 14px 34px rgba(31,125,70,.09);
}
.card--platform .ticks { margin-bottom: 16px; }

/* Price block inside a platform card */
.price {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.price p { margin: 0; }
.price__setup { padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.price__run   { padding-top: 2px; }

/* Per-card monthly / annual switch */
.price__switch {
  display: flex;
  gap: 3px;
  margin: 12px 0 10px;
  padding: 3px;
  background: var(--line-2);
  border-radius: var(--r-pill);
}
.price__opt {
  flex: 1 1 0;
  padding: 7px 10px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.price__opt:hover { color: var(--ink); }
.price__opt.is-active {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: var(--sh-1);
}

.price__label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.price strong {
  display: block;                 /* amount on its own line, so cards align */
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}
.price__per {
  font-size: 14px;
  color: var(--muted);
}
.price__save {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card--own .price { background: #fff; }

.note--price { text-align: left; align-items: flex-start; border-style: solid; }
.note--price .icon { margin-top: 3px; }
.note--price strong { color: var(--ink); }

/* The upgrade step in the Velocity range */
.card__step {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark);
}
.card__step .icon { color: var(--brand); flex: none; }

/* Velocity Custom — one wide panel, deliberately unlike the platform cards */
.custom {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(28px, 4vw, 52px);
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px solid var(--brand-tint-2);
  border-radius: var(--r-lg);
  background:
    radial-gradient(520px 300px at 88% 0%, var(--brand-tint) 0%, transparent 70%),
    #fff;
  box-shadow: 0 2px 6px rgba(31,125,70,.07), 0 16px 40px rgba(31,125,70,.09);
}
.custom__title {
  font-size: clamp(24px, 2.6vw, 30px);
  margin-bottom: 12px;
}
.custom__body {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 58ch;
}
.custom__main .link-arrow { margin-top: 4px; }
.custom__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.custom .ticks li { font-size: 15.5px; }

.price--quote { margin: 0; background: var(--surface); }
.price--quote .price__setup { padding-bottom: 0; border-bottom: 0; }
.price--quote strong { font-size: 19px; }
.price__note {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 34px auto 0;
  max-width: 760px;
  padding: 16px 22px;
  background: #fff;
  border: 1px dashed var(--brand-tint-2);
  border-radius: var(--r);
  font-size: 15.5px;
  color: var(--muted);
  text-align: center;
}
.note .icon { color: var(--brand); }
.note .link-arrow { white-space: nowrap; }
.note:has(.link-arrow) { max-width: 860px; }

/* SEO block */
.seo__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
.seo__copy .section__title { text-align: left; font-size: clamp(28px, 3.6vw, 42px); }
.seo__copy .section__lead  { text-align: left; margin-bottom: 26px; }
.seo__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.seo__list { display: grid; gap: 14px; }
.seo__list li {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.seo__list li:hover { transform: translateX(4px); box-shadow: var(--sh-2); }
.seo__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
}
.seo__list h3 { font-size: 17.5px; margin-bottom: 4px; }
.seo__list p  { margin: 0; font-size: 15.5px; color: var(--muted); }

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
}
.step__n {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.step__title { font-size: 19px; margin-bottom: 7px; }
.step__body  { font-size: 15.5px; color: var(--muted); margin: 0; }

/* CTA band */
.cta {
  padding: clamp(60px, 7vw, 96px) 0;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(74,187,118,.22), transparent 60%),
    radial-gradient(700px 400px at 90% 100%, rgba(74,187,118,.15), transparent 60%),
    var(--ink);
  color: #d4e3db;
  text-align: center;
}
.cta__inner { max-width: 720px; }
.cta__title {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 14px;
}
.cta__lead { font-size: 18px; color: #b9cfc4; margin-bottom: 28px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta .btn--plain { color: #fff; border-color: rgba(255,255,255,.28); }
.cta .btn--plain:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ------------------------------------ 7b. Interior pages ---------------- */
/* Interior hero — same language as the homepage hero, single column.      */
.phero {
  position: relative;
  padding: clamp(48px, 6.5vw, 86px) 0 clamp(44px, 6vw, 76px);
  background:
    radial-gradient(900px 460px at 86% -14%, var(--brand-tint) 0%, transparent 62%),
    radial-gradient(640px 400px at 0% 10%, #f2f8ff 0%, transparent 60%),
    #fff;
  overflow: hidden;
}
.phero__glow {
  position: absolute;
  inset: auto -12% -50% auto;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(74,187,118,.13), transparent 68%);
  pointer-events: none;
}
.phero__inner { position: relative; max-width: 1000px; }

/* Brand plate for a partner logo supplied white-on-dark (e.g. Aero). */
.phero__logo {
  display: flex;
  width: fit-content;
  align-items: center;
  margin: 0 0 20px;
  padding: 14px 24px;
  background: #101b2e;
  border-radius: var(--r);
  box-shadow: var(--sh-2);
}
.phero__logo .aero-mark { display: block; width: 130px; height: auto; }

.phero__title {
  position: relative;
  z-index: 1;                 /* contains the .hl highlight pseudo-element */
  font-size: clamp(34px, 4.8vw, 56px);
  letter-spacing: -0.032em;
  margin-bottom: 18px;
}
.phero__title .hl { position: relative; color: var(--brand); white-space: nowrap; }
.phero__title .hl::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: .07em;
  height: .22em;
  background: var(--brand-tint-2);
  border-radius: 4px;
  z-index: -1;
}

.phero__lead {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 28px;
}
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

/* Split section — copy on the left, ticked list on the right.             */
.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
.split__copy .section__title { text-align: left; font-size: clamp(28px, 3.6vw, 42px); }
.split__copy .section__lead  { text-align: left; margin-bottom: 26px; margin-left: 0; }
.split__copy .eyebrow        { justify-content: flex-start; }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.split__list { display: grid; gap: 14px; }
.split__list li {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.split__list li:hover { transform: translateX(4px); box-shadow: var(--sh-2); }
.split__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
}
.split__list h3 { font-size: 17.5px; margin-bottom: 4px; }
.split__list p  { margin: 0; font-size: 15.5px; color: var(--muted); }

/* Numbered list — the risk-free deal, checklists.                         */
.deal { display: grid; gap: 14px; list-style: none; }
.deal li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 24px;
  box-shadow: var(--sh-1);
}
.deal__n {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-light);
  flex: none;
  letter-spacing: -0.02em;
}
.deal p { margin: 0; font-size: 16px; color: var(--muted); }
.deal h3 { font-size: 17.5px; margin-bottom: 4px; }
.deal h3 + p { font-size: 15.5px; }
.deal--wide { max-width: 880px; margin: 0 auto; }

/* Client name strip */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin-top: 8px;
}
.logos li {
  padding: 11px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--sh-1);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

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

/* Slim hero for policy and information pages */
.phero--slim { padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
/* The slim hero already carries the breathing room, so the first section
   under it does not need a full-height top pad as well. */
.phero--slim + .section { padding-top: clamp(36px, 4vw, 56px); }
.phero__title--slim { font-size: clamp(30px, 3.8vw, 44px); }
.phero__updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.phero__updated .icon { color: var(--brand); }

/* Long-form text: policies, agreements */
.prose { max-width: 760px; }
.prose > h2 {
  font-size: clamp(22px, 2.4vw, 27px);
  margin: 40px 0 12px;
  padding-top: 8px;
}
.prose > h3 { font-size: 19.5px; margin: 28px 0 10px; }
.prose > h4 { font-size: 17.5px; margin: 22px 0 8px; color: var(--ink-2); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p  { margin: 0 0 16px; color: var(--muted); }
.prose ul { margin: 0 0 20px; padding-left: 0; }
.prose li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-tint-2);
  box-shadow: 0 0 0 1px var(--brand-light) inset;
}
.prose strong { color: var(--ink); }
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 34px 0 22px;
}
.prose__aside { font-size: 15.5px; }
.prose__cta { margin: 0 0 14px; }

/* Contact page */
.contact {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}
.contact__h { font-size: 19px; margin: 30px 0 12px; }
.contact__h--first, .contact__details > .contact__h:first-child { margin-top: 0; }
.contact__list { display: grid; gap: 10px; margin-bottom: 4px; }
.contact__list--tight { margin: 14px 0 18px; gap: 7px; }
.contact__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.contact__label {
  min-width: 96px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16.5px;
}
.contact__address {
  display: flex;
  gap: 10px;
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
}
.contact__address .icon { color: var(--brand); margin-top: 5px; flex: none; }
.contact__reg { margin-top: 20px; font-size: 14.5px; color: var(--muted); }

.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--sh-2);
}

/* Forms */
.field { margin-bottom: 18px; }
.field--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.field__opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint-2);
}
.field [aria-invalid="true"] { border-color: #c0392b; }
.field__err { margin: 6px 0 0; font-size: 14px; color: #c0392b; font-weight: 600; }
.field__small { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.formmsg {
  border-radius: var(--r);
  padding: 20px 22px;
  margin-bottom: 18px;
}
.formmsg--ok  { background: var(--brand-tint); border: 1px solid var(--brand-tint-2); }
.formmsg--ok h2 { font-size: 21px; margin-bottom: 8px; }
.formmsg--ok p  { margin: 0; color: var(--muted); }
.formmsg--bad { background: #fdf0ee; border: 1px solid #f3cfc9; color: #8f2c1f; font-weight: 600; }

/* Support tools */
.toollist { display: grid; gap: 8px; }
.card__kicker--plain {
  color: var(--muted);
  margin-top: 4px;
}

/* News index */
.newslist { display: grid; gap: 18px; max-width: 820px; margin: 0 auto; }
.newslist li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 26px;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.newslist li:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.newslist__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.newslist__tag {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 12.5px;
}
.newslist__title { font-size: 21px; margin-bottom: 8px; }
.newslist__title a { color: var(--ink); }
.newslist__title a:hover { color: var(--brand-dark); }
.newslist__body { margin: 0 0 12px; font-size: 15.5px; color: var(--muted); }

/* Section sub-navigation (Aero Commerce) */
.subnav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.subnav__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none;
  padding: 16px 16px 14px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.subnav a:hover { color: var(--brand-dark); }
.subnav a[aria-current="page"] { color: var(--brand-dark); border-bottom-color: var(--brand); }

/* Comparison table */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ctable {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
  font-size: 15px;
}
.ctable th, .ctable td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.ctable thead th { background: var(--surface); font-size: 15.5px; }
.ctable tbody th  { width: 140px; font-weight: 800; color: var(--ink); }
.ctable td        { color: var(--muted); }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: 0; }
.ctable__own { background: var(--brand-tint); color: var(--ink); }
.ctable thead .ctable__own { background: var(--brand-tint-2); }

/* Plain ticked checklist (no card per row) */
.checklist { display: grid; gap: 11px; list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 16px;
  color: var(--muted);
}
.checklist .icon { color: var(--brand); margin-top: 5px; flex: none; }

.card__price {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-dark);
}
.card__bigprice { margin: 6px 0 12px; }
.card__bigprice strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.card__bigprice span { font-size: 14px; color: var(--muted); }

.card__kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

/* -------------------------------------------------- 8. Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 72px);
  font-size: 15.5px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px 32px;
  padding-bottom: 44px;
}
.brand--footer { margin-bottom: 14px; }
.footer__blurb { color: var(--muted); max-width: 34ch; margin: 0; }
.footer__heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer__links li { margin-bottom: 9px; }
.footer__links a, .footer__plain {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.footer__links a:hover { color: var(--brand-dark); }
.footer__links .icon { color: var(--brand); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}
.footer__base p { margin: 0; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--muted); }
.footer__legal a:hover { color: var(--brand-dark); }

/* ------------------------------------ 9. Motion & responsive ----------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* Stagger children inside grids */
.cards [data-reveal]:nth-child(2),
.seo__list [data-reveal]:nth-child(2),
.split__list [data-reveal]:nth-child(2),
.deal [data-reveal]:nth-child(2),
.logos [data-reveal]:nth-child(2),
.steps [data-reveal]:nth-child(2),
.strip [data-reveal]:nth-child(2) { transition-delay: .08s; }
.cards [data-reveal]:nth-child(3),
.seo__list [data-reveal]:nth-child(3),
.split__list [data-reveal]:nth-child(3),
.deal [data-reveal]:nth-child(3),
.steps [data-reveal]:nth-child(3),
.strip [data-reveal]:nth-child(3) { transition-delay: .16s; }
.cards [data-reveal]:nth-child(4),
.seo__list [data-reveal]:nth-child(4),
.split__list [data-reveal]:nth-child(4),
.deal [data-reveal]:nth-child(4),
.steps [data-reveal]:nth-child(4),
.strip [data-reveal]:nth-child(4) { transition-delay: .24s; }
.deal [data-reveal]:nth-child(5) { transition-delay: .32s; }

@media (max-width: 1040px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .steps    { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin: 8px auto 0; }
  .mock { transform: none; }
  .chip--rank { left: -8px; }
  .chip--speed { right: -6px; }

  .seo__grid { grid-template-columns: 1fr; }
  .split     { grid-template-columns: 1fr; }
  .contact   { grid-template-columns: 1fr; }
  .cards--2, .cards--3 { grid-template-columns: 1fr 1fr; }
  .custom { grid-template-columns: 1fr; }
}

/* The primary nav has eight items plus a button — it needs more room than
   the rest of the layout, so it collapses to the off-canvas panel earlier. */
@media (max-width: 1180px) {
  /* Mobile navigation
     backdrop-filter creates a containing block for position:fixed children,
     which would trap the off-canvas panel inside the header — so drop it here. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }
  /* lift the whole header (and the panel inside it) above the backdrop */
  body.nav-open .site-header { z-index: 130; }

  .nav__toggle { display: inline-flex; }

  body::after {                        /* dimmed backdrop behind the panel */
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 21, .45);
    opacity: 0;
    visibility: hidden;
    z-index: 110;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  body.nav-open::after { opacity: 1; visibility: visible; }

  .nav__menu {
    z-index: 120;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 96px 24px 32px;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 50px rgba(15,26,21,.12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  body.nav-open .nav__menu { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 13px 14px; border-radius: 12px; font-size: 17px; }
  .nav__cta { margin: 14px 0 0; justify-content: center; }
  .nav__toggle { position: relative; z-index: 140; }   /* stays clickable over the panel */
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  :root { --gutter: 18px; }

  .cards--2, .cards--3, .cards--4, .steps { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__base { justify-content: center; text-align: center; }

  .topbar__item--hide-sm { display: none; }
  .topbar__inner { justify-content: center; gap: 14px; }

  .hero__actions .btn, .phero__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
  .deal li { padding: 18px 18px; gap: 14px; }
  .logos li { font-size: 14px; padding: 9px 16px; }
  .field--pair { grid-template-columns: 1fr; }
  .contact__label { min-width: 0; flex: 1 0 100%; }
  .newslist li { padding: 20px 18px; }
  /* Phone: the three proof chips stop floating and become a row under the
     mock, so the page keeps the facts the desktop hero shows. */
  .hero__visual {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mock { grid-column: 1 / -1; margin-bottom: 4px; }

  .chip--rank, .chip--speed, .chip--secure {
    position: static;
    inset: auto;
    animation: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 12px 8px;
  }
  .chip strong { font-size: 13.5px; }
  .chip span   { font-size: 11px; line-height: 1.35; }

  .note { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cta, .hero__visual, .nav__toggle { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* Obfuscated email addresses — see safe_email() in config.php */
.eml__fallback { font-weight: 700; color: var(--brand-dark); }
.eml__link { font-weight: 700; }
.card__eml { margin: 0; font-weight: 700; }

/* Staging-only diagnostic on the contact form — remove with the staging lock */
.formmsg--debug {
  background: #fffaf0;
  border: 1px solid #f0dfc0;
  color: #6b4d12;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-word;
}

/* Reviews page — third-party widget container */
.reviews__widget { min-height: 200px; margin-bottom: 8px; }

/* Error-code reference table */
.ctable--codes { min-width: 700px; font-size: 14.5px; }
.ctable--codes tbody th { width: 90px; }
.ctable__id { font-variant-numeric: tabular-nums; }
.ctable--codes code {
  font-size: 13px;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 5px;
  word-break: break-all;
}
kbd {
  font: inherit;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
}

/* "You are asking about X" note on the contact form */
.field__from {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 20px;
  padding: 12px 15px;
  background: var(--brand-tint);
  border-radius: var(--r-sm);
  font-size: 15px;
  color: var(--ink-2);
}
.field__from .icon { color: var(--brand); margin-top: 4px; flex: none; }

/* Keyword lists on the SEO cost page ------------------------------------- */
.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.keys li {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-2);
  background: var(--brand-tint);
  border-radius: 999px;
  padding: 5px 11px;
}

/* .note--price was being overridden by .note further down the sheet, so the
   left-aligned variant never actually took effect. Two classes wins outright. */
.note.note--price {
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
  border-style: solid;
}
.note.note--price .icon { margin-top: 3px; flex: none; }

/* Centred button pair used mid-page */
.midcta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 0;
}

/* Domains for sale ------------------------------------------------------- */
.domaingroup { margin-top: 42px; }
.domaingroup__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}

.domainlist { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.domainlist > li { margin: 0; }
.domainlist > li::before { content: none; }
.domainlist a {
  display: grid;
  grid-template-columns: minmax(180px, 250px) 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.domainlist a:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}
.domainlist__name {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  word-break: break-word;
}
.domainlist__lead { font-size: 15px; color: var(--muted); }
.domainlist__kind { font-size: 14px; color: var(--muted); }
.domainlist__go   { color: var(--brand); display: flex; }

.domainlist--compact a { grid-template-columns: minmax(180px, 250px) 1fr; }

/* Single domain page */
.domain { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; }
.domain__card {
  position: sticky;
  top: 96px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
.domain__kind {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 8px;
}
.domain__name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 14px;
  word-break: break-word;
}
.domain__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
}
.domain__status .icon { color: var(--brand); flex: none; }
.domain__price { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.domain__card .btn { width: 100%; justify-content: center; }
.domain__or { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); text-align: center; }
.domain__prose { max-width: 720px; }

@media (max-width: 900px) {
  .domain { grid-template-columns: 1fr; gap: 30px; }
  .domain__card { position: static; }
  .domainlist a,
  .domainlist--compact a { grid-template-columns: 1fr; gap: 6px; }
  .domainlist__go { display: none; }
}

/* Long domain names are single unbreakable tokens, so grid items need an
   explicit min-width or they push the whole column past the viewport. */
.domain > * { min-width: 0; }
.domain__card .btn {
  flex-wrap: wrap;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Platform pages --------------------------------------------------------- */
.platform { display: grid; grid-template-columns: 330px 1fr; gap: 46px; align-items: start; }
.platform > * { min-width: 0; }
.platform__card {
  position: sticky;
  top: 96px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
.platform__card .card__icon { margin-bottom: 14px; }
.platform__monthly { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.platform__monthly strong { color: var(--ink); }
.platform__save {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 800;
}
.platform__note { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.platform__card .btn { width: 100%; justify-content: center; }
.platform__prose { max-width: 720px; }

@media (max-width: 900px) {
  .platform { grid-template-columns: 1fr; gap: 30px; }
  .platform__card { position: static; }
}

/* News index and post bodies --------------------------------------------- */
.newslist--index { max-width: 860px; }
.newslist a { display: grid; gap: 4px; text-decoration: none; }
.newslist__kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand);
}
.newslist__title { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.newslist__lead  { font-size: 15.5px; color: var(--muted); }
.newslist__date  { font-size: 13px; color: var(--muted); margin-top: 4px; }

.postbody { max-width: 720px; margin: 0 auto; }
.postbody h2 { margin-top: 34px; }
.prose .postcta { margin-top: 34px; }

.pullquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  background: var(--brand-tint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.pullquote p {
  margin: 0 0 6px;
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
}
.pullquote cite { font-size: 14px; font-style: normal; color: var(--muted); }

.prose__ol { counter-reset: n; list-style: none; padding-left: 0; }
.prose__ol li { counter-increment: n; }
.prose__ol li::before { content: counter(n) "."; color: var(--brand); font-weight: 800; }

/* Numbered steps, used on the transfer page */
.steps { list-style: none; counter-reset: s; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; align-items: flex-start; gap: 13px; color: var(--muted); font-size: 16px; }
.steps li::before { content: none; }
.steps__n {
  flex: none;
  width: 27px; height: 27px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 13px; font-weight: 800;
}

/* Promo box — a whole page condensed into one panel */
.promo {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 34px;
  align-items: center;
  padding: 32px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
.promo > * { min-width: 0; }
.promo__title { font-size: 27px; letter-spacing: -.02em; margin: 6px 0 10px; }
.promo__lead  { color: var(--muted); margin: 0 0 16px; }
.promo__ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.promo__ticks li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--muted); }
.promo__ticks li::before { content: none; }
.promo__ticks .icon { color: var(--brand); flex: none; }
.promo__side .btn { width: 100%; justify-content: center; }
.promo__note { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }

@media (max-width: 860px) {
  .promo { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
}

/* ---------------------------------------------------------------------------
   Post images
   --------------------------------------------------------------------------- */
.section--tight { padding-top: 0; padding-bottom: 0; }

.postlead { margin: 0 0 8px; }
.postlead__img {
  display: block; width: 100%; height: auto;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
}

/* The body of a post clears any floated picture, so a short paragraph beside
   one cannot drag the next heading up alongside it. */
.postbody::after { content: ""; display: block; clear: both; }

.postfig { margin: 26px 0; max-width: 100%; }

/* Where it sits. A picture narrower than the column can sit to one side with
   the words running past it; a full-width one always sits on its own. */
.postfig--centre { margin-left: auto; margin-right: auto; }
.postfig--left   { float: left;  margin: 8px 26px 18px 0; }
.postfig--right  { float: right; margin: 8px 0 18px 26px; }
.postfig--left:first-child, .postfig--right:first-child { margin-top: 0; }

@media (max-width: 620px) {
  /* Too narrow to wrap text around anything. */
  .postfig--left, .postfig--right {
    float: none; width: 100% !important; margin: 26px 0;
  }
}
.postfig__img {
  display: block; width: 100%; height: auto;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
}
.postfig figcaption {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

/* The card on the news index, when the post has a picture. */
.newslist__img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  background: var(--brand-tint);
}

/* ---------------------------------------------------------------------------
   The editor's bar.

   Only ever rendered for somebody signed in to the admin, and deliberately
   plain so there is no mistaking it for part of the page itself.
   --------------------------------------------------------------------------- */
.editbar {
  background: var(--ink);
  color: #cfded5;
  font-size: 14.5px;
}
.editbar__in {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 9px var(--gutter);
}
.editbar__who { color: #9fb3a7; }
.editbar__btn {
  margin-left: auto;
  background: var(--brand); color: #fff;
  padding: 6px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 700;
}
.editbar__btn:hover { background: var(--brand-light); color: #fff; }
.editbar__link { color: #cfded5; text-decoration: none; }
.editbar__link:hover { color: #fff; }

@media (max-width: 520px) {
  .editbar__who { display: none; }
  .editbar__btn { margin-left: 0; }
}

/* The featured image, now at the foot of the post. */
.postlead { margin: 34px 0 0; }
.postlead figcaption {
  margin-top: 10px; font-size: 14.5px; color: var(--muted);
}

/* ---------------------------------------------------------------------------
   Previous / next within a category
   --------------------------------------------------------------------------- */
.postnav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 34px 0 30px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.postnav__link {
  display: block; text-decoration: none;
  padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--brand-tint); color: var(--ink);
}
.postnav__link:hover { background: var(--brand-tint-2); color: var(--ink); }
.postnav__link--next { text-align: right; }
.postnav__link--empty { background: none; }
.postnav__dir {
  display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--brand-dark); font-weight: 700; margin-bottom: 4px;
}
.postnav__title { display: block; font-weight: 600; line-height: 1.35; }

@media (max-width: 620px) {
  .postnav { grid-template-columns: 1fr; }
  .postnav__link--next { text-align: left; }
  .postnav__link--empty { display: none; }
}
