/* Pretendard (SIL OFL 1.1) — 자체 호스팅, 페이지에 쓰인 글자 조각만 내려받는 dynamic subset */
@import url("../fonts/pretendard/pretendardvariable-dynamic-subset.css");

/* =========================================================
   청약진단소 — 디자인 토큰
   ========================================================= */
:root {
    --bg: #f6f7fd;
    --surface: #ffffff;
    --ink: #1c1f3b;
    --fg: #2b2f45;
    --muted: #6b7086;
    --line: #e5e7f2;
    --accent: #5b5bd6;
    --accent-dark: #4343b8;
    --accent-2: #3fa9d6;
    --accent-soft: #eeeefe;
    --notice-bg: #eef0fe;
    --error: #d93636;
    --grad: linear-gradient(120deg, #6c5ce7 0%, #5b7cfa 50%, #3fb6c8 100%);
    --shadow-sm: 0 1px 2px rgba(28, 31, 59, .06), 0 2px 8px rgba(28, 31, 59, .05);
    --shadow: 0 2px 6px rgba(28, 31, 59, .05), 0 12px 32px rgba(76, 80, 160, .10);
    --radius: 16px;
    --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.01em;
    word-break: keep-all;          /* 한글 단어 중간에서 줄바꿈되지 않도록 */
    overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; color: var(--ink); }
a { color: var(--accent); }
input, select, textarea, button { font-family: inherit; letter-spacing: inherit; }
input, select, textarea { border: 1px solid #d5d8e6; border-radius: 10px; background: #fff; color: var(--fg); }
input:focus, select:focus, textarea:focus { outline: 3px solid #d9dafb; outline-offset: 0; border-color: var(--accent); }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container { max-width: 1000px; margin: 0 auto; padding: 32px 24px; }
.narrow { max-width: 420px; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.error { color: var(--error); }
.notice { background: var(--notice-bg); padding: 14px 18px; border-radius: 12px; color: var(--fg); }
label { display: block; margin-bottom: 14px; font-weight: 500; }
input { display: block; width: 100%; padding: 10px 12px; margin-top: 6px; font-size: 1rem; }

button, .button {
    display: inline-block; padding: 11px 22px;
    background: var(--accent); color: #fff; border: 0; border-radius: 12px;
    font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none;
    box-shadow: 0 4px 14px rgba(91, 91, 214, .25);
    transition: background .15s, transform .15s, box-shadow .15s;
}
button:hover, .button:hover { background: var(--accent-dark); transform: translateY(-1px); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
button.secondary { background: #8a8fa6; box-shadow: none; }
.secondary-button { background: #fff; color: var(--accent); border: 1px solid var(--accent); box-shadow: none; }
.secondary-button:hover { background: var(--accent-soft); }
.button.big { padding: 15px 28px; font-size: 1.08rem; border-radius: 14px; background: var(--grad); }
.button.light { background: #fff; color: var(--accent-dark); box-shadow: 0 6px 18px rgba(28, 31, 59, .15); }
.button.light:hover { background: #f4f4ff; }
.row-start { display: flex; flex-wrap: wrap; gap: 8px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
section { margin-top: 32px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

/* =========================================================
   헤더 / 푸터
   ========================================================= */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(229, 231, 242, .8);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.04em; }
.site-nav { display: flex; gap: 6px; }
.site-nav a { padding: 8px 16px; border-radius: 999px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.site-nav a.active { background: var(--accent); color: #fff; }

.site-footer { background: #1b1a38; color: #b7b9d4; margin-top: 80px; padding: 48px 0 40px; font-size: .88rem; }
.site-footer p { margin: 8px 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.1rem; }
.footer-notes { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 4px; }
.footer-notes li::before { content: "· "; }
.footer-copy { border-top: 1px solid #2f2e55; padding-top: 16px; margin-top: 24px !important; color: #8587a8; }

/* =========================================================
   배경 장식 (CSS만 사용 — 외부 이미지 없음)
   ========================================================= */
.hero, .page-hero { position: relative; overflow: hidden; margin-top: 0;
    background: linear-gradient(180deg, #e9e9ff 0%, #f1f2fe 55%, var(--bg) 100%); }
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco::after {               /* 은은한 격자 */
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(91, 91, 214, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 91, 214, .07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob.b1 { width: 520px; height: 520px; background: #b7a8ff; top: -180px; right: -80px; }
.blob.b2 { width: 420px; height: 420px; background: #a6d8f5; top: 120px; right: 30%; opacity: .45; }
.blob.b3 { width: 360px; height: 360px; background: #b9f0e6; bottom: -160px; left: -100px; opacity: .5; }
.tile {                           /* 떠 있는 유리 블록 */
    position: absolute; border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .15));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 30px 60px rgba(91, 91, 214, .12);
}
.tile.t1 { width: 180px; height: 420px; top: -60px; right: 12%; transform: rotate(8deg); }
.tile.t2 { width: 140px; height: 320px; top: 40px; right: 2%; transform: rotate(8deg); opacity: .8; }
.tile.t3 { width: 120px; height: 260px; top: -40px; right: 26%; transform: rotate(8deg); opacity: .6; }
.tile.t4 { width: 90px; height: 90px; bottom: 60px; left: 42%; border-radius: 24px; transform: rotate(-12deg); opacity: .7; }

/* =========================================================
   홈
   ========================================================= */
.hero { padding: 72px 0 140px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid #dcdcfb; color: var(--accent); font-weight: 700; font-size: .85rem; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin: 0 0 18px; letter-spacing: -0.045em; line-height: 1.25; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.1rem; color: #4d5170; margin: 0 0 28px; }
.hero-search {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 6px 6px 18px; border-radius: 18px;
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
    box-shadow: var(--shadow); color: var(--accent); max-width: 560px;
}
.hero-search input { border: 0; margin: 0; padding: 12px 4px; outline: none; background: transparent; min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-search button { flex: none; border-radius: 12px; box-shadow: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }

.hero-visual { position: relative; }
.glass-card {
    position: relative; padding: 24px; border-radius: 24px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 70px rgba(76, 80, 160, .20);
}
.gc-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink); }
.pill { font-size: .78rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.gc-score { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 8px; color: var(--muted); }
.gc-score strong { font-size: 3rem; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gc-bar { height: 10px; border-radius: 999px; background: #ececf8; overflow: hidden; }
.gc-fill { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--grad); }
.gc-rows { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.gc-rows li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: .92rem; }
.float-chip {
    position: absolute; padding: 10px 14px; border-radius: 14px; font-size: .85rem; font-weight: 700;
    background: #fff; color: var(--ink); box-shadow: var(--shadow); white-space: nowrap;
}
.float-chip.c1 { top: -18px; left: -28px; }
.float-chip.c2 { bottom: -20px; right: -12px; color: var(--accent); }

.lift-panel { position: relative; margin-top: -90px; }
.panel-grid {
    display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px;
    background: var(--surface); border-radius: 28px; padding: 40px;
    box-shadow: var(--shadow); border: 1px solid #eef0f8;
}
.panel-intro h2 { font-size: 1.9rem; margin: 0 0 12px; }
.step-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.step-cards li { padding: 20px; border-radius: 18px; background: #fafaff; border: 1px solid var(--line); }
.step-cards .num { font-weight: 800; font-size: .9rem; color: var(--accent); }
.step-cards h3 { margin: 6px 0 6px; font-size: 1.1rem; }
.step-cards p { margin: 0; color: var(--muted); font-size: .93rem; }

.band { margin-top: 80px; padding: 72px 0; color: #fff;
    background: linear-gradient(115deg, #6c5ce7 0%, #7d8bff 55%, #a9d6f5 100%); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -120px; top: -200px; background: rgba(255, 255, 255, .12); }
.band-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.band h2 { color: #fff; font-size: 2rem; margin: 0 0 12px; }
.band h2 strong { font-size: 2.6rem; }
.band p { color: rgba(255, 255, 255, .88); }
.region-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.region-chips a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.region-chips a:hover { background: rgba(255, 255, 255, .3); }
.region-chips em { font-style: normal; font-size: .78rem; background: #fff; color: var(--accent-dark); padding: 0 7px; border-radius: 999px; }
.soon-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.soon-cards li { background: #fff; color: var(--fg); border-radius: 18px; padding: 18px; box-shadow: 0 12px 30px rgba(28, 31, 59, .15); display: flex; flex-direction: column; gap: 8px; }
.soon-title { color: var(--ink); font-weight: 700; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.soon-title:hover { color: var(--accent); }
.soon-date { margin: auto 0 0; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dday { margin-left: auto; font-weight: 800; font-size: .8rem; color: var(--accent); background: var(--accent-soft); padding: 2px 10px; border-radius: 999px; }
.dday.urgent { color: var(--error); background: #fdeaea; }

.links-section { margin-top: 72px; }
.links-section h2 { font-size: 1.8rem; margin-bottom: 4px; }
.link-cards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.link-cards a { position: relative; display: block; height: 100%; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--fg); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.link-cards a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.link-cards h3 { margin: 0 0 6px; font-size: 1.1rem; }
.link-cards p { margin: 0; color: var(--muted); font-size: .9rem; }
.link-cards .arrow { position: absolute; top: 18px; right: 20px; color: var(--accent); font-weight: 700; }

/* =========================================================
   하위 페이지 공통
   ========================================================= */
.page-hero { padding: 36px 0 84px; }
.page-hero .wrap { position: relative; max-width: 1000px; }
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin: 14px 0 8px; }
.page-hero p { margin: 0; color: #4d5170; max-width: 720px; }
.page-body { position: relative; margin-top: -56px; }
.panel-main { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); border: 1px solid #eef0f8; padding: 32px; }
.plain-bg { background: linear-gradient(180deg, #e9e9ff 0%, var(--bg) 320px); min-height: 100vh; }
.plain-bg .panel-main { margin-top: 56px; }
.back-block {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .85); color: var(--accent);
    border: 1px solid #dcdcfb; border-radius: 999px;
    font-weight: 600; font-size: .9rem; text-decoration: none;
}
.back-block:hover { background: #fff; }

/* 공고 목록 */
.panel { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid #eef0f8; padding: 20px 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin: 0 0 16px; }
.filters label { margin: 0; }
.filters label.grow { flex: 1 1 260px; }
.filters select { display: block; padding: 10px 12px; margin-top: 6px; font-size: 1rem; }
label.inline { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; }
label.inline input { display: inline; width: auto; margin: 0; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card.closed { opacity: .6; }
.card-title { font-size: 1.08rem; margin: 10px 0 4px; }
.card p { margin: 4px 0; font-size: .92rem; }
.empty { text-align: center; padding: 48px 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; font-weight: 600; background: #f1f2f8; color: var(--muted); padding: 3px 10px; border-radius: 999px; }
.tag.accent { background: var(--accent-soft); color: var(--accent); }
.tag.warn { background: #fdeaea; color: var(--error); }
.dates { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 10px 0; font-size: .9rem; }
.dates div { display: flex; gap: 6px; }
.dates dt { color: var(--muted); }
.dates dd { margin: 0; }

/* =========================================================
   내 점수·자격 진단 (score.js 가 사용하는 클래스)
   ========================================================= */
.stepper { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; counter-reset: s; }
.stepper li { counter-increment: s; font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: #f1f2f8; color: var(--muted); }
.stepper li::before { content: counter(s) ". "; }
.stepper li.active { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(91, 91, 214, .3); }
.stepper li.done { background: var(--accent-soft); color: var(--accent); }
.step { margin-top: 8px; }
.step h2 { margin-top: 8px; }
.step-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.fields select, .fields input { display: block; width: 100%; padding: 10px 12px; margin-top: 6px; font-size: 1rem; }
.fields small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; margin-top: 4px; }
.guide { background: #fafaff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: .93rem; }
.guide h3 { margin-top: 0; font-size: 1.02rem; }
.guide ol, .guide ul { padding-left: 20px; }
.formula { font-weight: 700; background: #fff; border: 1px dashed #c9cbe6; padding: 10px 14px; border-radius: 10px; }
.calc-preview { font-weight: 700; color: var(--accent); min-height: 1.6em; }
.step-nav { display: flex; gap: 8px; margin: 28px 0 8px; }
.remember { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 14px; }
.link-button { background: none; color: var(--muted); padding: 0; text-decoration: underline; font-size: .9rem; font-weight: 500; box-shadow: none; }
.link-button:hover { background: none; color: var(--accent); transform: none; }
.score-total { font-size: 2.4rem; font-weight: 800; margin: 4px 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.score-list { display: grid; gap: 8px; }
.score-list dt { font-weight: 600; }
.score-list dd { margin: 0; }
ul.plain { padding-left: 18px; }
.status { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status.ok { background: #e3f6ea; color: #13804a; }
.status.check { background: #fff4d9; color: #a56300; }
.status.fail { background: #fdeaea; color: var(--error); }
.status.na { background: #f1f2f8; color: var(--muted); }
.row-na td { opacity: .6; }
.req { color: var(--error); font-weight: 700; }
.req-legend { margin-top: -8px; font-size: .85rem; }
label.invalid input, label.invalid select { border: 2px solid var(--error); }
.field-error { display: block; color: var(--error); font-size: .85rem; margin-top: 4px; font-weight: 500; }
.field-hint { display: block; margin-top: 8px; padding: 12px 14px; background: var(--notice-bg); border-left: 3px solid var(--accent); border-radius: 10px; font-size: .86rem; font-weight: 400; color: var(--fg); line-height: 1.6; }
.field-group { font-size: .95rem; margin: 18px 0 8px; color: var(--muted); }
.income-explain { background: linear-gradient(180deg, #f6f6ff, #fbfcff); border: 1px solid #dcdcfb; border-radius: var(--radius); padding: 20px 22px; margin: 4px 0 24px; }
.income-explain h3 { margin: 0 0 6px; font-size: 1.08rem; }
.income-explain h3 u { text-decoration-color: #b9b9f5; text-decoration-thickness: 3px; text-underline-offset: 3px; }
.income-explain p { margin: 0 0 12px; }
.income-compare { background: #fff; border-radius: 12px; overflow: hidden; }
.income-compare td:first-child { font-weight: 600; white-space: nowrap; }
.income-compare .status { margin-right: 6px; }
.income-detail { margin-top: 12px; }
.income-detail summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.income-detail ul { padding-left: 20px; margin: 10px 0; }
.income-detail li { margin-bottom: 8px; }
.guide h4 { margin: 14px 0 4px; font-size: .95rem; }
@media (max-width: 720px) { .income-compare td:first-child { white-space: normal; } }
.compare-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.compare-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: #fafaff; }
.compare-card h4 { margin: 0 0 4px; }
.result-table td div { margin-top: 4px; font-size: .9rem; }
.result-table td { min-width: 120px; }
.container:has(.result-layout), body:has(.result-layout) .page-hero .wrap { max-width: 1280px; }
.result-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.matches { border: 1px solid #dcdcfb; background: linear-gradient(180deg, #f6f6ff, #fbfcff); border-radius: var(--radius); padding: 18px; position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow-y: auto; }
.matches h3 { margin-top: 0; }
.matches select { padding: 6px 8px; margin-left: 4px; }
.match-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.match-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .9rem; }
.match-title { font-weight: 600; margin: 4px 0; }
.st-fail { color: var(--error); }
.st-check { color: #a56300; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1100px) {
    .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .hero { padding: 48px 0 120px; }
    .hero-grid, .band-grid, .panel-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-visual { max-width: 460px; margin: 12px auto 0; width: 100%; }
    .float-chip.c1 { left: 8px; }
    .float-chip.c2 { right: 8px; }
    .result-layout { grid-template-columns: minmax(0, 1fr); }
    .matches { position: static; max-height: none; }
    .pc-only { display: none; }
}
@media (max-width: 720px) {
    .wrap, .container { padding-left: 16px; padding-right: 16px; }
    .header-row { height: 58px; }
    .brand { font-size: 1.08rem; }
    .site-nav a { padding: 6px 10px; font-size: .88rem; }
    .step-body, .cards, .soon-cards, .step-cards { grid-template-columns: minmax(0, 1fr); }
    .panel-grid { padding: 24px 18px; border-radius: 22px; }
    .panel-main { padding: 22px 16px; border-radius: 20px; }
    .container.panel-main { margin-left: 8px; margin-right: 8px; }
    .link-cards { grid-template-columns: minmax(0, 1fr); }
    .tile.t1, .tile.t3 { display: none; }
    .hero-search { padding-left: 12px; }
    .hero-search svg { display: none; }
    .band { padding: 52px 0; }
    .site-footer { margin-top: 56px; }
}
