/* 스르르데이 랜딩 — Figma 1:1 반응형
   브레이크포인트: 모바일 ~767, 태블릿 768~1023(iPad11 834 기준), PC 1024+(MacBookPro14 1512 기준)
   토큰·리셋은 base.css */

/* ---------- 페이지 컬럼 ---------- */
/* overflow:hidden은 nav의 position:sticky를 깨트리므로 사용하지 않음.
   가로 overflow 방지는 자식(.cover, .scene__frame, .band)에서 개별 처리 */
/* Safari 15 이하는 overflow:clip 미지원 → hidden 폴백 (단, 그 환경에선 nav sticky가 깨질 수 있음) */
.page { max-width: 1920px; margin: 0 auto; background: var(--bg-cream); overflow-x: hidden; overflow-x: clip; }

/* nav가 가린 섹션으로 앵커 이동할 때 메뉴 아래부터 보이게 */
section[id], main[id] { scroll-margin-top: 60px; }
@media (min-width: 1024px) { section[id], main[id] { scroll-margin-top: 92px; } }

/* ---------- 타이포 ---------- */
.display-1 { font-size: 48px; line-height: 56px; font-weight: 700; letter-spacing: -0.96px; color: var(--text-inverse); }
.display-2 { font-family: var(--font-serif); font-weight: 500; font-size: 80px; line-height: 64px; letter-spacing: -1.6px; color: var(--text-primary); }
.editorial { font-family: var(--font-serif); font-weight: 600; font-style: italic; font-size: 24px; line-height: 30px; letter-spacing: 0.24px; color: var(--text-inverse); }
.editorial--accent { color: var(--text-accent); }
.h2 { font-size: 28px; line-height: 38px; font-weight: 700; letter-spacing: -0.56px; color: var(--text-primary); }
.h2--inverse { color: var(--text-inverse); }
.h3 { font-size: 22px; line-height: 32px; font-weight: 600; letter-spacing: -0.22px; color: var(--text-primary); }
.label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.78px; }
.label--accent { color: var(--text-accent); }
.label--white { color: var(--bg-white); }
.label-s { font-size: 10px; line-height: 14px; font-weight: 600; color: var(--text-secondary); }
.caption { font-size: 12px; line-height: 17px; letter-spacing: 0.36px; color: var(--text-secondary); }
.caption--accent { color: var(--text-accent); }
/* 본문 — Figma (가) 기준 16px / 27px */
.body { font-size: 16px; line-height: 27px; color: var(--text-primary); }
.body--secondary { color: var(--text-secondary); }
.body--white { color: var(--bg-white); font-weight: 600; font-size: 16px; line-height: 24px; }
.body--inverse { color: var(--text-inverse); }

/* 화면 낭독기용(스크린 리더에만 보임) */
.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; }

/* ---------- 버튼 ---------- */
.btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 48px; padding: 8px 12px;
    font-size: 16px; line-height: 20px; font-weight: 600; text-align: center;
}
.btn--outline { border: 1px solid var(--border-strong); color: var(--text-primary); }
.btn--outline-inverse { border: 1px solid var(--border-subtle); color: var(--text-inverse); }
.btn--dark { background: var(--bg-dark); color: var(--text-inverse); }
.btn--text-inverse { color: var(--text-inverse); border: 0; background: transparent; }   /* 푸터: 테두리 없는 글자형 */
.btn--text-inverse:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* ---------- 내비게이션 (심볼 로고 + TONGYEONG · THE ARCHIVE · FIELD NOTE)
   스크롤 시 상단 고정 (sticky). 팝업 z-index(100)보다 낮게 설정 */
.nav {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    height: 48px; padding: 0 var(--sp-24);
    background: var(--bg-cream);
    font-weight: 600; white-space: nowrap;
    box-shadow: 0 1px 0 rgba(23, 44, 52, 0.06);
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { display: block; width: 32px; height: 32px; }
.nav__menu { display: flex; gap: var(--sp-16); font-size: 12px; line-height: 16px; color: var(--text-primary); }
.nav__menu a { padding: 2px 0; }
.nav__brand { font-size: 16px; line-height: 20px; letter-spacing: -0.16px; }  /* 호환용 유지 */
/* 하위 호환 (옛 nav__home 흔적 — 새 nav__logo 미사용 시 안전망) */
.nav__home { position: absolute; inset: 0 auto 0 0; width: 48px; }

/* ---------- 커버 ---------- */
.cover { position: relative; height: 480px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--sp-24); }
.cover__img { position: absolute; left: 0; top: 0; width: 100%; height: 552px; object-fit: cover; }
.cover__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.cover__text { position: relative; display: flex; flex-direction: column; gap: var(--sp-12); }

/* ---------- 공통 섹션 ---------- */
.sec { padding: var(--sp-64) var(--sp-24); display: flex; flex-direction: column; }
.sec__head { display: flex; flex-direction: column; gap: var(--sp-8); }
.sec--intro { gap: var(--sp-16); }
.sec--intro .sec__head { margin-bottom: 0; }
.sec--intro .intro-no { margin-top: var(--sp-16); display: flex; flex-direction: column; gap: var(--sp-16); }
.rule { width: 100%; height: 1px; }

/* ---------- 02 장면 ---------- */
.sec--scenes { background: var(--bg-cream-subtle); gap: var(--sp-24); }
.sec--scenes > .sec__head { margin-bottom: -8px; }
.scene { display: flex; flex-direction: column; height: 466px; position: relative; }
.scene__media { display: flex; flex-direction: column; }
.scene__num { display: flex; align-items: flex-end; width: 100%; }
.scene__num .caption { flex: 1; }
.scene__num .display-2 { font-size: 80px; line-height: 64px; }
.scene.is-right .scene__num { text-align: right; }
.scene__frame { position: relative; width: 300px; height: 230px; overflow: hidden; }
.scene.is-right .scene__frame { margin-left: auto; }
.scene__frame img { position: absolute; max-width: none; object-fit: cover; }
.f-naejukdo { width: 300px; height: 420px; left: 50%; top: calc(50% + 19px); transform: translate(-50%, -50%); }
.f-overlay { width: 460px; height: 230px; left: calc(50% + 9px); top: 50%; transform: translate(-50%, -50%); }
.f-route { width: 300px; height: 379px; left: 0; top: -69px; }
.story {
    position: absolute; top: 274px; z-index: 1; width: 312px;
    background: var(--bg-white); padding: var(--sp-16);
    display: flex; flex-direction: column; gap: var(--sp-16);
}
.scene.is-left .story { right: 0; }
.scene.is-right .story { left: 0; align-items: flex-end; text-align: right; }
.story__tags { display: flex; flex-direction: column; gap: var(--sp-12); }
.story__tags p { display: flex; gap: var(--sp-16); font-size: 12px; line-height: 18px; text-align: center; }
/* (가) 간결 스토리 카드: 라벨 + 제목 + 짧은 설명 1줄만 */
.story--simple .label-s { font-size: 13px; line-height: 18px; letter-spacing: 0.78px; }
.story--simple .body { font-size: 16px; line-height: 27px; }

.scenes__outro { padding-top: var(--sp-32); display: flex; flex-direction: column; gap: var(--sp-8); text-align: center; }
.scenes__outro .body { text-align: center; }

/* ---------- NOT JUST A ROUTE (다크) ---------- */
.sec--dark { background: var(--bg-dark); color: var(--text-inverse); gap: var(--sp-16); }
.sec--dark .h2 { color: var(--text-inverse); }
.sec--dark .body { color: var(--text-inverse); }
.sec__divider { display: flex; flex-direction: column; gap: var(--sp-12); margin-top: var(--sp-16); }
.rule--inverse { opacity: .6; }
.runwords { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 14px; line-height: 22px; color: var(--text-inverse); white-space: nowrap; }
.runwords li { flex: 1; text-align: center; }

/* ---------- 03 THE ARCHIVE ---------- */
.sec--archive { background: var(--bg-white); gap: var(--sp-32); }
.sec--archive > .sec__head { gap: var(--sp-8); }
.sec--archive > .sec__head + .body { margin-top: calc(var(--sp-32) * -1 + var(--sp-16)); }
.archive__hero { margin: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.archive__hero img { width: 100%; height: 265px; object-fit: cover; object-position: center; background: #e6dbce; display: block; }
.archive__meta { display: flex; justify-content: space-between; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.78px; color: var(--text-secondary); }
.archive__quote { text-align: center; }
.archive__list { display: flex; flex-direction: column; gap: var(--sp-16); }
.archive__item { display: flex; flex-direction: column; gap: var(--sp-16); }
.archive__item--end { margin-top: calc(var(--sp-16) * -1); }  /* 마지막 구분선 */
.archive__row { display: flex; gap: var(--sp-16); align-items: flex-start; }
.archive__no { flex: none; width: 32px; font-family: var(--font-sans); font-weight: 600; font-size: 22px; line-height: 32px; color: var(--text-accent); letter-spacing: -0.22px; text-align: center; }
.archive__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.archive__title { font-weight: 600; font-size: 16px; line-height: 24px; color: var(--text-primary); }

/* ---------- 04 Field Note 미리보기 ---------- */
.sec--notes { gap: var(--sp-24); }
.sec--notes .sec__head + .body { margin-top: -8px; } /* 제목→설명 16px (섹션 gap 24 - 8) */
.notes { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.note { padding: var(--sp-16) 0 0; display: flex; flex-direction: column; gap: var(--sp-8); }
.note + .note { margin-top: var(--sp-16); border-top: 1px solid var(--border-subtle); }
.note__type { font-size: 12px; line-height: 18px; font-weight: 600; color: var(--text-accent); }
.note__meta { font-size: 12px; line-height: 18px; font-weight: 600; color: var(--text-secondary); margin-top: -4px; }
.note__body { font-size: 16px; line-height: 27px; white-space: pre-line; }

/* ---------- 동피랑 / 푸터 ---------- */
.band { position: relative; height: 480px; overflow: hidden; }
.band img { position: absolute; left: 0; top: 0; width: 100%; height: 552px; object-fit: cover; }
.footer { background: var(--bg-dark); color: var(--text-inverse); padding: var(--sp-48) var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-48); }
.footer__top { display: flex; flex-direction: column; gap: var(--sp-24); }
.footer__bottom { display: flex; flex-direction: column; gap: var(--sp-24); }
.footer__bottom p { text-align: center; }

/* ---------- Field Note 팝업 ---------- */
.fn { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .4); display: flex; align-items: center; justify-content: center; padding: var(--sp-16) var(--sp-12); }
.fn[hidden] { display: none; }
.fn__card {
    width: 100%; max-width: 456px; max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
    background: var(--bg-cream); border-radius: var(--r-8); outline: none;
}
.fn-screen { display: flex; flex-direction: column; gap: var(--sp-24); padding: var(--sp-32) var(--sp-24); }
.fn-screen[hidden] { display: none; }
.fn-screen--select { padding-top: var(--sp-32); padding-bottom: var(--sp-48); }
.fn-top { display: flex; align-items: center; justify-content: space-between; height: 24px; font-size: 16px; line-height: 20px; font-weight: 600; }
.fn-form { display: flex; flex-direction: column; gap: var(--sp-24); }
.fn-choices { display: flex; flex-direction: column; gap: var(--sp-12); }
.choice {
    display: flex; align-items: center; gap: var(--sp-8); width: 100%; text-align: left;
    padding: var(--sp-12); background: var(--bg-cream); border: 1px solid var(--border-default);
}
.choice__text { flex: 1; display: flex; flex-direction: column; gap: var(--sp-8); }
.choice__text .note__type { margin-bottom: -4px; }
.choice__text strong { font-size: 16px; line-height: 24px; font-weight: 600; }
.choice__text span:last-child { font-size: 14px; line-height: 22px; }

.field { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-12); min-width: 0; }
.field legend, .field > label { display: flex; flex-direction: column; gap: var(--sp-8); padding: 0; width: 100%; }
.field legend + *, .field > label + * { margin-top: 0; }
.field strong { font-size: 16px; line-height: 24px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span, .chip--btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: var(--sp-4) var(--sp-12); border: 1px solid var(--border-default); border-radius: var(--r-pill);
    background: var(--bg-cream); color: var(--text-primary);
    font-size: 12px; line-height: 18px; font-weight: 600; white-space: nowrap;
}
.chip input:checked + span, .chip--btn.is-on { background: var(--bg-dark); color: var(--text-inverse); }
.chip input:focus-visible + span { outline: 2px solid var(--text-accent); outline-offset: 2px; }

.input {
    width: 100%; background: var(--bg-white); border: 1px solid var(--border-default); border-radius: var(--r-6);
    padding: 6px 10px; font: inherit;
    font-size: 16px;  /* iOS Safari 자동 확대 방지(최소 16px) */
    line-height: 24px; color: var(--text-primary);
}
.input::placeholder { color: var(--text-tertiary); }
.input--date { height: 40px; }
.input--area { height: 100px; resize: none; }
.counter { margin-top: calc(var(--sp-12) * -1 + 4px); text-align: right; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--text-secondary); }
.fn-error { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-accent); }
.fn-error[hidden] { display: none; }

/* 출시 알림 팝업: 동의 체크 + 수집·이용 안내 */
.field > label.consent { display: flex; flex-direction: row; align-items: center; gap: var(--sp-12); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--bg-dark); cursor: pointer; }
.consent span { font-size: 14px; line-height: 22px; font-weight: 600; white-space: nowrap; }
/* 아주 좁은 화면(약 400px 미만)에서는 글이 화면 밖으로 넘치지 않도록 줄바꿈 허용 */
@media (max-width: 400px) {
    .consent span { white-space: normal; font-size: 13px; }
}
.consent-detail { margin: 0; padding: var(--sp-12) var(--sp-16); list-style: none; display: flex; flex-direction: column; gap: 4px;
    background: var(--bg-white); border: 1px solid var(--border-subtle); font-size: 12px; line-height: 18px; color: var(--text-secondary); }
.consent-detail a { text-decoration: underline; text-underline-offset: 2px; color: var(--text-primary); }
.fn-notice { text-align: center; font-size: 12px; line-height: 17px; letter-spacing: 0.36px; color: var(--text-secondary); }
.btn[disabled] { opacity: .6; cursor: default; }

/* 목록 */
.list { display: flex; flex-direction: column; gap: var(--sp-16); }
.list__count { font-size: 12px; line-height: 17px; letter-spacing: 0.36px; }
.notes--list { border-top: 1px solid var(--border-subtle); gap: 0; }
.notes--list .note { padding-top: var(--sp-16); }
.notes--list .note + .note { margin-top: var(--sp-16); }
.notes--list .note__type, .notes--list .note__meta { font-weight: 600; line-height: 18px; letter-spacing: 0; }
.notes--list .note__body { font-size: 16px; line-height: 27px; letter-spacing: -0.032px; }
.list__empty { padding: var(--sp-24) 0; text-align: center; color: var(--text-secondary); }
.pager { display: flex; align-items: center; justify-content: center; gap: var(--sp-8); padding-top: var(--sp-8); }
.pager button { min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-secondary); }
.pager button.is-on { color: var(--text-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.pager button[disabled] { cursor: default; }
.pager img { width: 20px; height: 20px; }

body.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ========== 반응형: 태블릿 (768px~) — Figma iPad11 834px 기준 ========== */
@media (min-width: 768px) {
    /* 섹션 좌우 패딩 24 → 64 */
    .sec { padding: var(--sp-64); }
    .cover { padding: var(--sp-24) var(--sp-64); height: 600px; }
    .cover__img { height: 100%; }
    .band { height: 1048px; }
    .band img { height: 100%; }
    .footer { padding: var(--sp-48) var(--sp-64); }

    /* 섹션 배경 그라데이션 꺼짐 — 전체 폭 */
    .page { background: var(--bg-cream); max-width: none; }

    /* 02 Scene 카드: 세로 → 가로(이미지 좌/우 교대)
       HTML: .scene > .scene__media(.scene__num + .scene__frame) + .story
       Grid 로 num(상단 전체) / frame(이미지) / story(스토리) 2x2 배치 */
    .scene { height: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 230px; grid-template-areas: "num num" "frame story"; column-gap: var(--sp-24); row-gap: 0; }
    .scene__media { display: contents; }
    .scene__num { grid-area: num; width: 100%; }
    .scene__frame { grid-area: frame; width: 100%; height: 230px; margin-left: 0 !important; }
    .scene .story { grid-area: story; position: static; width: auto; margin: 0; align-items: flex-start; text-align: left; }
    .scene.is-right { grid-template-areas: "num num" "story frame"; }
    .scene.is-right .story { align-items: flex-end; text-align: right; }
    /* Scene 이미지 내부 크롭 좌표 재조정 (이미지가 더 넓은 영역에 들어가므로) */
    .f-naejukdo { width: 100%; height: auto; min-height: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%); object-fit: cover; }
    .f-overlay { display: none; }  /* overlay는 겹침용. 가로 레이아웃에서는 간결히 숨김 */
    .f-route { width: 100%; height: auto; min-height: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%); object-fit: cover; }

    /* 03 THE ARCHIVE: 패키지 이미지 더 크게 */
    .archive__hero img { height: 480px; }

    /* 05 다크 섹션 */
    .sec--dark { padding: var(--sp-64); }

    /* 버튼: 중앙 정렬, 최대 폭 600 */
    .sec > .btn, .footer .btn { max-width: 600px; margin-inline: auto; }
}

/* ========== 반응형: PC (1024px~) — Figma MacBookPro14 1512px 기준 ========== */
@media (min-width: 1024px) {
    /* 상단 nav: 높이 80, 로고 48, 메뉴 글자 16 */
    .nav { height: 80px; padding: 0 var(--sp-64); }
    .nav__logo img { width: 48px; height: 48px; }
    .nav__menu { font-size: 16px; line-height: 20px; letter-spacing: -0.16px; gap: var(--sp-24); }

    /* 커버: 상단 80px 영역 아래 공간 */
    .cover { height: 600px; padding: 80px 200px var(--sp-24); }

    /* 섹션 좌우 패딩 64 → 200 */
    .sec, .footer { padding-left: 200px; padding-right: 200px; }

    /* 03 THE ARCHIVE 패키지 이미지: 가운데 786px 고정 */
    .archive__hero { max-width: 786px; margin: 0 auto; width: 100%; }
    .archive__hero img { height: 600px; }

    /* 02 Scene 이미지 폭 고정 380px, 스토리 나머지 */
    .scene { grid-template-columns: 380px minmax(0, 1fr); }

    /* 커버 텍스트 가로 폭 적당히 */
    .cover__text { max-width: 600px; }
}

/* ========== 더 큰 화면 (1600px+): 콘텐츠 폭 상한 ========== */
@media (min-width: 1600px) {
    .nav, .cover, .sec, .footer { padding-left: calc((100% - 1112px) / 2); padding-right: calc((100% - 1112px) / 2); }
}

/* ========== 이미지 첨부 (드래그앤드롭 + 썸네일) ========== */
.field--image { gap: var(--sp-12); }
.field--image .field__legend { display: flex; flex-direction: column; gap: var(--sp-8); }
.field--image .field__legend strong { font-size: 16px; line-height: 24px; font-weight: 600; }

.dropzone {
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; min-height: 180px;
    border: 1.5px dashed var(--border-default); border-radius: var(--r-8);
    background: var(--bg-white); padding: var(--sp-48) var(--sp-16);
    text-align: center; transition: border-color .15s, background .15s;
    -webkit-tap-highlight-color: transparent;
}
.dropzone[aria-busy="true"] { opacity: .7; cursor: wait; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--text-accent); background: var(--bg-cream); }
.dropzone.is-drag { border-color: var(--text-accent); background: var(--bg-cream-subtle); border-style: solid; }
.dropzone.is-disabled { opacity: .5; pointer-events: none; }
.dropzone__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-secondary); }
.dropzone__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--text-accent); border-radius: 50%; background: var(--bg-cream-subtle); }
.dropzone__text { display: flex; flex-direction: column; gap: 4px; }
.dropzone__text strong { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-primary); }
.dropzone__text small { font-size: 12px; line-height: 18px; color: var(--text-tertiary); }

.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-8); margin-top: 0; }
.thumbs[hidden] { display: none; }
.thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-6); background: var(--bg-cream-subtle); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb__remove {
    position: absolute; top: 4px; right: 4px;
    width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(23, 44, 52, 0.85); color: var(--text-inverse); font-size: 14px;
    line-height: 1; cursor: pointer;
}
.thumb__remove:hover { background: var(--bg-dark); }
.thumb__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); color: #fff; font-size: 10px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.field-note { font-size: 12px; line-height: 18px; color: var(--text-secondary); }
.field-note.is-error { color: var(--text-accent); font-weight: 600; }

/* ========== 공개 글의 이미지 ========== */
.note__images { display: flex; gap: var(--sp-8); flex-wrap: wrap; margin-top: var(--sp-4); }
.note__images img { width: 72px; height: 72px; border-radius: var(--r-6); object-fit: cover; background: var(--bg-cream-subtle); border: 1px solid var(--border-subtle); }

@media (max-width: 440px) {
    .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ---------- 개인정보 처리방침 (/privacy) ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: var(--sp-48) var(--sp-24) var(--sp-64); display: flex; flex-direction: column; gap: var(--sp-16); }
.legal h1 { margin: 0; }
.legal h2 { margin: var(--sp-32) 0 0; font-size: 18px; line-height: 26px; font-weight: 700; color: var(--text-primary); }
.legal p, .legal li { font-size: 14px; line-height: 24px; color: var(--text-primary); margin: 0; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal__lead { color: var(--text-secondary); }
.legal__table { border: 1px solid var(--border-subtle); background: var(--bg-white); }
.legal__row { display: grid; grid-template-columns: 130px 1.4fr 1.2fr 1fr; gap: var(--sp-12); padding: var(--sp-12) var(--sp-16); border-top: 1px solid var(--border-subtle); font-size: 13px; line-height: 20px; }
.legal__row:first-child { border-top: 0; }
.legal__row--head { background: var(--bg-cream-subtle); font-weight: 600; color: var(--text-secondary); }
.legal__row > span:first-child { font-weight: 600; }
@media (max-width: 720px) {
    .legal__row { grid-template-columns: 1fr; gap: 4px; }
    .legal__row--head { display: none; }
    .legal__row > span[data-l]::before { content: attr(data-l); display: block; margin-bottom: 1px; font-size: 11px; font-weight: 600; letter-spacing: .3px; color: var(--text-accent); }
}
