:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f7f9fd;
  --panel-2: #eef2f9;
  --text: #0d1420;
  --muted: #5b6675;
  --line: rgba(13, 24, 43, 0.12);
  --blue: #1f6bff;
  --blue-strong: #0f5ef0;
  --violet: #6d5cff;
  --ink: #0d121c;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: "Pretendard", "Noto Sans KR", "Segoe UI", "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.section-shell { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }

.site-header { position: fixed; z-index: 100; top: 16px; left: 50%; display: grid; width: min(calc(100% - 32px), var(--max)); min-height: 60px; padding: 8px 12px 8px 16px; transform: translateX(-50%); grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .88); box-shadow: 0 8px 30px rgba(15, 30, 60, .06); backdrop-filter: blur(18px); }
.site-header.scrolled { box-shadow: 0 16px 44px rgba(15, 30, 60, .12); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a, .footer-links a { color: #4c5668; font-size: 14px; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .footer-links a:hover { color: var(--ink); }
.header-cta { justify-self: end; padding: 11px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }

.hero { display: grid; padding-top: 120px; padding-bottom: 48px; grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr); align-items: center; gap: clamp(32px, 4vw, 64px); }
.kicker, .section-index { margin: 0 0 16px; color: #4d6589; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 10px; }
.kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px rgba(31, 107, 255, .55); }
.hero h1 { margin: 0; font-size: clamp(38px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; word-break: keep-all; color: var(--ink); }
.hero-points { margin: 18px 0 0; padding: 0; list-style: none; color: #3d4757; font-size: 15px; line-height: 1.6; }
.hero-points li { position: relative; padding-left: 18px; }
.hero-points li::before { position: absolute; left: 0; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); content: ""; }
.hero-actions { display: flex; margin-top: 22px; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--blue); }
.button-ghost { border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.button-ghost:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.button-light { width: 100%; background: #fff; color: var(--ink); }

.hero-stage { display: grid; place-items: center; }
.shot { display: block; width: 100%; height: auto; border-radius: 12px; }
.hero-stage .shot { height: 440px; object-fit: cover; object-position: top; }

.features, .plans { padding-block: 40px; }
.section-heading { margin-bottom: 24px; }
.section-heading .section-index { margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.04em; line-height: 1.08; word-break: keep-all; color: var(--ink); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { display: grid; align-content: start; gap: 14px; }
.feature .shot { height: 220px; object-fit: cover; object-position: top; border-radius: 10px; }
.feature-number { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.feature-copy h3 { margin: 8px 0 12px; font-size: 22px; letter-spacing: -.03em; color: var(--ink); }
.feature-copy ul { margin: 0; padding: 0; list-style: none; color: #3d4757; font-size: 14px; line-height: 1.6; }
.feature-copy li { position: relative; padding-left: 16px; }
.feature-copy li::before { position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); content: ""; }

.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { position: relative; display: grid; min-height: 400px; padding: 28px; grid-template-rows: auto 1fr auto; border: 1px solid var(--line); border-radius: 24px; background: var(--ink); color: #f4f7fb; }
.price-card p { margin: 0 0 14px; color: #92afd8; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.price-card h3 { margin: 0; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.04em; line-height: 1.05; }
.price-card div > span { display: block; margin-top: 10px; color: #8fa0b8; font-size: 13px; }
.price-card ul { margin: 28px 0 24px; padding: 0; list-style: none; }
.price-card li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.price-pro { overflow: hidden; border-color: rgba(31, 107, 255, .35); background: linear-gradient(150deg, #122a50, #0a111c 64%); }
.price-pro::after { position: absolute; right: -180px; bottom: -180px; width: 440px; height: 440px; border-radius: 50%; background: #245bb5; filter: blur(90px); content: ""; opacity: .42; }
.price-pro p, .price-pro div > span { color: #92afd8; }
.price-pro li { border-color: rgba(255, 255, 255, .14); }
.price-pro > * { position: relative; z-index: 1; }

.site-footer { display: grid; width: min(calc(100% - 64px), var(--max)); min-height: 96px; margin: 0 auto; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 24px; }
.site-footer > p { justify-self: end; color: #6b7687; font-size: 12px; }

.legal-page { min-height: 100vh; padding: 150px 0 100px; }
.legal-wrap { width: min(calc(100% - 48px), 880px); margin: auto; }
.legal-wrap h1 { max-width: 780px; margin: 22px 0 20px; font-size: clamp(36px, 4.8vw, 62px); letter-spacing: -.04em; line-height: 1.1; word-break: keep-all; color: var(--ink); }
.legal-meta { margin-bottom: 70px; color: #6b7687; }
.legal-content { color: #3d4757; font-size: 17px; line-height: 1.78; }
.legal-content h2 { margin: 62px 0 16px; color: var(--ink); font-size: 28px; letter-spacing: -.03em; }
.legal-content a:not(.button) { color: var(--blue); }
.legal-content ul { padding-left: 22px; }
.download-cta { margin: 42px 0 0; }
.download-link { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff !important; text-decoration: none; font-weight: 700; }
.notice { margin-top: 18px; color: #8492a6; font-size: 14px; }
.legal-back { display: inline-flex; margin-top: 70px; color: var(--ink); text-decoration: none; font-weight: 700; }
.support-actions { display: flex; margin-top: 34px; flex-wrap: wrap; gap: 12px; }
.support-actions .button-primary { color: #fff; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-stage { order: 2; }
  .hero-stage .shot { height: 380px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature .shot { height: 320px; }
}

@media (max-width: 720px) {
  .section-shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { top: 8px; min-height: 56px; }
  .header-cta { display: none; }
  .hero { padding-top: 120px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { justify-content: center; }
  .hero-stage .shot { height: 300px; }
  .section-heading h2 { font-size: 30px; }
  .plan-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 360px; padding: 24px; }
  .site-footer { width: calc(100% - 32px); padding: 24px 0; grid-template-columns: 1fr; gap: 22px; }
  .footer-links { flex-wrap: wrap; }
  .site-footer > p { justify-self: start; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.pay-overlay { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(13, 18, 28, .55); backdrop-filter: blur(6px); }
.pay-overlay[hidden] { display: none; }
.pay-modal { position: relative; display: grid; width: min(100%, 420px); gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(13, 30, 60, .3); }
.pay-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #6b7687; font-size: 20px; cursor: pointer; }
.pay-close:hover { background: #f1f4f9; color: var(--ink); }
.pay-modal h2 { margin: 0; font-size: 20px; color: var(--ink); }
.pay-desc { margin: 0; color: #6b7687; font-size: 13px; line-height: 1.5; }
.pay-label { margin: 6px 0 0; color: #3d4757; font-size: 13px; font-weight: 700; }
.pay-modal select, .pay-modal input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #dfe4ec; border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; }
.pay-button { width: 100%; min-height: 44px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.pay-button:disabled { opacity: .6; cursor: wait; }
.pay-info { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--panel); color: #3d4757; font-size: 13px; word-break: break-all; line-height: 1.5; }
.pay-status { margin: 0; min-height: 16px; color: #6b7687; font-size: 13px; line-height: 1.5; }
.pay-result code { display: block; padding: 12px; border-radius: 10px; background: var(--panel); color: var(--ink); font-size: 13px; word-break: break-all; }
.pay-note { margin: 0; color: #6b7687; font-size: 12px; line-height: 1.5; }
