:root {
  color-scheme: light;
  --green: #16724a;
  --green-dark: #0d4f34;
  --mint: #e9f7ef;
  --ink: #17342a;
  --muted: #567067;
  --line: #cde2d7;
  --paper: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(145deg, #f8fcfa 0%, #eef8f2 48%, #fff8e8 100%);
  min-height: 100vh;
}

a { color: inherit; }

.topbar, main, footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: inline-flex; }
.brand img { display: block; max-width: 180px; height: auto; }

.demo-label {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgb(255 255 255 / 75%);
  font-size: .82rem;
  font-weight: 700;
}

main { padding: 42px 0 48px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1, h2 { margin-top: 0; line-height: 1.08; text-wrap: balance; }
h1 { margin-bottom: 20px; max-width: 760px; font-size: clamp(2.25rem, 6vw, 4.8rem); letter-spacing: -.055em; }
h2 { margin-bottom: 14px; font-size: clamp(1.45rem, 3vw, 2.2rem); letter-spacing: -.025em; }

.lead {
  max-width: 700px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 13px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.button.primary { color: white; background: var(--green); box-shadow: 0 10px 24px rgb(22 114 74 / 20%); }
.button.secondary { color: var(--green-dark); background: var(--paper); }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible, .demo-card:focus-visible, .brand:focus-visible { outline: 3px solid #f0a928; outline-offset: 3px; }
.button:disabled { border-color: #a9bbb3; color: #667a72; background: #e4ebe7; box-shadow: none; cursor: not-allowed; }

.status { margin: 12px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.ios-tip { padding: 12px 14px; border-left: 4px solid #f0a928; background: #fff8df; border-radius: 8px; }

.safety-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 22px 60px rgb(13 79 52 / 12%);
}

.safety-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.shield { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 15px; color: white; background: var(--green); font-size: 1.4rem; font-weight: 900; }

.demos { margin-top: clamp(64px, 10vw, 110px); }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.demo-card { display: flex; min-height: 118px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; flex-direction: column; justify-content: space-between; text-decoration: none; background: rgb(255 255 255 / 80%); transition: border-color .15s, transform .15s; }
.demo-card:hover { border-color: var(--green); transform: translateY(-2px); }
.demo-card span { font-size: 1.08rem; font-weight: 800; }
.demo-card small, .online-note { color: var(--muted); }
.online-note { margin: 14px 0 0; font-size: .88rem; }

footer { padding: 25px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  main { padding-top: 24px; }
  .safety-card { border-radius: 22px; }
}

@media (max-width: 430px) {
  .topbar, main, footer { width: min(100% - 22px, 1120px); }
  .demo-label { font-size: .72rem; }
  .brand img { max-width: 145px; }
  .actions, .button { width: 100%; }
  h1 { font-size: 2.35rem; }
}

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