/* SelecTranslate marketing site.
   Tokens follow the extension (src/ui/tokens.css) and the Web · Theme
   collection: muted text is #475569 in light mode for AA contrast. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --ext-muted: #64748b;
  --primary: #4338ca;
  --primary-hover: #3730a3;
  --primary-edge: #4338ca;
  --on-primary: #ffffff;
  --link: #4338ca;
  --focus: #4338ca;
  --chip: #e0e7ff;
  --hero: #eef2ff;
  --border-strong: #64748b;
  --placeholder: #f59e0b;
  --placeholder-text: #0f172a;
  --shadow: 0 8px 12px rgba(15, 23, 41, 0.18);
  --scrim: rgba(15, 23, 41, 0.5);
  --menu-shadow: 0 12px 16px rgba(15, 23, 41, 0.18);
  color-scheme: light;
}

:root[data-theme='dark'] {
  --bg: #0b1120;
  --surface: #0f172a;
  --surface-alt: #1e293b;
  --border: #334155;
  --text: #f8fafc;
  --muted: #94a3b8;
  --ext-muted: #94a3b8;
  --primary: #4338ca;
  --primary-hover: #3730a3;
  --primary-edge: #6366f1;
  --on-primary: #ffffff;
  --link: #818cf8;
  --focus: #818cf8;
  --chip: #312e81;
  --hero: #0f172a;
  --border-strong: #64748b;
  --placeholder: #fbbf24;
  --placeholder-text: #0f172a;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b1120;
    --surface: #0f172a;
    --surface-alt: #1e293b;
    --border: #334155;
    --text: #f8fafc;
    --muted: #94a3b8;
    --ext-muted: #94a3b8;
    --primary: #4338ca;
    --primary-hover: #3730a3;
    --primary-edge: #6366f1;
    --on-primary: #ffffff;
    --link: #818cf8;
    --focus: #818cf8;
    --chip: #312e81;
    --hero: #0f172a;
    --border-strong: #64748b;
    --placeholder: #fbbf24;
    --placeholder-text: #0f172a;
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--link);
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

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

.icon {
  display: inline-block;
  flex: none;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.icon-chevron {
  mask-image: url('/icons/chevron.svg');
  -webkit-mask-image: url('/icons/chevron.svg');
}

.icon-arrow {
  mask-image: url('/icons/arrow-right.svg');
  -webkit-mask-image: url('/icons/arrow-right.svg');
}

.icon-check {
  mask-image: url('/icons/check.svg');
  -webkit-mask-image: url('/icons/check.svg');
}

.icon-pointer {
  mask-image: url('/icons/pointer.svg');
  -webkit-mask-image: url('/icons/pointer.svg');
}

.icon-shield {
  mask-image: url('/icons/shield.svg');
  -webkit-mask-image: url('/icons/shield.svg');
}

.icon-lock {
  mask-image: url('/icons/lock.svg');
  -webkit-mask-image: url('/icons/lock.svg');
}

.icon-globe {
  mask-image: url('/icons/globe.svg');
  -webkit-mask-image: url('/icons/globe.svg');
}

.icon-mail {
  mask-image: url('/icons/mail.svg');
  -webkit-mask-image: url('/icons/mail.svg');
}

.icon-menu {
  mask-image: url('/icons/menu.svg');
  -webkit-mask-image: url('/icons/menu.svg');
}

.icon-close {
  mask-image: url('/icons/close.svg');
  -webkit-mask-image: url('/icons/close.svg');
}

.icon-moon {
  mask-image: url('/icons/moon.svg');
  -webkit-mask-image: url('/icons/moon.svg');
}

.icon-sun {
  mask-image: url('/icons/sun.svg');
  -webkit-mask-image: url('/icons/sun.svg');
}

.icon-tones {
  mask-image: url('/icons/tones.svg');
  -webkit-mask-image: url('/icons/tones.svg');
}

.icon-apply {
  mask-image: url('/icons/apply.svg');
  -webkit-mask-image: url('/icons/apply.svg');
}

.icon-styles {
  mask-image: url('/icons/styles.svg');
  -webkit-mask-image: url('/icons/styles.svg');
}

.icon-terms {
  mask-image: url('/icons/terms.svg');
  -webkit-mask-image: url('/icons/terms.svg');
}

.icon-languages {
  mask-image: url('/icons/languages.svg');
  -webkit-mask-image: url('/icons/languages.svg');
}

.icon-swap {
  mask-image: url('/icons/swap.svg');
  -webkit-mask-image: url('/icons/swap.svg');
}

.icon-up {
  mask-image: url('/icons/thumb-up.svg');
  -webkit-mask-image: url('/icons/thumb-up.svg');
}

.icon-down {
  mask-image: url('/icons/thumb-down.svg');
  -webkit-mask-image: url('/icons/thumb-down.svg');
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 28px;
  height: 28px;
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a,
.footer-links a,
.menu-link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover,
.button-ghost:hover,
.menu-theme:hover {
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.nav-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.button-md {
  height: 44px;
  padding: 0 20px;
}

.button-primary {
  background: var(--primary);
  border-color: var(--primary-edge);
  color: var(--on-primary);
}

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

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

.button-secondary:hover {
  background: var(--surface-alt);
}

.button-ghost {
  background: transparent;
  color: var(--text);
}

.button .icon-arrow {
  color: var(--link);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.icon-button:hover {
  background: var(--surface-alt);
}

.nav-menu {
  display: none;
}

.theme-icon-sun {
  display: none;
}

:root[data-theme='dark'] .theme-icon-moon {
  display: none;
}

:root[data-theme='dark'] .theme-icon-sun {
  display: inline-block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-icon-moon {
    display: none;
  }

  :root:not([data-theme='light']) .theme-icon-sun {
    display: inline-block;
  }
}

.band,
.section-hero {
  background: var(--hero);
}

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

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 96px 0 48px;
  text-align: center;
}

.eyebrow {
  color: var(--link);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.hero h1 {
  max-width: 880px;
  font-size: 56px;
  font-weight: 600;
  line-height: 64px;
  letter-spacing: -1.2px;
}

.hero .lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

.hero-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.demo {
  padding: 24px 0 96px;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.demo-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.demo-panel-after {
  align-items: center;
}

.demo-panel figcaption {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.demo-panel-after figcaption {
  text-align: center;
}

.message {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.message-label {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.selection {
  padding: 0 2px;
  border-radius: 4px;
  background: var(--chip);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.trigger-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.trigger {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  box-shadow: var(--shadow);
}

.trigger img {
  display: block;
  width: 20px;
  height: 20px;
}

.section {
  padding: 96px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.section-center .section-head {
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.page-hero h1 {
  font-weight: 600;
  letter-spacing: -0.6px;
}

.section-head h2 {
  font-size: 36px;
  line-height: 44px;
}

.section-head .lead,
.page-hero .lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

.section-body {
  margin-top: 48px;
}

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

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.card p,
.step p {
  color: var(--muted);
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--chip);
  color: var(--link);
}

.keys {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.key-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.key-row span {
  width: 76px;
  color: var(--muted);
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--text);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 500;
}

.chip .icon {
  color: var(--link);
}

.where-note {
  margin-top: 48px;
  color: var(--muted);
  text-align: center;
}

.privacy-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 64px;
  align-items: start;
}

.privacy-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.point .icon {
  color: var(--link);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.faq-button {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  list-style: none;
  cursor: pointer;
}

.faq-button::marker {
  content: '';
}

.faq-label {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.faq-label span:first-child {
  flex: 1;
}

.faq-button .icon {
  color: var(--text);
  transition: transform 0.15s ease;
}

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

.faq-item[open] .faq-button .icon {
  transform: rotate(180deg);
}

.faq-panel {
  padding-top: 8px;
  color: var(--muted);
}

.cta-band {
  padding: 96px 0;
  text-align: center;
}

.cta-band .section-head {
  margin-inline: auto;
}

.cta-band .button {
  margin-top: 32px;
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand p {
  margin-top: 8px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 4px;
}

.footer-links a:last-child {
  padding-right: 0;
}

.copyright {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.page-hero {
  padding: 80px 0 64px;
  background: var(--hero);
}

.page-hero .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 720px;
}

.page-hero h1 {
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.8px;
}

.effective {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.placeholder-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--placeholder);
  color: var(--placeholder-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: 64px 80px;
  justify-content: start;
  padding: 64px 0 96px;
}

.toc {
  position: sticky;
  top: 88px;
  align-self: start;
}

.toc p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.toc a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.toc li + li {
  margin-top: 4px;
}

.toc a[aria-current='true'] {
  background: var(--chip);
  font-weight: 600;
}

.policy {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}

.policy section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-margin-top: 96px;
}

.policy h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: -0.4px;
}

.policy p,
.policy li {
  font-size: 18px;
  line-height: 28px;
}

.policy a {
  color: var(--link);
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
  text-underline-offset: 3px;
}

.policy a:hover,
.address:hover {
  text-decoration: underline;
}

.policy ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.policy li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 11px;
  border-radius: 50%;
  background: currentColor;
}

.contact-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 64px 0 96px;
}

.email-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: min(720px, 100%);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.email-card h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.email-card p {
  color: var(--muted);
}

.email-card .address {
  color: var(--link);
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
  text-underline-offset: 3px;
}

.privacy-pointer {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(720px, 100%);
}

.privacy-pointer .icon {
  color: var(--link);
}

.not-found .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.popup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(320px, 100%);
  padding: 10px 12px 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
}

.popup-header,
.popup-source,
.popup-feedback,
.popup-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.popup-header img {
  display: block;
  width: 20px;
  height: 20px;
}

.popup-name {
  color: var(--ext-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
}

.popup-close {
  margin-left: auto;
  color: var(--ext-muted);
  font-size: 20px;
  line-height: 24px;
}

.popup-source {
  align-items: flex-start;
  gap: 6px;
}

.lang-chip {
  flex: none;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--chip);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.lang-arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 1px;
  vertical-align: -1px;
}

.popup-quote {
  flex: 1;
  min-width: 0;
  color: var(--ext-muted);
  font-size: 12px;
  line-height: 17px;
}

.swap {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.tones {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  background: var(--surface-alt);
}

.tone {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.tone.is-selected {
  border-color: var(--border);
  background: var(--surface);
  font-weight: 600;
}

.popup-result {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.popup-feedback {
  gap: 4px;
  color: var(--ext-muted);
  font-size: 12px;
  line-height: 17px;
}

.popup-feedback span:first-child {
  flex: 1;
}

.popup-feedback .icon {
  width: 16px;
  height: 16px;
  color: var(--ext-muted);
}

.popup-divider {
  height: 1px;
  background: var(--border);
}

.popup-actions {
  justify-content: flex-end;
}

.popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.popup-btn-secondary {
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.popup-btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--scrim);
}

.mobile-menu {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  box-shadow: var(--menu-shadow);
}

.mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
}

.menu-links {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.menu-link {
  height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.menu-theme {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 52px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.menu-cta {
  padding: 20px 20px 24px;
}

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

.sticky-cta {
  display: none;
}

@media (max-width: 959px) {
  html {
    scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .nav-inner {
    display: flex;
    justify-content: space-between;
    height: 64px;
  }

  .nav-links,
  .nav-cta,
  .theme-desktop {
    display: none;
  }

  html.js .nav-menu {
    display: inline-flex;
  }

  .hero {
    align-items: flex-start;
    gap: 20px;
    padding: 48px 0 32px;
    text-align: left;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.6px;
  }

  .hero .lead,
  .section-head .lead,
  .page-hero .lead {
    font-size: 16px;
    line-height: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 4px;
  }

  .hero-actions .button,
  .cta-band .button,
  .privacy-note .button,
  .not-found .button,
  .email-card .button {
    width: 100%;
  }

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

  .demo {
    padding: 8px 0 64px;
  }

  .demo-grid,
  .grid-3,
  .privacy-note,
  .doc {
    grid-template-columns: 1fr;
  }

  .demo-grid {
    gap: 16px;
  }

  .demo-panel {
    padding: 20px 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-center .section-head,
  .cta-band,
  .cta-band .section-head,
  .where-note,
  .chips {
    align-items: flex-start;
    margin-inline: 0;
    text-align: left;
    justify-content: flex-start;
  }

  .section-head h2 {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -0.4px;
  }

  .section-body {
    margin-top: 32px;
  }

  .grid-3 {
    gap: 16px;
  }

  .points {
    gap: 16px;
    padding-top: 0;
  }

  .where-note {
    margin-top: 32px;
  }

  .faq-list {
    margin-inline: 0;
  }

  .cta-band {
    padding: 64px 0;
  }

  .cta-band .button {
    margin-top: 32px;
  }

  .site-footer {
    padding: 32px 0;
  }

  .footer-inner,
  .footer-top {
    align-items: flex-start;
    gap: 20px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links a:first-child {
    padding-left: 0;
  }

  .footer-links a:last-child {
    padding-right: 20px;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .page-hero h1 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.6px;
  }

  .page-hero .lead {
    letter-spacing: -0.2px;
  }

  .effective {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .placeholder-tag {
    max-width: 220px;
  }

  .toc {
    display: none;
  }

  .policy {
    gap: 40px;
  }

  .policy h2 {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.2px;
  }

  .policy p,
  .policy li,
  .policy a {
    font-size: 16px;
    line-height: 24px;
  }

  .policy li::before {
    margin-top: 9px;
  }

  .doc {
    gap: 32px;
    padding: 40px 0 64px;
  }

  .toc {
    position: static;
  }

  .contact-body {
    padding: 40px 0 64px;
  }

  .email-card {
    padding: 24px;
  }

  .privacy-pointer {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .privacy-pointer p {
    flex: 1;
    min-width: 0;
  }

  .privacy-pointer .button {
    flex-basis: 100%;
    justify-content: center;
  }

  .privacy-pointer .button {
    align-self: center;
  }

  .sticky-cta {
    display: block;
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--surface);
  }

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

  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

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

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

.og-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 1200px;
  height: 630px;
  padding: 80px;
  background: var(--hero);
}

.og-card img {
  width: 64px;
  height: 64px;
}

.og-card strong {
  margin-top: 24px;
  font-size: 28px;
  line-height: 36px;
}

.og-card h1 {
  max-width: 900px;
  margin-top: 16px;
  font-size: 72px;
  font-weight: 600;
  line-height: 80px;
  letter-spacing: -1.4px;
}

.og-card p {
  max-width: 720px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 28px;
  line-height: 40px;
}

html.design-shot .theme-desktop,
html.design-shot .sticky-cta {
  display: none !important;
}

html.design-shot body {
  padding-bottom: 0 !important;
}

@media print {
  .sticky-cta,
  .nav-menu,
  .theme-desktop,
  .mobile-menu,
  .nav-scrim {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }
}
