/* Match the dashboard's Folded Infrastructure palette and system font stacks. */
:root {
  color-scheme: light;
  --paper: #f3ede6;
  --elevated: #fbf7ef;
  --muted: #ebe2d6;
  --ink: #111318;
  --graphite: #5a6068;
  --border: #d8ccba;
  --primary-hover: #2a2d32;
  --shadow-soft: rgba(31, 27, 21, 0.07);
  --sans:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, Georgia, serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--graphite);
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
.wrap {
  max-width: 1152px;
  margin: 0 auto;
}
header,
footer {
  padding: 20px 24px;
}
header {
  border-bottom: 1px solid var(--border);
}
.topbar,
nav,
.actions,
.footer-content {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar,
.footer-content {
  justify-content: space-between;
}
nav {
  font-size: 14px;
  flex-wrap: wrap;
  gap: 4px;
}
nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  transition:
    background-color 150ms,
    color 150ms;
}
nav a:hover {
  background: var(--muted);
  color: var(--ink);
}
.icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.card-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 20px;
}
.brand {
  font: 600 22px var(--serif);
}
section {
  padding: 72px 24px;
  border-bottom: 1px solid var(--border);
}
.hero {
  padding: 96px 24px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: normal;
  margin: 0;
}
h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  max-width: 900px;
}
h2 {
  font-size: clamp(30px, 3.5vw, 40px);
  line-height: 1.15;
  max-width: 780px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 600;
}
p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--graphite);
  margin: 0;
}
.hero p {
  max-width: 680px;
  font-size: 16px;
}
.hero .lede {
  font-size: 18px;
}
.actions {
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 20px;
  line-height: 22px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--elevated);
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 150ms,
    border-color 150ms,
    box-shadow 150ms;
}
.button:hover {
  background: var(--muted);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: 0 3px 10px var(--shadow-soft);
}
.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 8px 20px rgba(31, 27, 21, 0.12);
}
.primary:hover {
  background: var(--primary-hover);
  color: #fff;
  border-color: var(--primary-hover);
  box-shadow: 0 10px 24px rgba(31, 27, 21, 0.18);
}
.eyebrow {
  font-weight: 500;
  margin-bottom: 12px;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
article {
  flex: 1 1 280px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--elevated);
  padding: 28px;
  box-shadow: 0 18px 44px var(--shadow-soft);
}
.examples article {
  flex: 1 1 calc(33.333% - 16px);
}
.last-section {
  border: 0;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--elevated);
}
.closing > div:first-child {
  flex: 1;
  max-width: 640px;
}
.closing h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.closing .actions {
  flex-shrink: 0;
  flex-direction: column;
  align-items: stretch;
}
footer {
  border-top: 1px solid var(--border);
  padding-block: 32px;
}
footer .brand {
  font-size: 16px;
}
footer nav,
.copyright {
  font-size: 12px;
  color: var(--graphite);
}
.copyright {
  margin-left: 8px;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: var(--elevated);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
@media (max-width: 760px) {
  section,
  .hero {
    padding: 56px 24px;
  }
  .hero-content {
    align-items: flex-start;
    text-align: left;
  }
  .hero .lede {
    font-size: 16px;
  }
  .examples article {
    flex-basis: calc(50% - 16px);
  }
  .closing {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }
  .closing .actions {
    flex-direction: row;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  header {
    padding: 16px;
  }
  .topbar {
    gap: 12px;
  }
  .topbar nav {
    gap: 2px;
    font-size: 13px;
  }
  .topbar nav a {
    padding: 8px 6px;
    gap: 6px;
  }
  .brand {
    font-size: 20px;
  }
  .examples article {
    flex-basis: 100%;
  }
  .actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .closing .actions {
    flex-direction: column;
  }
}
