:root {
  color-scheme: light dark;
  --background: #f7f6f2;
  --surface: #ffffff;
  --text: #1e2521;
  --muted: #53605a;
  --link: #235b44;
  --action: #235b44;
  --focus: #b54a15;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  background: var(--background);
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

main {
  background: var(--surface);
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 8%);
  margin: clamp(1rem, 8vh, 5rem) auto;
  max-width: 40rem;
  padding: clamp(1.25rem, 5vw, 3rem);
  width: min(40rem, calc(100% - 2rem));
}

.eyebrow { color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.muted { color: var(--muted); }

.sandbox { border-left: .25rem solid var(--focus); margin-top: 1.5rem; padding-left: 1rem; }

code { background: color-mix(in srgb, var(--muted) 14%, transparent); border-radius: .25rem; padding: .15rem .35rem; }

a { color: var(--link); overflow-wrap: anywhere; }

label { display: block; font-weight: 700; margin-block: 1.5rem .5rem; }

input, button { border-radius: .5rem; font: inherit; padding: .75rem; }

input { border: 1px solid var(--muted); width: 100%; }

button { background: var(--action); border: 0; color: #fff; cursor: pointer; font-weight: 700; margin-top: 1.5rem; }
button:disabled { cursor: not-allowed; opacity: .7; }

.secondary-action { margin-top: .75rem; }
.secondary { background: transparent; border: 1px solid currentColor; color: var(--link); margin-top: 0; }
.compact-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.next-steps { align-items: flex-start; display: flex; flex-direction: column; gap: 1rem; list-style: none; margin-top: 2rem; padding: 0; }
.button-link { background: var(--action); border-radius: .5rem; color: #fff; display: inline-block; font-weight: 700; padding: .75rem 1rem; text-decoration: none; }

.demo-video { background: #12211a; border-radius: .75rem; display: block; height: auto; margin-top: 1rem; width: 100%; }

:focus-visible { outline: .2rem solid var(--focus); outline-offset: .2rem; }

@media (prefers-reduced-motion: no-preference) {
  button { transition: filter 120ms ease; }
  button:hover { filter: brightness(1.1); }
}

@media (prefers-color-scheme: dark) {
  :root { --background: #111512; --surface: #1b211d; --text: #eef5f0; --muted: #b1beb6; --link: #62b890; --action: #337859; }
}

@media (forced-colors: active) {
  button, .button-link { border: 1px solid ButtonText; }
}
