:root {
    color-scheme: dark;
    --bg-void: #020205;
    --glass-panel: rgba(12, 12, 16, 0.45);
    --glass-border: rgba(255, 255, 255, 0.04);
    
    --text-primary: #f2f2f7;
    --text-muted: #8e8e93;
    
    --accent-gold: #e2c079;
    --accent-gold-dim: rgba(226, 192, 121, 0.15);
    --accent-cyan: #5ac8fa;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ==========================
   Base
   ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* ==========================
   Background Canvas
   ========================== */
#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
    background: radial-gradient(circle at 15% 50%, rgba(20, 20, 25, 0.8) 0%, var(--bg-void) 70%);
}

/* ==========================
   Layout — hero fills viewport, FAQ flows below
   ========================== */
main.layout-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8vw;
    width: 100%;
    max-width: 1440px;
    padding: 6vh 5vw;
    align-items: center;
    min-height: 100vh;
}

/* ==========================
   Loading Overlay
   ========================== */
.loading-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-void);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.overlay-spinner {
    width: 36px; height: 36px;
    border: 1px solid rgba(226, 192, 121, 0.15);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}
@keyframes spinLoader { to { transform: rotate(360deg); } }

/* ==========================
   Left Kicker & Typography
   ========================== */
.typo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.kicker .dot {
    width: 6px; height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
    animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse { 0%, 100% { opacity: 0.6; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 15px var(--accent-gold); } }

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: var(--text-primary);
}
.main-title .muted {
    color: rgba(255,255,255,0.4);
    font-weight: 300;
}
.main-title .gold-accent {
    font-weight: 500;
    background: linear-gradient(100deg, #fff, var(--accent-gold) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(226, 192, 121, 0.15));
}

.subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.tech-specs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}
.tech-specs .arr { color: var(--accent-gold); opacity: 0.8; margin-right: 8px; }

.schematic {
    margin-top: 3.5rem;
    width: 140px;
    height: 140px;
    opacity: 0.6;
    animation: rotateSlow 80s linear infinite;
    transform-origin: center;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

/* D1 Rashi chart preview — communicates product instead of mood */
.d1-preview {
    margin: 3rem 0 0;
    width: 180px;
    opacity: 0.92;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.d1-preview:hover { opacity: 1; transform: translateY(-2px); }
.d1-preview svg { width: 100%; height: auto; display: block; }
.d1-preview figcaption {
    margin-top: 0.75rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: rgba(226, 192, 121, 0.5);
    text-transform: uppercase;
}

/* ==========================
   Right Glass Terminal Form
   ========================== */
.terminal-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-terminal {
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, rgba(20, 20, 24, 0.45) 0%, rgba(5, 5, 7, 0.8) 100%);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem 2.8rem;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9),
                inset 0 0 60px rgba(255, 255, 255, 0.01);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-header { margin-bottom: 2.5rem; }
.terminal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}
.terminal-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ── Animated Step Guide (Left Column Micro-copy) ── */
.steps-guide {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    animation: stepFadeIn 0.5s forwards;
}
.step-item[data-step="1"] { animation-delay: 0.3s; }
.step-item[data-step="2"] { animation-delay: 0.6s; }
.step-item[data-step="3"] { animation-delay: 0.9s; }
@keyframes stepFadeIn { to { opacity: 1; transform: translateX(0); } }
.step-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-gold);
    min-width: 22px;
    opacity: 0.7;
}
.step-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── Minimalist Floating Inputs ── */
.input-float {
    position: relative;
    margin-bottom: 1.8rem;
    width: 100%;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.input-float input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 0.8rem 0 0.4rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.input-float input:focus, .input-float input:not(:placeholder-shown) {
    border-bottom-color: var(--accent-gold);
}

.input-float label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-float input:focus ~ label,
.input-float input:not(:placeholder-shown) ~ label,
.input-float label.always-up {
    top: -8px;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    color: var(--accent-gold);
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.5);
    cursor: pointer;
}

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

/* ── Field-level Inline Errors ── */
.field-error {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #ff6b6b;
    margin-top: 4px;
    min-height: 16px;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.field-error.visible {
    opacity: 1;
}
.input-float.has-error input {
    border-bottom-color: #ff6b6b !important;
}
@keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-4px); }
    75%       { transform: translateX(4px); }
}
.input-float.has-error {
    animation: inputShake 0.3s ease;
}

/* ── Cyber Button ── */
.cyber-btn {
    width: 100%;
    padding: 1.1rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex; justify-content: center; align-items: center;
}
.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(226, 192, 121, 0.1), transparent);
    transition: left 0.6s ease;
}
.cyber-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(226, 192, 121, 0.4);
    box-shadow: 0 0 20px rgba(226, 192, 121, 0.1);
    color: #fff;
}
.cyber-btn:hover::before { left: 100%; }
.cyber-btn:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

.primary-action {
    background: rgba(226, 192, 121, 0.08);
    border-color: rgba(226, 192, 121, 0.3);
    color: var(--accent-gold);
}
.primary-action:hover {
    background: rgba(226, 192, 121, 0.15);
    border-color: rgba(226, 192, 121, 0.6);
}

.view-3d-btn {
    background: linear-gradient(135deg, rgba(212,175,55,0.12) 0%, rgba(180,140,30,0.06) 100%);
    border-color: rgba(212,175,55,0.35);
    color: var(--accent-gold);
}
.view-3d-btn:hover {
    background: linear-gradient(135deg, rgba(212,175,55,0.22) 0%, rgba(180,140,30,0.12) 100%);
    border-color: rgba(212,175,55,0.65);
    box-shadow: 0 0 20px rgba(212,175,55,0.2);
}

.secondary-action {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ── Minimal Instructions ── */
.instructions-minimal {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ── Status Handlers ── */
.hidden { display: none !important; }

/* ── Wireframe Loader (Calculation Sequence) ── */
.processing-state { width: 100%; align-items: center; justify-content: center; min-height: 280px; }
.processing-state, .success-state {
    display: flex; flex-direction: column; align-items: center;
    animation: fadeIn 0.4s ease forwards;
}

.wireframe-loader {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    position: relative;
}
.wireframe-loader svg { width: 100%; height: 100%; top: 0; left: 0; position: absolute; }
.spin-3d { animation: spin3D 8s linear infinite; }
.spin-reverse { animation: spinRev 4s linear infinite; transform-origin: center; }
@keyframes spin3D { 100% { transform: rotateY(360deg) rotateZ(360deg); } }
@keyframes spinRev { 100% { transform: rotate(-360deg); } }

.blueprint-viz-container {
    width: 100%; max-width: 300px;
    height: 260px;
    display: flex; justify-content: center; align-items: center;
    margin: 1rem 0 2rem;
    position: relative;
}
#blueprint-canvas {
    width: 100%; height: 100%;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.processing-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.terminal-logs {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    height: 90px;
    overflow-y: hidden;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 0;
    text-align: center;
}
.terminal-logs li:last-child { color: var(--accent-gold); font-weight: 500; text-shadow: 0 0 5px var(--accent-gold); }

/* Success */
.success-state h3 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 0.3rem; text-align: center; width: 100%; }
.success-subtitle { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 1rem; text-align: center; width: 100%; }

.payload-box {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    margin-bottom: 2rem;
}
.file-name { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-cyan); }
.file-size { font-size: 0.7rem; color: var(--text-muted); }

/* URL share */
.chart-url-card { width: 100%; margin-bottom: 1rem; }
.url-card-label { font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.url-row { display: flex; gap: 8px; align-items: center; }
.url-text { flex: 1; font-family: var(--font-mono); font-size: 0.75rem; background: rgba(0,0,0,0.4); padding: 0.6rem; border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,0.6); }
.copy-url-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary); border-radius: 4px; padding: 0.55rem; cursor: pointer; transition: background 0.2s; }
.copy-url-btn:hover { background: rgba(255,255,255,0.1); color: var(--accent-gold); }

/* Launchers */
.ai-launch-section { margin-top: 2.5rem; width: 100%; }
.launch-title { font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.8rem; }
.ai-launchers { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ai-btn { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 0.7rem; border-radius: 6px; color: rgba(255,255,255,0.6); font-family: var(--font-body); font-size: 0.8rem; cursor: pointer; transition: all 0.2s; }
.ai-btn:hover { border-color: rgba(255,255,255,0.2); color: #fff; background: rgba(255,255,255,0.05); }

/* Ghost & Links */
.ghost-btn, .plain-link {
    background: transparent; border: none; font-family: var(--font-mono); font-size: 0.75rem;
    color: var(--text-muted); cursor: pointer; text-decoration: none; width: 100%; text-align: center;
    transition: color 0.2s;
}
.ghost-btn:hover, .plain-link:hover { color: #fff; }
.plain-link { text-align: left; opacity: 0.6; }

/* ── Location Suggests ── */
.location-group { position: relative; }
.suggestions { position: absolute; top: 100%; left: 0; width: 100%; background: #0c0c0e; border: 1px solid rgba(255,255,255,0.1); z-index: 100; max-height: 200px; overflow-y: auto; list-style: none; border-radius: 4px; padding: 0.5rem 0; margin-top: 4px; }
.suggestions li { padding: 0.6rem 1rem; font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255,255,255,0.6); cursor: pointer; }
.suggestions li:hover { background: rgba(255,255,255,0.05); color: #fff; }

/* ── Chat Overlay ── */
.chat-overlay { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 1.5rem; animation: fadeIn 0.2s ease; }
.chat-panel { width: 100%; max-width: 800px; height: 90vh; background: rgba(5,5,7,0.92); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.9), inset 0 0 50px rgba(212, 175, 55, 0.03); }
.chat-header { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.8rem; border-bottom: 1px solid rgba(212, 175, 55, 0.1); background: rgba(212, 175, 55, 0.02); }
.chat-context-badge { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 0.1em; }
.status-dot { width: 6px; height: 6px; background: var(--accent-gold); border-radius: 50%; box-shadow: 0 0 8px var(--accent-gold); animation: pulse 2s infinite; }
.model-select { background: transparent; border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); font-family: var(--font-mono); font-size: 0.7rem; padding: 0.4rem; border-radius: 4px; outline: none; }
.chat-close-btn { background: transparent; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; margin-left: 1rem; transition: color 0.2s; }
.chat-close-btn:hover { color: var(--accent-gold); }

.chat-messages { flex: 1; overflow-y: auto; padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; scroll-behavior: smooth; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.2); border-radius: 4px; }

.chat-msg { max-width: 85%; padding: 1.2rem; font-size: 0.95rem; line-height: 1.7; font-family: var(--font-mono); animation: typewriterFadeIn 0.5s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.progress-bar-container {
    width: 100%; height: 2px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 2px;
}
.progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent-gold), #fff8e7);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-gold);
    border-radius: 2px;
}

/* ── Premium Error State Panel ── */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
    animation: fadeIn 0.4s ease forwards;
}
.error-icon {
    width: 52px; height: 52px;
    color: #ff6b6b;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 12px rgba(255, 107, 107, 0.4));
}
.error-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
}
.error-message {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: rgba(255, 107, 107, 0.7);
    line-height: 1.6;
    max-width: 340px;
}
@keyframes typewriterFadeIn { from { opacity: 0; transform: translateY(4px); filter: blur(2px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }

.chat-msg.user { background: rgba(255,255,255,0.03); align-self: flex-end; border-radius: 8px; border-bottom-right-radius: 0; color: rgba(255,255,255,0.7); }
.chat-msg.assistant { background: transparent; align-self: flex-start; padding-left: 1rem; border-left: 2px solid var(--accent-gold); border-radius: 0; color: var(--accent-gold); text-shadow: 0 0 8px rgba(212, 175, 55, 0.3); }
.chat-msg.system-notice { align-self: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); background: transparent; padding: 0.5rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.5; }

.chat-input-area { padding: 1.5rem 1.8rem; border-top: 1px solid rgba(212, 175, 55, 0.1); background: rgba(0,0,0,0.3); }
.chat-input-row { display: flex; align-items: flex-end; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.8rem; transition: border-color 0.3s; }
.chat-input-row:focus-within { border-color: var(--accent-gold); }
#chat-input { flex: 1; background: transparent; border: none; color: var(--accent-gold); font-family: var(--font-mono); font-size: 0.95rem; outline: none; resize: none; max-height: 150px; line-height: 1.5; }
#chat-input::placeholder { color: rgba(255,255,255,0.2); }
.chat-send-btn { background: transparent; border: none; color: var(--accent-gold); cursor: pointer; padding: 0.2rem; transition: transform 0.2s, filter 0.2s; }
.chat-send-btn:hover { transform: scale(1.1); filter: drop-shadow(0 0 5px var(--accent-gold)); }
.chat-powered-by { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); margin-top: 0.8rem; text-align: right; }
.chat-powered-by a { color: var(--accent-gold); text-decoration: none; }

/* ── Toast ── */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); background: #fff; color: #000; font-family: var(--font-mono); font-size: 0.75rem; padding: 0.8rem 1.2rem; border-radius: 4px; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); font-weight: 500; }
.toast.fade-out { opacity: 0; transition: opacity 0.3s; }

/* ==========================
   Responsive Architecture
   ========================== */
@media (max-width: 1024px) {
    main.layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 8vh 5vw 10vh;
        text-align: center;
        min-height: unset;
    }
    .typo-section {
        margin: 0 auto;
        align-items: center;
    }
    .subtitle {
        text-align: center;
        margin: 0 auto 2.5rem;
    }
    .tech-specs {
        align-items: center;
    }
    .schematic {
        display: none; /* Hide schematic on tablet/mobile for a cleaner look */
    }
    .terminal-section {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .glass-terminal {
        padding: 2.5rem 1.8rem;
        border-radius: 16px;
    }
    .main-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin-bottom: 1.5rem;
    }
    .kicker {
        font-size: 0.6rem;
    }
    .chat-panel {
        height: 95vh;
        border-radius: 8px;
    }
    .chat-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    .chat-header-controls {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .chat-msg {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    main.layout-grid {
        padding: 4vh 4vw 8vh;
    }
    .glass-terminal {
        padding: 1.8rem 1.2rem;
        border-radius: 12px;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .main-title {
        font-size: 2.2rem;
    }
    .subtitle {
        font-size: 0.95rem;
    }
    .cyber-btn {
        padding: 1rem;
    }
    .terminal-header h2 {
        font-size: 1.3rem;
    }
    .ai-launchers {
        grid-template-columns: 1fr; /* Stack buttons vertically */
    }
    .chat-overlay {
        padding: 0.5rem;
    }
    .chat-input-row {
        flex-direction: column;
        align-items: stretch;
    }
    .chat-send-btn {
        align-self: flex-end;
        padding: 0.6rem 1rem;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 4px;
        margin-top: 0.5rem;
    }
    .blueprint-viz-container {
        height: 220px;
    }
}

/* ═══════════════════════════════════════
   Saved Profiles Panel
   ═══════════════════════════════════════ */
.profiles-trigger {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    background: rgba(6, 6, 14, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    color: rgba(212, 175, 55, 0.85);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    backdrop-filter: blur(16px);
    transition: all 0.2s ease;
}
.profiles-trigger:hover {
    border-color: rgba(212, 175, 55, 0.55);
    color: #e2c079;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.12);
}
.profiles-trigger.hidden { display: none; }

.profiles-drawer {
    position: fixed;
    bottom: 5.5rem;
    left: 2rem;
    z-index: 300;
    width: 340px;
    max-height: 420px;
    background: rgba(6, 6, 14, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    backdrop-filter: blur(28px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: drawerIn 0.2s ease;
}
.profiles-drawer.hidden { display: none; }
@keyframes drawerIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.profiles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.profiles-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.75);
}
.profiles-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: color 0.15s;
}
.profiles-close:hover { color: rgba(255, 255, 255, 0.7); }

.profiles-list {
    overflow-y: auto;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.profiles-list::-webkit-scrollbar { width: 4px; }
.profiles-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.profile-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.profile-card:hover {
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.2);
}
.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(212, 175, 55, 0.9);
    flex-shrink: 0;
}
.profile-info {
    flex: 1;
    min-width: 0;
}
.profile-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: #f2f2f7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.18rem;
}
.profile-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-delete {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    flex-shrink: 0;
    transition: color 0.15s;
    display: flex;
    align-items: center;
}
.profile-delete:hover { color: rgba(255, 80, 70, 0.7); }

.profiles-empty {
    text-align: center;
    padding: 2rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.08em;
}

@media (max-width: 700px) {
    .profiles-drawer { left: 1rem; right: 1rem; width: auto; bottom: 4.5rem; }
    .profiles-trigger { left: 1rem; bottom: 1.2rem; }
}

/* ── Gold token unification ──
   All rgba(212,175,55,…) literals replaced with the canonical token.
   --accent-gold = #e2c079  (rgb 226 192 121)                          */
.view-3d-btn {
    background: linear-gradient(135deg, rgba(226,192,121,0.12) 0%, rgba(180,152,30,0.06) 100%);
    border-color: rgba(226,192,121,0.35);
    color: var(--accent-gold);
}
.view-3d-btn:hover {
    background: linear-gradient(135deg, rgba(226,192,121,0.22) 0%, rgba(180,152,30,0.12) 100%);
    border-color: rgba(226,192,121,0.65);
    box-shadow: 0 0 20px rgba(226,192,121,0.2);
}

/* ── Focus-visible: keyboard navigation ── */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
    border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

/* ── Input underline contrast fix (WCAG AA 3:1 for UI components) ── */
.input-float input {
    border-bottom-color: rgba(255, 255, 255, 0.35);
}

/* ── UTC offset advanced toggle ── */
.tz-advanced {
    margin-bottom: 1.8rem;
}
.tz-advanced summary {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    transition: color 0.2s;
}
.tz-advanced summary::-webkit-details-marker { display: none; }
.tz-advanced summary::before {
    content: '›';
    display: inline-block;
    transition: transform 0.2s;
    color: var(--accent-gold);
    opacity: 0.7;
    font-size: 0.9rem;
}
.tz-advanced[open] summary::before { transform: rotate(90deg); }
.tz-advanced summary:hover { color: var(--text-primary); }

/* ── Success-state action layout ── */
.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    width: 100%;
}
.action-row .cyber-btn { margin-top: 0; }

.ghost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
}
.ghost-row .ghost-btn { width: auto; text-align: left; }
.ghost-row .plain-link { margin-top: 0; text-align: right; }

/* AI launchers as a <details> */
.ai-launch-section {
    width: 100%;
    margin-top: 0;
}
.ai-launch-section summary.launch-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    list-style: none;
    letter-spacing: 0.08em;
    user-select: none;
    transition: color 0.2s;
}
.ai-launch-section summary.launch-title::-webkit-details-marker { display: none; }
.ai-launch-section summary.launch-title:hover { color: var(--text-primary); }
.ai-launch-section .mt-1 { margin-top: 0.5rem; }

/* ══════════════════════════════════════════
   Below-the-fold FAQ / How it Works section
   ══════════════════════════════════════════ */
.info-section {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 6vh 5vw 10vh;
    border-top: 1px solid rgba(255,255,255,0.04);
}

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

.info-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-gold);
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}

.info-body {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.info-steps {
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.info-steps li {
    counter-increment: step;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 1.8rem;
    position: relative;
}
.info-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-gold);
    opacity: 0.7;
    line-height: 1.6;
}
.info-steps li strong { color: rgba(255,255,255,0.75); font-weight: 500; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-list dt {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.2rem;
}
.faq-list dd {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-left: 0;
}

@media (max-width: 1024px) {
    .info-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .info-section { padding: 5vh 5vw 8vh; }
}

/* Accessibility: respect OS animation preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════
   Social Proof · Footer · Legal
   ═══════════════════════════════════════════════════════ */

.social-proof {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6vh 6vw 3vh;
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
    border-top: 1px solid rgba(226, 192, 121, 0.08);
}
.proof-counter {
    text-align: left;
    border-left: 2px solid rgba(226, 192, 121, 0.4);
    padding-left: 1.25rem;
}
.proof-counter .counter-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    color: #f8e7a6;
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.proof-counter .counter-label {
    margin-top: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(226, 192, 121, 0.55);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.proof-quote {
    margin: 0;
}
.proof-quote blockquote {
    margin: 0 0 0.75rem 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(244, 244, 249, 0.85);
    font-weight: 300;
    font-style: normal;
}
.proof-quote blockquote em { color: #e2c079; font-style: italic; }
.proof-quote figcaption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.08em;
}

/* Footer */
.site-footer {
    margin-top: 6vh;
    padding: 5vh 6vw 3vh;
    border-top: 1px solid rgba(226, 192, 121, 0.08);
    background: linear-gradient(180deg, transparent 0%, rgba(4, 4, 7, 0.5) 100%);
    position: relative;
    z-index: 2;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.footer-brand .footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: #f8e7a6;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.footer-brand .footer-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: rgba(244, 244, 249, 0.7);
    max-width: 360px;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.footer-brand .footer-micro {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(226, 192, 121, 0.45);
    letter-spacing: 0.08em;
}
.footer-col h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(226, 192, 121, 0.65);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li {
    margin-bottom: 0.55rem;
}
.footer-col a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    color: rgba(244, 244, 249, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: #e2c079; }

.footer-base {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
}
.footer-disclaimer { max-width: 520px; text-align: right; }

@media (max-width: 900px) {
    .social-proof {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-base {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-disclaimer { text-align: left; }
}

/* Legal pages (privacy, terms) */
.legal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 8vh 6vw;
    color: rgba(244, 244, 249, 0.85);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    line-height: 1.7;
}
.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #f8e7a6;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.legal-page .legal-updated {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(226, 192, 121, 0.5);
    margin-bottom: 2.5rem;
    letter-spacing: 0.08em;
}
.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #e2c079;
    margin: 2.5rem 0 0.75rem;
}
.legal-page p, .legal-page li { font-size: 0.95rem; margin-bottom: 0.8rem; }
.legal-page ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-page a { color: #e2c079; text-decoration: underline; text-decoration-thickness: 0.5px; text-underline-offset: 3px; }
.legal-page .legal-back {
    display: inline-block;
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: rgba(226, 192, 121, 0.7);
    text-decoration: none;
}
.legal-page .legal-back:hover { color: #f8e7a6; }

/* ═══════════════════════════════════════════════════════
   Below-the-fold v2 · Propositions + Accordion FAQ + Lang strip
   ═══════════════════════════════════════════════════════ */

/* Scroll-reveal primitive · used by .reveal nodes */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
}
.reveal[data-stagger="2"] { transition-delay: 120ms; }
.reveal[data-stagger="3"] { transition-delay: 240ms; }
.reveal[data-stagger="4"] { transition-delay: 360ms; }
.reveal[data-stagger="5"] { transition-delay: 480ms; }
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Three-up proposition grid */
.prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 8vh;
}
.prop {
    position: relative;
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1px solid rgba(226, 192, 121, 0.10);
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(226,192,121,0.02), rgba(226,192,121,0));
    transition: border-color 600ms ease, transform 600ms ease, background 600ms ease;
}
.prop:hover {
    border-color: rgba(226, 192, 121, 0.35);
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(226,192,121,0.05), rgba(226,192,121,0));
}
.prop-num {
    position: absolute;
    top: 1.1rem;
    right: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(226, 192, 121, 0.45);
    letter-spacing: 0.15em;
}
.prop-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #f4f4f9;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 0.85rem 0;
}
.prop-title em {
    color: #e2c079;
    font-style: italic;
    font-weight: 400;
}
.prop-body {
    font-size: 0.9rem;
    color: rgba(244, 244, 249, 0.65);
    line-height: 1.65;
    margin: 0;
}
.prop-body em {
    color: rgba(226, 192, 121, 0.9);
    font-style: italic;
}

/* Accordion FAQ shell */
.faq-shell {
    max-width: 820px;
    margin: 0 auto 6vh;
    scroll-margin-top: 5vh;
}
.faq-shell-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(244, 244, 249, 0.92);
    letter-spacing: -0.02em;
    margin: 0 0 2rem 0;
    text-align: center;
}
.faq-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 300ms ease;
}
.faq-row[open] {
    border-bottom-color: rgba(226, 192, 121, 0.25);
}
.faq-row summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 2.5rem 1.25rem 0;
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    color: rgba(244, 244, 249, 0.85);
    letter-spacing: -0.005em;
    transition: color 240ms ease;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary::after {
    content: '+';
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: rgba(226, 192, 121, 0.6);
    transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), color 240ms ease;
}
.faq-row[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    color: #e2c079;
}
.faq-row summary:hover {
    color: #f8e7a6;
}
.faq-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 2rem 0 0;
    font-size: 0.9rem;
    color: rgba(244, 244, 249, 0.6);
    line-height: 1.7;
    transition: max-height 480ms cubic-bezier(0.2, 0.7, 0.2, 1),
                opacity 360ms ease,
                padding-bottom 480ms ease;
}
.faq-row[open] .faq-body {
    max-height: 600px;
    opacity: 1;
    padding-bottom: 1.4rem;
}
.faq-body em {
    color: rgba(226, 192, 121, 0.9);
    font-style: italic;
}

/* Multilingual SEO strip · single page, every script */
.lang-strip {
    max-width: 1100px;
    margin: 4vh auto 0;
    padding: 1.75rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1.4rem;
    text-align: center;
}
.lang-strip-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(226, 192, 121, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-right: 0.4rem;
}
.lang-strip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    align-items: baseline;
}
.lang-strip-list li {
    font-family: 'Noto Sans Devanagari', 'Noto Sans Tamil', 'Noto Sans Bengali', 'Noto Sans Telugu', 'Noto Sans Gujarati', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gurmukhi', 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(244, 244, 249, 0.7);
    letter-spacing: 0;
    transition: color 240ms ease;
}
.lang-strip-list li:hover {
    color: #f8e7a6;
}

/* 3-column footer override (replaces 4-col) */
.footer-grid-3 {
    grid-template-columns: 1.4fr 1fr 1fr !important;
}

/* Responsive tightening */
@media (max-width: 1024px) {
    .prop-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 6vh; }
    .prop { padding: 1.5rem 1.25rem 1.25rem; }
    .faq-shell-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
    .footer-grid-3 { grid-template-columns: 1fr !important; }
    .lang-strip { gap: 0.4rem 1rem; padding: 1.25rem 1rem; }
    .lang-strip-list { gap: 0.4rem 0.9rem; }
    .lang-strip-list li { font-size: 0.88rem; }
}

@media (max-width: 600px) {
    .faq-row summary { font-size: 0.92rem; padding-right: 2rem; }
    .faq-body { font-size: 0.85rem; }
    .lang-strip-label { display: block; width: 100%; margin: 0 0 0.6rem 0; }
}

/* ==========================
   Sample chart strip
   "Try a sample before committing" — landing CTA between hero and info-section.
   ========================== */
.sample-strip {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    box-sizing: border-box;
}
.sample-strip-header {
    text-align: left;
    max-width: 620px;
    margin-bottom: 2.6rem;
}
.sample-strip-kicker {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}
.sample-strip-kicker .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 8px rgba(226,192,121,0.5);
}
.sample-strip-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    line-height: 1.2;
}
.sample-strip-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 540px;
}
.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.sample-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.4rem 1.2rem;
    background: rgba(8, 8, 16, 0.55);
    border: 1px solid rgba(226, 192, 121, 0.12);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(6px);
}
.sample-card:hover {
    border-color: rgba(226, 192, 121, 0.45);
    background: rgba(14, 14, 22, 0.72);
    transform: translateY(-2px);
}
.sample-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold-dim);
    border: 1px solid rgba(226, 192, 121, 0.28);
    color: var(--accent-gold);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.sample-card-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.005em;
}
.sample-card-tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
}
.sample-card-cta {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-top: 0.3rem;
}
@media (max-width: 720px) {
    .sample-strip { padding: 3.2rem 1.2rem 2.6rem; }
    .sample-strip-title { font-size: 1.4rem; }
    .sample-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
    .sample-card { padding: 1.1rem 0.9rem; gap: 0.55rem; }
    .sample-card-avatar { width: 32px; height: 32px; font-size: 0.62rem; }
    .sample-card-name { font-size: 0.92rem; }
    .sample-card-tagline { font-size: 0.72rem; }
}

/* ==========================
   Chart.html — sample chart banner
   Shown only when the loaded chart ID is in the public sample set.
   ========================== */
.sample-banner {
    position: fixed;
    top: 50px; /* below top-hud */
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.55rem 1rem;
    background: rgba(226, 192, 121, 0.07);
    border-bottom: 1px solid rgba(226, 192, 121, 0.25);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-gold);
    backdrop-filter: blur(18px);
}
.sample-banner.visible { display: flex; }
.sample-banner a {
    color: var(--accent-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(226, 192, 121, 0.5);
    padding-bottom: 1px;
}
.sample-banner a:hover { border-bottom-color: var(--accent-gold); }
.sample-banner .sb-sep { opacity: 0.4; }
