:root {
  color-scheme: light;
  --ink: #18201b;
  --muted: #58625b;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d9ded6;
  --cedar: #0f5f4b;
  --cedar-deep: #0b3b31;
  --sky: #d7edf3;
  --clay: #bd573a;
  --moss: #b9c86f;
  --shadow: 0 24px 60px rgba(18, 28, 22, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--cedar-deep);
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
}

nav {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--cedar);
}

.hero {
  position: relative;
  min-height: min(680px, calc(100svh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 5rem 5vw 6rem;
  background: #e9f3ec;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 38, 28, 0.8), rgba(14, 38, 28, 0.48), rgba(14, 38, 28, 0.12));
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-width: 760px;
  color: white;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--moss);
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: 4.25rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.3rem;
}

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

.hero-copy {
  max-width: 650px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
}

.hero-actions,
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--clay);
  color: white;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #9f452e;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.section {
  padding: 5.5rem 5vw;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.intro {
  background: var(--surface);
}

.intro p:not(.eyebrow),
.section-heading + p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2rem;
}

.work {
  background: #f1f5f2;
}

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

.product-card {
  min-height: 380px;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-kicker {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: var(--sky);
  color: var(--cedar-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card p,
.principle-list p,
.document p,
.contact-band p {
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink);
}

.principles {
  background: var(--paper);
}

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

.principle-list > div {
  padding-top: 1.2rem;
  border-top: 3px solid var(--cedar);
}

.contact-band {
  background: var(--cedar-deep);
  color: white;
}

.contact-inner {
  justify-content: space-between;
}

.contact-inner > div {
  max-width: 680px;
}

.contact-band .eyebrow {
  color: var(--moss);
}

.contact-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5vw;
  background: #111812;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.document-page {
  padding: 5rem 5vw;
}

.document {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.document h1 {
  max-width: none;
  color: var(--ink);
  font-size: 3.2rem;
}

.document h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.updated,
.fine-print {
  font-size: 0.95rem;
}

.support-panel {
  margin: 2rem 0;
  padding: 1.4rem;
  background: #f1f5f2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-panel h2,
.support-panel p {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.8rem;
  }

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

  .hero::after {
    background: rgba(14, 38, 28, 0.72);
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .two-column,
  .product-grid,
  .principle-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 0.98rem;
  }

  nav {
    font-size: 0.88rem;
  }

  .hero,
  .section,
  .document-page {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .hero {
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }

  .hero-content {
    width: 100%;
    max-width: 22rem;
  }

  .section-inner {
    margin-left: 0;
    margin-right: auto;
    max-width: 22rem;
  }

  h1 {
    max-width: 11ch;
    font-size: 2.35rem;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .product-card,
  .document {
    padding: 1.35rem;
  }

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