:root {
  color-scheme: light dark;
  --bg: #f5f8f5;
  --surface: #ffffff;
  --surface-muted: #e9f1ea;
  --text: #18301f;
  --muted: #596b5f;
  --border: #ccdbcf;
  --accent: #287a4a;
  --accent-strong: #1f633c;
  --button-primary: #287a4a;
  --button-primary-hover: #1f633c;
  --shadow: 0 20px 55px rgb(24 48 31 / 10%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101a14;
    --surface: #1b2a20;
    --surface-muted: #22372a;
    --text: #edf6ee;
    --muted: #b4c7b8;
    --border: #3a5542;
    --accent: #66cf87;
    --accent-strong: #91e3a5;
    --button-primary: #1f633c;
    --button-primary-hover: #184d30;
    --shadow: 0 20px 55px rgb(0 0 0 / 25%);
  }
}

* { box-sizing: border-box; }
html, body { min-width: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: var(--accent-strong); }
.site-shell { width: 100%; max-width: 1120px; min-width: 0; margin: 0 auto; padding-inline: 20px; }
.site-header { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.brand { display: inline-flex; min-width: 0; gap: 10px; align-items: center; color: var(--text); font-weight: 800; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand span { overflow-wrap: anywhere; }
.site-nav { display: flex; min-width: 0; flex-wrap: wrap; gap: 17px; align-items: center; justify-content: flex-end; font-size: 0.9rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent-strong); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; padding-block: 85px 100px; }
.hero > *, .trust-row > *, .grid-3 > * { min-width: 0; }
.eyebrow { margin: 0 0 12px; color: var(--accent-strong); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.1; }
h1 { max-width: 680px; margin: 0 0 22px; font-size: clamp(2.8rem, 7vw, 5.9rem); letter-spacing: -0.06em; }
h2 { margin: 0 0 14px; font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -0.035em; }
h3 { margin: 0 0 8px; font-size: 1.05rem; }
.lede { max-width: 560px; margin: 0 0 25px; overflow-wrap: anywhere; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; min-width: 0; flex-wrap: wrap; gap: 11px; align-items: center; }
.button { display: inline-flex; min-width: 0; min-height: 44px; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid var(--border); border-radius: 9px; font-weight: 750; text-align: center; text-wrap: balance; text-decoration: none; }
.button-primary { border-color: var(--button-primary); background: var(--button-primary); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: var(--button-primary-hover); }
.button-secondary { background: transparent; color: var(--text); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--surface-muted); }
.hero-visual { position: relative; min-width: 0; min-height: 350px; overflow: hidden; padding: 24px; border: 1px solid var(--border); border-radius: 25px; background: linear-gradient(145deg, var(--surface), var(--surface-muted)); box-shadow: var(--shadow); }
.browser-frame { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 10px 20px rgb(24 48 31 / 10%); }
.browser-bar { display: flex; gap: 6px; padding: 11px 13px; border-bottom: 1px solid var(--border); }
.browser-bar i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
.page-lines { display: grid; gap: 12px; padding: 22px; }
.page-lines span { display: block; height: 10px; border-radius: 6px; background: var(--surface-muted); }
.page-lines span:nth-child(1) { width: 68%; height: 28px; background: color-mix(in srgb, var(--accent) 35%, var(--surface-muted)); }
.page-lines span:nth-child(2) { width: 89%; }
.page-lines span:nth-child(3) { width: 74%; }
.page-lines span:nth-child(4) { width: 93%; margin-top: 18px; }
.page-lines span:nth-child(5) { width: 81%; }
.capture-frame { position: absolute; right: 14px; bottom: 15px; left: 14px; height: 42px; border: 2px solid var(--accent); border-radius: 10px; background: color-mix(in srgb, var(--surface) 86%, transparent); }
.capture-frame::after { position: absolute; right: 12px; top: 10px; content: "PNG"; color: var(--accent-strong); font-size: 0.72rem; font-weight: 800; }
.hero-mascot { position: absolute; z-index: 2; right: 16px; bottom: 4px; width: min(70%, 340px); height: auto; filter: drop-shadow(0 18px 18px rgb(24 48 31 / 20%)); pointer-events: none; }
.section { padding: 92px 0; border-top: 1px solid var(--border); }
.section-intro { max-width: 670px; margin-bottom: 32px; overflow-wrap: anywhere; color: var(--muted); font-size: 1.08rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.store-placeholder { margin-top: 16px; }
.card p { margin: 0; color: var(--muted); }
.number { display: inline-flex; width: 31px; height: 31px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 9px; background: var(--surface-muted); color: var(--accent-strong); font-weight: 850; }
.trust-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.trust-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.trust-list li { display: flex; gap: 10px; align-items: start; color: var(--muted); }
.trust-list li::before { content: "✓"; color: var(--accent-strong); font-weight: 850; }
.faq { display: grid; gap: 10px; }
details { padding: 17px 19px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
summary { cursor: pointer; font-weight: 730; }
details p { margin: 10px 0 0; color: var(--muted); }
.site-footer { display: flex; flex-wrap: wrap; gap: 15px 30px; justify-content: space-between; padding-block: 26px 35px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-links a { color: var(--muted); }
.legal-content { max-width: 760px; padding-block: 65px 90px; }
.legal-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.legal-content h2 { margin-top: 45px; font-size: 1.5rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content li { margin: 7px 0; }
.notice { padding: 16px; border-left: 4px solid var(--accent); background: var(--surface-muted); color: var(--text); }

@media (max-width: 800px) {
  .hero, .trust-row { grid-template-columns: 1fr; gap: 35px; }
  .hero { padding-block: 55px 70px; }
  .hero-visual { min-height: 285px; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 65px 0; }
}

@media (max-width: 520px) {
  .site-shell { width: 100%; padding-inline: 14px; }
  .site-header { display: grid; grid-template-columns: 1fr; align-items: start; gap: 12px; }
  .site-nav { width: 100%; justify-content: flex-start; gap: 8px 12px; }
  .site-nav a { overflow-wrap: anywhere; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-actions .button { width: 100%; }
  h1 { font-size: 3rem; }
  .hero-visual { width: 100%; overflow: hidden; padding: 14px; }
  .hero-mascot { right: 12px; bottom: 4px; width: 76%; }
}

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

[hidden] { display: none !important; }
/* A compact, stable footer shared by product and legal pages. */
.site-footer { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(190px, 1fr); align-items: start; gap: 28px; }
.footer-brand, .footer-links, .footer-reviews { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand strong { color: var(--text); }
.footer-brand span, .footer-brand small, .footer-reviews small { font-size: 12px; line-height: 1.5; }
.footer-links a, .footer-reviews a { padding-block: 3px; }
@media (max-width: 600px) { .site-footer { grid-template-columns: 1fr 1fr; gap: 24px 16px; } .footer-brand { grid-column: 1 / -1; } }

.product-preview { margin: 28px 0 0; }
.product-preview img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.product-preview figcaption { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.legal-content code { overflow-wrap: anywhere; }
