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

:root {
    --primary: hsl(215, 65%, 52%);
    --primary-dark: hsl(215, 70%, 40%);
    --primary-light: hsl(215, 80%, 62%);
    --primary-bg: hsl(215, 65%, 96%);
    --secondary: hsl(152, 55%, 32%);
    --secondary-text: hsl(152, 55%, 28%);
    --secondary-light: hsl(152, 55%, 95%);
    --accent: hsl(38, 92%, 55%);
    --accent-light: hsl(38, 92%, 95%);

    --bg-page: #f7f8fa;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --text-primary: hsl(220, 15%, 18%);
    --text-secondary: hsl(220, 10%, 40%);
    --text-muted: hsl(220, 10%, 46%);
    --border: hsl(220, 15%, 88%);
    --border-focus: var(--primary);

    --gradient-header: linear-gradient(135deg, hsl(215, 70%, 35%) 0%, hsl(170, 50%, 38%) 100%);
    --gradient-btn: linear-gradient(135deg, var(--primary), hsl(190, 65%, 45%));
    --gradient-btn-hover: linear-gradient(135deg, var(--primary-dark), hsl(190, 65%, 38%));

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --transition-fast: 0.15s ease;
    --transition-med: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Placeholder contrast fix */
::placeholder { color: hsl(220, 10%, 50%); opacity: 1; }

/* === Layout === */
.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Header === */
.site-header {
    background: var(--gradient-header);
    color: white;
    padding: 40px 0 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 160%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 80%, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: headerFloat 12s ease-in-out infinite;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.06) 0%, transparent 50%);
    animation: headerFloat 15s ease-in-out infinite reverse;
}

@keyframes headerFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -8px); }
}

.site-header h1 {
    font-size: 2.3rem;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.03em;
    z-index: 1;
}

.site-header .tagline {
    font-size: 1.1rem;
    opacity: 0.92;
    margin-top: 8px;
    position: relative;
    font-weight: 400;
    z-index: 1;
}

.site-header .byline {
    font-size: 0.82rem;
    opacity: 0.8;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.site-header .byline a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* === Trust Badges (below header) === */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 500;
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.trust-badge .badge-icon {
    font-size: 0.9rem;
}

/* === Form Card === */
.form-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, hsl(215, 30%, 97%) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    margin-top: -24px;
    position: relative;
    z-index: 2;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-card h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* === Form Fields === */
.field-group {
    margin-bottom: 20px;
}

.field-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 7px;
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.field-group textarea {
    min-height: 150px;
    resize: vertical;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.example-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.6;
    padding: 12px 16px;
    background: hsl(215, 40%, 97%);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-light);
}

/* === Guided Prompts === */
.guided-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.guided-prompt-btn {
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--primary);
    background: var(--primary-bg);
    border: 1px solid hsl(215, 50%, 85%);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.guided-prompt-btn:hover {
    background: hsl(215, 60%, 92%);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

/* === Tone Selector === */
.tone-selector {
    display: flex;
    gap: 0;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
}

.tone-option {
    flex: 1;
    padding: 10px 8px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--text-secondary);
    background: white;
    border: none;
    border-right: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.tone-option:last-child { border-right: none; }

.tone-option:hover { background: var(--primary-bg); }

.tone-option.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

/* === Mic Button === */
.textarea-wrapper { position: relative; }

.mic-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.mic-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.mic-btn.recording {
    border-color: hsl(4, 65%, 55%);
    background: hsl(4, 65%, 97%);
    color: hsl(4, 65%, 55%);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 hsla(4, 65%, 55%, 0.3); }
    50% { box-shadow: 0 0 0 10px hsla(4, 65%, 55%, 0); }
}

.mic-btn .mic-icon::before { content: '\1F3A4'; }
.mic-btn.recording .mic-icon::before { content: '\23F9'; }

/* === Output Mode Selector === */
.mode-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.mode-card {
    padding: 16px 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: white;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.mode-card.active {
    border-color: var(--primary);
    background: var(--primary-bg);
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: 0 0 0 3px var(--primary-bg), var(--shadow-md);
}

.mode-card .mode-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 28px;
    font-size: 1.08rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: white;
    background: var(--gradient-btn);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: var(--gradient-btn-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(37, 99, 235, 0.2); }

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--primary);
    background: white;
    border: 2px solid hsl(215, 50%, 82%);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.btn-ghost:hover { color: var(--text-primary); }

/* === Progress Section === */
.progress-section { margin: 24px 0; display: none; }
.progress-section.visible { display: block; }

.progress-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 36px;
    text-align: center;
    animation: slideUp 0.4s ease;
}

/* Skeleton loader replaces spinner */
.progress-skeleton {
    max-width: 480px;
    margin: 0 auto 20px;
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, hsl(220, 15%, 92%) 25%, hsl(220, 15%, 87%) 50%, hsl(220, 15%, 92%) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    margin-bottom: 10px;
}

.skeleton-line:nth-child(1) { width: 90%; }
.skeleton-line:nth-child(2) { width: 75%; }
.skeleton-line:nth-child(3) { width: 82%; }
.skeleton-line:nth-child(4) { width: 60%; }

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.progress-bar-track {
    width: 100%;
    max-width: 320px;
    height: 6px;
    background: hsl(220, 15%, 90%);
    border-radius: 3px;
    margin: 20px auto 16px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-card .progress-message {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-card .progress-phase {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Old spinner hidden by default — skeleton used instead */
.progress-card .spinner { display: none; }

/* === Results Section === */
.results-section { margin: 24px 0; display: none; }
.results-section.visible { display: block; animation: slideUp 0.5s ease; }

.result-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.result-card .result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: linear-gradient(135deg, hsl(215, 40%, 97%), hsl(170, 30%, 97%));
    border-bottom: 1px solid var(--border);
}

.result-card .result-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.result-card .result-content {
    padding: 24px;
    line-height: 1.8;
    font-size: 1rem;
}

.result-card .result-content ul, .result-card .result-content ol { padding-left: 22px; }
.result-card .result-content li { margin-bottom: 12px; }
.result-card .result-content h3 { font-size: 1.05rem; color: var(--primary-dark); margin: 18px 0 10px; }
.result-card .result-content h4 { font-size: 0.95rem; color: var(--text-primary); margin: 14px 0 8px; }

/* === Success celebration === */
@keyframes celebrateIn {
    0% { opacity: 0; transform: scale(0.95) translateY(8px); }
    60% { transform: scale(1.01) translateY(-2px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.results-section.visible .result-card { animation: celebrateIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* === Before/After View === */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    animation: slideUp 0.5s ease;
}

.before-panel, .after-panel {
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.6;
}

.before-panel {
    background: hsl(220, 15%, 96%);
    border: 1px solid hsl(220, 15%, 88%);
    color: var(--text-secondary);
}

.before-panel .panel-label, .after-panel .panel-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.before-panel .panel-label { color: var(--text-muted); }
.after-panel .panel-label { color: var(--secondary); }

.after-panel {
    background: var(--secondary-light);
    border: 1px solid hsl(152, 40%, 82%);
    color: var(--text-primary);
}

.copy-btn {
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--primary);
    background: white;
    border: 1px solid hsl(215, 50%, 82%);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

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

.copy-btn.copied {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0.9); }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* === Follow-up Questions === */
.follow-up-card {
    background: var(--secondary-light);
    border: 2px solid hsl(152, 40%, 82%);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    animation: slideUp 0.4s ease 0.2s both;
}

.follow-up-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--secondary-text); margin-bottom: 12px; }
.follow-up-card .question-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.follow-up-card .question-text { font-size: 0.92rem; color: var(--text-primary); flex: 1; }

/* === Export Bar === */
.export-bar { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0; }

/* === Suggestion Box === */
.suggestion-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin: 40px 0;
    border-top: 3px solid var(--secondary);
}

.suggestion-box h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }

.suggestion-box textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-family: var(--font-body);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    resize: vertical;
    margin-bottom: 10px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.suggestion-box textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px var(--secondary-light); }

/* === Footer === */
.site-footer { text-align: center; padding: 28px 0 40px; color: var(--text-muted); font-size: 0.85rem; }
.site-footer a { color: var(--primary); text-decoration: none; }

/* === Reassurance === */
.reassurance { text-align: center; font-size: 0.88rem; color: var(--text-muted); padding: 14px 0; font-style: italic; }

/* === Error === */
.error-message {
    background: hsl(4, 80%, 97%);
    border: 1px solid hsl(4, 60%, 85%);
    color: hsl(4, 60%, 35%);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    margin-bottom: 16px;
    display: none;
    animation: slideUp 0.3s ease;
}

.error-message.visible { display: block; }

/* === File Upload Zone === */
.upload-zone {
    margin-top: 12px;
    padding: 22px;
    border: 2px dashed hsl(220, 15%, 82%);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: hsl(220, 20%, 98%);
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--primary-light);
    background: var(--primary-bg);
    transform: translateY(-1px);
}

.upload-zone .upload-label { font-size: 0.92rem; font-weight: 500; color: var(--text-secondary); }
.upload-zone .upload-sublabel { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.upload-status { margin-top: 8px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; }
.upload-status.success { background: var(--secondary-light); color: hsl(152, 55%, 25%); border: 1px solid hsl(152, 40%, 80%); }
.upload-status.error { background: hsl(4, 80%, 97%); color: hsl(4, 60%, 35%); border: 1px solid hsl(4, 60%, 85%); }
.upload-status.loading { background: var(--primary-bg); color: var(--primary-dark); border: 1px solid hsl(215, 50%, 85%); }

/* === Skip Link === */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    padding: 8px 16px; background: var(--primary); color: white; font-weight: 600;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus { left: 50%; transform: translateX(-50%); }

/* === Header Controls === */
.header-controls { position: absolute; top: 14px; right: 20px; display: flex; gap: 8px; z-index: 2; }

.lang-toggle, .contrast-toggle {
    padding: 6px 12px; font-size: 0.82rem; font-weight: 700; font-family: var(--font-body);
    color: #ffffff; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full); cursor: pointer; transition: all var(--transition-fast);
}
.lang-toggle:hover, .contrast-toggle:hover { background: rgba(255,255,255,0.22); color: white; }

/* === Session Loader === */
.session-loader {
    display: flex; align-items: center; gap: 12px; margin: 20px 0 0;
    padding: 14px 20px; background: var(--bg-card); border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); font-size: 0.9rem; flex-wrap: wrap;
}
.session-loader label { font-weight: 500; color: var(--text-secondary); }

/* === Session Save === */
.session-save { text-align: center; margin: 16px 0; }
.session-code-display { margin-top: 12px; font-size: 1.5rem; font-weight: 700; letter-spacing: 5px; color: var(--primary-dark); font-family: monospace; }
.session-code-display .code-note { display: block; font-size: 0.82rem; font-weight: 400; letter-spacing: normal; color: var(--text-muted); margin-top: 6px; font-family: var(--font-body); }

/* === Counselor Notes === */
.counselor-notes {
    margin: 16px 0; padding: 18px; background: var(--accent-light);
    border: 1px solid hsl(38, 60%, 82%); border-radius: var(--radius-md);
}
.counselor-notes label { display: block; font-size: 0.88rem; font-weight: 600; color: hsl(30, 60%, 30%); margin-bottom: 8px; }
.counselor-notes textarea { width: 100%; min-height: 80px; padding: 10px 12px; font-size: 0.92rem; font-family: var(--font-body); border: 1px solid hsl(38, 60%, 82%); border-radius: var(--radius-sm); resize: vertical; }

/* === Pitch Playback === */
.pitch-playback { text-align: center; margin: 14px 0; padding: 14px; background: var(--primary-bg); border-radius: var(--radius-md); border: 1px solid hsl(215, 50%, 88%); }

/* === High Contrast Mode === */
body.high-contrast {
    --bg-page: #ffffff; --bg-card: #ffffff; --text-primary: #000000; --text-secondary: #1a1a1a; --text-muted: #333333; --border: #000000; --border-focus: #000000;
}
body.high-contrast .site-header { background: #000000; }
body.high-contrast .mode-card { border-width: 3px; }
body.high-contrast .mode-card.active { border-color: #000000; background: #e0e0e0; color: #000000; }
body.high-contrast .btn-primary { background: #000000; }
body.high-contrast *:focus-visible { outline: 3px solid #000000 !important; outline-offset: 2px; }

/* === Counselor Mode Badge === */
.counselor-badge {
    display: inline-block; padding: 3px 10px; font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; color: hsl(30, 60%, 30%);
    background: hsl(38, 80%, 90%); border: 1px solid hsl(38, 60%, 78%);
    border-radius: var(--radius-full); margin-left: 8px; vertical-align: middle;
}

/* === Utility === */
.hidden { display: none !important; }

/* === Focus visible === */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* === Responsive === */
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .form-card { padding: 22px; }
    .field-row { grid-template-columns: 1fr; }
    .mode-selector { grid-template-columns: repeat(2, 1fr); }
    .site-header h1 { font-size: 1.8rem; }
    .export-bar { flex-direction: column; }
    .export-bar .btn-secondary { width: 100%; }
    .before-after { grid-template-columns: 1fr; }
    .trust-bar { gap: 8px; }
    .trust-badge { font-size: 0.72rem; padding: 4px 10px; }
}

/* === Print === */
@media print {
    .site-header, .form-card, .progress-section, .mode-selector,
    .export-bar, .suggestion-box, .site-footer, .follow-up-card,
    .reassurance, .copy-btn, .btn-primary, .btn-ghost, .session-loader,
    .session-save, .counselor-notes, .pitch-playback, .trust-bar,
    .header-controls, .before-after, .tone-selector, .guided-prompts { display: none !important; }
    body { background: white; font-size: 11pt; }
    .result-card { box-shadow: none; border: none; break-inside: avoid; }
    .result-card .result-header { background: none; border-bottom: 2px solid #1a1a1a; }
    .results-section { display: block !important; margin: 0; }
}
