:root {
  color-scheme: light;
  --background: hsla(36, 26%, 96%, 1);
  --background-warm: hsla(22, 35%, 95%, 1);
  --card: hsla(0, 0%, 100%, 1);
  --text: hsla(22, 100%, 14%, 1);
  --text-secondary: hsla(37, 5%, 25%, 1);
  --text-muted: hsla(37, 5%, 40%, 1);
  --border: hsla(0, 0%, 0%, 0.06);
  --button: hsla(47, 100%, 50%, 1);
  --button-hover: hsla(47, 100%, 46%, 1);
  --focus: hsla(193, 77%, 43%, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(
      circle at 50% 18%,
      hsla(22, 35%, 91%, 0.7),
      transparent 34rem
    ),
    linear-gradient(180deg, var(--background), var(--background-warm));
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  display: grid;
  min-height: calc(100svh - 4.75rem);
  place-items: center;
  padding: 2rem 1rem 1.25rem;
  text-wrap: balance;
}

.identity-card {
  display: grid;
  width: min(100%, 31.5rem);
  justify-items: center;
  gap: 1.5rem;
  padding: clamp(2rem, 7vw, 3.25rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 0.05rem 4rem hsla(22, 100%, 14%, 0.04);
  text-align: center;
}

.peels-logo {
  display: block;
  color: var(--text);
}

h1,
p {
  margin: 0;
}

.copy {
  display: grid;
  gap: 0.875rem;
  max-width: 25rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.58;
}

.lead {
  color: var(--text);
  font-size: clamp(1.35rem, 3.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.primary-link,
.secondary-link {
  border-radius: 0.75rem;
  text-decoration: none;
  transition:
    background 150ms ease-in-out,
    color 150ms ease-in-out,
    transform 150ms ease-in-out;
}

.primary-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  background: var(--button);
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}

.primary-link:hover {
  background: var(--button-hover);
  transform: translateY(-1px);
}

.secondary-link {
  color: var(--text-muted);
  font-weight: 650;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: hsla(37, 5%, 40%, 0.25);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.secondary-link:hover {
  color: var(--text);
}

.primary-link:focus-visible,
.secondary-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

footer {
  min-height: 4.75rem;
  padding: 0 1rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 30rem) {
  .page-shell {
    min-height: calc(100svh - 4.25rem);
    padding: 1rem;
  }

  .identity-card {
    gap: 1.25rem;
    padding: 1.75rem 1.25rem;
  }

  .primary-link {
    width: 100%;
  }

  footer {
    min-height: 4.25rem;
  }
}
