:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #66716b;
  --paper: #fbf7ed;
  --panel: #fffdf6;
  --line: #ded4bf;
  --brand: #0d5f4f;
  --brand-2: #d7762d;
  --brand-3: #f3c95c;
  --shadow: 0 24px 70px rgba(50, 40, 22, 0.14);
  --radius: 26px;
  font-family: "Aptos", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(243, 201, 92, 0.35), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(13, 95, 79, 0.16), transparent 30rem),
    linear-gradient(135deg, #fffaf0 0%, var(--paper) 48%, #f3ead9 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 32, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 27, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 80%);
}

a {
  color: var(--brand);
  font-weight: 700;
}

.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.mark-badge {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--brand-3);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
}

.mark-text {
  display: grid;
  line-height: 1.1;
}

.mark-text strong {
  font-size: 1.05rem;
}

.mark-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav a,
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.72);
  color: var(--ink);
  padding: 9px 14px;
  text-decoration: none;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: stretch;
  padding: 44px 0 32px;
}

.hero-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.88);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(28px, 5vw, 60px);
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--brand-2);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  letter-spacing: -0.06em;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.5vw, 3.3rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.05rem;
}

.lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: #3d4942;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--brand-3);
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
  box-shadow: none;
}

.status-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
}

.number {
  margin: 18px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.5rem;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.queue-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.queue-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.52);
}

.section {
  padding: 34px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  padding: 24px;
}

.panel p,
.panel li {
  color: #46524b;
}

.panel p:last-child {
  margin-bottom: 0;
}

.stack {
  display: grid;
  gap: 16px;
}

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.doc {
  max-width: 880px;
  padding-bottom: 64px;
}

.doc .panel {
  margin-top: 16px;
}

.doc h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.doc h2 {
  margin-top: 34px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.doc h3 {
  margin-top: 24px;
}

.doc ul,
.doc ol {
  padding-left: 22px;
}

.callout {
  border-left: 6px solid var(--brand-2);
}

.footer {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 820px) {
  .topbar,
  .hero,
  .two {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  .nav {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
