:root {
  color-scheme: dark;
  --bg: #0f1429;
  --bg-soft: #171d38;
  --paper: #fff8f5;
  --paper-soft: #f5edef;
  --text: #fffaf2;
  --ink: #11172f;
  --muted: #c8cee7;
  --muted-dark: #6d7188;
  --line: rgb(255 255 255 / 14%);
  --gold: #f2b75d;
  --rose: #ef8d8d;
  --blue: #8ba5ff;
  --shadow: 0 24px 80px rgb(0 0 0 / 32%);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 18% 14%, rgb(139 165 255 / 20%), transparent 30rem),
    radial-gradient(circle at 80% 4%, rgb(242 183 93 / 16%), transparent 28rem),
    linear-gradient(180deg, #0b1024 0%, var(--bg) 42%, #13101d 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgb(255 255 255 / 52%) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgb(255 255 255 / 18%) 0 1px, transparent 1.5px);
  background-position:
    0 0,
    30px 46px;
  background-size:
    120px 120px,
    180px 180px;
  opacity: 0.35;
}

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

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

h1,
h2,
p,
figure {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 900;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 24%);
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: 44px;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 42px 0 76px;
}

.hero-copy {
  max-width: 520px;
}

.app-logo {
  width: 132px;
  height: 132px;
  margin-bottom: 26px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  font-size: 5.4rem;
  line-height: 0.98;
}

h2 {
  font-size: 3.6rem;
  line-height: 1.08;
}

.hero-copy > p:not(.eyebrow),
.feature-text p:not(.step),
.closing p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  word-break: keep-all;
}

.hero-banner {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.hero-banner img {
  width: 100%;
  height: auto;
}

.section,
.feature-showcase {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-showcase {
  display: grid;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 92px;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 420px);
  align-items: center;
  gap: 54px;
  min-height: 680px;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgb(255 248 245 / 98%), rgb(245 237 239 / 94%));
  color: var(--ink);
  box-shadow: var(--shadow);
}

.feature-panel.reverse {
  grid-template-columns: minmax(280px, 420px) minmax(0, 0.95fr);
}

.feature-panel.reverse .feature-text {
  order: 2;
}

.feature-panel.reverse .phone-shot {
  order: 1;
}

.feature-text {
  max-width: 560px;
}

.step {
  width: max-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #192044;
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 900;
}

.feature-text h2 {
  margin-bottom: 20px;
  color: #121830;
}

.feature-text p:not(.step) {
  color: var(--muted-dark);
}

.phone-shot {
  justify-self: center;
  width: min(100%, 390px);
  max-height: 620px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--paper-soft);
  box-shadow: 0 24px 70px rgb(17 23 47 / 22%);
}

.phone-shot img {
  width: 100%;
  height: auto;
}

.closing {
  display: grid;
  justify-items: center;
  padding: 92px 0 104px;
  text-align: center;
}

.closing img {
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.closing h2 {
  max-width: 820px;
  margin-bottom: 20px;
}

.closing p {
  max-width: 680px;
  margin-bottom: 30px;
}

.site-footer {
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 900;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 30px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-banner {
    max-width: 760px;
  }

  .feature-panel,
  .feature-panel.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px;
  }

  .feature-panel.reverse .feature-text,
  .feature-panel.reverse .phone-shot {
    order: initial;
  }

  .phone-shot {
    width: min(100%, 360px);
    max-height: 560px;
  }
}

@media (max-width: 680px) {
  .site-header {
    display: flex;
    width: min(calc(100% - 28px), 1180px);
    padding: 12px 0;
  }

  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero,
  .section,
  .feature-showcase,
  .site-footer {
    width: min(calc(100% - 28px), 1180px);
  }

  .hero {
    gap: 28px;
    padding-top: 26px;
    padding-bottom: 54px;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
  }

  .app-logo {
    width: 92px;
    height: 92px;
    margin: 0 auto 20px;
    border-radius: 22px;
  }

  h1 {
    font-size: 2.7rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 2.35rem;
    line-height: 1.12;
  }

  .hero-copy > p:not(.eyebrow),
  .feature-text p:not(.step),
  .closing p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-banner {
    display: none;
  }

  .feature-showcase {
    gap: 18px;
    padding-top: 10px;
    padding-bottom: 64px;
  }

  .feature-panel {
    gap: 30px;
    padding: 26px 20px;
    border-radius: 20px;
  }

  .feature-text {
    max-width: none;
  }

  .step {
    margin-bottom: 14px;
  }

  .phone-shot {
    width: min(100%, 310px);
    max-height: none;
    aspect-ratio: 1284 / 1900;
    border-radius: 24px;
  }

  .phone-shot img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .closing {
    padding: 68px 0 78px;
  }

  .site-footer {
    display: block;
  }

  .site-footer span {
    display: block;
  }

  .site-footer span + span {
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .feature-panel {
    padding: 22px 16px;
  }

  .phone-shot {
    width: min(100%, 292px);
  }
}
