:root {
  --mint: #7bdcb5;
  --mint-soft: #e7f8f1;
  --page: #f4f8f6;
  --ink: #163128;
  --muted: rgba(22, 49, 40, 0.74);
  --line: rgba(22, 49, 40, 0.14);
  --panel: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px;
}

.shell {
  width: min(100%, 1060px);
  margin: 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 30px 0 0;
}

.back-link,
.site-nav a,
.footer a {
  color: rgba(22, 49, 40, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  white-space: nowrap;
}

.back-link::before {
  content: "←";
  font-size: 1.05rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
}

.site-logo img {
  display: block;
  width: 132px;
  height: auto;
  filter: brightness(0) saturate(100%);
  opacity: 0.72;
}

.site-nav a:hover,
.footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.back-link:hover {
  color: var(--ink);
  text-decoration: none;
}

.back-link:hover span {
  text-decoration: underline;
}

.hero {
  padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4.5vw, 52px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(22, 49, 40, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 24ch;
  font-size: clamp(1.8rem, 4vw, 3rem);
  hyphens: auto;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.brand-heading {
  max-width: 16.5ch;
}

.lead {
  max-width: 68ch;
  margin: 26px 0 0;
  color: rgba(22, 49, 40, 0.78);
  font-size: clamp(1.06rem, 2vw, 1.22rem);
  line-height: 1.72;
}

.content,
.content.content-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}

.section {
  min-width: 0;
  padding: clamp(32px, 4.5vw, 52px) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.section-highlight {
  background: transparent;
}

.section h2 {
  max-width: 27ch;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.section h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.32;
}

.section p {
  max-width: 72ch;
  margin: 0;
  color: rgba(22, 49, 40, 0.82);
  font-size: 1rem;
  line-height: 1.72;
}

.section p + p,
.section .text-block + .text-block {
  margin-top: 16px;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid + .note,
.grid + .quote {
  margin-top: 22px;
}

.section p + .quote {
  margin-top: 22px;
}

.card {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(22, 49, 40, 0.1);
  border-radius: 8px;
  background: var(--panel);
}

.card-number {
  margin: 0 0 10px;
  color: rgba(22, 49, 40, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.68;
}

.note,
.quote {
  max-width: 760px;
  padding: 20px 0 20px 22px;
  border: 0;
  border-left: 3px solid rgba(22, 49, 40, 0.64);
  border-radius: 0;
  background: transparent;
  color: rgba(22, 49, 40, 0.8);
  font-size: 0.98rem;
  line-height: 1.7;
}

.content > .product-note {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 32px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: rgba(22, 49, 40, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
}

.product-note strong {
  color: var(--ink);
  font-weight: 800;
}

.quote {
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  padding: 30px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.faq-item:first-child {
  padding-top: 0;
}

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

.faq-item h2 {
  max-width: none;
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.faq-item p + p {
  margin-top: 12px;
}

.stack {
  display: grid;
  gap: 34px;
}

.stack > div,
.stack > article {
  min-width: 0;
}

.version-section {
  display: grid;
  gap: 26px;
}

.version-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.version-title h2 {
  margin-bottom: 0;
}

.version-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 12px;
  min-width: 340px;
}

.version-meta > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.version-meta span,
.version-meta strong {
  display: block;
}

.version-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.version-note {
  max-width: 76ch;
}

.version-change {
  padding-left: 18px;
  border-left: 3px solid rgba(22, 49, 40, 0.46);
}

.cta {
  display: grid;
  justify-items: start;
  text-align: left;
}

.cta h2 {
  max-width: none;
  margin-bottom: 0;
}

.cta p {
  text-align: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 48px;
  padding: 16px 32px;
  border: 1px solid rgba(11, 29, 24, 0.16);
  border-radius: 8px;
  background: #173830;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.button:hover {
  background: #14322b;
  box-shadow: 0 12px 24px rgba(64, 64, 64, 0.14);
  transform: translateY(-1px);
  text-decoration: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 40px;
  color: rgba(22, 49, 40, 0.7);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .site-top {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    white-space: normal;
  }

  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16.5px;
  }

  .page {
    padding: 0 18px;
  }

  .site-top {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    padding-top: 18px;
  }

  .back-link {
    grid-column: 1;
    grid-row: 1;
  }

  .site-logo {
    grid-column: 2;
    grid-row: 1;
  }

  .site-logo img {
    width: 112px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 8px 18px;
    flex-wrap: wrap;
  }

  .site-nav a {
    min-height: 38px;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    max-width: 24ch;
    font-size: clamp(1.8rem, 4vw, 3rem);
    hyphens: none;
    overflow-wrap: normal;
  }

  .brand-heading {
    max-width: 12ch;
  }

  .section {
    padding: 36px 0;
  }

  .card {
    padding: 22px;
  }

  .version-head {
    display: grid;
  }

  .version-meta {
    grid-template-columns: 1fr;
    min-width: 0;
  }

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

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

  .button {
    width: min(280px, 100%);
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .page {
    padding: 0 14px;
  }

  .site-nav {
    gap: 4px 14px;
  }

  .site-nav a,
  .back-link,
  .footer a {
    font-size: 0.88rem;
  }
}
