/* ==========================================================================
   CTRT — executive advisory theme
   Author: Dr. Florian Hobelsberger
   Swiss minimal system: white ground, near-black type, one deep navy accent.
   No external fonts, no external CSS, no tracking dependencies.
   ========================================================================== */

:root {
    --ink: #122438;
    --ink-2: #172c43;
    --ink-3: #1d3550;
    --slate: #42525f;
    --muted: #64717d;
    --paper: #ffffff;
    --paper-2: #f4f7fa;
    --paper-3: #e9eef4;
    --white: #ffffff;
    --line: #dce3ea;
    --line-soft: #e7ecf1;
    --line-dark: rgba(255, 255, 255, 0.13);
    --accent: #1f5fd1;
    --accent-2: #17489e;
    --accent-light: #b9cdf2;
    --accent-soft: #e9f1fc;
    --success: #2c5c46;
    --success-soft: #eaf2ed;
    --error: #93302c;
    --error-soft: #f8ecea;

    --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    --container: 1200px;
    --container-narrow: 780px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section: clamp(4.25rem, 8vw, 6.75rem);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(11, 14, 19, 0.05);
    --shadow-md: 0 14px 36px -24px rgba(11, 14, 19, 0.32);
    --shadow-lg: 0 30px 70px -38px rgba(11, 14, 19, 0.38);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-feature-settings: "kern", "liga";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-wrap: break-word;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration-color: rgba(29, 78, 107, 0.4); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--white); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 0.6em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 4.4vw, 3.7rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 2.9vw, 2.5rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

figure { margin: 0; }
figcaption { font-size: 0.8125rem; color: var(--muted); margin-top: 0.75rem; }

/* Accessibility ---------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 200;
    background: var(--ink);
    color: var(--white);
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--white); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

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

.container-narrow {
    max-width: var(--container-narrow);
}

.section { padding-block: var(--section); }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink h2, .section-ink h3 { color: var(--white); }

.section-heading { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-heading h2 { margin-bottom: 0.55rem; }
.section-heading .lead { color: var(--slate); }

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.9rem;
}

.lead {
    font-size: clamp(1.075rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--slate);
    max-width: 64ch;
}

.meta {
    font-size: 0.75rem;
    letter-spacing: 0.07em;
    color: var(--muted);
    text-transform: uppercase;
}

.muted { color: var(--muted); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(29, 78, 107, 0.45);
    padding-bottom: 0.1rem;
}
.text-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.text-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.text-link:hover::after { transform: translateX(3px); }

.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 0.3rem 0.75rem;
    background: var(--white);
}

/* Buttons ---------------------------------------------------------------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.8rem 1.4rem;
    background: var(--accent);
    color: var(--white);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.button:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -16px rgba(31, 95, 209, 0.8);
}
.button-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.button-ghost:hover {
    background: var(--white);
    border-color: var(--ink);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.button-small { min-height: 2.4rem; padding: 0.45rem 1rem; font-size: 0.875rem; }
.button-wide { width: 100%; }

.section-ink .button {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}
.section-ink .button:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--ink); }
.section-ink .button-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.section-ink .button-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Header ----------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid transparent;
    backdrop-filter: saturate(180%) blur(16px);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -22px rgba(11, 14, 19, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 4.75rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
}
.brand:hover { color: var(--ink); }

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    padding-top: 0.05em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: 0.9875rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-text span { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.22rem; }
/* The descriptor costs horizontal room, so it leaves before the nav has to. */
@media (max-width: 1180px) { .brand .brand-tagline { display: none; } }

.site-nav { display: flex; align-items: center; gap: 2rem; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list li { margin: 0; }
.nav-list a {
    position: relative;
    display: inline-block;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate);
    text-decoration: none;
    transition: color 0.18s var(--ease);
}
.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.15rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--ink); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 1.1rem; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}
.lang-switch a {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.3rem;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.lang-switch a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.lang-switch a:hover { color: var(--ink); }

.nav-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.55rem;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    margin: 0.28rem 0;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Breadcrumbs ------------------------------------------------------------ */
.breadcrumbs {
    padding-top: 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    color: var(--muted);
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }

/* Page hero -------------------------------------------------------------- */
.page-hero {
    padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(2.75rem, 5.5vw, 4.5rem);
    position: relative;
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--line-soft);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.hero-copy h1 { max-width: 20ch; }
.hero-copy .lead { margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.hero-note { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--muted); max-width: 52ch; }
.page-hero.hero-text-only .hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero.hero-text-only .hero-copy { max-width: 52rem; }
.page-hero.hero-text-only .hero-copy h1 { max-width: 26ch; }

.hero-media { position: relative; }
.hero-media img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

/* Home hero -------------------------------------------------------------- */
.home-hero {
    padding: clamp(3.25rem, 6.5vw, 5.75rem) 0 clamp(3rem, 5vw, 4.5rem);
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
}
.home-hero .hero-grid { align-items: center; }
.home-hero h1 { font-size: clamp(2.45rem, 4.6vw, 3.95rem); max-width: 20ch; }
.home-hero .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.35rem;
}
.home-hero .hero-kicker::before { content: ""; width: 1.75rem; height: 2px; background: var(--accent); }
.home-hero .hero-media img { aspect-ratio: 4 / 5; }

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    max-width: 42rem;
}
.hero-fact strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
.hero-fact span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.45rem; line-height: 1.4; }

/* Trust strip ------------------------------------------------------------ */
.trust-strip { padding: 1.35rem 0; border-bottom: 1px solid var(--line-soft); background: var(--white); }
.trust-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 2rem; }
.trust-strip p { margin: 0; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.trust-strip li { margin: 0; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--slate); }
.trust-strip li:not(:last-child)::after { content: "·"; margin-left: 1.6rem; color: var(--line); }

/* Offer grid ------------------------------------------------------------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.home-next { margin-top: 1.9rem; color: var(--muted); font-size: 0.925rem; line-height: 1.6; max-width: 76ch; }
.home-next a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.home-next a:hover { color: var(--accent); }
.sim-intro { margin: 0 0 2.75rem; }
.sim-intro > p { font-size: 1.075rem; line-height: 1.65; }
.sim-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1px; margin: 1.75rem 0 1.25rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sim-facts > div { background: var(--paper); padding: 0.95rem 1.05rem; }
.sim-facts span { display: block; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.sim-facts strong { display: block; font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.sim-links { font-size: 0.9rem; color: var(--muted); }
.sim-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sim-links a:hover { color: var(--accent); }
@media (max-width: 920px) { .sim-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sim-facts { grid-template-columns: 1fr; } }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 3rem; }
.sitemap-group h2 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.sitemap-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.sitemap-group a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.sitemap-group a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 920px) { .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sitemap-grid { grid-template-columns: 1fr; } }
.offer-card {
    background: var(--paper-2);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.35rem);
    display: flex;
    flex-direction: column;
    min-height: 21rem;
    transition: background 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.offer-card:hover {
    background: var(--white);
    border-color: var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.offer-index { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); }
.offer-card h3 { margin-top: 1.1rem; font-size: 1.4rem; }
.offer-card p { color: var(--slate); font-size: 0.95rem; }
.offer-card .text-link { margin-top: auto; align-self: flex-start; padding-top: 0.75rem; }
.offer-card ul { margin: 1rem 0 1.5rem; padding-left: 1.1rem; color: var(--slate); font-size: 0.9rem; }

/* Split sections --------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.split-media { position: relative; }
.split-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.split.reverse .split-media { order: 2; }
.split-copy .lead { margin-top: 1rem; }
.split-copy .check-list { margin-top: 1.5rem; }

/* Audience --------------------------------------------------------------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.audience-card {
    background: var(--paper-2);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 1.9rem;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.audience-card:hover { background: var(--white); border-color: var(--line); }
.audience-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.audience-card p { color: var(--slate); font-size: 0.925rem; margin: 0; }
.audience-card .audience-tag { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; font-weight: 600; }

/* Metrics / proof -------------------------------------------------------- */
.proof-band { background: var(--ink); color: var(--white); padding: clamp(3rem, 5.5vw, 4.25rem) 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.proof-item strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 500; line-height: 1.05; color: var(--white); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.proof-item span { display: block; margin-top: 0.75rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.62); line-height: 1.5; }
.proof-source { margin-top: 2.25rem; font-size: 0.7rem; color: rgba(255, 255, 255, 0.4); max-width: 60ch; }

/* Process ---------------------------------------------------------------- */
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.process-list li {
    display: block;
    padding: 1.5rem 0 0;
    border-top: 2px solid var(--ink);
    margin: 0;
}
.process-list .step-no { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 1rem; }
.process-list h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.process-list p { color: var(--slate); margin: 0; font-size: 0.9375rem; }

/* Simulation teaser ------------------------------------------------------ */
.simulation-teaser { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.simulation-teaser .split-copy h2 { color: var(--ink); }
.simulation-teaser .lead { color: var(--slate); }
.simulation-teaser .check-list li { color: var(--slate); }
.teaser-frame { position: relative; }
.teaser-frame img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }

/* Testimonial ------------------------------------------------------------ */
.quote-band { text-align: center; padding-block: clamp(3.5rem, 6.5vw, 5.5rem); }
.quote-band blockquote {
    margin: 0 auto;
    max-width: 50rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.95rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-wrap: balance;
}
.quote-band cite { display: block; margin-top: 1.75rem; font-family: var(--font-body); font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--line); padding: clamp(2.5rem, 4.5vw, 3.5rem) 0; margin-block-start: clamp(2.5rem, 4vw, 3.5rem); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
.cta-copy { max-width: 46rem; }
.cta-copy .eyebrow { color: var(--accent); }
.cta-copy h2 { color: var(--ink); margin-bottom: 0.6rem; font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.cta-copy p { color: var(--slate); max-width: 60ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; flex-shrink: 0; }
.cta-band .button { background: var(--accent); border-color: var(--accent); color: var(--white); }
.cta-band .button:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--white); }
.cta-band .button-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.cta-band .button-ghost:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }

/* Prose ------------------------------------------------------------------ */
.page-body { padding-block-start: clamp(2.5rem, 4vw, 3.5rem); }
.prose { max-width: 78ch; }
.prose.container { max-width: var(--container); }
.prose.container > * { max-width: 78ch; }
.prose.container > .step-list,
.prose.container > .table-wrap,
.prose.container > .dimension-grid { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.prose h3 { margin-top: 2rem; }
.prose h4 { margin-top: 1.75rem; font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.prose p, .prose li { color: var(--slate); }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); text-decoration-color: rgba(29, 78, 107, 0.4); }
.prose a:hover { color: var(--ink); }
.prose a.button { color: var(--white); text-decoration: none; }
.prose a.button:hover { color: var(--white); }
.prose a.button-ghost { color: var(--ink); text-decoration: none; }
.prose a.button-ghost:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.55rem; }
.prose blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--accent);
    background: var(--paper-2);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ink);
}
.prose blockquote p { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-size: 0.9rem; }
.prose th, .prose td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.prose code { background: var(--paper-2); padding: 0.12em 0.35em; border-radius: 4px; font-size: 0.9em; }
.prose hr { margin: 2.5rem 0; }

.prose .callout {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--paper-2);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.prose .callout p { margin: 0; font-size: 0.9375rem; }

.check-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; color: var(--slate); }
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 0.55rem;
    height: 0.3rem;
    border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(-45deg);
}
.section-ink .check-list li, .simulation-teaser .check-list li { color: rgba(255, 255, 255, 0.8); }
.simulation-teaser .check-list li { color: var(--slate); }

/* Tables ----------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.results-table { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: 0.925rem; }
.results-table th, .results-table td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.results-table th { background: var(--paper-2); font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.results-table tr:last-child td { border-bottom: 0; }
.results-table td:first-child { font-weight: 600; color: var(--ink); }

/* Comparison table: the format's job sits under its name, best use runs as a
   line beneath the table, and under 720px every row becomes a card. */
.cmp-job { display: block; margin-top: 0.3rem; font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.cmp-best { margin: 0.9rem 0 0; padding: 0; }
.cmp-best dt { margin: 0 0 0.4rem; font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.cmp-best dd { margin: 0 0 0.25rem; padding: 0; font-size: 0.9375rem; color: var(--slate); }
.cmp-best dd strong { color: var(--ink); }
@media (max-width: 720px) {
    .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: 100%; }
    .cmp-table thead { display: none; }
    .cmp-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.9rem; background: var(--white); overflow: hidden; }
    .cmp-table td { border: 0; border-bottom: 1px solid var(--line-soft); padding: 0.7rem 1rem; }
    .cmp-table tr td:last-child { border-bottom: 0; }
    .cmp-table td::before { content: attr(data-label); display: block; margin-bottom: 0.15rem; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
    .table-wrap:has(.cmp-table) { border: 0; background: transparent; }
}

/* Timeline --------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); margin: 0; }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline-years { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding-top: 0.25rem; }
.timeline-body strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.timeline-body span { display: block; font-size: 0.875rem; color: var(--muted); margin-top: 0.2rem; }
.timeline-body p { margin: 0.6rem 0 0; font-size: 0.9rem; color: var(--slate); }

/* Keynotes --------------------------------------------------------------- */
.keynote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.keynote-card {
    background: var(--paper-2);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.35rem);
    display: flex;
    flex-direction: column;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.keynote-card:hover { background: var(--white); border-color: var(--line); }
.keynote-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.keynote-card p { color: var(--slate); font-size: 0.925rem; }
.keynote-card .check-list { margin-top: 0.5rem; }
.keynote-card .meta { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-soft); }

/* Pricing ---------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.plan-card.is-featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.plan-badge {
    position: absolute;
    top: -0.7rem;
    left: 2rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-sm);
    margin: 0;
}
.plan-card h2 { font-size: 1.45rem; margin-bottom: 0.25rem; }
.plan-audience { font-size: 0.8125rem; color: var(--muted); min-height: 2.4em; margin-bottom: 1rem; }
.plan-price { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--ink); padding: 0.8rem 0; border-block: 1px solid var(--line-soft); margin-bottom: 1.2rem; }
.plan-card .check-list { flex: 1; margin-bottom: 1.5rem; }
.pricing-note { margin-top: 1.75rem; font-size: 0.8125rem; color: var(--muted); max-width: 65ch; }
.plan-card .button, .plan-card .button-disabled { margin-top: auto; }
.button-disabled { background: var(--paper-3); border-color: var(--line); color: var(--muted); pointer-events: none; box-shadow: none; transform: none; }
.plan-matrix-title { margin-top: clamp(2.5rem, 5vw, 3.5rem); font-size: 1.35rem; }
.plan-matrix-wrap { margin-top: 1.25rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.plan-matrix { width: 100%; border-collapse: collapse; min-width: 44rem; font-size: 0.9rem; }
.plan-matrix th, .plan-matrix td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--line-soft); text-align: center; vertical-align: middle; }
.plan-matrix thead th { background: var(--paper-2); border-bottom: 1px solid var(--line); font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.plan-matrix tbody th { text-align: left; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.plan-matrix tbody tr:last-child th, .plan-matrix tbody tr:last-child td { border-bottom: 0; }
.mark { display: inline-block; font-size: 1.05rem; font-weight: 700; line-height: 1; }
.mark-yes { color: #1d7a46; }
.mark-no { color: #c43d32; }
.matrix-text { display: inline-block; max-width: 11rem; font-size: 0.82rem; line-height: 1.4; color: var(--slate); }
.pricing-team { margin-top: 1.75rem; font-size: 0.9375rem; color: var(--slate); }
.pricing-team a { font-weight: 600; }

@media (max-width: 1080px) {
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* FAQ -------------------------------------------------------------------- */
.faq-section { padding-block: clamp(3rem, 5vw, 4.5rem); background: var(--paper-2); border-block: 1px solid var(--line-soft); }
/* A band after running prose: keep a strip of air before its background starts. */
.prose + .faq-section { margin-block-start: clamp(2.5rem, 4vw, 3.5rem); }
.faq-list { max-width: 58rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.3rem 0;
    font-family: var(--font-display);
    font-size: 1.075rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-body); font-size: 1.25rem; font-weight: 400; color: var(--accent); line-height: 1; transition: transform 0.2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.5rem; max-width: 60ch; }
.faq-answer p { color: var(--slate); font-size: 0.9375rem; }
.faq-answer ul { color: var(--slate); font-size: 0.9375rem; }

/* Contact ---------------------------------------------------------------- */
.contact-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-copy .prose { margin-bottom: 2rem; }
.contact-facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 2rem; }
.contact-fact { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.contact-fact .fact-label { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 0.2rem; font-weight: 600; }
.contact-fact a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(29, 78, 107, 0.4); }
.contact-fact a:hover { color: var(--accent); }
.confidential-note { background: var(--paper-2); border-left: 3px solid var(--accent); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; }
.confidential-note h2 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.4rem; }
.confidential-note p { font-size: 0.875rem; color: var(--slate); margin: 0; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-md); }
.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.8125rem; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.form-field .req { color: var(--accent); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: #c3c9d2; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 78, 107, 0.12); }
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 50%, calc(100% - 0.75rem) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field-hint { font-size: 0.75rem; color: var(--muted); margin: 0.1rem 0 0; }
.form-consent { margin-top: 0.25rem; }
.checkbox-label { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 400 !important; font-size: 0.8125rem !important; color: var(--slate) !important; line-height: 1.5; cursor: pointer; }
.checkbox-label input { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--accent); }
.checkbox-label a { color: var(--accent); }
.form-footnote { font-size: 0.72rem; color: var(--muted); margin: 0; line-height: 1.5; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { padding: 1rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: 0.875rem; }
.form-alert strong { display: block; margin-bottom: 0.25rem; }
.form-alert p { margin: 0; }
.form-alert-success { background: var(--success-soft); border: 1px solid #c9dccf; color: #1f4030; }
.form-alert-error { background: var(--error-soft); border: 1px solid #e6c6c2; color: #6d211d; }

/* Diagnostic ------------------------------------------------------------- */
.dimension-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.dimension-card { background: var(--paper-2); border-radius: var(--radius); padding: 1.75rem; }
.dimension-index { font-size: 0.68rem; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; }
.dimension-card h3 { font-size: 1.15rem; margin: 0.7rem 0 0.4rem; }
.dimension-card p { font-size: 0.875rem; color: var(--slate); margin: 0; }
.dimension-card .meta { margin-top: 0.75rem; font-size: 0.68rem; }

.diagnostic-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.diagnostic-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); position: sticky; top: 6.5rem; }
.diagnostic-panel h2 { font-size: 1.4rem; }
.diagnostic-panel p { font-size: 0.9rem; color: var(--slate); }
/* The working demo embedded from demo/mechanics.html?embed=1; the frame reports its own height. */
.demo-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1.25rem 0 0.6rem; background: var(--white); }
.demo-embed iframe { width: 100%; height: 560px; border: 0; display: block; }
.prose.container > .demo-embed { max-width: none; }
.demo-embed-alt { font-size: 0.875rem; color: var(--muted); }

.app-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1rem 0; background: var(--paper-2); }
.app-frame iframe { width: 100%; height: 34rem; border: 0; display: block; }
.panel-placeholder { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1rem 0 1.25rem; background: var(--paper-2); }
.trust-list { margin-top: 1.5rem; border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.trust-list li { font-size: 0.78rem; }

.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.step-list li { margin: 0; padding: 1.5rem; background: var(--paper-2); border-radius: var(--radius); }
.prose .step-list { grid-template-columns: 1fr; }
.prose .audience-grid,
.prose .dimension-grid { grid-template-columns: 1fr; }
.step-index { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); }
.step-list h3 { font-size: 1.1rem; margin: 0.7rem 0 0.35rem; }
.step-list p { font-size: 0.875rem; color: var(--slate); margin: 0; }

/* Insights --------------------------------------------------------------- */
.insights-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 2.5rem; }
.filter-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 0.5rem; font-weight: 600; }
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 3.5rem; }
.insight-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.insight-card:hover { border-color: #cbd1d9; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.insight-link { display: flex; flex-direction: column; height: 100%; padding: clamp(1.5rem, 3vw, 2.25rem); text-decoration: none; color: inherit; }
.insight-card h2 { font-size: 1.3rem; }
.insight-card p { color: var(--slate); font-size: 0.925rem; }
.insight-card .meta { margin-top: auto; padding-top: 1.25rem; font-size: 0.68rem; display: flex; gap: 0.35rem; }
.insight-card .text-link { margin-top: 0.9rem; font-size: 0.85rem; align-self: flex-start; }
.empty-state { max-width: 44rem; padding: 2rem 0 4rem; }

/* Article ---------------------------------------------------------------- */
.article-header { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: 2rem; }
.article-header h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.article-hero { margin-bottom: 2.5rem; }
.article-hero img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.article-body { font-size: 1.075rem; }
.article-body p, .article-body li { color: var(--slate); }
.article-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.author-card { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--paper-2); padding: 1.5rem; border-radius: var(--radius); }
.author-mark { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--accent); color: var(--white); font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; border-radius: var(--radius-sm); flex-shrink: 0; }
.author-card p { font-size: 0.875rem; color: var(--slate); margin: 0.3rem 0 0.5rem; }
.article-back { margin-top: 2rem; font-size: 0.875rem; }
.article-back a { text-decoration: none; color: var(--muted); }
.article-back a:hover { color: var(--ink); }

/* Legal ------------------------------------------------------------------ */
.legal-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 2.5rem; }
.legal-hero h1 { font-size: clamp(1.95rem, 3.6vw, 2.7rem); }
.legal-hero .lead { margin-top: 0.75rem; }
.legal-updated { font-size: 0.78rem; color: var(--muted); margin-top: 1.25rem; }
.legal-body { padding-bottom: 2rem; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2.5rem; }
.legal-body h3 { font-size: 1.05rem; margin-top: 1.75rem; font-family: var(--font-body); font-weight: 600; }
.legal-body p, .legal-body li { font-size: 0.925rem; }
.legal-summary { background: var(--paper-2); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-bottom: 2rem; }
.legal-summary h2 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.legal-summary .check-list { margin: 0; }
.legal-summary .check-list li { font-size: 0.875rem; }
.legal-notice { padding: 1.25rem 1.5rem; border-radius: var(--radius-sm); margin-bottom: 2rem; font-size: 0.875rem; }
.legal-notice p { margin: 0.35rem 0 0; }
.legal-notice-warning { background: #fdf7ea; border: 1px solid #ecdcb4; color: #57451a; }
.legal-contact { margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: var(--paper-2); border-radius: var(--radius); font-size: 0.875rem; }
.legal-back { margin: 3rem 0 1rem; font-size: 0.875rem; }
.legal-back a { color: var(--muted); text-decoration: none; }

/* Error ------------------------------------------------------------------ */
.error-page { padding: clamp(4rem, 10vw, 8rem) 0; text-align: center; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--accent-soft); margin: 0 0 0.75rem; }
.error-page .lead { margin-inline: auto; }
.error-page .hero-actions { justify-content: center; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; font-size: 0.85rem; }
.error-links a { color: var(--muted); text-decoration: none; }
.error-links a:hover { color: var(--ink); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: clamp(3rem, 5.5vw, 4.25rem) 0 1.5rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { max-width: 28ch; margin-top: 1.25rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }
.footer-brand .footer-location { margin-top: 0.75rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.brand-footer { color: var(--white); }
.brand-footer:hover { color: var(--white); }
.brand-footer .brand-mark { background: var(--white); color: var(--ink); }
.brand-footer .brand-text strong { color: var(--white); }
.brand-footer .brand-text span { color: rgba(255, 255, 255, 0.45); }
.footer-column h3 { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 1rem; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin-bottom: 0.55rem; }
.footer-column a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.footer-column a:hover { color: var(--white); }
.footer-column p { margin-bottom: 0.55rem; }
.footer-contact .muted { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* Reveal animation ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
    .nav-list { gap: 1.1rem; }
    .nav-list a { font-size: 0.85rem; }
    .site-nav { gap: 1.5rem; }
}

@media (max-width: 920px) {
    :root { --section: 4rem; }
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        inset: 4.75rem 0 0 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        padding: 1.5rem var(--gutter) 2.5rem;
        overflow-y: auto;
        border-top: 1px solid var(--line-soft);
    }
    .site-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
    .nav-list a { display: block; padding: 0.95rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
    .nav-list a::after { display: none; }
    .nav-actions { flex-direction: row; justify-content: space-between; }
    .hero-grid, .split, .contact-grid, .diagnostic-layout { grid-template-columns: 1fr; }
    .hero-copy h1, .home-hero h1 { max-width: none; }
    .hero-media { max-width: 34rem; }
    .home-hero .hero-media img { aspect-ratio: 3 / 2; }
    .split.reverse .split-media { order: 0; }
    .diagnostic-panel { position: static; }
    .offer-grid, .audience-grid, .dimension-grid, .step-list, .process-list { grid-template-columns: 1fr; }
    .process-list { gap: 1.75rem; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
    .keynote-grid, .insight-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    .header-inner { min-height: 4.25rem; }
    .site-nav { inset-block-start: 4.25rem; }
    .brand-text strong { font-size: 0.9rem; }
    .brand-text span { font-size: 0.58rem; }
    .home-hero .hero-kicker { flex-wrap: wrap; gap: 0.4rem; }
    .home-hero .hero-kicker::before { display: none; }
    .hero-facts { grid-template-columns: 1fr; gap: 1rem; }
    .hero-fact { display: flex; align-items: baseline; gap: 0.75rem; }
    .hero-fact span { margin-top: 0; }
    .form-row { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .timeline li { grid-template-columns: 1fr; gap: 0.35rem; }
    .contact-fact { flex-direction: column; gap: 0.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-actions { width: 100%; }
    .cta-actions .button { flex: 1; }
    .article-meta { font-size: 0.68rem; }
    .footer-bottom { flex-direction: column; }
    .app-frame iframe { height: 26rem; }
}

/* Print ------------------------------------------------------------------ */
@media print {
    .site-header, .site-footer, .cta-band, .breadcrumbs, .nav-toggle, .faq-section, .hero-actions { display: none !important; }
    body { background: white; color: black; font-size: 11pt; }
    .container, .container-narrow { max-width: none; padding: 0; }
    a { text-decoration: none; color: black; }
    .legal-hero { border: 0; }
}

/* Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
