/* ============================================================================
   TRACTION KEEPER — MARKETING SITE STYLES
   Design system: UI_STYLE_GUIDE.md § 1–3
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
    /* Background & Surface */
    --tk-color-bg:               #F7F5F2;
    --tk-color-surface:          #FFFFFF;
    --tk-color-surface-alt:      #F1EFEB;

    /* Borders */
    --tk-color-border:           #DDD8D0;
    --tk-color-border-subtle:    #EAE7E2;

    /* Text */
    --tk-color-text-heading:     #15171A;
    --tk-color-text-primary:     #2D3139;
    --tk-color-text-secondary:   #4A5260;   /* DOGFOOD-002: was #5F6673 (5.3:1 contrast) — aligned to tokens.css */
    --tk-color-text-muted:       #697080;   /* DOGFOOD-002: was #8B929E (2.9:1, WCAG AA fail) — aligned to tokens.css */

    /* Primary — Deep Navy */
    --tk-color-primary:          #243B53;
    --tk-color-primary-dark:     #102A43;
    --tk-color-primary-light:    #3E5C76;
    --tk-color-primary-bg:       #EEF3F8;

    /* Bullseye ring fill colours (match in-app) */
    --tk-ring-explore-bg:        #EEF3F8;
    --tk-ring-test-bg:           #C5D4E8;
    --tk-ring-focus-bg:          #243B53;

    /* Action — Warm Amber (one instance per screen) */
    --tk-color-action:           #C98A12;
    --tk-color-action-dark:      #A06A08;
    --tk-color-action-bg:        #FDF4E0;

    /* Semantic */
    --tk-color-growth:           #3E7C59;
    --tk-color-growth-bg:        #EAF5EE;

    /* Spacing */
    --tk-space-4:  16px;
    --tk-space-6:  24px;
    --tk-space-8:  32px;
    --tk-space-10: 40px;
    --tk-space-12: 48px;
    --tk-space-16: 64px;

    /* Radius / Shadow — aligned to canonical --tk-radius-* naming and values */
    --tk-radius-md:  6px;
    --tk-radius-lg: 10px;
    --shadow:    0 1px 4px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.10);

    /* Font */
    --tk-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--tk-font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--tk-color-text-primary);
    background: var(--tk-color-bg);
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: var(--tk-color-primary-light); }

/* ── Typography ─────────────────────────────────────────────────────────── */
.display-1  { font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: var(--tk-color-text-heading); }
.display-2  { font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--tk-color-text-heading); }
.h2         { font-size: clamp(22px, 3vw, 30px);   font-weight: 700; line-height: 1.25; color: var(--tk-color-text-heading); }
.h3         { font-size: clamp(17px, 2vw, 20px);   font-weight: 600; line-height: 1.3;  color: var(--tk-color-text-heading); }
.lead       { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.7; color: var(--tk-color-text-secondary); }
.small      { font-size: 13px; }
.muted      { color: var(--tk-color-text-muted); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container        { max-width: 1100px; margin: 0 auto; padding: 0 var(--tk-space-8); }
.container-narrow { max-width: 680px;  margin: 0 auto; padding: 0 var(--tk-space-8); }
.section          { padding: 96px 0; }
.section-sm       { padding: 64px 0; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--tk-radius-md);
    font-family: var(--tk-font-sans);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
    line-height: 1;
}

/* Primary CTA — amber. Only one amber element per page. */
.btn-primary {
    background: var(--tk-color-action);
    color: #fff;
    border-color: var(--tk-color-action);
}
.btn-primary:hover {
    background: var(--tk-color-action-dark);
    border-color: var(--tk-color-action-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201,138,18,.35);
}
.btn-primary:focus-visible {
    outline: 3px solid var(--tk-color-action);
    outline-offset: 3px;
}

/* Ghost variant — on navy backgrounds */
.btn-outline-nav {
    background: transparent;
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.35);
    font-size: 13px;
    padding: 9px 18px;
}
.btn-outline-nav:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
    border-color: rgba(255,255,255,.6);
}

/* Ghost — light surfaces */
.btn-outline {
    background: transparent;
    color: var(--tk-color-primary-light);
    border-color: var(--tk-color-border);
}
.btn-outline:hover {
    border-color: var(--tk-color-primary-light);
    background: var(--tk-color-primary-bg);
}

.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn-sm { padding: 8px 16px;  font-size: 13px; }

/* ── Site Navigation ─────────────────────────────────────────────────────── */
.site-nav {
    background: var(--tk-color-primary);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 16px rgba(0,0,0,.2);
}

.site-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 32px;
}

.site-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-nav-brand-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.site-nav-brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.site-nav-link {
    padding: 7px 13px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all .15s;
}
.site-nav-link:hover, .site-nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.1);
}

.site-nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Amber rule: this nav CTA is the only amber element in the nav */
.site-nav-cta .btn-primary {
    font-size: 13px;
    padding: 9px 18px;
}

.nav-mobile-btn {
    display: none;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    padding: 0;
}

/* Hamburger bars */
.nav-mobile-btn-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 18px;
}
.nav-mobile-btn-icon span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .2s;
}

/* ── Hero / Arrival ──────────────────────────────────────────────────────── */
.hero {
    background: var(--tk-color-primary);
    padding: 108px 0 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-bottom: 108px;
    max-width: 540px;
}

.hero-text .display-1 {
    color: #fff;
    margin-bottom: 28px;
    line-height: 1.08;
}

.hero-text .lead {
    color: rgba(255,255,255,.75);
    margin-bottom: 40px;
    font-size: 19px;
    line-height: 1.65;
}

.hero-cta { margin-bottom: 0; }

/* Amber singularity: exactly one amber button on the page */

.hero-visual {
    align-self: center;
    margin-top: -24px; /* optical correction — centers logo with headline, compensates for hero-text padding-bottom */
}

.hero-illustration {
    display: block;
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Screenshot placeholder — hero */
.screenshot-placeholder {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--tk-radius-lg) var(--tk-radius-lg) 0 0;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,.4);
    font-size: 13px;
    text-align: center;
    padding: 32px;
}

.screenshot-placeholder svg {
    opacity: .35;
}

.screenshot-placeholder-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.3);
}

/* Section screenshot placeholder (light background) */
.screenshot-placeholder-light {
    background: var(--tk-color-surface-alt);
    border: 1px dashed var(--tk-color-border);
    border-radius: var(--tk-radius-md);
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--tk-color-text-muted);
    font-size: 13px;
    text-align: center;
    padding: 32px;
}

.screenshot-placeholder-light .screenshot-placeholder-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--tk-color-text-muted);
}

/* ── Diagnosis ───────────────────────────────────────────────────────────── */
/* Intentionally imageless — centered single column, wider margins */
.section-diagnosis {
    background: var(--tk-color-bg);
    padding: 96px 0;
}

.diagnosis-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--tk-space-8);
}

.diagnosis-heading {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: var(--tk-color-text-heading);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.diagnosis-opening {
    font-size: 17px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
    margin-bottom: 52px;
}

.diagnosis-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.diagnosis-item {
    padding: 32px 0;
    border-top: 1px solid var(--tk-color-border-subtle);
}

.diagnosis-item:last-child {
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.diagnosis-item-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--tk-color-text-muted);
    margin-bottom: 10px;
}

.diagnosis-item-body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
}

.diagnosis-item-body strong {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: var(--tk-color-text-heading);
    margin-bottom: 6px;
}

.diagnosis-bridge {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
    font-style: italic;
}

/* ── Bullseye Framework ──────────────────────────────────────────────────── */
.section-framework {
    background: var(--tk-color-surface);
    padding: 96px 0;
    border-top: 1px solid var(--tk-color-border-subtle);
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.framework-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.framework-attribution {
    font-size: 13px;
    font-weight: 500;
    color: var(--tk-color-text-muted);
    margin-bottom: 10px;
}

.framework-attribution em {
    font-style: italic;
    color: var(--tk-color-text-secondary);
}

.framework-heading {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--tk-color-text-heading);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 18px;
}

.framework-intro {
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
    margin-bottom: 36px;
}

.ring-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 36px;
}

.ring-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--tk-color-border-subtle);
    align-items: start;
}

.ring-item:last-child {
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.ring-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    white-space: nowrap;
    margin-top: 2px;
}

.ring-badge-explore {
    background: var(--tk-ring-explore-bg);
    color: var(--tk-color-primary-light);
    border: 1px solid #C5D4E8;
}

.ring-badge-test {
    background: var(--tk-ring-test-bg);
    color: var(--tk-color-primary);
    border: 1px solid #9BB3CB;
}

.ring-badge-focus {
    background: var(--tk-ring-focus-bg);
    color: #fff;
    border: 1px solid var(--tk-color-primary);
}

.ring-item-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--tk-color-text-secondary);
}

.ring-item-text strong {
    display: block;
    font-weight: 600;
    color: var(--tk-color-text-heading);
    margin-bottom: 3px;
}

.framework-insight {
    font-size: 15px;
    line-height: 1.7;
    color: var(--tk-color-text-secondary);
    margin-bottom: 20px;
}

.framework-bridge {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tk-color-text-muted);
    border-left: 3px solid var(--tk-color-border);
    padding-left: 16px;
}

/* Bullseye SVG illustration container */
.bullseye-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bullseye-illustration svg {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* ── How Traction Keeper Works ───────────────────────────────────────────── */
.section-hiw {
    background: var(--tk-color-bg);
    padding: 96px 0;
}

.hiw-intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
}

.hiw-intro .h2 {
    margin-bottom: 12px;
}

/* Step tabs navigation */
.hiw-steps-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.hiw-step-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--tk-color-surface);
    border: 1px solid var(--tk-color-border);
    border-right: none;
    cursor: pointer;
    font-family: var(--tk-font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--tk-color-text-secondary);
    transition: all .15s;
    line-height: 1;
}

.hiw-step-btn:first-child { border-radius: var(--tk-radius-md) 0 0 var(--tk-radius-md); }
.hiw-step-btn:last-child  { border-radius: 0 var(--tk-radius-md) var(--tk-radius-md) 0; border-right: 1px solid var(--tk-color-border); }

.hiw-step-btn:hover {
    background: var(--tk-color-primary-bg);
    color: var(--tk-color-primary);
    border-color: var(--tk-color-primary-bg);
    z-index: 1;
    position: relative;
}

.hiw-step-btn.active {
    background: var(--tk-color-primary);
    color: #fff;
    border-color: var(--tk-color-primary);
    z-index: 2;
    position: relative;
}

.hiw-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.hiw-step-btn:not(.active) .hiw-step-num {
    background: var(--tk-color-primary-bg);
    color: var(--tk-color-primary-light);
}

.hiw-step-label { font-weight: 600; }

/* Step panels */
.hiw-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.hiw-panel.active {
    display: grid;
}

.hiw-panel-content {
    padding-top: 8px;
}

.hiw-panel-step-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--tk-color-text-muted);
    margin-bottom: 12px;
}

.hiw-panel-content .h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--tk-color-text-heading);
}

.hiw-panel-content p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
}

.hiw-panel-visual {
    /* screenshot occupies right column */
}

.hiw-walkthrough-link {
    text-align: center;
    margin-top: 48px;
}

.hiw-walkthrough-link a {
    font-size: 14px;
    font-weight: 500;
    color: var(--tk-color-text-secondary);
    border-bottom: 1px solid var(--tk-color-border);
    padding-bottom: 1px;
    transition: color .15s, border-color .15s;
}

.hiw-walkthrough-link a:hover {
    color: var(--tk-color-primary-light);
    border-color: var(--tk-color-primary-light);
}

/* Mobile: stack steps vertically */
.hiw-mobile-stack {
    display: none;
    flex-direction: column;
    gap: 56px;
}

.hiw-mobile-step {}

.hiw-mobile-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.hiw-mobile-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tk-color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.hiw-mobile-step-header .h3 {
    margin: 0;
}

.hiw-mobile-step p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
    margin-bottom: 20px;
}

/* ── Human Layer ─────────────────────────────────────────────────────────── */
.section-human {
    background: var(--tk-color-surface);
    padding: 96px 0;
    border-top: 1px solid var(--tk-color-border-subtle);
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.human-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 var(--tk-space-8);
}

.human-heading {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: var(--tk-color-text-heading);
    margin-bottom: 48px;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.human-claims {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.human-claim {
    padding: 28px 0;
    border-top: 1px solid var(--tk-color-border-subtle);
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
}

.human-claim:last-child {
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.human-claim strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--tk-color-text-heading);
    margin-bottom: 6px;
}

/* ── Early Access ─────────────────────────────────────────────────────────── */
.section-access {
    background: var(--tk-color-bg);
    padding: 96px 0;
}

.access-heading {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--tk-color-text-heading);
    margin-bottom: 56px;
    letter-spacing: -.02em;
}

.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left column — eligibility info */
.access-info {}

.access-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--tk-color-text-muted);
    margin-bottom: 12px;
}

.access-for-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
    margin-bottom: 36px;
}

.access-not-for-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.access-not-for-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--tk-color-text-secondary);
}

.access-not-for-list li::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--tk-color-border);
    margin-top: 2px;
    flex-shrink: 0;
}

.access-explanation {
    font-size: 15px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
    padding: 20px;
    background: var(--tk-color-surface);
    border: 1px solid var(--tk-color-border-subtle);
    border-radius: var(--tk-radius-md);
}

/* Right column — form */
.access-form-col {}

/* Optional: Mission Control preview placeholder sits above form */
.mission-control-preview {
    margin-bottom: 32px;
    border-radius: var(--tk-radius-md);
    overflow: hidden;
}

.access-form-intro {
    font-size: 14px;
    color: var(--tk-color-text-secondary);
    margin-bottom: 24px;
}

.access-form {
    background: var(--tk-color-surface);
    border: 1px solid var(--tk-color-border-subtle);
    border-radius: var(--tk-radius-lg);
    padding: 32px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field:last-of-type {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--tk-color-text-heading);
    margin-bottom: 6px;
}

.form-optional {
    font-weight: 400;
    color: var(--tk-color-text-muted);
}

.form-input,
.form-textarea {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--tk-color-border);
    border-radius: var(--tk-radius-md);
    font-family: var(--tk-font-sans);
    font-size: 15px;
    color: var(--tk-color-text-primary);
    background: var(--tk-color-bg);
    transition: border-color .15s, box-shadow .15s;
    line-height: 1.5;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--tk-color-primary-light);
    box-shadow: 0 0 0 3px rgba(62,92,118,.12);
    background: var(--tk-color-surface);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-hint {
    font-size: 12px;
    color: var(--tk-color-text-muted);
    margin-top: 4px;
}

.form-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
}

/* Amber singularity: form submit is the primary CTA, matching nav CTA */

.form-after {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--tk-color-text-muted);
    text-align: center;
}

/* Confirmation message */
.access-confirmation {
    display: none;
    background: var(--tk-color-growth-bg);
    border: 1px solid #B7DFC8;
    border-radius: var(--tk-radius-lg);
    padding: 32px;
    text-align: center;
}

.access-confirmation.visible {
    display: block;
}

.access-confirmation-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--tk-color-growth);
    margin-bottom: 10px;
}

.access-confirmation-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--tk-color-text-secondary);
}

/* Form select — mirrors .form-input styling */
.form-select {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--tk-color-border);
    border-radius: var(--tk-radius-md);
    font-family: var(--tk-font-sans);
    font-size: 15px;
    color: var(--tk-color-text-primary);
    background: var(--tk-color-bg);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23243B53' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    transition: border-color .15s, box-shadow .15s;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--tk-color-primary-light);
    box-shadow: 0 0 0 3px rgba(62,92,118,.12);
    background-color: var(--tk-color-surface);
}

/* Form inline error */
.form-error-msg {
    display: none;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--tk-radius-md);
    color: #B91C1C;
    font-size: 14px;
    padding: 12px 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-error-msg.visible { display: block; }

/* Follow-up panel */
.followup-panel {
    margin-top: 24px;
    border: 1px solid var(--tk-color-border);
    border-radius: var(--tk-radius-lg);
    padding: 24px 28px 28px;
    background: var(--tk-color-surface);
}

.followup-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--tk-color-text-heading);
    margin-bottom: 6px;
}

.followup-body {
    font-size: 13px;
    color: var(--tk-color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.followup-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.followup-submit {
    flex-shrink: 0;
}

.followup-skip {
    background: none;
    border: none;
    font-size: 13px;
    color: var(--tk-color-text-muted);
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.followup-skip:hover { color: var(--tk-color-text-secondary); }

.followup-done {
    font-size: 14px;
    color: var(--tk-color-text-muted);
    padding-top: 4px;
}

/* What happens after */
.access-what-happens {
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--tk-color-text-secondary);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--tk-color-primary-dark);
    padding: 48px 0 28px;
    color: rgba(255,255,255,.6);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand-col {}

.footer-brand-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
    max-width: 260px;
}

.footer-tagline-sub {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255,255,255,.4);
}

.footer-nav {
    display: flex;
    gap: 8px 28px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-nav-link {
    font-size: 13.5px;
    color: rgba(255,255,255,.55);
    transition: color .15s;
}

.footer-nav-link:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: rgba(255,255,255,.3);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-link {
    color: rgba(255,255,255,.3);
    font-size: 12.5px;
    transition: color .15s;
}

.footer-bottom-link:hover { color: rgba(255,255,255,.6); }

/* ── Page hero (inner pages, keep for how-it-works, about, etc.) ────────── */
.page-hero {
    background: var(--tk-color-primary);
    padding: 72px 0;
    text-align: center;
}

.page-hero h1                { color: #fff; margin-bottom: 14px; }
.page-hero .display-2        { color: #fff; margin-bottom: 14px; }
.page-hero .lead             { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; }
.page-hero .section-eyebrow  { color: rgba(255,255,255,.45); margin-bottom: 12px; }
.page-hero--lg               { padding: 80px 0 72px; }

/* ── Dark CTA section — inner pages ─────────────────────────────────────── */
.section-cta-dark {
    background: var(--tk-color-primary);
    padding: 88px 0;
    text-align: center;
}
.section-cta-dark h2 {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -.015em;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.section-cta-dark p {
    font-size: 17px;
    color: rgba(255,255,255,.72);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Section header (shared across sections) ─────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tk-color-text-muted);
    margin-bottom: 10px;
}

/* ── Accordion (shared — features / FAQ pages) ───────────────────────────── */
.accordion-item {
    border: 1px solid var(--tk-color-border);
    border-radius: var(--tk-radius-md);
    margin-bottom: 8px;
    overflow: hidden;
}

.accordion-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--tk-color-surface);
    transition: background .15s;
    font-weight: 600;
    font-size: 15px;
    gap: 12px;
    color: var(--tk-color-text-heading);
}

.accordion-header:hover { background: var(--tk-color-surface-alt); }
.accordion-arrow { font-size: 11px; color: var(--tk-color-text-muted); transition: transform .2s; flex-shrink: 0; }
.accordion-item.open .accordion-arrow { transform: rotate(180deg); }
.accordion-body { display: none; padding: 0 20px 18px; color: var(--tk-color-text-secondary); font-size: 14.5px; line-height: 1.7; }
.accordion-item.open .accordion-body { display: block; }

/* ── Pricing (inner page, keep) ───────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--tk-color-surface);
    border: 1.5px solid var(--tk-color-border);
    border-radius: var(--tk-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: var(--tk-color-primary-light);
    box-shadow: 0 8px 32px rgba(36,59,83,.15);
}

.pricing-plan   { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tk-color-primary-light); margin-bottom: 8px; }
.pricing-price  { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.pricing-amount { font-size: 40px; font-weight: 800; color: var(--tk-color-text-heading); line-height: 1; }
.pricing-period { font-size: 14px; color: var(--tk-color-text-secondary); }
.pricing-desc   { font-size: 13.5px; color: var(--tk-color-text-secondary); margin-bottom: 24px; line-height: 1.5; }
.pricing-features { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.pricing-feature  { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--tk-color-text-primary); }
.pricing-feature-check { color: var(--tk-color-growth); flex-shrink: 0; margin-top: 1px; }
.pricing-feature-x     { color: var(--tk-color-border); flex-shrink: 0; margin-top: 1px; }

/* ── Legal pages (privacy, terms) ────────────────────────────────────────── */
.legal-body {
    max-width: 680px;
    margin: 0 auto;
    padding: 72px var(--tk-space-8) 96px;
}

.legal-body h2 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 700;
    color: var(--tk-color-text-heading);
    letter-spacing: -.012em;
    margin: 48px 0 12px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--tk-color-text-secondary);
    margin-bottom: 14px;
}

.legal-body ul {
    margin: 0 0 14px 22px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.legal-body ul li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--tk-color-text-secondary);
}

.legal-meta {
    font-size: 13px;
    color: var(--tk-color-text-muted);
    border-top: 1px solid var(--tk-color-border-subtle);
    padding-top: 32px;
    margin-top: 56px;
}

/* ── Utility ─────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }

/* ── Confirmed page ─────────────────────────────────────────────────────── */
.section-confirmed {
    padding: 80px 0 64px;
    background: var(--tk-color-growth-bg);
    border-bottom: 1px solid #B7DFC8;
}

.confirmed-hero {
    max-width: 600px;
    text-align: center;
}

.confirmed-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--tk-color-growth);
    color: var(--tk-color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.confirmed-heading {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--tk-color-text-heading);
    letter-spacing: -.02em;
    margin-bottom: 14px;
}

.confirmed-subhead {
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 500;
    color: var(--tk-color-growth);
    margin-bottom: 16px;
}

.confirmed-body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
    max-width: 520px;
}

.section-next-steps {
    background: var(--tk-color-surface);
    padding: 72px 0;
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.next-steps-heading {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 700;
    color: var(--tk-color-text-heading);
    letter-spacing: -.012em;
    margin-bottom: 40px;
}

.next-steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 640px;
}

.next-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.next-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tk-color-primary);
    color: var(--tk-color-surface);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.next-step-content {
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
}

.next-step-content strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--tk-color-text-heading);
    margin-bottom: 6px;
}

.section-founding-members {
    padding: 72px 0;
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.founding-inner {
    max-width: 640px;
}

.founding-heading {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 700;
    color: var(--tk-color-text-heading);
    letter-spacing: -.012em;
    margin-bottom: 20px;
}

.founding-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--tk-color-text-secondary);
    margin-bottom: 16px;
}

.founding-attribution {
    font-size: 15px;
    color: var(--tk-color-text-muted);
    margin-top: 24px;
    font-style: italic;
}

.section-followup {
    padding: 72px 0;
    background: var(--tk-color-surface);
}

.followup-panel--page {
    max-width: 480px;
    margin-top: 0;
}

.section-while-waiting { padding: 48px 0 56px; border-top: 1px solid var(--tk-color-border-subtle); }
.while-waiting-inner   { max-width: 640px; }
.while-waiting-label   { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tk-color-text-muted); margin-bottom: 16px; }
.while-waiting-links   { display: flex; gap: 24px; flex-wrap: wrap; }
.while-waiting-link    { font-size: 15px; font-weight: 500; color: var(--tk-color-primary); }
.while-waiting-link:hover { color: var(--tk-color-primary-light); }

@media (max-width: 680px) {
    .section-confirmed     { padding: 56px 0 48px; }
    .section-next-steps    { padding: 56px 0; }
    .section-founding-members { padding: 56px 0; }
    .section-while-waiting { padding: 40px 0 48px; }
    .section-followup      { padding: 56px 0; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-content      { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual       { display: none; }
    .hero-text         { padding-bottom: 72px; max-width: 100%; }
    .framework-grid    { grid-template-columns: 1fr; gap: 48px; }
    .bullseye-illustration { order: -1; }
    .bullseye-illustration svg { max-width: 240px; }
    .hiw-steps-nav     { display: none; }
    .hiw-panel         { display: none !important; }
    .hiw-mobile-stack  { display: flex; }
    .access-grid       { grid-template-columns: 1fr; gap: 48px; }
    .footer-inner      { flex-direction: column; gap: 28px; }
    .pricing-grid      { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 680px) {
    .container         { padding: 0 20px; }
    .section           { padding: 72px 0; }
    .section-diagnosis { padding: 72px 0; }
    .section-framework { padding: 72px 0; }
    .section-hiw       { padding: 72px 0; }
    .section-human     { padding: 72px 0; }
    .section-access    { padding: 72px 0; }
    .diagnosis-inner   { padding: 0 20px; }
    .human-inner       { padding: 0 20px; }
    .site-nav-links    { display: none; }
    .nav-mobile-btn    { display: flex; }
    .access-form       { padding: 24px 20px; }
    .pricing-grid      { grid-template-columns: 1fr; }
    .footer-nav        { flex-direction: column; align-items: flex-start; gap: 12px; }
}
