:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5b6965;
  --paper: #fbf8f1;
  --panel: #fff;
  --line: #ddd5c6;
  --teal: #0b6762;
  --teal-dark: #084743;
  --amber: #efb65d;
  --blue: #2457c5;
  --coral: #d96f53;
  --shadow: 0 16px 44px rgba(23, 33, 31, 0.12);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
}

a { color: inherit; }

.pr {
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  background: #f1eadc;
  color: #5d5140;
  text-align: center;
  font-size: 13px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  color: #44514e;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover { background: #efe7d8; }

.hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #132a28;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(16, 32, 30, .90), rgba(16, 32, 30, .66) 38%, rgba(16, 32, 30, .16) 72%), var(--hero-image);
  background-size: cover;
  background-position: center right;
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 70px;
}

.eyebrow {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.10);
  color: #fff0d9;
  font-size: 13px;
  font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin: 24px 0 18px;
  color: #fffaf0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.12;
}

.hero p {
  max-width: 660px;
  color: #f5e9d8;
  font-size: clamp(16px, 2.1vw, 21px);
}

.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.24);
  color: #f6eadb;
  font-size: 13px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 26px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary {
  background: var(--amber);
  color: #24190b;
}

.button-secondary {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.09);
  color: #fffaf0;
}

.section {
  padding: 68px 0;
}

.band {
  background: #fffdf8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}

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

.grid {
  display: grid;
  gap: 16px;
}

.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(23, 33, 31, .07);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 1.2em;
}

.card li + li { margin-top: 8px; }

.score {
  padding: 28px;
  border-radius: 8px;
  background: #10312e;
  color: #fffaf0;
  box-shadow: var(--shadow);
}

.score strong {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.table {
  display: grid;
  gap: 0;
}

.table div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #eee6d8;
}

.table div:last-child { border-bottom: 0; }
.table dt { color: #675b4a; font-weight: 900; }
.table dd { margin: 0; color: #293632; }

.final-cta {
  padding: 58px 0;
  background: #102b28;
  color: #fffaf0;
}

.final-cta .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.final-cta h2 { color: #fffaf0; }
.final-cta p { color: #efe2d0; margin-bottom: 0; }

footer {
  padding: 34px 0 44px;
  color: #5b5144;
  background: #f1eadc;
  font-size: 13px;
}

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  display: none;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(16,43,40,.94);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}

.sticky-cta .button { width: 100%; }

@media (max-width: 820px) {
  body { padding-bottom: 76px; }
  .nav-inner { min-height: auto; padding: 10px 0; flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav-links { justify-content: flex-start; }
  .hero { min-height: 76vh; }
  .hero::before {
    background-image: linear-gradient(180deg, rgba(16,32,30,.91), rgba(16,32,30,.70) 46%, rgba(16,32,30,.20)), var(--hero-image);
    background-position: 68% center;
  }
  .hero-inner,
  .wrap,
  .nav-inner { width: min(100% - 28px, 720px); }
  .section { padding: 50px 0; }
  .three,
  .two,
  .split,
  .final-cta .wrap { grid-template-columns: 1fr; }
  .cta-row .button { width: 100%; }
  .table div { grid-template-columns: 1fr; gap: 2px; }
  .sticky-cta { display: block; }
}
