:root {
  color-scheme: light;
  --ink: #10221d;
  --muted: #52655f;
  --surface: #f5f7f4;
  --card: #ffffff;
  --line: #dce5df;
  --brand: #0b6b50;
  --brand-dark: #07523e;
  --accent: #dff3e9;
  --max-width: 72rem;
  --radius: 1.25rem;
  --shadow: 0 1.25rem 3.5rem rgba(16, 34, 29, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand);
}

a:focus-visible,
summary:focus-visible {
  border-radius: 0.25rem;
  outline: 0.2rem solid #e0a928;
  outline-offset: 0.2rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid rgba(220, 229, 223, 0.9);
  background: rgba(245, 247, 244, 0.96);
}

.nav {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 0.7rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: -0.03em;
}

.nav-links,
.footer-links {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.5rem;
  list-style: none;
}

.nav-links a,
.footer-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: 38rem;
  align-items: center;
  padding-block: 7rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.75rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.5;
}

.section {
  padding-block: 6.5rem;
}

.section-dark {
  background: var(--ink);
  color: #dbe6e1;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-heading {
  display: grid;
  margin-bottom: 3rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 1fr);
  gap: 2rem;
  align-items: end;
}

.section-heading h2,
.about-grid h2,
.contact-grid h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.045em;
}

.section-heading p,
.about-grid p,
.contact-grid p {
  margin: 0;
  color: inherit;
}

.product-card {
  display: grid;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.product-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
}

.product-card p {
  margin: 0;
  color: #bed0c8;
  font-size: 1.1rem;
}

.status {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(223, 243, 233, 0.35);
  border-radius: 999px;
  background: rgba(223, 243, 233, 0.1);
  color: #effaf5;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1.2fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.about-grid p,
.contact-grid p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.page-hero {
  padding-block: 6rem 4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.page-hero p {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.prose {
  max-width: 48rem;
  padding-block: 4.5rem 6.5rem;
}

.prose h2 {
  margin: 3rem 0 0.75rem;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  color: #344a43;
}

.prose li + li {
  margin-top: 0.5rem;
}

.notice,
.support-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}

.support-card {
  margin-top: 2rem;
  box-shadow: var(--shadow);
}

.support-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #edf1ee;
}

.footer-inner {
  display: flex;
  min-height: 8rem;
  padding-block: 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 43rem) {
  html {
    scroll-behavior: auto;
  }

  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    padding-block: 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0 1.25rem;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

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

  .section,
  .page-hero {
    padding-block: 4.5rem;
  }

  .section-heading,
  .about-grid,
  .contact-grid,
  .product-card {
    grid-template-columns: 1fr;
  }

  .status {
    justify-self: start;
  }

  .footer-inner {
    padding-block: 2rem;
  }
}

@media (max-width: 24rem) {
  .container {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .brand {
    font-size: 0.94rem;
  }

  h1 {
    font-size: 2.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
