@font-face {
  font-family: "Pretendard";
  src: url("assets/fonts/Pretendard-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("assets/fonts/Pretendard-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --blue-950: #071b58;
  --blue-800: #063da7;
  --blue-700: #075bdc;
  --blue-600: #0a7cf2;
  --cyan-400: #1ac8ef;
  --yellow-400: #ffd735;
  --pink-400: #ff4f8d;
  --mint-100: #dcfaef;
  --sky-50: #f3f9ff;
  --line: #d8e8f8;
  --ink: #0a1740;
  --muted: #5f7196;
  --shadow: 0 22px 60px rgba(11, 76, 171, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Pretendard", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue-800);
}

.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 74px;
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 30px rgba(6, 61, 167, .08);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--cyan-400), var(--blue-700));
  box-shadow: 0 8px 18px rgba(0, 99, 235, .24);
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 700; color: #26385f; }
.nav-links a:hover { color: var(--blue-600); }

.nav-cta {
  padding: 10px 17px;
  border-radius: 14px;
  color: #fff !important;
  background: var(--blue-700);
  box-shadow: 0 10px 20px rgba(7, 91, 220, .2);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 790px;
  padding: 150px 20px 110px;
  background:
    radial-gradient(circle at 8% 16%, rgba(255,255,255,.3) 0 42px, transparent 44px),
    radial-gradient(circle at 75% 20%, rgba(57,187,255,.28) 0 160px, transparent 162px),
    linear-gradient(145deg, #14c4ef 0%, #0989f6 42%, #0852d7 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.hero::before { width: 420px; height: 420px; right: -140px; top: 80px; }
.hero::after { width: 280px; height: 280px; left: -80px; bottom: 20px; }

.clouds { position: absolute; inset: auto 0 0; height: 160px; pointer-events: none; }
.cloud {
  position: absolute;
  bottom: -70px;
  width: 270px;
  height: 170px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 15px 30px rgba(27, 159, 231, .08);
}
.cloud:nth-child(1) { left: -70px; }
.cloud:nth-child(2) { left: 15%; bottom: -95px; width: 330px; }
.cloud:nth-child(3) { left: 42%; bottom: -80px; width: 390px; }
.cloud:nth-child(4) { right: -60px; bottom: -90px; width: 360px; }

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.14);
  font-weight: 700;
  font-size: 13px;
}

.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-400); box-shadow: 0 0 0 5px rgba(255,215,53,.18); }

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.07em;
  text-shadow: 0 12px 24px rgba(1,54,153,.24);
}

.hero h1 span { color: var(--yellow-400); }

.hero-copy {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
  letter-spacing: -.025em;
}

.hero-note { margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: #fff; color: var(--blue-700); box-shadow: 0 16px 36px rgba(1,54,153,.24); }
.button-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.1); }

.phone-card {
  position: relative;
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 44px;
  background: rgba(255,255,255,.17);
  box-shadow: 0 34px 80px rgba(0,41,132,.28);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
}

.app-icon {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0,41,132,.28);
}

.floating-tile {
  position: absolute;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 5px solid #fff;
  border-radius: 22px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 15px 30px rgba(0,41,132,.22);
}
.tile-a { left: -32px; top: 12%; background: var(--blue-600); transform: rotate(-9deg); }
.tile-b { right: -28px; top: 24%; background: var(--pink-400); transform: rotate(9deg); }
.tile-c { left: -20px; bottom: 10%; background: #11bd7a; transform: rotate(7deg); }

.section { padding: 110px 20px; }
.section-soft { background: var(--sky-50); }
.container { width: min(1120px, 100%); margin: 0 auto; }

.section-kicker { margin: 0 0 10px; color: var(--blue-600); font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.section h2 { max-width: 700px; margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.15; letter-spacing: -.055em; }
.section-lead { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(13,87,182,.08);
}
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; background: linear-gradient(145deg,var(--cyan-400),var(--blue-700)); font-weight: 900; }
.step h3 { margin: 28px 0 10px; font-size: 24px; letter-spacing: -.04em; }
.step p { margin: 0; color: var(--muted); }

.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; }
.category-card {
  min-height: 148px;
  padding: 22px 18px;
  border: 1px solid rgba(7,91,220,.08);
  border-radius: 24px;
  background: var(--card, #eaf4ff);
  box-shadow: 0 12px 26px rgba(12,75,160,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-5px); box-shadow: 0 18px 32px rgba(12,75,160,.12); }
.category-icon { font-size: 32px; }
.category-card strong { display: block; margin-top: 14px; font-size: 17px; letter-spacing: -.03em; }
.category-card small { display: block; margin-top: 3px; color: var(--muted); }

.principles { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.policy-panel { padding: 34px; border-radius: 32px; background: linear-gradient(145deg,#082c83,#0878ed); color: #fff; box-shadow: var(--shadow); }
.policy-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.policy-row:last-child { border-bottom: 0; }
.policy-check { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--blue-800); background: var(--yellow-400); font-weight: 900; }
.policy-row strong { display: block; }
.policy-row p { margin: 3px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }

.status-banner { margin-top: 36px; padding: 24px 26px; border: 1px solid #f0d582; border-radius: 22px; background: #fff8dc; color: #6a5100; }
.status-banner strong { display: block; margin-bottom: 4px; }

.faq { margin-top: 42px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 23px 4px; font-size: 18px; font-weight: 900; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--blue-600); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: -4px 0 24px; color: var(--muted); }

.site-footer { padding: 48px 20px; color: #c8d7fb; background: #06143a; }
.footer-inner { width: min(1120px,100%); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.footer-brand { color: #fff; font-size: 20px; font-weight: 900; }
.footer-copy { max-width: 520px; margin: 10px 0 0; color: #8297c7; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 18px; font-size: 14px; }
.footer-meta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #6f84b3; font-size: 13px; }

.legal-hero { padding: 140px 20px 70px; color: #fff; background: linear-gradient(145deg,#10bdeb,#0868e7 55%,#073cae); }
.legal-hero .container { max-width: 860px; }
.legal-hero h1 { margin: 0; font-size: clamp(38px,6vw,58px); letter-spacing: -.055em; }
.legal-hero p { margin: 14px 0 0; color: rgba(255,255,255,.78); }
.legal-main { width: min(860px,calc(100% - 40px)); margin: 0 auto; padding: 70px 0 100px; }
.legal-main h2 { margin: 46px 0 14px; font-size: 24px; letter-spacing: -.035em; }
.legal-main h2:first-child { margin-top: 0; }
.legal-main h3 { margin: 30px 0 10px; font-size: 18px; }
.legal-main p, .legal-main li { color: #506487; }
.legal-main ul { padding-left: 22px; }
.notice { padding: 20px 22px; border-left: 4px solid var(--yellow-400); border-radius: 0 16px 16px 0; background: #fff8dc; color: #6a5100 !important; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--sky-50); }

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding-top: 125px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-copy, .hero-note { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .phone-card { width: min(390px,82vw); }
  .steps { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3,1fr); }
  .principles { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 580px) {
  .site-header { height: 66px; }
  .nav { width: min(100% - 28px,1120px); }
  .nav-cta { padding: 9px 13px; font-size: 13px; }
  .hero h1 { font-size: 58px; }
  .section { padding: 80px 18px; }
  .category-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .category-card { min-height: 132px; padding: 18px 15px; border-radius: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-meta { grid-column: 1; }
}

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