:root {
  color-scheme: light;
  --petrol: #123c3b;
  --petrol-pressed: #0e302f;
  --cream: #f7f0e6;
  --porcelain: #fffbf5;
  --rose: #e98c80;
  --rose-soft: #f8dad5;
  --moss-soft: #e1e8da;
  --ink: #172322;
  --muted-ink: #536260;
  --line: #d8cfc2;
  font-family: "Schibsted Grotesk", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--cream);
}

main {
  width: min(100%, 480px);
  padding: clamp(24px, 6vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--porcelain);
  box-shadow: 0 20px 55px rgb(23 35 34 / 10%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--petrol);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-block: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-family: "Young Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 2.7rem);
  font-weight: 400;
  line-height: 1.08;
}

h2 {
  font-size: 1rem;
  line-height: 1.4;
}

.intro,
.status {
  color: var(--muted-ink);
  line-height: 1.6;
}

.intro {
  margin: 18px 0 24px;
}

.section-copy {
  margin: 12px 0 0;
  color: var(--ink);
  line-height: 1.65;
}

section {
  padding: 18px;
  border-radius: 18px;
  background: var(--moss-soft);
}

ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--ink);
  line-height: 1.65;
}

.primary-action {
  display: block;
  margin-top: 20px;
  padding: 15px 18px;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--cream);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  transition: background-color 150ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--petrol-pressed);
}

.primary-action:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

.status {
  margin: 16px 0 0;
  font-size: 0.9rem;
}

aside {
  margin-top: 20px;
  padding: 16px;
  border-left: 4px solid var(--rose);
  border-radius: 0 14px 14px 0;
  background: var(--rose-soft);
  color: var(--ink);
  line-height: 1.5;
}

footer {
  margin-top: 24px;
  color: var(--muted-ink);
  font-size: 0.85rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .primary-action {
    transition: none;
  }
}
