@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("/fonts/Pretendard-Regular.subset.woff") format("woff"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("/fonts/Pretendard-Medium.subset.woff") format("woff"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("/fonts/Pretendard-SemiBold.subset.woff") format("woff"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("/fonts/Pretendard-Bold.subset.woff") format("woff"); }

:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --sunk: #F3F0EA;
  --line: #E7E2D9;
  --line-strong: #D3CCC0;
  --text: #1F1B16;
  --muted: #655C4F;
  --faint: #857B6C;
  --accent: #A8413A;
  --accent-soft: #F8E3E0;
  --ok: #2F6B3C;
  --ink: #1F1B16;
  --on-ink: #FAF8F4;
  --shadow: 0 8px 24px rgba(31, 27, 22, 0.08);
  --r-chip: 8px;
  --r-control: 14px;
  --r-card: 22px;
  --wrap: 1120px;
  --pad: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1F1B16;
    --surface: #332E27;
    --sunk: #2A2620;
    --line: #4B443A;
    --line-strong: #655C4F;
    --text: #FAF8F4;
    --muted: #D3CCC0;
    --faint: #ABA293;
    --accent: #E8857C;
    --accent-soft: #4A2B27;
    --ok: #8CC79A;
    --ink: #FAF8F4;
    --on-ink: #1F1B16;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
@media (min-width: 768px) { :root { --pad: 40px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 12px; border-radius: var(--r-chip); z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* 상단 */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(20px); -webkit-backdrop-filter: saturate(1.4) blur(20px); border-bottom: 1px solid transparent; }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .top { background: var(--bg); } }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; font-size: 18px; }
.mark-glyph { position: relative; width: 22px; height: 22px; border-radius: 7px; background: var(--ink); flex: none; }
.mark-glyph::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mark-sm { font-size: 15px; }
.mark-sm .mark-glyph { width: 18px; height: 18px; border-radius: 6px; }
.mark-sm .mark-glyph::after { width: 5px; height: 5px; right: 3px; bottom: 3px; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); padding: 10px 12px; border-radius: var(--r-chip); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--text); border: 1px solid var(--line-strong); padding: 0 14px; min-height: 36px; border-radius: 999px; margin-left: 6px; }
@media (max-width: 560px) { .nav a:not(.nav-cta) { display: none; } }

/* 첫 화면 */
.hero { padding: 56px 0 72px; }
.hero-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 96px 0 120px; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
}
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
h1 { font-size: clamp(36px, 8.4vw, 56px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 700; }
.lead { margin-top: 24px; font-size: clamp(16px, 1.9vw, 19px); line-height: 1.7; color: var(--muted); max-width: 34em; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-control); font-size: 15px; font-weight: 600; text-decoration: none; transition: transform 250ms ease, background-color 250ms ease, border-color 250ms ease; }
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--ink); color: var(--on-ink); }
.btn-solid:hover { background: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
.btn-line { border: 1px solid var(--line-strong); color: var(--text); font-variant-numeric: tabular-nums; }
.btn-line:hover { border-color: var(--text); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }

/* 오늘 카드 */
.today { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow); max-width: 440px; width: 100%; justify-self: center; }
@media (min-width: 960px) { .today { justify-self: end; } }
.today-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.today-label { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.today-meta { font-size: 13px; font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; }
.slots { padding: 8px 0 4px; }
.slots li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; }
.slots time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--faint); font-size: 14px; }
.slots .is-now { background: var(--accent-soft); margin: 2px -12px; padding: 10px 12px; border-radius: var(--r-control); }
.slots .is-now time { color: var(--accent); }
.slots .is-now span { font-weight: 600; }
.slots em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; }
.today-sub { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--faint); }
.checks li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; }
.checks i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); flex: none; position: relative; }
.checks .done i { background: var(--ok); border-color: var(--ok); }
.checks .done i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--surface); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks .done span { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.checks small { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--sunk); padding: 2px 8px; border-radius: var(--r-chip); white-space: nowrap; }
.today figcaption { margin-top: 16px; font-size: 13px; color: var(--faint); }

/* 구역 공통 */
.sec-title { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 32px; }

/* 일하는 방식 */
.how { padding: 72px 0; border-top: 1px solid var(--line); }
.steps { display: grid; gap: 40px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } .how { padding: 104px 0; } }
.step-no { display: block; font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.steps h3 { font-size: 22px; line-height: 1.35; letter-spacing: -0.015em; font-weight: 700; }
.steps p { margin-top: 10px; color: var(--muted); }

/* 제품 */
.products { padding: 72px 0; background: var(--sunk); }
@media (min-width: 768px) { .products { padding: 104px 0; } }
.cards { display: grid; gap: 20px; }
@media (min-width: 880px) { .cards { grid-template-columns: 1fr 1fr; gap: 24px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px 28px; display: flex; flex-direction: column; }
@media (min-width: 768px) { .card { padding: 40px; } }
.card-kicker { font-size: 14px; font-weight: 500; color: var(--muted); }
.card-name { margin-top: 6px; font-size: clamp(30px, 4vw, 38px); letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
.card-desc { margin-top: 18px; color: var(--muted); }
.feats { margin-top: 24px; border-top: 1px solid var(--line); }
.feats li { padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; font-weight: 500; }
.feats li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 2px; background: var(--accent); }
.card-status { margin-top: auto; padding-top: 24px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }

/* 문의 */
.contact { padding: 88px 0 96px; }
@media (min-width: 768px) { .contact { padding: 128px 0; } }
.contact-in { text-align: center; }
.contact h2 { font-size: clamp(28px, 4.6vw, 44px); letter-spacing: -0.03em; line-height: 1.2; font-weight: 700; }
.contact p { margin: 16px auto 32px; color: var(--muted); max-width: 30em; }

/* 하단 */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.foot-meta { font-size: 13px; color: var(--faint); }
