:root {
  --ink: #17252b;
  --muted: #5d6d74;
  --paper: #f4f1e8;
  --card: #fffdf8;
  --line: #d5d4cc;
  --navy: #17324d;
  --teal: #087c76;
  --soft: #dcefeb;
  --warn: #f5dfdd;
  --pass: #e0efe7;
  --amber: #ad631f;
  --shadow: 0 18px 45px rgba(23, 50, 77, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { padding: 17px 0; border-bottom: 1px solid var(--line); background: rgba(255,253,248,.96); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 760; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--teal); }
.internal-banner { padding: 8px 16px; color: #fff; background: #8a3931; text-align: center; font-weight: 850; }
.hero {
  padding: 72px 0 64px;
  color: #fff;
  background: radial-gradient(circle at 88% 10%, rgba(8,124,118,.9), transparent 32%), linear-gradient(135deg,var(--navy),#234b61 70%,#0b6968);
}
.hero-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr); gap: 42px; align-items: end; }
.eyebrow { font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.eyebrow.dark { color: var(--teal); }
h1, h2, h3 { margin-top: 0; }
h1 { max-width: 850px; margin: 10px 0 18px; font-size: clamp(38px,6vw,68px); line-height: 1.08; letter-spacing: -.04em; }
.lead { max-width: 770px; margin: 0; color: rgba(255,255,255,.84); font-size: 18px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.hero-tags span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 750; }
.hero-note { padding: 24px; border: 1px solid rgba(255,255,255,.24); border-radius: 18px; background: rgba(255,255,255,.1); }
.hero-note strong { display: block; margin-bottom: 8px; font-size: 18px; }
.hero-note p { margin: 0; color: rgba(255,255,255,.8); }
.section { padding: 66px 0; }
.section.tint { background: rgba(255,255,255,.55); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.section-head h2, .privacy-box h2 { margin: 5px 0 0; color: var(--navy); font-size: clamp(28px,4vw,42px); line-height: 1.2; }
.section-head > p { max-width: 440px; margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.card-topline { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.product-card h3 { min-height: 64px; margin-bottom: 12px; color: var(--navy); font-size: 25px; line-height: 1.25; }
.one-liner { min-height: 106px; margin: 0; color: var(--muted); }
dl { margin: 20px 0; border-top: 1px solid var(--line); }
dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: 12px; font-weight: 900; }
dd { margin: 2px 0 0; font-size: 14px; font-weight: 720; }
.signal { min-height: 91px; padding: 14px; border-radius: 12px; background: var(--warn); font-size: 13px; }
.signal b, .signal span { display: block; }
.signal b { margin-bottom: 4px; color: #8a3931; }
.price-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 10px; margin: 20px 0; }
.price-row span, .price-row small { color: var(--muted); font-size: 12px; }
.price-row b { grid-row: 1/3; grid-column: 2; color: var(--navy); font-size: 28px; line-height: 1; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 17px; border: 0; border-radius: 10px; color: #fff; background: var(--teal); font-weight: 850; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover, .button:focus-visible { background: #05665f; outline: 3px solid rgba(8,124,118,.22); outline-offset: 3px; }
.button:disabled { opacity: .58; cursor: not-allowed; }
.button.secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.rules-grid, .grid, .steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card, .step, .price-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.card p, .step p, .muted { color: var(--muted); }
.warning { background: var(--warn); }
.pass { background: var(--pass); }
.notice { padding: 14px; border-left: 4px solid var(--amber); background: #faecd9; }
.two { grid-template-columns: repeat(2,1fr); }
.privacy-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; padding: 32px; border: 1px solid #b8d7d2; border-radius: 18px; background: var(--soft); }
.privacy-box p { margin: 0; color: #38545a; }
.product-hero { padding: 58px 0; color: #fff; background: linear-gradient(135deg,var(--navy),#285268 62%,var(--teal)); }
.product-hero h1 { font-size: clamp(34px,5.5vw,60px); }
.product-hero p { max-width: 800px; color: rgba(255,255,255,.82); }
.product-main .section { padding: 38px 0; }
.product-main .section:nth-child(odd) { background: rgba(255,255,255,.55); }
.price-card { border: 2px solid var(--teal); background: linear-gradient(135deg,#fff,var(--soft)); }
.price-large { display: block; color: var(--navy); font-size: 42px; font-weight: 900; }
.cta-section { color: #fff; background: var(--navy) !important; }
.cta-section h2 { color: #fff; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.small { font-size: 12px; }
.site-footer { padding: 24px 0; color: rgba(255,255,255,.74); background: var(--navy); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }
.footer-row a { color: #fff; }
dialog { width: min(680px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 20px; color: var(--ink); background: var(--card); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(9,24,35,.72); }
.dialog-body { padding: 26px; }
.dialog-head { display: flex; justify-content: space-between; gap: 18px; }
.dialog-head h2 { margin-bottom: 8px; }
.dialog-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.confirm-box { padding: 16px; border-radius: 14px; background: var(--soft); }
.confirm-price { display: block; color: var(--navy); font-size: 28px; font-weight: 900; }
.question { margin: 24px 0 0; padding: 0; border: 0; }
.question legend { margin-bottom: 10px; font-weight: 900; }
.options { display: grid; gap: 8px; }
.option { display: flex; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.dialog-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.dialog-actions .button:disabled { opacity: .55; cursor: not-allowed; }
.submit-result { margin: 16px 0 0; padding: 12px; border-radius: 10px; background: var(--pass); font-weight: 750; }
.privacy-list { display: grid; gap: 18px; margin: 28px 0; }
.privacy-list article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.privacy-list h2 { margin-bottom: 8px; color: var(--navy); font-size: 22px; }
.privacy-list p, .privacy-list ul { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero-grid, .privacy-box { grid-template-columns: 1fr; }
  .product-grid, .rules-grid, .grid, .steps { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .product-card h3, .one-liner { min-height: 0; }
  .section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px,1120px); }
  .header-row, .footer-row { align-items: flex-start; flex-direction: column; }
  .nav { gap: 13px; font-size: 13px; }
  .hero { padding: 48px 0; }
  .hero-grid { gap: 28px; }
  h1 { font-size: 39px; }
  .lead { font-size: 16px; }
  .section { padding: 48px 0; }
  .product-card { padding: 20px; }
  .price-row b { font-size: 25px; }
  .privacy-box { padding: 24px; }
  .section-head h2, .privacy-box h2 { font-size: 30px; }
  .dialog-body { padding: 20px; }
  .dialog-actions { align-items: stretch; flex-direction: column; }
}
