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

:root {
    --black: #080808;
    --ink: #0e0e0e;
    --surface: #141414;
    --surface-2: #1b1b1b;
    --border: #232323;
    --border-mid: #2c2c2c;
    --border-light: #383838;
    --gold: #C4A265;
    --gold-dim: #9a7d50;
    --gold-faint: #3e2f1a;
    --cream: #EDE8DF;
    --text-hi: #C8C0B5;
    --text: #A8A099;
    --sub: #888078;
    --faint: #4a4440;
    --font-display: 'Cormorant Garamond', 'Noto Serif TC', Georgia, serif;
    --font-body: 'Noto Sans TC', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --t-label: 0.75rem;
    --t-sm: 0.9rem;
    --t-base: 1rem;
    --t-lg: 1.1rem;
    --t-h3: 1.35rem;
    --t-h2: clamp(1.8rem, 3.2vw, 2.4rem);
    --t-hero: clamp(2.6rem, 5.5vw, 4rem);
    --max: 1080px;
    --gutter: clamp(1.25rem, 5vw, 3rem);
    --section: clamp(4rem, 9vw, 7rem);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--t-base);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--gold-faint); color: var(--cream); }

:focus-visible { outline: 1.5px solid var(--gold-dim); outline-offset: 3px; }
button:focus-visible, a:focus-visible { outline: 1.5px solid var(--gold-dim); outline-offset: 3px; border-radius: 2px; }

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
    opacity: 0.022;
    pointer-events: none;
    z-index: 9000;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ─── Scroll ─── */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
                transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.10s; }
.reveal-d3 { transition-delay: 0.15s; }
.reveal-d4 { transition-delay: 0.20s; }

/* ─── Eyebrow ─── */
.eyebrow {
    font-family: var(--font-body);
    font-size: var(--t-label);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--gold-dim);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--gold-dim); flex-shrink: 0; }
.hero-eyebrow { font-size: 0.9rem; letter-spacing: 0.13em; margin-bottom: 2.5rem; padding-top: 0.5rem; justify-content: center; }
.hero-eyebrow::before { display: none; }
.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }

/* ─── Buttons ─── */
.btn {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    min-height: 48px;
    border-radius: 2px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-gold:hover { background: #d4b278; border-color: #d4b278; box-shadow: 0 0 28px rgba(196,162,101,0.2); }
.btn-outline { background: transparent; color: var(--sub); border-color: var(--border-mid); }
.btn-outline:hover { color: var(--cream); border-color: var(--border-light); }

/* ─── Sections ─── */
.section { padding: var(--section) 0; border-top: 1px solid var(--border); }
.section-alt { background: var(--ink); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.h2 { font-family: var(--font-display); font-size: var(--t-h2); font-weight: 300; color: var(--cream); letter-spacing: -0.01em; line-height: 1.2; }
.h2 em { font-style: italic; color: var(--gold); }

/* ─── Nav ─── */
#nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: 60px; display: flex; align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(8,8,8,0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 0.3s, transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
#nav.nav-hidden { transform: translateY(-100%); }

#nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; color: var(--cream); text-decoration: none; letter-spacing: 0.03em; }
.nav-logo em { font-style: normal; color: var(--gold); }
.nav-logo-prefix { font-family: 'Noto Sans TC', sans-serif; margin-right: 4px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-family: var(--font-body); font-size: var(--t-label); font-weight: 400; letter-spacing: 0.04em; color: var(--sub); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--cream); }
.nav-links .nav-cta { color: var(--gold); border: 1px solid var(--gold-dim); padding: 0.45rem 1.1rem; border-radius: 1px; transition: background 0.2s, color 0.2s; }
.nav-links .nav-cta:hover { background: var(--gold); color: var(--black); }
.nav-hamburger { display: none; background: none; border: 1px solid var(--border-mid); color: var(--sub); width: 36px; height: 36px; cursor: pointer; border-radius: 1px; font-size: 1rem; line-height: 1; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s; }
.nav-hamburger:hover { color: var(--cream); border-color: var(--border-light); }
#mobile-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--border); z-index: 199; padding: 0.5rem 0 1rem; }
#mobile-menu.open { display: block; }
#mobile-menu a { display: flex; align-items: center; font-family: var(--font-body); font-size: var(--t-label); letter-spacing: 0.04em; color: var(--sub); text-decoration: none; padding: 0.9rem var(--gutter); border-bottom: 1px solid var(--border); transition: color 0.2s; min-height: 44px; }
#mobile-menu a:hover { color: var(--cream); }
#mobile-menu .mobile-cta { color: var(--gold); border-bottom: none; }

/* ─── Hero ─── */
#hero {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 60px var(--gutter) clamp(5rem, 10vw, 7rem);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(120px); }
.hero-glow-a {
    width: min(700px, 90vw); height: 420px;
    background: radial-gradient(ellipse, rgba(196,162,101,0.11) 0%, transparent 70%);
    top: 0; left: 50%; transform: translateX(-50%);
    animation: glow-float 18s ease-in-out infinite;
}
@keyframes glow-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(28px); }
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; width: 100%; }
.hero-title { font-family: var(--font-display); font-size: var(--t-hero); font-weight: 300; line-height: 1.12; color: var(--cream); letter-spacing: -0.015em; margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--gold); display: block; }
.hero-sub { font-size: var(--t-lg); font-weight: 400; color: var(--text); line-height: 1.85; max-width: 440px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }

/* ─── Terminal ─── */
.hero-terminal { max-width: 540px; margin: 0 auto 4.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; text-align: left; }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 0.7rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #4d2020; }
.dot-y { background: #4d4520; }
.dot-g { background: #204d28; }
.terminal-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.08em; margin-left: auto; }
.terminal-body { padding: 1.25rem 1.5rem 1.75rem; font-family: var(--font-mono); font-size: 0.82rem; line-height: 2.1; }

/* Terminal lines hidden until JS reveals them */
.t-line { opacity: 0; transition: opacity 0.2s ease; }
.t-line.t-show { opacity: 1; }

.t-cmd { color: var(--sub); }
.t-cmd strong { color: var(--gold-dim); font-weight: 300; }
.t-step { color: var(--faint); }
.t-step::before { content: '→  '; color: var(--border-light); }
.t-warn { color: #a07830; }
.t-warn::before { content: '△  '; }
.t-ok { color: #5a9060; }
.t-ok::before { content: '✓  '; }
.t-cursor::after { content: '▋'; color: var(--gold-dim); animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ─── Scroll hint ─── */
.hero-scroll {
    position: absolute; bottom: clamp(1.5rem, 3vw, 2.5rem); left: 50%; transform: translateX(-50%);
    z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
    animation: nudge 2.4s ease-in-out infinite;
}
.hero-scroll-label { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--sub); opacity: 0.45; }
.scroll-line { width: 1px; height: 24px; background: linear-gradient(to bottom, var(--border-light), transparent); }
.scroll-arrow { font-size: 0.7rem; color: var(--sub); opacity: 0.4; line-height: 1; }
@keyframes nudge {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Problem ─── */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: clamp(2rem, 4vw, 3.5rem); }
.problem-cell { background: var(--surface); padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; transition: background 0.25s; }
.problem-cell::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: transparent; transition: background 0.25s; }
.problem-cell:hover { background: var(--surface-2); }
.problem-cell:hover::before { background: linear-gradient(90deg, var(--gold-dim), transparent); }
.problem-num { display: none; }
.problem-tag { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; color: var(--gold-dim); margin-bottom: 0.6rem; }
.problem-num { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--border-light); margin-bottom: 1rem; display: block; }
.problem-title { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 400; color: var(--cream); margin-bottom: 0.7rem; line-height: 1.3; }
.problem-body { font-size: var(--t-sm); font-weight: 400; color: var(--text); line-height: 1.85; }

/* ─── Services ─── */
.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.services-note { font-size: var(--t-base); font-weight: 400; color: var(--text); line-height: 1.85; border-left: 2px solid var(--border-mid); padding-left: 1.5rem; }
.service-row { display: grid; grid-template-columns: 40px 1fr; gap: 0 2rem; align-items: start; padding: 2.2rem 0; border-top: 1px solid var(--border); position: relative; transition: background 0.22s; }
.service-row:last-child { border-bottom: 1px solid var(--border); }
.service-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1.5px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); }
.service-row:hover { background: rgba(255,255,255,0.012); }
.service-row:hover::before { transform: scaleY(1); }
.service-idx { font-family: var(--font-mono); font-size: var(--t-label); color: var(--sub); letter-spacing: 0.1em; padding-top: 0.25rem; line-height: 1; }
.service-name { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 400; color: var(--cream); line-height: 1.25; margin-bottom: 0.6rem; }
.service-desc { font-size: var(--t-sm); font-weight: 400; color: var(--text); line-height: 1.85; max-width: 520px; }
.service-desc strong { color: var(--text-hi); font-weight: 500; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag { font-family: var(--font-body); font-size: var(--t-label); font-weight: 400; letter-spacing: 0.04em; color: var(--gold-dim); border: 1px solid var(--gold-faint); padding: 0.25rem 0.65rem; border-radius: 1px; white-space: nowrap; }

/* ─── Mid-page CTA strip ─── */
.mid-cta {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 3rem 0;
}
.mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.mid-cta-label {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    color: var(--gold-dim);
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}
.mid-cta-headline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--cream);
    line-height: 1.25;
}
.mid-cta-headline em { font-style: italic; color: var(--gold); }

/* ─── Result / ChatGPT card ─── */
.result-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.result-card { background: #1a1a1a; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; position: relative; }
.result-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 40%, transparent); }
.result-card-header { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.06); background: #212121; flex-wrap: wrap; }
.result-badge { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.06em; color: #ececec; background: transparent; border: none; padding: 0; white-space: nowrap; }
.result-question { font-size: var(--t-sm); font-weight: 400; color: #b4b4b4; }
.chat-user-msg { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.75rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.chat-avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; line-height: 1; }
.chat-avatar-user { background: linear-gradient(135deg, #7c5cfc, #5b8af5); color: #fff; }
.chat-avatar-ai { background: linear-gradient(135deg, #19c37d, #10a37f); color: #fff; font-size: 0.75rem; }
.chat-msg-text { font-size: var(--t-sm); font-weight: 400; color: #d1d1d1; line-height: 1.6; padding-top: 4px; }
.result-body { padding: 0; }
.chat-ai-msg { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.75rem 1.5rem; background: #1a1a1a; }
.chat-ai-content { flex: 1; min-width: 0; }
.result-intro { font-size: var(--t-sm); font-weight: 400; color: #d1d1d1; line-height: 1.85; margin-bottom: 1rem; }
.result-item { display: flex; gap: 0.8rem; padding: 0.6rem 0; align-items: flex-start; }
.result-item.highlight { background: rgba(16,163,127,0.06); margin: 0.25rem -0.75rem; padding: 0.75rem; border-radius: 8px; }
.result-num { font-family: var(--font-body); font-size: var(--t-sm); font-weight: 500; color: #d1d1d1; flex-shrink: 0; line-height: 1.8; }
.result-text { font-size: var(--t-sm); font-weight: 400; color: #d1d1d1; line-height: 1.8; }
.result-text strong { color: #fff; font-weight: 600; }

/* Typewriter cursor */
#typed-cursor { display: inline-block; }
#typed-cursor.typing::after { content: '▋'; font-size: 0.72em; color: #10a37f; animation: blink 0.9s step-end infinite; vertical-align: baseline; margin-left: 1px; }
#typed-cursor.done::after { display: none; }

.result-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); opacity: 0; transition: opacity 0.5s ease; }
.result-meta.show { opacity: 1; }
.meta-tag { font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.04em; color: #10a37f; background: rgba(16,163,127,0.08); border: 1px solid rgba(16,163,127,0.18); padding: 0.25rem 0.6rem; border-radius: 6px; }
.result-copy .eyebrow { margin-bottom: 1.1rem; }
.result-copy .h2 { margin-bottom: 1.25rem; }
.result-copy p { font-size: var(--t-base); font-weight: 400; color: var(--text); line-height: 1.85; }

/* ─── Process ─── */
.process-step { display: grid; grid-template-columns: 72px 1fr; gap: 2rem; padding: 2.2rem 0; border-top: 1px solid var(--border); align-items: start; }
.process-step:last-child { border-bottom: 1px solid var(--border); }
.step-left { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding-top: 0.2rem; }
.step-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 300; color: var(--border-light); line-height: 1; font-style: italic; transition: color 0.25s; }
.process-step:hover .step-num { color: var(--gold-dim); }
.step-badge { font-family: var(--font-body); font-size: var(--t-label); font-weight: 400; letter-spacing: 0.04em; color: var(--gold-dim); border: 1px solid var(--gold-faint); padding: 0.2rem 0.5rem; border-radius: 1px; white-space: nowrap; text-align: center; }
.step-title { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 400; color: var(--cream); margin-bottom: 0.55rem; line-height: 1.3; padding-top: 0.3rem; }
.step-body { font-size: var(--t-sm); font-weight: 400; color: var(--text); line-height: 1.85; }

/* ─── Why ─── */
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.why-points { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }

.why-point {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    gap: 0 1rem;
    align-items: start;
    padding: 1.75rem 0;
    border-top: 1px solid var(--border);
    transition: border-color 0.25s;
}
.why-point:last-child { border-bottom: 1px solid var(--border); }
.why-point:hover { border-color: var(--gold-faint); }
.why-point-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--gold-dim);
    padding-top: 0.35rem;
    line-height: 1;
    opacity: 0.7;
}
.why-point-body-wrap {}
.why-point-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; color: var(--cream); margin-bottom: 0.45rem; line-height: 1.3; }
.why-point-body { font-size: var(--t-sm); font-weight: 400; color: var(--text); line-height: 1.85; }

/* ─── Quote ─── */
.why-quote {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}
.why-quote::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dim) 55%, transparent 100%);
}
.why-quote::after {
    content: '';
    position: absolute;
    top: -80px; left: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(ellipse, rgba(196,162,101,0.055) 0%, transparent 68%);
    pointer-events: none;
}
.quote-mark {
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 0.75;
    margin-bottom: 1.25rem;
    font-style: italic;
    opacity: 0.35;
}
.quote-body {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-hi);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.quote-body strong {
    color: var(--cream);
    font-weight: 400;
    font-style: normal;
    font-size: 1.35rem;
    display: block;
    margin-top: 1rem;
}
.quote-rule { width: 28px; height: 1px; background: var(--gold-dim); margin-bottom: 1rem; }
.quote-credit { font-family: var(--font-body); font-size: var(--t-label); font-weight: 400; letter-spacing: 0.04em; color: var(--sub); }

/* ─── CTA ─── */
#cta { padding: clamp(5rem, 12vw, 9rem) 0; border-top: 1px solid var(--border); text-align: center; }
.cta-inner { max-width: 580px; margin: 0 auto; }
.cta-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; color: var(--cream); line-height: 1.15; margin-bottom: 1.25rem; }
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub { font-size: var(--t-base); font-weight: 400; color: var(--text); line-height: 1.85; margin-bottom: 2.5rem; }
.cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.75rem; }
.cta-email { font-family: var(--font-body); font-size: var(--t-label); font-weight: 300; letter-spacing: 0.04em; color: var(--sub); }
.cta-email a { color: var(--gold-dim); text-decoration: none; transition: color 0.2s; }
.cta-email a:hover { color: var(--gold); }

/* ─── Footer ─── */
footer { border-top: 1px solid var(--border); padding: 2rem 0; }
footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.footer-logo { font-family: var(--font-display); font-size: 0.95rem; font-weight: 400; color: var(--sub); text-decoration: none; letter-spacing: 0.03em; }
.footer-logo em { font-style: normal; color: var(--gold-dim); }
.footer-copy { font-family: var(--font-mono); font-size: var(--t-label); font-weight: 300; letter-spacing: 0.08em; color: var(--sub); }
.footer-nav-link { color: var(--sub); text-decoration: none; transition: color 0.2s; }
.footer-nav-link:hover { color: var(--gold-dim); }
.learn-link-inline { font-family: var(--font-body); font-size: var(--t-sm); font-weight: 500; letter-spacing: 0.04em; color: var(--gold-dim); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--gold-faint); padding-bottom: 1px; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.learn-link-inline:hover { color: var(--gold); border-bottom-color: var(--gold-dim); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero-eyebrow { font-size: 0.82rem; }
    .problem-grid { grid-template-columns: 1fr; }
    .problem-tag { font-size: 0.8rem; }
    .services-intro { grid-template-columns: 1fr; gap: 1.5rem; }
    .services-note { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 1.25rem; }
    .mid-cta-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .result-layout { grid-template-columns: 1fr; }
    .result-card { border-radius: 12px; }
    .chat-user-msg, .chat-ai-msg { padding: 1rem 1.15rem; gap: 0.75rem; }
    .chat-avatar { width: 26px; height: 26px; font-size: 0.7rem; }
    .btn { font-size: 0.88rem; padding: 0.9rem 1.6rem; }
    .why-layout { grid-template-columns: 1fr; }
    .process-step { grid-template-columns: 56px 1fr; gap: 1.25rem; padding: 1.75rem 0; }
    .step-num { font-size: 2rem; }
    footer .container { flex-direction: column; align-items: flex-start; }
    .hero-scroll { display: none; }
}
/* ─── Survey Section ─── */
.survey-region-row{display:flex;align-items:center;gap:12px;margin-bottom:2rem}
.survey-region-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--sub);font-family:var(--font-body)}
.survey-select{background:var(--ink);border:1px solid var(--border-mid);color:var(--text-hi);font-size:.82rem;padding:.45rem .85rem;font-family:var(--font-body);cursor:pointer;outline:none;appearance:none;-webkit-appearance:none;padding-right:2rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .6rem center}
.survey-layout{display:grid;grid-template-columns:240px 1fr;gap:clamp(1.5rem,3vw,3rem);align-items:center;margin-bottom:2.5rem}
.survey-gauge-col{display:flex;flex-direction:column;align-items:center}
.survey-gauge-wrap{position:relative;width:220px;height:135px}
.survey-gauge-wrap svg{display:block;overflow:visible}
#surveyArcFill {transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);}
.survey-gauge-center{position:absolute;bottom:0;left:50%;transform:translateX(-50%);text-align:center;white-space:nowrap}
.survey-gauge-pct{font-family:var(--font-display);font-size:2.8rem;font-weight:300;color:var(--cream);line-height:1;display:block}
.survey-gauge-sub{font-size:.68rem;letter-spacing:.06em;color:var(--faint);display:block;margin-top:6px;font-family:var(--font-body)}
.survey-stats-col{display:flex;flex-direction:column;gap:0}
.survey-stat-row{padding:1rem 0;border-bottom:1px solid var(--border);display:flex;align-items:baseline;gap:1rem}
.survey-stat-row:last-child{border-bottom:none;padding-bottom:0}
.survey-stat-n{font-family:var(--font-display);font-size:2rem;font-weight:300;color:var(--cream);flex-shrink:0;min-width:64px;line-height:1}
.survey-stat-n.gold{color:var(--gold)}
.survey-stat-desc{font-size:.88rem;color:var(--text-hi);line-height:1.6;font-family:var(--font-body)}
.survey-stat-desc small{display:block;font-size:.74rem;color:var(--faint);margin-top:3px}
.survey-zero-block{background:var(--ink);border:1px solid var(--border);border-left:2px solid var(--gold);padding:1.1rem 1.4rem;margin-bottom:1.5rem;display:flex;align-items:center;gap:1.4rem}
.survey-zero-n{font-family:var(--font-display);font-size:3.2rem;font-weight:300;color:var(--gold);line-height:1;flex-shrink:0}
.survey-zero-txt{font-size:.82rem;color:var(--sub);line-height:1.9;font-family:var(--font-body)}
.survey-zero-txt strong{color:var(--text-hi);font-weight:500}
.survey-expand-btn{width:100%;background-color:var(--gold);border:none;color:#080808;font-size:.88rem;font-weight:700;letter-spacing:.06em;padding:1.1rem 1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.6rem;transition:background .2s;font-family:var(--font-body)}
.survey-expand-btn:hover{background-color:#d4b275}
.survey-arr{transition:transform .35s;display:inline-block}
.survey-expand-btn.open .survey-arr{transform:rotate(180deg)}
.survey-detail{max-height:0;overflow:hidden;transition:max-height .5s cubic-bezier(.4,0,.2,1)}
.survey-detail-inner{padding:1.75rem 0 .5rem}
.survey-section-label{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--border-light);margin-bottom:1.1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border);font-family:var(--font-mono)}
.survey-sample-line{font-size:.72rem;color:var(--faint);margin-bottom:1.5rem;line-height:1.8;font-family:var(--font-body)}
.survey-sample-line strong{color:var(--sub)}
.survey-dim-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1.5rem}
.survey-dim-card{background:var(--ink);border:1px solid var(--border);padding:.9rem 1rem}
.survey-dim-bar-wrap{display:flex;align-items:center;gap:8px;margin-bottom:.4rem}
.survey-dim-track{flex:1;height:4px;background:var(--border)}
.survey-dim-fill{height:100%;width:0;transition:width .8s cubic-bezier(.4,0,.2,1)}
.survey-dim-pct{font-family:var(--font-display);font-size:.85rem;color:var(--sub);flex-shrink:0;min-width:32px;text-align:right}
.survey-dim-name{font-size:.75rem;color:var(--text-hi);font-weight:500;margin-bottom:.25rem;font-family:var(--font-body)}
.survey-dim-desc{font-size:.68rem;color:var(--faint);line-height:1.65;font-family:var(--font-body)}

/* ─── FAQ ─── */
.faq-list{border-top:1px solid var(--border)}
.faq-item{border-bottom:1px solid var(--border)}
.faq-btn{width:100%;background:none;border:none;padding:1.4rem 0;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;cursor:pointer;text-align:left}
.faq-btn:hover .faq-q{color:var(--cream)}
.faq-q{font-family:var(--font-display);font-size:1.15rem;font-weight:300;color:var(--text-hi);line-height:1.4;transition:color .2s}
.faq-icon{width:22px;height:22px;border:1px solid var(--border-mid);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gold-dim);font-size:.85rem;flex-shrink:0;transition:transform .3s,border-color .2s}
.faq-item.open .faq-icon{transform:rotate(45deg);border-color:var(--gold-dim)}
.faq-body{max-height:0;overflow:hidden;transition:max-height .4s cubic-bezier(.4,0,.2,1)}
.faq-inner{padding:0 0 1.5rem}
.faq-short{font-family:var(--font-display);font-size:1rem;font-style:italic;color:var(--gold-dim);margin-bottom:.85rem;line-height:1.6}
.faq-inner p{font-size:var(--t-sm);color:var(--sub);line-height:1.9;margin-bottom:.75rem}
.faq-inner p:last-child{margin-bottom:0}
.faq-cite{font-family:var(--font-mono) !important;font-size:.68rem !important;color:var(--faint) !important;letter-spacing:.02em;border-left:1px solid var(--border);padding-left:.75rem}

@media (max-width: 640px) {
    .survey-layout{grid-template-columns:1fr;gap:1.5rem}
    .survey-gauge-col{width:100%}
    .survey-dim-grid{grid-template-columns:1fr}
}

@media (max-width: 480px) {
    :root { --t-hero: clamp(2.2rem, 9vw, 2.8rem); }
    .hero-eyebrow { font-size: 0.78rem; letter-spacing: 0.1em; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }
    .problem-cell { padding: 1.5rem 1.25rem 2rem; }
    .problem-tag { font-size: 0.78rem; }
    .service-row { grid-template-columns: 1fr; gap: 0.5rem; }
    .service-idx { display: none; }
    .why-quote { padding: 1.5rem; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 300px; font-size: 0.92rem; padding: 1rem 1.8rem; }
    .chat-user-msg, .chat-ai-msg { padding: 0.9rem 1rem; gap: 0.6rem; }
    .result-item.highlight { margin: 0.25rem -0.5rem; padding: 0.6rem 0.5rem; }
}
.service-desc,
.problem-body,
.step-body,
.why-point-body {
    word-break: keep-all;
    text-wrap: pretty;
}
