:root {
  color-scheme: only light;
  --background: #fdfefd;
  --surface: #f6f8f7;
  --surface-accent: #edf7f0;
  --text: #161c18;
  --muted: #59635d;
  --border: #dbe3de;
  --border-strong: #b9c7be;
  --accent: #146b3a;
  --accent-hover: #0f572f;
  --accent-text: #f7fff9;
  --radius: 0.875rem;
  --content: 74rem;
  --reading: 46rem;
  --shadow: 0 24px 70px rgba(20, 55, 35, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Aptos,
    'Segoe UI Variable',
    'Segoe UI',
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.13em;
}

a:focus-visible {
  outline: 0.2rem solid rgba(20, 107, 58, 0.35);
  outline-offset: 0.25rem;
  border-radius: 0.2rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  transform: translateY(-160%);
}

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

.site-header,
.site-footer,
.page-shell {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--accent);
}

.hero {
  display: grid;
  min-height: min(46rem, calc(100dvh - 4.5rem));
  grid-template-columns: minmax(0, 0.88fr) minmax(24rem, 1.12fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(3rem, 7vw, 5.75rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 760;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 740;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.05rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 740;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  text-decoration: none;
}

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

.button.secondary {
  border-color: var(--border-strong);
  background: var(--background);
  color: var(--text);
}

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

.hero-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.compatibility {
  display: grid;
  grid-template-columns: minmax(9rem, 0.7fr) repeat(3, 1fr);
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.compatibility p {
  margin: 0;
}

.compatibility-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.browser-name {
  color: var(--text);
  font-weight: 740;
}

.browser-version {
  color: var(--muted);
  font-size: 0.88rem;
}

.capabilities {
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.section-heading {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(17rem, 0.82fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.feature-primary,
.feature-secondary {
  background: var(--background);
}

.feature-primary {
  display: flex;
  min-height: 28rem;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--surface-accent);
}

.feature-mark {
  width: 5.5rem;
  height: 5.5rem;
}

.feature-copy {
  max-width: 31rem;
}

.feature-copy p,
.feature-secondary p {
  margin: 0;
  color: var(--muted);
}

.feature-stack {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.feature-secondary {
  display: flex;
  min-height: 13.5rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.privacy-statement {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
  padding-block: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--border);
}

.privacy-statement h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
}

.privacy-statement > div > p {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.privacy-facts {
  margin: 0;
}

.privacy-facts > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.privacy-facts > div:first-child {
  padding-top: 0;
}

.privacy-facts dt {
  color: var(--text);
  font-weight: 740;
}

.privacy-facts dd {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.75rem 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

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

.document-hero {
  max-width: var(--reading);
  padding-block: clamp(4rem, 9vw, 7rem) clamp(2.5rem, 5vw, 4rem);
}

.document-hero h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.document-layout {
  display: grid;
  grid-template-columns: 12rem minmax(0, var(--reading));
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  padding-block: 0 6rem;
}

.document-aside {
  position: sticky;
  top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.document-aside p {
  margin-block: 0 1rem;
}

.document {
  min-width: 0;
}

.document h2 {
  margin-block: 3rem 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

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

.document h3 {
  margin-top: 2rem;
}

.document p,
.document li {
  color: #3f4943;
}

.document ul {
  padding-left: 1.25rem;
}

.document li + li {
  margin-top: 0.55rem;
}

.document code {
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
  background: var(--surface-accent);
  color: var(--accent-hover);
  font-family: 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 0.88em;
}

.notice {
  margin-block: 1.5rem 2rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #c8dfd0;
  border-radius: var(--radius);
  background: var(--surface-accent);
  color: #204b30;
}

.notice strong {
  color: #123a23;
}

.support-actions {
  margin-top: 1.75rem;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-block: 0 6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.support-section {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--background);
}

.support-section:first-child {
  grid-row: span 2;
  background: var(--surface-accent);
}

.support-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
}

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

.support-section ul {
  padding-left: 1.25rem;
}

.support-section li + li {
  margin-top: 0.65rem;
}

.error-page {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 2rem;
}

.error-content {
  width: min(100%, 38rem);
}

.error-content h1 {
  max-width: none;
  margin-bottom: 1rem;
}

.error-content p {
  color: var(--muted);
}

@media (max-width: 48rem) {
  .site-header {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .privacy-statement,
  .document-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 2.5rem;
    padding-block: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .compatibility {
    grid-template-columns: 1fr 1fr;
  }

  .compatibility-label {
    grid-column: 1 / -1;
  }

  .feature-layout {
    grid-template-columns: 1fr;
  }

  .feature-primary {
    min-height: 24rem;
  }

  .feature-stack {
    grid-template-rows: auto;
  }

  .privacy-facts > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .document-layout {
    gap: 2rem;
  }

  .document-aside {
    position: static;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .support-section:first-child {
    grid-row: auto;
  }
}

@media (max-width: 30rem) {
  .site-header,
  .site-footer,
  .page-shell {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .site-nav {
    gap: 0.75rem;
  }

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

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

  .compatibility {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
