:root {
  color-scheme: light;
  --navy: #183550;
  --ink: #243e56;
  --muted: #607587;
  --cream: #fbfaf5;
  --surface: #fffefa;
  --line: #e5dfd3;
  --coral: #d96d52;
  --coral-soft: #fbe9e2;
  --green: #2f7258;
}

* { box-sizing: border-box; }

html {
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.72 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
}

.hero {
  padding: calc(32px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 34px max(20px, env(safe-area-inset-left));
  background: linear-gradient(145deg, #102b46, var(--navy));
  color: white;
}

.eyebrow,
.kicker {
  margin: 0 0 7px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #f0b4a3; }

h1,
h2,
p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  font-size: clamp(34px, 10vw, 54px);
  line-height: 1.2;
  letter-spacing: -.02em;
}

h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(22px, 6.2vw, 30px);
  line-height: 1.35;
}

.lead {
  max-width: 640px;
  margin: 17px 0 0;
  color: #dce7ef;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-badges span {
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  background: rgb(255 255 255 / 9%);
  font-size: 13px;
  font-weight: 750;
}

main {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 18px max(14px, env(safe-area-inset-right)) 34px max(14px, env(safe-area-inset-left));
}

.card,
.notice {
  margin: 0 0 14px;
  padding: 21px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 7px 22px rgb(35 54 71 / 7%);
}

.card > p:not(.kicker) { margin: 0 0 14px; color: var(--muted); }

.check-list {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.image-link,
.image-grid a {
  display: block;
  min-height: 48px;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.image-link img,
.image-grid img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 9px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--cream);
}

.image-link > span,
.image-grid span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding-inline: 18px;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.stats div {
  min-width: 0;
  padding: 14px 9px;
  border-radius: 15px;
  background: #f4f1e9;
  text-align: center;
}

.stats strong,
.stats span { display: block; }
.stats strong { color: var(--navy); font-size: 23px; }
.stats span { margin-top: 3px; color: var(--muted); font-size: 12px; }

.facts { margin: 16px 0 0; }
.facts div { display: flex; gap: 12px; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--navy); font-weight: 800; text-align: right; }

.download {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 16px;
  border: 1px solid #c9d3dc;
  border-radius: 14px;
  background: white;
  color: var(--navy);
  text-decoration: none;
  font-weight: 850;
}

.download.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.notice {
  border-color: #efd2c9;
  background: var(--coral-soft);
  box-shadow: none;
}

.notice h2 { font-size: 19px; }
.notice p { margin: 0; color: #614b45; }

footer {
  padding: 24px max(18px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background: var(--navy);
  color: #dce7ef;
  text-align: center;
  font-size: 13px;
}

footer p { margin: 3px 0; }

@media (max-width: 370px) {
  .image-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
