/* 소개 페이지 스타일. 브랜드 가이드(brand/brand-guide.md, 알림 점) 7–10절을 따른다.
   앞부분은 모든 페이지의 바탕과 약관·방침 문서(privacy.html, terms.html), 뒷부분(".page")은 첫 페이지(index.html)다.
   브랜드 색·모서리·로고 자리는 brand.css(site/site.json에서 생성)의 변수를 쓴다. */

@font-face {
  font-family: "Site Sans";
  src: url("fonts/site-sans.woff") format("woff");
  font-weight: 45 930;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: var(--brand-paper, #FFFFFF);
  --ink: var(--brand-ink, #1A1714);
  --sub: var(--brand-sub, #6B6259);
  --accent: var(--brand-primary, #C2311F);
  --accent-hover: var(--brand-primary-hover, #A32816);
  --on-accent: var(--brand-on-primary, #FFFFFF);
  --rule: var(--brand-rule, rgba(26, 23, 20, 0.16));
  --surface: #FFFFFF;
  --radius-tag: var(--brand-radius-tag, 0px);
  --radius-control: var(--brand-radius-control, 6px);
  --radius-photo: var(--brand-radius-photo, 0px);
  --radius-card: var(--brand-radius-card, 0px);
  --pad: 20px;
  --max: 1120px;
  --font: "Site Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 820; letter-spacing: -0.02em; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 10px 16px; background: var(--ink); color: var(--paper); font-weight: 700;
}
.skip:focus { top: 12px; color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.num { font-variant-numeric: tabular-nums; }
.nobr { white-space: nowrap; }

/* 머리: 로고 자리 + 짧은 목차 */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: var(--logo-width, 0px); height: var(--logo-height, 32px);
  margin-right: var(--logo-gap, 0px);
  background: var(--logo-image, none) left center / contain no-repeat;
}
.logo-text { display: var(--logo-text-display, inline); font-size: 22px; font-weight: 860; letter-spacing: -0.03em; }
.logo-tag { display: none; margin-left: 10px; font-size: 15px; color: var(--sub); }
.head-nav { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 650; }
.head-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; }
.head-nav .wide { display: none; }

/* 약관·방침 문서의 바닥 */
.site-foot { background: var(--accent); color: var(--on-accent); }
.site-foot .wrap { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; padding-bottom: 28px; }
.site-foot .logo { color: var(--on-accent); }
.site-foot .logo-text { font-size: 22px; }
.site-foot .logo-mark { background-image: var(--logo-image-on-primary, var(--logo-image)); }
.foot-tag { margin: 0; font-size: 15px; }
.foot-privacy { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.6; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin-top: 8px; font-size: 15px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px 0 0; color: var(--on-accent); }
.foot-nav a:hover { color: var(--on-accent); text-decoration-thickness: 2px; }
.site-foot :focus-visible { outline-color: var(--on-accent); }

/* 약관·방침 문서 */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(30px, 2vw + 22px, 44px); line-height: 1.25; font-weight: 840; }
.doc-meta { margin: 12px 0 28px; font-size: 15px; color: var(--sub); }
.doc-intro { margin-bottom: 28px; }
.toc { margin: 0 0 40px; padding: 16px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); font-size: 16px; }
.toc h2 { font-size: 16px; font-weight: 760; margin-bottom: 8px; letter-spacing: 0; }
.doc .toc ol { margin: 0; padding: 0; list-style: none; columns: 1; }
.doc .toc li { margin: 0; break-inside: avoid; }
.toc a { display: inline-block; padding: 4px 0; }
.doc section { padding-top: 28px; scroll-margin-top: 16px; }
.doc section h2 { margin-bottom: 12px; font-size: 22px; line-height: 1.4; font-weight: 800; letter-spacing: -0.01em; }
.doc ol, .doc ul { margin: 0 0 16px; padding-left: 1.4em; }
.doc li { margin-bottom: 6px; }
.doc p, .doc li { font-size: 17px; }
.table-wrap { margin: 8px 0 20px; overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.doc table.wide { min-width: 520px; }
.doc th, .doc td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.doc thead th { border-bottom: 2px solid var(--ink); font-weight: 760; }
.doc tbody th { font-weight: 700; }

/* 넓은 화면(약관·방침 문서) */
@media (min-width: 768px) {
  :root { --pad: 32px; }
  .head-nav .wide { display: inline-flex; }
  .logo-tag { display: inline; }
  .site-foot .wrap { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 88px; padding-top: 12px; padding-bottom: 12px; }
  .foot-nav { margin-top: 0; }
  .doc .toc ol { columns: 2; column-gap: 32px; }
}

@media (min-width: 1024px) {
  :root { --pad: 40px; }
}

@media print {
  .site-head nav, .btn, .skip, .nav, .head-btn { display: none; }
  /* 로고는 배경 그림이라 브라우저가 기본으로 인쇄하지 않는다. 로고 자리만 그대로 찍게 한다. */
  .logo-mark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-foot { background: none; color: var(--ink); }
  .site-foot .logo, .foot-nav a { color: var(--ink); }
  .site-foot .logo-mark { background-image: var(--logo-image); }
}

/* ───────────────── 첫 페이지(index.html) ─────────────────
   먹색 첫 화면에 휴대폰 주간 화면(알림 점 하나), 한 달 뒤 피드, 사진 한 장의 전과 후, 올리는 법, 가격, 질문.
   휴대폰이 기본이고 .page 너비가 900px 이상이면 넓은 화면 배치(container query; 지원하지 않는 브라우저는 휴대폰 배치).
   예시 그림은 assets/examples/(site/tools/make_examples.py). 휴대폰·인스타 화면은 상표 없는 일반 모양이다. */

.page {
  --paper: var(--brand-paper, #F7F4EF);
  --surface: #FFFFFF;
  --sand: #EFEAE2;
  --line: #E2DCD3;
  --ink: var(--brand-ink, #1B1A19);
  --ink-2: var(--brand-sub, #5C5752);
  --ink-3: #6B655F;
  --dot: #FF4D2E; /* 알림 점 전용(가이드 6절) */
  --night: #151413;
  --night-ink: #F2EEE8;
  --night-ink-2: #B8B1A9;
  --r-tag: var(--radius-tag);
  --r-btn: var(--radius-control);
  --r-photo: var(--radius-photo);
  --r-card: var(--radius-card);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  container: page / inline-size;
  overflow-x: clip;
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.page h1, .page h2, .page h3, .page p, .page figure, .page ul, .page ol { margin: 0; }
.page img { display: block; max-width: 100%; }
.page .wrap { max-width: 1180px; padding: 0 20px; }
.page h1 { font-size: 31px; line-height: 1.2; font-weight: 830; letter-spacing: -0.035em; }
.page h2 { font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; }
.page h3 { font-size: 20px; line-height: 1.35; font-weight: 750; letter-spacing: -0.015em; }
.page .sub { font-size: 17px; color: var(--ink-2); margin-top: 10px; }
.page .ex {
  display: inline-block; font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: 0.01em;
  padding: 5px 7px; border-radius: var(--r-tag); background: var(--sand); color: var(--ink-2);
}

/* 버튼: 먹 바탕 하나(가이드 9절). 먹색 구역에서는 종이색 */
.page .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: var(--r-btn); background: var(--ink); color: var(--surface);
  font-size: 17px; font-weight: 700; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.page .btn:active { transform: scale(0.97); }
.page .night .btn { background: var(--night-ink); color: var(--night); }
@media (hover: hover) {
  .page .night .btn:hover { background: #D9D3CB; color: var(--night); }
  .page .night a:hover { color: var(--night-ink); }
}
@media (prefers-reduced-motion: reduce) { .page .btn { transition: none; } .page .btn:active { transform: none; } }

/* 알림 점: 화면에 하나, 둘레에 바탕색 고리(가이드 6절) */
.page .dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 3px var(--surface); }

/* 머리 */
.page .night { background: var(--night); color: var(--night-ink); }
.page .head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.page .logo img { width: 56px; height: auto; }
.page .nav { display: none; }
.page .head-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-btn);
  border: 1px solid #3A3631; color: var(--night-ink); font-size: 15px; font-weight: 700; text-decoration: none;
}

/* 첫 화면 */
.page .hero { padding: 4px 0 56px; }
/* 휴대폰 첫 화면(375×812)에 제목, 완성 게시물, 부제, 버튼이 다 들어오게: 제목 바로 아래 게시물 한 장.
   넓은 화면에서는 이 자리를 휴대폰 주간 화면이 맡는다. */
.page .hero-grid { display: grid; gap: 16px; justify-items: center; }
.page .hero-text { display: contents; }
.page .hero h1, .page .lede, .page .cta { width: 100%; }
.page .hero-post { display: grid; gap: 8px; width: 100%; }
.page .hero-post img { width: 100%; height: auto; border-radius: var(--r-photo); }
.page .hero-post figcaption { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--night-ink-2); }
.page .hero-post .ex { background: #2A2724; color: var(--night-ink-2); }
.page .hero-post { order: 1; }
.page .lede { order: 2; font-size: 17px; line-height: 1.6; color: var(--night-ink-2); }
.page .cta { order: 3; }
.page .sent, .page .flow, .page .hero-phone-fig { order: 4; }
.page .cta { display: grid; gap: 12px; justify-items: start; }
.page .under { font-size: 14px; color: var(--night-ink-2); }
.page .sent { margin-top: 8px; display: grid; gap: 8px; justify-items: center; }
.page .sent .ex { background: #2A2724; color: var(--night-ink-2); }
.page .sent-photos { display: grid; grid-template-columns: repeat(3, 84px); gap: 8px; }
.page .sent-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.page .sent figcaption, .page .hero-phone-fig figcaption { font-size: 14px; color: var(--night-ink-2); text-align: center; white-space: nowrap; }
.page .flow { width: 14px; height: 36px; color: var(--night-ink-2); }
.page .hero-phone-fig { display: grid; gap: 12px; justify-items: center; }
.page .hero-phone { --w: 280px; box-shadow: 0 0 0 1px #2A2724, 0 24px 60px rgba(0, 0, 0, 0.5); }
.page .hero-phone-fig figcaption { color: var(--night-ink); font-weight: 700; }

/* 휴대폰 틀 */
.page .phone {
  --w: 300px;
  width: var(--w); aspect-ratio: 9 / 19.5; flex: none;
  border-radius: calc(var(--w) * 0.15); padding: calc(var(--w) * 0.035);
  background: #0E0D0C; box-shadow: 0 8px 24px rgba(27, 26, 25, 0.10);
}
.page .screen {
  width: 100%; height: 100%; overflow: hidden; position: relative; text-align: left;
  border-radius: calc(var(--w) * 0.12); background: var(--surface); color: #111;
  font-size: calc(var(--w) * 0.043); line-height: 1.35;
}
.page .status { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--w) * 0.05) calc(var(--w) * 0.08) calc(var(--w) * 0.02); font-weight: 700; font-size: calc(var(--w) * 0.045); }
.page .status i { display: block; width: calc(var(--w) * 0.075); height: calc(var(--w) * 0.035); border: 1.5px solid currentColor; border-radius: 3px; }

/* 사장님 주간 화면(제품 화면 kit/page_templates/page.html을 줄인 모양) */
.page .wk { padding: calc(var(--w) * 0.02) calc(var(--w) * 0.06) 0; }
.page .wk-shop { font-size: 0.85em; color: #555; font-weight: 700; }
.page .wk-title { display: flex; align-items: center; gap: 0.35em; margin-top: 0.1em; font-size: 1.3em; font-weight: 800; letter-spacing: -0.02em; }
.page .wk-title .dot { width: 0.42em; height: 0.42em; }
.page .wk-date { margin: 0.15em 0 0.7em; font-size: 0.72em; color: #777; white-space: nowrap; }
.page .wk-n { display: flex; gap: 0.4em; align-items: center; margin-bottom: 0.4em; font-size: 0.8em; font-weight: 800; }
.page .wk-n b { display: inline-flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: #1B1A19; color: #fff; font-size: 0.85em; }
.page .wk-next { margin-top: 1.2em; }
.page .wk img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--w) * 0.025); }
.page .wk-tag { display: inline-block; margin-top: 0.6em; padding: 0.15em 0.5em; border-radius: 4px; background: #EFEAE2; font-size: 0.68em; font-weight: 700; }
.page .wk-cap { margin-top: 0.3em; font-size: 0.8em; }
.page .wk-btn { display: block; margin-top: 0.6em; padding: 0.65em; border-radius: calc(var(--w) * 0.03); background: #1B1A19; color: #fff; text-align: center; font-size: 0.85em; font-weight: 700; }
.page .wk-btn.ring { box-shadow: 0 0 0 calc(var(--w) * 0.012) #fff, 0 0 0 calc(var(--w) * 0.024) #1B1A19; }

/* 인스타 같은 프로필 격자 */
.page .ig-top { display: flex; align-items: center; justify-content: center; padding: calc(var(--w) * 0.015) 0 calc(var(--w) * 0.03); font-weight: 800; }
.page .ig-me { display: flex; align-items: center; gap: calc(var(--w) * 0.045); padding: 0 calc(var(--w) * 0.05) calc(var(--w) * 0.04); }
.page .ig-me img { width: calc(var(--w) * 0.2); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.page .ig-me b { display: block; font-size: 1.05em; }
.page .ig-me span { color: #666; font-size: 0.8em; }
.page .ig-tabs { display: flex; justify-content: center; align-items: center; height: calc(var(--w) * 0.11); border-top: 1px solid #e6e6e6; }
.page .ig-tabs i { display: block; width: calc(var(--w) * 0.05); aspect-ratio: 1; border: 1.5px solid #111; border-radius: 2px; background:
  linear-gradient(#111 0 0) 0 33% / 100% 1.5px no-repeat, linear-gradient(#111 0 0) 0 66% / 100% 1.5px no-repeat,
  linear-gradient(#111 0 0) 33% 0 / 1.5px 100% no-repeat, linear-gradient(#111 0 0) 66% 0 / 1.5px 100% no-repeat; }
.page .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.page .grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }

/* 공유 시트, 새 게시물 화면 */
.page .dim::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); }
.page .sheet { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: calc(var(--w) * 0.05) calc(var(--w) * 0.05) calc(var(--w) * 0.12); border-radius: calc(var(--w) * 0.06) calc(var(--w) * 0.06) 0 0; background: #F4F3F1; }
.page .sheet-file { display: flex; align-items: center; gap: 0.6em; padding-bottom: 0.8em; border-bottom: 1px solid #e2e0dc; font-size: 0.8em; color: #555; }
.page .sheet-file img { width: 2.6em; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.page .apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4em; padding-top: 0.9em; text-align: center; font-size: 0.68em; color: #333; }
.page .apps i { display: block; width: 72%; aspect-ratio: 1; margin: 0 auto 0.4em; border-radius: 24%; background: #D9D5CF; }
.page .apps .on { font-weight: 800; color: #111; }
.page .apps .on i { background: #FFFFFF; box-shadow: inset 0 0 0 2px #1B1A19; }
.page .compose-top { display: flex; justify-content: space-between; padding: calc(var(--w) * 0.02) calc(var(--w) * 0.06) calc(var(--w) * 0.04); font-size: 0.9em; font-weight: 800; }
.page .compose-top span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.page .compose img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.page .compose-cap { padding: 0.8em calc(var(--w) * 0.06); border-bottom: 1px solid #eee; font-size: 0.8em; line-height: 1.45; }
.page .compose-cap i { font-style: normal; background: #E8E4DE; }

/* 한 달 뒤 피드 */
.page .feed { padding: 64px 0; }
.page .feed-grid { display: grid; gap: 36px; }
.page .kinds { display: grid; gap: 16px; margin-top: 24px; padding: 0; list-style: none; }
.page .kinds li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--ink); color: var(--ink-2); }
.page .kinds b { font-size: 17px; color: var(--ink); }
.page .more { margin-top: 20px; font-size: 16px; color: var(--ink-2); }
.page .feed-after { display: grid; gap: 10px; justify-items: center; }
.page .feed-after figcaption { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.page .feed-after .phone { --w: 300px; }

/* 사진 한 장의 전과 후 */
.page .change { padding: 64px 0; background: var(--sand); }
.page .change-grid { display: grid; gap: 28px; }
.page .pair { display: grid; grid-template-columns: 38fr 20px 52fr; align-items: end; gap: 10px; }
.page .pair img { width: 100%; height: auto; border-radius: var(--r-photo); }
.page .pair-raw { display: grid; gap: 8px; padding-bottom: 26px; }
.page .pair-raw .ex { justify-self: start; background: var(--surface); }
.page .pair figcaption, .page .pair-cap { margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.page .pair-cap { color: var(--ink); font-weight: 700; }
.page .pair .arrow { width: 20px; align-self: center; color: var(--ink-3); }
.page .same { font-size: 17px; font-weight: 700; }
.page .colors { display: grid; gap: 14px; padding-top: 8px; }
.page .color-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; list-style: none; }
.page .color-row img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.page .colors p { color: var(--ink-2); }

/* 올리는 법 */
.page .how { padding: 64px 0; }
.page .how-grid { display: grid; gap: 32px; margin-top: 28px; }
.page .once .body { margin-top: 12px; color: var(--ink-2); }
.page .steps { display: grid; gap: 8px; margin-top: 12px; padding-left: 1.3em; color: var(--ink-2); }
.page .steps b { color: var(--ink); }
.page .step-phones { display: flex; justify-content: center; margin-top: 28px; padding: 0; list-style: none; }
.page .step-phones li { display: none; position: relative; }
.page .step-phones li.s2 { display: block; }
.page .step-phones .phone { --w: 240px; box-shadow: none; }
.page .step-phones .n { position: absolute; left: -10px; top: 18px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: 15px; font-weight: 800; }

/* 가격 */
.page .pricing { padding: 64px 0; background: var(--sand); }
.page .plans { display: grid; gap: 16px; margin-top: 28px; }
.page .plan { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.page .for { margin-top: 4px; color: var(--ink-2); }
.page .price { display: grid; gap: 2px; margin-top: 18px; }
.page .price .label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.page .price .amount { font-size: 28px; font-weight: 820; letter-spacing: -0.02em; }
.page .later { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.page .feat { display: grid; gap: 8px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.page .feat li { display: flex; gap: 10px; align-items: baseline; }
.page .feat li::before { content: ""; flex: none; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translateY(-3px); }
.page .soon { margin-left: 6px; padding: 3px 7px; border-radius: var(--r-tag); background: var(--sand); font-size: 13px; font-weight: 700; color: var(--ink-2); vertical-align: middle; }
.page .plans-note { margin-top: 18px; font-size: 16px; color: var(--ink-2); }

/* 질문 */
.page .faq { padding: 64px 0; }
.page .qa { margin-top: 20px; border-top: 1px solid var(--line); }
.page .qa details { border-bottom: 1px solid var(--line); }
.page .qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; font-size: 17px; font-weight: 700; list-style: none; cursor: pointer; }
.page .qa summary::-webkit-details-marker { display: none; }
.page .qa summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease-out); }
.page .qa details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.page .qa details p { padding: 0 0 18px; color: var(--ink-2); }

/* 마지막 */
.page .closing { padding: 64px 0 72px; }
.page .closing .wrap { display: grid; gap: 14px; justify-items: start; }
.page .closing .sub { margin: 0 0 10px; color: var(--night-ink-2); }

/* 바닥: 회사 정보와 법으로 필요한 안내는 여기 한 곳 */
.page .foot { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.page .foot .wrap { display: grid; gap: 10px; }
.page .about { margin-bottom: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.page .about h2 { font-size: 15px; font-weight: 800; letter-spacing: 0; color: var(--ink-2); }
.page .about p { max-width: 70ch; margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.page .foot-logo { width: 48px; height: auto; margin-top: 4px; }
.page .company { font-size: 14px; font-weight: 600; color: var(--ink); }
.page .foot a { color: inherit; font-weight: 700; }
.page .fine { max-width: 70ch; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

@container page (min-width: 900px) {
  .page .wrap { padding: 0 48px; }
  .page h1 { font-size: 52px; line-height: 1.16; }
  .page h2 { font-size: 40px; }
  .page .sub { font-size: 19px; }
  .page .nav { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; font-size: 15px; font-weight: 600; }
  .page .nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--night-ink-2); text-decoration: none; }

  .page .head .wrap { min-height: 64px; }
  .page .hero { padding: 28px 0 96px; }
  .page .hero-grid { gap: 28px; grid-template-columns: 1.35fr 96px 20px 1fr; grid-template-rows: auto auto; column-gap: 28px; row-gap: 28px; align-items: center; justify-items: start; }
  .page .hero-text { display: block; grid-column: 1; grid-row: 1; align-self: end; }
  .page .hero-post { display: none; }
  .page .lede { margin-top: 14px; }
  .page .cta { grid-column: 1; grid-row: 2; align-self: start; }
  .page .sent { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .page .sent-photos { grid-template-columns: 96px; gap: 10px; }
  .page .sent-photos img { width: 96px; height: 96px; }
  .page .flow { grid-column: 3; grid-row: 1 / span 2; transform: rotate(-90deg); }
  .page .hero-phone-fig { grid-column: 4; grid-row: 1 / span 2; justify-self: end; }
  .page .hero-phone { --w: 330px; }
  .page .lede { max-width: 24em; font-size: 20px; }

  .page .feed { padding: 104px 0; }
  .page .feed-grid { grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
  .page .feed-text { max-width: 30em; }
  .page .feed-after .phone { --w: 340px; }

  .page .change { padding: 104px 0; }
  .page .change-grid { grid-template-columns: 1fr 1.3fr; grid-template-rows: auto auto 1fr; column-gap: 64px; row-gap: 24px; align-items: start; }
  .page .change-text { grid-column: 1; grid-row: 1; }
  .page .same { grid-column: 1; grid-row: 2; }
  .page .colors { grid-column: 1; grid-row: 3; align-self: end; max-width: 420px; }
  .page .pair { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: 32fr 36px 60fr; gap: 14px; }
  .page .pair figcaption, .page .pair-cap { font-size: 15px; }
  .page .pair .arrow { width: 36px; }

  .page .how { padding: 104px 0; }
  .page .how-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .page .step-phones { justify-content: space-between; max-width: 920px; margin: 48px auto 0; }
  .page .step-phones li { display: block; }
  .page .step-phones .phone { --w: 250px; }

  .page .pricing { padding: 104px 0; }
  .page .plans { grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; }
  .page .plan { padding: 28px; }

  .page .faq { padding: 104px 0; }
  .page .faq .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
  .page .qa { margin-top: 0; }

  .page .closing { padding: 96px 0 104px; }
}
