:root {
  color-scheme: light dark;
  --bg: #f5f1e9;
  --bg-accent: #e3eee7;
  --surface: #fffdf9;
  --surface-soft: #edf5f0;
  --text: #103b32;
  --muted: #4b625c;
  --border: #cbd9d1;
  --primary: #154b3f;
  --primary-strong: #0d382f;
  --accent: #3ca77e;
  --shadow: 0 18px 42px rgba(16, 59, 50, 0.12);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #061c17;
  --bg-accent: #0d2b24;
  --surface: #11352d;
  --surface-soft: #17453a;
  --text: #effaf5;
  --muted: #bfd3ca;
  --border: #416a5f;
  --primary: #bce7d4;
  --primary-strong: #d9f3e8;
  --accent: #5fd0a2;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #061c17;
    --bg-accent: #0d2b24;
    --surface: #11352d;
    --surface-soft: #17453a;
    --text: #effaf5;
    --muted: #bfd3ca;
    --border: #416a5f;
    --primary: #bce7d4;
    --primary-strong: #d9f3e8;
    --accent: #5fd0a2;
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 30; padding: 10px 14px; background: var(--surface); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.product-hero { display: grid; min-height: calc(100svh - 76px); padding: 88px 0 64px; align-items: center; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; max-width: 780px; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -.04em; }
.lead { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--border); border-radius: 999px; font-weight: 750; text-decoration: none; }
.button.primary { background: var(--primary); border-color: var(--primary); color: var(--bg); }
.button.secondary { background: var(--surface); }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero-panel { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.hero-art {
  display: block;
  width: 100%;
  height: clamp(360px, 29vw, 460px);
  object-fit: cover;
  object-position: center;
  border-radius: 42% 58% 45% 55% / 22% 26% 34% 38%;
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] .hero-art { mix-blend-mode: normal; opacity: .9; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-art { mix-blend-mode: normal; opacity: .9; }
}
.hero-panel h2 { margin-top: 0; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.check-list li::before { content: ""; width: 8px; height: 8px; margin-top: .65em; border-radius: 50%; background: var(--accent); }
.section { padding: 56px 0; }
.section.alt { background: color-mix(in srgb, var(--surface) 62%, transparent); border-block: 1px solid var(--border); }
.section-heading { max-width: 720px; margin-bottom: 28px; }
.section-heading h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-heading p, .card p, .notice p { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.card h3 { margin: 0 0 8px; }
.steps { counter-reset: steps; }
.steps .card { position: relative; padding-top: 66px; }
.steps .card::before { counter-increment: steps; content: counter(steps); position: absolute; top: 20px; left: 24px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--primary); font-weight: 800; }
.notice { padding: 24px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 16px 16px 0; }
.notice h2 { margin-top: 0; }
.center-cta { text-align: center; padding: 68px 20px; }
.center-cta h2 { margin: 0 auto 12px; max-width: 720px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.center-cta p { max-width: 680px; margin: 0 auto; color: var(--muted); }
.center-cta .actions { justify-content: center; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(400px, .8fr); }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 759px) {
  .product-hero { padding: 60px 0 42px; }
  .product-hero { min-height: auto; }
  .hero-art {
    height: clamp(320px, 78vw, 440px);
    margin-top: 18px;
    border-radius: 42% 58% 46% 54% / 24% 28% 36% 40%;
  }
  .section { padding: 42px 0; }
  .hero-panel, .card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
