/* TOPIK Frequency — topikfrequency.com */

:root {
  --ink: #14161a;
  --body: #454b57;
  --muted: #6d7482;
  --line: #e3e5ea;
  --line-soft: #eef0f3;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #f1f3f6;
  --brand: #1f5fd0;
  --brand-dark: #1748a0;
  --brand-soft: #eef4ff;
  --star: #b7791f;
  --star-soft: #fdf6e7;
  --ok: #0f6e56;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --kr: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", "Nanum Gothic", sans-serif;
}

* { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 16px; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.kr { font-family: var(--kr); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 62px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand span { color: var(--brand); }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--body); font-size: 0.9rem; }
.nav .btn { padding: 8px 16px; font-size: 0.9rem; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links + .btn { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- layout blocks ---------- */
section { padding: 68px 0; }
section.tight { padding: 48px 0; }
.alt { background: var(--surface-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 10px;
}
.lead { font-size: 1.08rem; color: var(--body); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: 2.85rem; }
.hero .lead { margin-bottom: 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust {
  margin-top: 22px;
  font-size: 0.87rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.trust span::before { content: "\00b7"; margin-right: 10px; color: var(--line); }
.trust span:first-child::before { content: none; margin: 0; }
.shot {
  width: 100%;
  height: auto;   /* 没有这行时，HTML 里的 height="720" 属性会把图竖向拉长 */
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}
.shot-cap { font-size: 0.8rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
@media (max-width: 900px) {
  .hero { padding: 44px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 52px 0; }
}

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.94rem; }
.alt .card { background: var(--surface); }

.tier-card { border-top: 3px solid var(--star); background: var(--star-soft); }
.tier-card .stars { color: var(--star); font-size: 0.95rem; letter-spacing: 0.06em; }
.tier-card .num { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); display: block; line-height: 1.1; }
.tier-card .name { font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; font-size: 0.95rem; }

/* ---------- price ---------- */
.price-box {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 34px 30px;
  box-shadow: 0 1px 2px rgba(20, 22, 26, 0.04);
}
.price-box h3 { font-family: var(--serif); font-size: 1.25rem; }
.price { font-family: var(--serif); font-size: 3.2rem; color: var(--ink); line-height: 1; }
.price small { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.price-note { font-size: 0.87rem; color: var(--muted); margin: 8px 0 22px; }
.incl { list-style: none; margin: 0 0 24px; padding: 0; font-size: 0.94rem; }
.incl li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--line-soft); }
.incl li:last-child { border-bottom: 0; }
.incl li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.pay-note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.pay-note strong { color: var(--body); font-weight: 600; }

/* ---------- details / faq ---------- */
details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
details summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 30px 14px 0;
  position: relative;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 1.25rem;
  color: var(--brand);
  font-weight: 400;
  line-height: 1;
}
details[open] summary::after { content: "\2013"; }
details .body { padding: 0 0 16px; font-size: 0.95rem; }
details .body p:last-child { margin-bottom: 0; }

/* ---------- steps / legal ---------- */
ol.steps { padding-left: 20px; margin: 0 0 16px; }
ol.steps li { margin-bottom: 8px; }

.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; margin: 32px 0 10px; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin-bottom: 7px; }
.legal .updated { font-size: 0.85rem; color: var(--muted); }
.callout {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.92rem;
  margin: 0 0 24px;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- thanks ---------- */
.thanks-hero { padding: 60px 0 44px; text-align: center; }
.tick {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid var(--brand);
  margin: 0 auto 22px;
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  transform: rotate(-45deg);
}
.dl-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  margin: 0 0 22px;
}
.ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--ink);
}

/* ---------- footer ---------- */
footer {
  background: var(--surface-3);
  border-top: 1px solid var(--line);
  padding: 44px 0 52px;
  font-size: 0.87rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-grid a { color: var(--body); }
.disc {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}
.disc p { margin: 0 0 8px; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
}
