/*
 * AEx Agency theme styles.
 * A night-shift control room: near-black ground, faint grid, a floating glass header and lime-glow panels.
 * Colors and fonts come from the site dashboard as CSS custom properties (printed inline after this file).
 */
/* Self-hosted fonts (SIL Open Font License, see assets/fonts) */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;

  /* Color (defaults; the dashboard overrides these) */
  --bg: #060804;
  --bg-2: #090c06;
  --surface: #0d1109;
  --surface-2: #141d09;
  --surface-3: #1b2908;
  --white: #f5f8ee;
  --text: #b4bcaa;
  --muted: #898f81;
  --green: #98ff03;
  --green-hi: #b8ff4f;
  --green-ink: #050603;
  --teal: #4fd8c8;
  --emergency: #ff8552;
  --emergency-ink: #ffc2a6;
  --alert-ink: #1d0800;
  --accent-rgb: 152 255 3;
  --accent-hi-rgb: 184 255 79;
  --line-rgb: 185 253 85;
  --teal-rgb: 79 216 200;
  --alert-rgb: 255 133 82;
  --bg-rgb: 6 8 4;
  --overlay-rgb: 255 255 255;

  /* Derived tokens */
  --line: rgb(var(--line-rgb) / 0.12);
  --line-strong: rgb(var(--line-rgb) / 0.26);
  --green-soft: rgb(var(--accent-rgb) / 0.1);
  --green-line: rgb(var(--accent-rgb) / 0.42);
  --green-glow: rgb(var(--accent-rgb) / 0.35);
  --teal-line: rgb(var(--teal-rgb) / 0.42);
  --amber: #f2b45a;
  --emergency-soft: rgb(var(--alert-rgb) / 0.1);
  --emergency-line: rgb(var(--alert-rgb) / 0.45);
  --error: #ff8a8a;
  --glass: rgb(var(--bg-rgb) / 0.8);
  --on-dark: var(--white);

  /* Type */
  --font: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-head: var(--font);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --t-xs: 0.8125rem;
  --t-sm: 0.9rem;
  --t-base: 1.0625rem;
  --t-md: 1.15rem;
  --t-lg: 1.3rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-2xl: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);

  /* Space */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section: clamp(3.75rem, 2.5rem + 4vw, 6.5rem);

  /* Layout and shape */
  --wrap: 74rem;
  --gutter: 18px;
  --tap: 44px;
  --adminbar: 0px;
  --header-top: calc(env(safe-area-inset-top, 0px) + 10px + var(--adminbar));
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html:has(.site-nav.is-open) .mobile-cta { display: none; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.has-mobile-cta { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { body.has-mobile-cta { padding-bottom: 0; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--white); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; }
strong, b { color: var(--white); font-weight: 600; }
summary, label, legend, dt { font-weight: 600; }
em { font-style: normal; color: var(--green); }
svg { display: block; flex: none; }
.icon { width: 1em; height: 1em; }
.aex-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--green); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-hi); }
p a, li a, .field__hint a, .consent a, .head__intro a { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { color: var(--green-ink); background: var(--green); }

.wrap {
  position: relative;
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.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: var(--s-4); top: -100px; z-index: 100; padding: var(--s-3) var(--s-4); color: var(--green-ink); background: var(--green); border-radius: var(--r-sm); }
.skip-link:focus { top: var(--s-4); color: var(--green-ink); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500; line-height: 1.5;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--green);
}
.eyebrow--dot::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--green); border-radius: 50%; box-shadow: 0 0 10px var(--green); }
.h2, .head__title { font-size: var(--t-2xl); line-height: 1.08; letter-spacing: -0.03em; }
.lede, .head__intro { max-width: 40rem; font-size: var(--t-md); line-height: 1.6; color: var(--text); }
.head { display: grid; gap: var(--s-4); max-width: 48rem; margin-bottom: var(--s-7); }
.mono { font-family: var(--mono); }

.gridbg, .grid-lines {
  background-image:
    linear-gradient(rgb(var(--line-rgb) / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--line-rgb) / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
}
.rings {
  position: absolute; inset: -10% -30%; z-index: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 45%, transparent 0 159px, rgb(var(--line-rgb) / 0.07) 160px 161px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.6rem;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  color: var(--white); background: transparent;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn--primary, .btn--accent {
  color: var(--green-ink); background: var(--green); border-color: var(--green);
  box-shadow: 0 0 0 1px rgb(var(--accent-hi-rgb) / 0.35), 0 14px 40px -14px var(--green-glow);
}
.btn--primary:hover, .btn--accent:hover { color: var(--green-ink); background: var(--green-hi); border-color: var(--green-hi); }
.btn--outline { color: var(--green); background: rgb(var(--accent-rgb) / 0.04); border-color: var(--line-strong); }
.btn--outline:hover { color: var(--green-hi); background: var(--green-soft); border-color: var(--green-line); }
.btn--secondary { color: var(--white); background: rgb(var(--overlay-rgb) / 0.03); border-color: rgb(var(--overlay-rgb) / 0.16); }
.btn--secondary:hover { color: var(--white); border-color: rgb(var(--overlay-rgb) / 0.4); }
.btn--danger { color: var(--error); background: transparent; border-color: rgba(255, 138, 138, 0.45); }
.btn--danger:hover { color: var(--error); background: rgba(255, 138, 138, 0.08); }
.btn--danger.is-armed { color: #1a0505; background: var(--error); border-color: var(--error); }
.btn--sm { min-height: var(--tap); padding: 0 1.1rem; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; min-height: var(--tap); font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .btn .arr { transition: none; } .btn:hover .arr { transform: none; } }

/* ---------- Section shell ---------- */
.section { position: relative; padding-block: var(--section); }
.section--soft { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- Notice ---------- */
.notice { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); background: var(--bg); border-bottom: 1px solid var(--line); }
.notice__inner { display: flex; align-items: center; gap: var(--s-3); min-height: var(--tap); }
.notice__inner p { flex: 1; min-width: 0; line-height: 1.5; letter-spacing: 0.02em; }
.notice__tag { display: inline-block; margin-right: var(--s-2); padding: 1px 8px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); border: 1px solid var(--line-strong); border-radius: 999px; }
.notice__close { display: grid; place-items: center; flex: none; width: var(--tap); height: var(--tap); color: var(--muted); background: transparent; border: 0; border-radius: var(--r-sm); cursor: pointer; }
.notice__close:hover { color: var(--white); }
.notice__close svg { width: 16px; height: 16px; }

/* ================= HEADER ================= */
.site-header { position: sticky; top: var(--header-top); z-index: 40; margin-top: 10px; }
.site-header__bar {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 66px; padding: 8px 8px 8px 22px;
  border: 1px solid transparent; border-radius: 22px;
  transition: border-color 0.25s ease;
}
.site-header__bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: transparent; transition: background-color 0.25s ease;
}
.site-header.is-scrolled .site-header__bar { border-color: var(--line-strong); }
.site-header.is-scrolled .site-header__bar::before { background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.logo { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.55rem; min-height: var(--tap); color: var(--white); text-decoration: none; }
.logo:hover { color: var(--white); }
.logo__mark { width: auto; height: 21px; aspect-ratio: 104 / 36; }
.logo__img { width: auto; max-width: 180px; height: auto; max-height: 40px; }
.logo__text { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.logo__tag { font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green); }
.menu-toggle {
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto;
  color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 15px; cursor: pointer;
  box-shadow: 0 0 24px -8px var(--green-glow);
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.site-header__cta { display: none; }

/* Mobile menu: full-screen panel */
.site-nav {
  position: fixed; inset: 0; z-index: 0; display: none; overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 140px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 32px) max(var(--gutter), env(safe-area-inset-left, 0px));
  background: var(--bg);
}
.site-nav.is-open { display: block; }
.site-nav ul { display: grid; max-width: 40rem; margin: 0 auto; padding: 0; list-style: none; }
.site-nav li { margin: 0; }
.site-nav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; color: var(--white); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a:not(.btn)::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.site-nav a[aria-current="page"]::after { background: var(--green); box-shadow: 0 0 10px var(--green); }
.site-nav__cta { max-width: 40rem; margin: 0 auto; padding-top: var(--s-6); }
.site-nav__cta:empty { display: none; }

@media (min-width: 1024px) {
  .menu-toggle, .site-nav__cta { display: none; }
  .site-nav { position: static; display: block; margin-left: auto; padding: 0; overflow: visible; background: none; }
  .site-nav ul { display: flex; gap: 2px; margin: 0; max-width: none; }
  .site-nav a:not(.btn) { min-height: var(--tap); padding: 0 var(--s-4); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--text); border: 0; border-radius: 999px; }
  .site-nav a:not(.btn):hover { color: var(--white); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--white); background: rgb(var(--overlay-rgb) / 0.05); }
  .site-header__cta { display: inline-flex; }
}

/* ================= HOME: HERO ================= */
.hero { position: relative; overflow: clip; margin-top: -76px; padding-block: calc(76px + clamp(4rem, 2rem + 7vw, 8rem)) clamp(4rem, 2.5rem + 5vw, 7rem); text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(var(--line-rgb) / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--line-rgb) / 0.045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 65%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 65%);
}
.hero::after { content: ""; position: absolute; left: 50%; bottom: -30%; width: 90%; height: 70%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.16), transparent); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--s-5); }
.wordmark {
  width: min(78%, 30rem); aspect-ratio: 104 / 36; margin-block: var(--s-2) var(--s-1);
  background: linear-gradient(100deg, var(--white) 0 38%, var(--green-hi) 46%, var(--green) 50%, var(--white) 60% 100%);
  background-size: 320% 100%; background-position: 100% 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 36'%3E%3Cpolygon points='0,36 13,0 21,0 34,36 26,36 17,11 8,36'/%3E%3Crect x='40' y='0' width='7' height='36'/%3E%3Crect x='40' y='0' width='24' height='7'/%3E%3Crect x='40' y='14.5' width='22' height='7'/%3E%3Crect x='40' y='29' width='24' height='7'/%3E%3Cpolygon points='70,0 79,0 104,36 95,36'/%3E%3Cpolygon points='95,0 104,0 79,36 70,36'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 36'%3E%3Cpolygon points='0,36 13,0 21,0 34,36 26,36 17,11 8,36'/%3E%3Crect x='40' y='0' width='7' height='36'/%3E%3Crect x='40' y='0' width='24' height='7'/%3E%3Crect x='40' y='14.5' width='22' height='7'/%3E%3Crect x='40' y='29' width='24' height='7'/%3E%3Cpolygon points='70,0 79,0 104,36 95,36'/%3E%3Cpolygon points='95,0 104,0 79,36 70,36'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 30px rgb(var(--accent-rgb) / 0.25));
}
@media (prefers-reduced-motion: no-preference) { .wordmark { animation: sweep 7s ease-in-out 1.2s infinite; } }
@keyframes sweep { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0% 0; } }
.hero h1 { font-size: clamp(1.55rem, 1.15rem + 1.8vw, 2.4rem); line-height: 1.2; }
.hero__rotator { display: grid; place-items: center; min-height: 3.4em; max-width: 42rem; font-size: var(--t-md); line-height: 1.5; color: var(--green); }
.hero__rotator [data-rotate] { transition: opacity 0.35s ease, transform 0.35s ease; }
.hero__rotator [data-rotate].is-out { opacity: 0; transform: translateY(6px); }
.mono-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 0.86rem; color: var(--muted); }
.mono-stats b { margin-right: 0.35em; }
.hero__ctas { display: grid; gap: var(--s-3); width: min(100%, 30rem); margin-top: var(--s-2); }
.hero__ctas .btn { min-height: 56px; }
@media (min-width: 640px) { .hero__ctas { display: flex; justify-content: center; width: auto; } }

/* ================= HOME: CALL DESK ================= */
.system { position: relative; overflow: clip; padding-block: var(--section); }
.system__grid { position: relative; z-index: 1; display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 1024px) {
  .system__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); gap: var(--s-9); }
  .system__copy { order: 1; }
  .stage-wrap { order: 2; }
}
.system__copy { display: grid; gap: var(--s-5); min-width: 0; }
.stage-wrap { position: relative; display: grid; justify-items: center; min-width: 0; }
.stage-wrap::before { content: ""; position: absolute; left: 50%; top: 45%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.22), rgb(var(--accent-rgb) / 0.05) 55%, transparent); }

.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s-4); width: 100%; max-width: 23rem; }
.seg { display: flex; gap: 4px; width: 100%; padding: 4px; background: rgb(var(--overlay-rgb) / 0.03); border: 1px solid var(--line); border-radius: 18px; }
.seg button {
  flex: 1 1 0; min-width: 0; display: grid; place-items: center; gap: 1px; min-height: 50px; padding: 6px 2px;
  font: inherit; font-size: 0.82rem; font-weight: 600; line-height: 1.15; color: var(--text);
  background: transparent; border: 1px solid transparent; border-radius: 14px; cursor: pointer;
}
.seg button span { font-family: var(--mono); font-size: 0.64rem; font-weight: 400; color: var(--muted); }
.seg button:hover { color: var(--white); }
.seg button[aria-pressed="true"] { color: var(--white); background: var(--surface-3); border-color: var(--green-line); }
.seg button[aria-pressed="true"] span { color: var(--green); }

.phone {
  width: 100%; max-width: 21.5rem; padding: 8px; background: #000;
  border: 1px solid rgb(var(--accent-rgb) / 0.38); border-radius: 46px;
  box-shadow: 0 0 0 6px rgb(var(--accent-rgb) / 0.035), 0 0 70px -12px var(--green-glow), 0 40px 80px -30px #000;
}
.phone__screen { padding: 10px 14px 16px; color: var(--white); background: linear-gradient(180deg, var(--surface), var(--bg) 40%); border-radius: 38px; }
.phone :focus-visible { outline-color: var(--green); }
.phone__status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 2px 10px 12px; font-family: var(--mono); font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.phone__island { width: 82px; height: 24px; background: #000; border-radius: 12px; }
.phone__battery { justify-self: end; position: relative; width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; }
.phone__battery::after { content: ""; position: absolute; top: 1.5px; bottom: 1.5px; left: 1.5px; right: 6px; background: var(--green); border-radius: 1px; }
.sim { display: grid; }
.sim-scene { grid-area: 1 / 1; visibility: hidden; min-width: 0; }
.sim-scene.is-active { visibility: visible; }
.sim-step { transition: opacity 0.35s ease, transform 0.35s ease; }
.sim-step.is-pending { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: reduce) { .sim-step { transition: none; } }
.callbar { display: flex; align-items: center; gap: var(--s-3); padding: 10px; background: rgb(var(--overlay-rgb) / 0.04); border: 1px solid var(--line); border-radius: var(--r); }
.callbar__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; color: var(--green-ink); background: var(--green); border-radius: 50%; box-shadow: 0 0 18px var(--green-glow); }
.callbar__icon svg { width: 18px; height: 18px; }
.callbar__title { font-size: 0.84rem; font-weight: 600; line-height: 1.3; }
.callbar__meta { display: flex; align-items: center; gap: 0.35rem; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.live-dot { width: 7px; height: 7px; flex: none; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); }
@media (prefers-reduced-motion: no-preference) { .is-live .live-dot { animation: live 1.2s ease-in-out infinite; } }
@keyframes live { 50% { opacity: 0.25; } }
.transcript { display: grid; gap: 7px; margin-top: var(--s-3); padding: 0; list-style: none; }
.msg { max-width: 88%; padding: 7px 11px; font-size: 0.85rem; line-height: 1.42; border-radius: 14px; }
.msg__who { display: block; margin-bottom: 1px; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.msg--agent { justify-self: start; color: var(--white); background: var(--green-soft); border: 1px solid rgb(var(--accent-rgb) / 0.3); border-bottom-left-radius: 4px; }
.msg--agent .msg__who { color: var(--green); }
.msg--caller { justify-self: end; color: var(--white); background: rgb(var(--overlay-rgb) / 0.05); border: 1px solid rgb(var(--overlay-rgb) / 0.08); border-bottom-right-radius: 4px; }
.msg--caller .msg__who { color: var(--muted); }
.outcome { display: grid; gap: 8px; margin-top: var(--s-3); }
.ocard { display: flex; gap: var(--s-3); padding: 10px 12px; font-size: 0.84rem; line-height: 1.4; color: var(--white); background: rgb(var(--overlay-rgb) / 0.04); border: 1px solid var(--line); border-radius: var(--r); }
.ocard > svg { width: 17px; height: 17px; margin-top: 2px; color: var(--green); }
.ocard__title { font-weight: 600; }
.ocard__text { color: var(--text); }
.ocard--emergency { color: var(--emergency-ink); background: var(--emergency-soft); border-color: var(--emergency-line); }
.ocard--emergency > svg { color: var(--emergency); }
.ocard--emergency .ocard__text { color: var(--emergency-ink); }
.ocard dl { display: grid; gap: 1px; margin-top: 3px; }
.ocard dl > div { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: var(--s-2); }
.ocard dt { font-weight: 400; color: var(--muted); }
.wave { display: none; align-items: center; gap: 3px; height: 18px; margin-left: auto; }
.is-live .sim-scene.is-active .wave, .is-speaking .sim-scene.is-active .wave { display: inline-flex; }
.wave i { width: 3px; height: 100%; background: var(--green); border-radius: 2px; transform: scaleY(0.35); }
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: wave 0.9s ease-in-out infinite; }
  .wave i:nth-child(2) { animation-delay: 0.12s; }
  .wave i:nth-child(3) { animation-delay: 0.24s; }
  .wave i:nth-child(4) { animation-delay: 0.36s; }
  .wave i:nth-child(5) { animation-delay: 0.48s; }
}
@keyframes wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.sim-progress { width: 100%; max-width: 21.5rem; height: 3px; overflow: hidden; background: rgb(var(--overlay-rgb) / 0.08); border-radius: 999px; }
.sim-progress span { display: block; width: 100%; height: 100%; background: var(--green); border-radius: inherit; box-shadow: 0 0 10px var(--green); }
.stage__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-2) var(--s-3); width: 100%; }
.stage__caption { flex-basis: 100%; font-family: var(--mono); font-size: 0.7rem; line-height: 1.5; text-align: center; color: var(--muted); }
[data-sound] .i-off { display: none; }
[data-sound][aria-pressed="false"] .i-on { display: none; }
[data-sound][aria-pressed="false"] .i-off { display: block; }

/* Pillars + call feed */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-2); }
.pillar {
  display: grid; justify-items: center; align-content: center; gap: 0.4rem; min-height: 9.5rem; padding: var(--s-5) var(--s-3);
  font: inherit; text-align: center; color: var(--white);
  background: linear-gradient(180deg, rgb(var(--overlay-rgb) / 0.025), transparent);
  border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pillar:hover, .pillar[aria-pressed="true"] { background-color: var(--green-soft); border-color: var(--green-line); }
.pillar__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 0.35rem; color: var(--green); background: rgb(var(--accent-rgb) / 0.06); border: 1px solid var(--green-line); border-radius: 15px; }
.pillar__icon svg { width: 20px; height: 20px; }
.pillar--emergency .pillar__icon { color: var(--emergency); background: var(--emergency-soft); border-color: var(--emergency-line); }
.pillar__title { font-size: 1.12rem; font-weight: 600; }
.pillar__sub { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); }
.feed { display: grid; gap: 0.35rem; padding: var(--s-4) var(--s-5); font-size: 0.95rem; line-height: 1.5; color: var(--white); background: rgb(var(--overlay-rgb) / 0.02); border: 1px solid var(--line); border-radius: var(--r-lg); }
.feed__tag { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green); }
.feed__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ================= HOME: MISSED-CALL FORK ================= */
.fork { --g: var(--s-3); display: grid; max-width: 56rem; margin-inline: auto; }
@media (min-width: 768px) { .fork { --g: var(--s-7); } }
.fork__start { justify-self: center; display: grid; justify-items: center; gap: var(--s-1); max-width: 25rem; padding: var(--s-4) var(--s-6); text-align: center; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 20px 60px -30px #000; }
.fork__start strong { font-size: var(--t-lg); line-height: 1.25; }
.fork__start > span:last-child { font-size: var(--t-sm); color: var(--text); }
.time-chip { padding: 2px 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--emergency); background: var(--emergency-soft); border: 1px solid var(--emergency-line); border-radius: 999px; font-variant-numeric: tabular-nums; }
.fork__split { position: relative; height: 3rem; }
.fork__split::before { content: ""; position: absolute; left: calc(50% - 1px); top: 0; height: 1.5rem; width: 2px; background: var(--line-strong); }
.fork__split::after { content: ""; position: absolute; top: 1.5rem; bottom: 0; left: calc((100% - var(--g)) / 4 - 1px); right: calc((100% - var(--g)) / 4 - 1px); border: 2px solid var(--line-strong); border-bottom: 0; border-radius: 14px 14px 0 0; }
.fork__lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g); }
.lane { display: grid; align-content: start; gap: var(--s-3); min-width: 0; }
.lane__label { justify-self: center; padding: 3px 12px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); border: 1px solid rgb(var(--overlay-rgb) / 0.14); border-radius: 999px; }
.lane--aex .lane__label { color: var(--green); border-color: var(--green-line); background: var(--green-soft); }
.lane__steps { display: grid; gap: 14px; padding: 0; list-style: none; }
.lane__steps li { position: relative; padding: 11px 12px; font-size: var(--t-sm); font-weight: 500; line-height: 1.35; text-align: center; border-radius: var(--r); }
.lane__steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(50% - 1px); bottom: -15px; height: 14px; width: 2px; background: rgb(var(--overlay-rgb) / 0.12); }
.lane--aex .lane__steps li:not(:last-child)::after { background: var(--green-line); }
.lane--miss .lane__steps li { color: var(--muted); border: 1px dashed rgb(var(--overlay-rgb) / 0.16); }
.lane--aex .lane__steps li { color: var(--white); background: rgb(var(--accent-rgb) / 0.05); border: 1px solid var(--green-line); }
.lane--aex .lane__steps li.is-emergency { color: var(--emergency-ink); background: var(--emergency-soft); border-color: var(--emergency-line); }
.lane__end { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--s-2); padding: 14px 12px; font-weight: 600; line-height: 1.2; text-align: center; border-radius: var(--r); }
.lane__end::before { content: ""; position: absolute; left: calc(50% - 1px); top: -13px; height: 12px; width: 2px; background: rgb(var(--overlay-rgb) / 0.12); }
.lane--aex .lane__end::before { background: var(--green-line); }
.lane__end svg { width: 18px; height: 18px; }
.lane__end--lost { color: var(--muted); background: rgb(var(--overlay-rgb) / 0.04); border: 1px solid rgb(var(--overlay-rgb) / 0.1); }
.lane__end--won { color: var(--green-ink); background: var(--green); box-shadow: 0 0 34px -8px var(--green-glow); }

/* ================= HOME: COVERAGE ================= */
.coverage { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); } }
.cov { display: grid; gap: var(--s-5); min-width: 0; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
@media (min-width: 768px) { .cov { padding: var(--s-6); } }
.cov--aex { border-color: var(--green-line); box-shadow: 0 0 60px -24px var(--green-glow); }
.cov__head { display: flex; align-items: center; gap: var(--s-4); }
.donut { width: 66px; height: 66px; }
.donut__bg { fill: none; stroke: rgb(var(--overlay-rgb) / 0.08); stroke-width: 7; }
.donut__fg { fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; }
.donut__t { fill: var(--white); font-family: var(--mono); font-size: 12px; font-weight: 500; }
.cov__num { font-size: 2.3rem; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--white); font-variant-numeric: tabular-nums; }
.cov__num small { font-family: var(--mono); font-size: 0.85rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.cov__label { margin-top: var(--s-1); font-size: var(--t-sm); }
.week__grid { display: grid; grid-template-columns: 2.25rem repeat(24, minmax(0, 1fr)); gap: 2px; font-family: var(--mono); font-size: 0.64rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.week__day { display: flex; align-items: center; line-height: 1; }
.week__cell { position: relative; aspect-ratio: 1; max-width: 100%; background: rgb(var(--overlay-rgb) / 0.06); border-radius: 2px; }
.week__cell.is-on { background: var(--green); }
.week__cell.has-call::after { content: ""; position: absolute; inset: -3px; z-index: 1; background: var(--white); border: 2px solid var(--bg); border-radius: 50%; }
.week__cell.has-call.is-emergency::after { background: var(--emergency); }
.week__axis { grid-column: span 6; padding-top: 6px; line-height: 1; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); padding: 0; list-style: none; font-size: var(--t-sm); color: var(--text); }
.legend li { display: inline-flex; align-items: center; gap: var(--s-2); }
.sw { flex: none; width: 12px; height: 12px; border-radius: 3px; }
.sw--on, .sw--us { background: var(--green); }
.sw--off { background: rgb(var(--overlay-rgb) / 0.1); }
.sw--call { background: var(--white); border-radius: 50%; }
.sw--em { background: var(--emergency); border-radius: 50%; }
.sw--you { border: 1.5px solid var(--white); }
.sw--both { border: 1.5px dashed var(--green); }

/* ================= HOME: STACKED CALL-TYPE CARDS ================= */
.stack { display: grid; gap: var(--s-5); }
.scard {
  --tint: var(--green); --tint-line: var(--green-line); --tint-bg: rgb(var(--accent-rgb) / 0.09);
  position: relative; display: grid; overflow: hidden;
  background: linear-gradient(180deg, var(--tint-bg), var(--bg-2) 55%);
  border: 1px solid var(--tint-line); border-radius: var(--r-xl);
  box-shadow: 0 -24px 60px -34px #000;
}
.scard::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--tint), transparent); }
.scard--emergency { --tint: var(--emergency); --tint-line: var(--emergency-line); --tint-bg: rgb(var(--alert-rgb) / 0.08); }
.scard--teal { --tint: var(--teal); --tint-line: var(--teal-line); --tint-bg: rgb(var(--teal-rgb) / 0.08); }
@media (min-width: 900px) {
  .scard { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: 26rem; }
}
@media (min-width: 900px) and (min-height: 720px) {
  .scard { position: sticky; top: calc(var(--header-top) + 92px + var(--i, 0) * 18px); }
}
.scard__media {
  position: relative; display: grid; place-items: center; min-height: 13rem; padding: var(--s-6);
  background-image: radial-gradient(closest-side, var(--tint-bg), transparent), linear-gradient(rgb(var(--overlay-rgb) / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--overlay-rgb) / 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .scard__media { border-bottom: 0; border-right: 1px solid var(--line); } }
.scard__body { display: grid; align-content: center; gap: var(--s-4); min-width: 0; padding: var(--s-6) var(--s-5); }
@media (min-width: 768px) { .scard__body { padding: var(--s-7); } }
.scard__meta { display: flex; align-items: center; gap: var(--s-3); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.scard__meta span:first-child { color: var(--tint); }
.scard__meta i { width: 3.5rem; height: 1px; background: var(--tint-line); }
.scard h3 { font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; }
.scard__sub { font-size: var(--t-md); font-weight: 600; color: var(--tint); }
.dots { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; color: var(--white); }
.dots li { position: relative; padding-left: 1.4rem; }
.dots li::before { content: ""; position: absolute; left: 0.2rem; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--tint, var(--green)); }
.scard .btn { justify-self: start; margin-top: var(--s-2); color: var(--tint); border-color: var(--tint-line); background: transparent; }
.scard .btn:hover { background: var(--tint-bg); }

/* Mini UI inside the cards */
.mini-sms { display: grid; gap: var(--s-2); width: min(100%, 19rem); padding: 14px 16px; background: rgba(0, 0, 0, 0.55); border: 1px solid var(--emergency-line); border-radius: 18px; box-shadow: 0 20px 50px -20px #000; }
.mini-sms__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-sms__meta strong { color: var(--white); font-weight: 500; }
.mini-sms p { font-size: 0.92rem; line-height: 1.45; color: var(--white); }
.mini-sms b { color: var(--emergency); }
.chip { display: inline-flex; align-items: center; gap: 4px; justify-self: start; padding: 2px 10px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; border-radius: 999px; }
.chip--ok { color: var(--green-ink); background: var(--green); }
.chip--alert { color: var(--alert-ink); background: var(--emergency); }
.mini-cal { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: var(--s-2); width: min(100%, 19rem); padding: 14px 16px; font-size: 0.85rem; background: rgba(0, 0, 0, 0.55); border: 1px solid var(--line-strong); border-radius: 18px; }
.mini-cal__day { grid-column: 1 / -1; display: flex; justify-content: space-between; font-weight: 600; color: var(--white); }
.mini-cal__day span { font-family: var(--mono); font-size: 0.7rem; font-weight: 400; color: var(--muted); }
.mini-cal__rail { display: grid; grid-template-rows: repeat(3, 2.3rem); font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.mini-cal__lane { display: grid; grid-template-rows: repeat(3, 2.3rem); border-left: 1px solid var(--line-strong); }
.mini-cal__job { grid-row: 1 / span 2; display: grid; align-content: start; margin: 2px 0 2px 8px; padding: 6px 10px; line-height: 1.35; color: var(--green-ink); background: var(--green); border-radius: var(--r-sm); }
.mini-cal__job strong { color: var(--green-ink); }
.mini-cal__open { grid-row: 3; align-self: center; margin-left: 8px; padding: 4px 10px; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--r-sm); }
.mini-msg { display: grid; gap: var(--s-2); width: min(100%, 19rem); padding: 14px 16px; background: rgba(0, 0, 0, 0.55); border: 1px solid var(--teal-line); border-radius: 18px; }
.mini-msg__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.mini-msg__meta strong { color: var(--teal); font-weight: 500; }
.mini-msg dl { display: grid; gap: 3px; font-size: 0.88rem; }
.mini-msg dl > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--s-2); }
.mini-msg dt { font-weight: 400; color: var(--muted); }
.mini-msg dd { color: var(--white); }

/* ================= HOME: SETUP TABS ================= */
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); } }
.split__copy { display: grid; justify-items: start; gap: var(--s-4); }
.pill-tag { display: inline-flex; align-items: center; gap: 0.55rem; padding: 4px 12px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); background: var(--green-soft); border: 1px solid var(--line-strong); border-radius: 999px; }
.pill-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.tabs-card { display: grid; gap: var(--s-3); padding: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.seg2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: rgb(var(--overlay-rgb) / 0.03); border: 1px solid var(--line); border-radius: 16px; }
.seg2 [role="tab"] { min-height: var(--tap); font: inherit; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 12px; cursor: pointer; }
.seg2 [role="tab"][aria-selected="true"] { color: var(--green); background: var(--green-soft); border-color: var(--line-strong); }
.tabpanel { display: grid; gap: var(--s-2); padding: var(--s-4) var(--s-4) var(--s-2); }
.mono-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); }
.icon-list { display: grid; margin: 0; padding: 0; list-style: none; }
.icon-list li { display: flex; align-items: center; gap: var(--s-3); padding: 0.85rem 0; color: var(--white); border-bottom: 1px solid var(--line); }
.icon-list li:last-child { border-bottom: 0; }
.icon-list svg { width: 18px; height: 18px; color: var(--green); }
.tabs-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); padding: 0 var(--s-4) var(--s-2); font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }

/* ================= HOME: EXPLORE ================= */
.explore { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.explore li { display: grid; margin: 0; }
@media (min-width: 768px) { .explore { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.explore__card { display: grid; align-content: start; gap: var(--s-3); padding: var(--s-5); color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color 0.2s ease; }
a.explore__card:hover { color: var(--text); border-color: var(--green-line); }
.explore__icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--green); background: rgb(var(--accent-rgb) / 0.06); border: 1px solid var(--green-line); border-radius: 14px; }
.explore__icon svg { width: 20px; height: 20px; }
.explore strong { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); font-size: 1.15rem; }
.explore strong svg { width: 18px; height: 18px; color: var(--green); transition: transform 0.2s ease; }
a.explore__card:hover strong svg { transform: translateX(3px); }

/* ================= CLOSING BAND ================= */
.band { position: relative; overflow: clip; padding-block: var(--section); text-align: center; background: radial-gradient(ellipse 70% 60% at 50% 110%, rgb(var(--accent-rgb) / 0.2), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.band__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--s-5); }
.band h2 { max-width: 18ch; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; }
.band__ctas { display: grid; gap: var(--s-3); width: min(100%, 30rem); }
@media (min-width: 640px) { .band__ctas { display: flex; justify-content: center; width: auto; } }

/* ================= FOOTER ================= */
.footer { position: relative; overflow: clip; padding-block: var(--s-8) var(--s-5); font-size: var(--t-sm); background: var(--bg); border-top: 1px solid var(--line); }
.footer__mark { position: absolute; right: -4%; bottom: -14%; width: min(70%, 46rem); height: auto; color: rgb(var(--accent-rgb) / 0.05); pointer-events: none; }
.footer__top { position: relative; display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr auto; } }
.footer__brand { display: grid; justify-items: start; gap: var(--s-4); }
.footer__brand .logo__mark { height: 26px; }
.footer__brand p { max-width: 22rem; }
.footer__h { margin-bottom: var(--s-2); font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green); }
.footer__links { display: grid; margin: 0; padding: 0; list-style: none; }
.footer__links a, .footer__bottom a { display: inline-flex; align-items: center; min-height: 40px; min-width: var(--tap); color: var(--white); text-decoration: none; }
.footer__links a:hover, .footer__bottom a:hover { color: var(--green); }
.social { display: flex; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: var(--tap); height: var(--tap); color: var(--white); background: rgb(var(--overlay-rgb) / 0.03); border: 1px solid var(--line-strong); border-radius: 13px; }
.social a:hover { color: var(--green); border-color: var(--green-line); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-5); margin-top: var(--s-8); padding-top: var(--s-3); font-family: var(--mono); font-size: 0.74rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer__bottom p { display: flex; align-items: center; min-height: var(--tap); }
.footer__bottom a { min-height: var(--tap); color: var(--green); }
@media (min-width: 768px) { .footer__credit { margin-left: auto; } }

/* ================= MOBILE CTA ================= */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding-top: var(--s-6); padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background: linear-gradient(180deg, transparent, rgb(var(--bg-rgb) / 0.94) 45%);
  pointer-events: none;
}
.mobile-cta .btn { pointer-events: auto; min-height: 56px; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* ================= INNER PAGES ================= */
main:focus, .success h2:focus, .success h3:focus { outline: none; }
.page-hero { position: relative; overflow: clip; margin-top: -76px; padding-block: calc(76px + clamp(3rem, 2rem + 4vw, 6rem)) clamp(3rem, 2rem + 4vw, 5.5rem); border-bottom: 1px solid var(--line); }
.page-hero.gridbg { background-color: var(--bg); }
.page-hero::after { content: ""; position: absolute; left: 50%; top: -40%; width: 80%; height: 90%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.14), transparent); }
.page-hero__inner { position: relative; z-index: 1; display: grid; justify-items: start; gap: var(--s-4); }
.page-hero__inner > * { max-width: 52rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-2); margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: var(--s-2); }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem); line-height: 1.05; letter-spacing: -0.035em; }
.page-hero__intro { font-size: var(--t-lg); line-height: 1.5; }
.page-hero .btn-row { margin-top: var(--s-2); }

/* Timeline */
.timeline { display: grid; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: var(--s-4); padding-bottom: var(--s-6); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: calc(1.375rem - 1px); top: 3.1rem; bottom: 0.4rem; width: 2px; background: repeating-linear-gradient(var(--green-line) 0 6px, transparent 6px 12px); }
.node { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; font-family: var(--mono); font-size: 0.95rem; color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 12px; }
.is-emergency .node { color: var(--emergency); background: var(--emergency-soft); border-color: var(--emergency-line); }
.timeline h3 { padding-top: 0.45rem; font-size: var(--t-lg); line-height: 1.3; }
.timeline p { margin-top: var(--s-2); }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); column-gap: var(--s-5); }
  .timeline li { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-4); padding-bottom: 0; }
  .timeline li:not(:last-child)::before { left: 3.5rem; right: -0.75rem; top: calc(1.375rem - 1px); bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--green-line) 0 6px, transparent 6px 12px); }
  .timeline h3 { padding-top: 0; }
}

/* Sorting lanes */
.triage { --g: var(--s-5); display: grid; }
.triage__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-3); margin-bottom: var(--s-5); }
.pillstep { display: inline-flex; align-items: center; gap: var(--s-2); padding: 11px 18px; font-size: var(--t-sm); font-weight: 600; color: var(--white); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; }
.pillstep svg { width: 18px; height: 18px; color: var(--green); }
.pillstep--aex { color: var(--green-ink); background: var(--green); border-color: var(--green); }
.pillstep--aex svg { color: var(--green-ink); }
.triage__arrow { width: 22px; height: 22px; color: var(--muted); }
.triage__split { display: none; position: relative; height: 3rem; margin-top: calc(var(--s-5) * -1); }
.triage__split::before { content: ""; position: absolute; left: calc(50% - 1px); top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
.triage__split::after { content: ""; position: absolute; top: 1.5rem; bottom: 0; left: calc((100% - 2 * var(--g)) / 6 - 1px); right: calc((100% - 2 * var(--g)) / 6 - 1px); border: 2px solid var(--line-strong); border-bottom: 0; border-radius: 14px 14px 0 0; }
.triage__lanes { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .triage__split { display: block; } .triage__lanes { grid-template-columns: repeat(var(--lanes, 3), minmax(0, 1fr)); gap: var(--g); } }
.tlane { display: grid; align-content: start; gap: var(--s-3); min-width: 0; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tlane__head { display: flex; align-items: center; gap: var(--s-3); }
.tlane__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; }
.tlane__icon svg { width: 20px; height: 20px; }
.tlane h3 { font-size: 1.25rem; line-height: 1.2; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s-1) 0 0; padding: 0; list-style: none; }
.tags li { padding: 4px 11px; font-size: 0.86rem; line-height: 1.4; color: var(--white); background: rgb(var(--overlay-rgb) / 0.03); border: 1px solid var(--line); border-radius: 999px; }
.tlane--emergency .tlane__icon { color: var(--emergency); background: var(--emergency-soft); border: 1px solid var(--emergency-line); }
.tlane--emergency .tags li { color: var(--emergency-ink); background: var(--emergency-soft); border-color: var(--emergency-line); }
.tlane--book .tlane__icon { color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); }
.tlane--book .tags li { background: var(--green-soft); border-color: var(--line-strong); }
.tlane--msg .tlane__icon { color: var(--teal); background: rgb(var(--teal-rgb) / 0.08); border: 1px solid var(--teal-line); }

/* Booked-job anatomy */
.anatomy { display: grid; gap: var(--s-6); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
@media (min-width: 900px) { .anatomy { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: center; gap: var(--s-8); padding: var(--s-7); } }
.anatomy__copy { display: grid; gap: var(--s-3); }
.anatomy__copy h2 { font-size: var(--t-xl); line-height: 1.15; }
.keylist { display: grid; gap: var(--s-3); margin-top: var(--s-3); padding: 0; list-style: none; }
.keylist li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: var(--s-3); font-size: 0.97rem; line-height: 1.45; }
.keylist strong { display: block; }
.marker { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; font-family: var(--mono); font-size: 0.72rem; color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 7px; }
.jobcard { overflow: hidden; background: var(--bg); border: 1px solid var(--green-line); border-radius: var(--r-lg); box-shadow: 0 0 60px -24px var(--green-glow); }
.jobcard__head { display: flex; justify-content: space-between; gap: var(--s-3); padding: 12px 16px; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); background: var(--green-soft); border-bottom: 1px solid var(--line); }
.jobcard__head strong { color: var(--green); font-weight: 500; }
.jobcard__row { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: var(--s-3); padding: 11px 16px; border-top: 1px solid var(--line); }
.jobcard__row:first-of-type { border-top: 0; }
.jobcard__k { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.jobcard__v { display: block; line-height: 1.4; color: var(--white); }
.jobcard .chip { margin-top: 3px; }

/* Setup timeline */
.gantt { padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
@media (min-width: 768px) { .gantt { padding: var(--s-6); } }
.gantt__head, .gantt__row { display: grid; gap: var(--s-2); }
@media (min-width: 768px) { .gantt__head, .gantt__row { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); align-items: center; gap: var(--s-5); } }
.gantt__head > span:first-child { display: none; }
@media (min-width: 768px) { .gantt__head > span:first-child { display: block; } }
.gantt__days, .gantt__track { display: grid; grid-template-columns: repeat(var(--days, 5), minmax(0, 1fr)); gap: 4px; }
.gantt__days { padding-inline: 4px; }
.gantt__days span { padding-bottom: var(--s-2); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.gantt__rows { display: grid; padding: 0; list-style: none; }
.gantt__row { padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.gantt__row:last-child { border-bottom: 0; }
.gantt__task > span { display: block; font-size: var(--t-sm); }
.gantt__task strong { display: block; }
.gantt__track { padding: 4px; background: rgb(var(--overlay-rgb) / 0.03); border-radius: 10px; }
.gantt__bar { display: flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; font-family: var(--mono); font-size: 0.7rem; border-radius: 7px; }
.gantt__bar svg { width: 14px; height: 14px; }
.gantt__bar--us { color: var(--green-ink); background: var(--green); }
.gantt__bar--you { color: var(--white); border: 1.5px solid rgb(var(--overlay-rgb) / 0.7); }
.gantt__bar--both { color: var(--green); border: 1.5px dashed var(--green); }
.gantt__bar--live { color: var(--green-ink); background: var(--green); box-shadow: 0 0 20px -2px var(--green-glow); }
.gantt__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-4); }
.gantt__foot .legend { margin-top: 0; }
.gantt__total { font-family: var(--mono); font-size: 0.8rem; }

/* Pricing */
.plans { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(min(var(--plans, 3), 4), minmax(0, 1fr)); align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--s-6) var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
@media (min-width: 768px) { .plan { padding: var(--s-6); } }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.plan__name { font-size: 1.4rem; line-height: 1.1; }
.plan__badge { padding: 3px 10px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-ink); background: var(--green); border-radius: 999px; }
.plan__for { margin-top: var(--s-2); font-size: var(--t-sm); }
.plan__price { display: flex; align-items: baseline; gap: var(--s-1); margin-top: var(--s-5); }
.plan__amount { font-size: 3.2rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.plan__period { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.plan ul { display: grid; gap: var(--s-3); margin: var(--s-5) 0 var(--s-6); padding: var(--s-5) 0 0; font-size: 0.97rem; list-style: none; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: var(--s-2); line-height: 1.45; color: var(--white); }
.plan li svg { width: 18px; height: 18px; margin-top: 2px; padding: 3px; color: var(--green); background: var(--green-soft); border-radius: 5px; }
.plan .btn { width: 100%; margin-top: auto; }
.plan--featured { background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.1), var(--surface) 55%); border-color: var(--green-line); box-shadow: 0 0 70px -28px var(--green-glow); }
.plans__note { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); font-family: var(--mono); font-size: 0.78rem; color: var(--text); }
.plans__note span { display: inline-flex; align-items: center; gap: var(--s-2); }
.plans__note svg { width: 16px; height: 16px; padding: 2px; color: var(--green); background: var(--green-soft); border-radius: 4px; }
.table-wrap { margin-top: var(--s-6); overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.compare { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.97rem; }
.compare caption { padding: var(--s-5) var(--s-5) var(--s-3); text-align: left; font-size: 1.4rem; font-weight: 600; color: var(--white); }
.compare th, .compare td { padding: 13px var(--s-5); text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.compare thead th { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: rgb(var(--overlay-rgb) / 0.02); }
.compare tbody th { font-weight: 500; color: var(--white); }
.compare td { color: var(--white); font-variant-numeric: tabular-nums; }
.compare .is-pro { background: var(--green-soft); }
.compare thead .is-pro { color: var(--green); }
.yes { display: inline-flex; }
.yes svg { width: 22px; height: 22px; padding: 3px; color: var(--green-ink); background: var(--green); border-radius: 6px; }
.no { color: var(--muted); }
.mini-faq { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .mini-faq { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: var(--s-8); align-items: start; } }
.mini-faq .head { margin-bottom: 0; }

/* Calculator */
.calc { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s-5); } }
.calc__inputs { display: grid; align-content: start; gap: var(--s-5); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
@media (min-width: 768px) { .calc__inputs { padding: var(--s-6); } }
.slider { display: grid; gap: var(--s-1); }
.slider__top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); color: var(--white); }
.slider output { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.slider input[type="range"] { --p: 50%; width: 100%; height: var(--tap); margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.slider input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(to right, var(--green) var(--p), rgb(var(--overlay-rgb) / 0.1) var(--p)); border-radius: 999px; }
.slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; background: var(--white); border: 0; border-radius: 50%; box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / 0.3), 0 0 16px var(--green-glow); }
.slider input[type="range"]::-moz-range-track { height: 6px; background: rgb(var(--overlay-rgb) / 0.1); border-radius: 999px; }
.slider input[type="range"]::-moz-range-progress { height: 6px; background: var(--green); border-radius: 999px; }
.slider input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: var(--white); border: 0; border-radius: 50%; box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / 0.3); }
.slider__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.calc__result { position: relative; overflow: hidden; display: grid; align-content: start; gap: var(--s-4); padding: var(--s-5); color: var(--text); background: radial-gradient(ellipse at 80% 0%, rgb(var(--accent-rgb) / 0.16), transparent 60%), var(--surface-2); border: 1px solid var(--green-line); border-radius: var(--r-xl); }
@media (min-width: 768px) { .calc__result { padding: var(--s-6); } }
.calc__label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); }
.calc__big { font-size: clamp(2.8rem, 2rem + 3.4vw, 4.2rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.calc__sub span { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: var(--s-4); margin-top: var(--s-2); }
.bar { display: grid; gap: 6px; }
.bar__label { display: flex; justify-content: space-between; gap: var(--s-3); font-size: var(--t-sm); }
.bar__label span:last-child { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.bar__track { height: 12px; overflow: hidden; background: rgb(var(--overlay-rgb) / 0.06); border-radius: 999px; }
.bar__fill { height: 100%; border-radius: 999px; transition: width 0.25s ease; }
.bar__fill--risk { background: var(--emergency); }
.bar__fill--pro { background: var(--green); box-shadow: 0 0 12px var(--green-glow); }
@media (prefers-reduced-motion: reduce) { .bar__fill { transition: none; } }
.calc__verdict { padding-top: var(--s-4); font-size: var(--t-md); color: var(--white); border-top: 1px solid var(--line); }
.calc__verdict strong { color: var(--green); }
.calc__math { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { display: grid; gap: var(--s-2); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color 0.2s ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 4rem; padding: var(--s-4) var(--s-5); font-size: 1.05rem; line-height: 1.35; color: var(--white); list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-q { min-width: 0; }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; color: var(--green); border: 1px solid var(--line-strong); border-radius: 10px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; border-radius: 1px; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon { color: var(--green-ink); background: var(--green); border-color: var(--green); }
.faq details[open] .faq__icon::after { display: none; }
.faq__answer { max-width: 44rem; padding: 0 var(--s-5) var(--s-5); }
.faq-tag { margin-left: auto; padding: 2px 9px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
@media (max-width: 599px) { .faq-tag { display: none; } }
.faq-tools { display: grid; gap: var(--s-4); margin-bottom: var(--s-4); }
@media (min-width: 900px) { .faq-tools { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: center; } }
.searchbox { position: relative; }
.searchbox svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.searchbox .input { padding-left: 2.8rem; }
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.filter { min-height: var(--tap); padding: 0 16px; font: inherit; font-size: var(--t-sm); font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; }
.filter:hover { color: var(--white); }
.filter[aria-pressed="true"] { color: var(--green-ink); background: var(--green); border-color: var(--green); }
.count-line { margin-bottom: var(--s-3); font-family: var(--mono); font-size: 0.76rem; color: var(--muted); }
.faq--page { max-width: 58rem; }
.empty { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-8) var(--s-5); text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-xl); }
.empty svg { width: 40px; height: 40px; color: var(--green); }
.empty h2, .empty h3 { font-size: 1.5rem; }
.empty p { max-width: 30rem; }

/* Forms */
.demo { display: grid; gap: var(--s-7); }
@media (min-width: 1024px) { .demo { grid-template-columns: minmax(0, 1fr) minmax(0, 31rem); gap: var(--s-8); align-items: start; } }
.demo .head { margin-bottom: var(--s-6); }
.next { display: grid; gap: var(--s-4); padding: 0; list-style: none; counter-reset: next; }
.next li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: var(--s-3); counter-increment: next; }
.next li::before { content: counter(next, decimal-leading-zero); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; font-family: var(--mono); font-size: 0.8rem; color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 10px; }
.next strong { display: block; }
.panel { padding: var(--s-5); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-xl); box-shadow: 0 0 80px -40px var(--green-glow); }
@media (min-width: 768px) { .panel { padding: var(--s-6); } }
.panel__title { margin-bottom: var(--s-2); font-size: 1.5rem; line-height: 1.15; }
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-1); min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { color: var(--white); font-size: 0.95rem; }
.field__hint { font-size: 0.86rem; color: var(--muted); }
.field__optional { font-weight: 400; color: var(--muted); }
.input, .select {
  display: block; width: 100%; min-height: 52px; padding: 0.75rem 1rem;
  font: inherit; font-size: 1rem; color: var(--white); background: rgb(var(--overlay-rgb) / 0.03);
  border: 1px solid rgb(var(--overlay-rgb) / 0.16); border-radius: var(--r);
}
.input::placeholder { color: var(--muted); }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.8rem; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 1.35rem) 50%, calc(100% - 1rem) 50%; background-size: 0.36rem 0.36rem; background-repeat: no-repeat; }
.select option { color: var(--white); background: var(--surface-2); }
.input:focus-visible, .select:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.2); }
.input[aria-invalid="true"] { border-color: var(--error); }
.textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.field__error { font-size: var(--t-sm); font-weight: 600; color: var(--error); }
.chips { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-1); }
.chip-opt { position: relative; font-weight: 400; cursor: pointer; }
.chip-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip-opt span { display: grid; place-items: center; gap: 1px; min-height: 56px; padding: 6px 4px; font-size: var(--t-sm); font-weight: 600; line-height: 1.2; text-align: center; color: var(--white); border: 1px solid rgb(var(--overlay-rgb) / 0.16); border-radius: var(--r); }
.chip-opt small { font-family: var(--mono); font-size: 0.68rem; font-weight: 400; color: var(--muted); }
.chip-opt input:checked + span { background: var(--green-soft); border-color: var(--green); }
.chip-opt input:checked + span small { color: var(--green); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: var(--s-3); padding-block: var(--s-1); font-size: 0.86rem; font-weight: 400; line-height: 1.55; color: var(--text); cursor: pointer; }
.consent input { flex: none; width: 1.3rem; height: 1.3rem; margin: 0.12rem 0 0; accent-color: var(--green); cursor: pointer; }
.consent-error { margin-left: calc(1.3rem + var(--s-3)); }
.form-status { font-size: var(--t-sm); font-weight: 600; color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success { display: grid; gap: var(--s-4); }
.success__icon { display: grid; place-items: center; width: 54px; height: 54px; color: var(--green-ink); background: var(--green); border-radius: 50%; box-shadow: 0 0 34px var(--green-glow); }
.success__icon svg { width: 26px; height: 26px; }
.success h2, .success h3 { font-size: var(--t-xl); line-height: 1.15; }
.summary { display: grid; gap: var(--s-2); padding: var(--s-4); background: rgb(var(--overlay-rgb) / 0.03); border: 1px solid var(--line); border-radius: var(--r); }
.summary > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s-3); }
.summary dt { font-family: var(--mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.summary dd { color: var(--white); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.success__preview { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }
.saved-note a { font-weight: 600; }

/* Custom AI */
.services { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service { display: grid; align-content: start; gap: var(--s-3); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); transition: border-color 0.2s ease; }
@media (min-width: 768px) { .service { padding: var(--s-6); } }
.service:hover { border-color: var(--green-line); }
.service__icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 14px; }
.service__icon svg { width: 21px; height: 21px; }
.service h3 { font-size: 1.3rem; line-height: 1.2; }

/* Privacy */
.prose { display: grid; gap: var(--s-4); max-width: 46rem; }
.prose h2 { margin-top: var(--s-4); font-size: 1.45rem; line-height: 1.2; }
.prose ul { display: grid; gap: var(--s-2); margin: 0; padding-left: 1.25rem; }
.prose li::marker { color: var(--green); }
.callout { display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5); color: var(--white); background: var(--green-soft); border: 1px solid var(--green-line); border-radius: var(--r-lg); }
.callout svg { width: 20px; height: 20px; margin-top: 3px; color: var(--green); }

/* ================= POLISH PASS ================= */
/* Cursor spotlight on cards (fine pointers only; JS sets --mx/--my) */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgb(var(--accent-rgb) / 0.12), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease;
}
.spot:hover::after { opacity: 1; }
.scard.spot::after { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), var(--tint-bg), transparent 60%); }

/* Header scroll progress */
@supports (animation-timeline: scroll()) {
  .site-header__bar::after {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.2), var(--green));
    transform-origin: left center; transform: scaleX(0); opacity: 0; transition: opacity 0.3s ease;
    animation: header-progress linear both; animation-timeline: scroll(root);
  }
  .site-header.is-scrolled .site-header__bar::after { opacity: 1; }
}
@keyframes header-progress { to { transform: scaleX(1); } }

/* Sections ease in as they scroll into view (scroll-driven, never hidden at rest) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section .head, .system__copy, .fork, .coverage, .scard__body, .trades, .tabs-card, .explore,
    .plans, .table-wrap, .calc, .timeline, .triage, .anatomy, .gantt, .services, .band__inner {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%;
    }
  }
}
@keyframes rise { from { opacity: 0.45; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Ringing pulse on the call icon while a call plays */
@media (prefers-reduced-motion: no-preference) {
  .is-live .sim-scene.is-active .callbar__icon, .is-speaking .sim-scene.is-active .callbar__icon { animation: ring 1.6s ease-out infinite; }
}
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.55); } 100% { box-shadow: 0 0 0 14px rgb(var(--accent-rgb) / 0); } }

/* Trades */
.trades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
@media (min-width: 768px) { .trades { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trade a, .trade__box {
  display: grid; justify-items: start; gap: var(--s-2); height: 100%; padding: var(--s-5);
  color: var(--white); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color 0.2s ease;
}
.trade a:hover { color: var(--white); border-color: var(--line-strong); }
.trade__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: var(--s-2); color: var(--text); background: rgb(var(--overlay-rgb) / 0.03); border: 1px solid var(--line-strong); border-radius: 14px; }
.trade__icon svg { width: 21px; height: 21px; }
.trade__name { font-size: 1.15rem; font-weight: 600; }
.trade__status { padding: 2px 10px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; }
.trade.is-ready a, .trade.is-ready .trade__box { background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.1), var(--surface) 70%); border-color: var(--green-line); }
.trade.is-ready .trade__icon { color: var(--green); background: var(--green-soft); border-color: var(--green-line); }
.trade.is-ready .trade__status { color: var(--green-ink); background: var(--green); border-color: var(--green); }

/* Quick "call me" box in the closing band */
.quick { display: flex; gap: 6px; width: min(100%, 30rem); padding: 6px; background: rgb(var(--overlay-rgb) / 0.04); border: 1px solid var(--line-strong); border-radius: 999px; }
.quick:focus-within { border-color: var(--green-line); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.14); }
.quick__input { flex: 1 1 auto; width: 0; min-width: 0; min-height: 48px; padding: 0 1.1rem; font: inherit; font-size: 1rem; color: var(--white); background: transparent; border: 0; border-radius: 999px; }
.quick__input::placeholder { color: var(--muted); }
.quick__input:focus { outline: none; }
.quick .btn { min-height: 48px; padding: 0 1.3rem; white-space: nowrap; }
.quick__error { font-size: var(--t-sm); font-weight: 600; color: var(--error); }
.quick__note { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.prefill-note { display: flex; gap: var(--s-2); align-items: flex-start; padding: var(--s-3) var(--s-4); font-size: 0.9rem; color: var(--white); background: var(--green-soft); border: 1px solid var(--green-line); border-radius: var(--r); }
.prefill-note svg { width: 18px; height: 18px; margin-top: 2px; color: var(--green); }

/* Smaller card art on phones */
@media (max-width: 899px) { .scard__media { min-height: 11rem; padding: var(--s-5); } }
.mobile-cta { transition: transform 0.25s ease, opacity 0.25s ease; }
.mobile-cta.is-tucked { transform: translateY(110%); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* ================= ALIGNMENT FIXES ================= */
/* Icons and markers line up with the first line of text, even when the text wraps */
.icon-list li { align-items: flex-start; }
.icon-list svg { margin-top: calc((1.65em - 18px) / 2); }
.faq summary { align-items: flex-start; min-height: 0; padding-block: 1.2rem; }
.faq__icon { margin-top: calc((1.35em - 32px) / 2); }
.faq-tag { margin-top: calc((1.05rem * 1.35 - 0.64rem * 1.35 - 6px) / 2); }
.next li::before { margin-top: calc((var(--t-base) * 1.65 - 2.4rem) / 2); }
.keylist .marker { margin-top: calc((0.97rem * 1.45 - 1.6rem) / 2); }
.jobcard__row { align-items: center; }
.ocard > svg { margin-top: calc((0.84rem * 1.4 - 17px) / 2); }
.callout svg { margin-top: calc((var(--t-base) * 1.65 - 20px) / 2); }
.prefill-note svg { margin-top: calc((0.9rem * 1.65 - 18px) / 2); }
.consent input { margin-top: calc((0.86rem * 1.55 - 1.3rem) / 2); }

/* Phone call bar: title and status stay on one line */
.callbar > div:not(.callbar__icon) { min-width: 0; flex: 1 1 auto; }
.callbar__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.callbar__meta { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
.callbar__meta > span:not(.live-dot) { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) { .wave { display: none !important; } }

/* Comfortable tap targets */
.footer__links a { min-height: var(--tap); }

/* Setup chart bars never spill out of narrow day columns */
.gantt__bar { min-width: 0; overflow: hidden; white-space: nowrap; }
@media (max-width: 480px) { .gantt__bar { padding: 0 6px; } .gantt__bar svg { display: none; } }
.consent input { margin-top: calc((0.86rem * 1.55 - 1.3rem) / 2 + 1px); }
/* Footer brand column: keep the button its natural height */
.footer__brand { align-content: start; align-items: start; }
/* Labels that must stay on one line on small phones */
.trade__status { white-space: nowrap; }
@media (max-width: 420px) {
  .trade a { padding: 1.1rem; }
  .trade__status { letter-spacing: 0.1em; }
  .scard__meta { gap: var(--s-2); letter-spacing: 0.16em; }
  .scard__meta i { width: 1.5rem; }
}

/* =====================================================================
   WORDPRESS LAYER
   ===================================================================== */

/* Admin toolbar offsets for the sticky header and anchor jumps */
@media screen and (min-width: 783px) { body.admin-bar { --adminbar: 32px; } }
@media screen and (min-width: 601px) and (max-width: 782px) { body.admin-bar { --adminbar: 46px; } }
[data-section], .entry, #comments, #respond { scroll-margin-top: calc(96px + var(--adminbar)); }
.site-nav { padding-top: calc(env(safe-area-inset-top, 0px) + 140px + var(--adminbar)); }
@media (min-width: 1024px) { .site-nav { padding-top: 0; } }
html.nav-open { overflow: hidden; }

/* Accessibility helpers WordPress expects */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; word-wrap: normal !important; }
.screen-reader-text:focus { z-index: 100; top: 5px; left: 5px; width: auto; height: auto; padding: 15px 23px 14px; clip: auto; color: var(--green-ink); background: var(--green); border-radius: var(--r-sm); }
.skip-link:focus-visible { outline-color: var(--white); }

/* Better defaults */
[hidden] { display: none !important; }
html { text-rendering: optimizeLegibility; }
img, video, iframe { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
p { overflow-wrap: break-word; }
.btn:active { transform: translateY(1px); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.section .head:last-child { margin-bottom: 0; }
.notice[hidden] { display: none; }
.hero__logo img { display: block; width: auto; max-width: min(80vw, 28rem); max-height: 10rem; }
.demo__note { margin-top: var(--s-6); }
.lede + .link-arrow, .head + .link-arrow { margin-top: var(--s-2); }
.trades + .link-arrow { margin-top: 0; }
.post-grid__more { margin-top: var(--s-5); }
.scard__img { width: 100%; height: 100%; max-height: 18rem; object-fit: cover; border-radius: var(--r-lg); }
.band__ctas { justify-content: center; }
.band .link-arrow { justify-content: center; }
.hero h1, .hero h2 { max-width: 22ch; }
.mini-sms em { font-weight: 600; color: var(--emergency); }
.footer__bottom p { gap: 0.35em; }

/* FAQ intro beside the questions */
.faq-intro { display: grid; align-content: start; gap: var(--s-4); }
.faq-intro .head { margin-bottom: 0; }
.faq-body > .link-arrow { margin-top: var(--s-5); }
.wrap:not(.mini-faq) > .faq-intro { margin-bottom: var(--s-7); }

/* Header menu from wp_nav_menu */
.site-nav .menu { display: grid; }
.site-nav .menu li { margin: 0; }
@media (min-width: 1024px) {
  .site-nav .menu { display: flex; gap: 2px; }
}

/* Footer columns */
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(10rem, 1fr)); } }
.footer__col { min-width: 0; }
.footer__contact { display: grid; gap: var(--s-2); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.footer__contact li { display: flex; align-items: flex-start; gap: var(--s-2); line-height: 1.5; }
.footer__contact .icon { width: 16px; height: 16px; margin-top: calc((1.5em - 16px) / 2); color: var(--green); }
.footer__contact a { color: var(--white); text-decoration: none; }
.footer__contact a:hover { color: var(--green); }
.footer__links li { margin: 0; }

/* WordPress core content classes */
.alignleft { float: left; margin: 0.4em 1.5em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption, .wp-element-caption { margin-top: var(--s-2); font-size: var(--t-sm); color: var(--muted); text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: var(--s-3); }
.gallery-item { margin: 0; }
.sticky .post-card__title::before { content: "★ "; color: var(--green); }
.bypostauthor > .comment-body .fn::after { content: " ·"; color: var(--green); }

/* =====================================================================
   PROSE (pages, posts, policy text)
   ===================================================================== */
.prose { color: var(--text); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: var(--s-6); font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem); line-height: 1.2; }
.prose h3 { margin-top: var(--s-5); font-size: 1.3rem; line-height: 1.3; }
.prose h4 { margin-top: var(--s-5); font-size: 1.1rem; }
.prose h2:first-child, .prose h3:first-child, .prose .callout + h2 { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table, .prose pre { margin: 0; }
.prose ol { display: grid; gap: var(--s-2); padding-left: 1.4rem; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--green); text-decoration: underline; text-decoration-color: rgb(var(--accent-rgb) / 0.45); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--white); }
.prose blockquote, .prose .wp-block-quote { padding: var(--s-4) var(--s-5); color: var(--white); background: var(--surface); border-left: 3px solid var(--green); border-radius: 0 var(--r) var(--r) 0; }
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: var(--s-2); font-size: var(--t-sm); font-style: normal; color: var(--muted); }
.prose code, .prose kbd { padding: 0.1em 0.4em; font-family: var(--mono); font-size: 0.88em; color: var(--white); background: rgb(var(--overlay-rgb) / 0.06); border-radius: 6px; }
.prose pre { overflow-x: auto; padding: var(--s-4); font-family: var(--mono); font-size: 0.88rem; line-height: 1.6; color: var(--white); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.prose pre code { padding: 0; background: none; }
.prose hr, .prose .wp-block-separator { height: 0; margin-block: var(--s-6); border: 0; border-top: 1px solid var(--line-strong); }
.prose img { border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { color: var(--white); }
.prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem; font-weight: 600; color: var(--green-ink); text-decoration: none; background: var(--green); border-radius: 999px; }
.prose .wp-block-button.is-style-outline .wp-block-button__link { color: var(--green); background: transparent; border: 1px solid var(--green-line); }
.prose .wp-block-image, .prose .wp-block-embed { margin-block: var(--s-5); }
.prose .wp-block-pullquote { padding: var(--s-5) 0; text-align: center; border-block: 1px solid var(--line-strong); }
.prose .has-accent-color { color: var(--green); }
.prose .has-alert-color { color: var(--emergency); }
.prose .has-teal-color { color: var(--teal); }
.prose .has-heading-color { color: var(--white); }
.prose .has-text-color.has-text-color { color: inherit; }
.prose .has-accent-background-color { background-color: var(--green); color: var(--green-ink); }
.prose .has-surface-background-color { background-color: var(--surface); }
.page-links { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6) !important; font-family: var(--mono); font-size: 0.8rem; }
.entry__content.prose { max-width: 46rem; margin-inline: auto; }
.entry__content > .alignwide { max-width: 64rem; margin-inline: calc((46rem - 64rem) / 2); }
@media (max-width: 1100px) { .entry__content > .alignwide { margin-inline: 0; } }

/* =====================================================================
   BLOG
   ===================================================================== */
.post-grid { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); transition: border-color 0.2s ease, transform 0.2s ease; }
.post-card:hover { border-color: var(--green-line); }
@media (prefers-reduced-motion: no-preference) { .post-card:hover { transform: translateY(-2px); } }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
@media (prefers-reduced-motion: no-preference) { .post-card:hover .post-card__media img { transform: scale(1.03); } }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: rgb(var(--accent-rgb) / 0.25); background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.14), transparent); }
.post-card__placeholder svg { width: 40%; height: auto; }
.post-card__body { display: flex; flex: 1; flex-direction: column; gap: var(--s-3); padding: var(--s-5); }
.post-card__cat { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); }
.post-card__title { font-size: 1.25rem; line-height: 1.3; }
.post-card__title a { color: var(--white); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.post-card__title a:focus-visible { outline: none; }
.post-card:focus-within { outline: 2px solid var(--green); outline-offset: 3px; }
.post-card__excerpt { color: var(--text); }
.post-card__excerpt p { margin: 0; }
.post-card .post-meta { margin-top: auto; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }
.entry__hero .post-meta { font-size: 0.8rem; }
.entry__hero .eyebrow a { color: inherit; text-decoration: none; }
.entry__title { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; }
.entry__media { max-width: 64rem; margin: 0 auto var(--s-7); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); }
.entry__media img { display: block; width: 100%; }
.entry__tags { max-width: 46rem; margin: var(--s-6) auto 0; }
.entry__tags a { color: inherit; text-decoration: none; }

.pagination, .post-nav, .comments, .search-again { max-width: 46rem; margin-inline: auto; }
.pagination { margin-top: var(--s-7); max-width: none; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.pagination .page-numbers { display: grid; place-items: center; min-width: var(--tap); min-height: var(--tap); padding: 0 14px; font-weight: 600; color: var(--white); text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; }
.pagination .page-numbers.current { color: var(--green-ink); background: var(--green); border-color: var(--green); }
.pagination a.page-numbers:hover { border-color: var(--green-line); color: var(--green); }
.post-nav { margin-top: var(--s-7); }
.post-nav .nav-links { display: grid; gap: var(--s-3); }
@media (min-width: 700px) { .post-nav .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-nav .nav-next { text-align: right; grid-column: 2; } }
.post-nav a { display: grid; gap: 2px; height: 100%; padding: var(--s-4) var(--s-5); color: var(--white); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.post-nav a:hover { border-color: var(--green-line); }
.post-nav .nav-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
.post-nav .nav-title { font-weight: 600; line-height: 1.35; }

/* Search form */
.search-form { display: flex; flex-wrap: wrap; gap: var(--s-2); width: 100%; max-width: 34rem; }
.search-form .searchbox { flex: 1 1 14rem; }
.search-form .btn { min-height: 52px; }
.search-again { margin-bottom: var(--s-6); }
.not-found .search-again { margin: var(--s-2) 0 0; }

/* Comments */
.comments { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.comments__title, .comment-reply-title { font-size: var(--t-xl); line-height: 1.2; }
.comment-list, .comment-list .children { margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.comment-list .children { margin-left: var(--s-5); padding-left: var(--s-4); border-left: 1px solid var(--line); }
.comment-body { margin-bottom: var(--s-4); padding: var(--s-4) var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-3); font-size: var(--t-sm); }
.comment-author { display: flex; align-items: center; gap: var(--s-3); color: var(--white); }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata a { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); text-decoration: none; }
.comment-content p + p { margin-top: var(--s-3); }
.reply { margin-top: var(--s-3); }
.comment-reply-link { font-weight: 600; text-decoration: none; }
.comment-respond { margin-top: var(--s-6); }
.comment-form { display: grid; gap: var(--s-4); margin-top: var(--s-4); }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: var(--s-1); font-weight: 600; color: var(--white); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { display: block; width: 100%; min-height: 52px; padding: 0.75rem 1rem; color: var(--white); background: rgb(var(--overlay-rgb) / 0.03); border: 1px solid rgb(var(--overlay-rgb) / 0.16); border-radius: var(--r); }
.comment-form textarea { min-height: 9rem; }
.comment-form input:focus-visible, .comment-form textarea:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.2); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: var(--s-2); font-size: var(--t-sm); }
.comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 400; color: var(--text); }
.comment-form-cookies-consent input { margin-top: 0.3em; accent-color: var(--green); }
.comment-notes, .logged-in-as { font-size: var(--t-sm); color: var(--muted); }
.no-comments { margin-top: var(--s-4); color: var(--muted); }

/* =====================================================================
   POLISH
   ===================================================================== */
/* Prefilled-number note above the demo form */
.form .prefill-note { margin-bottom: 0; }
/* Required fields read clearly in forced-colors / high-contrast modes */
@media (forced-colors: active) {
  .btn, .filter, .seg button, .seg2 [role="tab"], .chip-opt span, .quick { border: 1px solid ButtonText; }
  .week__cell.is-on, .sw--on, .gantt__bar--us, .gantt__bar--live, .lane__end--won { forced-color-adjust: none; background: Highlight; }
  .wordmark { forced-color-adjust: none; background: CanvasText; }
  .spot::after, .hero::before, .hero::after, .rings, .stars { display: none; }
}
/* Print: content only */
@media print {
  .site-header, .notice, .mobile-cta, .footer__mark, .stars, .rings, .band .quick, .stage__foot, .menu-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  h1, h2, h3, strong, .lede, .prose { color: #000 !important; }
  a { color: #000; }
}

/* Plans followed by their comparison table read as one block */
[data-section="plans"]:not(.section--soft) + [data-section="compare"]:not(.section--soft) { padding-top: 0; }
[data-section="compare"] .table-wrap { margin-top: 0; }

/* Missed-call calculator: closing note and button */
.calc__cta { display: grid; gap: var(--s-4); justify-items: start; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.calc__note { font-size: var(--t-md); color: var(--white); }

/* Booking calendar (Cal.com) */
.booking__intro { display: grid; gap: var(--s-5); margin-bottom: var(--s-6); }
.booking__intro .head { margin-bottom: 0; }
@media (min-width: 960px) {
  .booking__intro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-8); align-items: end; }
}
.booking__points { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.booking__points li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: var(--s-3); align-items: start; color: var(--white); }
.booking__points .icon { width: 1.75rem; height: 1.75rem; padding: 0.35rem; color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 8px; }
.booking__frame { position: relative; min-height: 34rem; overflow: hidden; border: 1px solid var(--green-line); border-radius: var(--r-xl); box-shadow: 0 0 0 6px rgb(var(--accent-rgb) / 0.05), 0 30px 90px -50px var(--green-glow); }
.booking__frame--light { background: #ffffff; }
.booking__frame--dark { background: var(--surface); }
.booking__frame.is-ready { min-height: 0; }
.booking__cal { position: relative; width: 100%; min-height: inherit; overflow: auto; }
.booking__loading { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: var(--s-4); padding: var(--s-6); text-align: center; color: var(--text); background: var(--surface); }
.booking__frame--light .booking__loading { color: #3d4636; background: #ffffff; }
.booking__frame--light .booking__loading .btn--outline { color: #2f5300; background: #f4fbe6; border-color: #b9d98a; }
.booking__spinner { width: 2.5rem; height: 2.5rem; border: 3px solid rgb(var(--accent-rgb) / 0.25); border-top-color: var(--green); border-radius: 50%; animation: booking-spin 0.9s linear infinite; }
.booking__frame--light .booking__spinner { border-color: #dfe8d2; border-top-color: #5c9e00; }
.booking__frame.is-slow .booking__spinner { display: none; }
@keyframes booking-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .booking__spinner { animation-duration: 2.4s; } }
.booking__direct { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--muted); text-align: center; }
.booking__note { margin-top: var(--s-5); text-align: center; }
.booking__empty { padding: var(--s-5); color: var(--white); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
@media (min-width: 768px) { .booking__frame { min-height: 40rem; } }
@media print { .booking__frame { display: none; } }

/* Steps: titles line up across columns whatever the text length */
.timeline li { align-content: start; }

/* Phones and tablets: the booking button sits in the header (the sticky bottom bar is off) */
@media (max-width: 1023.98px) {
  .site-header__bar { gap: 10px; }
  .site-header__cta { display: inline-flex; margin-left: auto; min-height: 44px; padding: 0 0.95rem; font-size: 0.84rem; white-space: nowrap; }
  .site-header__cta .arr { display: none; }
  .site-header__cta + .menu-toggle { margin-left: 0; }
}
@media (max-width: 420px) { .site-header .logo__tag { display: none; } }
@media (max-width: 359.98px) {
  .site-header__cta { display: none; }
  .site-header__cta + .menu-toggle { margin-left: auto; }
}

/* =====================================================================
   SEAMLESS SECTIONS: glows, stars, rings and tinted bands fade out
   before a section ends, so one section flows into the next.
   ===================================================================== */
.hero::after { top: 28%; bottom: 0; height: auto; width: min(92%, 72rem); background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.15), rgb(var(--accent-rgb) / 0.05) 55%, transparent); }
.stars { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%); mask-image: linear-gradient(180deg, #000 55%, transparent 96%); }
.rings { inset: 0 -20%; -webkit-mask-image: radial-gradient(ellipse 46% 44% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 46% 44% at 50% 50%, #000 30%, transparent 100%); }
.section--soft {
  --fade: clamp(3rem, 2rem + 5vw, 7rem);
  border-block: 0;
  background: linear-gradient(180deg, rgb(var(--bg-rgb) / 0), var(--bg-2) var(--fade), var(--bg-2) calc(100% - var(--fade)), rgb(var(--bg-rgb) / 0));
}
.band { border-top: 0; background: radial-gradient(ellipse 60% 55% at 50% 60%, rgb(var(--accent-rgb) / 0.16), transparent 70%), var(--bg); }
.page-hero, .simple-hero { border-bottom: 0; }

/* Call desk: heading first, then the phone, then the feature tiles (phones and tablets) */
.system__head { display: grid; gap: var(--s-4); }
@media (max-width: 1023.98px) {
  .system__grid { gap: var(--s-6); }
  .system__copy { display: contents; }
  .system__head { order: 1; }
  .stage-wrap { order: 2; }
  .pillars { order: 3; }
  .feed { order: 4; }
}
/* Inner page openers: the grid fades into the page instead of stopping at a line */
.page-hero.gridbg {
  background-image:
    linear-gradient(180deg, rgb(var(--bg-rgb) / 0) 45%, var(--bg) 100%),
    linear-gradient(rgb(var(--line-rgb) / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--line-rgb) / 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  background-position: center, center top, center top;
}

/* Anchor targets and focused fields stop below the floating header */
main :is(input, select, textarea, button, a, summary, [tabindex]) { scroll-margin-top: calc(110px + var(--adminbar)); scroll-margin-bottom: 24px; }
html.nav-open .site-header .site-header__bar::after { opacity: 0; }
/* Open menu: link text lines up with the logo, the current-page dot with the close button */
@media (max-width: 1023.98px) { .site-nav a:not(.btn) { padding-inline: 22px 20px; } }

/* Tighter rhythm right under page openers */
.page-hero + .section, .page-hero + .system { padding-top: clamp(1.75rem, 0.75rem + 3vw, 3.75rem); }
.page-hero { padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

/* Breadcrumbs stay on one line; a long page title is shortened with an ellipsis */
.crumbs { flex-wrap: nowrap; min-width: 0; max-width: 100%; }
.crumbs li { flex: none; }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; }
.crumbs li:last-child span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Comparison table: the feature column stays put while the plans scroll sideways on phones */
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.compare thead th:first-child { background: color-mix(in srgb, var(--surface) 96%, var(--white)); }
@media (max-width: 719.98px) {
  .compare tbody th, .compare thead th:first-child { min-width: 9.5rem; max-width: 11rem; box-shadow: 1px 0 0 var(--line); }
  .compare th, .compare td { padding-inline: var(--s-4); }
}
.table-hint { display: none; margin-top: var(--s-3); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); text-align: center; }
@media (max-width: 719.98px) { .table-hint { display: block; } }

/* The missed-call fork reads as one centred diagram, heading included */
[data-section="fork"] .head { margin-inline: auto; text-align: center; justify-items: center; }
[data-section="fork"] .head .lede { margin-inline: auto; }

/* Search results: the search box lines up with the heading and the results */
.search .section .search-again { max-width: none; margin-inline: 0; }
/* A slightly denser glass header stays readable over light content such as the booking calendar */
:root { --glass: rgb(var(--bg-rgb) / 0.9); }
