:root {
  color-scheme: light;
  --brand: #1f7a4a;
  --ink: #142b20;
  --muted: #435d4e;
  --paper: #f7f9f6;
  --tint: #eaf2eb;
  --line: #bacfc0;
  --focus: var(--brand);
  --caution: #fff0cf;
  --caution-ink: #4f3414;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #edf6ee;
    --muted: #c0d4c6;
    --paper: #121c17;
    --tint: #1a2a21;
    --line: #446151;
    --focus: #a8e3b5;
    --caution: #35291b;
    --caution-ink: #ffe4a7;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.85 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.35; }
h1 { margin: 0; font-size: clamp(2rem, 4.7vw, 3.65rem); }
h2 { margin: 0 0 20px; font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { margin: 0 0 10px; font-size: 1.1rem; }
p { margin: 0 0 16px; }
.wrap { width: min(100% - clamp(32px, 8vw, 96px), 1080px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 2; background: var(--paper); padding: 8px 14px; }
.skip:focus { top: 8px; }
.site-header, .footer { border-bottom: 1px solid var(--line); }
.header-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.header-inner nav { display: flex; flex-wrap: wrap; gap: 12px; font-size: .875rem; }
.header-inner nav a, .footer a { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: 5px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.hero { background: radial-gradient(ellipse at 90% 0%, #225c3d, transparent 64%), #103925; color: #f5fff6; }
.hero-grid, .detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(24px, 7vw, 96px); }
.hero-grid { padding-block: clamp(32px, 7vw, 80px); }
.hero h1 + p { max-width: 34em; margin: 20px 0 24px; color: #d9ede0; }
.headline-tail { white-space: nowrap; }
.status { display: inline-block; padding: 3px 12px; border: 1px solid #a8e3b5; border-radius: 20px; color: #c5f3cf; font-size: .85rem; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 16px; border-radius: 9px; background: #c6f1cc; color: #143624; font-weight: 700; text-decoration: none; }
.button:hover { background: #e1fae5; }
.hero a:focus-visible { outline-color: #fff; }
.screen { width: min(100%, 260px); margin: 0 auto; }
.screen img { width: 100%; border: 3px solid #101e17; border-radius: 20px; }
.screen figcaption { margin-top: 8px; text-align: center; font-size: .8rem; }
.section { padding-block: clamp(36px, 7vw, 76px); }
.features, .scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.features article, .scope li { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 16px; }
.features article p { margin: 0; color: var(--muted); }
.scope { list-style: none; padding: 0; margin: 20px 0; }
.tinted { background: var(--tint); }
.caution { background: var(--caution); color: var(--caution-ink); padding: 16px 20px; border-radius: 12px; }
.caution p { margin: 0; }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 44px; padding-block: 12px; cursor: pointer; font-weight: 650; }
details p { color: var(--muted); }
.contact-title { margin-top: 26px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--line); border-bottom: none; }
.policy { max-width: 760px; }
.policy h1 { margin-bottom: 20px; font-size: clamp(1.65rem, 4.5vw, 2.7rem); }
.policy h2 { margin-top: 28px; }
.policy dt { font-weight: 700; }
.policy dd { margin: 0 0 12px; color: var(--muted); }

@media (max-width: 740px) {
  .hero-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .features, .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 450px) {
  .features, .scope { grid-template-columns: minmax(0, 1fr); }
}
