:root {
  --navy: #0b1c4a;
  --navy-deep: #061233;
  --yellow: #ffd400;
  --yellow-hot: #ffe566;
  --red: #e10600;
  --ink: #1a1a1a;
  --muted: #5a6472;
  --line: #e6e9ef;
  --bg: #f7f8fb;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(6, 18, 51, 0.12);
  --radius: 14px;
  --font: "Segoe UI", "Trebuchet MS", "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #174ea6; text-decoration: none; }
a:hover { text-decoration: underline; }
.container {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.875rem;
  padding: 0.45rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: var(--navy); font-weight: 600; }

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 148px;
  height: auto;
}
.brand-text {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.brand-text span { color: #2b6bff; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.nav a {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(180deg, #ff4d4d, var(--red));
  color: var(--white);
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.28);
}
.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(255, 212, 0, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
}

.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,212,0,0.18), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(80,120,255,0.25), transparent 35%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, #15275f);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 18px;
  background: var(--yellow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 3.5rem;
}
.eyebrow {
  display: inline-block;
  background: rgba(255,212,0,0.16);
  color: var(--yellow);
  border: 1px solid rgba(255,212,0,0.35);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0.85rem 0 0.75rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 38rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-visual img {
  width: min(420px, 100%);
  filter: drop-shadow(0 18px 35px rgba(0,0,0,0.35));
}
.hero-badge {
  position: absolute;
  left: 8%;
  bottom: 8%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.section {
  padding: 3rem 0;
}
.section-title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
}
.section-lead {
  color: var(--muted);
  max-width: 46rem;
  margin: 0 0 1.5rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 4px 14px rgba(11, 28, 74, 0.04);
}
.card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.05rem;
}
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 1rem; }
.panel h2, .panel h3 { color: var(--navy); }
.steps {
  margin: 0;
  padding-left: 1.2rem;
}
.steps li { margin: 0.45rem 0; }

.notice {
  background: #fff8db;
  border: 1px solid #f0d76a;
  color: #5c4b00;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.notice strong { color: var(--navy); }

.download-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.download-box {
  background: linear-gradient(180deg, #fff, #f4f7ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.download-box h3 { margin-top: 0; color: var(--navy); }
.meta-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--line);
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0.6rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
.faq p { margin: 0.65rem 0 0; color: var(--muted); }

.site-footer {
  /* lighter footer so original dark “M” logo stays readable — no white plate */
  background: #e8edf5;
  color: #334155;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid #d5dde8;
}
.site-footer img[src*="logo"] {
  width: 148px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer a { color: #0b3d91; }
.site-footer a:hover { color: var(--red); }
.site-footer h3 {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: 1rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li { margin: 0.35rem 0; }
.copyright {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #d5dde8;
  font-size: 0.85rem;
  color: #64748b;
}
.copyright a { color: #0b3d91; }

.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 2.4rem 0 2rem;
}
.page-hero h1 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.page-hero p {
  margin: 0;
  max-width: 44rem;
  color: rgba(255,255,255,0.86);
}

.prose h2 {
  color: var(--navy);
  margin-top: 1.8rem;
}
.prose h3 { color: var(--navy); }
.prose p, .prose li { color: #333; }

html { -webkit-text-size-adjust: 100%; }
body { -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; }
img { content-visibility: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 900px) {
  .hero-grid,
  .card-grid,
  .download-boxes,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav { display: none; }
  .nav-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.75rem 0 1rem;
  }
  .nav-mobile a {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
  }
  .box-shadow, .card { box-shadow: none; }
}
@media (min-width: 901px) {
  .nav-mobile { display: none; }
}
