/* HOBBYTAN 강의 · 리벌스 파머 — shared styles (matches hobbytan.com: square corners, thin rules, Wanted Sans) */
@font-face {
  font-family: "Wanted Sans Variable";
  src: url("/shop/assets/fonts/WantedSansVariable.woff2") format("woff2-variations"),
       url("/shop/assets/fonts/WantedSansVariable.woff2") format("woff2");
  font-weight: 400 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #181b20;
  --muted: #5c626c;
  --sub: #505864;
  --line: #dcdfe4;
  --line-strong: #a1a7b1;
  --paper: #f5f6f8;
  --accent: #315bef;
  --accent-hover: #2349cd;
  --accent-soft: #eef2ff;
  --band: #17212f;
  --band-eyebrow: #b7c7ff;
  --band-text: #c0c7d1;
  --ok: #0d7a4c;
  --ok-soft: #e7f6ef;
  --err: #b4231a;
  --err-soft: #fdecea;
  --note-bg: #fff6db;
  --note-ink: #5b4300;
  --sale: #d6332a;
  --header-h: 80px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Wanted Sans Variable", "Wanted Sans", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #dce5ff; color: #172456; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; letter-spacing: -.015em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.045em; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: calc(100% - 112px); max-width: 1200px; margin-inline: auto; }
@media (max-width: 1199px) { .wrap { width: calc(100% - 80px); } }
@media (max-width: 600px) { .wrap { width: calc(100% - 40px); } }
@media (max-width: 360px) { .wrap { width: calc(100% - 32px); } }

/* ── test-mode bar ─────────────────────────────────────────── */
.test-bar { background: var(--note-bg); color: var(--note-ink); font-size: 14px; line-height: 1.5; border-bottom: 1px solid #f0dfa8; }
.test-bar p { margin: 0; padding: 9px 0; text-align: center; }
.test-bar strong { font-weight: 650; }

/* ── header ────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: #ffffffed; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid #e7e9ee; }
.site-header__inner { height: 100%; max-width: 1360px; margin-inline: auto; padding-inline: 40px; display: flex; align-items: center; gap: 24px; }
.site-header__logo { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.site-header__logo img { width: 184px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 16px; text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .site-nav__cta { margin-left: 14px; padding-left: 26px; border-left: 1px solid var(--line); gap: 10px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.menu-button svg { width: 24px; height: 24px; }
.mobile-nav { display: none; }
@media (max-width: 1199px) { .site-header__inner { padding-inline: 32px; } }
@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .site-nav { display: none; }
  .menu-button { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(23, 33, 47, .45); }
  .mobile-nav[hidden] { display: none !important; }
  .mobile-nav ul { list-style: none; padding: 8px 20px 20px; }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 18px; text-decoration: none; border-bottom: 1px solid #eef0f3; }
}
@media (max-width: 600px) {
  .site-header__inner { padding-inline: 20px; }
  .site-header__logo img { width: 144px; }
}
@media (max-width: 360px) {
  .site-header__inner { padding-inline: 16px; }
  .site-header__logo img { width: 125px; }
}

/* ── type helpers ──────────────────────────────────────────── */
.eyebrow { font-size: 16px; font-weight: 600; color: var(--accent); margin: 0 0 14px; letter-spacing: -.02em; }
.lead { font-size: 19px; line-height: 1.85; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.tiny { font-size: 14px; }
.section { padding-block: 100px; }
.section--paper { background: var(--paper); }
.section--tight { padding-block: 64px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.35; }
.section-head p { margin-top: 18px; }
@media (max-width: 1000px) { .section { padding-block: 80px; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 28px; }
  .lead { font-size: 17px; line-height: 1.8; }
  .eyebrow { font-size: 15px; }
}

/* ── buttons & links ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; min-height: 56px; padding: 14px 23px; font-size: 17px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; border-radius: 0; line-height: 1.3; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary[disabled], .btn--primary[aria-disabled="true"] { background: #9aa9d8; cursor: not-allowed; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link svg { width: 16px; height: 16px; }
.inline-link { color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 600px) { .btn { gap: 26px; min-height: 54px; padding: 14px 18px; font-size: 16px; } }

/* ── hero ──────────────────────────────────────────────────── */
.hero { padding-block: 88px 72px; border-bottom: 1px solid #eef0f3; }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.26; }
.hero h1 .soft { color: #68717f; }
.hero .lead { margin-top: 26px; max-width: 720px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 36px; }
.hero--split .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; }
.hero--image { position: relative; overflow: hidden; }
.hero__media { margin-top: 48px; border: 1px solid var(--line); }
.hero__media img { width: 100%; aspect-ratio: 1600 / 700; object-fit: cover; }
@media (max-width: 1000px) {
  .hero--split .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .hero { padding-block: 52px 48px; }
  .hero h1 { font-size: clamp(30px, 8.25vw, 40px); }
  .hero__media img { aspect-ratio: 16 / 10; }
}

.facts { list-style: none; margin-top: 34px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt, .facts .k { color: var(--muted); font-size: 15px; padding-top: 2px; }
.facts .v { font-weight: 550; }
@media (max-width: 600px) { .facts li { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; } }

/* ── price ─────────────────────────────────────────────────── */
.price-card { border: 1px solid var(--ink); background: #fff; padding: 30px 30px 28px; }
.price-card__name { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.price { margin: 0; }
.price p { margin: 0; }
.price-badge { display: inline-block; background: var(--sale); color: #fff; font-size: 14px; font-weight: 600; padding: 5px 10px; margin-bottom: 14px !important; letter-spacing: -.01em; }
.price-was { color: var(--muted); font-size: 16px; }
.price-was del { color: var(--muted); }
.price-off { color: var(--sale); font-weight: 700; margin-left: 6px; }
.price-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 2px !important; }
.price-now strong { font-size: 36px; font-weight: 700; letter-spacing: -.04em; line-height: 1.25; }
.price-vat { font-size: 14px; color: var(--muted); }
.price-unit { font-size: 15px; color: var(--sub); margin-top: 6px !important; }
.price-note { font-size: 14px; color: var(--muted); margin-top: 10px !important; }
.price[data-state="loading"] .price-now strong { color: #6b7280; }
.price-card .btn { margin-top: 24px; }
.service-period { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; color: var(--ink); }
.service-period strong { font-weight: 650; }
.price-card__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 15px; }
.price-card__links a { min-height: 44px; display: inline-flex; align-items: center; }
.price--compact .price-now strong { font-size: 26px; }
.price--compact .price-badge { font-size: 13px; padding: 4px 8px; margin-bottom: 10px !important; }
@media (max-width: 600px) {
  .price-card { padding: 24px 20px; }
  .price-now strong { font-size: 30px; }
}

/* ── course cards (hub) ────────────────────────────────────── */
.group { margin-top: 72px; }
.group:first-of-type { margin-top: 0; }
.group__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.group__head h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; }
.group__head p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.card { display: flex; flex-direction: column; padding: 34px 34px 30px 0; border-bottom: 1px solid var(--line); }
.card + .card { padding-left: 34px; padding-right: 0; border-left: 1px solid var(--line); }
.card__format { font-size: 15px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.card h4 { font-size: 26px; line-height: 1.35; }
.card__desc { margin-top: 14px; color: var(--muted); }
.card__list { list-style: none; margin: 4px 0 22px; }
.card__list li { position: relative; padding-left: 16px; font-size: 15px; color: var(--sub); line-height: 1.7; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 1px; background: var(--ink); }
.card .price { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); }
.card__period { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.card__cta { margin-top: 20px; }
.period-note { margin: 18px 0 0; font-size: 15px; color: var(--sub); }
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .card, .card + .card { padding: 30px 0; border-left: 0; }
}

/* ── generic grids ─────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.grid-3 > * { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.grid-3 > * + * { padding-left: 28px; border-left: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.grid-2 > * { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.grid-2 > *:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
.tile__num { font-size: 15px; color: var(--accent); font-weight: 650; margin-bottom: 12px; }
.tile h3 { font-size: 22px; line-height: 1.4; margin-bottom: 10px; font-weight: 600; }
.tile p { color: var(--muted); margin: 0; }
.tile ul { list-style: none; margin-top: 10px; }
.tile li { position: relative; padding-left: 16px; color: var(--sub); font-size: 16px; line-height: 1.75; }
.tile li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--ink); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > *, .grid-3 > * + * { padding: 24px 0; border-left: 0; }
}
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2 > *, .grid-2 > *:nth-child(2n) { padding: 24px 0; border-left: 0; }
}

/* ── in-page nav ───────────────────────────────────────────── */
.page-nav { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.page-nav ul { list-style: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.page-nav ul::-webkit-scrollbar { display: none; }
.page-nav a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 14px; white-space: nowrap; font-size: 15px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.page-nav a:hover { color: var(--ink); }
.page-nav li:first-child a { padding-left: 0; }

/* ── curriculum ────────────────────────────────────────────── */
.weeks { list-style: none; border-top: 1px solid var(--ink); }
.week { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.week__no { font-size: 15px; color: var(--accent); font-weight: 650; }
.week__no span { display: block; font-size: 40px; line-height: 1.1; color: var(--ink); font-weight: 600; letter-spacing: -.04em; margin-top: 4px; }
.week h3 { font-size: 24px; line-height: 1.4; }
.week__summary { margin: 10px 0 14px; color: var(--muted); }
.week ul { list-style: none; }
.week li { position: relative; padding-left: 16px; line-height: 1.75; color: var(--sub); }
.week li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--ink); }
.week__task { margin-top: 16px; padding: 14px 16px; background: var(--paper); font-size: 15px; line-height: 1.7; }
.week__task strong { font-weight: 650; margin-right: 6px; }
.week--extra .week__no span { font-size: 22px; }
.curriculum-note { margin-top: 22px; font-size: 15px; color: var(--muted); }
@media (max-width: 700px) {
  .week { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .week__no span { display: inline; font-size: 15px; margin-left: 6px; color: var(--accent); }
  .week h3 { font-size: 21px; }
}

/* ── tables ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.data-table { min-width: 560px; font-size: 16px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.data-table th { font-weight: 600; color: var(--sub); white-space: nowrap; }
.data-table thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.data-table td.num, .data-table th.num { text-align: right; white-space: nowrap; padding-right: 0; padding-left: 16px; }
.kv-table th { width: 170px; }
@media (max-width: 600px) {
  .kv-table, .kv-table tbody, .kv-table tr, .kv-table th, .kv-table td { display: block; width: auto; }
  .kv-table { min-width: 0; }
  .kv-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .kv-table th, .kv-table td { border: 0; padding: 0; }
  .kv-table th { font-size: 14px; color: var(--muted); margin-bottom: 2px; }
}

/* ── dark band ─────────────────────────────────────────────── */
.band { background: var(--band); color: #fff; }
.band .eyebrow { color: var(--band-eyebrow); }
.band p, .band li { color: var(--band-text); }
.band .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #344052; margin-top: 44px; }
.band .stat { padding: 26px 20px 4px 0; }
.band .stat + .stat { padding-left: 22px; border-left: 1px solid #344052; }
.band .stat strong { display: block; font-size: clamp(30px, 3vw, 40px); font-weight: 600; letter-spacing: -.04em; color: #fff; line-height: 1.25; }
.band .stat span { font-size: 15px; color: var(--band-text); }
.band .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid #344052; }
.band .step { padding: 22px 22px 0 0; }
.band .step + .step { padding-left: 22px; border-left: 1px solid #344052; }
.band .step b { display: block; color: var(--band-eyebrow); font-size: 14px; margin-bottom: 6px; }
.band .step h3 { font-size: 20px; color: #fff; margin-bottom: 6px; }
.band .step p { font-size: 15px; margin: 0; }
.band .fine { font-size: 14px; color: #8f99a8; margin-top: 26px; }
@media (max-width: 860px) {
  .band .stats, .band .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band .stat:nth-child(3), .band .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .band .step { padding-bottom: 22px; }
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 18px 0; cursor: pointer; font-size: 18px; font-weight: 550; letter-spacing: -.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--ink), var(--ink)) center / 16px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 16px 1.6px no-repeat; }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 820px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 60px; }
@media (max-width: 1000px) { .faq-layout { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .faq summary { font-size: 17px; } }

/* ── notices ───────────────────────────────────────────────── */
.notice { padding: 16px 18px; background: var(--paper); border-left: 3px solid var(--ink); font-size: 15px; line-height: 1.7; }
.notice p:last-child { margin-bottom: 0; }
.notice--test { background: var(--note-bg); border-color: #d9a400; color: var(--note-ink); }
.notice--ok { background: var(--ok-soft); border-color: var(--ok); }
.notice--err { background: var(--err-soft); border-color: var(--err); }
.notice--info { background: var(--accent-soft); border-color: var(--accent); }
.notice strong { font-weight: 650; }

/* ── order box ─────────────────────────────────────────────── */
.order { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; }
.order__summary { position: sticky; top: calc(var(--header-h) + 72px); border: 1px solid var(--line); padding: 26px; background: #fff; }
.order__summary h3 { font-size: 20px; margin-bottom: 14px; }
.summary-list { list-style: none; }
.summary-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #eef0f3; font-size: 15px; }
.summary-list li span:first-child { color: var(--muted); flex: none; }
.summary-list li span:last-child { text-align: right; }
.summary-list li.total { border-bottom: 0; padding-top: 14px; font-size: 17px; font-weight: 650; }
.summary-list li.total span:last-child { font-size: 22px; }
.order-form { border-top: 1px solid var(--ink); padding-top: 26px; }
.who { margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.field .req { color: var(--sale); font-weight: 600; margin-left: 2px; }
.field input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); background: #fff; border-radius: 0; font-size: 17px; }
.field input:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.field input[readonly] { background: var(--paper); color: var(--sub); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field .hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.field .error { font-size: 14px; color: var(--err); margin: 6px 0 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 700px) { .field-row { grid-template-columns: 1fr; } }
.consents { margin: 8px 0 22px; border: 1px solid var(--line); }
.consent { border-top: 1px solid var(--line); }
.consent:first-child { border-top: 0; }
.consent__row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; min-height: 52px; }
.consent__row input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.consent__row label { flex: 1; cursor: pointer; font-size: 16px; line-height: 1.55; }
.consent--all { background: var(--paper); }
.consent--all label { font-weight: 650; }
.consent details { padding: 0 16px 14px 50px; font-size: 14px; color: var(--muted); }
.consent details summary { cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.consent details table { margin-top: 8px; font-size: 14px; }
.consent details th, .consent details td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.consent details th { background: var(--paper); font-weight: 600; width: 90px; }
.order-status { margin: 14px 0 0; min-height: 1.6em; font-size: 15px; }
.order-status.is-error { color: var(--err); }
.order-status.is-ok { color: var(--ok); }
@media (max-width: 1000px) {
  .order { grid-template-columns: 1fr; gap: 32px; }
  .order__summary { position: static; }
}

/* ── auth / account ────────────────────────────────────────── */
.auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.auth-grid > section { padding: 32px 36px 36px 0; }
.auth-grid > section + section { padding-left: 36px; padding-right: 0; border-left: 1px solid var(--line); }
.auth-grid h2 { font-size: 24px; margin-bottom: 10px; }
.choice-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 18px; background: #fff; color: #1f1f1f; border: 1px solid #747775; border-radius: 0; font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none; }
.choice-btn:hover { background: #f8f9fb; }
.choice-btn svg, .choice-btn .g-logo { width: 20px; height: 20px; flex: none; }
.choice-btn[disabled] { opacity: .6; cursor: not-allowed; }
@media (max-width: 760px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-grid > section, .auth-grid > section + section { padding: 28px 0; border-left: 0; }
  .auth-grid > section + section { border-top: 1px solid var(--line); }
}
.account-box { border: 1px solid var(--line); padding: 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.account-box p { margin: 0; }
.status-chip { display: inline-block; padding: 3px 9px; font-size: 13px; font-weight: 650; background: var(--paper); color: var(--sub); white-space: nowrap; }
.status-chip--paid { background: var(--ok-soft); color: var(--ok); }
.status-chip--waiting_deposit { background: var(--note-bg); color: var(--note-ink); }
.status-chip--failed, .status-chip--canceled { background: var(--err-soft); color: var(--err); }
.status-chip--refunded { background: #ececf4; color: #3e3e60; }
.orders-empty { padding: 28px 0; color: var(--muted); border-bottom: 1px solid var(--line); }

/* ── admin ─────────────────────────────────────────────────── */
.switch { display: flex; align-items: center; gap: 14px; min-height: 52px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; flex: none; width: 52px; height: 30px; background: #c3c8d0; transition: background .15s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; transition: transform .15s; }
.switch input:checked + .switch__track { background: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 3px; }
.admin-panel { border: 1px solid var(--line); padding: 28px; margin-bottom: 40px; }
.admin-panel h2 { font-size: 22px; margin-bottom: 16px; }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: end; margin: 8px 0 22px; }
.admin-grid .field { margin: 0; }
.admin-grid input[type="date"] { width: 100%; }
.readout { min-height: 52px; display: flex; align-items: center; padding: 0 14px; background: var(--paper); font-weight: 650; }
@media (max-width: 860px) { .admin-grid { grid-template-columns: 1fr; } .admin-panel { padding: 22px 18px; } }
.orders-table { min-width: 980px; font-size: 14px; }
.orders-table td, .orders-table th { padding: 10px 12px 10px 0; }

/* ── policy pages ──────────────────────────────────────────── */
.policy { max-width: 860px; }
.policy h2 { font-size: 24px; margin: 52px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.policy h2:first-of-type { margin-top: 28px; }
.policy h3 { font-size: 19px; margin: 28px 0 10px; }
.policy p, .policy li { color: #2c3037; }
.policy ol, .policy ul { padding-left: 1.4em; margin: 0 0 1em; }
.policy li { margin-bottom: .45em; }
.policy table { margin: 10px 0 18px; font-size: 15px; }
.policy th, .policy td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.policy th { background: var(--paper); font-weight: 600; }
.policy .table-scroll { overflow-x: auto; }
.policy .table-scroll table { min-width: 600px; }
.toc { list-style: none; padding: 18px 20px !important; background: var(--paper); columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { break-inside: avoid; margin: 0 0 6px !important; }
.toc a { text-decoration: none; color: var(--sub); }
.toc a:hover { color: var(--accent); }
@media (max-width: 600px) { .toc { columns: 1; } .policy h2 { font-size: 21px; } }

/* ── game pages ────────────────────────────────────────────── */
.game-hero { background: #1d2a1d; color: #fff; }
.game-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-block: 72px; }
.game-hero h1 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.3; color: #fff; }
.game-hero .lead { color: #d6dccf; }
.game-hero .eyebrow { color: #c9e3a6; }
.game-hero img { border: 1px solid #3c4c3a; width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; }
.game-title { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.game-title img { width: 72px; height: 72px; border: 0; aspect-ratio: 1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { padding: 6px 12px; font-size: 14px; font-weight: 600; border: 1px solid #5a6c55; color: #e8eedf; }
.game-hero .text-link { color: #fff; border-color: #8ea383; }
@media (max-width: 900px) { .game-hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 52px; } }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.feature:nth-child(even) .feature__media { order: -1; }
.feature h3 { font-size: 26px; margin-bottom: 12px; }
.feature__tag { font-size: 15px; font-weight: 650; color: #3f7a2c; margin-bottom: 8px; }
.feature p { color: var(--muted); }
.feature__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .feature:nth-child(even) .feature__media { order: 0; }
}
.check-list { list-style: none; }
.check-list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.play-only { border: 2px solid var(--ink); padding: 22px 24px; font-size: 18px; font-weight: 600; line-height: 1.6; }
.play-only p { margin: 0; }
.play-only p + p { margin-top: 6px; font-size: 16px; font-weight: 400; color: var(--muted); }

/* ── footer ────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 30px; background: #fff; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; padding-bottom: 28px; }
.site-footer__top img { width: 174px; margin-right: auto; }
.site-footer__top a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: 16px; }
.site-footer__top a:hover { color: var(--accent); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; color: var(--sub); }
.footer-links a:hover { color: var(--accent); }
.footer-links a.strong { font-weight: 700; color: var(--ink); }
.biz { font-size: 14px; color: var(--muted); line-height: 1.85; padding: 18px 0; border-top: 1px solid var(--line); }
.biz p { margin: 0; }
.biz span { display: inline-block; margin-right: 14px; }
.biz span b { font-weight: 600; color: var(--sub); margin-right: 6px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 600px) {
  .site-footer { padding-top: 36px; }
  .site-footer__top img { width: 150px; flex-basis: 100%; }
  .biz span { display: block; margin-right: 0; }
}

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

/* ══ 2026-10-09 20:40 — course flow (choice → list → detail → 인원 선택 → 예약하기) ══ */
.h2 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.35; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; }
.narrow { max-width: 860px; }
.link-button { background: none; border: 0; padding: 0 2px; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.link-button.danger { color: var(--err); }

/* discount strip */
.discount-strip { background: #fff1f0; border-bottom: 1px solid #f6cfcb; color: #7a1d16; font-size: 15px; }
.discount-strip p { margin: 0; padding: 10px 0; }
.discount-strip strong { color: var(--sale); font-weight: 700; }

/* breadcrumb */
.crumbs { border-bottom: 1px solid #eef0f3; font-size: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; min-height: 46px; gap: 0; }
.crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1px solid #9aa1ab; border-right: 1px solid #9aa1ab; transform: rotate(45deg); margin: 0 12px 0 8px; }
.crumbs a { color: var(--sub); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* choice hero */
.hero--choice { padding-block: 80px 88px; }
.hero--list { padding-block: 64px 56px; }
.hero--list h1 { font-size: clamp(34px, 4vw, 54px); }
.hero__more { margin-top: 28px; }
.path-choices { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.path-choice { display: flex; flex-direction: column; height: 100%; padding: 34px 34px 30px; border: 1px solid var(--ink); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.path-choice:hover { border-color: var(--accent); background: var(--accent-soft); }
.path-choice:focus-visible { outline-offset: 3px; }
.path-choice__kicker { font-size: 15px; font-weight: 650; color: var(--accent); margin-bottom: 10px; }
.path-choice__title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 650; letter-spacing: -.045em; line-height: 1.3; }
.path-choice__desc { margin-top: 10px; color: var(--muted); }
.path-choice__list { list-style: none; margin: 22px 0 26px; border-top: 1px solid var(--line); }
.path-choice__list li { padding: 11px 0 11px 18px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; color: var(--sub); }
.path-choice__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 1px; background: var(--ink); }
.path-choice__go { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 14px 20px; background: var(--accent); color: #fff; font-weight: 600; }
.path-choice:hover .path-choice__go { background: var(--accent-hover); }
.path-choice__go svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .hero--choice { padding-block: 48px 56px; }
  .path-choices { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .path-choice { padding: 26px 22px 22px; }
}

/* dark band copy */
.band-title { font-size: clamp(28px, 3vw, 42px); line-height: 1.35; color: #fff; max-width: 820px; }
.band-lead { margin-top: 18px; max-width: 760px; font-size: 18px; line-height: 1.8; }

/* how-to */
ol.grid-3 { list-style: none; }

/* cards */
.card__title { color: inherit; text-decoration: none; }
.card__title:hover { color: var(--accent); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--3 .card { padding-right: 28px; }
.cards--3 .card + .card { padding-left: 28px; padding-right: 28px; }
.cards--3 .card:last-child { padding-right: 0; }
@media (max-width: 980px) {
  .cards--3 { grid-template-columns: 1fr; }
  .cards--3 .card, .cards--3 .card + .card { padding: 30px 0; border-left: 0; }
}
.period-note { margin-top: 22px; font-size: 15px; color: var(--sub); }
.period-note p { margin: 0 0 4px; }
.cap-note { margin-top: 24px; max-width: 820px; }

/* game teaser */
.game-teaser { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.game-teaser img { width: 96px; height: 96px; }
.game-teaser p { margin: 0; }
.game-teaser h2 { margin: 2px 0 6px; }
@media (max-width: 760px) { .game-teaser { grid-template-columns: 64px minmax(0, 1fr); } .game-teaser img { width: 64px; height: 64px; } .game-teaser .btn { grid-column: 1 / -1; } }

/* course detail */
.hero__tagline { margin-top: 18px; font-size: 20px; font-weight: 600; color: var(--sub); letter-spacing: -.03em; }
.price-card__note { margin: 14px 0 0; font-size: 15px; color: var(--sub); }
.buy-alt { margin: 14px 0 0; font-size: 15px; }
.buy-alt a { display: inline-flex; min-height: 44px; align-items: center; }
.prose { max-width: 820px; font-size: 18px; line-height: 1.85; color: #2c3037; margin-bottom: 40px; }
.goals { margin-top: 8px; }
.grid-1 { border-top: 1px solid var(--ink); }
.grid-1 > .tile { padding: 28px 0; }
.who-note { margin-top: 24px; font-weight: 600; }
.prep-note { margin-top: 20px; }
.week__note { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.week__table { margin-top: 18px; }
.week__table .data-table { min-width: 520px; font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.gallery img { border: 1px solid var(--line); width: 100%; aspect-ratio: 1280 / 900; object-fit: cover; }
.gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }
.cta-end { border-top: 1px solid var(--line); }
.cta-end__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-end__inner p { margin: 0; }
.cta-end__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.cta-end__buy .price { padding: 0; border: 0; }

/* flow pages */
.section--flow { padding-block: 48px 100px; }
.h1-flow { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.3; }
.flow-head { margin: 28px 0 36px; max-width: 820px; }
.flow-head .lead { margin-top: 16px; }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; counter-reset: s; }
.steps li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.steps li + li::before { content: ""; width: 34px; height: 1px; background: var(--line-strong); margin: 0 14px; }
.steps__n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 650; }
.steps li.is-done { color: var(--sub); }
.steps li.is-done .steps__n { background: var(--paper); }
.steps li[aria-current="step"] { color: var(--ink); font-weight: 650; }
.steps li[aria-current="step"] .steps__n { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 600px) { .steps li + li::before { width: 18px; margin: 0 8px; } .steps li { font-size: 14px; } .section--flow { padding-block: 32px 72px; } }

.people { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.qty { border: 0; margin: 0; padding: 0; min-width: 0; }
.qty legend { font-size: 20px; font-weight: 650; margin-bottom: 16px; padding: 0; }
.qty-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.qty-option { position: relative; display: block; cursor: pointer; }
.qty-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qty-option span { display: flex; align-items: center; justify-content: center; min-height: 64px; border: 1px solid var(--line-strong); background: #fff; font-size: 19px; font-weight: 650; transition: background .12s, border-color .12s; }
.qty-option:hover span { border-color: var(--ink); }
.qty-option input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.qty-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.qty .cap-note { margin: 22px 0 12px; }
.total-box { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--ink); padding: 26px; background: #fff; }
.total-box__title { font-size: 20px; margin-bottom: 12px; }
.total-box .btn { margin-top: 18px; }
.total-box p { margin: 8px 0 0; }
@media (max-width: 1000px) { .people { grid-template-columns: 1fr; gap: 32px; } .total-box { position: static; } }
@media (max-width: 600px) { .qty-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } .total-box { padding: 22px 18px; } }

.form-title { font-size: 20px; margin: 4px 0 16px; }
.test-notice { margin-bottom: 22px; }
.sum-line { margin: 10px 0 0; }
.sum-line a { margin-right: 14px; display: inline-flex; min-height: 36px; align-items: center; }
.summary-list small { font-weight: 400; color: var(--muted); font-size: 13px; }
.order-form .consents { padding: 0; }
.order-form fieldset.consents { margin: 8px 0 22px; }
.who .link-button { min-height: 0; }

/* account / result */
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account-actions .btn { min-height: 48px; gap: 24px; }
.account-delete { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.login-foot { margin-top: 22px; }
.id-login { margin-top: 18px; }
.orders { margin-top: 28px; }
.result-table { margin: 24px 0; }
.result-links, .fail-actions { margin-top: 28px; }
.admin-login { max-width: 420px; margin: 24px 0 8px; }
.admin-who { margin-bottom: 28px; }
.admin-state { font-weight: 600; }
.admin-orders-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.admin-orders-head h2 { margin: 0; }
.field-label { display: block; font-weight: 600; font-size: 16px; margin: 0 0 8px; }

/* policy */
.hero--policy { padding-block: 64px 48px; }
.hero--policy h1 { font-size: clamp(32px, 3.6vw, 50px); }
.section--policy { padding-block: 40px 100px; }

/* game */
.game-hero h1 .soft-light { color: #c9d6bd; font-size: .62em; display: block; margin-top: 8px; letter-spacing: -.03em; }
.game-status p { margin: 0 0 8px; }
.promise-grid { border-top: 0; align-items: start; }
.promise-grid > * { border-bottom: 0; }
.link-row { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 28px; }
.note-list { list-style: none; margin-top: 18px; font-size: 15px; color: var(--sub); }
.note-list li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.note-list li::before { content: "*"; position: absolute; left: 0; color: var(--muted); }
.game-products { min-width: 760px; font-size: 15px; }
.game-products td:nth-child(3) { min-width: 320px; }
.week > div { min-width: 0; }
@media (max-width: 700px) { .week { grid-template-columns: minmax(0, 1fr); } }
.site-nav a { white-space: nowrap; }
.site-footer__top a { white-space: nowrap; }
.site-footer__top a svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 600px) {
  .site-footer__top { display: grid; justify-items: start; gap: 6px; }
  .site-footer__top img { width: 150px; flex-basis: auto; margin-bottom: 8px; }
  .steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
  .steps li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .steps li + li::before { display: none; }
}
.site-nav a svg { width: 18px; height: 18px; flex: none; }
