:root {
  color-scheme: dark;
  --bg: #080a0f;
  --surface: #11141b;
  --text: #f4f6f8;
  --muted: #9aa4b2;
  --line: #2a303b;
}

* { box-sizing: border-box; min-width: 0; }

html {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow: visible;
  place-items: center;
  place-items: safe center;
  padding:
    max(20px, env(safe-area-inset-top, 0px))
    max(20px, env(safe-area-inset-right, 0px))
    max(20px, env(safe-area-inset-bottom, 0px))
    max(20px, env(safe-area-inset-left, 0px));
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  touch-action: pan-y;
}

main {
  width: min(360px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgb(0 0 0 / 18%);
}

.mark {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--text);
  color: var(--surface);
  font-size: 16px;
  font-weight: 850;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: 28px; line-height: 1.08; letter-spacing: -.035em; }
.description { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

a {
  display: grid;
  min-height: 48px;
  margin-top: 24px;
  place-items: center;
  border-radius: 12px;
  background: var(--text);
  color: var(--surface);
  font-weight: 800;
  text-decoration: none;
  touch-action: manipulation;
}

a:focus-visible { outline: 3px solid var(--line); outline-offset: 3px; }
small { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.45; text-align: center; }

@media (max-height: 520px) {
  body { place-items: start center; }
}

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