:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.65;
  color: #18201b;
  background: #f6f8f6;
  --surface: #ffffff;
  --border: #dbe2dc;
  --text-muted: #5e6961;
  --accent: #17653a;
  --accent-dark: #104c2b;
  --soft: #edf7f0;
  --danger: #a52a23;
  --warn: #87620b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: #1458b0; text-underline-offset: 3px; }
.wrap { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: linear-gradient(180deg, #ecf7ef 0%, #f6f8f6 100%); border-bottom: 1px solid var(--border); }
.hero { padding: 54px 0 46px; }
h1, h2, h3 { line-height: 1.3; color: #121713; }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); letter-spacing: -.035em; margin: 6px 0 16px; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); margin: 0 0 14px; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }
p { margin: 8px 0; }
.lead { max-width: 800px; font-size: 1.06rem; color: #354039; }
.eyebrow { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.section { padding: 42px 0; border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.button { display: inline-block; width: 100%; margin-top: 22px; padding: 14px 18px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-size: 1rem; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--accent-dark); }
.button-secondary { width: auto; margin-top: 22px; padding-inline: 22px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
thead th { background: #f1f4f1; font-size: .9rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.fineprint { color: var(--text-muted); font-size: .9rem; margin-top: 14px; }
.source-row { font-size: .92rem; }
.explain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.explain-grid article { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 17px; }
.panel, .result-card, .summary-box, .notta-placeholder, .notta-answer, .trust-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.panel { padding: 22px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { min-width: 0; }
.field > label, .field > legend { font-weight: 750; display: block; margin-bottom: 8px; }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checks label, .option-row label { background: #f8faf8; border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px; }
input[type="number"] { width: 100%; padding: 11px 12px; border: 1px solid #b7c1b9; border-radius: 8px; background: #fff; font-size: 1rem; }
.option-row { display: flex; gap: 12px; flex-wrap: wrap; }
.full { grid-column: 1 / -1; }
.notice { margin: 16px 0 0; padding: 13px 14px; background: #fbfcfb; border: 1px dashed #aeb9b0; border-radius: 10px; color: var(--text-muted); font-size: .9rem; }
.warning { border-color: #c99d34; }
.notta-placeholder { padding: 18px; color: var(--text-muted); }
.notta-answer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 20px; border-left-width: 6px; margin-bottom: 28px; }
.notta-answer strong { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.notta-answer .eyebrow { flex-basis: 100%; }
.compare-title { margin-top: 28px; }
.summary-box { padding: 16px; margin-bottom: 14px; }
#results { display: grid; gap: 13px; }
.result-card { padding: 18px; border-left-width: 5px; }
.status-meets { border-left-color: var(--accent); }
.status-reject { border-left-color: var(--danger); }
.status-unknown { border-left-color: var(--warn); }
.result-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.result-head h3 { margin: 0 0 6px; font-size: 1.2rem; }
.badge { display: inline-block; padding: 3px 8px; border: 1px solid #cad2cc; border-radius: 999px; font-size: .8rem; background: #fafcfa; }
.price { font-weight: 850; white-space: nowrap; }
dl { margin: 14px 0; }
dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 8px; padding: 5px 0; }
dt { font-weight: 750; }
dd { margin: 0; }
.reasons, .plan-list { padding-left: 1.25rem; }
.plan-list span { color: var(--text-muted); font-size: .9rem; }
.plan-price { margin-left: .35rem; }
details { margin: 12px 0; }
summary { cursor: pointer; font-weight: 700; }
.source-link { display: inline-block; margin-top: 4px; }
.prose { max-width: 820px; }
.trust-box { padding: 24px; margin: 40px 0; }
.trust-box.section { border-bottom: 0; }
.footer { border-top: 1px solid var(--border); color: var(--text-muted); font-size: .86rem; }
.footer .wrap { padding: 20px 0 34px; }
@media (max-width: 720px) {
  .wrap { width: min(100% - 22px, 1040px); }
  .hero { padding: 36px 0 32px; }
  .section { padding: 32px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 4px; }
  .grid, .explain-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .panel { padding: 16px; }
  .result-head { flex-direction: column; }
  .price { white-space: normal; }
  dl > div { grid-template-columns: 1fr; gap: 0; }
  .button-secondary { width: 100%; }
}
