:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #4f5d75;
  --paper: #f8f4ec;
  --panel: #ffffff;
  --line: #d9cbb6;
  --accent: #c65f2c;
  --accent-dark: #8f3d1c;
  --focus: #0b6bcb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(198, 95, 44, 0.18), transparent 28rem),
    linear-gradient(135deg, #f8f4ec 0%, #eef3f0 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 1rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: -4rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1rem clamp(1rem, 4vw, 3rem);
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-shell {
  margin: 0 auto;
  max-width: 68rem;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.page-shell.narrow {
  max-width: 48rem;
}

.hero {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 1.5rem 4rem rgba(20, 33, 61, 0.08);
  padding: clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  color: var(--accent-dark);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.actions,
.cards {
  display: grid;
  gap: 1rem;
}

.actions {
  grid-template-columns: repeat(auto-fit, minmax(14rem, max-content));
  margin-top: 2rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 2rem;
}

article,
.delayed-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
}

.button {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: "Trebuchet MS", sans-serif;
  font-weight: 700;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  text-decoration: none;
}

.button-secondary {
  background: var(--ink);
}

.delayed-panel {
  margin-top: 2rem;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}
