:root {
  --navy: #081221;
  --navy-2: #0d1c31;
  --ink: #102033;
  --muted: #607086;
  --line: #dce4eb;
  --paper: #f8fafc;
  --white: #ffffff;
  --mint: #32d5a4;
  --mint-dark: #0d9f79;
  --blue: #4d8eff;
  --warm: #f1b85b;
  --shadow: 0 24px 70px rgba(5, 20, 38, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 12px 16px;
  color: #fff;
  background: #000;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(8, 18, 33, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--navy);
  background: var(--mint);
  font-weight: 900;
  box-shadow: 0 8px 26px rgba(50,213,164,0.25);
}
.brand strong { display: block; font-size: 1rem; letter-spacing: -0.02em; }
.brand small { display: block; margin-top: -2px; color: #aebbd0; font-size: 0.69rem; letter-spacing: 0.05em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.9rem; }
.nav-links > a:not(.nav-cta) { color: #c8d2e0; }
.nav-links > a:hover { color: var(--white); }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
}
.menu-button {
  display: none;
  padding: 8px 12px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
}

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8,18,33,0.98), rgba(10,28,48,0.94)),
    radial-gradient(circle at 80% 30%, rgba(50,213,164,.16), transparent 35%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 680px;
  padding: 86px 0 96px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 72px;
}
.hero-copy { max-width: 660px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--mint-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.hero .eyebrow, .section-dark .eyebrow, .contact-section .eyebrow { color: var(--mint); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}
h1 span { color: var(--mint); }
.hero-lead {
  max-width: 650px;
  margin-bottom: 12px;
  color: #d5deea;
  font-size: 1.15rem;
}
.hero-en { color: #8fa2ba; font-size: .92rem; }
.hero-actions { margin: 34px 0 42px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: var(--navy);
  background: var(--mint);
  box-shadow: 0 14px 32px rgba(50,213,164,.22);
}
.button-primary:hover { background: #55e2b8; }
.button-secondary {
  color: #e8eef6;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.hero-metrics div { min-width: 110px; }
.hero-metrics strong { display: block; color: #fff; font-size: 1.45rem; }
.hero-metrics span { color: #8fa2ba; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); }
.hero-glow-one {
  width: 360px; height: 360px; right: -80px; top: 120px;
  background: rgba(50,213,164,.08);
}
.hero-glow-two {
  width: 280px; height: 280px; left: 40%; bottom: -160px;
  background: rgba(77,142,255,.10);
}

.puzzle-card {
  position: relative;
  max-width: 500px;
  justify-self: end;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  box-shadow: 0 36px 90px rgba(0,0,0,.32);
  backdrop-filter: blur(22px);
}
.puzzle-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 20px;
}
.puzzle-card-top, .puzzle-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #aebbd0;
  font-size: .72rem;
  letter-spacing: .08em;
}
.live-dot {
  width: 7px; height: 7px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(50,213,164,.1);
}
.difficulty {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
}
.puzzle-demo {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(42px, 1fr));
  gap: 7px;
}
.cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #0e2134;
  background: #f7fafc;
  border: 0;
  border-radius: 10px;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(10,30,48,.08);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
button.cell:hover, button.cell.active {
  transform: translateY(-2px);
  background: var(--mint);
}
.cell.block {
  background: rgba(3,12,23,.65);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.clue-preview {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px;
  color: #dce5f0;
  border-radius: 16px;
  background: rgba(3,12,23,.42);
}
.clue-number {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--navy);
  background: var(--mint);
  border-radius: 10px;
  font-weight: 900;
}
.clue-preview small { color: #899cb4; }
.clue-preview p { margin: 4px 0 0; font-size: .86rem; }
.puzzle-status { margin-top: 20px; letter-spacing: 0; }
.puzzle-status strong { color: var(--mint); }
.progress-track {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
}
.progress-track span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--mint), var(--blue));
  border-radius: inherit;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trust-items {
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 12px;
  color: #65758a;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.section { padding: 110px 0; }
.section-soft { background: var(--paper); }
.section-dark { color: #fff; background: var(--navy); }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .split-heading h2, .progress-layout h2, .early-access-card h2, .contact-card h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.section-heading p, .split-heading > p, .section-copy { color: var(--muted); }
.section-dark .section-heading p { color: #98aabd; }
.split-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 50px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card .icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  margin-bottom: 48px;
  color: var(--mint-dark);
  border-radius: 14px;
  background: #eafbf5;
  font-weight: 900;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.22rem; }
.feature-card p { color: var(--muted); font-size: .92rem; }

.architecture {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
}
.architecture-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
}
.architecture-card.primary {
  color: var(--navy);
  background: var(--mint);
}
.architecture-card small { color: #8fa2ba; font-weight: 800; letter-spacing: .1em; }
.architecture-card.primary small { color: #096d55; }
.architecture-card h3 { margin: 18px 0 10px; font-size: 1.45rem; }
.architecture-card p { margin: 0; color: #9cacc0; font-size: .88rem; }
.architecture-card.primary p { color: #174a3e; }
.architecture-arrow { display: grid; place-items: center; color: #50647c; font-size: 1.5rem; }

.progress-layout {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 80px;
}
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: #42536a;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 21px; height: 21px;
  display: grid; place-items: center;
  color: var(--navy);
  background: var(--mint);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 900;
}
.status-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.status-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  margin-bottom: 28px;
}
.status-head small { color: var(--muted); font-weight: 800; letter-spacing: .12em; }
.status-head h3 { margin: 4px 0 0; font-size: 1.4rem; }
.status-pill {
  padding: 6px 11px;
  color: #087253;
  background: #ddfaef;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}
.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  margin: 18px 0;
  color: #4c5d72;
  font-size: .85rem;
}
.status-row strong { color: var(--ink); }
.status-row > div {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  background: #e2e8ee;
  border-radius: 999px;
}
.status-row i {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--mint-dark), var(--blue));
  border-radius: inherit;
}

.roadmap {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
}
.roadmap li {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.roadmap li.current {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}
.roadmap li > span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--mint-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.roadmap li.current > span { color: var(--mint); }
.roadmap strong { display: block; margin-bottom: 8px; line-height: 1.25; }
.roadmap small { color: var(--muted); }
.roadmap li.current small { color: #95a7bd; }

.early-access-section { background: #eefbf7; }
.early-access-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 80px;
}
.early-access-copy > p:not(.eyebrow) { color: var(--muted); }
.privacy-note {
  margin: 28px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--mint);
  font-size: .86rem;
}
.early-access-form {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #33465d;
  font-size: .84rem;
  font-weight: 800;
}
.form-field input {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cbd6e0;
  border-radius: 11px;
  outline: none;
}
.form-field input:focus {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(50,213,164,.18);
}
.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  color: #42536a;
  font-size: .86rem;
  cursor: pointer;
}
.consent-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--mint-dark);
}
.submit-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}
.submit-button:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}
.form-status {
  min-height: 1.65em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .86rem;
  text-align: center;
}
.form-status.success { color: #087253; }
.form-status.error { color: #b42318; }

.contact-section {
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(50,213,164,.14), transparent 35%),
    var(--navy);
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 70px;
}
.contact-card p:not(.eyebrow) { max-width: 760px; color: #aebbd0; }
.contact-actions { min-width: 230px; display: grid; gap: 18px; text-align: center; }
.text-link { color: var(--mint); font-weight: 750; }

footer { color: #9aabc0; background: #050c16; }
.footer-wrap {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-wrap p { margin: 0; font-size: .78rem; }

@media (max-width: 980px) {
  .hero-grid, .split-heading, .progress-layout, .early-access-card, .contact-card {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 50px; }
  .puzzle-card { justify-self: start; width: min(100%, 520px); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .architecture { grid-template-columns: 1fr; }
  .architecture-arrow { transform: rotate(90deg); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .trust-items { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .menu-button { display: inline-block; }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 14px;
    min-width: 220px;
    padding: 16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    background: #0c1a2d;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding: 62px 0 72px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.3rem); }
  .hero-metrics { gap: 20px; }
  .section { padding: 80px 0; }
  .early-access-form { padding: 24px 20px; }
  .feature-grid, .roadmap { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .footer-wrap { padding: 34px 0; align-items: flex-start; flex-direction: column; }
  .brand small { display: none; }
}
