/* ============================================
   VoiceScan — Apple Health / Clinical Design
   ============================================ */

:root {
    --bg: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-card: #ffffff;
    --border: #e5e5ea;
    --border-light: #d1d1d6;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #aeaeb2;
    --accent: #007aff;
    --accent-light: rgba(0, 122, 255, 0.08);
    --danger: #ff3b30;
    --warning: #ff9500;
    --success: #34c759;
    --metabolic: #ff375f;
    --neuro: #5856d6;
    --mental: #ff9500;
    --cardio: #ff3b30;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    --font-sans: -apple-system, 'Inter', BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    --font-mono: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

.screen {
    display: none;
    min-height: 100vh;
    position: relative;
}
.screen.active {
    display: flex;
}

/* ============================================
   Landing Screen — Light Theme
   ============================================ */
#landing {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: #ffffff;
    min-height: 100vh;
    overflow: hidden;
}

.landing-bg {
    display: none;
}

.landing-content {
    max-width: 520px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Animated pulse rings behind mic icon */
.hero-visual {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 2rem;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(79, 125, 245, 0.12);
    animation: pulse-expand 3s ease-out infinite;
}

.pulse-ring.delay-1 { animation-delay: 1s; }
.pulse-ring.delay-2 { animation-delay: 2s; }

@keyframes pulse-expand {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-mic-circle {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f7df5, #6b8ff7);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(79, 125, 245, 0.25);
}

.hero-mic-circle svg {
    width: 36px;
    height: 36px;
    color: #ffffff;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, #4f7df5 0%, #8b6cf6 50%, #44c4d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(0.88rem, 2.2vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Proof stats row */
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.proof-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.proof-label {
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.proof-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.hero-papers {
    margin-top: 1.25rem;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-style: italic;
}

.privacy-note {
    margin-top: 0.85rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* CTA for light landing */
#landing .cta-button {
    background: linear-gradient(135deg, #4f7df5, #6b8ff7);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.95rem 2.5rem;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(79, 125, 245, 0.3);
    transition: all 0.25s ease;
    border: none;
}

#landing .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79, 125, 245, 0.4);
    filter: brightness(1.05);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: var(--accent);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    filter: brightness(1.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

.cta-button.secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.cta-button.secondary:hover {
    background: #ececf0;
    box-shadow: var(--shadow);
}

.cta-button svg {
    width: 18px;
    height: 18px;
}

.mic-icon {
    width: 20px;
    height: 20px;
}

.privacy-note {
    margin-top: 0.85rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   Sex Selection Screen
   ============================================ */
#sex-select {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.sex-select-content {
    max-width: 480px;
    text-align: center;
}

.sex-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.sex-subtitle {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
}

.sex-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.sex-btn {
    flex: 1;
    padding: 1.25rem 1rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: var(--font-sans);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.sex-btn:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow), 0 0 0 3px var(--accent-light);
}

.sex-btn-label {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.sex-btn-detail {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.sex-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ============================================
   Prediction Banner
   ============================================ */
.prediction-banner {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    animation: card-in 0.4s ease;
}

.prediction-banner.risk-low {
    background: rgba(52, 199, 89, 0.06);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.prediction-banner.risk-elevated {
    background: rgba(255, 149, 0, 0.06);
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.prediction-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.prediction-result {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.prediction-result.low { color: var(--success); }
.prediction-result.elevated { color: var(--warning); }

.prediction-probability {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.prediction-probability.low { color: var(--success); }
.prediction-probability.elevated { color: var(--warning); }

.prediction-detail {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 480px;
    margin: 0.4rem auto 0;
}

.prediction-model-info {
    margin-top: 0.6rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.feature-deviation {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    font-size: 0.62rem;
    font-weight: 600;
    margin: 0.15rem;
}

.feature-deviation.closer-healthy {
    background: rgba(52, 199, 89, 0.08);
    color: var(--success);
}

.feature-deviation.closer-diabetic {
    background: rgba(255, 149, 0, 0.08);
    color: var(--warning);
}

/* ============================================
   Recording Screen
   ============================================ */
#recording {
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg);
}

.recording-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
}

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

.rec-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--danger);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rec-dot {
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse-dot 1s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.countdown {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 2ch;
    text-align: right;
}

.recording-instruction {
    color: var(--text-secondary);
    font-size: 0.88rem;
    text-align: center;
}

/* Teleprompter */
.teleprompter {
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    transition: border-color 0.3s;
}

.teleprompter .tp-word {
    display: inline;
    padding: 0.1rem 0.05rem;
    border-radius: 3px;
    transition: color 0.15s ease, background 0.15s ease;
}

.teleprompter .tp-word.spoken {
    color: var(--text-secondary);
}

.teleprompter .tp-word.active {
    color: var(--accent);
    font-weight: 600;
    background: var(--accent-light);
    border-bottom: 2px solid var(--accent);
}

.recording-counter {
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    background: rgba(255, 59, 48, 0.08);
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--danger);
}

/* Transition Screen */
#transition {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: var(--bg);
}

.transition-content {
    text-align: center;
    max-width: 420px;
    animation: card-in 0.4s ease;
}

.transition-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(52, 199, 89, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.transition-check svg {
    width: 32px;
    height: 32px;
    color: var(--success);
}

.transition-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.transition-subtitle {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.transition-countdown {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.viz-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.viz-canvas {
    width: 100%;
    height: 100px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.recording-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.live-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.live-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.live-value {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.live-unit {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* ============================================
   Analysis Screen
   ============================================ */
#analysis {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: var(--bg);
}

.analysis-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.scan-ring {
    position: relative;
    width: 160px;
    height: 160px;
}

.scan-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.scan-track {
    fill: none;
    stroke: var(--border);
    stroke-width: 3;
}

.scan-progress {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 0.3s ease;
}

.scan-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-percent {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.analysis-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.analysis-step {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-family: var(--font-mono);
    animation: fade-step 0.3s ease;
}

@keyframes fade-step {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.analysis-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    max-width: 460px;
}

.feature-pill {
    padding: 0.3rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.feature-pill.extracting {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.feature-pill.done {
    border-color: rgba(0, 122, 255, 0.2);
    color: var(--accent);
    opacity: 0.6;
}

/* ============================================
   Results Screen
   ============================================ */
#results {
    flex-direction: column;
    padding: 2rem 1.5rem 4rem;
    background: var(--bg-secondary);
}

.results-content {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.results-header {
    text-align: center;
    padding: 0.5rem 0 1rem;
}

.results-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.results-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.overview-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    animation: card-in 0.4s ease backwards;
}

.overview-card .card-label {
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.overview-card .card-value {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.overview-card .card-unit {
    font-size: 0.62rem;
    color: var(--text-muted);
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Category Sections */
.category-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    animation: card-in 0.4s ease backwards;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.category-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon svg {
    width: 20px;
    height: 20px;
}

.metabolic-icon { background: rgba(255, 55, 95, 0.08); }
.metabolic-icon svg { stroke: var(--metabolic); }
.neuro-icon { background: rgba(88, 86, 214, 0.08); }
.neuro-icon svg { stroke: var(--neuro); }
.mental-icon { background: rgba(255, 149, 0, 0.08); }
.mental-icon svg { stroke: var(--mental); }
.cardio-icon { background: rgba(255, 59, 48, 0.08); }
.cardio-icon svg { stroke: var(--cardio); }

.category-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
}

.category-header p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.category-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Feature Row */
.feature-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.feature-row-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.feature-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.feature-value-display {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-bar-container {
    position: relative;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: visible;
}

.feature-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
    position: relative;
}

.feature-bar.metabolic-bar { background: var(--metabolic); opacity: 0.7; }
.feature-bar.neuro-bar { background: var(--neuro); opacity: 0.7; }
.feature-bar.mental-bar { background: var(--mental); opacity: 0.7; }
.feature-bar.cardio-bar { background: var(--cardio); opacity: 0.7; }

.feature-range-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: var(--text-muted);
}

.feature-description {
    font-size: 0.73rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.category-citation {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.category-citation a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.category-citation a:hover {
    text-decoration: underline;
}

.reference-marker {
    position: absolute;
    top: -2px;
    width: 1.5px;
    height: 10px;
    background: var(--text-muted);
    border-radius: 1px;
    z-index: 2;
}

.reference-marker::after {
    content: attr(data-label);
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Raw Features */
.raw-features-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.raw-toggle {
    width: 100%;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.raw-toggle:hover {
    background: var(--bg-secondary);
}

.raw-toggle svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: transform 0.25s;
}

.raw-toggle.open svg {
    transform: rotate(180deg);
}

.raw-features-table {
    padding: 0 1.25rem 1.25rem;
}

.raw-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.raw-table th {
    text-align: left;
    padding: 0.5rem 0.6rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
}

.raw-table td {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid var(--bg-secondary);
}

.raw-table td:nth-child(2) {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 500;
}

/* Disclaimer */
.disclaimer-box {
    background: rgba(255, 149, 0, 0.04);
    border: 1px solid rgba(255, 149, 0, 0.15);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.disclaimer-box h4 {
    color: var(--warning);
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.disclaimer-box p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Science Details */
.science-details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.science-details summary {
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: background 0.15s;
}

.science-details summary:hover {
    background: var(--bg-secondary);
}

.science-content {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.science-content ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.science-content li {
    padding-left: 0.85rem;
    border-left: 2px solid var(--accent);
}

.science-content a {
    color: var(--accent);
    text-decoration: none;
}

.science-content a:hover {
    text-decoration: underline;
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 600px) {
    .hero-proof {
        gap: 0.75rem;
    }

    .proof-value {
        font-size: 1.1rem;
    }

    .hero-visual {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .hero-mic-circle svg {
        width: 28px;
        height: 28px;
    }

    .recording-features {
        gap: 1.25rem;
    }

    .viz-canvas {
        height: 80px;
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-section {
        padding: 1rem;
    }

    .sex-buttons {
        flex-direction: column;
    }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}
