:root {
  color-scheme: light;
  --paper: #f3f6f1;
  --paper-strong: #fbfcf7;
  --ink: #12241d;
  --muted: #52635c;
  --line: #cdd8cf;
  --green: #1b6b55;
  --green-dark: #103c31;
  --amber: #d3902f;
  --red: #b34b42;
  --blue: #263f88;
  --blue-soft: #e5ebfb;
  --shadow: 0 24px 80px rgba(30, 38, 31, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(18, 36, 29, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 36, 29, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Verdana, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

code {
  background: rgba(251, 252, 247, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: inherit;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
  padding: 0.08rem 0.22rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.8rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 1.2rem 1.25rem 0.4rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f4f0e6;
  display: inline-grid;
  flex: 0 0 44px;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  place-items: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.5rem 0.7rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  outline: none;
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: 660px;
  padding: 4rem 1.25rem 3rem;
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.7rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
}

.hero-lede {
  color: #26372f;
  font-size: 1.22rem;
  max-width: 35rem;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}

.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  min-height: 44px;
  padding: 0.75rem 1rem;
}

.primary-action {
  background: var(--green-dark);
  color: #fbfcf7;
  font-weight: 750;
  text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--green);
  outline: none;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: var(--green);
  color: var(--green-dark);
  outline: none;
}

.hero-metrics {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
  max-width: 40rem;
}

.hero-metrics div {
  border-left: 3px solid var(--amber);
  padding-left: 0.85rem;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  font-weight: 800;
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  display: block;
  filter: drop-shadow(0 28px 60px rgba(18, 36, 29, 0.18));
  height: auto;
  width: 100%;
}

.hero-visual figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 40rem;
}

.section-block {
  margin: 0 auto;
  max-width: 1180px;
  padding: 4.5rem 1.25rem;
}

.company-intro {
  padding-bottom: 2.5rem;
}

.section-heading {
  display: grid;
  gap: 1rem;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  margin-bottom: 1.5rem;
}

.section-heading p,
.governance > div:first-child p,
.contact-copy p {
  color: var(--muted);
}

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

.platform-grid > .section-kicker {
  grid-column: 1 / -1;
}

.platform-grid article {
  background: rgba(251, 252, 247, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 190px;
  padding: 1.25rem;
}

.platform-grid article:nth-of-type(2) {
  background: #eef5ee;
}

.platform-grid article:nth-of-type(3) {
  background: var(--blue-soft);
}

.card-index {
  color: var(--amber);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.governance {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
}

.principles-panel,
.setup-card {
  background: #15251f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #f7faf4;
  padding: 1.1rem;
}

.principle-row {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 18px minmax(0, 1fr);
  padding: 1rem 0;
}

.principle-row:first-child {
  padding-top: 0;
}

.principle-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.principle-row span {
  background: #64d390;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(100, 211, 144, 0.14);
  display: block;
  height: 12px;
  margin-top: 0.45rem;
  width: 12px;
}

.principle-row p {
  margin: 0;
}

.principle-row strong {
  display: block;
}

.contact-band {
  align-items: center;
  background: #172944;
  color: #f7faf4;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  margin-top: 2rem;
  padding: 4.5rem max(1.25rem, calc((100vw - 1180px) / 2));
}

.contact-band .eyebrow {
  color: #efbd64;
}

.contact-band .contact-copy p {
  color: #c9d7ce;
}

.setup-card {
  background: #f7faf4;
  color: var(--ink);
}

.setup-card h3 {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
}

.setup-card dl {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.setup-card div {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 0.58fr minmax(0, 1fr);
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 1.5rem 1.25rem 2.5rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .section-heading,
  .governance,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

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

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav-links a {
    padding-left: 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero {
    gap: 1.5rem;
    padding-bottom: 1.3rem;
    padding-top: 2.2rem;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .primary-action,
  .secondary-action {
    min-height: 42px;
    padding: 0.65rem 0.82rem;
  }

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

  .hero-metrics div {
    padding-left: 0.55rem;
  }

  .hero-visual figcaption {
    display: none;
  }

  .setup-card div {
    grid-template-columns: 1fr;
  }
}
