/* Tosetto Technology & Cybersecurity Advisory
   Modern professional system: slate navy + ocean blue (B2B service palette),
   Geist type, deep-navy hero and page headers, white cards on a cool background.
   The hero's 90-day plan stays the signature element. */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --ink: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --border: #e2e8f0;
  --action: #0369a1;
  --action-hover: #075985;
  --action-soft: #e0f2fe;

  /* Dark bands (header, hero, page heads, closing, footer) */
  --night: #0b1324;
  --night-line: rgba(148, 163, 184, 0.18);
  --night-text: #f1f5f9;
  --night-muted: #a5b4c8;
  --glow: #38bdf8;

  --font: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.85rem, 3vw, 2.6rem);
  --fs-xl: clamp(2.5rem, 5.2vw, 4.1rem);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 30px 60px -30px rgba(2, 8, 23, 0.55);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(72px, 9vw, 120px);
  --measure: 66ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1324;
    --surface: #111c33;
    --surface-2: #16223c;
    --ink: #e8eef6;
    --muted: #a5b4c8;
    --subtle: #8796ab;
    --border: #22304a;
    --action: #38bdf8;
    --action-hover: #7dd3fc;
    --action-soft: #0c2a40;
    --night: #070d1a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--fs-xl); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-lg); line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
ul { margin: 0; }
svg { flex: none; }

a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--action); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Masthead (dark, sticky) ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 19, 36, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--night-line);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.wordmark { display: flex; align-items: center; gap: 12px; color: var(--night-text); text-decoration: none; line-height: 1.15; }
.wordmark:hover { color: var(--night-text); }
.wordmark-mark { width: 40px; height: 40px; display: block; flex: none; }
.wordmark-text { display: grid; }
.wordmark-text b { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.wordmark-text span { font-size: 0.76rem; color: var(--night-muted); }

.nav ul { list-style: none; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--night-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: color 150ms ease, background-color 150ms ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav li.nav-cta { margin-left: 12px; }
.nav .nav-cta a { display: inline-flex; padding: 0 18px; color: #fff; background: #0369a1; }
.nav .nav-cta a:hover { background: #0284c7; color: #fff; }

.nav-toggle {
  display: none; min-height: 44px; padding: 0 16px; font: inherit; font-weight: 500;
  background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid var(--night-line); border-radius: 10px; cursor: pointer;
}

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 14px 12px; }
  .nav li.nav-cta { margin: 12px 0 0; }
  .nav .nav-cta a { display: flex; justify-content: center; }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 10px;
  background: var(--action); color: #fff; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(2, 8, 23, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.button:hover { background: var(--action-hover); color: #fff; }
.button:active { transform: translateY(1px); }
.button--quiet { background: transparent; color: var(--ink); border-color: var(--border); box-shadow: none; }
.button--quiet:hover { background: var(--surface-2); color: var(--ink); }
.button--small { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
@media (prefers-color-scheme: dark) {
  .button:not(.button--quiet), .button:not(.button--quiet):hover { color: #04121f; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Dark bands: hero + page heads ---------- */
.hero, .page-head {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night); color: var(--night-text);
}
.hero::before, .page-head::before {
  /* fine engineering grid that fades out */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--night-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
}
.hero::after, .page-head::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -320px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.28), transparent 62%);
  pointer-events: none;
}
.hero h1, .page-head h1 { color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.25);
  color: #bae6fd; font-size: var(--fs-sm); font-weight: 500;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2); }

.lede { font-size: var(--fs-md); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.hero .lede, .page-head .lede { color: var(--night-muted); }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 24px; }
.hero .button--quiet { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.hero .button--quiet:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } }

.badges-label { font-size: var(--fs-sm); color: var(--night-muted); margin: 44px 0 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 12px; }
.badges li {
  padding: 5px 12px; border-radius: 999px; font-size: 0.84rem; font-weight: 500;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--night-line); color: #cbd5e1;
}

/* The 90-day plan card (always light, like a printed deliverable) */
.plan {
  margin: 0; background: #ffffff; color: #0f172a; border-radius: var(--radius-lg);
  padding: 28px clamp(20px, 3vw, 32px) 24px; font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #e2e8f0; }
.plan-head h2 { color: #0f172a; font-size: 1.2rem; letter-spacing: -0.015em; }
.plan-head p {
  margin: 0; font-size: 0.78rem; font-weight: 600; color: #0369a1; background: #e0f2fe;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.plan-phase { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid #eef2f6; }
.plan-phase:last-of-type { border-bottom: 0; }
.plan-days { font-weight: 600; font-size: 0.98rem; line-height: 1.3; color: #0f172a; }
.plan-days small { display: block; font-weight: 400; font-size: 0.82rem; color: #64748b; margin-top: 2px; }
.plan-items { list-style: none; padding: 0; display: grid; gap: 10px; }
.plan-items li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; font-size: 0.93rem; line-height: 1.4; color: #1e293b; }
.prio {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; color: #475569; background: #f1f5f9; white-space: nowrap;
}
.prio::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; }
.prio--high { color: #92400e; background: #fef3c7; }
.prio--high::before { background: #d97706; }
.plan-note { font-size: 0.8rem; color: #64748b; margin-top: 8px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
@media (max-width: 480px) {
  .plan-phase { grid-template-columns: 1fr; gap: 8px; }
  .plan-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 981px) {
  .plan { animation: plan-rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .plan-phase { animation: plan-in 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .plan-phase:nth-of-type(1) { animation-delay: 250ms; }
  .plan-phase:nth-of-type(2) { animation-delay: 400ms; }
  .plan-phase:nth-of-type(3) { animation-delay: 550ms; }
  @keyframes plan-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes plan-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- Stats bar ---------- */
.proofbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.proofbar .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 34px 28px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; color: var(--ink); }
.stat span { display: block; margin-top: 6px; font-size: 0.92rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 820px) {
  .proofbar .wrap { grid-template-columns: 1fr; }
  .stat { padding: 24px 16px; }
  .stat b { font-size: 1.6rem; white-space: nowrap; }
  .stat { border-left: 0; padding-left: 0; }
  .stat + .stat { border-top: 1px solid var(--border); }
}

/* ---------- Bands ---------- */
.band { padding-block: var(--band); }
.band--surface { background: var(--surface); border-block: 1px solid var(--border); }
.band-head { max-width: 680px; margin-bottom: 48px; }
.band-head p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.split > header p { color: var(--muted); margin-top: 16px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
a.card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
a.card:hover { border-color: color-mix(in srgb, var(--action) 45%, var(--border)); box-shadow: var(--shadow); color: inherit; }
.card p { color: var(--muted); }
.card h3 { margin-bottom: 8px; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--action-soft); color: var(--action);
}
.icon svg { width: 22px; height: 22px; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--action); font-size: 0.95rem; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-grid .card--feature {
  grid-row: span 2; background: var(--night); border-color: var(--night); color: var(--night-text);
  position: relative; overflow: hidden; isolation: isolate;
}
.service-grid .card--feature::after {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; bottom: -200px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.32), transparent 65%);
}
.card--feature h3 { color: #fff; font-size: 1.5rem; letter-spacing: -0.02em; }
.card--feature p { color: var(--night-muted); }
.card--feature .icon { background: rgba(56, 189, 248, 0.14); color: #7dd3fc; }
.card--feature .ticks { margin-top: 20px; }
.card--feature .ticks li { color: var(--night-text); }
.card--feature .more { color: #7dd3fc; }
a.card--feature:hover { border-color: rgba(56, 189, 248, 0.5); }
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } .service-grid .card--feature { grid-row: auto; } }

/* Lists with check marks */
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--action-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%230369a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
@media (prefers-color-scheme: dark) {
  .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
.card--feature .ticks li::before { background-color: rgba(56, 189, 248, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%237dd3fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.terms li { padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font-size: 0.84rem; font-weight: 500; }

/* ---------- Engagement path ---------- */
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.path-step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.band--surface .path-step { background: var(--bg); }
.path-step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 20px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 0.95rem;
}
.path-step:first-child { border-color: color-mix(in srgb, var(--action) 50%, var(--border)); box-shadow: 0 0 0 4px var(--action-soft); }
.path-step:first-child::before { background: var(--action); color: #fff; }
.path-step .when { font-size: 0.82rem; font-weight: 600; color: var(--action); margin-bottom: 6px; }
.path-step h3 { margin-bottom: 10px; }
.path-step p { color: var(--muted); }
@media (max-width: 880px) { .path { grid-template-columns: 1fr; } }

/* ---------- Case notes ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.band--surface .case { background: var(--bg); }
.case .context {
  display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--action);
  background: var(--action-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}
.case h3 { margin-bottom: 8px; }
.case p { color: var(--muted); }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audience { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.audience h3 { font-size: 1.3rem; margin-bottom: 10px; }
.audience p { color: var(--muted); }
.audience .terms { margin: 0 0 18px; }
@media (max-width: 760px) { .audience-grid { grid-template-columns: 1fr; } }

.signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
@media (max-width: 700px) { .signs { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.page-head { padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px); }
.page-head h1 { max-width: 20ch; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.page-head .lede { margin-top: 20px; max-width: 54ch; }

/* ---------- About ---------- */
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); display: grid; place-items: center; text-align: center;
  background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px dashed var(--border);
  color: var(--subtle); font-size: var(--fs-sm); padding: 20px;
}
.prose h2 { margin-bottom: 24px; }
.prose h3 { margin: 40px 0 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
.facts > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.facts dt { font-weight: 600; margin-bottom: 8px; }
.facts dd { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }
.edu { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface-2); color: var(--muted); max-width: none; }
.edu svg { width: 22px; height: 22px; color: var(--action); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
.contact form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 500; font-size: 0.93rem; margin-bottom: 8px; }
.field .hint { font-size: var(--fs-sm); color: var(--subtle); margin: 8px 0 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 4px var(--action-soft); }
.contact form .button { width: 100%; }
.form-status { margin-top: 16px; font-weight: 500; color: var(--action); }
.aside-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.aside-block + .aside-block { margin-top: 20px; }
.aside-block h2 { font-size: 1.2rem; letter-spacing: -0.015em; margin-bottom: 16px; }
.aside-block p { color: var(--muted); }

/* ---------- Closing call to action ---------- */
.closing { padding-block: 0 var(--band); }
.closing-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: center;
  background: var(--night); color: var(--night-text); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
}
.closing-panel::after {
  content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -200px; bottom: -360px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.3), transparent 62%);
}
.closing h2 { color: #fff; }
.closing p { color: var(--night-muted); margin-top: 14px; }
.closing .actions { margin-top: 0; justify-content: flex-end; }
.closing .button, .closing .button:hover { color: #0f172a; }
.closing .button { background: #fff; }
.closing .button:hover { background: #e2e8f0; }
@media (max-width: 760px) { .closing-panel { grid-template-columns: 1fr; } .closing .actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--night-muted); padding-block: 64px 40px; font-size: 0.95rem; }
.footer .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; }
.footer p { margin-top: 18px; }
.footer h2 { font-size: 0.95rem; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--night-muted); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .wordmark, .footer .wordmark:hover { color: var(--night-text); }
.footer .legal { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: var(--fs-sm); }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Fractional services ---------- */
.page-head .button--quiet { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.page-head .button--quiet:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.role { display: flex; flex-direction: column; }
.role > p { margin-bottom: 20px; }
.role .ticks { gap: 10px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.97rem; }
@media (max-width: 960px) { .role-grid { grid-template-columns: 1fr; } }

.compare { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 18px 24px; border-top: 1px solid var(--border); }
.compare-row:first-child { border-top: 0; }
.compare-row [role="rowheader"] { font-weight: 600; }
.compare-row [role="cell"] { color: var(--muted); }
.compare-row [role="cell"]:nth-child(2) { color: var(--ink); }
.compare-head { background: var(--surface-2); font-size: 0.9rem; font-weight: 600; }
.compare-head [role="columnheader"]:nth-child(2) { color: var(--action); }
@media (max-width: 640px) {
  .compare-row { grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 16px 18px; }
  .compare-row [role="rowheader"] { grid-column: 1 / -1; }
  .compare-head [role="columnheader"]:first-child { display: none; }
}
.role-label { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--action); background: var(--action-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.prose h2 + p { margin-top: 20px; }
@media (max-width: 880px) { .portrait { max-width: 260px; } }
