:root {
  --paper: #f4efe5;
  --paper-bright: #fffdf8;
  --ink: #1d1c18;
  --muted: #6d695f;
  --line: #d7cfc1;
  --blue: #1768dc;
  --blue-soft: #c4dcff;
  --shadow: 0 18px 50px rgb(72 59 39 / 8%);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% -10%, rgb(255 255 255 / 90%), transparent 35rem),
    var(--paper);
}

a {
  color: inherit;
}

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

.shell {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  min-height: 5rem;
  border-bottom: 1px solid var(--line);
}

.site-header nav,
.site-footer nav,
.actions,
.page-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-header nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 0.35em;
}

.wordmark,
h1,
h2,
.quote-text {
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

.wordmark {
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  display: grid;
  min-height: calc(100vh - 5rem);
  align-items: center;
  gap: 4rem;
  padding: 5rem 0;
  grid-template-columns: 1.1fr 0.9fr;
}

.company-line {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration-color: var(--line);
  text-underline-offset: 0.25em;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.compact-heading {
  max-width: 14ch;
  font-size: clamp(2.7rem, 6.5vw, 5.3rem);
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  background: var(--ink);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

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

.status-note,
.example-label,
.muted {
  color: var(--muted);
}

.status-note {
  max-width: 37rem;
  margin-top: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.quote-preview,
.panel {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgb(255 253 248 / 78%);
  box-shadow: var(--shadow);
}

.quote-preview {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  transform: rotate(1.1deg);
}

.quote-text {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.34;
}

.quote-text span {
  padding: 0.08em 0.12em;
  background: #bedaff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.example-label {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.overview {
  display: grid;
  gap: 3rem;
  border-top: 1px solid var(--line);
  padding: 5rem 0 7rem;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
}

.overview h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

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

.feature-grid article {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.feature-grid h3 {
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

.feature-grid p,
.company-panel p,
.prose-page p {
  color: var(--muted);
  line-height: 1.7;
}

.page {
  min-height: calc(100vh - 11rem);
  padding: 4rem 0 7rem;
}

.panel {
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.company-panel {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
}

.company-panel h2,
.prose-page h2 {
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.company-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.facts {
  margin: 0;
}

.facts div {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.facts dt {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-weight: 650;
}

.page-links {
  margin-top: 2rem;
}

.prose-page {
  max-width: 48rem;
}

.prose-page h2 {
  margin-top: 2.5rem;
  font-size: 1.55rem;
}

.prose-page .panel h2 {
  margin-top: 0;
}

.site-footer {
  min-height: 6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 800px) {
  .hero,
  .overview,
  .company-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2.5rem;
  }

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

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.25rem 0;
  }

  .site-header nav,
  .site-footer nav {
    gap: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 3.5rem 0 4.5rem;
  }

  .quote-preview {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
