:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --ink: #18201f;
  --muted: #5f6865;
  --panel: #fffdfa;
  --panel-strong: #e8f0ec;
  --line: #d8ddd7;
  --teal: #0b6d6d;
  --teal-dark: #064c50;
  --coral: #c45d48;
  --mustard: #d6a13b;
  --shadow: 0 18px 55px rgba(24, 32, 31, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

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

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(11, 109, 109, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
  text-decoration-color: currentColor;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  min-width: 0;
}

.brand span {
  overflow-wrap: anywhere;
}

.brand-mark {
  object-fit: contain;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
  min-width: 0;
}

.site-nav a,
.site-footer a,
.button {
  text-decoration: none;
}

.nav-state,
.nav-toggle {
  display: none;
}

.hero {
  width: min(1120px, calc(100% - 40px));
  max-width: calc(100vw - 40px);
  min-height: clamp(520px, calc(100svh - 132px), 720px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(42px, 7vw, 68px) 0 clamp(48px, 8vw, 76px);
}

.hero-copy,
.hero-visual,
.section-copy,
.feature-card,
.company-details,
.support-band > div {
  min-width: 0;
}

.hero h1,
.document h1,
.support-hero h1 {
  margin: 0;
  font-size: clamp(2.56rem, 7.2vw, 5.44rem);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 750;
  line-height: 1.2;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(6, 76, 80, 0.22);
}

.button.primary:hover {
  background: var(--teal);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: center;
  justify-items: center;
}

.company-mascot {
  width: clamp(220px, 34vw, 430px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 45px rgba(24, 32, 31, 0.16));
}

.section {
  width: min(1120px, calc(100% - 40px));
  max-width: calc(100vw - 40px);
  margin: 0 auto;
  padding: 86px 0;
}

.section h2,
.document h2,
.support-grid h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.64rem);
  line-height: 1;
  letter-spacing: 0;
}

.section p,
.document p {
  color: var(--muted);
}

.product-band,
.support-band {
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 760px;
}

.section-copy p {
  font-size: 1.16rem;
}

.feature-grid,
.product-list,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.product-list {
  grid-template-columns: minmax(0, 440px);
}

.feature-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.7);
}

.feature-card h3,
.feature-card h2 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  line-height: 1.2;
}

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

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.company-details {
  margin: 0;
  display: grid;
  gap: 14px;
}

.company-details div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-details dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-details dd {
  margin: 5px 0 0;
  font-size: 1.08rem;
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 96px;
}

.support-band p {
  max-width: 650px;
}

.site-footer {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.document,
.support-page {
  width: min(900px, calc(100% - 40px));
  max-width: calc(100vw - 40px);
  margin: 0 auto;
  padding: 74px 0 96px;
}

.document h1,
.support-hero h1 {
  font-size: clamp(2.24rem, 5.6vw, 4.16rem);
}

.document section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.updated {
  margin: 18px 0 46px;
}

.support-hero {
  padding: 52px 0 34px;
}

.support-page .support-grid {
  width: 100%;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1120px);
    max-width: calc(100vw - 28px);
  }

  .site-header {
    min-height: 72px;
  }

  .site-nav,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero,
  .section,
  .document,
  .support-page {
    width: min(100% - 28px, 1120px);
    max-width: calc(100vw - 28px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 0;
    order: -1;
    justify-items: start;
  }

  .company-mascot {
    width: min(78vw, 320px);
  }

  .feature-grid,
  .product-list,
  .support-grid,
  .split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
  }

  .nav-state {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 250, 0.78);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-state:focus-visible + .nav-toggle {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
  }

  .nav-state:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-state:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-state:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
  }

  .nav-state:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(216, 221, 215, 0.72);
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(2.4rem, 13.6vw, 3.28rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .feature-card {
    min-height: 0;
  }
}
