/* ─── HEY ALISSA — Landing Page Styles ─────────────────────────────────────── */

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

/* ─── TOKENS ──────────────────────────────────────────────────────────────── */

:root {
    color-scheme: light dark;

    --bg: #ffffff;
    --bg-alt: #f4f4f5;        /* zinc-100 */
    --warm: #f7f4ee;          /* warm paper */
    --warm-line: #ebe5da;
    --shadow-lg: 0 1px 2px rgba(24, 24, 27, 0.05), 0 24px 48px -16px rgba(24, 24, 27, 0.2);
    --text: #18181b;          /* zinc-900 */
    --body: #3f3f46;          /* zinc-700 */
    --muted: #52525b;         /* zinc-600 — AA on white and zinc-100 */
    --line: #e4e4e7;          /* zinc-200 */
    --line-strong: #d4d4d8;   /* zinc-300 */

    --primary: #0066ff;
    --primary-hover: #0052cc;
    --link: #0057d9;

    /* Mirrors app.heyalissa.com/static/css/style.css */
    --a-bg: #f4f4f5;
    --a-surface: #ffffff;
    --a-sidebar: #18181b;
    --a-sidebar-2: #27272a;
    --a-text: #18181b;
    --a-muted: #71717a;
    --a-muted-strong: #52525b;
    --a-line: #e4e4e7;
    --a-success: #059669;
    --a-success-bg: #ecfdf5;
    --a-warning: #d97706;
    --a-warning-bg: #fffbeb;
    --a-danger: #e11d48;

    --measure: 680px;
    --content-max: 1120px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111113;
        --bg-alt: #18181b;
        --warm: #1a1816;
        --warm-line: #2a2622;
        --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 48px -16px rgba(0, 0, 0, 0.7);
        --text: #f4f4f5;
        --body: #d4d4d8;
        --muted: #a1a1aa;
        --line: #27272a;
        --line-strong: #3f3f46;
        --link: #6aa6ff;
    }
}

/* ─── BASE ────────────────────────────────────────────────────────────────── */

html { scroll-padding-top: 24px; }

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--link); text-underline-offset: 3px; }
svg { display: block; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 10;
    padding: 10px 16px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

h1, h2, h3 { color: var(--text); font-weight: 700; }

h1 {
    font-size: clamp(2.2rem, 3.9vw, 3.1rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    text-wrap: balance;
}

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 16px; }

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 6px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }

/* ─── HEADER ──────────────────────────────────────────────────────────────── */

.site-header { background: var(--warm); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.brand-name { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }

.header-nav { display: flex; gap: 28px; font-size: 0.95rem; }
.header-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.header-nav a:hover { color: var(--text); }

/* ─── INTRO (story-first hero) ────────────────────────────────────────────── */

.intro {
    padding: 88px 0 112px;
    background: var(--warm);
    border-bottom: 1px solid var(--warm-line);
    overflow: hidden;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
    gap: 64px;
    align-items: center;
}

.intro-text > p { max-width: 600px; }
.intro-text .intro-kicker {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 18px;
}
.intro-text .intro-lede { font-size: 1.25rem; line-height: 1.6; color: var(--text); margin-bottom: 26px; }
.signature { font-weight: 600; color: var(--text); white-space: nowrap; }
.intro-text > p + p { margin-top: 18px; }

.intro-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 36px;
}

.link-quiet { color: var(--muted); font-weight: 500; font-size: 1rem; }
.link-quiet:hover { color: var(--text); }

.intro-text .intro-fine { margin-top: 16px; font-size: 0.95rem; color: var(--muted); }
.intro-fine a { font-weight: 600; white-space: nowrap; margin-left: 4px; }

.intro-visual { position: relative; }

/* Photo slot: photo upper-left, card stack overlaps its lower-right corner */
.intro-photo { width: 72%; }
.intro-photo img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--shadow-lg); }
.intro-visual:has(.intro-photo) .stack { width: 88%; margin: -140px 0 0 auto; }
.intro-visual:has(.intro-photo) .stack-back { display: none; }

/* Card stack */
.stack {
    position: relative;
    padding-top: 100px;
    font-size: 14px;
    line-height: 1.45;
}

.stack-card {
    background: var(--a-surface);
    border: 1px solid var(--a-line);
    border-radius: 14px;
}

.stack-back {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px 60px;
    box-shadow: 0 1px 2px rgba(24, 24, 27, 0.05), 0 10px 24px -12px rgba(24, 24, 27, 0.18);
}
.sb-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stack-back b { font-weight: 700; font-size: 14.5px; }
.stack-back i { font-style: normal; color: var(--a-muted); font-size: 13px; }
.stack-back-2 { top: 0; transform: scale(0.88); transform-origin: top center; background: #f4f4f3; }
.stack-back-1 { top: 48px; transform: scale(0.94); transform-origin: top center; background: #fafaf9; }

.mini-score {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    border: 3px solid currentColor;
}
.s-high { color: #047857; }
.s-mid { color: #b45309; }

.stack-front {
    position: relative;
    padding: 24px 26px 22px;
    box-shadow:
        0 1px 1px rgba(24, 24, 27, 0.04),
        0 4px 8px -2px rgba(24, 24, 27, 0.06),
        0 24px 48px -12px rgba(24, 24, 27, 0.22),
        0 48px 80px -32px rgba(68, 52, 32, 0.22);
}
.stack-front::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--a-success);
}

.sf-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sf-new { font-size: 12px; font-weight: 600; color: var(--primary); }

.sf-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--a-line);
}
.sf-title { font-size: 23px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; }
.sf-meta { margin-top: 6px; color: var(--a-muted); font-size: 13.5px; }
.sf-meta b { color: var(--a-text); font-weight: 600; }
.sf-pay { margin-top: 2px; color: #047857; font-weight: 700; font-size: 13.5px; }

.ring {
    --p: 80;
    flex: none;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1;
    background:
        radial-gradient(closest-side, #fff 80%, transparent 81% 100%),
        conic-gradient(var(--a-success) calc(var(--p) * 1%), #e4e4e7 0);
}
.ring span { font-size: 27px; font-weight: 800; color: var(--a-success); letter-spacing: -0.03em; }
.ring em { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--a-muted); margin-top: 3px; }

.sf-read { margin-top: 6px; color: var(--a-muted-strong); font-size: 14.5px; line-height: 1.55; }

.sf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.chip-good { background: var(--a-success-bg); color: #047857; }
.chip-gap { background: var(--a-warning-bg); color: #b45309; }

.sf-actions { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.sf-actions .a-btn-primary { padding: 8px 16px; }
.sf-open { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--a-muted-strong); }

/* ─── CONTENT BLOCKS ──────────────────────────────────────────────────────── */

.block { padding: 120px 0; }
.block + .block { border-top: 1px solid var(--line); }
.block-alt { background: var(--bg-alt); border-top: 0 !important; }
.block-warm { background: var(--warm); border-top: 1px solid var(--warm-line) !important; border-bottom: 1px solid var(--warm-line); }

.shot { margin-top: 48px; }
.shot figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: start;
}
.split-shot { margin-top: 0; }

/* ─── RAW vs QUEUE COMPARISON ─────────────────────────────────────────────── */

.compare {
    margin-top: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1.15fr);
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
}
.compare figcaption { grid-column: 1 / -1; margin-top: 16px; font-size: 0.875rem; color: var(--muted); }

.cmp-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--a-muted-strong);
    margin-bottom: 12px;
}

.cmp-raw {
    position: relative;
    height: 460px;
    overflow: hidden;
    padding: 20px 20px 0;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid var(--a-line);
}
.cmp-raw::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(250, 250, 250, 0), #fafafa 85%);
}

.raw-list { list-style: none; }
.raw-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid #ececee;
    color: #a1a1aa;
    font-size: 13px;
}
.raw-list b { font-weight: 500; color: #71717a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.raw-list i { font-style: normal; white-space: nowrap; font-size: 12px; }

.cmp-arrow {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 0 8px;
    color: var(--primary);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}
.cmp-arrow svg { width: 100%; height: auto; }

.cmp-queue {
    padding: 22px;
    border-radius: 16px;
    background: var(--a-bg);
    border: 1px solid var(--a-line);
    box-shadow: var(--shadow-lg);
}

.queue { list-style: none; display: grid; gap: 10px; }

.q {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px 14px 20px;
    background: #fff;
    border: 1px solid var(--a-line);
    border-radius: 10px;
    overflow: hidden;
}
.q::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.q-high::before { background: var(--a-success); }
.q-mid::before { background: var(--a-warning); }

.q-score { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; min-width: 50px; }
.q-high .q-score { color: var(--a-success); }
.q-mid .q-score { color: #b45309; }

.q-text b { display: block; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-text i { font-style: normal; font-size: 12.5px; color: var(--a-muted); }

.q-tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: var(--primary); color: #fff; white-space: nowrap; }
.q-tag-warn { background: var(--a-warning-bg); color: #b45309; }

.cmp-foot { margin-top: 14px; font-size: 12.5px; color: var(--a-muted-strong); }

/* ─── APP REPLICA (matches the real app's look; sample data only) ────────── */







.a-card {
    background: var(--a-surface);
    border: 1px solid var(--a-line);
    border-radius: 10px;
}



.a-label {
    font-style: normal;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--a-muted-strong);
    margin-right: 4px;
}

.a-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--a-line);
    border-radius: 6px;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.a-btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; padding: 9px 16px; }
.a-btn.is-on { border-color: var(--primary); color: #0052cc; background: #eff5ff; }



.detail, .board, .stack, .compare { color: var(--a-text); text-align: left; }
.detail, .board { font-size: 14px; line-height: 1.45; }

.a-src {
    background: #e4e4e7;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.a-opp-meta { color: var(--a-muted); font-size: 13px; margin-top: 2px; }
.a-opp-meta b { color: var(--a-muted-strong); font-weight: 600; font-size: 14px; }
.a-salary { color: #047857; font-weight: 700; }





/* Job detail */
.detail { display: grid; gap: 12px; }

.a-jobhead {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
}
.a-jobtitle { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.12; }
.a-jobco { font-weight: 600; font-size: 15px; margin: 6px 0 10px; }

.a-ring {
    flex: none;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 4px solid var(--a-success);
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1;
    color: var(--a-success);
}
.a-ring span { font-size: 26px; font-weight: 700; }
.a-ring em { font-style: normal; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--a-muted); margin-top: 4px; }

.a-analysis { padding: 20px 24px 22px; }
.a-h { font-weight: 700; font-size: 16px; margin: 2px 0 10px; }
.a-body { color: var(--a-muted-strong); }

.a-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.a-box { border-radius: 6px; padding: 14px 16px; border-left: 3px solid; }
.a-box-good { background: var(--a-success-bg); border-color: var(--a-success); }
.a-box-gap { background: var(--a-warning-bg); border-color: var(--a-warning); }
.a-boxtitle { font-weight: 700; margin-bottom: 6px; }
.a-box ul { list-style: none; }
.a-box li { position: relative; padding-left: 16px; margin-top: 4px; }
.a-box-good li::before { content: "+"; position: absolute; left: 0; color: var(--a-success); font-weight: 700; }
.a-box-gap li::before { content: "–"; position: absolute; left: 0; color: var(--a-warning); font-weight: 700; }

.a-accuracy { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 16px; }

/* Pipeline strip */
.board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 48px;
}

.board-col { display: grid; gap: 10px; align-content: start; }

.board-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid var(--a-line);
    border-top: 3px solid;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 15px;
}
.board-head b { font-size: 12px; color: var(--a-muted); }
.b-int { border-top-color: var(--a-warning); }
.b-app { border-top-color: var(--primary); }
.b-iv { border-top-color: #7c3aed; }
.b-off { border-top-color: var(--a-success); }

.board-card {
    display: grid;
    justify-items: start;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--a-line);
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
}
.board-card i { font-style: normal; font-weight: 400; color: var(--a-muted); margin-bottom: 6px; }
.board-empty {
    place-items: center;
    min-height: 92px;
    color: var(--a-muted);
    font-weight: 500;
    background: transparent;
    border-style: dashed;
}

.a-chip {
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    padding: 1px 6px;
}
.a-chip-good { color: #047857; background: var(--a-success-bg); }
.a-chip-mid { color: #b45309; background: var(--a-warning-bg); }

@media (prefers-color-scheme: dark) {
    .board-head { background: #fff; }
    .board-empty { color: var(--muted); border-color: var(--line-strong); }
}

/* ─── GETTING STARTED ─────────────────────────────────────────────────────── */

.start {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 680px);
    gap: 24px 64px;
    align-items: start;
}
.start h2 { margin-bottom: 0; }
.start-list { margin-top: -18px; }

.start-list { list-style: none; counter-reset: step; margin-top: 8px; }
.start-list li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 18px 0;
    border-bottom: 1px solid var(--line-strong);
}
.start-list li:last-child { border-bottom: 0; }
.start-list li::before {
    content: counter(step);
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

/* Reserved for Alissa's quote (see HTML comment) */
.quote {
    margin-top: 48px;
    padding-left: 24px;
    border-left: 3px solid var(--primary);
}
.quote p { font-size: 1.3rem; line-height: 1.55; color: var(--text); }
.quote footer { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */

.faq > * { max-width: calc(var(--measure) + 120px); }

.faq-list { margin-top: 8px; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 18px 40px 18px 0;
    font-weight: 600;
    color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--muted);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 40px 20px 0; }

/* ─── CLOSE ───────────────────────────────────────────────────────────────── */

.close { padding: 88px 0; background: #18181b; color: #d4d4d8; }
.close h2 { color: #fff; }
.close a:not(.btn) { color: #8db8ff; }

.close-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}
.close h2 { margin-bottom: 8px; max-width: 620px; }
.close p { font-size: 1rem; color: #a1a1aa; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.9rem; }

.footer-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 32px;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; }
.footer-note { margin-left: auto; color: var(--muted); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */

/* ─── MOTION ──────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    @keyframes settle {
        from { opacity: 0; transform: translateY(18px); }
    }
    @keyframes settle-back-1 {
        from { opacity: 0; transform: translateY(26px) scale(0.94); }
    }
    @keyframes settle-back-2 {
        from { opacity: 0; transform: translateY(34px) scale(0.88); }
    }
    .stack-front { animation: settle 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) 0.1s both; }
    .stack-back-1 { animation: settle-back-1 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) 0.22s both; }
    .stack-back-2 { animation: settle-back-2 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) 0.34s both; }
}

@media (max-width: 1060px) {
    .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; }
    .compare { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.2fr); }
}

@media (max-width: 960px) {
    .start { grid-template-columns: minmax(0, 1fr); }
    .start-list { margin-top: 0; }
    .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .intro-visual { max-width: 520px; }
    .compare { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .cmp-raw { height: 280px; }
    .cmp-arrow { padding: 16px 0; }
    .cmp-arrow svg { width: 40px; transform: rotate(90deg); }

    .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .intro-grid:has(.intro-photo) { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 640px) {
    body { font-size: 1.0625rem; }
    .container { padding: 0 16px; }

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

    .intro { padding: 48px 0 64px; }
    .stack { padding-top: 84px; }
    .stack-back-1 { top: 40px; }
    .stack-back i { display: none; }
    .stack-front { padding: 18px 18px 18px; }
    .sf-title { font-size: 19px; }
    .ring { width: 66px; height: 66px; }
    .ring span { font-size: 22px; }
    .sf-open { display: none; }
    .block { padding: 72px 0; }
    .cmp-raw { height: 220px; padding: 16px 16px 0; }
    .raw-list i { display: none; }
    .cmp-queue { padding: 14px; }
    .q { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 12px 12px 16px; }
    .q-tag { display: none; }
    .intro-actions { flex-direction: column; align-items: stretch; text-align: center; }

    .shot { margin-top: 32px; }


    .a-jobhead { padding: 16px; }
    .a-jobtitle { font-size: 21px; }
    .a-ring { width: 68px; height: 68px; }
    .a-ring span { font-size: 21px; }
    .a-analysis { padding: 16px; }
    .a-boxes { grid-template-columns: minmax(0, 1fr); }

    .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
    .board-head { font-size: 13.5px; padding: 8px 10px; }
    .board-card { font-size: 13px; padding: 10px; }

    .close-inner { flex-direction: column; align-items: stretch; }

    .footer-note { margin-left: 0; }
}
