/* ═══════════════════════════════════════════════════════════════
   HIGHLAND SUMMIT PARTNERS — STYLE SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ───────────────────────────────────────────────── */
:root {
    --bg-deep:    #0A1428;
    --bg-mid:     #111D2E;
    --bg-surface: #162033;
    --gold:       #D4AF77;
    --gold-light: #F2D68A;
    --gold-dark:  #BF953F;
    --teal:       #5E9ED6;
    --text:       #F5F5F5;
    --text-sub:   #C8CCD4;
    --text-muted: #7B8794;
    --border:     rgba(212,175,119,0.12);
    --border-hover: rgba(212,175,119,0.40);
    --card-l1:    rgba(255,255,255,0.03);
    --card-l2:    rgba(255,255,255,0.06);
    --card-l3:    rgba(255,255,255,0.08);
    --radius:     12px;
    --radius-sm:  8px;
    --nav-h:      70px;
    --container:  1140px;
    --gold-grad:  linear-gradient(135deg, #BF953F, #D4AF77 40%, #F2D68A 60%, #D4AF77 80%, #BF953F);
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, var(--bg-deep) 0%, #0E1A30 30%, var(--bg-mid) 60%, #172640 100%);
    background-attachment: fixed;
    color: var(--text-sub);
    font-size: 1.0rem;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* dot-grid texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(212,175,119,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

/* ── SELECTION ───────────────────────────────────────────────── */
::selection          { background: var(--gold); color: var(--bg-deep); }
::-moz-selection     { background: var(--gold); color: var(--bg-deep); }

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
html { scrollbar-color: var(--gold-dark) var(--bg-deep); }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
}
h1 { font-weight: 500; }
h2 { font-weight: 600; }
h3 { font-family: 'Lora', Georgia, serif; font-weight: 600; }
h4 { font-family: 'Lora', Georgia, serif; font-weight: 700; }

strong { color: var(--text); font-weight: 600; }

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

.text-gold {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* ── CONTAINER ───────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 36px;
    position: relative;
    z-index: 1;
}

/* ── SECTIONS ────────────────────────────────────────────────── */
.section {
    padding: 80px 0;
    position: relative;
}

.section-heading {
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    margin-bottom: 24px;
    text-align: center;
}

.section-body {
    max-width: 780px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.0rem;
}
.section-body.wide { max-width: 860px; }
.section-body:last-child { margin-bottom: 0; }
.closing-text { margin-top: 40px; }

.disclaimer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

/* ── DIVIDERS ────────────────────────────────────────────────── */
.divider {
    border: none;
    height: 2px;
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.45;
}
.divider-sm {
    border: none;
    height: 1px;
    margin: 24px 0;
    background: var(--border);
}

/* ── PULL QUOTE ──────────────────────────────────────────────── */
.pull-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    color: var(--text);
    border-left: 4px solid var(--gold);
    padding: 8px 0 8px 28px;
    margin: 0 auto 28px;
    max-width: 780px;
    line-height: 1.6;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.3s;
    text-decoration: none;
    line-height: 1.4;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
    background: var(--gold-grad);
    background-size: 200% 100%;
    color: var(--bg-deep);
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: -50%; left: -100%;
    width: 60%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.btn-gold:hover::after { left: 140%; }
.btn-gold:hover {
    box-shadow: 0 4px 24px rgba(212,175,119,0.3);
    transform: translateY(-2px);
    color: var(--bg-deep);
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
}
.btn-ghost:hover {
    background: rgba(212,175,119,0.08);
    color: var(--gold-light);
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(10,20,40,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--text);
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.nav-logo:hover { color: var(--gold); }

/* ── LOGOMARK ────────────────────────────────────────────────── */
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
    font-weight: 900;
    letter-spacing: -0.05em;
    font-size: 1.4rem;
    padding-top: 0.3rem;
    padding-right: 0.5rem;
    padding-bottom: 0.4rem;
    padding-left: 0.4rem;
    margin-right: 0.8rem;
    position: relative;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    flex-shrink: 0;
}
.logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 4px;
    background: var(--gold-grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.logo-mark-lg {
    font-size: 2.5rem;
    padding-top: .5rem;
    padding-right: .8rem;
    padding-bottom: .6rem;
    padding-left: .7rem;
    margin-right: 1rem;
}
.logo-mark-lg::before {
    padding: 7px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-sub);
    letter-spacing: 0.02em;
    transition: color 0.25s;
}
.nav-menu a:hover { color: var(--gold); }

.nav-cta {
    background: var(--gold-grad);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700 !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 10;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    position: absolute;
    left: 0;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
    padding-top: calc(var(--nav-h) + 60px);
    padding-bottom: 80px;
    text-align: center;
}


.hero-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(212,175,119,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-heading {
    font-size: clamp(2.6rem, 5.8vw, 4.5rem);
    max-width: 900px;
    margin: 0 auto 32px;
    line-height: 1.15;
}

.hero-body {
    max-width: 800px;
    margin: 0 auto 24px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-sub);
}

.scroll-hint {
    margin-top: 36px;
}
.chevron-down {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    opacity: 0.5;
    animation: bounce-down 2s ease-in-out infinite;
}

/* ── ENTRANCE ANIMATION ──────────────────────────────────────── */
.anim-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fade-up 0.6s ease forwards;
}
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.3s; }
.d3 { animation-delay: 0.45s; }
.d4 { animation-delay: 0.6s; }

@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce-down {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50%      { transform: rotate(45deg) translateY(6px); opacity: 0.7; }
}

/* ══════════════════════════════════════════════════════════════
   COMPANY TICKER
   ══════════════════════════════════════════════════════════════ */
.ticker {
    overflow: hidden;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    animation: ticker-scroll 28s linear infinite;
}

.ticker-track span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.18);
    white-space: nowrap;
}
.ticker-dot {
    font-size: 0.45rem !important;
    color: rgba(212,175,119,0.3) !important;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   QUIZ CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.quiz-cta {
    text-align: center;
}
.quiz-cta .btn { margin-top: 8px; }

.quiz-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(212,175,119,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ══════════════════════════════════════════════════════════════
   MODEL — STEP CARDS
   ══════════════════════════════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 48px auto 0;
    max-width: 1000px;
}

.step-card {
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: left;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px rgba(212,175,119,0.08);
}
.step-num {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}
.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.step-card p {
    font-size: 0.925rem;
    color: var(--text-sub);
}

/* ══════════════════════════════════════════════════════════════
   FEATURE GRID (Why Owners Choose)
   ══════════════════════════════════════════════════════════════ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: left;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px rgba(212,175,119,0.08);
}

.feature-num {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--text-sub);
}

/* ══════════════════════════════════════════════════════════════
   CARD DEPTH SYSTEM
   ══════════════════════════════════════════════════════════════ */
.card-l1 {
    background: var(--card-l1);
    border: 1px solid var(--border);
}
.card-l2 {
    background: var(--card-l2);
    border: 1px solid rgba(212,175,119,0.18);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.card-l3 {
    background: var(--card-l3);
    border: 1px solid var(--border-hover);
    box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

/* ══════════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════════ */
.stats-bar {
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    border-left: 2px solid transparent;
    border-image: linear-gradient(to bottom, transparent, var(--gold) 50%, transparent) 1;
    border-image-width: 0 0 0 2px;
    opacity: 1;
}
.stat-item:first-child {
    border-left: none;
    border-image: none;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   EVALUATION GRID (10-CARD OVERVIEW)
   ══════════════════════════════════════════════════════════════ */
.eval-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.eval-card {
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.eval-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px rgba(212,175,119,0.08);
}

.eval-ring {
    width: 72px;
    height: 72px;
    border: 2.5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    transition: background 0.3s, color 0.3s;
}
.eval-card:hover .eval-ring {
    background: rgba(212,175,119,0.12);
}

.eval-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.eval-card p {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   DETAILED MATRIX (EXPANDABLE FACTORS)
   ══════════════════════════════════════════════════════════════ */
.matrix-item {
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--card-l1);
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}
.matrix-item[open] {
    border-color: var(--border-hover);
}

.matrix-summary {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    list-style: none;
    gap: 16px;
    transition: background 0.25s, border-color 0.25s;
}
.matrix-summary::-webkit-details-marker { display: none; }
.matrix-summary::marker { content: ''; }
.matrix-summary::after {
    content: '›';
    font-size: 2.1rem;
    font-weight: 400;
    color: var(--gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}
.matrix-item[open] .matrix-summary::after {
    transform: rotate(90deg);
}
.matrix-summary:hover {
    background: rgba(212,175,119,0.04);
}
.matrix-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(212,175,119,0.06);
}

.mx-num {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 26px;
}
.mx-name {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    flex: 1;
}
.mx-wt {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bg-deep);
    background: var(--gold-grad);
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.matrix-body {
    padding: 8px 24px 28px;
    border-top: 1px solid var(--border);
}

.mx-row {
    margin-top: 20px;
}
.mx-row h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 6px;
}
.mx-row p {
    font-size: 0.925rem;
    color: var(--text-sub);
    line-height: 1.65;
}

.scale-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
}
.scale-band {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 12px;
}
.scale-band span {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}
.scale-band p {
    font-size: 0.825rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   FOUNDER
   ══════════════════════════════════════════════════════════════ */
.founder-layout {
    display: flex;
    gap: 56px;
    align-items: center;
    margin-top: 48px;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.founder-photo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.founder-img {
    width: 140px;
    height: 168px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
    border: 2px solid var(--gold);
}

.founder-photo .btn {
    width: 140px;
    text-align: center;
    font-size: 0.78rem;
    padding: 10px 0;
}

.founder-bio p {
    font-size: 1.0rem;
    line-height: 1.7;
    color: var(--text-sub);
}

/* ══════════════════════════════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════════════════════════════ */
.timeline {
    position: relative;
    max-width: 640px;
    margin: 48px auto 0;
    padding-left: 44px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(212,175,119,0.15));
}

.tl-item {
    position: relative;
    padding-bottom: 36px;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-marker {
    position: absolute;
    left: -44px;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    z-index: 1;
    transition: background 0.3s;
}
.tl-item:hover .tl-marker {
    background: var(--bg-deep);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212,175,119,0.15);
}

.tl-content h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.tl-content p {
    font-size: 0.925rem;
    color: var(--text-sub);
}

/* ══════════════════════════════════════════════════════════════
   INSIGHTS
   ══════════════════════════════════════════════════════════════ */
.insights-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 48px;
}

.insight-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s;
}
.insight-item[open] {
    border-color: var(--border-hover);
}
.insight-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(212,175,119,0.06);
}

.insight-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    transition: background 0.25s;
}
.insight-summary::-webkit-details-marker { display: none; }
.insight-summary::marker { content: ''; }
.insight-summary:hover { background: rgba(212,175,119,0.04); }

.insight-summary::after {
    content: '›';
    font-size: 2.1rem;
    font-weight: 400;
    color: var(--gold);
    margin-left: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}
.insight-item[open] .insight-summary::after {
    transform: rotate(90deg);
}

.insight-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    flex-shrink: 0;
}
.insight-summary h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    flex: 1;
}

.insight-body {
    padding: 8px 24px 28px;
    border-top: 1px solid var(--border);
}
.insight-body p {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.75;
    margin-top: 16px;
}
.insight-body p:first-child {
    margin-top: 16px;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
    padding: 56px 0 40px;
    text-align: center;
    position: relative;
    margin-top: 0;
    background: rgba(10,20,40,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
}

.footer-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.3;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.footer-links a {
    font-size: 0.825rem;
    color: var(--text-muted);
    transition: color 0.25s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
    font-size: 0.775rem;
    color: var(--text-muted);
    opacity: 0.7;
}



/* ══════════════════════════════════════════════════════════════
   QUIZ MODAL
   ══════════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6,12,24,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius);
    padding: 40px 36px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.25s;
}
.modal-close:hover { color: var(--gold); }

.quiz-progress {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    margin-bottom: 36px;
    overflow: hidden;
}
.quiz-progress-bar {
    height: 100%;
    width: 16.66%;
    background: var(--gold-grad);
    border-radius: 2px;
    transition: width 0.35s ease;
}

.quiz-step {
    display: none;
}
.quiz-step.active { display: block; }

.quiz-step h3 {
    font-size: 1rem;
    margin-bottom: 24px;
}
.quiz-step h3 .muted {
    font-weight: 400;
    font-size: 0.85rem;
}

.quiz-step label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 16px;
    font-family: 'Lora', Georgia, serif;
    line-height: 1.4;
}

.quiz-step input[type="text"],
.quiz-step input[type="number"],
.quiz-step input[type="email"],
.quiz-step input[type="tel"],
.quiz-step textarea,
.quiz-step select,
.result-form input,
.result-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    margin-bottom: 8px;
}
.quiz-step input:focus,
.quiz-step textarea:focus,
.quiz-step select:focus,
.result-form input:focus,
.result-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212,175,119,0.15);
}

.quiz-step select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23D4AF77' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.quiz-step select option {
    background: var(--bg-mid);
    color: var(--text);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] { -moz-appearance: textfield; }

.input-prefix, .input-suffix {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    transition: border-color 0.25s, box-shadow 0.25s;
    margin-bottom: 8px;
}
.input-prefix:focus-within, .input-suffix:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212,175,119,0.15);
}
.input-prefix span, .input-suffix span {
    padding: 14px 0 14px 16px;
    color: var(--gold);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
}
.input-suffix span {
    padding: 14px 16px 14px 0;
}
.input-prefix input, .input-suffix input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.quiz-nav {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
}

/* ── QUIZ LOADING ────────────────────────────────────────────── */
.quiz-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 48px 0;
}
.quiz-loading p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.08);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── QUIZ RESULT ─────────────────────────────────────────────── */
.quiz-result {
    display: none;
    text-align: center;
}
.quiz-result h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.quiz-result h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    text-align: left;
}

.result-confirmation {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 12px;
    text-align: center;
}
.result-confirmation strong {
    color: var(--gold);
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

.result-form {
    text-align: left;
    margin-top: 16px;
}
.result-form input,
.result-form textarea {
    margin-bottom: 12px;
}
.result-form .btn {
    width: 100%;
    text-align: center;
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════
   PRIVACY POLICY MODAL
   ══════════════════════════════════════════════════════════════ */
.policy-modal {
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}
.policy-body {
    overflow-y: auto;
    padding: 48px 40px 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}
.policy-body::-webkit-scrollbar { width: 4px; }
.policy-body::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.policy-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.policy-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.policy-body h3 {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin: 28px 0 10px;
    text-transform: none;
    letter-spacing: 0;
}
.policy-body p {
    font-size: 0.925rem;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 12px;
}
.policy-body ul {
    margin: 0 0 14px 20px;
    padding: 0;
}
.policy-body ul li {
    font-size: 0.925rem;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 4px;
}
.policy-body strong { color: var(--text); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── TABLET ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-menu { gap: 20px; }
    .nav-menu a { font-size: 0.8rem; }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .scale-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 1060px) {
    :root {
        --nav-h: 60px;
    }

    .container { padding: 0 20px; }

    /* Headings — tighten leading */
    .section-heading { line-height: 1.12; }
    .hero-heading { line-height: 1.08; }

    /* Nav */
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(10,20,40,0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px 0;
        gap: 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-menu li { width: 100%; }
    .nav-menu a {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Grids */
    .steps-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        padding: 20px 16px;
    }
    .stat-item {
        border-left: none;
        border-image: none;
    }
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 2px solid transparent;
        border-image: linear-gradient(to right, transparent, var(--gold) 50%, transparent) 1;
        border-image-width: 0 0 2px 0;
    }

    /* Founder */
    .founder-layout {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    /* Scale grid */
    .scale-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Modal */
    .modal { padding: 28px 20px; }

    /* Timeline */
    .timeline { padding-left: 40px; }
}

@media (max-width: 620px) {
    .hero-heading {
        font-size: clamp(2rem, 7vw, 2.4rem);
    }

    .eval-grid {
        grid-template-columns: 1fr;
    }
    .scale-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-item {
        padding: 16px;
        border-left: none !important;
        border-image: none !important;
        border-bottom: 2px solid transparent;
        border-image: linear-gradient(to right, transparent, var(--gold) 50%, transparent) 1 !important;
        border-image-width: 0 0 2px 0 !important;
    }
    .stat-item:last-child {
        border-bottom: none;
        border-image: none !important;
    }

    .result-low, .result-high { font-size: 1.8rem; }

    .pull-quote {
        padding-left: 20px;
        font-size: 1.05rem;
    }

    .footer-logo {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 32px;
        margin-bottom: 28px;
    }
    .footer-logo > span:last-child {
        display: block;
        text-align: left;
        line-height: 1.04;
        font-size: 2.2rem;
        max-width: 195px;
    }
    .logo-mark-lg {
        margin-right: 0 !important;
    }
}
