:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
  --background: #f6f7f8;
  --surface: #ffffff;
  --text: #111537;
  --secondary: #575a70;
  --accent: #1890ff;
  --border: rgba(0, 39, 102, 0.1);
  --shadow: rgba(17, 21, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(24, 144, 255, 0.11), transparent 42rem),
    var(--background);
  color: var(--text);
}

.shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
}

.card {
  width: min(100%, 36rem);
  padding: clamp(1.5rem, 7vw, 3.5rem);
  overflow-wrap: anywhere;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: 0 1.25rem 4rem var(--shadow);
}

.brand {
  margin: 0;
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accent {
  width: 3rem;
  height: 0.375rem;
  margin: 1.25rem 0 1.5rem;
  background: var(--accent);
  border-radius: 999px;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 4.75rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.message {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--secondary);
  font-size: clamp(1rem, 3vw, 1.125rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.note {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  color: var(--secondary);
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111111;
    --surface: #1b1b1b;
    --text: #f6f7f8;
    --secondary: #b6b8c5;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: rgba(0, 0, 0, 0.32);
  }

  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(24, 144, 255, 0.17), transparent 42rem),
      var(--background);
  }
}

@media (prefers-contrast: more) {
  .card {
    border-width: 2px;
  }
}

@media (max-width: 24rem) {
  .card {
    border-radius: 1.5rem;
  }
}
