/* =========================================================
   트리밸 사이트 (B안 · 해 뜨는 길) — /treebal/ 소개 · 지원 · 이용약관 공통
   글꼴: Pretendard Variable — 페이지에서 /assets/fonts/pretendard/pretendard.css 로 불러옴 (사이트 공용 · 외부 요청 없음)
   ========================================================= */

:root {
  /* 하늘 */
  --night: #0A1135;
  --sky-1: #111D5E;
  --sky-2: #18309A;
  --sky-3: #1C3CC6;
  /* 트리밸 파랑 */
  --tb-500: #4F7CFF;
  --tb-700: #2F55C9;   /* 흰 바탕 글자 */
  --tb-300: #A9BCFF;   /* 어두운 바탕 강조 글자 */
  --tb-200: #C9D6FF;
  --tb-100: #E8EEFF;
  /* 해 */
  --sun: #F5A524;
  --sun-hi: #FFE29A;
  --sun-lo: #EE8A1A;
  /* 글자 (어두운 바탕) */
  --w-1: #FFFFFF;
  --w-2: rgba(255, 255, 255, .74);
  --w-3: rgba(255, 255, 255, .5);
  --w-line: rgba(255, 255, 255, .16);
  --w-line-strong: rgba(255, 255, 255, .4);
  /* 글자 (흰 종이) */
  --ink: #16181A;
  --ink-body: #2E3135;
  --ink-2: #5D6166;
  --paper-line: #ECECE7;
  /* 앱 화면 바탕 · 기기 */
  --app-bg: #F2F4F6;
  --frame: #05070F;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --gutter: clamp(20px, 3vw, 40px);
  --container: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--w-1); font-family: var(--font); word-break: keep-all; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { background: linear-gradient(180deg, var(--night) 0%, var(--sky-1) 28%, var(--sky-2) 66%, var(--sky-3) 100%); overflow: hidden; }
.page--doc { background: linear-gradient(180deg, var(--night) 0%, var(--sky-1) 50%, #142683 100%); }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 머리 ---------- */
.top { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crumb { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.crumb span { color: var(--w-3); font-weight: 500; }
.crumb img { width: 26px; height: 26px; border-radius: 7px; }
.nav { display: flex; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--w-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--w-1); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sun); }

/* ---------- 받기 ---------- */
.get { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.get img { height: 52px; width: auto; }
/* Google Play 배지 그림은 위아래 투명 여백이 있어 App Store 배지와 높이를 맞추려면 키우고 여백만큼 당김 (담은 페이지와 같은 비율 1.302) */
.get img.gp { height: 67.7px; margin: -7.85px 0; }
.soon { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px dashed rgba(255, 255, 255, .45); font-size: 15px; font-weight: 700; color: var(--w-2); }
.soon b { color: var(--sun); }
/* 출시 전: <body class="is-soon"> / 출시 후: class 를 빼면 배지가 보입니다 */
.is-soon .get--live { display: none; }
body:not(.is-soon) .get--soon { display: none; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--w-3); }
.note { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--w-3); }
.note svg { flex: none; }

/* ---------- 해 · 지평선 ---------- */
.sun { position: absolute; border-radius: 50%; background: radial-gradient(circle at 50% 75%, var(--sun-hi) 0%, var(--sun) 55%, var(--sun-lo) 100%); box-shadow: 0 0 160px 60px rgba(245, 165, 36, .26); }

/* ---------- 기기 · 앱 화면 ---------- */
.phone { position: relative; width: 300px; height: 640px; padding: 9px; border-radius: 50px; background: var(--frame); box-shadow: 0 70px 120px -40px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08); }
.phone__scr { position: relative; height: 100%; overflow: hidden; border-radius: 41px; background: var(--app-bg); padding-top: 40px; }
.phone__scr::before { content: ""; position: absolute; left: 50%; top: 12px; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #000; z-index: 1; }
.phone__scr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(180deg, rgba(242, 244, 246, 0) 0%, var(--app-bg) 80%); }
.phone__scr img { width: 100%; }
.screen { position: relative; width: 100%; max-width: 480px; border-radius: 30px; background: var(--app-bg); padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .55); }
.screen img { width: 100%; }

/* =========================================================
   소개 /treebal/
   ========================================================= */
.hero { position: relative; padding: 72px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); color: var(--tb-200); font-size: 14px; font-weight: 700; }
.pill b { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.h1 { margin: 28px 0 0; font-size: clamp(46px, 7.4vw, 112px); line-height: 1.04; font-weight: 900; letter-spacing: -.06em; }
.h1 em { font-style: normal; color: var(--tb-300); }
.hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 36px; }
.lead { margin: 0; max-width: 540px; font-size: 19px; line-height: 1.75; color: var(--w-2); }

.horizon { position: relative; margin-top: 72px; height: 560px; }
.horizon .sun { right: 12%; top: 150px; width: 220px; height: 220px; clip-path: inset(-240px -240px 36% -240px); }
.horizon__hill { position: absolute; left: -12%; right: -12%; top: 290px; height: 520px; border-radius: 50% 50% 0 0 / 22% 22% 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 60%); }
.horizon__path { position: absolute; left: 0; top: 0; width: 100%; height: 560px; }
.stop { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); }
.stop i { width: 22px; height: 22px; border-radius: 50%; background: var(--night); border: 4px solid #fff; }
.stop i.s { width: 16px; height: 16px; border: 0; background: rgba(255, 255, 255, .75); }
.stop b { font-size: 15px; font-weight: 600; color: var(--w-2); white-space: nowrap; }
.stop b strong { margin-left: 4px; font-size: 22px; color: #fff; }
.horizon__phone { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); }
.stops { display: none; }
.hero__note { display: flex; justify-content: center; padding-top: 28px; }

.tl { position: relative; padding: 40px 0; }
.tl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 2px dotted rgba(255, 255, 255, .35); }
.st { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding: 96px 0 96px 72px; }
.st__text { grid-column: 1 / span 5; position: relative; }
.st__text::before { content: ""; position: absolute; left: -82px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--night); border: 4px solid #fff; }
.st__media { grid-column: 7 / span 6; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.glow { position: absolute; inset: 10% 5% 10% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 124, 255, .45), rgba(79, 124, 255, 0)); filter: blur(10px); pointer-events: none; }
.when { display: flex; align-items: baseline; gap: 14px; }
.when b { font-size: clamp(56px, 6vw, 88px); line-height: .9; font-weight: 900; letter-spacing: -.06em; }
.when span { font-size: 16px; font-weight: 700; color: var(--tb-300); }
.st h2 { margin: 28px 0 0; font-size: clamp(25px, 2.8vw, 38px); line-height: 1.3; font-weight: 850; letter-spacing: -.04em; }
.st h2 small { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; color: var(--sun); letter-spacing: .02em; }
.st p { margin: 18px 0 0; font-size: 17.5px; line-height: 1.8; color: var(--w-2); }
.st .phone { transform: rotate(-4deg); }

.h2c { margin: 0; font-size: clamp(30px, 3.6vw, 52px); font-weight: 900; letter-spacing: -.05em; line-height: 1.15; }
.more { padding: 120px 0 40px; }
.more__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--w-line); }
.more__item { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--w-line); }
.more__item h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.more__item p { margin: 10px 0 0; font-size: 16px; line-height: 1.75; color: var(--w-2); }

.faq { padding: 120px 0 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.faq__head { grid-column: 1 / span 4; }
.faq__all { margin-top: 24px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--sun); }
.faq__list { grid-column: 5 / span 8; border-top: 1px solid var(--w-line-strong); }
.faq__list + .faq__all { display: none; }

/* 펼치는 질문 (소개 · 지원 공통) */
.q { border-bottom: 1px solid var(--w-line); scroll-margin-top: 24px; }
.q summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 8px 0; cursor: pointer; font-size: 19px; font-weight: 750; letter-spacing: -.025em; }
.q summary::-webkit-details-marker { display: none; }
.q summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); position: relative; transition: transform .3s var(--ease), background .3s; }
.q summary i::before, .q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; border-radius: 2px; }
.q summary i::after { transform: rotate(90deg); }
.q[open] summary i { transform: rotate(45deg); background: rgba(255, 255, 255, .12); }
.q__a { margin: 0; padding: 0 56px 26px 0; font-size: 16.5px; line-height: 1.85; color: var(--w-2); }

.keep { padding: 64px 0 0; }
.keep__t { margin: 0 0 16px; font-size: 14px; font-weight: 800; color: var(--w-2); }
.keep ul { margin: 0; padding: 24px 0 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; border-top: 1px solid var(--w-line); }
.keep li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.7; color: var(--w-3); }
.keep li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--w-3); }

.dawn { position: relative; margin-top: 120px; padding: 160px 0 0; text-align: center; overflow: hidden; background: linear-gradient(180deg, rgba(28, 60, 198, 0) 0%, #2B4FE0 45%, #F0A64A 92%, #F7C677 100%); }
.dawn h2 { margin: 0 auto; max-width: 900px; font-size: clamp(36px, 5.4vw, 80px); line-height: 1.12; font-weight: 900; letter-spacing: -.055em; }
.dawn .get { justify-content: center; margin-top: 40px; }
.dawn .fine { color: var(--w-2); }
.dawn__sun { margin: 72px auto 0; width: 560px; max-width: 80%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: radial-gradient(circle at 50% 100%, #FFF3C8 0%, var(--sun-hi) 30%, var(--sun) 70%, var(--sun-lo) 100%); box-shadow: 0 0 200px 80px rgba(255, 214, 120, .45); }

/* ---------- 바닥 ---------- */
.foot { background: var(--night); color: var(--w-2); }
.foot__in { padding-top: 32px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.foot__mail { font-weight: 700; color: #fff; display: inline-flex; min-height: 44px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a, .foot nav span { display: inline-flex; align-items: center; min-height: 36px; transition: color .2s; }
.foot nav a:hover { color: #fff; }

/* =========================================================
   지원 · 이용약관 공통 머리
   ========================================================= */
.d-head { position: relative; padding: 80px 0 72px; }
.d-head__path { position: absolute; left: 55%; right: 0; top: 150px; border-top: 3px dotted rgba(255, 255, 255, .32); }
.d-head .sun { right: 6%; top: 40px; width: 180px; height: 180px; clip-path: inset(-200px -200px 39% -200px); box-shadow: 0 0 140px 50px rgba(245, 165, 36, .22); }
.d-head h1 { position: relative; margin: 0; font-size: clamp(56px, 8vw, 120px); line-height: 1; font-weight: 900; letter-spacing: -.065em; }
.d-head p { position: relative; margin: 28px 0 0; font-size: 18px; color: var(--w-2); }
.d-head p b { color: #fff; }

/* ---------- 지원 /treebal/support/ ---------- */
.s-body { display: flex; flex-wrap: wrap; gap: 56px; padding: 24px 0 120px; }
.s-side { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.idx { display: flex; flex-direction: column; border-top: 1px solid var(--w-line-strong); }
.idx a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--w-line); font-size: 16px; font-weight: 700; color: var(--w-2); }
.idx a span { font-size: 13px; color: var(--w-3); }
.idx a.on { color: #fff; }
.idx a.on span { color: var(--sun); }
.mail { border-radius: 24px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--w-line); padding: 26px 24px; }
.mail h2 { margin: 0; font-size: 18px; font-weight: 800; }
.mail p { margin: 8px 0 0; font-size: 15px; line-height: 1.7; color: var(--w-2); }
.mail a { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; background: #fff; color: var(--night); font-size: 15.5px; font-weight: 800; }
.mail--bottom { display: none; }
.s-main { flex: 999 1 560px; min-width: 0; }
.grp { margin-bottom: 72px; scroll-margin-top: 24px; }
.grp h2 { margin: 0; font-size: 28px; font-weight: 850; letter-spacing: -.035em; }
.list { margin-top: 20px; border-top: 1px solid var(--w-line-strong); }
.chips { display: none; }

/* ---------- 이용약관 /treebal/terms/ ---------- */
.d-head--terms { padding: 72px 0 64px; }
.d-head--terms .d-head__path { top: 132px; }
.d-head--terms .sun { top: 30px; width: 150px; height: 150px; clip-path: inset(-180px -180px 32% -180px); }
.t-layout { display: flex; flex-wrap: wrap; gap: 48px; padding: 16px 0 120px; align-items: flex-start; }
.toc { flex: 0 1 250px; min-width: 0; position: sticky; top: 24px; }
.toc summary { display: none; }
.toc nav { border-top: 1px solid var(--w-line-strong); padding-top: 8px; }
.toc a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; font-size: 15px; font-weight: 600; color: var(--w-2); }
.toc a b { width: 44px; font-size: 13px; font-weight: 700; color: var(--w-3); }
.toc a.on { color: #fff; }
.toc a.on b { color: var(--sun); }
.toc a.on::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 12px rgba(245, 165, 36, .8); }
.paper { flex: 999 1 600px; min-width: 0; max-width: 840px; background: #fff; color: var(--ink); border-radius: 32px; padding: 60px 72px 72px; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .6); }
.art { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--paper-line); scroll-margin-top: 24px; }
.art:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.art h2 { position: relative; margin: 0; display: flex; align-items: baseline; gap: 12px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.art h2 span { font-size: 14px; font-weight: 700; color: var(--tb-700); }
.art p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.85; color: var(--ink-body); }
.art ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: n; }
.art li { counter-increment: n; position: relative; padding-left: 30px; margin-top: 10px; font-size: 16.5px; line-height: 1.85; color: var(--ink-body); }
.art li::before { content: counter(n); position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--tb-100); color: var(--tb-700); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.art a { color: var(--tb-700); }
.contact { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 16.5px; line-height: 1.7; }
.contact dt { color: var(--ink-2); }
.contact dd { margin: 0; font-weight: 600; }
.since { margin-top: 28px !important; font-size: 15px !important; color: var(--ink-2) !important; }

/* =========================================================
   태블릿 ≤ 900px
   ========================================================= */
@media (max-width: 900px) {
  .st, .faq { grid-template-columns: 1fr; }
  .st__text, .st__media, .faq__head, .faq__list { grid-column: 1 / -1; }
  .st { padding-left: 48px; }
  .more__grid, .keep ul { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* =========================================================
   휴대폰 ≤ 600px
   ========================================================= */
@media (max-width: 600px) {
  .top { height: 60px; }
  .crumb { gap: 7px; font-size: 14.5px; }
  .crumb img { width: 22px; height: 22px; border-radius: 6px; }
  .nav { margin-right: -8px; }
  .nav a { padding: 0 8px; font-size: 14px; }
  .nav a[aria-current="page"] { box-shadow: none; }

  .hero { padding-top: 32px; }
  .pill { height: 30px; padding: 0 12px; font-size: 13px; }
  .h1 { margin-top: 20px; }
  .hero__row { display: block; margin-top: 20px; }
  .lead { font-size: 16.5px; }
  .hero__row > div { margin-top: 24px; }
  .get { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .get img { width: 100%; height: 50px; object-fit: contain; }
  .get img.gp { height: 65.1px; margin: -7.55px 0; }
  .soon { grid-column: 1 / -1; justify-content: center; }
  .fine { text-align: center; font-size: 13px; }

  .horizon { height: auto; margin-top: 44px; padding-bottom: 8px; }
  .horizon__path, .stop { display: none; }
  .horizon .sun { right: -30px; top: 120px; width: 150px; height: 150px; clip-path: inset(-160px -160px 37% -160px); box-shadow: 0 0 100px 40px rgba(245, 165, 36, .25); }
  .horizon__hill { left: -30%; right: -30%; top: 215px; }
  .horizon__phone { position: relative; left: auto; top: auto; transform: none; display: flex; justify-content: center; }
  .horizon .phone { width: 250px; height: 534px; padding: 8px; border-radius: 44px; }
  .phone__scr { border-radius: 36px; padding-top: 34px; }
  .phone__scr::before { top: 10px; width: 72px; height: 21px; margin-left: -36px; border-radius: 11px; }
  .stops { position: relative; display: flex; justify-content: space-between; align-items: center; margin: 22px 4px 0; }
  .stops::before { content: ""; position: absolute; left: 12px; right: 12px; top: 7px; border-top: 3px dotted rgba(255, 255, 255, .6); }
  .stops div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--w-2); }
  .stops i { width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 3px solid #fff; }
  .stops i.s { width: 12px; height: 12px; margin: 2px 0; border: 0; background: rgba(255, 255, 255, .8); }
  .stops b { margin-left: 2px; font-size: 17px; color: #fff; }
  .hero__note { padding-top: 14px; }

  .tl { margin: 0 calc(var(--gutter) * -1); padding: 24px 0 0; }
  .tl::before { left: 20px; }
  .st { display: block; padding: 64px 20px 0 48px; }
  .st__text::before { left: -36px; top: 14px; width: 18px; height: 18px; border-width: 3px; }
  .when b { font-size: 60px; }
  .when span { font-size: 14px; }
  .st h2 { margin-top: 20px; }
  .st p { font-size: 16px; }
  .st__media { margin-top: 24px; gap: 12px; align-items: stretch; }
  .glow { display: none; }
  .screen { border-radius: 24px; padding: 14px; gap: 10px; box-shadow: 0 36px 60px -24px rgba(0, 0, 0, .55); }
  .st .phone { align-self: center; width: 240px; height: 500px; padding: 8px; border-radius: 42px; transform: none; }

  .more, .faq { padding-top: 88px; }
  .more__item { padding: 22px 0; }
  .faq { display: block; }
  .faq__list { margin-top: 20px; }
  .faq__all { display: flex; justify-content: center; margin-top: 16px; min-height: 52px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
  .faq__head .faq__all { display: none; }
  .faq__list + .faq__all { display: flex; }
  .q summary { min-height: 62px; font-size: 16.5px; }
  .q summary i { width: 28px; height: 28px; }
  .q__a { padding: 0 0 20px; font-size: 15.5px; }
  .keep { padding-top: 48px; }
  .keep li { font-size: 13.5px; }

  .dawn { margin-top: 88px; padding: 120px 20px 0; }
  .dawn .get { margin-top: 28px; }
  .dawn__sun { margin-top: 48px; width: 300px; }

  .foot__in { display: block; padding-top: 24px; padding-bottom: 40px; }
  .foot nav { margin-top: 6px; gap: 0 18px; }
  .foot nav a, .foot nav span { min-height: 44px; }

  .d-head { padding: 48px 0 36px; }
  .d-head__path { top: 100px; }
  .d-head .sun { right: -24px; top: 26px; width: 120px; height: 120px; clip-path: inset(-140px -140px 38% -140px); box-shadow: 0 0 90px 30px rgba(245, 165, 36, .2); }
  .d-head p { margin-top: 18px; font-size: 14.5px; }
  .d-head--terms .d-head__path { top: 92px; }
  .d-head--terms .sun { top: 22px; width: 110px; height: 110px; clip-path: inset(-140px -140px 36% -140px); }

  .s-body { display: block; padding: 0 0 0; }
  .s-side { display: none; }
  .chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
  .chips a { flex: none; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); font-size: 14px; font-weight: 700; color: var(--w-2); }
  .chips a b { color: var(--w-3); }
  .chips a.on { background: #fff; color: var(--night); box-shadow: none; }
  .chips a.on b { color: #C77A0F; }
  .grp { margin: 44px 0 0; }
  .grp h2 { font-size: 24px; }
  .list { margin-top: 14px; }
  .mail--bottom { display: block; margin-top: 56px; padding: 24px 20px; }

  .t-layout { display: block; padding: 0 0 0; }
  .toc { margin: 0 calc(12px - var(--gutter)); border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--w-line); }
  .toc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 18px; cursor: pointer; font-size: 15px; font-weight: 700; }
  .toc summary::-webkit-details-marker { display: none; }
  .toc summary span { color: var(--sun); font-size: 13.5px; }
  .toc nav { border-top: 0; padding: 0 10px 10px; }
  .toc a { font-size: 14.5px; }
  .paper { margin: 12px calc(12px - var(--gutter)) 0; border-radius: 24px; padding: 32px 22px 36px; }
  .art { padding-top: 24px; margin-top: 24px; }
  .art h2 { display: block; font-size: 17.5px; }
  .art h2 span { margin-right: 8px; font-size: 13px; }
  .art p, .art li { font-size: 15.5px; line-height: 1.8; }
  .art li { padding-left: 26px; }
  .foot { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
