:root {
  --ink: #172033;
  --muted: #5d687a;
  --line: #d8e1ea;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --teal: #0f766e;
  --green: #2f7d32;
  --purple: #6d28d9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  border-bottom: 1px solid rgba(216, 225, 234, 0.86);
  background: rgba(255, 255, 255, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  padding: 76px 0 64px;
  background:
    linear-gradient(90deg, rgba(23, 32, 51, 0.91), rgba(15, 118, 110, 0.73)),
    url("../route_tracker_home_ko.png") center right 18% / min(420px, 48vw) auto no-repeat,
    #172033;
  color: #ffffff;
}

.breadcrumb {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  text-decoration: none;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.22;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: 46px;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.store-badge img,
.play-badge img {
  display: block;
  width: auto;
  height: 54px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 0 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  font-weight: 800;
  text-decoration: none;
}

main section {
  padding: 56px 0;
}

main section:not(.hero):nth-child(odd) {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fact-card,
.answer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
}

.fact-card strong,
.answer-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}

.fact-card p,
.answer-card p {
  margin: 0;
  color: var(--muted);
}

.answer-card {
  border-left: 4px solid var(--teal);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.check-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-list summary {
  cursor: pointer;
  padding: 17px 19px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 19px 19px;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 780px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding: 120px 0 54px;
    background:
      linear-gradient(180deg, rgba(23, 32, 51, 0.92), rgba(15, 118, 110, 0.82)),
      #172033;
  }

  h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .fact-grid,
  .two-column {
    grid-template-columns: 1fr;
  }
}
