/* ===================================================================
   Customer Interview Training — style.css
   InnovationTraining.org
   Design: Editorial Warm — Instrument Serif + Plus Jakarta Sans
   =================================================================== */

/* ===== VARIABLES ===== */
:root {
    --bg:            #FAF8F5;
    --bg-alt:        #F3EDE5;
    --surface:       #FFFFFF;
    --border:        #E4DCD4;
    --border-light:  #EDE8E0;

    --ink:           #1A1210;
    --ink-mid:       #5C524A;
    --ink-muted:     #9A8E84;

    --accent:        #C84A1B;
    --accent-dark:   #A33C14;
    --accent-light:  #E07050;
    --accent-bg:     #FEF0EB;
    --accent-border: #F5C8B5;

    --gold:          #B07B16;
    --gold-light:    #D9A62E;
    --gold-bg:       #FBF5DF;
    --gold-border:   #EDD87A;

    --navy:          #1C3D6E;
    --navy-dark:     #122A4D;
    --navy-bg:       #EBF2FA;
    --navy-border:   #B5CCE8;

    --teal:          #1A6B78;
    --teal-bg:       #E5F5F7;
    --teal-border:   #A8D8DF;

    --font-display:  'Instrument Serif', Georgia, serif;
    --font-body:     'Plus Jakarta Sans', system-ui, sans-serif;

    --r-sm:   6px;
    --r:      12px;
    --r-lg:   20px;
    --r-xl:   32px;
    --r-pill: 100px;

    --shadow-sm:    0 1px 3px rgba(26,18,10,.06), 0 1px 2px rgba(26,18,10,.04);
    --shadow:       0 4px 16px rgba(26,18,10,.08), 0 1px 4px rgba(26,18,10,.04);
    --shadow-lg:    0 8px 32px rgba(26,18,10,.10), 0 2px 8px rgba(26,18,10,.06);
    --shadow-hover: 0 16px 48px rgba(26,18,10,.14), 0 4px 16px rgba(26,18,10,.08);

    --t:  0.2s ease;
    --t2: 0.35s ease;

    --max-w:     1200px;
    --content-w: 780px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ===== BASE ===== */
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle dot grid texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(26,18,10,0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.section { position: relative; z-index: 1; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
}
h4, h5 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h4 { font-size: 1.0625rem; }
h5 { font-size: 0.9375rem; }

p { color: var(--ink-mid); }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; }

cite {
    display: block;
    font-style: normal;
    font-size: 0.875rem;
    color: var(--ink-muted);
    margin-top: 0.5rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all var(--t);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200,74,27,.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.38; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.btn-ghost:hover {
    border-color: var(--ink-mid);
    background: var(--surface);
}
.btn-ghost:disabled { opacity: 0.38; cursor: not-allowed; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(250,248,245,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.header-logo-icon { width: 28px; height: 28px; flex-shrink: 0; }

.site-logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.4rem 0.875rem;
    border-radius: var(--r-pill);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-mid);
    transition: all var(--t);
    text-decoration: none;
}
.nav-link:hover {
    color: var(--ink);
    background: var(--bg-alt);
}

/* ===== HERO ===== */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: calc(100vh - 64px);
    padding: 5rem 2rem 5rem max(2rem, calc(50vw - 580px));
    max-width: calc(var(--max-w) + 4rem);
    margin: 0 auto;
}

.hero-content { max-width: 540px; }

.hero-logo-mark { display: none; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    border-radius: var(--r-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-kw-subtitle {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--ink-mid);
    line-height: 1.65;
    margin-bottom: 0.875rem;
}

.hero-description {
    font-size: 1rem;
    color: var(--ink-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-meta {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    font-weight: 500;
}

/* Hero visual cards */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0.5rem;
}

.visual-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
    transition: transform var(--t2), box-shadow var(--t2);
}

.visual-card:nth-child(2) { margin-left: 2rem; }
.visual-card:nth-child(3) { margin-left: 1rem; }

.visual-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.visual-icon {
    font-size: 1.375rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-bg);
    border-radius: var(--r-sm);
}

.visual-card p {
    font-size: 0.9375rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ===== ASSESSMENT ===== */
#assessment-wrapper {
    padding: 4rem 1.5rem;
    background: var(--bg-alt);
    min-height: 60vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.assessment-container {
    width: 100%;
    max-width: 640px;
}

.assessment-header { margin-bottom: 1.75rem; }

.assess-progress {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.875rem;
}

.assess-progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

.assess-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.assess-dim {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.assess-count {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    font-weight: 500;
}

.question-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    margin-bottom: 1.25rem;
}

.question-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 400;
}

.likert-scale { margin-top: 0; }

.likert-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.625rem;
}

.likert-labels span {
    font-size: 0.6875rem;
    color: var(--ink-muted);
    font-weight: 600;
    text-align: center;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.likert-buttons {
    display: flex;
    gap: 0.5rem;
}

.likert-btn {
    flex: 1;
    aspect-ratio: 1;
    border-radius: var(--r);
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--ink-mid);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--t);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.likert-btn:hover {
    border-color: var(--accent-light);
    color: var(--accent);
    background: var(--accent-bg);
}

.likert-btn.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(200,74,27,.30);
}

.insight-box {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--gold-bg);
    border-left: 3px solid var(--gold-light);
    border-radius: 0 var(--r) var(--r) 0;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.insight-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.insight-box p:not(.insight-label) {
    font-size: 0.9375rem;
    color: var(--ink-mid);
    line-height: 1.65;
    margin: 0;
}

.assess-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.assess-nav .btn { flex: 1; justify-content: center; }

/* ===== RESULTS ===== */
#results-wrapper {
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
}

.results-container {
    max-width: var(--content-w);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.results-header {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.score-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--accent-bg);
}

.score-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
}

.score-denom {
    font-size: 0.625rem;
    color: var(--ink-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.level-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: var(--r-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.level-novice     { background: var(--navy-bg);   color: var(--navy); }
.level-developing { background: var(--gold-bg);   color: var(--gold); }
.level-proficient { background: var(--accent-bg); color: var(--accent); }
.level-expert     { background: var(--teal-bg);   color: var(--teal); }

.results-header h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.results-header p  { max-width: 500px; margin: 0 auto; font-size: 1rem; }

/* Dimension bars */
.dim-bars {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.dim-bars h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.dim-row {
    display: grid;
    grid-template-columns: 155px 1fr 52px;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.dim-row:last-child { margin-bottom: 0; }

.dim-label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }

.dim-track {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.dim-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
}

.dim-fill-preparation { background: var(--accent); }
.dim-fill-mindset     { background: var(--navy); }
.dim-fill-listening   { background: var(--teal); }
.dim-fill-synthesis   { background: var(--gold-light); }

.dim-score { font-size: 0.8125rem; font-weight: 600; color: var(--ink-muted); text-align: right; }

/* Results callouts */
.results-callouts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.callout-card {
    padding: 1.75rem;
    border-radius: var(--r-lg);
    border: 1px solid;
}

.callout-card.strength { background: var(--gold-bg);  border-color: var(--gold-border); }
.callout-card.focus    { background: var(--navy-bg);  border-color: var(--navy-border); }

.callout-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.callout-card.strength .callout-label { color: var(--gold); }
.callout-card.focus    .callout-label { color: var(--navy); }

.callout-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.callout-desc {
    font-size: 0.9375rem;
    color: var(--ink-mid);
    line-height: 1.6;
    margin-bottom: 0.875rem;
}

.jump-btn {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: opacity var(--t);
}
.jump-btn:hover { opacity: 0.7; }

/* Results CTA */
.results-cta {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.results-cta > p {
    font-size: 1rem;
    color: var(--ink-mid);
    margin-bottom: 1.25rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.results-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Resume banner */
.resume-banner {
    margin-top: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--accent-border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.resume-banner p {
    font-size: 0.9375rem;
    color: var(--ink-mid);
    margin-bottom: 1rem;
}

.resume-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-resume {
    padding: 0.5rem 1.25rem;
    border-radius: var(--r-pill);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--t);
    border: 2px solid transparent;
}

.btn-resume-yes { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-resume-yes:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-resume-no  { background: transparent; color: var(--ink-mid); border-color: var(--border); }
.btn-resume-no:hover { border-color: var(--ink-mid); }

/* ===== GUIDE SECTION ===== */
.guide-section {
    padding: 5rem 2rem;
    max-width: calc(var(--max-w) + 4rem);
    margin: 0 auto;
    border-top: 1px solid var(--border);
}

.guide-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.section-subtitle { font-size: 1.0625rem; color: var(--ink-mid); }

/* Tab nav */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.125rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
}

.tab-btn {
    padding: 0.625rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-muted);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all var(--t);
    font-family: var(--font-body);
    border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.tab-btn:hover { color: var(--ink); background: var(--bg-alt); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* Tab panels */
.tab-content { max-width: var(--content-w); margin: 0 auto; }

.tab-panel h3 { font-size: 1.75rem; margin-bottom: 1rem; }

.tab-panel p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--ink-mid);
}

.tab-panel h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2rem 0 0.875rem;
}

.tab-panel h5 { font-size: 0.9375rem; font-weight: 700; }

.tab-panel ul,
.tab-panel ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.tab-panel ul { list-style: disc; }
.tab-panel ol { list-style: decimal; }

.tab-panel li {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: var(--ink-mid);
    line-height: 1.65;
}

/* ===== GUIDE CONTENT COMPONENTS ===== */

/* Stat highlight */
.stat-highlight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    border-radius: var(--r-lg);
    margin: 1.5rem 0;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--accent);
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
}

.stat-text p  { font-size: 1rem; color: var(--ink-mid); margin: 0 0 0.25rem; }
.stat-text cite { font-size: 0.8125rem; color: var(--ink-muted); }

/* Quote block */
.quote-block {
    padding: 1.75rem 2rem;
    border-left: 4px solid var(--accent);
    background: var(--surface);
    border-radius: 0 var(--r) var(--r) 0;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

.quote-block p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--ink);
    margin: 0 0 0.5rem;
}

/* Learn grid */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.learn-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.25rem;
    transition: all var(--t);
}

.learn-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.learn-icon { font-size: 1.5rem; display: block; margin-bottom: 0.625rem; }
.learn-card h5 { margin-bottom: 0.4rem; }
.learn-card p  { font-size: 0.875rem; margin: 0; }

/* Resource link card */
.resource-link-card {
    background: var(--navy-bg);
    border: 1px solid var(--navy-border);
    border-radius: var(--r);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.25rem 0;
    flex-wrap: wrap;
}

.resource-link-card p {
    font-size: 0.9375rem;
    color: var(--navy);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.resource-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.125rem;
    background: var(--navy);
    color: #fff;
    border-radius: var(--r-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--t);
    flex-shrink: 0;
}

.resource-link-btn:hover {
    background: var(--navy-dark);
    transform: translateX(2px);
}

/* Step cards */
.step-card {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.step-num {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    flex-shrink: 0;
    align-self: flex-start;
}

.step-body h4 { margin-top: 0; margin-bottom: 0.625rem; }
.step-body p, .step-body ul, .step-body ol { font-size: 0.9375rem; }

/* Template box */
.template-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.125rem 1.25rem;
    margin: 0.875rem 0;
}

.template-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.625rem;
}

.template-box p {
    font-size: 0.875rem;
    color: var(--ink-mid);
    margin-bottom: 0.35rem;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

.template-box p:last-child { margin-bottom: 0; }

/* Principle card */
.principle-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--gold-bg);
    border: 1px solid var(--gold-border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    margin: 1.25rem 0;
}

.principle-icon { font-size: 1.75rem; flex-shrink: 0; }
.principle-card h4 { margin-top: 0; margin-bottom: 0.375rem; }
.principle-card p  { font-size: 0.9375rem; margin: 0; }

/* Question grid */
.question-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.question-example {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1rem 1.125rem;
    font-size: 0.9rem;
    color: var(--ink);
    font-style: italic;
    font-family: var(--font-display);
    line-height: 1.4;
    transition: all var(--t);
}

.question-example:hover {
    border-color: var(--accent-light);
    background: var(--accent-bg);
}

/* Rules grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.rule-card {
    border-radius: var(--r);
    padding: 1.25rem;
    border: 1px solid;
}

.rule-card h5 { margin-bottom: 0.4rem; }
.rule-card p  { font-size: 0.875rem; margin: 0; }

.rule-do   { background: var(--teal-bg); border-color: var(--teal-border); }
.rule-do h5 { color: var(--teal); }

.rule-dont { background: #FEF2F2; border-color: #FECACA; }
.rule-dont h5 { color: #B91C1C; }

/* Before/After examples */
.ba-examples {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.25rem 0;
}

.ba-example {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.ba-bad {
    padding: 1rem 1.25rem;
    background: #FEF2F2;
    border-bottom: 1px solid #FECACA;
    font-size: 0.9375rem;
    color: #7F1D1D;
    font-style: italic;
}

.ba-good {
    padding: 1rem 1.25rem;
    background: var(--teal-bg);
    border-bottom: 1px solid var(--teal-border);
    font-size: 0.9375rem;
    color: #134e4a;
    font-style: italic;
}

.ba-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    opacity: 0.8;
}

.ba-why {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: var(--ink-mid);
    margin: 0;
    font-style: normal;
}

/* TEDW grid */
.tedw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.tedw-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}

.tedw-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: var(--accent-bg);
}

.tedw-letter {
    font-family: var(--font-display);
    font-size: 3.25rem;
    color: var(--accent);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tedw-card h5 { margin-bottom: 0.5rem; }

.tedw-card p {
    font-size: 0.8125rem;
    color: var(--ink-mid);
    margin: 0;
    font-style: italic;
    line-height: 1.55;
}

/* Listen list */
.listen-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin: 1rem 0;
}

.listen-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 0.875rem 1.125rem;
}

.listen-icon { font-size: 1.125rem; flex-shrink: 0; margin-top: 0.1em; }
.listen-item div { font-size: 0.9375rem; color: var(--ink-mid); }
.listen-item strong { color: var(--ink); }

/* Pitfall list */
.pitfall-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.pitfall {
    padding: 0.75rem 1rem;
    background: #FEF2F2;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    color: #7F1D1D;
    border-left: 3px solid #FCA5A5;
}

.pitfall-good {
    background: var(--teal-bg);
    color: var(--teal);
    border-left-color: var(--teal-border);
}

/* HMW example */
.hmw-example {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin: 1.25rem 0;
}

.hmw-insight {
    padding: 1rem 1.25rem;
    background: var(--bg-alt);
    font-size: 0.9375rem;
    color: var(--ink-mid);
    border-bottom: 1px solid var(--border);
}

.hmw-arrow {
    text-align: center;
    padding: 0.5rem;
    font-size: 1.25rem;
    color: var(--ink-muted);
    border-bottom: 1px solid var(--border);
}

.hmw-question {
    padding: 1rem 1.25rem;
    background: var(--accent-bg);
    font-size: 0.9375rem;
    color: var(--accent-dark);
    font-weight: 500;
}

/* Quick reference grid */
.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.25rem 0;
}

.ref-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.ref-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.ref-card ul { list-style: none; padding: 0; }
.ref-card ol { padding-left: 1.25rem; }

.ref-card li {
    font-size: 0.875rem;
    color: var(--ink-mid);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.ref-note { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--ink-muted); font-style: italic; }
.ref-quote { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--accent); margin-top: 0.75rem; }

.ref-card-highlight {
    background: var(--ink);
    border-color: var(--ink);
}

.ref-card-highlight h4 { color: #fff; border-color: rgba(255,255,255,.15); }
.ref-card-highlight p,
.ref-card-highlight li { color: rgba(255,255,255,.65); }
.ref-card-highlight .ref-quote { color: var(--accent-light); }

/* Checklist + don't list */
.checklist { list-style: none; padding: 0; }

.checklist li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.875rem;
    color: var(--ink-mid);
    margin-bottom: 0.5rem;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

.dont-list { list-style: none; padding: 0; }
.dont-list li { font-size: 0.875rem; color: #7F1D1D; margin-bottom: 0.5rem; }

/* ===== FAQ SECTION ===== */
.faq-section {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 5rem 2rem;
}

.faq-header { text-align: center; margin-bottom: 3rem; }

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color var(--t);
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--ink-muted);
    transition: transform var(--t), color var(--t);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.open .faq-icon  { transform: rotate(45deg); color: var(--accent); }
.faq-item.open .faq-question { color: var(--accent); }

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner { min-height: 0; overflow: hidden; }

.faq-answer-inner p {
    font-size: 0.9375rem;
    color: var(--ink-mid);
    line-height: 1.7;
    padding-bottom: 1.25rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--ink);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -8%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.06;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--gold-light);
    opacity: 0.04;
    pointer-events: none;
}

.cta-content {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.6);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    display: block;
}

.cta-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.cta-link-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    text-align: left;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--t);
    color: inherit;
}

.cta-link-card:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.22);
    transform: translateY(-2px);
}

.cta-link-icon { font-size: 1.5rem; flex-shrink: 0; }
.cta-link-card strong { display: block; font-size: 0.9375rem; font-weight: 600; color: #fff; margin-bottom: 0.25rem; }
.cta-link-card p  { font-size: 0.8125rem; color: rgba(255,255,255,.5); margin: 0; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: var(--max-w);
    margin: 0 auto 1.5rem;
    flex-wrap: wrap;
}

.footer-brand a {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--ink);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-brand a:hover { color: var(--accent); }
.footer-brand p { font-size: 0.8125rem; color: var(--ink-muted); margin: 0; }

.footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color var(--t);
}

.footer-links a:hover { color: var(--accent); }

.footer-note {
    max-width: var(--max-w);
    margin: 0 auto;
    font-size: 0.8125rem;
    color: var(--ink-muted);
    line-height: 1.65;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

/* ===== PRINT VIEW ===== */
@media screen { #print-view { display: none; } }

@media print {
    body > *:not(#print-view) { display: none !important; }
    #print-view { display: block; }

    .pv-page {
        padding: 1.8cm;
        page-break-after: always;
        font-family: Georgia, serif;
        color: #1A1210;
    }

    .pv-page-break { page-break-before: always; }

    .pv-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2pt solid #C84A1B;
        padding-bottom: 10pt;
        margin-bottom: 20pt;
    }

    .pv-brand-area { display: flex; align-items: center; gap: 6pt; }
    .pv-brand { font-size: 11pt; font-weight: 700; }
    .pv-tagline { font-size: 9pt; color: #5C524A; margin-left: 10pt; }
    .pv-date { font-size: 9pt; color: #9A8E84; }

    .pv-hero { margin-bottom: 20pt; }
    .pv-main-title { font-size: 22pt; font-weight: 400; margin-bottom: 4pt; }
    .pv-subtitle { font-size: 11pt; color: #5C524A; }

    .pv-score-row {
        display: flex;
        gap: 20pt;
        align-items: flex-start;
        margin-bottom: 20pt;
    }

    .pv-score-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 14pt;
        border: 2.5pt solid #C84A1B;
        border-radius: 6pt;
        min-width: 90pt;
    }

    .pv-score-number { font-size: 34pt; color: #C84A1B; font-weight: 400; line-height: 1; }
    .pv-score-label  { font-size: 8pt; color: #9A8E84; margin-top: 2pt; }

    .pv-level-box { flex: 1; }
    .pv-level-badge {
        display: inline-block;
        padding: 3pt 8pt;
        background: #FEF0EB;
        color: #C84A1B;
        border-radius: 20pt;
        font-size: 8pt;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 6pt;
    }
    .pv-level-desc { font-size: 10pt; color: #5C524A; line-height: 1.5; }

    .pv-section-heading { font-size: 13pt; font-weight: 700; margin-bottom: 10pt; }

    .pv-dims-section { margin-bottom: 20pt; }

    .pv-dim-row { display: flex; align-items: center; gap: 8pt; margin-bottom: 7pt; }
    .pv-dim-name  { font-size: 9pt; width: 100pt; font-weight: 600; }
    .pv-dim-bar-track { flex: 1; height: 7pt; background: #E4DCD4; border-radius: 4pt; overflow: hidden; }
    .pv-dim-bar  { height: 100%; background: #C84A1B; border-radius: 4pt; }
    .pv-dim-score { font-size: 9pt; color: #9A8E84; width: 28pt; text-align: right; }

    .pv-callout-row { display: flex; gap: 10pt; margin-bottom: 20pt; }
    .pv-callout { flex: 1; padding: 10pt; border-radius: 6pt; }
    .pv-callout-strength { background: #FBF5DF; border: 1pt solid #EDD87A; }
    .pv-callout-focus    { background: #EBF2FA; border: 1pt solid #B5CCE8; }
    .pv-callout-label { font-size: 7.5pt; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3pt; color: #9A8E84; }
    .pv-callout-title { font-size: 12pt; font-weight: 700; margin-bottom: 5pt; }
    .pv-callout p { font-size: 9pt; color: #5C524A; }

    .pv-tips-intro { font-size: 10pt; color: #5C524A; margin-bottom: 10pt; }

    .pv-tips-grid { display: flex; flex-wrap: wrap; gap: 8pt; margin-bottom: 20pt; }

    .pv-tip-card {
        flex: 1;
        min-width: 150pt;
        padding: 9pt;
        background: #FAF8F5;
        border: 1pt solid #E4DCD4;
        border-radius: 5pt;
    }

    .pv-tip-header { display: flex; justify-content: space-between; margin-bottom: 5pt; }
    .pv-tip-dim   { font-size: 9pt; font-weight: 700; }
    .pv-tip-score { font-size: 9pt; color: #9A8E84; }
    .pv-tip-text  { font-size: 9pt; color: #5C524A; line-height: 1.5; }

    .pv-tedw-row { display: flex; gap: 8pt; margin-bottom: 14pt; }
    .pv-tedw-item { flex: 1; padding: 7pt; background: #FAF8F5; border-radius: 5pt; display: flex; align-items: flex-start; gap: 5pt; }
    .pv-tedw-letter { font-size: 18pt; font-weight: 400; color: #C84A1B; line-height: 1; }
    .pv-tedw-item div { font-size: 9pt; color: #5C524A; }

    .pv-checklists { display: flex; gap: 10pt; margin-bottom: 14pt; }
    .pv-checklist-col { flex: 1; }
    .pv-checklist-heading { font-size: 10pt; font-weight: 700; margin-bottom: 5pt; }
    .pv-check-list   { font-size: 8.5pt; color: #5C524A; line-height: 1.6; list-style: disc; padding-left: 11pt; }
    .pv-starter-list { font-size: 8.5pt; color: #5C524A; line-height: 1.6; list-style: decimal; padding-left: 11pt; }

    .pv-footer-note { margin-top: 14pt; padding-top: 8pt; border-top: 1pt solid #E4DCD4; font-size: 8pt; color: #9A8E84; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 3rem 1.5rem;
        gap: 2.5rem;
    }

    .hero-content { max-width: 100%; }

    .visual-card:nth-child(2),
    .visual-card:nth-child(3) { margin-left: 0; }

    .results-callouts { grid-template-columns: 1fr; }

    .dim-row {
        grid-template-columns: 120px 1fr 44px;
        gap: 0.75rem;
    }

    .guide-section { padding: 3rem 1.5rem; }
    .faq-section   { padding: 3rem 1.5rem; }
}

@media (max-width: 600px) {
    .site-header { padding: 0.875rem 1.25rem; }

    .header-nav .nav-link:not(:last-child) { display: none; }

    .hero-title { font-size: 2.1rem; }

    .question-card { padding: 1.5rem; }

    .step-card { grid-template-columns: 1fr; }
    .step-num  { margin-bottom: 0.5rem; }

    .tab-nav { gap: 0; }
    .tab-btn { font-size: 0.8125rem; padding: 0.5rem 0.75rem; }

    .ref-grid   { grid-template-columns: 1fr; }
    .cta-links  { grid-template-columns: 1fr; }

    .footer-content { flex-direction: column; gap: 1.25rem; }

    .assess-nav { flex-direction: column-reverse; }

    .results-cta-actions { flex-direction: column; }
    .results-cta-actions .btn { width: 100%; justify-content: center; }

    .stat-highlight { flex-direction: column; gap: 0.75rem; }

    .dim-row { grid-template-columns: 100px 1fr 40px; }
}
