:root {
  color-scheme: light;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
  background: #edf0ed;
  color: #343b32;
  -webkit-tap-highlight-color: transparent;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
}

html[data-state="yes"] {
  background: #00d58a;
  color: #effbf6;
}

html[data-state="no"] {
  background: #ff527c;
  color: #fff3f4;
}

main {
  display: grid;
  place-content: center;
  min-height: 100svh;
  padding: 2rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 18vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

footer {
  position: fixed;
  inset-inline: 0;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

noscript { max-width: 30ch; line-height: 1.5; }
::selection { background: #022c22; color: #edf0ed; }
html[data-state="no"] ::selection { background: #2d0808; color: #edf0ed; }
