:root {
  --ink: #132032;
  --muted: #5f6d7b;
  --line: rgba(19, 32, 50, 0.12);
  --paper: #fffdf8;
  --paper-strong: #fff7e9;
  --panel: rgba(255, 255, 255, 0.8);
  --navy: #0f2f4d;
  --navy-soft: #1d4f73;
  --sand: #efd4a2;
  --clay: #b45d39;
  --shadow: 0 20px 50px rgba(19, 32, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(239, 212, 162, 0.42), transparent 34%),
    radial-gradient(circle at top right, rgba(29, 79, 115, 0.18), transparent 30%),
    linear-gradient(180deg, #fff9f0 0%, #f5f7fb 56%, #eef1f7 100%);
  font: 16px/1.6 "Trebuchet MS", "Gill Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

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

.brand {
  font: 700 1.2rem/1 "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.topnav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.topnav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
}

.topnav a[aria-current="page"],
.topnav a:hover {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.9fr);
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 233, 0.95)),
    linear-gradient(90deg, rgba(15, 47, 77, 0.04), rgba(180, 93, 57, 0.06));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
}

.hero-copy h1,
.content-hero h1,
.wide-panel h2,
.panel h2 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  line-height: 1.05;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.lede {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions,
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button.primary {
  background: var(--navy);
  color: #fff;
}

.button.ghost {
  border-color: rgba(15, 47, 77, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel,
.panel,
.wide-panel,
.route-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
}

.hero-panel {
  padding: 20px;
  border-radius: 24px;
  align-self: start;
}

.panel-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stacked-card {
  padding: 14px 16px;
  margin-top: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.stacked-card strong,
.route-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.1rem;
}

.section-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 22px;
}

.panel,
.wide-panel {
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-highlight {
  background:
    linear-gradient(135deg, rgba(15, 47, 77, 0.95), rgba(29, 79, 115, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  color: #f6f3eb;
}

.feature-highlight .eyebrow,
.feature-highlight .small-note {
  color: rgba(246, 243, 235, 0.78);
}

.small-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.wide-panel {
  margin-top: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 247, 233, 0.94));
}

.wide-panel-head {
  max-width: 52rem;
}

.route-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 18px;
}

.route-card {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.route-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-page {
  display: grid;
  gap: 22px;
}

.content-hero {
  padding: 16px 0 4px;
}

.content-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  max-width: 15ch;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.prose h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.7rem;
}

.mono-inline {
  font-family: Consolas, monospace;
  font-size: 0.95em;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 26px;
  padding: 22px 4px 0;
  color: var(--muted);
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.footer p {
  margin: 0;
  max-width: 36rem;
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    max-width: none;
  }
}
