@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* ==========================================================================
   월드프레임 액자 도매 — art.worldframe.co.kr

   결은 애플 마케팅 페이지에서 가져왔다. 토큰은 `Downloads/apple-hig-design.md`
   (designsystems.one 이 정리한 비공식 참고본) 의 값을 그대로 쓴다.
   픽셀을 베끼는 게 아니라 문법만 빌린다 —
     · 문장은 짧게, 글자는 크게, 자간은 좁게
     · 가운데 정렬. 여백을 아깝게 쓰지 않는다
     · 흰색과 #f5f5f7 을 번갈아 칸을 나눈다. 테두리보다 여백으로 나눈다
     · 버튼은 알약. 파란 채움 하나 + 테두리 하나
     · 사진은 크게
   ========================================================================== */

:root {
  /* 색 — apple-hig-design.md */
  --blue: #007aff;          /* 기본 tint */
  --blue-ink: #0058c8;      /* 눌렀을 때 */
  --label: #1d1d1f;         /* 본문 글자 (순검정 대신 살짝 눅인 값) */
  --label-2: #6e6e73;       /* 보조 글자 */
  --label-3: #8e8e93;       /* systemGray */
  --bg: #ffffff;
  --bg-2: #f5f5f7;          /* 칸 나누는 회색 */
  --sep: #d2d2d7;           /* 실선 */

  /* 글자 — 라틴은 SF, 한글은 Pretendard 가 받는다.
     Pretendard 는 SF 를 한글에 맞춰 다시 그린 글꼴이라 섞여도 결이 안 깨진다. */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Pretendard Variable", Pretendard, "Helvetica Neue", system-ui, sans-serif;

  /* 여백 — 8px 배수 */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 20px; --s5: 32px;

  /* 모서리 */
  --r-ctl: 8px;
  --r-card: 18px;
  --r-big: 20px;
  --r-pill: 980px;          /* 애플 마케팅 버튼 */

  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.12);

  --t: 300ms ease-in-out;   /* motion.standard */
  --head: 48px;             /* 애플 상단바는 얇다 */
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 24px);
  -webkit-text-size-adjust: 100%;
}
/* 좁은 화면 서랍은 화면 밖에 접어둔다. 그 폭만큼 가로 스크롤이 생기지 않게 잘라낸다.
   clip 은 스크롤 상자를 만들지 않아 머리글의 sticky 가 그대로 산다. */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  font-size: 17px;              /* body */
  line-height: 1.47;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { font: inherit; letter-spacing: inherit; }
img { display: block; }
.hidden { display: none !important; }

.in { max-width: 1024px; margin: 0 auto; padding: 0 22px; }

/* 키보드로 들어온 사람이 메뉴를 매번 지나치지 않게. 평소엔 안 보이고 Tab 을 누르면 나온다. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 20px; border-radius: 0 0 var(--r-ctl) 0;
  background: var(--blue); color: #fff; font-size: 15px;
}
.skip-link:focus { left: 0; }

/* 키보드 초점은 눈에 보여야 한다 */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px; border-radius: var(--r-ctl);
}

/* ── 버튼 — 알약 ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: var(--r-pill);
  padding: 12px 22px; min-height: 44px;
  font-size: 17px; font-weight: 400; line-height: 1.2;
  white-space: nowrap; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), opacity var(--t);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { border: 1px solid var(--blue); background: transparent; color: var(--blue); }
.btn-ghost:hover { background: rgba(0, 122, 255, 0.06); }
.btn-sm { padding: 8px 16px; min-height: 34px; font-size: 15px; }
.btn-lg { padding: 15px 28px; min-height: 52px; font-size: 19px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── 머리글 — 얇고 반투명 ───────────────────────────────────────────── */
.head {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.head .in { display: flex; align-items: center; gap: 16px; height: var(--head); }
.logo {
  display: inline-flex; align-items: center; flex: none;
  min-height: 44px;                     /* 손가락으로 누르는 크기 */
  font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--label);
}
.logo i {
  margin-left: 8px; border-radius: var(--r-pill);
  background: var(--bg-2); color: var(--label-2);
  padding: 3px 9px; font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: 0;
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: 20px; }
.nav a {
  border-radius: var(--r-ctl); padding: 6px 11px;
  font-size: 13px; font-weight: 400; color: var(--label);
  opacity: 0.85; transition: opacity var(--t);
}
.nav a:hover { opacity: 1; }
.nav a.on { opacity: 1; font-weight: 600; }

.head-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-button { display: none; }

/* ── 첫 화면 — 크게, 가운데 ─────────────────────────────────────────── */
.hero { padding: 84px 0 0; text-align: center; }
.hero .in { display: block; }
.eyebrow {
  display: block; margin: 0 0 12px;
  color: var(--blue); font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
}
.h1 {
  margin: 0 auto 18px; max-width: 16em;
  font-size: clamp(38px, 6.4vw, 68px); font-weight: 700;
  line-height: 1.06; letter-spacing: -0.028em; word-break: keep-all;
}
.h1 b { font-weight: 700; color: var(--label); }
.lead {
  margin: 0 auto 26px; max-width: 26em;
  color: var(--label-2); font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.4; letter-spacing: -0.012em; word-break: keep-all;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; }
.cta-note { margin: 20px 0 0; color: var(--label-3); font-size: 13px; }

/* 사진 — 크게 */
.shot { margin: 52px 0 0; }
.shot img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-big);
  box-shadow: var(--shadow-lift);
}
.shot figcaption {
  margin-top: 14px; color: var(--label-3);
  font-size: 13px; line-height: 1.4; text-align: center;
}
.shot-wide { max-width: 860px; margin-left: auto; margin-right: auto; }

/* ── 하위 화면 머리 ─────────────────────────────────────────────────── */
.page-head { padding: 72px 0 8px; text-align: center; }
.page-head h1 {
  margin: 10px auto 16px; max-width: 15em;
  font-size: clamp(34px, 5.4vw, 56px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.026em; word-break: keep-all;
}
.page-head .sub { margin-left: auto; margin-right: auto; max-width: 30em; font-size: 20px; }
.page-head .cta { margin-top: 26px; }

/* ── 칸 ─────────────────────────────────────────────────────────────── */
.sec { padding: 92px 0; }
.sec-soft { background: var(--bg-2); }
.sec-tight { padding: 44px 0; }

.head-block { margin: 0 auto 48px; max-width: 34em; text-align: center; }
.kicker { margin: 0 0 10px; color: var(--blue); font-size: 17px; font-weight: 600; }
.h2 {
  margin: 0 0 14px; font-size: clamp(28px, 3.8vw, 44px); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.022em; word-break: keep-all;
}
.h3 { margin: 0 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -0.018em; }
.sub {
  margin: 0; color: var(--label-2); font-size: 19px;
  line-height: 1.45; letter-spacing: -0.012em; word-break: keep-all;
}

/* ── 숫자 세 칸 ─────────────────────────────────────────────────────── */
.facts { background: var(--bg-2); padding: 12px 0; }
.facts .in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fact { padding: 44px 24px; text-align: center; }
.fact b {
  display: block; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.15;
}
.fact span {
  display: block; margin-top: 12px; color: var(--label-2);
  font-size: 16px; line-height: 1.45; word-break: keep-all;
}

/* ── 카드 ───────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  border-radius: var(--r-card); background: var(--bg-2);
  padding: 32px 30px; text-align: center;
}
.sec-soft .card { background: #fff; }
.card b {
  display: block; margin-bottom: 10px;
  font-size: 21px; font-weight: 600; letter-spacing: -0.016em;
}
.card span, .card p {
  color: var(--label-2); font-size: 16px; line-height: 1.5; word-break: keep-all;
}
.card p { margin: 0; }

/* 제품 카드 — 사진이 위에 붙는다 */
.prod {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-card); background: var(--bg-2);
}
.sec-soft .prod { background: #fff; }
.prod-shot { background: #ececed; }
.prod-shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.prod-body { padding: 28px 28px 30px; text-align: center; }
.prod h3 { margin: 0 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -0.018em; }
.prod p {
  margin: 0 0 20px; color: var(--label-2);
  font-size: 16px; line-height: 1.5; word-break: keep-all;
}
.prod dl {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px;
  margin: 0; font-size: 14px; text-align: left;
}
.prod dt { color: var(--label-3); }
.prod dd { margin: 0; font-weight: 500; }

/* ── 규격 알약 ──────────────────────────────────────────────────────── */
.sizes {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 0; padding: 0; list-style: none;
}
.sizes li {
  border-radius: var(--r-pill); background: var(--bg-2);
  padding: 12px 22px; font-size: 17px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.sec-soft .sizes li { background: #fff; }
.sizes li i {
  font-style: normal; margin-left: 8px;
  color: var(--label-3); font-weight: 400; font-size: 14px;
}

/* ── 단계 ───────────────────────────────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { border-radius: var(--r-card); background: var(--bg-2); padding: 30px 26px; text-align: center; }
.sec-soft .step { background: #fff; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 600;
}
.step h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.016em; }
.step p { margin: 0; color: var(--label-2); font-size: 16px; line-height: 1.5; word-break: keep-all; }

/* ── 조건 표 ────────────────────────────────────────────────────────── */
.terms { max-width: 760px; margin: 0 auto; }
.term {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px;
  padding: 26px 4px; border-top: 1px solid var(--sep);
}
.term:first-child { border-top: 0; }
.term dt { color: var(--label-3); font-size: 17px; font-weight: 400; }
.term dd { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.4; word-break: keep-all; }
.term dd small {
  display: block; margin-top: 8px; color: var(--label-2);
  font-size: 15px; font-weight: 400; line-height: 1.5;
}
.term dd small a { color: var(--blue); }

/* ── 자주 묻는 질문 ─────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--sep); }
.faq details:first-child { border-top: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; cursor: pointer; list-style: none;
  font-size: 20px; font-weight: 500; letter-spacing: -0.016em; word-break: keep-all;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 11px; width: 11px; height: 11px;
  border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--t);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq p {
  margin: 0; padding: 0 4px 28px; color: var(--label-2);
  font-size: 17px; line-height: 1.6; word-break: keep-all;
}
.faq p a { color: var(--blue); }

/* ── 마지막 권유 띠 ─────────────────────────────────────────────────── */
.band { background: var(--bg-2); padding: 92px 0; text-align: center; }
.band h2 {
  margin: 0 auto 16px; max-width: 18em;
  font-size: clamp(28px, 3.8vw, 44px); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.022em; word-break: keep-all;
}
.band p {
  margin: 0 auto 30px; max-width: 30em; color: var(--label-2);
  font-size: 20px; line-height: 1.45; word-break: keep-all;
}

/* ── 견적 문의 ──────────────────────────────────────────────────────── */
.ask-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px; align-items: start; text-align: left;
}
.ask-list { margin: 0 0 32px; padding: 0; list-style: none; }
.ask-list li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  color: var(--label-2); font-size: 17px; line-height: 1.45; word-break: keep-all;
}
.ask-list li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.ask-alt { display: flex; flex-wrap: wrap; gap: 10px; }

.form { border-radius: var(--r-big); background: var(--bg-2); padding: 36px; }
.sec-soft .form { background: #fff; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { display: block; margin-bottom: 18px; }
.label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; }
.label i { margin-left: 6px; font-style: normal; color: var(--blue); font-size: 12px; font-weight: 600; }
.input {
  width: 100%; border: 1px solid var(--sep); border-radius: 12px;
  background: #fff; padding: 14px 16px; font-size: 17px; color: var(--label);
  transition: border-color var(--t), box-shadow var(--t);
}
.input:focus {
  outline: 0; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.16);
}
.input::placeholder { color: var(--label-3); }
textarea.input { min-height: 112px; resize: vertical; }
select.input {
  appearance: none; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--label-3) 50%),
                    linear-gradient(135deg, var(--label-3) 50%, transparent 50%);
  background-position: calc(100% - 21px) 24px, calc(100% - 16px) 24px;
  background-size: 5px 5px; background-repeat: no-repeat;
}

.agree {
  display: flex; gap: 12px; margin: 6px 0 24px;
  padding: 18px; border-radius: 12px; background: rgba(0, 0, 0, 0.03); cursor: pointer;
}
.sec-soft .agree { background: var(--bg-2); }
.agree input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.agree span { color: var(--label-2); font-size: 13px; line-height: 1.5; word-break: keep-all; }
.agree b { display: block; margin-bottom: 5px; color: var(--label); font-size: 14px; font-weight: 500; }

.notice {
  margin: 18px 0 0; color: var(--blue); font-size: 16px;
  line-height: 1.5; text-align: center; word-break: keep-all;
}
.notice.is-error { color: #ff3b30; }
.notice a { font-weight: 600; text-decoration: underline; }

/* ── 바닥글 — 애플처럼 작고 조용하게 ────────────────────────────────── */
.foot { background: var(--bg-2); padding: 40px 0 44px; font-size: 12px; line-height: 1.5; }
.foot-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 40px;
  padding-bottom: 24px; border-bottom: 1px solid var(--sep);
}
.foot p { margin: 0; color: var(--label-2); }
.foot-mark {
  color: var(--label) !important; font-size: 15px; font-weight: 600;
  letter-spacing: -0.02em; margin-bottom: 8px !important;
}
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { color: var(--label-2); }
.foot-links a:hover { color: var(--label); text-decoration: underline; }
.foot-fine { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; }
.foot-fine p { color: var(--label-3); }

/* ── 서랍 메뉴 ──────────────────────────────────────────────────────────
   ★ 이 두 요소는 <body> 바로 밑에 붙는다. 머리글 안에 두면 안 된다.
   머리글에 backdrop-filter 가 걸려 있어서, 그 안의 position:fixed 는
   화면이 아니라 머리글을 기준으로 잡힌다. 그러면 화면 밖으로 숨지 못하고
   본문 위에 겹쳐 나온다. 2026-09-11 실제 폰에서 그렇게 터졌다.
   숨길 때 transform 만 믿지 않고 [hidden] 으로 확실히 들어낸다. */
.drawer, .drawer-back { display: none; }

/* ── 좁은 화면 아래 고정 버튼 ───────────────────────────────────────── */
.dock { display: none; }

/* ══ 태블릿 이하 ═════════════════════════════════════════════════════ */
@media (max-width: 1040px) {
  .hero { padding-top: 64px; }
  .sec, .band { padding: 72px 0; }
  .grid-3, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts .in { grid-template-columns: 1fr; gap: 0; }
  .fact { padding: 30px 12px; border-top: 1px solid var(--sep); }
  .fact:first-child { border-top: 0; }
  .ask-grid { grid-template-columns: 1fr; gap: 40px; }
  .term { grid-template-columns: 1fr; gap: 8px; }

  /* 가로 메뉴를 접고 햄버거만 남긴다 */
  .nav { display: none; }
  .nav-button {
    display: grid; place-content: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -10px;
    border: 0; border-radius: var(--r-ctl); background: none; cursor: pointer;
  }
  .nav-button span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: var(--label); }

  /* 서랍 — 오른쪽에서 밀려 들어온다 */
  .drawer {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
    width: min(82vw, 340px);
    padding: 16px 16px calc(28px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: -12px 0 44px rgba(0, 0, 0, 0.14);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .drawer[hidden] { display: none; }
  .drawer a {
    border-radius: var(--r-ctl); padding: 16px 12px;
    font-size: 22px; font-weight: 600; letter-spacing: -0.018em; color: var(--label);
  }
  .drawer a:hover, .drawer a:focus-visible { background: var(--bg-2); }
  .drawer a.on { color: var(--blue); }
  .drawer-quote {
    margin-top: 16px; border-radius: var(--r-pill);
    background: var(--blue); color: #fff !important;
    font-size: 17px !important; font-weight: 400 !important; text-align: center;
  }
  .drawer-x {
    align-self: flex-end; width: 44px; height: 44px; margin-bottom: 4px;
    border: 0; border-radius: var(--r-ctl); background: none;
    font-size: 28px; line-height: 1; color: var(--label-2); cursor: pointer;
  }
  .drawer-back { display: block; position: fixed; inset: 0; z-index: 75; background: rgba(0, 0, 0, 0.3); }
  .drawer-back[hidden] { display: none; }
  body.drawer-on { overflow: hidden; }
}

/* ══ 폰 ══════════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  .in { padding: 0 20px; }
  body { font-size: 16px; }
  .hero { padding-top: 44px; }
  .sec, .band { padding: 56px 0; }
  .sec-tight { padding: 32px 0; }
  .page-head { padding: 44px 0 4px; }
  .head-block { margin-bottom: 32px; }
  .eyebrow { font-size: 16px; }
  .lead, .page-head .sub { font-size: 18px; }
  .sub { font-size: 17px; }
  .shot { margin-top: 36px; }
  .grid-2, .grid-3, .flow { grid-template-columns: 1fr; }
  .cta { flex-direction: column; gap: 12px; }
  .cta .btn { width: 100%; }
  .card, .prod-body, .step { padding: 26px 22px; }
  .form { padding: 26px 20px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .faq summary { font-size: 18px; padding: 22px 2px; }
  .faq p { font-size: 16px; padding-bottom: 24px; }
  .term { padding: 22px 2px; }
  .term dd { font-size: 18px; }
  .sizes li { padding: 11px 18px; font-size: 16px; }
  .foot { padding-bottom: 100px; }
  .foot-top { flex-direction: column; gap: 22px; }
  .foot-links { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }

  /* 입력칸 글씨가 16px 보다 작으면 아이폰이 탭할 때마다 화면을 확대한다 */
  .input { font-size: 17px; }


  /* 광고로 들어온 사람이 문의 버튼을 놓치지 않도록 아래에 붙여둔다 */
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: flex; gap: 10px; padding: 10px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .dock .btn { flex: 1 1 0; min-height: 48px; font-size: 16px; }
  .dock .btn-ghost { flex: 0 0 36%; }
}

/* ── 손가락으로 쓰는 기기 ────────────────────────────────────────────
   폭이 아니라 입력 방식으로 가른다. 태블릿은 화면이 넓어도 손가락으로 누른다.
   폭(700px)으로 갈랐더니 768·1024 짜리 태블릿이 규칙 밖으로 빠져 있었다.
   마우스로 쓰는 데스크톱은 그대로 둔다 — 애플 바닥글도 작은 글씨다. */
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; padding: 10px 18px; }
  .foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .faq summary { min-height: 44px; }
  .term dd small a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 움직임을 꺼둔 사용자 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
