/* =========================================================
   강남 유앤미 예약 센터 — White Marble & Chrome
   ========================================================= */
:root {
  --marble: #F7F6F3;
  --marble-2: #EFEDE8;
  --slab: #FBFAF8;
  --vein: #BFC3C8;
  --chrome: #8E959C;
  --chrome-dark: #5E656C;
  --ink: #1E2124;
  --ink-soft: #4A4F55;
  --ink-mute: #6E747A;
  --line: rgba(30, 33, 36, .12);
  --ok: #4F7A63;
  --mid: #9A7B3E;
  --busy: #8E3B3B;
  --radius: 18px;
  --serif: "Gowun Batang", "Nanum Myeongjo", serif;
  --sans: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --chrome-grad: linear-gradient(100deg, #5d646b 0%, #d9dde1 18%, #7a8289 34%, #f7f8f9 50%, #737a81 66%, #cfd4d8 82%, #5d646b 100%);
  --chrome-text-grad: linear-gradient(100deg, #1f2327 0%, #4a5157 20%, #8e959c 34%, #2a2f34 48%, #5e656c 62%, #a3aab0 76%, #1f2327 100%);
  --edge-grad: linear-gradient(135deg, #e3e6e9, #8e959c 28%, #f6f7f8 52%, #9aa1a8 76%, #dfe2e5);
  --shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px -18px rgba(30,33,36,.28), 0 4px 12px -6px rgba(30,33,36,.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  background-color: var(--marble);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='m' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0028 0.0075' numOctaves='6' seed='11' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0.52 0 0 0 0 0.54 0 0 0 0 0.58 1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0 0 0 0 0 0 0 0 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"),
    radial-gradient(1200px 700px at 85% -10%, #ffffff 0%, rgba(255,255,255,0) 60%),
    radial-gradient(900px 600px at -10% 40%, #ECEAE5 0%, rgba(236,234,229,0) 65%);
  background-size: 900px 900px, auto, auto;
  background-attachment: fixed, scroll, scroll;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--chrome-dark); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- chrome text ---------- */
.chrome-text {
  background: var(--chrome-text-grad);
  text-shadow: none;
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 220% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .14em; font-weight: 500; color: var(--ink-mute);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--edge-grad); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: rgba(247, 246, 243, .78);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 12px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-mark { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .08em; }
.brand-sub { font-size: 13px; color: var(--ink-mute); }

/* ---------- buttons ---------- */
.btn {
  --lift: 6px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border: 1px solid #7d848b;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #dfe3e6 46%, #b7bec4 52%, #eef0f2 100%);
  box-shadow: 0 1px 0 #fff inset, 0 var(--lift) 0 #7d848b, 0 calc(var(--lift) + 10px) 22px -6px rgba(30,33,36,.35);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: glint 4.5s ease-in-out infinite;
}
@keyframes glint { 0%, 55% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #fff inset, 0 calc(var(--lift) + 2px) 0 #7d848b, 0 calc(var(--lift) + 16px) 26px -6px rgba(30,33,36,.38); }
.btn:active { transform: translateY(var(--lift)); box-shadow: 0 1px 0 #fff inset, 0 0 0 #7d848b, 0 4px 10px -4px rgba(30,33,36,.3); }
.btn-ink {
  color: #F4F5F6; border-color: #0d0f11;
  background: linear-gradient(180deg, #3b4046 0%, #23272b 48%, #15181b 52%, #2c3136 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 var(--lift) 0 #0b0c0e, 0 calc(var(--lift) + 10px) 22px -6px rgba(30,33,36,.45);
}
.btn-ink::after { background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); }
.btn-ink:hover { box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 calc(var(--lift) + 2px) 0 #0b0c0e, 0 calc(var(--lift) + 16px) 26px -6px rgba(30,33,36,.5); }
.btn-ink:active { box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 0 0 #0b0c0e, 0 4px 10px -4px rgba(30,33,36,.4); }
.btn-sm { --lift: 4px; min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- panels ---------- */
.panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: linear-gradient(180deg, #fdfdfc, #f4f3f0) padding-box, var(--edge-grad) border-box;
  box-shadow: var(--shadow);
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 {
  margin: 18px 0 20px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.18; letter-spacing: -.01em;
  color: var(--ink);
  text-shadow: 0 1px 0 #fff, 0 -1px 0 rgba(30,33,36,.08);
}
.hero h1 .chrome-text { display: inline-block; }
.hero-lead { margin: 0 0 30px; max-width: 34em; font-size: 17px; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 14px; margin-bottom: 40px; }
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.hero-points li { padding: 18px 18px 16px; }
.hero-points .pt-title { display: block; font-family: var(--serif); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.hero-points .pt-desc { display: block; font-size: 14px; line-height: 1.6; color: var(--ink-mute); }

.hero-visual { position: relative; aspect-ratio: 1 / 1.08; perspective: 1100px; }
.slab {
  position: absolute; inset: 6% 4% 10% 10%;
  border-radius: 28px;
  transform: rotateX(8deg) rotateY(-14deg);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='560'%3E%3Cfilter id='v' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.014' numOctaves='6' seed='4'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.38 0 0 0 0 0.41 0 0 0 0 0.45 1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E") center / cover,
    linear-gradient(150deg, #ffffff 0%, #f1f0ec 55%, #e4e2dd 100%);
  border: 1px solid rgba(142,149,156,.55);
  box-shadow: 0 2px 0 #fff inset, 30px 40px 70px -30px rgba(30,33,36,.45), 0 0 0 10px rgba(255,255,255,.35);
}
.slab-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; transform: translateZ(40px); }
.slab-tag { font-size: 12px; letter-spacing: .22em; color: var(--ink-mute); }
.slab-title { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; font-weight: 700; }
.slab-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slab-meta div { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid rgba(142,149,156,.35); }
.slab-meta b { display: block; font-family: var(--serif); font-size: 20px; }
.slab-meta span { display: block; font-size: 12px; color: var(--ink-mute); }

.ring {
  position: absolute; width: 46%; aspect-ratio: 1; right: -4%; top: -2%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #6b7279, #f5f6f7, #8e959c, #ffffff, #5e656c, #dfe3e6, #6b7279);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55.5%, #000 70%, transparent 71.5%);
  mask: radial-gradient(circle, transparent 54%, #000 55.5%, #000 70%, transparent 71.5%);
  filter: drop-shadow(0 18px 24px rgba(30,33,36,.3));
  animation: spin 18s linear infinite;
}
.orb {
  position: absolute; width: 18%; aspect-ratio: 1; left: -2%; bottom: -5%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #e6e9ec 18%, #9aa1a8 46%, #4f555b 78%, #2c3035 100%);
  box-shadow: 0 24px 30px -12px rgba(30,33,36,.45);
  animation: float 6s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- sections ---------- */
.section { padding: 92px 0; position: relative; }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(1160px, 100% - 32px); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--vein) 20%, #fff 50%, var(--vein) 80%, transparent);
}
.sec-head { max-width: 760px; margin-bottom: 42px; }
.sec-head h2 {
  margin: 12px 0 16px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(27px, 3.4vw, 40px); line-height: 1.28; letter-spacing: -.01em;
}
.sec-head p { margin: 0; color: var(--ink-soft); font-size: 16.5px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--edge-grad); }

h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.4; margin: 0 0 8px; }
h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.note { font-size: 14px; color: var(--ink-mute); margin: 18px 0 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 26px 20px 22px; text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
.stat-label { display: block; margin-top: 10px; font-weight: 700; font-size: 15px; }
.stat-cap { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-mute); line-height: 1.5; }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
caption { text-align: left; font-size: 13px; color: var(--ink-mute); padding: 0 4px 12px; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-size: 13px; letter-spacing: .06em; font-weight: 700; color: #F4F5F6;
  background: linear-gradient(180deg, #3b4046, #1f2327);
}
thead th:first-child { border-top-left-radius: 14px; }
thead th:last-child { border-top-right-radius: 14px; }
tbody tr:nth-child(even) td { background: rgba(255,255,255,.55); }
tbody tr:hover td { background: rgba(191,195,200,.18); }
td.num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.table-panel { padding: 8px; }

.rule-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rule-list li { display: flex; gap: 12px; align-items: flex-start; }
.rule-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #8e959c 60%, #4f555b); }
.rule-list span { flex: 1; min-width: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

/* calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.calc-form { padding: 30px; display: grid; gap: 26px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.field-label output { font-family: var(--serif); font-size: 20px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(180deg, #c9ced3, #eef0f2); box-shadow: inset 0 1px 2px rgba(30,33,36,.25); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #6b7279; background: radial-gradient(circle at 32% 28%, #fff 0%, #dfe3e6 30%, #9aa1a8 70%, #5e656c 100%); box-shadow: 0 4px 10px rgba(30,33,36,.35); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #6b7279; background: radial-gradient(circle at 32% 28%, #fff 0%, #dfe3e6 30%, #9aa1a8 70%, #5e656c 100%); box-shadow: 0 4px 10px rgba(30,33,36,.35); cursor: grab; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 6px; border-radius: 14px; background: linear-gradient(180deg, #e3e6e9, #f4f5f6); box-shadow: inset 0 1px 3px rgba(30,33,36,.18); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 6px 8px; border-radius: 10px; font-size: 14px; font-weight: 700; text-align: center; line-height: 1.3; cursor: pointer; color: var(--ink-soft); transition: background .2s, color .2s, box-shadow .2s; }
.seg label small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-mute); }
.seg input:checked + label { color: var(--ink); background: linear-gradient(180deg, #ffffff, #eceef0); box-shadow: 0 1px 0 #fff inset, 0 3px 8px rgba(30,33,36,.18); }
.seg input:focus-visible + label { outline: 2px solid var(--chrome-dark); outline-offset: 2px; }

.receipt { padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, #23272b, #15181b) padding-box, var(--edge-grad) border-box; color: #E9EBED; }
.receipt h3 { color: #fff; font-size: 18px; }
.receipt dl { margin: 0; display: grid; gap: 10px; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed rgba(233,235,237,.2); font-size: 15px; }
.receipt dt { color: #B9BEC3; }
.receipt dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.receipt .total { display: block; margin-top: 4px; font-family: var(--serif); font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.1; }
.receipt .chrome-text { background-image: var(--chrome-grad); background-size: 220% 100%; }
.receipt .per { font-size: 14px; color: #B9BEC3; }
.receipt .note { color: #9EA4AA; margin: 0; }
.receipt .btn { margin-top: auto; }

/* board */
.board { padding: 30px; }
.board-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.board-date { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mute); }
.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(79,122,99,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,122,99,.5); } 70% { box-shadow: 0 0 0 10px rgba(79,122,99,0); } 100% { box-shadow: 0 0 0 0 rgba(79,122,99,0); } }
.board-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.plaque { padding: 20px; border-radius: 14px; text-align: center; background: linear-gradient(180deg, #ffffff, #eceae5); border: 1px solid rgba(142,149,156,.4); box-shadow: inset 0 2px 4px rgba(30,33,36,.08); }
.plaque b { display: block; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; }
.plaque span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-mute); }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.slots li { padding: 12px 10px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid var(--line); text-align: center; }
.slot-time { display: block; font-size: 13px; color: var(--ink-mute); }
.slot-state { display: inline-block; margin-top: 4px; font-weight: 700; font-size: 14px; padding: 2px 10px; border-radius: 99px; }
.s-ok { color: var(--ok); background: rgba(79,122,99,.1); }
.s-mid { color: var(--mid); background: rgba(154,123,62,.12); }
.s-busy { color: var(--busy); background: rgba(142,59,59,.1); }

/* chips */
.pref { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.pref-groups { padding: 30px; display: grid; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: 500 14.5px/1 var(--sans); color: var(--ink-soft);
  border: 1px solid rgba(142,149,156,.6);
  background: linear-gradient(180deg, #ffffff, #eef0f2);
  box-shadow: 0 1px 0 #fff inset, 0 3px 0 #c3c8cd;
  transition: transform .12s, box-shadow .12s, background .2s, color .2s;
}
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"] { color: #fff; border-color: #15181b; background: linear-gradient(180deg, #3b4046, #1b1e21); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 1px 0 #0b0c0e; transform: translateY(2px); }
.memo { padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; }
.memo-box { flex: 1; min-height: 150px; padding: 18px; border-radius: 12px; background: repeating-linear-gradient(180deg, #fff 0 31px, #e7e8ea 31px 32px); border: 1px solid var(--line); font-size: 15px; line-height: 32px; white-space: pre-line; color: var(--ink-soft); }

/* timeline */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, #dfe3e6, #8e959c, #f4f5f6, #8e959c); }
.timeline li { position: relative; padding-left: 64px; }
.t-node { position: absolute; left: 6px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--sans); color: var(--ink); background: radial-gradient(circle at 30% 28%, #fff, #dfe3e6 40%, #9aa1a8); border: 1px solid #7d848b; box-shadow: 0 4px 10px rgba(30,33,36,.25); }
.t-card { padding: 20px 24px; }
.t-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.t-year { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1; margin-bottom: 8px; }

/* course cards */
.course { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.course-card { padding: 28px; }
.course-card .step { display: inline-block; font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--ink-mute); margin-bottom: 10px; }
.course-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; }
.course-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.course-card li { font-size: 13px; padding: 5px 12px; border-radius: 99px; background: rgba(191,195,200,.22); color: var(--ink-soft); }
.callout { margin-top: 22px; padding: 20px 24px; border-left: 3px solid var(--chrome-dark); background: rgba(255,255,255,.65); border-radius: 0 14px 14px 0; font-size: 15px; color: var(--ink-soft); }

/* faq */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 17.5px; }
.faq summary .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; position: relative; background: radial-gradient(circle at 30% 28%, #fff, #dfe3e6 45%, #9aa1a8); border: 1px solid #8e959c; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s; }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 26px 24px; color: var(--ink-soft); font-size: 15.5px; }
.faq .answer p { margin: 0; }

/* map */
.map-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; }
.map-info { padding: 30px; display: grid; gap: 20px; align-content: start; }
.map-info dl { margin: 0; display: grid; gap: 16px; }
.map-info dt { font-size: 13px; letter-spacing: .08em; color: var(--ink-mute); margin-bottom: 2px; }
.map-info dd { margin: 0; font-weight: 500; }
.map-frame { padding: 8px; min-height: 420px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 404px; border: 0; border-radius: 12px; filter: grayscale(.85) contrast(1.05); }

/* cta section */
section[id] { scroll-margin-top: 72px; }
.cta-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  border: 1px solid transparent;
  background:
    radial-gradient(700px 360px at 110% -20%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(160deg, #2c3136 0%, #181b1e 60%, #101214 100%) padding-box,
    var(--edge-grad) border-box;
  box-shadow: 0 40px 80px -40px rgba(30,33,36,.6), 0 1px 0 rgba(255,255,255,.18) inset;
  color: #E9EBED;
}
.cta-panel::before {
  content: ""; position: absolute; width: 380px; aspect-ratio: 1; right: -120px; bottom: -160px; border-radius: 50%;
  background: conic-gradient(from 0deg, #6b7279, #f5f6f7, #8e959c, #ffffff, #5e656c, #dfe3e6, #6b7279);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 68%, transparent 69%);
  mask: radial-gradient(circle, transparent 60%, #000 61%, #000 68%, transparent 69%);
  opacity: .35; animation: spin 24s linear infinite; pointer-events: none;
}
.cta-copy { position: relative; }
.cta-copy .eyebrow { color: #B9BEC3; }
.cta-copy h2 { margin: 12px 0 16px; font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; color: #fff; }
.cta-copy p { margin: 0; color: #C9CDD1; font-size: 16px; }
.cta-actions { position: relative; display: grid; gap: 14px; }
.cta-btn {
  --lift: 5px;
  display: flex; align-items: center; gap: 16px;
  min-height: 76px; padding: 12px 22px 12px 14px; border-radius: 20px;
  text-decoration: none; color: var(--ink);
  border: 1px solid #7d848b;
  background: linear-gradient(180deg, #ffffff 0%, #e6e9ec 46%, #c3c9ce 52%, #f1f3f4 100%);
  box-shadow: 0 1px 0 #fff inset, 0 var(--lift) 0 #6b7279, 0 calc(var(--lift) + 14px) 24px -8px rgba(0,0,0,.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn:active { transform: translateY(var(--lift)); box-shadow: 0 1px 0 #fff inset, 0 0 0 #6b7279, 0 4px 10px -4px rgba(0,0,0,.4); }
.cta-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 8px rgba(30,33,36,.25); }
.cta-icon svg { width: 24px; height: 24px; }
.ic-phone { background: linear-gradient(180deg, #3b4046, #1b1e21); }
.ic-phone svg { fill: #fff; }
.ic-kakao { background: linear-gradient(180deg, #FFE94A, #F2D600); }
.ic-kakao svg { fill: #3A1D1D; }
.ic-tele { background: linear-gradient(180deg, #3DB8F0, #1E96D4); }
.ic-tele svg { fill: #fff; }
.cta-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cta-text b { font-size: 17px; }
.cta-text small { font-size: 13.5px; color: var(--ink-mute); }
.cta-btn .arrow { font-weight: 700; transition: transform .2s; }
.cta-btn:hover .arrow { transform: translateX(4px); }

/* footer */
.site-footer { margin-top: 40px; padding: 56px 0 120px; background: linear-gradient(180deg, #23272b, #121417); color: #C9CDD1; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand .brand-mark { color: #fff; }
.footer-brand p { margin: 10px 0 0; font-size: 14px; color: #9EA4AA; max-width: 30em; }
.footer-links { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; }
.footer-links a { font-size: 14px; text-decoration: none; color: #E1E4E7; }
.footer-links a:hover { text-decoration: underline; }
.age-notice { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #9EA4AA; display: flex; align-items: center; gap: 12px; }
.age-badge { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; border: 2px solid #C0504D; }

/* floating CTA */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta .btn { min-height: 58px; padding: 0 28px; font-size: 15.5px; }
.float-cta .dot { width: 8px; height: 8px; border-radius: 50%; background: #7BC59A; box-shadow: 0 0 0 3px rgba(123,197,154,.25); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- sub pages ---------- */
.doc { padding: 56px 0 40px; }
.crumb { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-mute); }
.crumb li + li::before { content: "/"; margin-right: 8px; color: var(--vein); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.doc h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); line-height: 1.25; margin: 0 0 14px; }
.doc-meta { font-size: 14px; color: var(--ink-mute); margin: 0 0 30px; }
.doc-body { padding: clamp(24px, 4vw, 44px); }
.doc-body h2 { font-family: var(--serif); font-size: 21px; margin: 34px 0 10px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { color: var(--ink-soft); font-size: 15.5px; }
.doc-body ol, .doc-body ul { padding-left: 1.3em; }
.doc-body table { min-width: 520px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc, .pref, .map-grid, .two-col, .cta-panel { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hero { padding: 44px 0 64px; }
  .hero-points { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:last-child { grid-column: 1 / -1; }
  .course { grid-template-columns: 1fr; }
  .board-nums { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
  .calc-form, .pref-groups, .memo, .receipt, .board, .map-info { padding: 22px; }
  .brand-sub { display: none; }
  .timeline li { padding-left: 54px; }
  .float-cta { left: 16px; right: 16px; bottom: 14px; }
  .float-cta .btn { width: 100%; }
  .map-frame, .map-frame iframe { min-height: 320px; }
  table { min-width: 560px; font-size: 14px; }
  th, td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
