:root {
  --bg: oklch(100% 0 89.88);
  --surface: oklch(97.071% 0.00265 286.35);
  --fg: oklch(23.158% 0.00381 286.1);
  --muted: oklch(53.99% 0.00769 286.14);
  --border: oklch(86.524% 0.00683 286.26);
  --accent: oklch(56.292% 0.19333 256.16);
  --accent-hover: oklch(50.5% 0.184 256.16);
  --accent-active: oklch(46% 0.174 256.16);
  --focus: oklch(67% 0.16 256.16 / 0.54);
  --nav-bg: oklch(100% 0 89.88 / 0.82);
  --dark-media: oklch(17% 0.007 270);
  --display-font: "SF Pro Display", "SF Pro SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --body-font: "SF Pro Text", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono-font: "SFMono-Regular", "SF Mono", ui-monospace, monospace;
  --content-width: 1180px;
  --text-width: 760px;
  --nav-height: 52px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 16px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--nav-height);
  border-bottom: 1px solid oklch(86.524% 0.00683 286.26 / 0.68);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--content-width));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-icon {
  width: 28px;
  height: 28px;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-menu {
  gap: 32px;
}

.nav-links {
  gap: 28px;
}

.nav-links a,
.text-link,
.footer-meta a {
  transition: color 160ms ease;
}

.nav-links a {
  min-height: 44px;
  padding: 12px 0;
  color: var(--fg);
  font-size: 13px;
}

.nav-links a:hover,
.text-link:hover,
.footer-meta a:hover {
  color: var(--accent-hover);
}

.nav-actions {
  gap: 12px;
}

.icon-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--fg);
  transition: background-color 160ms ease, color 160ms ease;
}

.icon-link:hover {
  background: var(--surface);
  color: var(--accent-hover);
}

.icon-link svg {
  width: 20px;
  height: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 980px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  letter-spacing: 0;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}

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

.button:active {
  border-color: var(--accent-active);
  background: var(--accent-active);
  color: var(--bg);
  transform: translateY(1px);
}

.button-small {
  min-height: 32px;
  padding: 5px 13px;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
}

.nav-toggle span[aria-hidden="true"] {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

main {
  overflow: clip;
}

.hero,
.origin-section,
.feature-section,
.content-section,
.theme-section,
.install-section,
.security-section,
.faq-section,
.open-source-section {
  padding-inline: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
  width: min(100%, calc(var(--content-width) + 48px));
  min-height: 84svh;
  margin-inline: auto;
  padding-top: clamp(54px, 7vh, 80px);
  padding-bottom: clamp(48px, 6vh, 72px);
  text-align: left;
}

.hero-copy,
.section-heading,
.origin-inner,
.origin-facts,
.product-stage,
.wide-media,
.feature-notes,
.experience-showcase,
.content-capabilities,
.theme-showcase,
.install-compatibility,
.install-steps,
.extension-support-guide,
.first-run,
.boundary-note,
.verification-chain,
.privacy-statement,
.faq-list,
.open-source-inner,
.footer-inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.hero-copy,
.section-heading {
  max-width: var(--text-width);
}

.hero-copy {
  width: 100%;
  max-width: 510px;
  margin-inline: 0;
}

.hero-app-icon {
  width: 126px;
  margin: 0 0 22px;
}

.media-shell-icon {
  aspect-ratio: 1;
  background: transparent;
}

.media-shell-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: 104px;
  line-height: 0.96;
}

h2 {
  font-size: 72px;
  line-height: 1.04;
}

.hero-tagline {
  margin: 22px 0 0;
  font-family: var(--display-font);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-summary,
.section-heading > p:last-child,
.open-source-copy > p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 650px;
  margin: 24px 0 0;
}

.compatibility {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-stage {
  width: 100%;
  max-width: none;
  margin: 0;
}

.media-shell {
  overflow: hidden;
}

.screenshot-shell {
  display: grid;
  place-items: center;
  aspect-ratio: var(--media-ratio, 16 / 10);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 26px 70px oklch(23.158% 0.00381 286.1 / 0.12), 0 4px 18px oklch(23.158% 0.00381 286.1 / 0.06);
}

.ratio-app {
  --media-ratio: 120 / 77;
}

.ratio-player {
  --media-ratio: 1480 / 833;
}

.ratio-experience {
  --media-ratio: 16 / 10;
}

.screenshot-shell-dark {
  background: var(--dark-media);
}

.screenshot-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-shell.is-missing {
  min-height: 160px;
}

.media-shell.is-missing img {
  display: none;
}

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

.feature-section,
.content-section,
.theme-section,
.security-section,
.open-source-section {
  min-height: 100svh;
  padding-top: clamp(100px, 13vw, 180px);
  padding-bottom: clamp(100px, 13vw, 180px);
}

.section-heading {
  text-align: center;
}

.section-heading > p:last-child {
  margin: 28px auto 0;
}

.origin-section {
  padding-top: 112px;
  padding-bottom: 112px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.origin-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 88px;
  align-items: start;
}

.origin-heading h2 {
  max-width: 660px;
  font-size: 64px;
}

.origin-copy {
  padding-top: 38px;
}

.origin-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.origin-copy p + p {
  margin-top: 22px;
}

.origin-copy .origin-lead {
  color: var(--fg);
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

.origin-disclaimer {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.origin-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.origin-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
}

.origin-facts div + div {
  border-left: 1px solid var(--border);
}

.origin-facts dt {
  color: var(--muted);
}

.origin-facts dd {
  margin: 0;
  font-weight: 600;
}

.wide-media {
  margin-top: clamp(54px, 8vw, 96px);
}

.wide-media figcaption {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.feature-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin-top: 72px;
  padding: 0;
  list-style: none;
}

.feature-notes li {
  min-width: 0;
  padding: 8px 34px;
  text-align: center;
}

.feature-notes li + li {
  border-left: 1px solid var(--border);
}

.feature-notes strong,
.feature-notes span {
  display: block;
}

.feature-notes strong {
  margin-bottom: 8px;
  font-family: var(--display-font);
  font-size: 20px;
  letter-spacing: 0;
}

.feature-notes span {
  color: var(--muted);
  font-size: 15px;
}

.experience-showcase,
.theme-showcase {
  max-width: 1040px;
  margin-top: clamp(54px, 8vw, 96px);
}

.theme-section {
  padding-top: clamp(84px, 8vw, 120px);
}

.feature-section {
  padding-top: clamp(72px, 7vw, 104px);
}

.feature-section h2 {
  font-size: 64px;
}

.feature-section .experience-showcase {
  margin-top: 36px;
}

.theme-section .theme-showcase {
  margin-top: 48px;
}

.install-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.install-compatibility {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.install-compatibility div {
  display: grid;
  gap: 7px;
  padding: 22px 30px;
  text-align: center;
}

.install-compatibility div + div {
  border-left: 1px solid var(--border);
}

.install-compatibility dt {
  color: var(--muted);
  font-size: 14px;
}

.install-compatibility dd {
  margin: 0;
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 600;
}

.install-steps {
  max-width: 940px;
  margin-top: 64px;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.install-step-number {
  padding-top: 3px;
  color: var(--accent);
  font-family: var(--mono-font);
  font-size: 14px;
  font-weight: 600;
}

.install-steps strong {
  display: block;
  font-family: var(--display-font);
  font-size: 24px;
}

.install-steps p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 17px;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--surface);
  font-family: var(--mono-font);
  font-size: 0.9em;
}

.first-run {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 64px;
  max-width: 940px;
  margin-top: 72px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.extension-support-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 48px;
  align-items: center;
  margin-top: 88px;
}

.extension-support-media {
  margin: 0;
}

.extension-support-image-link {
  display: block;
  cursor: zoom-in;
}

.extension-support-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #14111f;
  box-shadow: 0 24px 70px rgba(28, 25, 40, 0.14);
}

.extension-support-media figcaption {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.extension-support-copy h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 34px;
  line-height: 1.25;
}

.extension-support-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.first-run h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 36px;
}

.first-run p:last-child {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
}

.first-run .button {
  white-space: nowrap;
}

.experience-picker,
.theme-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.experience-option,
.theme-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 128px;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.experience-option:hover,
.theme-option:hover {
  border-color: var(--muted);
}

.experience-option.is-active,
.theme-option.is-active {
  border-color: var(--accent);
  background: oklch(56.292% 0.19333 256.16 / 0.08);
}

.theme-swatch {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid oklch(23.158% 0.00381 286.1 / 0.18);
  border-radius: 50%;
}

.swatch-aurora {
  background: #7142a8;
}

.swatch-green-peach {
  background: #d8e8ad;
}

.swatch-clear-sky {
  background: #efacd0;
}

.experience-stage,
.theme-stage {
  margin: 0;
}

.experience-stage figcaption,
.theme-stage figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.content-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin-top: clamp(58px, 8vw, 92px);
  padding: 0;
  list-style: none;
}

.content-capabilities li {
  min-width: 0;
  padding: 10px 34px;
  text-align: center;
}

.content-capabilities li + li {
  border-left: 1px solid var(--border);
}

.content-capabilities strong,
.content-capabilities span {
  display: block;
}

.content-capabilities strong {
  margin-bottom: 8px;
  font-family: var(--display-font);
  font-size: 20px;
}

.content-capabilities span {
  color: var(--muted);
  font-size: 15px;
}

.boundary-note {
  max-width: 760px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}

.verification-chain {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: clamp(64px, 9vw, 112px);
  padding: 0;
  list-style: none;
}

.verification-chain li {
  position: relative;
  min-width: 0;
  padding: 0 13px;
  text-align: center;
}

.verification-chain li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  right: -14px;
  width: 28px;
  height: 1px;
  background: var(--border);
}

.step-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--mono-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.verification-chain strong,
.verification-chain small {
  display: block;
}

.verification-chain strong {
  font-family: var(--display-font);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}

.verification-chain small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.privacy-statement {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  max-width: 860px;
  margin-top: 88px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.privacy-statement p {
  margin: 0;
}

.statement-label {
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 600;
}

.privacy-statement p:last-child {
  color: var(--muted);
}

.faq-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  max-width: 1040px;
  margin-top: 64px;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  min-height: 72px;
  padding: 24px 40px 22px 0;
  cursor: pointer;
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 21px;
  right: 4px;
  color: var(--accent);
  font-family: var(--mono-font);
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details[open] summary {
  color: var(--accent-hover);
}

.faq-list details p {
  margin: 0;
  padding: 0 32px 26px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.open-source-section {
  display: grid;
  align-items: center;
}

.open-source-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(54px, 10vw, 140px);
}

.license-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  font-family: var(--display-font);
  font-size: clamp(64px, 10vw, 128px);
  font-weight: 700;
  letter-spacing: 0;
}

.open-source-copy h2 {
  max-width: 720px;
}

.open-source-copy > p {
  max-width: 720px;
  margin: 28px 0 0;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 46px 0 0;
  border-top: 1px solid var(--border);
}

.project-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.project-facts dt {
  color: var(--muted);
}

.project-facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}

.text-link {
  min-height: 44px;
  padding: 10px 0;
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  padding: 34px 24px 44px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display-font);
  font-weight: 600;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.site-footer p,
.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer p {
  max-width: 660px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  h1 {
    font-size: 80px;
  }

  h2 {
    font-size: 56px;
  }

  .hero-tagline {
    font-size: 36px;
  }

  .verification-chain {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 42px 0;
  }

  .origin-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .origin-copy {
    max-width: 760px;
    padding-top: 0;
  }

  .extension-support-guide {
    grid-template-columns: 1fr;
  }

  .verification-chain li:nth-child(4)::after {
    display: none;
  }

  .open-source-inner {
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
    gap: 54px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .faq-list {
    gap: 0 34px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 52px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-shell {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span[aria-hidden="true"]:first-of-type {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span[aria-hidden="true"]:last-of-type {
    transform: translateY(-3px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    inset: var(--nav-height) 0 auto;
    display: grid;
    gap: 20px;
    max-height: 0;
    padding: 0 22px;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: oklch(100% 0 89.88 / 0.96);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: max-height 220ms ease, padding 220ms ease, opacity 160ms ease, border-color 160ms ease;
  }

  .nav-menu.is-open {
    max-height: calc(100svh - var(--nav-height));
    padding-top: 18px;
    padding-bottom: 24px;
    border-color: var(--border);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links,
  .nav-actions {
    align-items: stretch;
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }

  .nav-actions {
    justify-content: space-between;
  }

  .button-small {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 14px;
  }

  .hero,
  .origin-section,
  .feature-section,
  .content-section,
  .theme-section,
  .install-section,
  .security-section,
  .faq-section,
  .open-source-section {
    padding-inline: 20px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100svh - var(--nav-height) - 32px);
    padding-top: 32px;
    padding-bottom: 32px;
    text-align: center;
  }

  .hero-copy {
    max-width: var(--text-width);
    margin-inline: auto;
  }

  .hero-app-icon {
    width: 82px;
    margin-bottom: 14px;
    margin-inline: auto;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
  }

  .hero-summary {
    margin-inline: auto;
  }

  .product-stage {
    width: 84%;
    margin-top: 28px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 44px;
  }

  .origin-section,
  .install-section,
  .faq-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .origin-heading h2 {
    font-size: 44px;
  }

  .origin-copy .origin-lead {
    font-size: 21px;
  }

  .origin-facts,
  .install-compatibility {
    grid-template-columns: 1fr;
  }

  .origin-facts div,
  .install-compatibility div {
    padding-inline: 0;
  }

  .origin-facts div + div,
  .install-compatibility div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .install-compatibility div {
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
  }

  .install-steps li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }

  .first-run {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .extension-support-guide {
    gap: 28px;
    margin-top: 64px;
  }

  .extension-support-copy h3 {
    font-size: 28px;
  }

  .first-run .button {
    width: 100%;
  }

  .faq-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-tagline {
    margin-top: 14px;
    font-size: 26px;
  }

  .hero-summary,
  .section-heading > p:last-child,
  .open-source-copy > p {
    font-size: 18px;
  }

  .hero-summary {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.45;
  }

  .compatibility {
    margin-top: 14px;
    font-size: 12px;
  }

  .screenshot-shell {
    border-radius: 12px;
  }

  .feature-notes {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .feature-notes li {
    padding: 22px 8px;
  }

  .feature-notes li + li {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .experience-picker,
  .theme-picker {
    margin-bottom: 24px;
  }

  .experience-option,
  .theme-option {
    min-width: 0;
    flex: 1 1 140px;
  }

  .content-capabilities {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .content-capabilities li {
    padding: 22px 8px;
  }

  .content-capabilities li + li {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .verification-chain {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 560px;
  }

  .verification-chain li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 20px 0;
    text-align: left;
  }

  .verification-chain li + li {
    border-top: 1px solid var(--border);
  }

  .verification-chain li::after {
    display: none;
  }

  .step-number {
    grid-row: 1 / 3;
    margin: 2px 0 0;
  }

  .verification-chain small {
    margin-top: 4px;
  }

  .privacy-statement {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 58px;
  }

  .open-source-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .license-mark {
    width: min(62vw, 270px);
    margin-inline: auto;
    border-radius: 18px;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .cta-row .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer p {
    grid-column: auto;
    grid-row: auto;
  }

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

@media (max-width: 390px) {
  .brand {
    font-size: 16px;
  }

  .hero,
  .feature-section,
  .content-section,
  .theme-section,
  .security-section,
  .open-source-section {
    padding-inline: 16px;
  }

  .hero-tagline {
    font-size: 26px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 38px;
  }

  .project-facts div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .project-facts dd {
    text-align: left;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .hero {
    min-height: calc(100svh - var(--nav-height) - 36px);
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero-app-icon {
    width: 64px;
    margin-bottom: 10px;
  }

  .hero .eyebrow {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-tagline {
    margin-top: 10px;
    font-size: 24px;
  }

  .hero-summary {
    display: none;
  }

  .compatibility {
    display: none;
  }

  .product-stage {
    width: 82%;
    margin-top: 24px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
