:root {
    --ink: #101214;
    --text: #292a2e;
    --muted: #505258;
    --subtle: #6b6e76;
    --line: #dddee1;
    --line-soft: #ebecf0;
    --bg: #ffffff;
    --bg-gray: #f8f8f8;
    --bg-sunken: #f1f2f4;

    --brand: #1868db;
    --brand-hover: #1558bc;
    --brand-pressed: #144794;
    --brand-soft: #e9f2fe;
    --brand-softer: #cfe1fd;

    --green-soft: #efffd6;
    --green-line: #d3f1a7;
    --green-ink: #4c6b1f;
    --purple-soft: #f8eefe;
    --purple-line: #eed7fc;
    --purple-ink: #803fa5;
    --yellow-soft: #fff7d6;
    --yellow-line: #ffe48f;

    --success-bg: #dcfff1;
    --success-ink: #216e4e;
    --merged-bg: #f3f0ff;
    --merged-ink: #5e4db2;
    --progress-bg: #e9f2fe;
    --progress-ink: #1558bc;
    --danger-bg: #ffeceb;
    --danger-ink: #ae2e24;
    --neutral-bg: #f1f2f4;
    --neutral-ink: #505258;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 1px 1px rgba(9, 30, 66, .06), 0 0 1px rgba(9, 30, 66, .16);
    --shadow-raised: 0 8px 12px rgba(9, 30, 66, .08), 0 0 1px rgba(9, 30, 66, .2);
    --shadow-frame: 0 24px 48px -12px rgba(9, 30, 66, .18), 0 0 1px rgba(9, 30, 66, .2);

    --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", Roboto, sans-serif;

    color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
    min-width: 320px;
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--brand); }
button, select, textarea { font: inherit; }

.container { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; left: 1rem; top: -5rem; z-index: 100;
    padding: .75rem 1rem; border-radius: var(--radius-sm);
    color: white; background: var(--ink); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    min-height: 2.5rem; padding: .5rem 1.25rem;
    border: 2px solid transparent; border-radius: 999px;
    font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
    cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:disabled { cursor: not-allowed; opacity: .45; }
.btn-primary { color: white; background: var(--brand); }
.btn-primary:hover:not(:disabled) { background: var(--brand-hover); }
.btn-primary:active:not(:disabled) { background: var(--brand-pressed); }
.btn-outline { color: var(--brand); background: white; border-color: var(--brand); }
.btn-outline:hover:not(:disabled) { background: var(--brand-soft); }
.btn-subtle { color: var(--text); background: white; border: 1px solid var(--line); }
.btn-subtle:hover:not(:disabled) { background: var(--bg-sunken); }
.btn-sm { min-height: 2.25rem; padding: .4rem 1.1rem; font-size: .9rem; }
.btn-lg { min-height: 3rem; padding: .75rem 1.6rem; font-size: 1.05rem; }

/* ---------- Top bar ---------- */

.topbar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line-soft);
}
.topbar-inner { display: flex; align-items: center; gap: 2rem; min-height: 4rem; }

.brand {
    display: inline-flex; align-items: center; gap: .55rem;
    color: var(--ink); font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none;
}
.brand-mark {
    display: grid; place-items: center; width: 2rem; height: 2rem;
    border-radius: 8px; color: white; background: var(--brand);
}
.brand-small { font-size: .95rem; }
.brand-small .brand-mark { width: 1.5rem; height: 1.5rem; border-radius: 6px; }

.topnav { display: flex; gap: 1.5rem; }
.topnav a { color: var(--text); font-size: .95rem; font-weight: 500; text-decoration: none; }
.topnav a:hover { color: var(--brand); }

.topbar-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.demo-chip {
    padding: .25rem .6rem; border-radius: var(--radius-sm);
    color: var(--muted); background: var(--bg-sunken); font-size: .78rem; font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
    position: relative; overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
    background:
        radial-gradient(60rem 28rem at 110% -10%, var(--brand-soft), transparent 60%),
        radial-gradient(40rem 24rem at -10% 110%, var(--green-soft), transparent 60%),
        var(--bg);
}
.hero-inner { display: grid; justify-items: center; text-align: center; }

.hero-kicker {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .35rem .85rem; margin-bottom: 1.5rem;
    border: 1px solid var(--brand-softer); border-radius: 999px;
    color: var(--brand-hover); background: white; font-size: .88rem; font-weight: 600;
}
.kicker-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

.hero h1 {
    font-size: clamp(2.2rem, 5.2vw, 4.2rem);
    font-weight: 700; line-height: 1.15; letter-spacing: -.035em;
    white-space: nowrap;
}
.hero-sub {
    max-width: 40rem; margin-top: 1.25rem;
    color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.7;
}

.search-box {
    position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr);
    align-items: start; gap: .25rem .75rem;
    width: min(760px, 100%); margin-top: 2.25rem; padding: 1rem 1rem 1rem 1.25rem;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: white; box-shadow: var(--shadow-raised); text-align: left;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-raised); }
.search-icon { margin-top: .55rem; color: var(--subtle); }
.search-box textarea {
    width: 100%; min-height: 3.2rem; padding: .35rem 0; border: 0; outline: none; resize: none;
    color: var(--ink); background: transparent; font-size: 1.1rem; line-height: 1.55;
}
.search-box textarea::placeholder { color: #8c8f97; }
.search-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.char-count { color: var(--subtle); font-size: .8rem; font-variant-numeric: tabular-nums; }

.example-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.25rem; }
.example-label { color: var(--subtle); font-size: .85rem; font-weight: 600; }
.example-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chip {
    min-height: 2.25rem; padding: .35rem .95rem;
    border: 1px solid var(--line); border-radius: 999px;
    color: var(--text); background: white; font-size: .88rem; font-weight: 500; cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chip:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.chip:disabled { cursor: not-allowed; opacity: .5; }

.example-row[hidden] { display: none; }
.source-line {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem;
    padding: .3rem .8rem; border-radius: 999px;
    color: var(--muted); background: var(--bg-sunken); font-size: .82rem; font-weight: 500;
}
.source-line[hidden] { display: none; }
.source-line::before { content: ""; flex: 0 0 auto; width: .45rem; height: .45rem; border-radius: 50%; background: var(--subtle); }
.source-line.is-live { color: var(--success-ink); background: var(--success-bg); }
.source-line.is-live::before { background: var(--success-ink); box-shadow: 0 0 0 3px rgba(33, 110, 78, .18); }

.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin: 2rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.trust-row li { display: inline-flex; align-items: center; gap: .45rem; }
.check { display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; color: var(--success-ink); background: var(--success-bg); font-size: .7rem; font-weight: 800; }

/* ---------- Result frame ---------- */

.result-band { padding-bottom: 1rem; }
.result-band:has(> .container > :not([hidden])) { padding: .5rem 0 3rem; }

.state-card {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: white; text-align: left;
}
.state-card[hidden] { display: none; }
.state-card strong { color: var(--ink); }
.state-card p { margin-top: .25rem; color: var(--muted); font-size: .92rem; }
.state-card.is-error { border-color: #fd9891; background: var(--danger-bg); }
.state-card.is-error strong { color: var(--danger-ink); }
.state-card.is-empty { min-height: 12rem; border-style: dashed; background: transparent; text-align: center; }

.spinner {
    flex: 0 0 auto; width: 2rem; height: 2rem;
    border: 3px solid var(--brand-softer); border-top-color: var(--brand); border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-sm { width: 1.1rem; height: 1.1rem; border-width: 2px; }

.answer-loading { display: flex; align-items: center; gap: .65rem; color: var(--brand-hover); font-size: 1.05rem; font-weight: 600; }
.answer-loading[hidden] { display: none; }
.answer-overview[hidden] { display: none; }

.frame {
    overflow: hidden; border-radius: var(--radius-xl);
    background: white; box-shadow: var(--shadow-frame);
}
.frame:focus { outline: none; }

.answer-head { padding: clamp(1.5rem, 4vw, 2.25rem); background: linear-gradient(180deg, var(--brand-soft), white); }
.lozenge-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .9rem; }
.answer-overview { max-width: 60rem; color: var(--ink); font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; line-height: 1.55; letter-spacing: -.015em; }
.meta { color: var(--subtle); font-size: .82rem; }

.expanded-query { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; max-width: 60rem; margin-top: .9rem; font-size: .84rem; }
.expanded-query[hidden] { display: none; }
.expanded-label { flex: 0 0 auto; padding: .1rem .5rem; border-radius: 999px; color: var(--purple-ink); background: var(--purple-soft); font-size: .74rem; font-weight: 700; }
.expanded-text { color: var(--muted); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .8rem; }

.answer-grid[hidden], .people[hidden] { display: none; }
.frame.is-low .answer-head { background: linear-gradient(180deg, var(--yellow-soft), white); }
.frame.is-low .frame-split { grid-template-columns: 1fr; }
.frame.is-low .issue-list { opacity: .6; }

.answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0 clamp(1rem, 3vw, 2.25rem) 1.5rem; }
.answer-block { padding: 1.25rem 1.35rem; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: white; }
.answer-block.tint-green { border-color: var(--green-line); background: var(--green-soft); }
.answer-block h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; font-size: 1rem; }
.count { padding: .05rem .5rem; border-radius: 999px; color: var(--muted); background: var(--bg-sunken); font-size: .75rem; font-weight: 600; }
.tint-green .count { background: white; }

.point-list { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.point-list li { position: relative; padding-left: 1.1rem; color: var(--text); line-height: 1.65; }
.point-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--brand); }
.tint-green .point-list li::before { background: var(--green-ink); }
.point-list li.no-points { padding-left: 0; color: var(--subtle); }
.point-list li.no-points::before { display: none; }

.evidence-links { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.evidence-link, .missing-evidence {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .12rem .5rem; border-radius: var(--radius-sm);
    font-size: .74rem; font-weight: 600; text-decoration: none;
}
.evidence-link { color: var(--brand-hover); background: var(--brand-soft); }
.evidence-link:hover { text-decoration: underline; }
.missing-evidence { color: var(--muted); background: var(--bg-sunken); }

.frame-split { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; border-top: 1px solid var(--line-soft); }
.frame-split > section { padding: 1.5rem clamp(1rem, 3vw, 2.25rem) 2rem; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.block-head h3, .people h3 { font-size: 1rem; }

.people { padding: 1.5rem 1.5rem 2rem; border-left: 1px solid var(--line-soft); background: var(--bg-gray); }
.people-note { margin: .35rem 0 1rem; color: var(--subtle); font-size: .8rem; line-height: 1.5; }
.people-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; padding: .85rem; border-radius: var(--radius); background: white; box-shadow: var(--shadow-card); }
.person strong { display: block; color: var(--ink); font-size: .95rem; }
.people-list .no-points { color: var(--subtle); font-size: .9rem; }

/* ---------- Issue rows ---------- */

.issue-list { display: grid; gap: .6rem; }
.issue-row {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: start;
    padding: .9rem 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius);
    background: white; transition: box-shadow .15s ease, border-color .15s ease;
}
.issue-row:hover { border-color: var(--line); box-shadow: var(--shadow-raised); }
.issue-main { min-width: 0; }
.issue-top { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; color: var(--subtle); font-size: .78rem; }
.issue-key { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.issue-title { margin-top: .2rem; color: var(--ink); font-size: .98rem; font-weight: 600; line-height: 1.45; }
.issue-desc { margin-top: .3rem; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.issue-side { display: grid; justify-items: end; gap: .5rem; }
.source-link { color: var(--brand); font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.source-link:hover { text-decoration: underline; }
span.source-link { color: var(--subtle); }

.type-icon {
    display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
    border-radius: 6px; color: white; font-size: .68rem; font-weight: 800;
}
.type-jira { background: var(--brand); }
.type-pr { background: var(--purple-ink); }
.type-commit { background: var(--green-ink); }

.score { display: flex; align-items: center; gap: .5rem; margin-top: .55rem; }
.score-bar { position: relative; flex: 0 0 6.5rem; height: .35rem; overflow: hidden; border-radius: 999px; background: var(--bg-sunken); }
.score-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--brand); }
.score-label { color: var(--brand-hover); font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.related-line { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line-soft); }
.related-label { color: var(--subtle); font-size: .74rem; font-weight: 700; }
.related-link {
    display: inline-flex; align-items: center; gap: .4rem; max-width: 100%;
    padding: .2rem .55rem .2rem .25rem; border: 1px solid var(--line-soft); border-radius: 999px;
    color: var(--text); background: var(--bg-gray); font-size: .78rem; text-decoration: none;
}
a.related-link:hover { border-color: var(--brand); color: var(--brand); }
.related-link .type-icon { width: 1.25rem; height: 1.25rem; border-radius: 50%; font-size: .55rem; }
.related-id { font-weight: 700; white-space: nowrap; }
.related-title { overflow: hidden; max-width: 22rem; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }

.lozenge {
    display: inline-flex; align-items: center; padding: .1rem .45rem;
    border-radius: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.loz-brand { color: white; background: var(--brand); text-transform: none; letter-spacing: 0; font-size: .78rem; padding: .2rem .6rem; border-radius: 999px; }
.loz-neutral { color: var(--neutral-ink); background: var(--neutral-bg); text-transform: none; letter-spacing: 0; font-size: .78rem; padding: .2rem .6rem; border-radius: 999px; }
.loz-success { color: var(--success-ink); background: var(--success-bg); }
.loz-merged { color: var(--merged-ink); background: var(--merged-bg); }
.loz-progress { color: var(--progress-ink); background: var(--progress-bg); }
.loz-danger { color: var(--danger-ink); background: var(--danger-bg); }
.loz-default { color: var(--neutral-ink); background: var(--neutral-bg); }

.avatar {
    display: inline-grid; place-items: center; flex: 0 0 auto;
    width: 2rem; height: 2rem; border-radius: 50%;
    color: white; font-size: .8rem; font-weight: 700;
}
.avatar-sm { width: 1.4rem; height: 1.4rem; font-size: .62rem; }
.assignee { display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- How it works ---------- */

.how { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
.section-sub { margin-top: .5rem; color: var(--muted); }
.how .section-title { margin-bottom: 1.75rem; text-align: center; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.how-card { padding: 1.75rem; border-radius: var(--radius-lg); }
.how-card h3 { margin: .9rem 0 .5rem; font-size: 1.15rem; }
.how-card p { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.how-step { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: white; font-size: .85rem; font-weight: 800; }
.tint-blue { background: var(--brand-soft); }
.tint-blue .how-step { color: var(--brand); }
.how-card.tint-green { background: var(--green-soft); }
.how-card.tint-green .how-step { color: var(--green-ink); }
.tint-purple { background: var(--purple-soft); }
.tint-purple .how-step { color: var(--purple-ink); }

/* ---------- Team board ---------- */

.band-gray { padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: var(--bg-gray); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

.status-message:not(:empty) { margin-bottom: 1rem; padding: .7rem 1rem; border-radius: var(--radius); color: var(--progress-ink); background: var(--brand-soft); font-size: .9rem; }

.toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.toolbar-group { padding: 1.1rem 1.25rem; border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-card); }
.toolbar-group label { display: block; margin-bottom: .6rem; color: var(--ink); font-weight: 700; }
.toolbar-controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.toolbar-controls select { flex: 1 1 10rem; }

select {
    min-height: 2.5rem; padding: 0 2.25rem 0 .8rem;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    color: var(--ink); background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23505258' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center;
    appearance: none;
}
select:disabled { color: var(--subtle); background-color: var(--bg-sunken); }

.board-panel:focus { outline: none; }
.board-panel > article { padding: 1.5rem; border-radius: var(--radius-xl); background: white; box-shadow: var(--shadow-card); }
.board-head { margin-bottom: 1.25rem; }
.board-head h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.board-head .meta { margin-top: .35rem; }

.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.board-column { display: flex; flex-direction: column; gap: .6rem; min-height: 12rem; padding: .75rem; border-radius: var(--radius); background: var(--bg-sunken); }
.board-column-head { display: flex; align-items: center; justify-content: space-between; padding: .15rem .35rem .35rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.board-column-head .count { background: white; }
.board-card { padding: .8rem .85rem; border-radius: 8px; background: white; box-shadow: var(--shadow-card); color: var(--text); font-size: .9rem; line-height: 1.55; }
.board-card.is-blocker { box-shadow: inset 3px 0 0 var(--danger-ink), var(--shadow-card); }
.board-empty { padding: .5rem .35rem; color: var(--subtle); font-size: .82rem; }

/* ---------- Activity table ---------- */

.activity-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.issue-table { display: grid; }
.table-row {
    display: grid; grid-template-columns: 2rem minmax(0, 1fr) 9rem 7rem 7.5rem 4.5rem;
    gap: 1rem; align-items: center; padding: .8rem 1.1rem; border-top: 1px solid var(--line-soft); background: white;
}
.table-row:first-child { border-top: 0; }
.table-row:hover { background: var(--bg-gray); }
.table-title { min-width: 0; }
.table-title strong { display: block; color: var(--ink); font-size: .93rem; font-weight: 600; line-height: 1.4; }
.table-title span { display: block; overflow: hidden; color: var(--subtle); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.table-cell { color: var(--muted); font-size: .84rem; }
.table-head { background: var(--bg-gray); color: var(--subtle); font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.table-head:hover { background: var(--bg-gray); }

.privacy-note { display: flex; gap: 1rem; margin-block: 1rem 3.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--yellow-soft); border: 1px solid var(--yellow-line); }
.privacy-note strong { flex: 0 0 auto; color: var(--ink); }
.privacy-note p { color: var(--muted); font-size: .9rem; line-height: 1.55; }

.footer { border-top: 1px solid var(--line-soft); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; color: var(--subtle); font-size: .82rem; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .topnav { display: none; }
    .frame-split { grid-template-columns: 1fr; }
    .people { border-left: 0; border-top: 1px solid var(--line-soft); }
    .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .table-row { grid-template-columns: 2rem minmax(0, 1fr) 7rem 5.5rem; }
    .table-row > .col-date, .table-row > .col-link { display: none; }
}

@media (max-width: 720px) {
    .demo-chip { display: none; }
    .answer-grid, .how-grid, .toolbar { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .issue-row { grid-template-columns: auto minmax(0, 1fr); }
    .issue-side { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; }
    .privacy-note { flex-direction: column; }
}

@media (max-width: 560px) {
    .hero h1 { white-space: normal; }
}

@media (max-width: 520px) {
    .container { width: calc(100% - 2rem); }
    .topbar-inner { gap: 1rem; }
    .search-box { padding: .85rem; }
    .search-actions { justify-content: space-between; }
    .search-actions .btn { flex: 1; }
    .board { grid-template-columns: 1fr; }
    .table-row { grid-template-columns: 1.75rem minmax(0, 1fr) 5rem; gap: .75rem; }
    .table-row > .col-assignee { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .spinner { animation-duration: 1.8s; }
    .btn, .chip, .issue-row { transition: none; }
}
