:root {
  color-scheme: dark;
  --background: #101010;
  --ink: #ffffff;
  --muted: #e8e8e8;
  --primary: #f5f5f5;
  --primary-hover: #dedede;
  --secondary: #1c1c1c;
  --secondary-hover: #303030;
  --rule: #777777;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  isolation: isolate;
}

/* The photograph is decorative; the content remains in normal document flow. */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--background);
}

.backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 44%;
  filter: grayscale(1);
}

/* A minimum 60% black veil keeps light text readable even over white pixels. */
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 72%), rgb(0 0 0 / 60%) 55%, rgb(0 0 0 / 68%));
}

.page {
  width: min(100% - 40px, 31.25rem);
  margin-inline: auto;
  padding-block: 3rem 2rem;
}

.intro {
  margin-bottom: 2rem;
  text-align: center;
}

.intro::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  margin: 0 auto 1.25rem;
  background: #d2d2d2;
  border-radius: 2px;
}

h1 {
  margin: 0;
  font-family: inherit;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.descriptor {
  max-width: 24rem;
  margin: 0.875rem auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: balance;
}

.options {
  display: grid;
  gap: 1.75rem;
  min-width: 0;
}

.option {
  min-width: 0;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4.5rem;
  padding: 1.125rem 20px;
  border: 1px solid #999999;
  border-radius: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.button--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #111111;
}

.button--secondary {
  background: var(--secondary);
  color: #f5f5f5;
}

@media (hover: hover) {
  .button--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
  }

  .button--secondary:hover {
    background: var(--secondary-hover);
    border-color: #c4c4c4;
  }
}

.button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #111111;
}

.button:active {
  background: #cccccc;
  color: #111111;
}

.supporting-text {
  max-width: 25rem;
  margin: 0.875rem auto 0;
  padding-inline: 0.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.375rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.025em;
  text-align: center;
}

@media (min-width: 40rem) {
  .page {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: 3rem;
  }

  .intro {
    margin-bottom: 2.25rem;
  }
}

@media (forced-colors: active) {
  .backdrop {
    display: none;
  }

  .button {
    border: 2px solid LinkText;
  }

  .button:focus-visible {
    outline-color: Highlight;
  }
}
