/* TCS Universe 2026 design system — protected preview release.
   Protected-preview assets use a private, no-store edge-cache policy.
   Navy is the trust layer, blue is the primary action, cyan carries
   technical proof and amber is reserved for decisive launch/rebuild moments.
   CMS renderer contracts and editor-controlled theme aliases are preserved. */

:root {
  /* Royal navy scale — the brand's dark frames */
  --c-space: #06150E;
  --c-navy-deep: #08190F;
  --c-navy: #0F3B2E;
  --c-navy-2: #123F2C;
  --c-nebula: #1E5A3E;
  --c-leaf: #1A563B;          /* lit plant green: header gloss top */
  /* Starlight gold */
  --c-gold: #C29A54;          /* brand anchor (CMS-injected --c-accent) */
  --c-gold-bright: #E3C27C;   /* luminous gold on dark */
  --c-gold-deep: #856526;     /* AA gold text on light */
  --c-gold-glow: rgba(227, 194, 124, 0.35);
  /* Warm paper — the light working surfaces */
  --c-ivory: #EEF0E7;
  --c-ivory-2: #F7F8F1;
  --c-page: #F4F3EB;
  --white: #FFFFFF;
  /* Ink */
  --c-ink: #14261C;
  --c-slate: #3D4A41;
  --c-muted: #5E6B5C;   /* ≥4.5:1 on white and warm paper */
  /* Lines */
  --c-line: #E1E1D3;
  --c-line-navy: rgba(15, 59, 46, 0.14);
  --c-gold-line: rgba(194, 154, 84, 0.42);
  /* Lines on dark */
  --line-dark: rgba(227, 194, 124, 0.16);
  --line-dark-strong: rgba(227, 194, 124, 0.34);
  /* Signals */
  --c-mint: #34D69E;
  --c-success: #2C7A54;
  --c-info: #2D68A7;
  --c-price: #7C5E22;
  /* Back-compat aliases (older rules / injected theme vars) */
  --c-primary: var(--c-navy);
  --c-primary-dark: var(--c-navy-deep);
  --c-accent: var(--c-gold);
  --c-tint: var(--c-ivory);
  --c-tint-2: var(--c-ivory-2);
  --c-border: var(--c-line);
  --c-border-soft: #D9DAC9;
  --ring: 0 0 0 3px rgba(194, 154, 84, 0.28);

  /* Shared semantic roles (catalogue/design-tokens.json). Components should
     reach for these names; the --c-* primitives above are the palette. The
     WHMCS theme declares the same roles in portal-theme/.../royal.css and
     tests/test_design_tokens.py keeps the two in step. */
  --surface-canvas: var(--c-page);
  --surface-subtle: var(--c-ivory);
  --surface-raised: var(--white);
  --surface-inverse: var(--c-space);
  --text-primary: var(--c-ink);
  --text-secondary: var(--c-slate);
  --text-muted: var(--c-muted);
  --text-inverse: var(--c-ivory-2);
  --action-primary: var(--c-navy);
  --action-primary-hover: var(--c-navy-deep);
  --action-secondary: var(--c-gold);
  --action-secondary-hover: var(--c-gold-bright);
  --border-subtle: var(--c-line);
  --border-strong: var(--c-border-soft);
  --focus-ring: var(--c-gold);
  --status-success: var(--c-success);
  --status-warning: #8A5A00;   /* amber-class warning: 5.9:1 on the canvas; not the danger colour */
  --status-danger: #A93226;    /* destructive actions and failed states: 5.4:1 on the canvas */
  --status-info: var(--c-info);

  /* Geometry — modern, confident, softly rounded */
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 0 0 1px rgba(194, 154, 84, 0.06), 0 12px 32px rgba(15, 59, 46, 0.11);
  --shadow-card-hover: 0 0 0 1px rgba(194, 154, 84, 0.14), 0 26px 56px rgba(15, 59, 46, 0.18), 0 0 34px rgba(52, 214, 158, 0.06);
  --shadow-glow: 0 0 0 1px var(--line-dark), 0 26px 60px rgba(8, 25, 15, 0.5), 0 0 70px rgba(227, 194, 124, 0.12);

  /* Type — Jost carries the headings, body and UI (owner, 20 Oct 2026); the
     type scale's steps live in royal.css :root (--fs-*). */
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-body);

  /* Layout — full-width with reasonable gutters. Content stretches to fill
     wide screens; text-heavy blocks keep their own readable caps so line
     length stays comfortable (padding varies by section, not the shell). */
  --page-gutter: clamp(20px, 3vw, 50px);   /* owner: max 50px side padding */
  --content-max: 1840px;
  --header-h: 74px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.22s;

  /* Shared heritage backdrops (names kept for studio stylesheet consumers):
     a fine woven gold pinstripe with sparse starlight points, and a single
     restrained sheen instead of the old aurora blur. */
  --starfield:
    radial-gradient(1.5px 1.5px at 24% 28%, rgba(227, 194, 124, 0.4), transparent 100%),
    radial-gradient(1px 1px at 68% 62%, rgba(238, 240, 231, 0.28), transparent 100%),
    radial-gradient(1.5px 1.5px at 86% 22%, rgba(227, 194, 124, 0.3), transparent 100%),
    repeating-linear-gradient(135deg, rgba(227, 194, 124, 0.045) 0 1px, transparent 1px 10px);
  --aurora:
    radial-gradient(1000px 460px at 88% -12%, rgba(194, 154, 84, 0.16), transparent 58%),
    radial-gradient(720px 360px at 0% 110%, rgba(30, 90, 62, 0.28), transparent 60%);
}

/* Protected-preview edge cache rotation: 2026-08-27. */

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--c-slate);
  background: var(--c-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-gold-deep); text-decoration: none; transition: color var(--dur) var(--ease-out); }
a:hover { color: var(--c-navy); }
::selection { background: rgba(194, 154, 84, 0.28); color: var(--c-navy); }

h1, h2, h3, h4 { color: var(--c-navy); line-height: 1.12; font-weight: 700; }
/* Modern voice: Jost carries the headlines (tight, confident). */
h1, h2 {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}
h3 { font-weight: 700; letter-spacing: -0.012em; }
h4 { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.13em; }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}
.container.narrow { max-width: 940px; }
/* Every page section spans the full content frame with the standard gutter, so
   no section sits boxed inside empty side margins. Long prose keeps a readable
   line length through a measure on the text itself (see .prose), not by
   narrowing the whole section. */

/* Accent words inside headings: a colour and weight shift, never italic gold */
.accent { font-weight: 800; color: var(--c-gold-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(194, 154, 84, 0.18);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: var(--fs-ui);
  letter-spacing: 0.015em;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out);
  text-align: center;
  overflow: hidden;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* Primary — the confident brass CTA; reads on cream and on deep-green bands */
.btn-primary {
  background: linear-gradient(140deg, var(--c-gold-bright) 0%, var(--c-gold) 62%, #A98A46 100%);
  color: var(--c-navy-deep);
  border-color: rgba(133, 101, 38, 0.55);
  box-shadow: 0 10px 26px rgba(194, 154, 84, 0.32);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.32) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease-out);
}
.btn-primary:hover {
  color: var(--c-space);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(194, 154, 84, 0.44);
}
.btn-primary:hover::after { transform: translateX(120%); }

/* Gold — the statement CTA, with a shimmer sweep */
.btn-gold {
  background: linear-gradient(140deg, var(--c-gold-bright) 0%, var(--c-gold) 55%, #A98A46 100%);
  color: var(--c-navy-deep);
  border-color: rgba(133, 101, 38, 0.6);
  box-shadow: 0 10px 26px rgba(194, 154, 84, 0.35);
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.35) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease-out);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(194, 154, 84, 0.45); color: var(--c-space); }
.btn-gold:hover::after { transform: translateX(120%); }

/* Ghost on light */
.btn-ghost { background: rgba(255, 255, 255, 0.6); color: var(--c-navy); border-color: var(--c-border-soft); }
.btn-ghost:hover { border-color: var(--c-gold); color: var(--c-gold-deep); background: var(--white); transform: translateY(-2px); }

/* On dark bands */
.btn-light { background: var(--c-ivory-2); color: var(--c-navy); border-color: var(--c-ivory-2); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }
.btn-light:hover { background: var(--white); color: var(--c-navy-deep); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.03); color: var(--c-ivory-2); border-color: var(--line-dark-strong); }
.btn-ghost-light:hover { border-color: var(--c-gold-bright); color: var(--white); background: rgba(227, 194, 124, 0.08); transform: translateY(-2px); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.8rem; }
.btn-row.center { justify-content: center; }

/* ---------- Header — deep space glass ---------- */
.announce-bar {
  background: var(--c-space);
  color: var(--c-gold-bright);
  text-align: center;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line-dark);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  color: var(--c-ivory-2);
  /* Leaf-green gloss: a lit plant green (--c-leaf) over the forest base with
     a top-lit sheen, translucent enough for the blur to still read as glass
     without going near-black. Ivory text keeps AA on every stop. */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0.10) 100%),
    linear-gradient(180deg, rgba(26, 86, 59, 0.96) 0%, rgba(20, 70, 49, 0.965) 55%, rgba(17, 60, 44, 0.97) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(227, 194, 124, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.site-header.scrolled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(23, 78, 54, 0.98) 0%, rgba(18, 63, 44, 0.985) 55%, rgba(14, 52, 38, 0.985) 100%);
  box-shadow: 0 12px 36px rgba(6, 21, 13, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(227, 194, 124, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  min-height: var(--header-h);
  height: var(--header-h);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  min-width: 68px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
}
/* The stacked source artwork keeps its crisp footprint on a soft plate so the
   navy mark reads on the dark header. */
.site-logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  filter: drop-shadow(0 7px 14px rgba(0, 0, 0, 0.24)) drop-shadow(0 0 12px rgba(227, 194, 124, 0.08));
}
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; gap: 2px; list-style: none; align-items: stretch; }
.site-nav > ul > li { display: flex; align-items: center; position: static; }
.site-nav > ul > li > a {
  display: block;
  padding: 26px 11px 22px;
  color: rgba(247, 248, 241, 0.82);
  font-weight: 560;
  font-size: 0.92rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-nav > ul > li.has-mega > .nav-category-link { padding-right: 3px; }
.site-nav > ul > li > .nav-disclosure {
  align-self: stretch;
  display: flex;
  min-width: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 8px 0 3px;
  color: rgba(247, 248, 241, 0.82);
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li > .nav-disclosure:hover { color: var(--c-gold-bright); }
.site-nav > ul > li > a.active {
  color: var(--c-gold-bright);
  border-bottom-color: var(--c-gold);
  font-weight: 650;
}
.site-nav > ul > li > .nav-category-link.active + .nav-disclosure {
  color: var(--c-gold-bright);
}
.site-nav > ul > li.has-mega > .nav-disclosure::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
.site-nav > ul > li.has-mega > .nav-disclosure[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { padding: 10px 18px; font-size: var(--fs-small); white-space: nowrap; flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { height: 2px; background: var(--c-gold-bright); border-radius: 2px; transition: 0.2s; }

/* Mega panels — dark glass observatory */
.mega-panel {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 340;
  color: var(--c-ivory-2);
  /* Near-opaque dark green with a top sheen: the page must not show through
     (the blurred sticky-header ancestor is the backdrop root, so the blur
     cannot be relied on to hide content); the gloss comes from the sheen. */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 26%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, rgba(16, 58, 40, 0.99) 0%, rgba(11, 42, 30, 0.992) 40%, rgba(8, 30, 21, 0.995) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border-top: 1px solid rgba(227, 194, 124, 0.22);
  border-bottom: 1px solid var(--line-dark-strong);
  box-shadow: 0 42px 96px rgba(3, 14, 9, 0.66);
  padding: 28px 0 32px;
  /* The panel lives in the sticky masthead, so page scroll cannot reveal a
     tall panel: bound it to the viewport and scroll inside instead. */
  max-height: calc(100vh - var(--sticky-masthead-height, 74px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mega-panel::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  opacity: 0.5;
}
.mega-panel-inner {
  width: min(var(--content-max), 100%);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 2.35fr);
  gap: 42px;
}
.mega-intro { padding-right: 30px; border-right: 1px solid var(--line-dark); }
.mega-intro .eyebrow {
  margin-bottom: 12px;
  color: var(--c-gold-bright);
}
.mega-intro .mega-title { font-size: var(--fs-title); color: var(--white); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.mega-intro p { margin-top: 10px; font-size: var(--fs-ui); color: rgba(247, 248, 241, 0.66); }
.mega-all { display: inline-block; margin-top: 18px; font-weight: 650; color: var(--c-gold-bright); }
.mega-all:hover { color: var(--white); }
.mega-panel-inner.is-compact { width: min(1120px, 100%); grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1fr); }
.mega-columns { display: grid; gap: 10px 26px; align-content: start; }
.mega-columns.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-columns.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega-columns ul { display: grid; gap: 2px; list-style: none; }
.mega-columns.is-two-up ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.mega-group-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 8px 12px;
  color: var(--c-gold-bright);
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.mega-note { margin-top: 10px; font-size: var(--fs-small); font-weight: 600; }
/* Panel links share one type contract with the WHMCS theme (owner,
   8 September 2026): title only, Jost at the UI step, weight 650,
   line-height 1.25, the same padding on every panel of both surfaces. */
.site-nav .mega-product,
.mega-product {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 12px;
  font-size: var(--fs-ui);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--c-ivory-2);
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.mega-product:hover, .mega-product:focus-visible {
  background: rgba(227, 194, 124, 0.07);
  border-color: var(--line-dark);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16), 0 0 24px rgba(194, 154, 84, 0.07);
  transform: translateX(3px);
}
.mega-product > span { font-weight: 650; line-height: 1.25; }
.mega-product > span .status-chip { margin-left: 4px; vertical-align: middle; }
/* Hosting and WordPress + AI links carry a quieter benefit line; a column's
   sub-headings are small labels, quieter than its heading (handoff 5.5). */
.mega-product small { display: block; font-size: var(--fs-small); line-height: 1.5; font-weight: 400; color: var(--c-ivory); opacity: .74; }
.mega-subgroup-label { margin: 0 0 4px 12px; font-size: var(--fs-caption); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ivory); opacity: .62; }
.mega-column ul + .mega-subgroup-label { margin-top: 14px; }
/* One quiet feature card per panel: an outcome, one sentence and one link. */
.mega-feature {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(227, 194, 124, 0.06);
}
.mega-feature .eyebrow { margin-bottom: 6px; color: var(--c-gold-bright); }
/* Scoped under .mega-intro so the title wins over the intro paragraph rule;
   the feature's paragraph rule leaves the title alone (:where keeps its weight). */
.mega-intro .mega-feature-title { margin-top: 0; font-size: var(--fs-title-sm); font-weight: 650; color: var(--white); line-height: 1.3; }
.mega-intro .mega-feature p:where(:not(.mega-feature-title)) { margin-top: 6px; font-size: var(--fs-small); color: rgba(247, 248, 241, 0.7); }
@media (max-width: 1280px) {
  .mega-columns.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mega-feature-cta { display: inline-block; margin-top: 10px; font-weight: 650; color: var(--c-gold-bright); }
.mega-feature-cta:hover { color: var(--white); }

/* Mobile nav — dark drawer */
.mobile-nav {
  padding: 8px 0 20px;
  border-top: 1px solid var(--line-dark);
  /* Ends above a shown cookie banner (--consent-h). */
  max-height: calc(100vh - 90px - var(--consent-h, 0px));
  max-height: calc(100dvh - var(--header-h) - 8px - var(--consent-h, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav details { border-bottom: 1px solid var(--line-dark); }
.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  color: var(--c-ivory-2);
  font-weight: 650;
  padding: 14px 4px;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; float: right; color: var(--c-gold-bright); }
.mobile-nav details[open] summary::after { content: "–"; }
.mobile-subnav { display: grid; padding: 0 0 14px 14px; }
.mobile-subnav a, .mobile-plain a {
  color: rgba(247, 248, 241, 0.72);
  padding: 9px 4px;
  font-size: var(--fs-ui);
}
.mobile-subnav a:hover, .mobile-plain a:hover { color: var(--c-gold-bright); }
.mobile-subnav .mobile-all { color: var(--c-gold-bright); font-weight: 650; }
.mobile-plain { display: grid; padding-top: 8px; }
.mobile-group {
  display: flex;
  align-items: center;
  margin: 14px 0 4px;
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.mobile-group.mobile-subgroup { margin: 8px 0 0; color: var(--c-ivory); opacity: .66; }
.mobile-subgroup-links { display: grid; }
.mobile-utilities { display: grid; gap: 10px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.mobile-utility { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.mobile-utilities .btn { justify-content: center; }

/* Availability chips: text plus colour, 12px Jost 600 uppercase. */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 2px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}
.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-chip.is-preview { border-style: dashed; }
.status-chip.is-free { color: var(--c-success); }
.eyebrow .status-chip,
h3 .status-chip,
.mobile-group .status-chip,
summary .status-chip { margin-left: 10px; }
.nav-chip { margin-left: 7px; min-height: 18px; padding: 1px 7px; font-size: var(--fs-caption); letter-spacing: 0.04em; }
/* Free-tools nav flair (owner, 16 Sep 2026): gold emphasis + a filled flame with
   a warm glow and a gentle idle flicker so the free offer stands out. */
.nav-flame { display: inline-flex; align-items: center; margin-left: 6px; vertical-align: -3px; line-height: 0; filter: drop-shadow(0 0 5px rgba(240, 145, 47, 0.6)); animation: nav-flame-flicker 2.4s ease-in-out infinite; transform-origin: 50% 85%; }
.site-nav > ul > li > a.nav-flair { color: #ffffff; font-weight: 650; }
.site-nav > ul > li > a.nav-flair:hover { color: var(--c-gold-bright); }
.mobile-flair { color: #ffffff; font-weight: 650; }
@keyframes nav-flame-flicker { 0%, 100% { transform: scale(1) rotate(-1.5deg); } 45% { transform: scale(1.14) rotate(2deg); } 70% { transform: scale(1.04) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .nav-flame { animation: none; } }
.feature-card .status-chip { margin-top: 14px; align-self: flex-start; }
.feature-card .status-chip + h3 { margin-top: 0.6rem; }
.header-utility { padding: 10px 6px; font-size: var(--fs-small); font-weight: 600; white-space: nowrap; }

/* ---------- Hero (generic, light-cosmic) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(194, 154, 84, 0.12), transparent 60%),
    radial-gradient(900px 420px at -8% 12%, rgba(15, 59, 46, 0.06), transparent 55%),
    linear-gradient(180deg, var(--c-ivory-2) 0%, var(--c-page) 100%);
  padding: clamp(3.4rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4.4rem);
  border-bottom: 1px solid var(--c-line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(15, 59, 46, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 59, 46, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(closest-side at 70% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(closest-side at 70% 40%, #000, transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.hero-grid.hero-single { grid-template-columns: 1fr; text-align: center; }
.hero-grid.hero-single .btn-row { justify-content: center; }
.hero-sub {
  margin-top: 1.3rem;
  max-width: 36em;
  color: var(--c-slate);
}
.hero-single .hero-sub { margin-inline: auto; }
.hero-body { margin-top: 1rem; }
/* Scannable benefit chips between the subheading and the CTAs */
.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.15rem;
}
.hero-single .hero-chips { justify-content: center; }
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--c-line);
  color: var(--c-slate);
  font-size: var(--fs-small);
  font-weight: 560;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 2px rgba(15, 59, 46, 0.05);
}
.hero-chips li svg { color: var(--c-gold-deep); flex-shrink: 0; }
.hero-trust {
  margin-top: 1.6rem;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  color: var(--c-muted);
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-gold-line);
  max-width: 40em;
}
.hero-price {
  margin-top: 1.5rem;
  font-size: min(clamp(1.5rem, 1.2rem + 1.5vw, 2rem), var(--fs-h1));
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.01em;
  /* On the dark hero the muted --c-price brass reads dull; use the luminous gold
     (and a bright mint for £0) so the prominent price actually pops. */
  color: var(--c-gold-bright);
}
.hero-price.is-free { color: #6FD79E; }
/* "Prices exclude VAT." under a software product's hero price. */
.hero-price-note {
  margin-top: 0.35rem;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  color: var(--c-muted);
}
.hero-free-banner {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: #EAF6EF;
  color: var(--c-success);
  font-weight: 600;
  font-size: var(--fs-ui);
  line-height: 1.35;
  border: 1px solid #BFE3CE;
  max-width: 44em;
}
.hero-tertiary { margin-top: 1.1rem; font-size: var(--fs-ui); }
.hero-tertiary a { font-weight: 600; text-decoration: underline; text-underline-offset: 0.22em; }
.icon-plate {
  min-height: 260px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 32px;
  border-radius: var(--radius-lg);
}
.icon-plate-mark { display: grid; place-items: center; width: 96px; height: 96px; border-radius: var(--radius); }
.icon-plate-caption { font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-single .hero-trust { margin-inline: auto; }

/* ---------- Browser frame (product visuals) ---------- */
.browser-frame {
  background: var(--white);
  border: 1px solid rgba(8, 25, 15, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card-hover), 0 0 0 6px rgba(15, 59, 46, 0.04);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  gap: 6px;
  padding: 11px 15px;
  background: var(--c-navy);
  border-bottom: 1px solid rgba(227, 194, 124, 0.3);
}
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.browser-bar span:nth-child(2) { background: var(--c-gold); }
.browser-body { background: var(--white); }
.browser-body img,
.browser-body svg { width: 100%; height: auto; display: block; }

.illo-wrap {
  background: linear-gradient(160deg, var(--white), var(--c-ivory));
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.illo-wrap svg { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

/* ---------- Sections ---------- */
/* Compact vertical rhythm — tightened so consecutive sections read as one
   continuous page rather than tall bands separated by dead space. */
.section { padding-block: clamp(2.3rem, 3.2vw, 3.4rem); }
.section:nth-of-type(even):not(.stats-band):not(.cta-band):not(.domain-search-section):not(.cta-split-section):not(.quote-band) {
  background: var(--c-ivory-2);
  border-block: 1px solid var(--c-line);
}
.section-head { max-width: none; margin-bottom: clamp(1.5rem, 2.4vw, 2.05rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { position: relative; padding-bottom: 1rem; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-bright));
}
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }
.section-head p { margin-top: 1rem; }

/* Feature cards */
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  color: var(--c-slate);
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-bright), transparent 80%);
  opacity: 0;
  transition: opacity 0.28s var(--ease-out);
}
.feature-card h3 { margin: 1.05rem 0 0.5rem; }
.feature-card p,
.feature-card code { overflow-wrap: anywhere; }
.feature-card.linked:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--c-gold-line);
}
.feature-card.linked:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
  color: var(--c-gold-bright);
  border: 1px solid var(--line-dark-strong);
  box-shadow: inset 0 0 18px rgba(227, 194, 124, 0.1);
}
.card-more {
  display: inline-flex;
  margin-top: 0.95rem;
  color: var(--c-gold-deep);
  font-weight: 650;
  font-size: var(--fs-ui);
  transition: transform var(--dur) var(--ease-spring);
}
.feature-card.linked:hover .card-more { transform: translateX(4px); }

/* Detail rows */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}
.detail-grid.detail-single { grid-template-columns: 1fr; }
/* A detail row without a visual (common on software pages) must not leave its
   copy pinned to the left of the full-width grid — centre it in a readable
   measure so the section reads balanced. */
.detail-grid.detail-single { justify-items: center; }
.detail-grid.detail-single .detail-copy { width: 100%; max-width: none; }
.detail-grid.detail-single .detail-copy .prose { max-width: none; }
.detail-sub { font-size: var(--fs-body); margin-top: 0.7rem; color: var(--c-slate); }
.detail-copy h2 { position: relative; padding-bottom: 0.9rem; }
.detail-copy h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-bright));
}
.detail-copy .prose { margin-top: 1.1rem; }
.detail-copy .eyebrow { display: inline-flex; margin-bottom: 0.9rem; }
.detail-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; list-style: none; counter-reset: tcs-step; }
.detail-steps li {
  counter-increment: tcs-step;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--c-line);
  border-radius: 5px;
  font-size: var(--fs-small);
  font-weight: 600;
}
.detail-steps li::before { content: counter(tcs-step, decimal-leading-zero); font-size: var(--fs-caption); font-weight: 760; letter-spacing: 0.08em; }
.detail-status, .product-grid-note { margin-top: 1.1rem; font-size: var(--fs-small); }
.cta-split-note { margin-top: 1.1rem; font-size: var(--fs-small); }
.cta-split-note a { font-weight: 600; }
.card-meta { display: block; margin-top: 10px; font-size: var(--fs-small); }
.check-list { list-style: none; margin-top: 1.3rem; display: grid; gap: 11px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li svg { color: var(--c-gold-deep); flex-shrink: 0; margin-top: 4px; }

/* ---------- Deep-space bands (stats, CTA, domain search, split) ---------- */
.stats-band, .cta-band, .domain-search-section,
.cta-split-section:not(.variant-ivory):not(.variant-gold) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(247, 248, 241, 0.85);
}
.stats-band::after, .cta-band::after, .domain-search-section::after,
.cta-split-section:not(.variant-ivory):not(.variant-gold)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--starfield);
  background-size: 620px 460px;
  opacity: 0.7;
}
.stats-band::before, .cta-band::before, .domain-search-section::before,
.cta-split-section:not(.variant-ivory):not(.variant-gold)::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  z-index: 1;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}

.stats-band .section-head h2 { color: var(--white); }
.stats-band .section-head h2 .accent { color: var(--c-gold-bright); }
.stats-band .section-head h2::after { background: linear-gradient(90deg, var(--c-gold-bright), transparent); }
.stats-band .section-head p { color: rgba(247, 248, 241, 0.68); }
/* Each stat has the rule; the grid clips a row's first. Six+: three a row at most. */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px 26px; margin-left: -1px; clip-path: inset(-4rem -4rem -4rem 1px); text-align: center; }
.stat { padding: 0 8px; border-left: 1px solid var(--line-dark); }
.stats-grid:has(> :nth-child(6)) { grid-template-columns: repeat(auto-fit, minmax(max(220px, (100% - 52px) / 3), 1fr)); }
/* Legacy cached pages emit <strong>value</strong><span>label</span>; new
   markup uses classed spans. The legacy fallbacks are scoped so they can
   never override the classed rules. */
.stat-value, .stat > strong {
  display: block;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-gold-bright);
  text-shadow: 0 0 34px rgba(227, 194, 124, 0.35);
  font-variant-numeric: tabular-nums;
}
.stat-label, .stat > strong + span {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(247, 248, 241, 0.72);
}

.cta-inner { text-align: center; position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band .accent { color: var(--c-gold-bright); }
.cta-band p { margin-top: 1rem; font-size: var(--fs-body); color: rgba(247, 248, 241, 0.75); }
.cta-band .eyebrow {
  color: var(--c-gold-bright);
}

/* Rich text / prose */
.prose { max-width: none; }
/* Rich-text sections span the full content frame; the section head and any
   tables, media or card grids use the whole width. */
.rich-section .rich-body { width: 100%; max-width: none; }
.rich-section .rich-body .section-head { max-width: none; margin-bottom: 1.6rem; }
.rich-section .rich-body .prose { max-width: none; }
/* The heading sits on its own line; the running prose beneath it fills the
   full width of the section (the owner's brief: no narrow measure, no void to
   the right). Line length is bounded only by the content frame (--content-max).
   Legal documents keep their own reading column through .legal-document-grid. */
.prose p { margin-bottom: 1rem; }
.prose h2, .prose h3, .prose h4 { margin: 1.8rem 0 0.7rem; }
.prose h3, .prose h4 { margin-top: 1.8em; margin-bottom: 0.5em; }
.prose ul, .prose ol { margin: 1em 0 1em 1.25em; }
.prose li { margin-bottom: 0.35rem; }
.prose p + p, .prose p + ul, .prose ul + p, .prose ol + p { margin-top: 1em; }
.prose blockquote {
  border-left: 3px solid var(--c-gold);
  padding: 0.4rem 0 0.4rem 1.3rem;
  margin: 1.5rem 0;
  color: var(--c-navy);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-title-sm);
}
.prose img { border-radius: var(--radius-sm); margin: 1.2rem 0; border: 1px solid var(--c-line); }
.comparison-review { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 1.2rem 0; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-ivory-2); }
.comparison-review dt { font-weight: 650; color: var(--c-navy); }
.comparison-review dd { margin: 0; color: var(--c-slate); }
@media (max-width: 560px) { .comparison-review { grid-template-columns: 1fr; gap: 2px 0; } .comparison-review dd { margin-bottom: 8px; } }
.prose sup a { text-decoration: none; font-weight: 650; }
.prose-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-sm);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: var(--fs-ui); }
.prose th, .prose td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--c-navy); color: var(--c-ivory); }
.prose :is(p, li) { overflow-wrap: break-word; }
.prose code {
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
.prose .callout {
  background: var(--c-ivory-2);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 1.3rem 0;
}

/* Screenshot showcase */
.shot-wrap { max-width: 980px; margin: 0 auto; }
.shot-caption { text-align: center; margin-top: 1rem; font-size: var(--fs-small); color: var(--c-muted); font-style: italic; }

/* Checklist columns */
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.checklist-section .btn-row { justify-content: center; }
.check-col {
  background: var(--white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.check-col::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-gold), transparent 75%);
}
.check-col h3 { margin-bottom: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--c-line); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.faq-item[open] { border-color: var(--c-gold-line); box-shadow: var(--shadow-card); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 650;
  color: var(--c-navy);
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: color var(--dur) var(--ease-out);
}
.faq-item summary:hover { color: var(--c-gold-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--c-gold-deep);
  font-family: var(--font-body);
  transition: transform var(--dur) var(--ease-out);
}
.faq-item[open] summary { color: var(--c-gold-deep); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-a { padding: 0 22px 18px; }

/* Quote band */
.quote-band { text-align: center; }
.big-quote p {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--c-navy);
  font-weight: 500;
  line-height: 1.5;
}
.big-quote cite {
  display: block;
  margin-top: 1.3rem;
  font-style: normal;
  font-weight: 650;
  color: var(--c-gold-deep);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Trust note and proof strip */
.proof-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; list-style: none; }
.proof-list li { display: inline-flex; align-items: center; gap: 10px; }
.proof-list li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; }
.logo-note {
  background: var(--c-space);
  color: var(--c-gold-bright);
  border-block: 1px solid var(--line-dark);
  padding: 1.15rem 0;
  text-align: center;
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(800px 320px at 80% -20%, rgba(194, 154, 84, 0.12), transparent 60%),
    linear-gradient(180deg, var(--c-ivory-2) 0%, var(--c-page) 100%);
  padding: 3.3rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--c-line);
}
.page-hero h1, .form-success h1 { max-width: 30ch; margin-inline: auto; }
.page-hero p:where(:not(.eyebrow)), .form-success p:where(:not(.eyebrow)) { max-width: 46em; margin: 0.9rem auto 0; font-size: var(--fs-body); }

/* ---------- Forms ---------- */
.public-form {
  background: var(--white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.public-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-navy), var(--c-gold), var(--c-navy));
}
.form-field { display: grid; gap: 7px; }
.form-field label { font-weight: 650; color: var(--c-navy); font-size: var(--fs-ui); }
.req { color: #A6402F; }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--c-ivory-2);
  color: var(--c-navy);
  width: 100%;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--c-gold-deep);
  box-shadow: 0 0 0 3px rgba(133, 101, 38, 0.85);
}
.field-error { color: #A6402F; font-size: var(--fs-small); }
.form-error-box {
  background: #FBF0EC;
  border: 1px solid #E3C4BB;
  color: #8E3322;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 1.1rem;
}
.form-error-title { margin: 0 0 6px; color: inherit; font-size: var(--fs-title-sm); line-height: 1.3; letter-spacing: 0; }
.form-error-message { margin: 0; font-weight: 600; }
.form-error-message + .form-error-title { margin-top: 10px; }
.form-error-list { margin: 0; padding-left: 1.25em; list-style: disc; }
.form-error-list a { color: inherit; font-weight: 600; }
.form-required-note { margin: 0; color: var(--c-muted); font-size: var(--fs-small); }
.form-notice {
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 1.1rem;
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  padding: 56px 34px;
  position: relative;
  overflow: hidden;
}
.form-success::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-bright), var(--c-gold));
}
.form-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--c-navy), var(--c-navy-deep));
  color: var(--c-gold-bright);
  font-size: 1.7rem;
  font-weight: 700;
  border: 1px solid var(--c-gold-line);
  box-shadow: 0 0 40px rgba(227, 194, 124, 0.3);
}
.captcha-field { min-height: 66px; }
/* No reserved gap while Turnstile is unconfigured (widget_html returns ""). */
.captcha-field:empty { display: none; min-height: 0; }
.form-context {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  border: 1px solid var(--c-gold-line);
  background: var(--c-ivory);
  color: var(--c-navy);
  padding: 12px 15px;
  border-radius: var(--radius-sm);
}
.form-context span { color: var(--c-slate); }

/* ---------- Catalogue cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--c-navy);
  transition: background 0.28s var(--ease-out);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-gold-line);
  box-shadow: var(--shadow-card-hover);
}
.product-card:hover::before { background: linear-gradient(90deg, var(--c-gold), var(--c-gold-bright)); }
.product-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  color: var(--c-gold-bright);
  background: linear-gradient(150deg, var(--c-navy), var(--c-navy-deep));
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  box-shadow: inset 0 0 18px rgba(227, 194, 124, 0.1);
}
.product-icon-img { width: 34px; height: 34px; object-fit: contain; }
.product-group {
  color: var(--c-gold-deep);
  font-size: var(--fs-caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.product-card h3 { font-size: var(--fs-title-sm); letter-spacing: -0.015em; }
.product-card h3 a { color: var(--c-navy); }
.product-card h3 a:hover { color: var(--c-gold-deep); }
.product-card > p:not(.product-group):not(.product-price):not(.product-meta) {
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .card-more { margin-top: auto; padding-top: 18px; font-weight: 650; }
.product-card:hover .card-more { transform: translateX(4px); }
.product-price { color: var(--c-price); font-weight: 750; margin-top: 14px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: var(--fs-small); font-weight: 600; }
.product-version { letter-spacing: 0.02em; }
.product-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(140deg, var(--c-navy), var(--c-navy-deep));
  color: var(--c-gold-bright);
  font-size: var(--fs-caption);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid var(--line-dark-strong);
}

/* ---------- Flagship constellation (bento) ---------- */
.constellation-section { position: relative; }
/* Three columns: the 2x2 flagship plus five standard cards tile the grid
   exactly, leaving no stranded final row. */
.constellation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.constellation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--c-slate);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.constellation-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-gold-line);
  box-shadow: var(--shadow-card-hover);
}
.constellation-kicker {
  font-size: var(--fs-caption);
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  margin-bottom: 10px;
}
.constellation-card h3 { font-size: var(--fs-title-sm); letter-spacing: -0.018em; }
.constellation-card p { margin-top: 8px; font-size: var(--fs-ui); line-height: 1.58; }
.constellation-card .card-more { margin-top: auto; padding-top: 14px; }
.constellation-card:hover .card-more { transform: translateX(4px); }
/* Real Golden screenshots, each framed as a miniature website (the showroom's
   browser-chrome treatment) — the section SHOWS the product, not an icon. */
.constellation-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.constellation-screen {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  background: var(--white);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.constellation-chrome {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  height: 16px;
  padding-inline: 8px;
  background: var(--c-ivory-2);
  border-bottom: 1px solid var(--c-line);
}
.constellation-chrome i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(15, 59, 46, 0.22);
}
.constellation-chrome i:first-child { background: var(--c-gold); }
.constellation-screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.constellation-card:hover .constellation-screen {
  border-color: var(--c-gold-line);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 59, 46, 0.1);
}
/* On the deep-space flagship tile the frames sit on navy */
.constellation-card.is-flagship .constellation-screen {
  border-color: rgba(227, 194, 124, 0.32);
  box-shadow: 0 10px 26px rgba(6, 21, 14, 0.45);
}
.constellation-card.is-flagship .constellation-chrome {
  background: rgba(8, 25, 15, 0.85);
  border-bottom-color: rgba(227, 194, 124, 0.28);
}
.constellation-card.is-flagship .constellation-chrome i { background: rgba(247, 248, 241, 0.3); }
.constellation-card.is-flagship .constellation-chrome i:first-child { background: var(--c-gold-bright); }
.constellation-card.is-flagship:hover .constellation-screen {
  border-color: var(--c-gold-bright);
  transform: translateY(-2px);
}
.constellation-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, var(--c-navy), var(--c-navy-deep));
  color: var(--c-gold-bright);
  border: 1px solid var(--line-dark-strong);
  box-shadow: inset 0 0 18px rgba(227, 194, 124, 0.1);
  margin-bottom: 18px;
}
.constellation-badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: var(--fs-caption);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold-bright);
  background: rgba(8, 25, 15, 0.92);
  border: 1px solid var(--line-dark-strong);
  padding: 5px 11px;
  border-radius: 3px;
}
/* The flagship tile — a window into deep space */
.constellation-card.is-flagship {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  min-height: 420px;
  color: rgba(247, 248, 241, 0.78);
  background:
    radial-gradient(720px 420px at 85% 0%, rgba(194, 154, 84, 0.28), transparent 55%),
    radial-gradient(560px 340px at 0% 100%, rgba(30, 90, 62, 0.3), transparent 60%),
    linear-gradient(150deg, var(--c-space) 0%, var(--c-navy-deep) 55%, var(--c-navy) 100%);
  border-color: rgba(8, 25, 15, 0.8);
  box-shadow: var(--shadow-glow);
}
.constellation-card.is-flagship::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--starfield);
  background-size: 560px 420px;
  opacity: 0.8;
  pointer-events: none;
}
.constellation-card.is-flagship::after {
  content: "";
  position: absolute;
  right: -110px; top: -110px;
  width: 320px; height: 320px;
  border: 1px solid rgba(227, 194, 124, 0.25);
  border-radius: 50%;
  box-shadow: inset 0 0 0 40px rgba(227, 194, 124, 0.03), 0 0 60px rgba(227, 194, 124, 0.08);
  pointer-events: none;
}
.constellation-card.is-flagship .constellation-kicker { color: var(--c-gold-bright); }
.constellation-card.is-flagship h3 {
  color: var(--white);
  font-size: var(--fs-h3);
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.constellation-card.is-flagship h3 .accent { color: var(--c-gold-bright); }
.constellation-card.is-flagship p { max-width: 46ch; font-size: var(--fs-body); color: rgba(247, 248, 241, 0.72); }
.constellation-card.is-flagship .card-more { color: var(--c-gold-bright); font-size: 1rem; }
.constellation-card.is-flagship:hover { border-color: rgba(227, 194, 124, 0.4); }
.constellation-orbit {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: auto;
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-bright);
}
.constellation-orbit i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-mint);
  box-shadow: 0 0 0 4px rgba(52, 214, 158, 0.15), 0 0 12px rgba(52, 214, 158, 0.6);
}

/* Pricing cards */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 30px;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}
.plan-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--c-navy);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.plan-card.highlighted {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--c-gold-line);
  box-shadow: var(--shadow-card-hover), 0 0 60px rgba(227, 194, 124, 0.18);
}
.plan-card.highlighted::before { background: linear-gradient(90deg, var(--c-gold), var(--c-gold-bright)); }
.plan-popular {
  position: absolute;
  top: 16px; right: 18px;
  background: linear-gradient(140deg, var(--c-gold-bright), var(--c-gold));
  color: var(--c-navy-deep);
  padding: 5px 12px;
  font-size: var(--fs-caption);
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}
.plan-price {
  color: var(--c-price);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 12px 0;
}
.plan-contact { font-size: 1.35rem; }
.plan-card ul { list-style: none; display: grid; gap: 10px; margin: 8px 0 24px; }
.plan-card li { display: flex; align-items: flex-start; gap: 8px; }
.plan-card li svg { flex: 0 0 auto; color: var(--c-success); margin-top: 4px; }
.plan-card .btn { margin-top: auto; }
.price-disclaimer { text-align: center; color: var(--c-muted); font-size: var(--fs-small); margin-top: 22px; }

/* Pricing page — orderable catalogue */
.order-catalogue { margin-top: 0.4rem; }
.order-lede { max-width: 62ch; font-size: var(--fs-body); color: var(--c-ink); }
.order-lede strong { color: var(--c-gold-deep); }
.order-group { margin-top: 2.6rem; }
.order-group:first-of-type { margin-top: 1.5rem; }
.order-group-head { margin-bottom: 1.15rem; }
.order-group-head h3 {
  font-size: var(--fs-h3);
  margin: 0 0 0.4rem;
  padding-bottom: 0.55rem;
  position: relative;
}
.order-group-head h3::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 48px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-bright));
}
.order-group-head p { max-width: 66ch; color: var(--c-muted); margin: 0; font-size: var(--fs-body); }
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.order-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 22px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 240, 231, 0.9));
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out), border-color 0.26s var(--ease-out);
}
.order-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-navy), var(--c-gold));
  opacity: 0.92;
}
.order-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--c-gold-line);
}
.order-tag {
  align-self: flex-start;
  font-size: var(--fs-caption);
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  background: rgba(194, 154, 84, 0.12);
  border: 1px solid var(--c-gold-line);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.order-tag--free { color: var(--c-navy); background: rgba(15, 59, 46, 0.08); }
.order-name { font-size: var(--fs-title-sm); margin: 0 0 8px; line-height: 1.25; color: var(--c-navy-deep); }
.order-price { margin: 0 0 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.order-amount { color: var(--c-price); font-size: 1.5rem; font-weight: 760; letter-spacing: -0.01em; }
.order-unit { color: var(--c-muted); font-size: var(--fs-small); font-weight: 600; }
.order-sub { margin: 0 0 10px; color: var(--c-muted); font-size: var(--fs-small); line-height: 1.45; }
.order-desc { margin: 0 0 18px; color: var(--c-ink); font-size: var(--fs-small); line-height: 1.5; }
.order-cta { margin-top: auto; width: 100%; justify-content: center; }
.order-card--free { background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(238, 240, 231, 0.84)); }
.order-card--free::before { background: linear-gradient(90deg, var(--c-muted), var(--c-gold-line)); opacity: 0.6; }
.order-note {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: var(--fs-small);
  max-width: 84ch;
}
@media (max-width: 560px) {
  .order-grid { grid-template-columns: 1fr; }
}

/* Domain search — a beacon in deep space */
.domain-search-section h2 { color: var(--white); }
.domain-search-section h2 .accent { color: var(--c-gold-bright); }
.domain-search-section .section-head p { color: rgba(247, 248, 241, 0.72); }
.domain-search-section .section-head h2::after { left: 50%; transform: translateX(-50%); }
.domain-search-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--c-gold);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 70px rgba(227, 194, 124, 0.15);
  overflow: hidden;
}
.domain-search-icon { display: grid; place-items: center; color: var(--c-gold-deep); padding-left: 18px; }
.domain-search-form input[type="text"] {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--c-navy);
  padding: 19px 14px;
  font: 600 var(--fs-body) var(--font-body);
}
/* The visible keyboard-focus indicator lives on the whole beacon so the
   input can drop its own outline without failing WCAG 2.4.7. */
.domain-search-form:focus-within {
  border-color: var(--c-gold-bright);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(227, 194, 124, 0.55);
}
.domain-search-form input:focus { outline: none; }
.domain-search-form .btn { margin: 7px; white-space: nowrap; }
.domain-note { color: rgba(247, 248, 241, 0.86); font-size: var(--fs-small); text-align: center; margin-top: 14px; }
/* The link sits on the dark search band: luminous gold, not the light-bg
   deep gold it would otherwise inherit — bright at rest and brighter on hover. */
.domain-note a { color: var(--c-gold-bright, #E3C27C); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.domain-note a:hover, .domain-note a:focus { color: #fffdf7; }

/* Trust wall */
.logo-wall {
  background: var(--c-ivory-2);
  border-block: 1px solid var(--c-line);
  padding: 28px 0;
}
.logo-wall .container > p {
  text-align: center;
  color: var(--c-muted);
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.logo-wall-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.logo-wall-grid > * {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px 16px;
  background: var(--white);
  color: var(--c-navy);
  border: 1px solid var(--c-line);
  border-radius: 3px;
  font-weight: 650;
  font-size: var(--fs-small);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.logo-wall-grid > *:hover { border-color: var(--c-gold-line); box-shadow: var(--shadow-card); }
.logo-wall.grayscale img { filter: grayscale(1); opacity: 0.72; transition: filter var(--dur), opacity var(--dur); }
.logo-wall.grayscale a:hover img, .logo-wall.grayscale div:hover img { filter: none; opacity: 1; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 2px; right: 18px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(194, 154, 84, 0.18);
}
.testimonial-card blockquote { color: var(--c-navy); font-size: var(--fs-title-sm); font-weight: 500; }
.testimonial-card figcaption { display: grid; margin-top: 18px; font-size: var(--fs-small); }
.testimonial-card figcaption strong { color: var(--c-navy); }
.testimonial-card figcaption span { color: var(--c-muted); }

/* Split service CTA */
.cta-split-section { color: rgba(247, 248, 241, 0.75); }
.cta-split-section h2 { color: var(--white); }
.cta-split-section h2 .accent { color: var(--c-gold-bright); }
.cta-split-section .eyebrow {
  color: var(--c-gold-bright);
}
.cta-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
}
.cta-split-visual svg, .cta-split-visual img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
}
.cta-split-section.variant-ivory { background: var(--c-ivory-2) !important; color: var(--c-slate); }
.cta-split-section.variant-ivory h2 { color: var(--c-navy); }
.cta-split-section.variant-gold { background: linear-gradient(140deg, var(--c-gold-bright), var(--c-gold)) !important; color: var(--c-navy-deep); }
.cta-split-section.variant-gold h2 { color: var(--c-navy-deep); }

/* Showcase gallery */
.showcase-intro { text-align: center; margin: -18px auto 28px; max-width: 660px; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.showcase-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.showcase-card {
  display: block;
  min-width: 0;
  background: var(--white);
  color: var(--c-slate);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.showcase-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: var(--c-gold-line); }
.showcase-placeholder {
  aspect-ratio: 16 / 10;
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(420px 220px at 80% 10%, rgba(227, 194, 124, 0.25), transparent 60%),
    linear-gradient(155deg, var(--c-space) 0%, var(--c-navy) 55%, var(--c-nebula) 100%);
  color: var(--c-navy);
  border-bottom: 1px solid var(--c-line);
}
.showcase-placeholder::before {
  content: "";
  position: absolute; left: 8%; right: 8%; top: 10%; height: 9px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 20px;
}
.showcase-placeholder span { position: absolute; width: 28%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.4); }
.showcase-placeholder span:nth-child(1) { left: 8%; top: 26%; }
.showcase-placeholder span:nth-child(2) { left: 8%; top: 34%; width: 40%; }
.showcase-placeholder span:nth-child(3) { right: 8%; bottom: 12%; height: 28%; background: rgba(227, 194, 124, 0.55); }
.showcase-placeholder strong {
  z-index: 1;
  margin-top: 32%;
  background: var(--c-page);
  padding: 7px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}
.showcase-meta { padding: 20px; }
.showcase-meta b { color: var(--c-gold-deep); font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; }
.showcase-meta h3 { margin-top: 4px; }
.showcase-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.showcase-tags span {
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--c-muted);
  font-size: var(--fs-caption);
}

/* ---------- Footer — the edge of the universe ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-navy-deep) 0%, var(--c-space) 100%);
  color: rgba(247, 248, 241, 0.72);
  margin-top: clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--line-dark-strong);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--starfield);
  background-size: 640px 480px;
  opacity: 0.5;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) repeat(5, minmax(120px, 1fr));
  gap: clamp(22px, 2.7vw, 42px);
  padding: 3.4rem var(--page-gutter) 2.4rem;
}
.footer-brand p { margin-top: 0.95rem; font-size: var(--fs-ui); max-width: 30em; }
.footer-brandname {
  display: inline-block;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  /* Brass-to-soft-green wash echoing the logo, on the deep-green footer */
  background: linear-gradient(92deg, var(--c-gold-bright) 0%, var(--c-gold) 52%, #6FA382 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--c-gold-bright);
  margin-bottom: 0.5rem;
}
.footer-brandname:hover { -webkit-text-fill-color: var(--white); color: var(--white); }
/* The registered mark (UX-11): small, raised, one size on every page. */
.tm { position: relative; top: -.55em; margin-left: 1px; font-size: .6em; font-weight: 400; line-height: 0; vertical-align: 0; }
.footer-mark { display: inline-flex; align-items: center; flex: 0 0 auto; }
.footer-mark img { height: 32px; width: auto; }
.footer-contact { line-height: 1.9; }
.footer-contact a { color: var(--c-gold-bright); }
.footer-contact a:hover { color: var(--white); }
.footer-social { margin-top: 0.9rem; display: flex; gap: 14px; }
.footer-social a { color: var(--c-gold-bright); }
.footer-social a:hover { color: var(--white); }
.site-footer h4 { color: var(--c-gold-bright); margin-bottom: 1rem; font-size: var(--fs-caption); letter-spacing: 0.16em; white-space: nowrap; }
.site-footer h4 a { color: var(--c-gold-bright); }
.site-footer h4 a:hover { color: var(--white); }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer ul a { color: rgba(247, 248, 241, 0.66); }
.site-footer ul a:hover { color: var(--c-gold-bright); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.25rem var(--page-gutter);
  /* Its last line clears a shown cookie banner. */
  padding-bottom: calc(1.25rem + var(--consent-h, 0px));
  font-size: var(--fs-small);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: rgba(247, 248, 241, 0.58);
}
.footer-bottom a { color: var(--c-gold-bright); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-legalinfo { white-space: nowrap; }
.cookie-choices-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--c-gold-bright);
  cursor: pointer;
  font: inherit;
}
.cookie-choices-link:hover { color: var(--white); }
.payment-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: rgba(247, 248, 241, 0.7);
  margin-left: auto;
  padding-right: 56px;
}
.payment-strip > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(227, 194, 124, 0.42);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  font-weight: 760;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* ---------- Utilities ---------- */
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
.prose-table-wrap:focus-visible {
  /* Two-tone ring so the focus indicator always clears WCAG 1.4.11 (3:1) on
     either ground: the navy-deep OUTLINE carries light surfaces (16:1 on
     cream) and is immune to ancestor overflow clipping; the brass box-shadow
     halo carries the dark green bands (7:1). */
  outline: 2px solid var(--c-navy-deep);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--c-gold-bright);
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-navy); color: #fff; padding: 10px 18px; z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; top: 0; }

/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--c-navy), var(--c-navy-deep));
  color: var(--c-gold-bright);
  border: 1px solid var(--c-gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(6, 21, 14, 0.4), 0 0 24px rgba(227, 194, 124, 0.15);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), background 0.2s;
  z-index: 250;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; transform: translateY(-2px); }

/* Live-chat coexistence: the chat launcher (60px) also sits bottom-right, so
   lift the back-to-top clear of it and centre it over the launcher whenever the
   chat FAB is present; hide it entirely while the chat window is open. */
body:has(#tcs-chat-widget) .to-top { bottom: 96px; right: 30px; }
body:has(#tcs-chat-widget[aria-expanded="true"]) .to-top {
  opacity: 0; visibility: hidden; pointer-events: none;
}

[data-order-placeholder="true"] { cursor: not-allowed; opacity: 0.78; }
.order-status {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  z-index: 880;
  background: rgba(9, 30, 20, 0.97);
  color: var(--white);
  border: 1px solid var(--c-gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-card-hover);
  font-size: var(--fs-small);
}

/* ---------- Consent centre (injected by consent.js) ---------- */
.consent-banner {
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 900;
  max-width: 960px;
  margin: auto;
  background: rgba(9, 30, 20, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: rgba(247, 248, 241, 0.82);
  border: 1px solid var(--c-gold);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  padding: 22px;
  border-radius: var(--radius);
}
.consent-banner h2, .consent-dialog h2 { color: var(--white); }
.consent-banner p { font-size: var(--fs-small); margin-top: 7px; }
.consent-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 15px; }
.consent-actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  font-size: var(--fs-ui);
}
.consent-backdrop {
  position: fixed; inset: 0; z-index: 910;
  display: grid; place-items: center;
  padding: 18px;
  background: rgba(6, 21, 14, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.consent-dialog {
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: rgba(9, 30, 20, 0.98);
  color: rgba(247, 248, 241, 0.78);
  border: 1px solid var(--c-gold);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.consent-options { display: grid; gap: 10px; margin-top: 18px; }
.consent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
}
.consent-option strong { color: var(--white); }
.consent-option small { display: block; line-height: 1.4; margin-top: 3px; }
.consent-option input { width: 20px; height: 20px; accent-color: var(--c-gold); }
.consent-option .always-on { color: var(--c-gold-bright); font-size: var(--fs-caption); text-transform: uppercase; }

/* ---------- Flagship AI Website Builder hero — deep space ---------- */
.hero-builder-flagship {
  position: relative;
  isolation: isolate;
  min-height: min(680px, calc(100vh - var(--header-h)));
  padding-block: clamp(3.2rem, 4.6vw, 4.6rem) clamp(3.8rem, 5.2vw, 5.2rem);
  color: rgba(247, 248, 241, 0.8);
  /* Royal navy field with a restrained gold sheen and a double gold rule at
     the foot — the heritage seam between the dark frame and ivory paper. */
  background:
    linear-gradient(0deg, var(--c-gold) 0, var(--c-gold) 2px, transparent 2px),
    linear-gradient(0deg, transparent 0, transparent 5px, rgba(227, 194, 124, 0.55) 5px, rgba(227, 194, 124, 0.55) 6px, transparent 6px),
    radial-gradient(1000px 560px at 82% -8%, rgba(194, 154, 84, 0.2), transparent 55%),
    radial-gradient(820px 480px at -4% 100%, rgba(30, 90, 62, 0.35), transparent 58%),
    linear-gradient(155deg, var(--c-navy-2) 0%, var(--c-navy) 46%, var(--c-navy-deep) 100%);
}
.hero-builder-flagship::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(227, 194, 124, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 194, 124, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent 4%, #000 42%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 4%, #000 42%, #000 100%);
}
.hero-builder-flagship::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--starfield);
  background-size: 640px 480px;
  opacity: 0.9;
}
.hero-builder-flagship .hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(42px, 5vw, 90px);
  /* Start the flagship preview at the top of the copy column so it sits higher,
     aligned to the eyebrow line rather than vertically centred. */
  align-items: start;
}

/* TCS Connect UK: the integration graphic begins on the eyebrow line. */
.page-connect-uk .hero-grid,
.page-connect-uk-products .hero-grid,
.page-connect-uk-partners .hero-grid { align-items: start; }
.page-connect-uk .hero-visual,
.page-connect-uk-products .hero-visual,
.page-connect-uk-partners .hero-visual { margin-top: 0.35rem; }
/* Software product heroes: lift the illustration so it begins level with the
   headline instead of centring against a tall title column. */
[class*="page-software-"] .hero-grid { align-items: start; }
[class*="page-software-"] .hero-visual { margin-top: 0.35rem; }
.hero-builder-flagship .eyebrow {
  color: var(--c-gold-bright);
  text-shadow: 0 0 22px rgba(227, 194, 124, 0.25);
}
/* The headline holds two-to-three lines at the h1 step, so the primary CTA
   stays above the fold on ordinary laptop viewports. */
.hero-builder-flagship h1 {
  max-width: 30ch;  /* recalibrated for the 40px cap (was 880px); royal .hero h1 also caps combined-class flagship heroes */
  color: var(--white);
  line-height: 1.07;
  letter-spacing: -0.015em;
}
.hero-builder-flagship h1 .accent {
  color: var(--c-gold-bright);
  background: linear-gradient(120deg, #E9DCB2 0%, var(--c-gold-bright) 45%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-builder-flagship .hero-sub {
  max-width: 620px;
  margin-top: 1.05rem;
  color: rgba(247, 248, 241, 0.78);
  line-height: 1.58;
}
.hero-builder-flagship .btn-row { margin-top: 1.5rem; }
.hero-builder-flagship .hero-chips li {
  background: rgba(227, 194, 124, 0.07);
  border-color: var(--line-dark);
  color: rgba(247, 248, 241, 0.82);
  box-shadow: none;
}
.hero-builder-flagship .hero-chips li svg { color: var(--c-gold-bright); }
.hero-builder-flagship .hero-trust { margin-top: 1.3rem; }
.hero-builder-flagship .hero-trust {
  max-width: 650px;
  color: rgba(247, 248, 241, 0.6);
  border-top-color: var(--line-dark);
  font-weight: 520;
}
.hero-builder-flagship .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-ivory-2);
  border-color: var(--line-dark-strong);
}
.hero-builder-flagship .btn-ghost:hover {
  border-color: var(--c-gold-bright);
  color: var(--white);
  background: rgba(227, 194, 124, 0.08);
}
.hero-builder-flagship .btn-primary {
  background: linear-gradient(140deg, var(--c-gold-bright) 0%, var(--c-gold) 60%, #A98A46 100%);
  color: var(--c-navy-deep);
  border-color: rgba(227, 194, 124, 0.5);
  box-shadow: 0 14px 36px rgba(194, 154, 84, 0.4);
}
.hero-builder-flagship .btn-primary:hover {
  color: var(--c-space);
  box-shadow: 0 20px 46px rgba(194, 154, 84, 0.5);
}

/* A quiet cue that the story continues below the fold */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 22px; height: 34px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 999px;
  pointer-events: none;
}
.hero-scroll-cue i {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px; height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--c-gold-bright);
  animation: cue-drop 2.2s var(--ease-out) infinite;
}
@keyframes cue-drop {
  0% { transform: none; opacity: 0; }
  25% { opacity: 1; }
  75%, 100% { transform: translateY(12px); opacity: 0; }
}
@media (max-height: 720px), (max-width: 1020px) {
  .hero-scroll-cue { display: none; }
}

/* Flagship hero visual: an editorial brief-to-launch workbench. */
.builder-workbench {
  position: relative;
  overflow: hidden;
  color: var(--c-navy);
  background: #FEFDF9;
  border: 1px solid rgba(8, 25, 15, 0.85);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(217, 188, 127, 0.35),
    0 34px 80px rgba(4, 10, 24, 0.5),
    12px 12px 0 rgba(217, 188, 127, 0.08);
  transform: perspective(1500px) rotateY(-1.25deg) translateY(2px);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.hero-builder-flagship .hero-visual:hover .builder-workbench {
  transform: perspective(1500px) rotateY(0deg) translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(217, 188, 127, 0.5),
    0 42px 90px rgba(4, 10, 24, 0.6),
    14px 14px 0 rgba(217, 188, 127, 0.12);
}
/* The selected Golden Template is the proof, not decoration. Its stage keeps
   a stable ratio and still reads as a product surface if the remote image is
   temporarily unavailable. */
.builder-preview-screens {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8.4;
  min-height: 260px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 32%, rgba(176, 141, 79, 0.2), transparent 24%),
    linear-gradient(145deg, #FFFDF7, var(--c-ivory-2));
  border: 1px solid var(--c-line);
  border-top: 0;
}
.builder-preview-screens::before {
  content: "BRAMBLE PAWS RESCUE";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(14, 33, 72, 0.18);
  font: 750 clamp(0.85rem, 1.4vw, 1.1rem) var(--font-body);
  letter-spacing: 0.18em;
}
.builder-preview-screens img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s var(--ease-out);
}
.builder-preview-screens .builder-preview-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  z-index: 2;
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 3px;
  background: rgba(8, 25, 15, 0.94);
  border: 1px solid rgba(217, 188, 127, 0.5);
  max-width: calc(100% - 13rem);
  color: var(--c-gold-bright);
  font-size: var(--fs-caption);
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.builder-preview-action {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 11px;
  color: var(--c-navy);
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(14, 33, 72, 0.18);
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(5, 17, 11, 0.16);
  font-size: var(--fs-caption);
  font-weight: 700;
}
.builder-preview-link {
  display: block;
  color: inherit;
}
.builder-preview-link:hover img { transform: scale(1.015); }
.builder-preview-link:focus-visible {
  outline: 3px solid var(--c-gold-deep);
  outline-offset: 4px;
}
.builder-workbench-bar {
  min-height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--c-space);
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(217, 188, 127, 0.4);
  font-size: var(--fs-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.builder-workbench-bar span { display: inline-flex; align-items: center; gap: 9px; }
.builder-workbench-bar i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-mint);
  box-shadow: 0 0 0 4px rgba(62, 207, 142, 0.12);
  animation: pulse-live 2.4s ease-in-out 2;
}
.builder-workbench-bar b { flex-shrink: 0; color: #78DBA2; font-size: var(--fs-caption); letter-spacing: 0.16em; }
.builder-preview-nav {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: var(--c-space);
  border-radius: 6px 6px 0 0;
}
.builder-preview-nav i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.38); }
.builder-preview-nav i:nth-child(2) { background: var(--c-gold-bright); }
.builder-preview-nav span {
  width: min(46%, 230px);
  min-height: 15px;
  margin-left: 8px;
  padding: 2px 8px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.55rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.builder-preview-page {
  min-height: 300px;
  padding: clamp(25px, 4vw, 44px);
  background:
    radial-gradient(circle at 82% 25%, rgba(176, 141, 79, 0.25), transparent 22%),
    #FFFAF0;
}
.builder-preview-label {
  display: block;
  margin-bottom: 20px;
  color: var(--c-gold-deep);
  font-size: var(--fs-caption);
  font-weight: 750;
  letter-spacing: 0.15em;
}
.builder-preview-page strong {
  display: block;
  max-width: 85%;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.5rem);
  line-height: 1.04;
}
.builder-preview-page strong em { color: var(--c-gold-deep); }
.builder-preview-page > p {
  width: 68%;
  height: 6px;
  margin-top: 19px;
  border-radius: 3px;
  background: #D7D5CE;
}
.builder-preview-page > p + p { width: 52%; margin-top: 8px; }
.builder-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}
.builder-preview-cards i {
  height: 54px;
  border: 1px solid #DDD6C8;
  border-top: 3px solid var(--c-gold);
  border-radius: 4px;
  background: #FFF;
}
.builder-preview-cards i:nth-child(1) { animation: card-assemble 7s ease-in-out 1 0.6s; }
.builder-preview-cards i:nth-child(2) { animation: card-assemble 7s ease-in-out 1 1s; }
.builder-preview-cards i:nth-child(3) { animation: card-assemble 7s ease-in-out 1 1.4s; }
.builder-workbench-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
  padding: 13px 20px 15px;
  background: #FFFDF8;
  border-top: 1px solid var(--c-line);
}
.builder-workbench-proof span + span { border-left: 1px solid var(--c-line); padding-left: 18px; }
.builder-workbench-proof small {
  display: block;
  margin-bottom: 2px;
  color: var(--c-gold-deep);
  font-size: var(--fs-caption);
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.builder-workbench-proof b { display: block; color: var(--c-navy); font-size: var(--fs-caption); }

/* ---------- Motion ---------- */
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 214, 158, 0.12); }
  50% { box-shadow: 0 0 0 7px rgba(52, 214, 158, 0.05), 0 0 14px rgba(52, 214, 158, 0.55); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
/* Transform-only variant: never holds the element invisible, so animating the
   H1 with it cannot delay Largest Contentful Paint. */
@keyframes rise-in {
  from { transform: translateY(22px); }
  to { transform: none; }
}

.reveal {
  /* Motion is an enhancement: content remains readable when an observer is
     throttled, a screenshot jumps the page, or a browser restores scroll. */
  opacity: 1;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; will-change: auto; }
/* Stagger inside grids (set by site.js via data-reveal-order) */
[data-reveal-order="1"] { transition-delay: 0.06s; }
[data-reveal-order="2"] { transition-delay: 0.12s; }
[data-reveal-order="3"] { transition-delay: 0.18s; }
[data-reveal-order="4"] { transition-delay: 0.24s; }
[data-reveal-order="5"] { transition-delay: 0.3s; }

/* Hero entrance choreography. The H1 (usual LCP element) slides without an
   opacity hold; supporting copy fades in briefly around it. */
.hero-copy > .eyebrow { animation: fade-up 0.5s var(--ease-out) both; }
.hero-copy > h1 { animation: rise-in 0.55s var(--ease-out) both; }
.hero-copy > .hero-sub, .hero-copy > .hero-body { animation: fade-up 0.5s var(--ease-out) 0.12s both; }
.hero-copy > .btn-row { animation: fade-up 0.5s var(--ease-out) 0.22s both; }
.hero-copy > .hero-trust { animation: fade-up 0.5s var(--ease-out) 0.32s both; }
.hero-visual { animation: fade-up 0.65s var(--ease-out) 0.18s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-copy > *, .hero-visual { animation: none !important; opacity: 1 !important; }
}

/* ---------- Responsive ---------- */
/* The desktop header row holds on one line from 1021px (FE-01): the nav chip
   goes and the links tighten up to 1360px, and up to 1100px Client Area
   leaves the row (it stays in the footer). */
@media (max-width: 1360px) {
  .site-nav .nav-chip { display: none; }
  .site-nav > ul > li > a { padding-inline: 7px; font-size: 0.86rem; }
  .site-nav > ul > li.has-mega > .nav-category-link { padding-right: 2px; }
  .site-nav > ul > li > .nav-disclosure {
    min-width: 24px;
    padding-inline: 2px 6px;
  }
  .header-inner { gap: 10px; }
}
@media (min-width: 1021px) and (max-width: 1100px) {
  .header-actions .header-utility { display: none; }
}
@media (max-width: 1280px) {
  .mega-columns.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-builder-flagship .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: 42px;
  }
  .footer-grid { grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(150px, 1fr)); }
}
@media (max-width: 1020px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-actions { margin-left: auto; }
  .feature-grid, .feature-grid.cols-4, .check-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-3, .product-grid.cols-4,
  .showcase-grid, .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .constellation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .constellation-card.is-flagship { grid-column: 1 / -1; grid-row: auto; min-height: 360px; }
  /* An odd tail card stretches full-width instead of stranding beside a gap. */
  .constellation-card:not(.is-flagship):last-child:nth-child(even) { grid-column: 1 / -1; }
  .hero-builder-flagship { min-height: 0; padding-block: 4.6rem; }
  .hero-builder-flagship .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-builder-flagship .hero-copy { max-width: 760px; }
  .hero-builder-flagship .hero-visual { max-width: 780px; width: 100%; }
  .builder-workbench { transform: none; }
}
@media (max-width: 860px) {
  .hero-grid, .detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .detail-grid .detail-visual { order: 2; }
  .cta-split-grid { grid-template-columns: 1fr; gap: 30px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card.highlighted { transform: none; }
  /* Let the legal line wrap again once the row is too narrow for one line. */
  .footer-legalinfo { white-space: normal; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 20px; --header-h: 70px; }
  /* Skip the sticky-header blur on small screens: re-blurring the starfield
     bands underneath on every scroll frame is too costly on mobile GPUs. */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(8, 26, 17, 0.97);
  }
  .header-inner { height: var(--header-h); min-height: var(--header-h); }
  .site-logo-img { height: 44px; width: auto; }
  .hero-builder-flagship { padding-block: 3.4rem 3.8rem; }
  .builder-preview-page { min-height: 270px; padding: 25px 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 2.8rem 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom .payment-strip, .payment-strip { margin-left: 0; }
}
@media (max-width: 560px) {
  .feature-grid, .feature-grid.cols-2, .feature-grid.cols-4,
  .check-grid { grid-template-columns: minmax(0, 1fr); }
  .constellation-badge { position: static; align-self: flex-start; margin-bottom: 12px; }
  .section { padding-block: 2.6rem; }
  .public-form { padding: 24px 20px; }
  .constellation { grid-template-columns: 1fr; }
  .constellation-card.is-flagship { min-height: 320px; }
}
@media (max-width: 620px) {
  .container { padding-inline: 19px; }
  .hero { padding: 3.4rem 0 3rem; }
  .product-grid, .product-grid.cols-2, .product-grid.cols-3, .product-grid.cols-4,
  .showcase-grid, .showcase-grid.cols-2, .testimonial-grid { grid-template-columns: 1fr; }
  .domain-search-form { grid-template-columns: auto minmax(0, 1fr); }
  .domain-search-form .btn { grid-column: 1 / -1; width: calc(100% - 14px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: grid; justify-items: start; }
  .consent-banner { left: 9px; right: 9px; bottom: 9px; padding: 18px; }
  .to-top { right: 16px; bottom: 16px; }
  body:has(#tcs-chat-widget) .to-top { bottom: 88px; right: 22px; }
}
@media (max-width: 480px) {
  :root { --page-gutter: 17px; }
  .btn-row { gap: 10px; }
  .btn-row .btn { width: 100%; }
  .builder-workbench-bar { padding-inline: 12px; }
  .builder-workbench-bar b { max-width: 120px; text-align: right; line-height: 1.25; }
  .builder-preview-screens { min-height: 220px; }
  .builder-preview-screens .builder-preview-label { left: 8px; bottom: 8px; max-width: 58%; }
  .builder-preview-action { right: 8px; bottom: 8px; padding-inline: 8px; }
  .builder-workbench-proof { grid-template-columns: 1fr; gap: 9px; padding-inline: 14px; }
  .builder-workbench-proof span + span { padding-top: 9px; padding-left: 0; border-top: 1px solid var(--c-line); border-left: 0; }
  .builder-preview-cards { gap: 6px; }
}

/* ── Domain tools: live results + WHOIS cards ─────────────────────────── */
.domain-results { display: grid; gap: 8px; margin-top: 16px; }
.domain-result {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border, #e2e5e9);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 59, 46, .06);
  color: #1c2b23;   /* light-band child: never inherit the band's light text */
}
.domain-result--available { border-color: #bfdcc8; }
.domain-result--loading { color: var(--muted, #556); justify-content: center; }
.domain-result-name { font-weight: 700; color: var(--dark, #14231c); overflow-wrap: anywhere; }
.domain-result-state { margin-left: auto; font-weight: 700; white-space: nowrap; }
.domain-result-state.ok  { color: #176047; }
.domain-result-state.no  { color: #8a5a12; }
.domain-result-state.err { color: var(--muted, #556); font-weight: 500; }
.domain-result .btn-sm { padding: 8px 18px; font-size: var(--fs-small); }
.domain-result-whois { font-size: var(--fs-small); font-weight: 600; color: var(--green, #1e792c); white-space: nowrap; }
/* Year one and renewal beside an available name (domain-search.js). */
.domain-result-price { font-size: var(--fs-small); font-weight: 700; color: var(--c-price); }
.whois-card {
  margin-top: 18px; padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border, #e2e5e9);
  border-top: 3px solid var(--c-accent, #C29A54);
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(15, 59, 46, .08);
  text-align: left;
  /* The card is a light surface inside the dark search band — pin its own
     dark text so headings/paragraphs never inherit the band's light colour. */
  color: #1c2b23;
}
.whois-card p, .whois-card--err p, .whois-card--free p { color: #1c2b23; }
.whois-card h3 { margin: 0 0 14px; font-size: var(--fs-title); overflow-wrap: anywhere; color: var(--c-navy, #0f3b2e); }
.whois-card--err p, .whois-card--free p { margin: 0 0 12px; }
.whois-grid { display: grid; gap: 10px; margin: 0; }
.whois-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: start; }
.whois-row dt { font-size: var(--fs-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #556); }
.whois-row dd { margin: 0; font-size: var(--fs-ui); color: var(--dark, #14231c); overflow-wrap: anywhere; }
.whois-chip {
  display: inline-block; margin: 0 4px 4px 0; padding: 2px 9px;
  font-size: var(--fs-caption); border: 1px solid var(--border, #e2e5e9);
  border-radius: 999px; background: #f7f9f8;
}
.whois-note { margin: 14px 0 0; font-size: var(--fs-small); color: var(--muted, #556); }

/* Managed CAPTCHA slot (mostly invisible; reserves space only when it shows) */
.domain-captcha { margin-top: 14px; display: flex; justify-content: center; min-height: 0; }
.domain-captcha:empty { display: none; }

/* Add-to-cart button + its "added" state */
.domain-add.is-added {
  background: #14603f; border-color: #14603f; color: #fff;
}
.domain-add.is-added:hover { background: #0f4d33; }

/* On-site selection bar — accumulate then hand off to the WHMCS cart */
.domain-cart {
  margin-top: 16px; padding: 16px 18px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  background: linear-gradient(120deg, rgba(227,194,124,.16), rgba(227,194,124,.06));
  border: 1px solid var(--c-gold); border-radius: 12px;
}
.domain-cart-label { color: var(--white); }
.domain-cart-label strong { color: var(--c-gold-bright); }
.domain-cart-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.domain-cart-chip {
  padding: 4px 10px; font-weight: 600; cursor: pointer;
  color: var(--white); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
}
.domain-cart-chip:hover { background: rgba(255,255,255,.16); }
.domain-cart-go { margin-left: auto; white-space: nowrap; }

/* WHOIS availability funnel */
.whois-badge {
  display: inline-block; margin: 0 0 12px; padding: 3px 12px;
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px;
}
.whois-badge--free { color: #0f4d33; background: #e3f3ea; border: 1px solid #bfdcc8; }
.whois-badge--taken { color: #8a5a12; background: #faf1df; border: 1px solid #ecd7ac; }
.whois-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.whois-card--free { border-top-color: #2e9c66; }

@media (max-width: 560px) {
  .domain-result { flex-wrap: wrap; }
  .whois-row { grid-template-columns: 1fr; gap: 2px; }
  .domain-cart-go { margin-left: 0; width: 100%; text-align: center; }
}

/* ==========================================================================
   Retired 2026 navy "rebrand contract" removed here. The British Heritage
   layer (royal.css) is the single semantic system and wins the cascade, so
   the old navy :root remap and component overrides were dead weight. Only the
   box-model these markup hooks still need is retained; royal.css colours them.
   ========================================================================== */
.region-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-bottom: 0.9rem;
  padding: 5px 11px;
  border: 1px solid;
  border-radius: 999px;
  font-size: var(--fs-caption);
  font-weight: 760;
  letter-spacing: 0.035em;
}
.hero-url-form { width: min(100%, 660px); margin-top: 1.4rem; }
.hero-url-form label { display: block; margin-bottom: 8px; font-weight: 720; }
.hero-url-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.hero-url-controls input { width: 100%; min-height: 48px; padding: 10px 13px; }
.hero-url-form > p { margin-top: 7px; font-size: var(--fs-small); }
@media (max-width: 760px) {
  .hero-url-controls { grid-template-columns: 1fr; }
  .hero-url-controls .btn { width: 100%; }
  .hero h1 { max-width: none; }
}

/* ==========================================================================
   Progressive enhancement (kept in the base layer so it overrides the heritage
   glass in royal.css): solid grounds where backdrop-filter is unavailable, and
   a reduced-transparency path. body-scoped to win the cascade without weight.
   ========================================================================== */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body .site-header, body .site-header.scrolled { background: linear-gradient(180deg, #1A563B, #113C2C); }
  body .mega-panel { background: linear-gradient(180deg, #103A28, #081E15); }
  body .domain-search-form { background: rgba(10, 30, 21, 0.92); }
  body .region-badge { background: rgba(66, 55, 30, 0.6); }
  body .hero-visual .illo-wrap,
  body .hero-visual .browser-frame,
  body .builder-workbench { background: rgba(18, 40, 30, 0.94); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .mega-panel, .consent-banner, .consent-dialog, .hero-url-form,
  .domain-search-form, .hero-visual .illo-wrap, .hero-visual .browser-frame,
  .builder-workbench, .tcs-golden-preview, .btn-ghost-light,
  #tcs-proactive, #tcs-chat-window {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  body .site-header, body .site-header.scrolled { background: linear-gradient(180deg, #1A563B, #113C2C); }
  body .mega-panel { background: linear-gradient(180deg, #103A28, #081E15); }
  body .consent-banner, body .consent-dialog { background: #0a1c12; }
  body .hero-url-form { background: rgba(6, 21, 14, 0.96); }
}

/* Illustration grammar: a few seeded hero SVGs were authored in the retired
   navy/blue/cyan/amber palette. Re-map only those source attributes to the
   heritage green/gold so every .illo-wrap reads on-brand. Green-source SVGs are
   untouched (none of these hexes occur in them). */
.illo-wrap svg [fill="#07182D"], .illo-wrap svg [fill="#0B2747"] { fill: #08190f; }
.illo-wrap svg [stroke="#07182D"], .illo-wrap svg [stroke="#0B2747"] { stroke: #08190f; }
.illo-wrap svg [fill="#12365F"] { fill: #0f3b2e; }
.illo-wrap svg [stroke="#12365F"] { stroke: #0f3b2e; }
.illo-wrap svg [fill="#2367F2"] { fill: #1e5a3e; }
.illo-wrap svg [stroke="#2367F2"] { stroke: #1e5a3e; }
.illo-wrap svg [fill="#8FA7C5"] { fill: #8aaa94; }
.illo-wrap svg [stroke="#8FA7C5"] { stroke: #8aaa94; }
.illo-wrap svg [fill="#24B8D8"] { fill: #c6aa6c; }
.illo-wrap svg [stroke="#24B8D8"] { stroke: #c6aa6c; }
.illo-wrap svg [fill="#F2A23A"] { fill: #b99755; }
.illo-wrap svg [stroke="#F2A23A"] { stroke: #b99755; }
.illo-wrap svg [fill="#EEF3FC"] { fill: #eef0e7; }
.illo-wrap svg [fill="#F5F7FB"] { fill: #f7f8f1; }
