/* =====================================================================================
   Legwork Web Development: "studio" design (round 7 redesign, dark premium tech).
   Owner-approved and used by every page (the previous design is archived in backup/2026-11-20-old-main-css/).
   The demo mock-ups live in demos.css, loaded after this file.

   Look: deep ink background, crisp white type, ONE electric accent (violet), hairline grids and glow lines.
   Light cards only where they help (price plans, the contact form). Deliberately unlike the sample sites:
   no navy/teal/amber or flair gold, no heavy 800-weight display type, no outline-type marquee, no
   photo-plus-badge hero, no ticket badges. Type: Geist (headings, body) and Geist Mono (labels, prices).

   Motion rules (owner's standing preferences)
   - Smooth only. Animate transform and opacity (and translate) only.
   - No image or content reveals, no pinning, no scroll-jacking, no sliders.
   - Looping motion is pausable (the ticker), finite (the one-off glow sweep on load) or scroll-linked
     (the hero grid drift, the section beams, the demo screen drift). Scroll-linked motion uses
     animation-timeline inside @supports and is simply static where unsupported.
   - The headline entrance (each word sharpens and settles) is the only load entrance; it ends visible.
   - prefers-reduced-motion: reduce = fully static.
   - Strict CSP: no inline styles; the only data: URIs are decorative SVG/noise.
   ===================================================================================== */

/* Geist and Geist Mono (SIL OFL 1.1, (c) 2024 The Geist Project Authors), self-hosted variable WOFF2.
   Converted from the official TTFs by tools/fonts/convert.js; licences in /fonts/OFL-Geist*.txt. */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #08090c;
  --bg-2: #0d0f14;
  --panel: #12151c;
  --panel-2: #181c26;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .17);
  --text: #f4f5f8;
  --muted: #a3a9b7;
  --accent: #9d8cff;           /* electric violet: 7.1:1 on --bg; dark text on it 7.1:1 */
  --accent-deep: #6d5cff;      /* glows, rings and lines only, never text */
  --accent-soft: rgba(157, 140, 255, .14);
  --card: #f3f2f7;             /* light cards */
  --card-ink: #12131a;
  --card-muted: #4a4e5c;       /* 7.4:1 on --card */
  --card-accent: #5440d8;      /* accent text on light cards: 6.1:1 */
  --card-line: #dcdae6;
  --coral: var(--accent);      /* alias used by the shared mock-up rules */
  --night: var(--bg);
  --max: 1240px;
  --header-h: 4.25rem;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: var(--font);
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 14px;
}

/* ---------- Launch offer flag ---------- */
html:not(.launch-offer) .if-offer { display: none !important; }
html.launch-offer .if-no-offer { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--muted); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--text); margin: 0 0 .6em; font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 600; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 860px) { .container { padding: 0 2rem; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--accent); color: var(--bg); font-weight: 700; padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: var(--bg); outline-color: var(--text); }
.dark { position: relative; isolation: isolate; overflow: clip; }
.punct { margin-left: -.03em; }

/* Mono labels: "[01] WHAT WE DO" */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1.1rem;
  font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow .idx { order: -1; color: var(--muted); }
.eyebrow .idx::before { content: "["; }
.eyebrow .idx::after { content: "]"; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 40rem; }
.section { position: relative; overflow-x: clip; padding: clamp(4.5rem, 9vw, 7.5rem) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.split { display: grid; gap: 2rem; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 6rem); align-items: start; } .split > .section-head { margin-bottom: 0; } }
.text-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.text-link .arrow { transition: transform .35s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* Section beams: a short glow travels along each section's top hairline as the section scrolls into view.
   Scroll-linked (view timeline), one element per section, transform only. */
.section::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 22%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .9; transform: none;
}
/* Travels from the left edge to the right edge (22% wide x 354% = the remaining 78%), always inside the section. */
@keyframes beam { from { transform: translateX(0); } to { transform: translateX(354%); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .section::before { animation: beam linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 10px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .25s, border-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:hover { color: var(--text); border-color: var(--text); }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(4px); }
.btn-coral, .btn-accent { background: var(--accent); border-color: var(--accent); color: var(--bg); box-shadow: 0 0 0 0 rgba(157, 140, 255, 0); }
.btn-coral:hover, .btn-coral:focus-visible, .btn-accent:hover { background: #b5a8ff; border-color: #b5a8ff; color: var(--bg); box-shadow: 0 0 28px -4px rgba(157, 140, 255, .6); }
.btn-ghost { background: rgba(255, 255, 255, .02); }
.btn-navy { background: var(--card-ink); border-color: var(--card-ink); color: #fff; }
.btn-navy:hover { background: #2a2c38; border-color: #2a2c38; color: #fff; }
.btn-sm { min-height: 44px; padding: .5rem 1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(8, 9, 12, .98); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect:first-child { fill: var(--accent); }
.brand-mark rect:last-child { fill: var(--bg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.brand-sub { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.site-nav { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav-link, .nav-group summary {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .75rem; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: .93rem; cursor: pointer; list-style: none; transition: color .2s, background .2s;
}
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ""; width: .38rem; height: .38rem; margin-top: -.2rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.nav-group details[open] summary::after { transform: rotate(-135deg); margin-top: .2rem; }
.nav-link:hover, .nav-group summary:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-link[aria-current="page"], .nav-group summary[data-current] { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-group { position: relative; }
.nav-drop { position: absolute; top: calc(100% + .5rem); left: 0; z-index: 5; min-width: 21rem; list-style: none; margin: 0; padding: .4rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.nav-drop a { display: flex; flex-direction: column; gap: .1rem; min-height: 44px; padding: .65rem .85rem; border-radius: 8px; color: var(--text); text-decoration: none; }
.nav-drop a:hover, .nav-drop a[aria-current="page"] { background: rgba(255, 255, 255, .05); }
.nd-title { font-weight: 600; font-size: .96rem; }
.nd-sub { font-size: .84rem; color: var(--muted); }
@media (min-width: 1060px) { .site-nav { display: block; } }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .95rem; cursor: pointer; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); font-weight: 600; font-size: .92rem; }
.menu-toggle .bars { position: relative; width: 16px; height: 12px; }
.menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars span { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle .bars::before { top: 0; } .menu-toggle .bars span { top: 5px; } .menu-toggle .bars::after { top: 10px; }
.menu[open] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu[open] .bars span { opacity: 0; }
.menu[open] .bars::after { transform: translateY(-5px) rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .9); }
.menu-grid { display: grid; gap: 1.5rem; padding-top: 1.5rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }
.menu-head { margin: 0 0 .4rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel a { display: flex; align-items: center; min-height: 48px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { color: var(--accent); }
@media (min-width: 1060px) { .menu { display: none; } }
@media (max-width: 519px) { .header-cta { display: none; } }

/* ---------- Hero (home): centred type over a moving grid, then a wide "stage" ---------- */
.s-hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); text-align: center; }
/* The grid: hairlines, masked to a soft ellipse, drifting slowly as the page scrolls (scroll-linked). */
.s-grid {
  position: absolute; inset: -10% 0 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 25%, transparent 75%);
}
.s-glow { position: absolute; z-index: -1; left: 50%; top: -18%; width: min(90vw, 980px); height: 520px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(109, 92, 255, .32), rgba(109, 92, 255, .08) 45%, transparent 70%); }
/* Glow lines: two thin beams that sweep across the hero once on load (finite), then rest. */
.s-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip; }
.s-lines span { position: absolute; left: 0; width: 34%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; }
.s-lines span:nth-child(1) { top: 22%; }
.s-lines span:nth-child(2) { top: 64%; }
/* 34% wide x 194% = 66%: the line travels edge to edge without ever leaving the hero. */
@keyframes sweep { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateX(194%); opacity: 0; } }
@keyframes grid-drift { from { translate: 0 0; } to { translate: 0 64px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .s-lines span:nth-child(1) { animation: sweep 2.6s var(--ease) .4s 1 both; }
  .js .s-lines span:nth-child(2) { animation: sweep 2.6s var(--ease) 1s 1 both; }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .s-grid { animation: grid-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
.s-kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.6rem; padding: .4rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); background: rgba(255, 255, 255, .02);
}
.s-kicker .dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.display { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1; letter-spacing: -.05em; font-weight: 600; margin: 0 auto 1.4rem; max-width: 16ch; text-wrap: balance; color: var(--text); }
.display .thin { color: var(--accent); font-weight: 400; }
.w { display: inline-block; }
.w > span { display: inline-block; }
/* Load entrance: each word sharpens from a slight blur and settles 0.22em. Ends fully visible. */
/* Transform and blur only (never opacity), so the headline text is fully opaque from first paint. */
@keyframes word-in { from { transform: translateY(.22em); filter: blur(8px); } to { transform: none; filter: blur(0); } }
@media (prefers-reduced-motion: no-preference) {
  .js .w > span { animation: word-in .9s var(--ease) both; }
  .js .w:nth-child(2) > span { animation-delay: .05s; } .js .w:nth-child(3) > span { animation-delay: .1s; }
  .js .w:nth-child(4) > span { animation-delay: .15s; } .js .w:nth-child(5) > span { animation-delay: .2s; }
  .js .w:nth-child(6) > span { animation-delay: .25s; } .js .w:nth-child(7) > span { animation-delay: .3s; }
  .js .w:nth-child(8) > span { animation-delay: .35s; } .js .w:nth-child(9) > span { animation-delay: .4s; }
  .js .w:nth-child(10) > span { animation-delay: .45s; }
}
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 40rem; margin: 0 auto 2rem; }
.s-hero .btn-row { justify-content: center; }
/* Launch-offer call-out (round 8): "A full website for £249", only while html.launch-offer is set (.if-offer).
   It takes the place of the hero buttons, so the hero keeps one row of actions. Static: no entrance, no motion. */
.offer-hero {
  position: relative; display: grid; gap: 1.25rem 2rem; max-width: 56rem; margin: 0 auto; padding: clamp(1.25rem, 3vw, 1.9rem) clamp(1.1rem, 3vw, 2rem);
  border: 1px solid rgba(157, 140, 255, .5); border-radius: var(--radius); text-align: left; overflow: clip;
  background: radial-gradient(120% 140% at 0% 0%, rgba(157, 140, 255, .22), transparent 55%), linear-gradient(180deg, rgba(24, 28, 38, .92), rgba(12, 13, 20, .92));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 40px 90px -50px rgba(109, 92, 255, .7);
}
.offer-hero::before { content: ""; position: absolute; top: -1px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); pointer-events: none; }
.oh-main { min-width: 0; }
.oh-tag { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .7rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.oh-tag .dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.oh-title { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
.oh-price { display: block; margin-top: .2rem; font-size: clamp(3.4rem, 9vw, 5.2rem); font-weight: 600; line-height: .95; letter-spacing: -.055em; color: var(--text); }
.oh-per { font-family: var(--mono); font-size: .85rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); vertical-align: .4em; white-space: nowrap; }
.oh-terms { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem; margin: .7rem 0 0; font-size: .95rem; }
.oh-once { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.oh-terms s { white-space: nowrap; color: var(--muted); text-decoration-color: var(--accent); }
.oh-side { display: flex; flex-direction: column; justify-content: flex-end; gap: .9rem; min-width: 0; }
.oh-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.oh-actions .btn { flex: 1 1 auto; }
.oh-small { margin: 0; font-size: .82rem; color: var(--muted); }
@media (min-width: 860px) {
  .offer-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; }
  .oh-actions { flex-direction: column; }
}
html.launch-offer .offer-hero ~ .s-spec { margin-top: 1.25rem; }
html.launch-offer .s-hero .hero-lead { margin-bottom: 1.5rem; }
/* Price "spec sheet": a one-line mono readout of the headline prices. */
.s-spec { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2.75rem auto 0; max-width: 56rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13, 15, 20, .7); text-align: left; overflow: clip; }
@media (min-width: 860px) { .s-spec { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Uniform strip: every cell spans the same 4 subgrid rows (label, price, "was" line, description), so each row
   lines up across the strip at every width. The "was" row is reserved in every cell (empty in three of them). */
.s-spec li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.s-spec a { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; row-gap: .2rem; align-content: start; padding: 1rem 1.15rem; color: var(--text); text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.s-spec a:hover { background: rgba(157, 140, 255, .06); color: var(--text); }
.s-spec dt, .s-spec .k { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.s-spec .v { font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.s-spec .v small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.s-spec .w { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.s-spec .w s { display: inline-block; white-space: nowrap; text-decoration-color: var(--accent); }
.s-spec .n { font-size: .82rem; color: var(--accent); align-self: start; }
@media (max-width: 479px) {
  .s-spec a { padding: .9rem .85rem; }
  .s-spec dt, .s-spec .k { letter-spacing: .06em; }
}
/* The smallest phones (under 360px): a touch less padding and spacing so "Normally £395 one-off" and the labels still fit on one line. */
@media (max-width: 359px) {
  .s-spec a { padding: .85rem .7rem; }
  .s-spec dt, .s-spec .k { letter-spacing: .03em; }
  .s-spec .w { font-size: .7rem; }
}
/* The stage: a wide glass panel holding the demo devices and the sample report. */
.s-stage { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); }
.s-stage-in { position: relative; max-width: 62rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 5vw, 3.5rem); border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(180deg, rgba(24, 28, 38, .85), rgba(13, 15, 20, .85)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 60px 120px -40px rgba(109, 92, 255, .35); text-align: left; }
.s-stage-in::before { content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.s-stage .hero-visual { position: relative; max-width: 46rem; margin: 0 auto; }
.hv-doc { position: absolute; right: -5%; top: -9%; z-index: 3; width: 24%; transform: rotate(2deg); }
.hv-doc .doc-chip { display: none; }
@media (max-width: 559px) { .hv-doc { width: 30%; right: -3%; top: -8%; } }
.hero-footnote { margin: 1rem auto 0; max-width: 62rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); text-align: right; }

/* ---------- Ticker: a slim mono data strip (pausable) ---------- */
.ticker { display: flex; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: .55rem 0; }
.ticker-window { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; }
.ticker-track ul { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.ticker-track li { display: flex; align-items: center; gap: 1.1rem; padding-right: 1.1rem; white-space: nowrap; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticker-track li::before { content: attr(data-t); }
.ticker-track li::after { content: "/"; color: var(--accent); }
.ticker-toggle { visibility: hidden; flex: none; margin: 0 1rem 0 .5rem; min-height: 44px; min-width: 44px; padding: 0 .9rem; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); cursor: pointer; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.ticker-toggle:hover { border-color: var(--accent); }
.js.ui-on .ticker-toggle { visibility: visible; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .js.ui-on .ticker-track { animation: ticker 60s linear infinite; }
  .js.ui-on .ticker-rev .ticker-track { animation-direction: reverse; animation-duration: 70s; }
  /* Short lists are repeated by the build (ticker-x2/x3/x4) so no gap shows on wide screens; the duration grows in step, so the speed is unchanged. */
  .js.ui-on .ticker.ticker-x2 .ticker-track { animation-duration: 120s; }
  .js.ui-on .ticker.ticker-x3 .ticker-track { animation-duration: 180s; }
  .js.ui-on .ticker.ticker-x4 .ticker-track { animation-duration: 240s; }
  .js.ui-on .ticker-rev.ticker-x2 .ticker-track { animation-duration: 140s; }
  .js.ui-on .ticker-rev.ticker-x3 .ticker-track { animation-duration: 210s; }
  .js.ui-on .ticker-rev.ticker-x4 .ticker-track { animation-duration: 280s; }
}
.ticker.is-paused .ticker-track { animation-play-state: paused; }

/* ---------- Cards (dark panels with a glow edge on hover) ---------- */
.area, .tile, .related-card, .compare-col, .price-card, .plan, .faq, .vs, .note-box { --edge: var(--line); }
.area, .tile { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.area:hover, .tile:hover { border-color: rgba(157, 140, 255, .45); box-shadow: 0 30px 60px -36px rgba(109, 92, 255, .45); }
@media (prefers-reduced-motion: no-preference) { .area:hover, .tile:hover { transform: translateY(-3px); } }

/* Service areas (home) */
.areas { display: grid; gap: 1rem; }
@media (min-width: 900px) { .areas { grid-template-columns: 1fr 1fr; } }
.area { display: flex; flex-direction: column; overflow: clip; }
.area-top { padding: clamp(1.6rem, 3.5vw, 2.25rem) clamp(1.4rem, 3.5vw, 2.25rem) 1rem; }
.area h3 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -.04em; margin: 1rem 0 .5rem; }
.area-top p { margin: 0; }
.area-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--accent); background: var(--accent-soft); }
.area-icon svg { width: 22px; height: 22px; }
.svc-links { list-style: none; margin: auto 0 0; padding: 0 clamp(1.4rem, 3.5vw, 2.25rem) .75rem; }
.svc-link { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.svc-name { font-weight: 600; font-size: 1.08rem; }
.svc-desc { grid-column: 1; color: var(--muted); font-size: .95rem; }
.svc-link .arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--accent); transition: transform .35s var(--ease); }
.svc-link:hover { color: var(--text); }
.svc-link:hover .svc-name { color: var(--accent); }
.svc-link:hover .arrow { transform: translateX(5px); }
.area-dark { background: linear-gradient(160deg, #1a1830, var(--panel) 55%); }

/* All-in-one band and top-tier highlights: an accent ring (static) */
.partner-band {
  position: relative; display: grid; gap: .35rem 2rem; margin-top: 1rem; padding: clamp(1.5rem, 3.5vw, 2.1rem) clamp(1.4rem, 3.5vw, 2.25rem);
  border-radius: var(--radius); border: 1px solid rgba(157, 140, 255, .5); color: var(--muted); text-decoration: none; overflow: clip;
  background: radial-gradient(ellipse 60% 120% at 100% 50%, rgba(109, 92, 255, .22), transparent 70%), var(--panel);
  transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.partner-band:hover { color: var(--muted); border-color: var(--accent); box-shadow: 0 0 40px -10px rgba(157, 140, 255, .5); }
@media (prefers-reduced-motion: no-preference) { .partner-band:hover { transform: translateY(-3px); } }
.pb-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pb-name { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: var(--text); }
.pb-desc { max-width: 40rem; }
.pb-price { display: flex; flex-direction: column; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.pb-price span { font-family: var(--mono); font-size: .74rem; font-weight: 400; letter-spacing: .06em; color: var(--muted); }
.partner-band .arrow { font-size: 1.4rem; color: var(--accent); transition: transform .35s var(--ease); }
.partner-band:hover .arrow { transform: translateX(5px); }
@media (min-width: 860px) {
  .partner-band { grid-template-columns: 1fr auto auto; align-items: center; }
  .pb-label, .pb-name, .pb-desc { grid-column: 1; }
  .pb-price { grid-column: 2; grid-row: 1 / 4; text-align: right; }
  .partner-band .arrow { grid-column: 3; grid-row: 1 / 4; }
}

/* Bento (why us) */
.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } .tile { grid-column: span 3; } .tile:not(.tile-wide) { grid-column: span 2; } }
@media (min-width: 760px) and (max-width: 1039px) { .tile:not(.tile-wide) { grid-column: span 3; } .tile:last-child { grid-column: 1 / -1; } }
.tile { display: flex; flex-direction: column; overflow: clip; }
.tile-body { padding: 1.5rem 1.4rem 1.6rem; }
.tile h3 { margin: 1rem 0 .4rem; }
.tile p { margin: 0; font-size: .98rem; }
.tile-icon { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--accent); background: var(--accent-soft); }
.tile-icon svg { width: 20px; height: 20px; }
.tile-dark { background: linear-gradient(160deg, #1a1830, var(--panel) 60%); }
.tile-visual { height: 11rem; position: relative; border-bottom: 1px solid var(--line); overflow: clip; display: grid; place-items: center;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 24px 24px; }
.sp-frame { position: relative; width: 70%; height: 70%; border: 1px solid var(--line-strong); border-radius: 8px; padding: 1.1rem .9rem .9rem; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: .5rem; background: rgba(8, 9, 12, .6); }
.sp-bar { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); border-radius: 8px 8px 0 0; transform-origin: left; }
.sp-block { border-radius: 4px; background: rgba(255, 255, 255, .08); }
.sp-block.a { grid-row: span 2; background: linear-gradient(135deg, rgba(157, 140, 255, .55), rgba(109, 92, 255, .15)); }
@keyframes load { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) { .tile-dark:hover .sp-bar { animation: load 1.2s var(--ease); } }
.taps { flex-direction: column; gap: .5rem; display: flex; align-items: center; justify-content: center; }
.tap { display: inline-flex; align-items: center; gap: .5rem; width: min(14rem, 80%); padding: .5rem .85rem; border-radius: 10px; font-weight: 600; font-size: .88rem; color: var(--text); border: 1px solid var(--line-strong); background: rgba(8, 9, 12, .7); transition: transform .45s var(--ease), border-color .3s; }
.tap svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .tile:hover .tap-call { transform: translateX(-8px); } .tile:hover .tap-msg { transform: translateX(8px); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .step { gap: 2rem; } }
.step-n { font-family: var(--mono); font-size: .9rem; color: var(--accent); padding-top: .2rem; min-width: 2.5em; }
.step-n::before { content: "/"; color: var(--muted); margin-right: .15em; }
.step h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); margin-bottom: .35rem; }
.step p { margin: 0; max-width: 34rem; }

/* Demos */
.demos-sec { background: var(--bg-2); }
.demo { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 960px) { .demo { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(3rem, 6vw, 5rem); } .demo-flip { grid-template-columns: minmax(0, 1.38fr) minmax(0, .62fr); } .demo-flip .demo-copy { order: 2; } }
.demo-label { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: .3rem .7rem; border-radius: 8px; border: 1px solid rgba(157, 140, 255, .4); color: var(--accent); font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.demo h2, .demo h3 { letter-spacing: -.04em; }
.demo h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.chips { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .3rem .7rem; border-radius: 8px; border: 1px solid var(--line); color: var(--text); font-size: .84rem; }
.demo .btn { margin-top: .5rem; }

/* ---------- Pricing ---------- */
.offer-banner { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 1.5rem; padding: .9rem 1.15rem; border-radius: 12px; border: 1px solid rgba(157, 140, 255, .45); background: var(--accent-soft); color: var(--text); }
.offer-pill { display: inline-block; padding: .25rem .6rem; border-radius: 6px; background: var(--accent); color: var(--bg); font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
/* Price grid (home): light cards on dark; the top tier is dark with an accent ring. */
.price-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(2, 1fr); } .price-grid > :nth-child(5), .price-grid > .price-card-top { grid-column: 1 / -1; } }
@media (min-width: 960px) {
  .price-grid { grid-template-columns: repeat(6, 1fr); }
  .price-grid > :nth-child(-n+2) { grid-column: span 3; }
  .price-grid > :nth-child(n+3) { grid-column: span 2; }
  .price-grid > .price-card-top { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; column-gap: 2.5rem; align-items: center; }
  .price-card-top .pc-group, .price-card-top .pc-name, .price-card-top .pc-note { grid-column: 1; }
  .price-card-top .pc-price { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .price-card-top .pc-link { grid-column: 2; grid-row: 3 / 5; justify-self: end; }
}
.price-card { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.35rem 1.25rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); color: var(--card-muted); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.price-card:hover { box-shadow: 0 30px 60px -30px rgba(109, 92, 255, .55); }
@media (prefers-reduced-motion: no-preference) { .price-card:hover { transform: translateY(-3px); } }
.pc-group { margin: 0 0 .55rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--card-accent); }
.pc-name { font-size: 1.05rem; color: var(--card-ink); margin-bottom: .8rem; }
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; margin: 0 0 .45rem; }
.pc-price .amount { font-weight: 600; font-size: 2.4rem; line-height: 1; letter-spacing: -.04em; color: var(--card-ink); }
.pc-price s, .pc-price .per, .pc-price .from { font-size: .9rem; color: var(--card-muted); }
.pc-price s { text-decoration-color: var(--card-accent); }
.pc-note { font-size: .92rem; flex: 1; }
.pc-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--card-ink); }
.pc-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pc-link:hover { color: var(--card-accent); }
.price-card :focus-visible { outline-color: var(--card-accent); }
.price-card-dark, .price-card-top { background: radial-gradient(ellipse 50% 140% at 100% 50%, rgba(109, 92, 255, .25), transparent 70%), var(--panel); border-color: rgba(157, 140, 255, .55); color: var(--muted); }
.price-card-dark .pc-group, .price-card-top .pc-group { color: var(--accent); }
.price-card-dark .pc-name, .price-card-dark .pc-price .amount, .price-card-dark .pc-link { color: var(--text); }
.price-card-dark .pc-price .per, .price-card-dark .pc-price .from, .price-card-dark .pc-note { color: var(--muted); }
.price-card-dark .pc-link:hover { color: var(--accent); }
.price-card-dark :focus-visible { outline-color: var(--accent); }
.price-card-top .pc-name { font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -.04em; }
.after-grid { margin: 1.5rem 0 0; }
/* Plans (pricing page): light cards; dark plans carry the accent ring. */
.plans { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .plans:not(.plans-3) { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* never a 2 + 1 orphan */
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.6rem, 3.5vw, 2.4rem); border-radius: 18px; background: var(--card); border: 1px solid var(--card-line); color: var(--card-muted); }
.plan h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -.04em; color: var(--card-ink); margin-bottom: 1.1rem; }
.plan-kicker { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--card-accent); margin-bottom: .5rem; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .7rem; margin: 0 0 .35rem; }
.plan-price .amount { font-weight: 600; font-size: clamp(3.2rem, 8vw, 4.6rem); line-height: .95; letter-spacing: -.05em; color: var(--card-ink); }
.plan-price s, .plan-price .per, .plan-price .from { font-size: 1.05rem; color: var(--card-muted); }
.plan-price s { text-decoration-color: var(--card-accent); }
.plan-terms { font-weight: 600; color: var(--card-ink); margin-bottom: .2rem; }
.plan-pay { font-size: .94rem; margin-bottom: 1.4rem; }
.plan .ticks { flex: 1; }
.plan .btn { align-self: flex-start; }
@media (max-width: 559px) { .plan .btn { align-self: stretch; } }
.plan :focus-visible { outline-color: var(--card-accent); }
.ticks { list-style: none; margin: 0 0 1.75rem; padding: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: .75rem 0 .75rem 1.9rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1.12rem; width: .75rem; height: .4rem; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.plan .ticks { border-top-color: var(--card-line); }
.plan .ticks li { border-bottom-color: var(--card-line); }
.plan .ticks li::before { border-color: var(--card-accent); }
.plan-dark, .plan-feature, .plan-top { background: radial-gradient(ellipse 55% 110% at 100% 0%, rgba(109, 92, 255, .24), transparent 70%), var(--panel); border-color: rgba(157, 140, 255, .55); color: var(--muted); box-shadow: 0 0 60px -20px rgba(109, 92, 255, .35); }
.plan-dark h3, .plan-dark .plan-price .amount, .plan-dark .plan-terms { color: var(--text); }
.plan-dark .plan-kicker { color: var(--accent); }
.plan-dark .plan-price .per, .plan-dark .plan-price .from, .plan-dark .plan-price s { color: var(--muted); }
.plan-dark .ticks { border-top-color: var(--line); }
.plan-dark .ticks li { border-bottom-color: var(--line); color: var(--text); }
.plan-dark .ticks li::before { border-color: var(--accent); }
.plan-dark :focus-visible { outline-color: var(--accent); }
.plan-feature { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 900px) { .plan-feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.pf-fair { margin: 0; font-size: .94rem; }
.price-split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .price-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 5rem); } .price-split > .section-head { margin-bottom: 0; } }
.fine-print { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.fine-print li { padding: .65rem 0; border-top: 1px solid var(--line); }
.vs { margin-top: 2rem; padding: clamp(1.4rem, 3.5vw, 2rem); border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.vs h3 { font-size: 1.2rem; }
.vs-grid { display: grid; gap: 1rem 2rem; margin: 0; }
@media (min-width: 860px) { .vs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* two comparison rows since round 8b */
.vs-grid div { padding-top: .9rem; border-top: 1px solid var(--line); }
.vs-grid dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.vs-grid dd { margin: 0; }
.know { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.know li { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.know h3 { margin-bottom: .3rem; }
.know p { margin: 0; }

/* ---------- Pricing groups (round 7): web design / SEO / all-in-one ---------- */
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; padding: 0; }
.jump a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem 1rem; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-weight: 500; background: rgba(255, 255, 255, .02); transition: border-color .2s, background .2s; }
.jump a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.jump-n { font-family: var(--mono); font-size: .74rem; color: var(--accent); }
.group { padding: clamp(1.4rem, 3.5vw, 2.5rem); border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18, 21, 28, .9), rgba(13, 15, 20, .6)); }
.group-head { max-width: 46rem; margin-bottom: 1.75rem; }
.group-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
/* Payment type tags: one-off vs monthly, unmistakable at a glance */
.bill, .pc-bill { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; margin: 0 0 .9rem; padding: .3rem .65rem; border-radius: 6px; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bill::before, .pc-bill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; }
.bill-once { background: #e8f6ee; color: #11603a; }
.bill-once::before { background: #1f8a54; }
.bill-month { background: #ecebff; color: #4330c4; }
.bill-month::before { background: #5440d8; border-radius: 2px; }
.plan-dark .bill-month, .price-card-dark .bill-month { background: rgba(157, 140, 255, .16); color: var(--accent); }
.plan-dark .bill-month::before, .price-card-dark .bill-month::before { background: var(--accent); }
.plan-price .per { font-weight: 600; }
/* Home: grouped price grid. Two groups (one-off, monthly), each a row of three uniform cards. */
.pgroups { display: grid; gap: 1.25rem; }
.pgroup { padding: 1rem; border-radius: 20px; border: 1px solid var(--line); background: rgba(18, 21, 28, .6); }
.pgroup-h { display: flex; align-items: center; gap: .6rem; margin: .2rem .3rem 1rem; font-size: 1.05rem; font-weight: 600; }
.pgroup-h .idx { font-family: var(--mono); font-size: .74rem; color: var(--accent); font-weight: 400; }

/* Uniform cards (owner feedback, round 7): every card in a row shares the same row tracks through CSS subgrid, so
   the payment tags, names, prices, notes and buttons line up across the row, and the buttons sit at the bottom. */
.pgroup .price-grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 1rem; row-gap: 1rem; }
.pgroup .price-grid > * { grid-column: auto !important; }
.pgroup .price-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: .55rem; align-content: start; }
@media (min-width: 760px) {
  .pgroup .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pgroup .price-card > * { margin: 0; }
.pgroup .pc-bill { justify-self: start; align-self: start; }
.pgroup .pc-name { align-self: start; }
.pgroup .pc-price { align-self: start; } /* top-aligned: when the 249 card's struck-through 395 wraps (640-1000px), the amounts still line up */
.pgroup .pc-note { align-self: start; }
.pgroup .pc-link { align-self: end; }

.plans > .plan:not(.plan-feature) { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.plans > .plan:not(.plan-feature) > * { margin-top: 0; }
.plans > .plan .bill { justify-self: start; align-self: start; }
.plans > .plan h3 { align-self: start; }
.plans > .plan .plan-price { align-self: start; flex-wrap: nowrap; white-space: nowrap; } /* top-aligned: at 860-899px the 249 card's struck 395 wraps, and the amounts must still line up */
.plans-3 > .plan .plan-price .amount { font-size: clamp(2.6rem, 4.2vw, 3.5rem); }
@media (max-width: 899px) { .plans > .plan .plan-price { flex-wrap: wrap; white-space: normal; } }
.plans-3 > .plan .plan-price .from, .plans-3 > .plan .plan-price .per { font-size: .95rem; }
@media (min-width: 900px) and (max-width: 1239px) { .plans-3 > .plan .plan-price .amount { font-size: 2.5rem; } .plans-3 > .plan { padding: 1.5rem 1.35rem; } }
.plans > .plan .ticks { align-self: start; }
.plans > .plan > .btn { align-self: end; justify-self: start; }
@media (max-width: 559px) { .plans > .plan > .btn { justify-self: stretch; } }

/* ---------- FAQs ---------- *//* ---------- FAQs ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 44px; padding: 1.2rem 3rem 1.2rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.2rem); font-weight: 500; transition: color .25s; }
.faq summary:hover h3 { color: var(--accent); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .6rem; top: 50%; width: 14px; height: 1.5px; background: var(--accent); transition: transform .35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq-a { padding: 0 3rem 1.3rem 0; }
.faq-a p { margin: 0; }

/* ---------- Contact (home closing section and /contact/): split pitch + designed form ---------- */
.contact-sec { background: radial-gradient(ellipse 55% 70% at 90% 20%, rgba(109, 92, 255, .16), transparent 70%), var(--bg); }
.contact-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 5.5rem); } }
.contact-side h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.next-steps { list-style: none; margin: 2rem 0 1.75rem; padding: 0; position: relative; }
.next-steps::before { content: ""; position: absolute; left: 1.05rem; top: .5rem; bottom: .5rem; width: 1px; background: linear-gradient(var(--accent), rgba(157, 140, 255, .1)); }
.next-steps li { position: relative; display: grid; grid-template-columns: 2.1rem 1fr; gap: 1rem; padding: .35rem 0 1.15rem; }
.next-n { position: relative; z-index: 1; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid rgba(157, 140, 255, .6); background: var(--bg); color: var(--accent); font-family: var(--mono); font-size: .8rem; }
.next-steps h3 { font-size: 1.02rem; margin: .3rem 0 .2rem; }
.next-steps p { margin: 0; font-size: .95rem; }
.side-mail { margin: 0; font-size: .95rem; }
.side-mail a { font-weight: 600; overflow-wrap: anywhere; }
.form-card { position: relative; padding: clamp(1.4rem, 3.5vw, 2.4rem); border-radius: 20px; border: 1px solid rgba(157, 140, 255, .35);
  background: linear-gradient(180deg, rgba(24, 28, 38, .95), rgba(14, 16, 22, .95)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 50px 100px -50px rgba(109, 92, 255, .55); }
.form-card::before { content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.form-intro { margin: 0 0 1.3rem; font-size: .9rem; }
.field { margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
.ff-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .ff-row { grid-template-columns: 1fr 1fr; } }
/* Floating labels: the label sits inside the empty field and moves up on focus or once filled.
   It's a real <label for>, after its control in the DOM so CSS can react to the control's state. */
.ff { position: relative; }
.ff input, .ff textarea {
  display: block; width: 100%; min-height: 58px; padding: 1.55rem .95rem .55rem; border-radius: 12px; border: 1px solid var(--line-strong);
  background: #0b0d12; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.ff textarea { min-height: 9.5rem; resize: vertical; padding-top: 1.75rem; }
.ff label { position: absolute; left: .95rem; top: 1.05rem; right: .95rem; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff input:focus + label, .ff input:not(:placeholder-shown) + label, .ff textarea:focus + label, .ff textarea:not(:placeholder-shown) + label { transform: translateY(-.62rem) scale(.78); color: var(--accent); }
.ff input:hover, .ff textarea:hover { border-color: rgba(255, 255, 255, .3); }
.ff input:focus-visible, .ff textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(157, 140, 255, .15); }
.ff input:user-invalid, .ff textarea:user-invalid { border-color: #ff8a80; }
.ff input:user-invalid + label, .ff textarea:user-invalid + label { color: #ff8a80; }
.req-mark, .opt-mark { margin-left: .3rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.opt-mark { color: var(--muted); }
.form-intro .req-mark { margin-left: 0; }
.hint { margin: .35rem 0 0; font-size: .82rem; color: var(--muted); }
/* "What do you need?": real checkboxes, shown as selectable chips. The checkbox itself covers the whole chip with
   appearance: none (no paint, no opacity tricks): it takes the click, the keyboard focus and draws the focus ring. */
.chips-field legend { display: block; margin: .4rem 0 .7rem; padding: 0; font-weight: 600; color: var(--text); }
.chips-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.chip input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip span { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #0b0d12; color: var(--text); font-size: .92rem; transition: border-color .2s, background .2s, color .2s; }
.chip span::before { content: ""; width: .95rem; height: .95rem; flex: none; border-radius: 50%; border: 1.5px solid var(--muted); transition: background .2s, border-color .2s; }
.chip:hover span { border-color: rgba(157, 140, 255, .6); }
.chip input:checked + span { border-color: var(--accent); background: rgba(157, 140, 255, .14); }
.chip input:checked + span::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.2 5.2l1.9 1.9 3.7-4' fill='none' stroke='%2308090c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat; }
.form-consent { margin: .4rem 0 1.25rem; font-size: .88rem; }
.form-send { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.btn-submit, .form-card .btn-navy { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.05rem; background: var(--accent); border-color: var(--accent); color: var(--bg); box-shadow: 0 0 34px -8px rgba(157, 140, 255, .6); }
.btn-submit:hover, .btn-submit:focus-visible { background: #b5a8ff; border-color: #b5a8ff; color: var(--bg); }
.form-reassure { margin: 0; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 559px) { .btn-submit { width: 100%; } }
.hp { display: none !important; }

/* ---------- The contact band: unmistakably the place to get in touch (owner feedback, round 7) ----------
   Its own violet-lit band and frame, an oversized heading, the form as the hero. #contact-form is also the target of
   every "Get in touch" on the home page; scroll-margin keeps the sticky header off the heading. */
.contact-sec { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(5rem, 10vw, 8.5rem) 0; border-top: 1px solid rgba(157, 140, 255, .55);
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(109, 92, 255, .32), transparent 70%), linear-gradient(180deg, #0e0c1f, var(--bg) 75%); }
.contact-sec::before { content: ""; position: absolute; top: -1px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 24px 2px rgba(157, 140, 255, .55); }
#contact-form { scroll-margin-top: calc(var(--header-h) + .5rem); }
.contact-frame { position: relative; padding: clamp(1.5rem, 5vw, 4rem); border-radius: 28px; border: 1px solid rgba(157, 140, 255, .45);
  background: linear-gradient(180deg, rgba(34, 29, 66, .55), rgba(12, 13, 20, .9) 45%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 140px -30px rgba(109, 92, 255, .6); }
.contact-head { max-width: 48rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.contact-tag { margin: 0 0 1rem; font-family: var(--mono); font-size: clamp(.95rem, 1.8vw, 1.15rem); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.contact-head h2 { margin: 0 0 1rem; font-size: clamp(2.7rem, 8vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
.contact-head h2:focus { outline: none; }
.contact-head h2:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.contact-lead { margin: 0 auto; max-width: 38rem; font-size: clamp(1.1rem, 1.9vw, 1.32rem); color: #d5d8e2; }
.contact-side .side-h { margin: 0 0 .25rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.contact-sec .form-card { background: rgba(8, 9, 12, .82); border-color: rgba(157, 140, 255, .5); }
.contact-sec .btn-submit { min-width: 15rem; }
@media (max-width: 559px) { .contact-frame { border-radius: 20px; } .contact-sec .btn-submit { min-width: 0; } }
@media (max-width: 359px) { .contact-frame { padding-left: .75rem; padding-right: .75rem; } .contact-sec .form-card { padding-left: 1rem; padding-right: 1rem; } } /* 320px: room for "Email address REQUIRED" in the floating label */
/* Signposts to the form (home) */
.s-cta-line { margin: 1.25rem 0 0; text-align: center; }
.s-cta-line a, .to-form { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: var(--accent); text-decoration: none; }
.s-cta-line a:hover, .to-form:hover { color: var(--text); }
.s-cta-line .down, .to-form .down { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid rgba(157, 140, 255, .6); font-size: .85rem; }
.after-grid { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
/* ---------- Inner-page components (round 7 roll-out) ---------- */
.ph-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 1040px) { .ph-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; } }
.ph-facts { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ph-facts li { padding: .35rem .75rem; border-radius: 8px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted); background: rgba(255, 255, 255, .02); }
.ph-facts strong { color: var(--text); }
.page-hero .btn-row { margin-top: 1.75rem; }
.page-hero .hero-lead { margin-left: 0; text-align: left; }
.ph-visual { position: relative; width: 100%; max-width: 40rem; margin: 0 auto; }
.ph-doc { max-width: 26rem; }
.ph-note { margin: 1rem 0 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); text-align: right; }
.ph-visual.hv-home .ph-note { text-align: left; max-width: 60%; }
.prose-lg { font-size: 1.08rem; max-width: 42rem; }
.prose-lg h3 { margin-top: 2.1rem; font-size: 1.2rem; }
.prose-lg .ticks { margin-bottom: 0; }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.included li { position: relative; padding: 1.4rem 1.3rem 1.4rem 3.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.included li::before { content: ""; position: absolute; left: 1.3rem; top: 1.75rem; width: .85rem; height: .45rem; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.included h3 { font-size: 1.06rem; margin-bottom: .3rem; }
.included p { margin: 0; font-size: .96rem; }
.note-box { margin: 1.5rem 0 0; padding: 1.1rem 1.3rem; border-radius: 12px; border: 1px solid rgba(157, 140, 255, .4); border-left-width: 3px; background: var(--accent-soft); }
.compare { display: grid; gap: 1rem; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { padding: clamp(1.6rem, 3.5vw, 2.4rem); border-radius: 18px; background: var(--card); border: 1px solid var(--card-line); color: var(--card-muted); }
.compare-col h3 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); letter-spacing: -.04em; color: var(--card-ink); }
.compare-col .plan-kicker { color: var(--card-accent); }
.compare-price { font-family: var(--mono); font-weight: 600; font-size: 1.2rem; color: var(--card-ink); }
.compare-col .ticks { border-top-color: var(--card-line); margin-bottom: 1rem; }
.compare-col .ticks li { border-bottom-color: var(--card-line); }
.compare-col .ticks li::before { border-color: var(--card-accent); }
.compare-col .text-link { color: var(--card-accent); }
.compare-col :focus-visible { outline-color: var(--card-accent); }
.compare-col-dark { background: radial-gradient(ellipse 55% 110% at 100% 0%, rgba(109, 92, 255, .24), transparent 70%), var(--panel); border-color: rgba(157, 140, 255, .55); color: var(--muted); }
.compare-col-dark h3, .compare-col-dark .compare-price { color: var(--text); }
.compare-col-dark .plan-kicker, .compare-col-dark .text-link { color: var(--accent); }
.compare-col-dark .ticks { border-top-color: var(--line); }
.compare-col-dark .ticks li { border-bottom-color: var(--line); color: var(--text); }
.compare-col-dark .ticks li::before { border-color: var(--accent); }
.compare-col-dark :focus-visible { outline-color: var(--accent); }
.related { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .related-4 { grid-template-columns: repeat(4, 1fr); } }
.related-wide { grid-column: 1 / -1; }
.related-card { position: relative; display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 1.5rem 3.4rem 1.5rem 1.4rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--muted); text-decoration: none; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.related-card:hover { color: var(--muted); border-color: rgba(157, 140, 255, .45); box-shadow: 0 30px 60px -36px rgba(109, 92, 255, .45); }
@media (prefers-reduced-motion: no-preference) { .related-card:hover { transform: translateY(-3px); } }
.rc-group { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.rc-name { font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; color: var(--text); }
.rc-price { margin-top: auto; padding-top: .4rem; font-weight: 600; color: var(--text); }
.rc-arrow { position: absolute; right: 1.3rem; top: 1.4rem; font-size: 1.2rem; color: var(--accent); transition: transform .35s var(--ease); }
.related-card:hover .rc-arrow { transform: translateX(4px); }
.related-card.related-card-dark { border-color: rgba(157, 140, 255, .5); background: radial-gradient(ellipse 50% 140% at 100% 50%, rgba(109, 92, 255, .22), transparent 70%), var(--panel); }
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .beliefs { grid-template-columns: 1fr 1fr; } }
.beliefs li { position: relative; padding: 1.5rem 1.4rem 1.5rem 4rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.belief-n { position: absolute; left: 1.4rem; top: 1.45rem; font-family: var(--mono); font-size: .9rem; color: var(--accent); }
.beliefs h3 { font-size: 1.15rem; }
.beliefs p { margin: 0; }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); letter-spacing: -.025em; margin: 2.4rem 0 .7rem; }
.prose h2:first-of-type { margin-top: 1rem; }
.prose p, .prose li { color: #c3c8d3; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .6rem; }
.prose-meta { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; color: var(--muted); }
.notfound { min-height: 62vh; display: flex; align-items: center; }
.notfound .container { width: 100%; }
body:has(.notfound) .site-footer { border-top: 1px solid var(--line); }
.cta-inner { position: relative; }
/* ---------- Page heroes (inner pages) ---------- */
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero .display { margin-left: 0; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.page-hero-short .hero-lead { margin: 0; text-align: left; }
.page-hero .eyebrow { margin-bottom: 1.4rem; }

/* ---------- Closing CTA (pricing and inner pages) ---------- */
.cta { padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 70% 80% at 80% 40%, rgba(109, 92, 255, .18), transparent 70%), var(--bg); }
.cta-field { position: absolute; z-index: -1; top: 0; right: 0; width: min(60%, 860px); height: 100%; pointer-events: none; overflow: clip; color: var(--accent); opacity: .22;
  -webkit-mask-image: linear-gradient(to left, #000 25%, transparent 95%); mask-image: linear-gradient(to left, #000 25%, transparent 95%); }
@media (max-width: 859px) { .cta-field { width: 100%; height: 42%; top: auto; bottom: 0; opacity: .14; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%); mask-image: linear-gradient(to bottom, transparent, #000 70%); } }
.js.ui-on .cta-field { transition: opacity 1.1s ease-out; will-change: opacity; }
.js.ui-on .cta-field:not(.is-in) { opacity: 0; }
.js.ui-on .cta-field.is-settled { will-change: auto; }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 16ch; }
.cta-email { display: inline-flex; flex-direction: column; gap: .4rem; margin: .5rem 0 2rem; text-decoration: none; max-width: 100%; }
.cta-email-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cta-email-addr { font-size: clamp(1.5rem, 5.4vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; overflow-wrap: anywhere; color: var(--accent); }
.cta-email:hover .cta-email-addr { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: #050608; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .94rem; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; } }
.footer-about .brand { margin-bottom: 1rem; }
.footer-about p { max-width: 24rem; }
.site-footer h2 { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a, .footer-about p a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.footer-base { margin-top: 2.5rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; }
.footer-base p { margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-base-short { margin-top: 0; }
.footer-base-short p { border-top: 0; padding-top: 0; }
.footer-base-short a { display: inline-flex; align-items: center; min-height: 44px; }

/* ===== Device frames, the screen drift and the document mock-ups (from main.css). The demo websites themselves are in css/demos.css. ===== */
/* Device frames */
.devices { position: relative; }
/* The phone sits bottom-right, over each demo's artwork: every demo puts its headline on the left of the laptop screen,
   so the headline always reads in full (owner feedback, round 7). */
.devices-inner { position: relative; padding: 0 11% 6% 0; }
.laptop { position: relative; width: 100%; transition: transform .7s var(--ease); }
.laptop-lid {
  background: #05080f; border-radius: 14px 14px 4px 4px; padding: 2% 2% 2.6%;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .6);
}
/* overflow: clip, never hidden: the drift inside uses a view() timeline. */
.laptop-screen { position: relative; aspect-ratio: 16 / 10; overflow: clip; border-radius: 3px; container-type: inline-size; }
.laptop-base {
  position: relative; height: clamp(8px, 1.6vw, 16px); margin: 0 -4%;
  background: linear-gradient(180deg, #d5d9e1, #8a91a0 70%, #5b6170); border-radius: 0 0 14px 14px;
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; transform: translateX(-50%); background: #6f7686; border-radius: 0 0 8px 8px; }
.phone {
  position: absolute; right: 0; bottom: 0; z-index: 2; width: 22%;
  padding: 2.4%; border-radius: 18% / 8.5%; background: #05080f; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95); transition: transform .7s var(--ease);
}
.phone-screen { position: relative; aspect-ratio: 9 / 19; overflow: clip; border-radius: 14% / 6.5%; container-type: inline-size; }
@media (prefers-reduced-motion: no-preference) {
  .devices:hover .laptop { transform: translateY(-6px); }
  .devices:hover .phone { transform: translateY(-14px) rotate(1.5deg); }
}

/* Scroll-linked drift of the demo screens inside their fixed frames.
   translate only; frames clip (overflow: clip). Static where unsupported. */
@keyframes screen-drift { from { translate: 0 0; } to { translate: 0 -14%; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .drift { animation: screen-drift linear both; animation-timeline: view(); animation-range: cover 10% cover 90%; }
  }
}
/* Hover: the laptop page scrolls further down (user-initiated). */
@media (prefers-reduced-motion: no-preference) {
  .devices:hover .laptop .dm-scroll { transform: translateY(-16%); }
}


/* ---------- Document mock-ups (SEO pages and home hero; decorative, sized in container units) ---------- */
.doc-wrap { position: relative; width: 100%; }
.doc-stack { position: relative; padding: 0 1.25rem 1.25rem 0; }
.doc { position: relative; z-index: 1; aspect-ratio: 210 / 275; border-radius: 10px; background: #fff; overflow: clip; container-type: inline-size; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .85); }
.doc-back { position: absolute; z-index: 0; inset: 1.25rem 0 0 1.25rem; aspect-ratio: auto; background: #e4ddd0; transform: rotate(3deg); box-shadow: none; }
.doc-in { display: flex; flex-direction: column; gap: 3cqi; padding: 7cqi; color: #14213d; font-size: 3.6cqi; line-height: 1.2; }
.doc-head { display: flex; align-items: center; gap: 2.5cqi; padding-bottom: 3cqi; border-bottom: 1px solid #e6e0d6; }
.doc-mark { width: 6cqi; height: 6cqi; border-radius: 1.6cqi; background: var(--coral); flex: none; }
.doc-title { font-family: var(--display); font-weight: 800; font-size: 5.4cqi; letter-spacing: -.04em; }
.doc-tag { margin-left: auto; padding: 1cqi 2.6cqi; border-radius: 99px; background: #f1ede6; color: #3d4559; font-size: 2.8cqi; font-weight: 700; }
.dl { display: block; width: 100%; height: 1.8cqi; border-radius: 99px; background: #e6e0d6; }
.dl.w45 { width: 45%; } .dl.w50 { width: 50%; } .dl.w60 { width: 60%; } .dl.w70 { width: 70%; } .dl.w80 { width: 80%; }
.callout { display: flex; flex-direction: column; gap: 2cqi; padding: 3.5cqi; border-radius: 2cqi; border-left: 1.4cqi solid; }
.c-title { font-weight: 800; font-size: 3.6cqi; }
.c-red { background: #fdecea; border-color: #c0392b; }
.c-red .c-title { color: #8f2216; }
.c-red .dl { background: #f4c9c3; }
.c-green { background: #e6f4eb; border-color: #1e7a46; }
.c-green .c-title { color: #135c33; }
.c-green .dl { background: #c4e4cf; }
.prio { display: flex; flex-direction: column; gap: 2.4cqi; padding-top: 1cqi; }
.prio-row { display: flex; align-items: center; gap: 3cqi; }
.pill { flex: none; width: 17cqi; padding: 1cqi 0; border-radius: 99px; text-align: center; font-size: 2.8cqi; font-weight: 800; }
.p-high { background: #b42318; color: #fff; }
.p-med { background: #ffb703; color: #14213d; }
.p-low { background: #dfe6ee; color: #14213d; }
.dchecks { display: flex; flex-direction: column; gap: 2.6cqi; padding: 1cqi 0; }
.dcheck { display: flex; align-items: center; gap: 2.6cqi; font-weight: 700; font-size: 3.6cqi; }
.dcheck::before { content: ""; flex: none; width: 4.6cqi; height: 4.6cqi; border-radius: 50%; box-sizing: border-box; }
.dcheck.done::before { background: #1e7a46 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.2 5.2l1.9 1.9 3.7-4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.dcheck.next { color: #6b5a3e; }
.dcheck.next::before { border: .6cqi solid var(--coral); }
.bars { display: flex; align-items: flex-end; gap: 2.4cqi; height: 20cqi; padding-top: 2cqi; border-bottom: 1px solid #e6e0d6; }
.bars span { flex: 1; border-radius: 1cqi 1cqi 0 0; background: linear-gradient(180deg, #ff9a83, #ffd8cc); }
.bars .b1 { height: 45%; } .bars .b2 { height: 62%; } .bars .b3 { height: 50%; } .bars .b4 { height: 70%; } .bars .b5 { height: 58%; } .bars .b6 { height: 74%; }
.doc-chip {
  position: absolute; z-index: 2; right: 0; bottom: 2.5rem; padding: .5rem .95rem; border-radius: 999px;
  background: var(--coral); color: var(--night); font-weight: 800; font-size: .82rem; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .8);
}


/* ---------- Reduced motion: fully static ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js.ui-on .ticker-toggle { visibility: hidden; }
  .js.ui-on .cta-field:not(.is-in) { opacity: .22; }
  .js.ui-on .cta-field { will-change: auto; }
}

/* Windows High Contrast / forced colours: backgrounds are replaced, so the chips' checked fill would vanish.
   Mark the checked chip with a Highlight outline and a filled Highlight dot; focus rings use Highlight too.
   Buttons, cards, the price strip and the ticker Pause button all have real borders, which stay visible. */
@media (forced-colors: active) {
  :focus-visible { outline-color: Highlight; }
  .chip input:checked + span { outline: 3px solid Highlight; outline-offset: -3px; }
  .chip input:checked + span::before { forced-color-adjust: none; background-color: Highlight; border-color: Highlight; }
}

@media print {
  .ticker, .cta-field, .s-grid, .s-glow, .s-lines, .site-nav, .menu, .header-cta, .devices, .hero-visual, .s-stage, .skip-link, .hp { display: none !important; }
  /* Everything prints dark on white: the studio is dark on screen, so no colour from it may survive into print. */
  *, *::before, *::after { color: #000 !important; background: #fff !important; box-shadow: none !important; text-shadow: none !important; border-color: #999 !important; }
  html, body { background: #fff !important; }
  .section::before, .s-stage-in::before { display: none !important; }
  .w > span { transform: none !important; filter: none !important; }
  .btn { border: 1px solid #000 !important; }
}