:root {
  --ink: #111418;
  --paper: #F7F8F6;
  --card: #FFFFFF;
  --rule: #D8DCD6;
  --seal: #1F4B3F;
  --seal-tint: #EBF0EC;
  --stamp: #A8321E;
  --muted: #565c58;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.prose {
  max-width: 620px;
}

a {
  color: var(--seal);
}

h1, h2, h3 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---- header status strip ---- */

.status-strip {
  border-bottom: 1px solid var(--rule);
}

.status-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-strip .status-value {
  color: var(--seal);
  font-weight: 600;
}

/* ---- hero ---- */

.hero-band {
  background: var(--seal);
  padding: 6.5rem 0 6rem;
}

.hero-inner {
  text-align: center;
}

.wordmark-box {
  display: inline-block;
  border: 1.5px solid var(--paper);
  padding: 0.7rem 2rem;
  margin: 0 auto;
}

.wordmark-box span {
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.tagline {
  margin: 2.25rem auto 0;
  max-width: 34ch;
  width: 100%;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.35;
  color: var(--paper);
}

.lede {
  margin: 1.4rem auto 0;
  max-width: 52ch;
  width: 100%;
  font-size: 1.05rem;
  color: rgba(247, 248, 246, 0.8);
}

.cta-button {
  display: inline-block;
  margin-top: 2.5rem;
  background: var(--paper);
  color: var(--seal);
  text-decoration: none;
  border: 1.5px solid var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.9rem 2.1rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.cta-button:hover {
  background: transparent;
  color: var(--paper);
}

/* ---- section rhythm ---- */

section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--rule);
}

.band-tint {
  background: var(--seal-tint);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  background: rgba(31, 75, 63, 0.1);
  color: var(--seal);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
}

section h2 {
  font-size: 2.25rem;
  margin-bottom: 1.4rem;
}

section p {
  margin: 0 0 1.1rem;
  max-width: 62ch;
  color: var(--ink);
}

section p:last-child {
  margin-bottom: 0;
}

/* ---- features grid ---- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3.5rem;
  margin-top: 0.5rem;
}

.feature-item {
  padding: 1.9rem 0;
  border-top: 1px solid var(--rule);
}

.feature-index {
  display: block;
  color: var(--seal);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.feature-item h3 {
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---- how it works ---- */

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0 1.25rem;
  margin-top: 1rem;
}

.step {
  flex: 1 1 0;
  min-width: 0;
}

.step-index {
  display: block;
  color: var(--seal);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: none;
}

.step-arrow {
  flex: 0 0 auto;
  padding-top: 0.15rem;
  color: var(--seal);
  font-size: 1.1rem;
}

.step-arrow .arrow-v {
  display: none;
}

/* ---- feed preview ---- */

.feed-preview {
  margin-top: 1.75rem;
  border: 1px solid var(--rule);
  background: var(--card);
}

.feed-row {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--rule);
}

.feed-row:last-child {
  border-bottom: none;
}

.feed-row-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.feed-row-title {
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.3rem;
  color: var(--ink);
  max-width: none;
}

.feed-row-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: none;
}

.feed-row-open {
  background: var(--seal-tint);
  border-left: 3px solid var(--seal);
  padding-left: calc(1.4rem - 3px);
}

.feed-connector {
  margin: 0.85rem 0 0 1.4rem;
  color: var(--seal);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

/* ---- sample item ---- */

.sample-caption {
  font-size: 0.85rem;
  color: var(--muted);
}

.sample-item {
  margin-top: 1.75rem;
  border: 1px solid var(--rule);
  background: var(--card);
  width: 100%;
}

.sample-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 0.9rem 1.4rem;
  background: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: rgba(247, 248, 246, 0.72);
}

.sample-stamp .in-force {
  display: inline-block;
  background: var(--seal);
  color: var(--paper);
  font-weight: 600;
  padding: 0.25rem 0.6rem;
}

.sample-body {
  padding: 1.6rem 1.4rem 1.75rem;
}

.sample-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.sample-body p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  max-width: none;
}

/* ---- contact ---- */

.contact-panel {
  max-width: 620px;
  text-align: left;
}

.contact-email {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--seal);
  border-bottom: 1.5px solid var(--seal);
  text-decoration: none;
  padding-bottom: 0.15rem;
}

.contact-email:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---- footer ---- */

footer {
  border-top: 1px solid var(--rule);
  padding: 2.25rem 0 2.75rem;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-powered {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-powered:hover {
  color: var(--ink);
}

.footer-powered img {
  width: 20px;
  height: 20px;
  display: block;
}

/* ---- responsive ---- */

@media (max-width: 720px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps {
    flex-direction: column;
    gap: 0;
  }

  .step-arrow {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .step-arrow .arrow-h {
    display: none;
  }

  .step-arrow .arrow-v {
    display: inline;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero-band {
    padding: 4.5rem 0 4rem;
  }

  .wordmark-box {
    padding: 0.55rem 1.4rem;
  }

  .wordmark-box span {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.4rem;
  }

  section {
    padding: 3.25rem 0;
  }

  section h2 {
    font-size: 1.7rem;
  }

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