/* /korean-dmv-prep/ product page only. Policy pages keep styles.css. */
:root {
  color-scheme: light;
  --paper: #f3f6fb;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #3e4c63;
  --blue: #1d4ed8;
  --blue-strong: #1e3a8a;
  --blue-soft: #e7efff;
  --amber: #f5c442;
  --amber-soft: #fff6d8;
  --edge: #d5deee;
  --focus: #1d4ed8;
  --wrap: 1120px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html:not(.lang-ko) [data-lang="ko"],
.lang-ko [data-lang="en"] { display: none !important; }

html { scroll-padding-top: calc(var(--header-h) + 16px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff 0, #fff 72px, var(--paper) 72px);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; }
a { color: var(--blue-strong); text-underline-offset: 0.18em; }
a:hover { color: var(--blue); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--edge);
}
@supports (backdrop-filter: blur(10px)) {
  .top { backdrop-filter: blur(10px); }
}
.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  min-height: var(--header-h);
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.brand img { border-radius: 8px; }
.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-left: auto;
}
.top-nav a {
  color: var(--ink);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
}
.top-nav a:hover { color: var(--blue); }
.lang-switch {
  display: flex;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: #fff;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.hero { padding: 48px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue-strong);
  font-size: 0.92rem;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--amber);
  transform: rotate(45deg);
  border-radius: 2px;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.35rem); max-width: 14em; }
.lead { margin-top: 16px; max-width: 38em; color: var(--muted); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-strong); color: #fff; }
.btn-quiet { background: #fff; color: var(--ink); border: 1px solid var(--edge); }
.btn-quiet:hover { border-color: var(--blue); color: var(--blue-strong); }
.hero-meta, .fine { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }
.notice {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--amber-soft);
  border-radius: 14px;
  max-width: 40em;
}
.state-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.state-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--edge);
  border-left: 4px solid var(--amber);
  border-radius: 12px;
}
.state-list b { color: var(--blue-strong); }

.hero-visual { display: grid; justify-items: center; gap: 10px; }
.hero-visual .device { width: min(320px, 100%); }
.sample-tag { color: var(--muted); font-size: 0.88rem; text-align: center; }

.device {
  width: min(280px, 100%);
  padding: 10px;
  background: #172033;
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(23, 32, 51, 0.14);
}
.device img { border-radius: 22px; }

.section { padding: 64px 0; }
.section-head { max-width: 44em; margin-bottom: 28px; }
.kicker {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-head h2 { margin-top: 8px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { margin-top: 10px; color: var(--muted); }

.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  align-items: center;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 24px;
}
.step:nth-child(even) .device { order: -1; }
.step-note { grid-template-columns: 1fr; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
.step h3 { font-size: 1.35rem; }
.step p { margin-top: 8px; color: var(--muted); }
.step-links { margin-top: 12px; font-weight: 700; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature, .showcase, .scope-card, .store, .faq-item {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 22px;
}
.feature { padding: 22px; }
.feature h3, .showcase h3, .scope-card h3, .faq-item h3 { font-size: 1.2rem; }
.feature p, .showcase p, .scope-card p, .faq-item p { margin-top: 8px; color: var(--muted); }
.feature a { display: inline-block; margin-top: 12px; font-weight: 800; }

.showcases { display: grid; gap: 22px; margin-top: 22px; }
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 24px;
  align-items: center;
  padding: 22px;
}
.showcase:nth-child(even) .device { order: -1; }

.scope-grid, .faq-list, .store-grid {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scope-grid { grid-template-columns: 1fr 1fr; }
.scope-card, .faq-item, .store { padding: 20px; }
.scope-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.scope-card header span { color: var(--blue); font-weight: 800; }
.links { margin-top: 12px; }
.links a { display: inline-block; margin: 4px 12px 0 0; }

.faq-list { grid-template-columns: 1fr; }
.download { background: #fff; border-block: 1px solid var(--edge); }
.store-grid { grid-template-columns: 1fr 1fr; }
.store h3 { font-size: 1.25rem; }
.store .btn { margin-top: 16px; }
.price { margin-top: 8px; font-weight: 800; color: var(--ink); }

.foot { padding: 42px 0 56px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.foot-brand img { border-radius: 7px; }
.foot p { margin-top: 8px; color: var(--muted); }
.foot-nav { display: grid; align-content: start; gap: 8px; }
.foot-nav a { font-weight: 700; }
.foot-notes { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--edge); }
.foot-notes p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 860px) {
  .hero-grid, .step, .showcase, .feature-grid, .scope-grid, .store-grid, .foot-grid {
    grid-template-columns: 1fr;
  }
  .step:nth-child(even) .device, .showcase:nth-child(even) .device { order: 0; }
  .top-nav { order: 3; width: 100%; margin-left: 0; }
  .lang-switch { margin-left: auto; }
  .hero { padding-top: 28px; }
  .device, .hero-visual .device { width: min(300px, 100%); margin-inline: auto; }
}

@media (max-width: 420px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .actions .btn { width: 100%; }
  .lang-switch a { padding-inline: 10px; }
}
