:root {
  color-scheme: light;
  --brand: #075b54;
  --brand-strong: #0b4742;
  --accent: #007c70;
  --paper: #f4f6f5;
  --white: #ffffff;
  --ink: #17211f;
  --muted: #53615e;
  --line: #ccd7d4;
  --warm: #e2a529;
  --content: 1180px;
  --focus: #e2a529;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  border: 2px solid var(--brand);
}

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

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(244, 246, 245, 0.97);
  border-bottom: 1px solid var(--line);
}

.nav-shell,
.content-shell,
.footer-shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-link img {
  width: 184px;
  height: 46px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--brand);
}

.hero {
  position: relative;
  min-height: min(720px, 76svh);
  isolation: isolate;
  overflow: hidden;
  background-color: var(--brand-strong);
  background-image: url("/assets/images/product-progress.png");
  background-position: calc(100% - 8vw) 12%;
  background-repeat: no-repeat;
  background-size: auto 116%;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(11, 71, 66, 0.82);
}

.hero-shell {
  width: min(calc(100% - 40px), var(--content));
  min-height: inherit;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding-block: 72px 94px;
}

.hero-copy {
  width: min(680px, 64%);
}

.eyebrow {
  margin: 0 0 14px;
  color: #8a5600;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow {
  color: var(--warm);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 6.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: #ecf3f1;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.center-actions {
  justify-content: center;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid var(--brand);
  border-radius: 6px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand-strong);
}

.button-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.section {
  padding-block: 76px;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--brand-strong);
  color: var(--white);
}

.section-intro {
  max-width: 710px;
  margin-bottom: 36px;
}

.section-intro p,
.page-lede,
.muted {
  color: var(--muted);
}

.section-dark .section-intro p,
.section-dark .muted {
  color: #d7e4e1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-item {
  min-height: 190px;
  padding: 26px;
  background: var(--white);
}

.feature-index {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: 64px;
  align-items: center;
}

.product-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.product-visual figure,
.gallery figure {
  margin: 0;
}

.product-visual img,
.gallery img {
  width: 100%;
  height: auto;
  border: 1px solid #aab9b5;
  border-radius: 6px;
  background: var(--white);
}

.product-visual figure:first-child {
  transform: translateY(-24px);
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.section-dark figcaption {
  color: #c9d9d5;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-item {
  padding: 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item span {
  margin-top: 4px;
  color: #c9d9d5;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  max-width: 670px;
  margin-bottom: 0;
}

.page-hero {
  padding-block: 76px 64px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  color: var(--brand-strong);
}

.page-lede {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.16rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.gallery figure {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  padding-top: 18px;
  border-top: 3px solid var(--accent);
}

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

.contact-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-row a {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 54px;
}

.faq-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.error-page {
  min-height: calc(100svh - 72px);
  display: grid;
  place-items: center;
  padding-block: 80px;
}

.error-copy {
  max-width: 640px;
  text-align: center;
}

.error-mark {
  width: 108px;
  height: 108px;
  margin: 0 auto 24px;
  padding: 12px;
  border-radius: 50%;
  background: var(--brand);
}

.site-footer {
  background: #0d1715;
  color: #d9e3e0;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding-block: 44px;
}

.footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 10px;
}

.footer-brand p,
.footer-meta p {
  margin-bottom: 0;
  color: #aebdb9;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #edf4f2;
}

.footer-meta {
  text-align: right;
}

@media (max-width: 900px) {
  .feature-grid,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .product-band {
    grid-template-columns: 1fr;
  }

  .product-visual {
    max-width: 620px;
  }

  .hero {
    background-position: 140% center;
    background-size: auto 106%;
  }

  .hero-copy {
    width: min(620px, 78%);
  }
}

@media (max-width: 680px) {
  .nav-shell {
    min-height: 104px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding-block: 12px 6px;
  }

  .brand-link img {
    width: 150px;
    height: 38px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    justify-content: center;
    padding-inline: 6px;
  }

  .hero {
    min-height: 670px;
    background-position: 88% center;
    background-size: auto 100%;
  }

  .hero::before {
    background: rgba(11, 71, 66, 0.9);
  }

  .hero-shell {
    align-items: flex-end;
    padding-block: 72px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: 3rem;
  }

  .section {
    padding-block: 56px;
  }

  .feature-grid,
  .gallery,
  .principle-list,
  .faq-list,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .product-visual {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-visual figure:first-child {
    transform: translateY(-12px);
  }

  .cta-band,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    display: flex;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-shell {
    display: flex;
  }

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

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .nav-shell,
  .content-shell,
  .footer-shell,
  .hero-shell {
    width: min(calc(100% - 24px), var(--content));
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  .product-visual {
    grid-template-columns: 1fr;
  }

  .product-visual figure:first-child {
    transform: none;
  }
}

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