:root {
  --navy: #1b2a4a;
  --navy-2: #24365d;
  --accent: #e94560;
  --accent-2: #c9304b;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e4e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; color: var(--navy); }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--navy); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.nav .btn { padding: 8px 16px; font-size: 14px; color: #fff; }
@media (max-width: 860px) {
  .nav a:not(.lang):not(.btn) { display: none; }
}

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #ffd2da; background: rgba(233,69,96,.18); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.25; margin: 18px 0 18px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: #ff8fa3; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: #d7deeb; margin: 0 0 30px; max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 14px; color: #aeb9cf; }

.phone {
  justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 18.5;
  background: #0e1628; border-radius: 36px; padding: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
}
.screen { height: 100%; background: #fff; border-radius: 26px; color: var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.screen .bar { background: var(--navy); color: #fff; padding: 14px 16px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.live { background: var(--accent); color: #fff; font-weight: 800; font-size: 11px; padding: 2px 8px; border-radius: 6px; }
.subs { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.sub { background: var(--bg-soft); border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
.sub small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 2px; }
.sub.now { background: #fff0f3; border: 1px solid #ffc7d2; }
@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { width: 240px; }
}

/* sections */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); }
.sec-head { max-width: 720px; margin: 0 0 40px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; margin: 0 0 12px; letter-spacing: -0.02em; color: var(--navy); }
.sec-head p { margin: 0; color: var(--muted); font-size: 17px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding: 56px 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 10px 0 8px; font-size: 19px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: #fff0f3; color: var(--accent); display: grid; place-items: center; font-size: 22px; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step h3 { margin: 0 0 6px; font-size: 19px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }

.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.langs span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 14px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 12px 30px rgba(233,69,96,.12); }
.plan .tag { font-size: 12px; font-weight: 800; color: var(--accent); min-height: 18px; }
.plan h3 { margin: 4px 0 2px; font-size: 20px; color: var(--navy); }
.plan .for { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.plan .price { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.plan li { padding: 7px 0 7px 24px; border-top: 1px solid var(--line); position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }
.plan .btn { width: 100%; }
.plan .btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.price-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* form */
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; gap: 24px; } }
form.inquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #cfd5e1; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(233,69,96,.35); border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 14px; }
.consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 15px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: #e8f7ee; color: #17663a; }
.form-msg.err { display: block; background: #fdecee; color: #a8213a; }
.contact-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-points li { display: flex; gap: 10px; color: var(--muted); }
.contact-points b { color: var(--navy); }

/* footer */
footer { background: #0f1830; color: #9aa6bf; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #cfd7e6; }
footer strong { color: #fff; }

/* legal page */
.legal { padding: 56px 0 80px; }
.legal h1 { color: var(--navy); }
.legal h2 { color: var(--navy); font-size: 20px; margin-top: 32px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); }
