:root {
  --bg: #fffaf3;
  --bg-alt: #fff1de;
  --surface: #ffffff;
  --text: #3a2a1c;
  --muted: #6e5a48;
  --accent: #e8781e;
  --accent-strong: #c95f0c;
  --border: rgba(58, 42, 28, 0.12);
  --shadow: 0 18px 40px rgba(80, 50, 20, 0.16);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1712;
    --bg-alt: #261d16;
    --surface: #2e241c;
    --text: #f6ebdf;
    --muted: #c3ae99;
    --accent: #ff9a45;
    --accent-strong: #ffb26e;
    --border: rgba(255, 235, 215, 0.14);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-strong); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* 상단 */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }
.lang {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 14px; cursor: pointer;
}
@media (max-width: 640px) { nav a.hide-sm { display: none; } }

/* 첫 화면 */
.hero { padding: 72px 0 56px; background: linear-gradient(160deg, var(--bg) 30%, var(--bg-alt)); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero .shot { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--border); justify-self: center; max-width: 400px; width: 100%; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 12px;
}
.button:hover { background: var(--accent-strong); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.note { font-size: 14px; color: var(--muted); }

/* 기능 */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); font-size: 18px; margin: 0 0 40px; max-width: 40em; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .text { order: 2; }
.feature h3 { font-size: 26px; margin: 0 0 10px; }
.feature p { color: var(--muted); margin: 0 0 14px; }
.feature ul { margin: 0; padding-left: 20px; color: var(--muted); }
.feature li { margin: 4px 0; }
.feature img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); justify-self: center; }
.feature img.narrow { max-width: 380px; width: 100%; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .text { order: 0; }
}
kbd {
  font: 600 0.85em ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface); border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 6px; color: var(--text);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.card h4 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .emoji { font-size: 24px; margin-bottom: 8px; }

/* 가격 */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 760px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.plan.pro { border: 2px solid var(--accent); }
.plan h3 { margin: 0 0 4px; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.plan h3 img { width: 34px; height: 34px; }
.price { font-size: 34px; font-weight: 700; margin: 6px 0 16px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 20px; margin: 0; color: var(--muted); }
.plan li { margin: 6px 0; }

/* 자주 묻는 질문 */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; max-width: 760px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 36px 0 48px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer a { color: var(--muted); }

