:root {
  color-scheme: light dark;
  --page: #f6f7f9;
  --surface: #ffffff;
  --surface-strong: #e9edf4;
  --ink: #141923;
  --muted: #5b6574;
  --line: #d4dae4;
  --accent: #2867c8;
  --accent-strong: #184c9b;
  --accent-soft: #e6eefb;
  --focus: #1768dc;
  --shadow: rgba(36, 52, 74, 0.2);
  --radius: 16px;
  --nav-height: 72px;
  --max-width: 1320px;
  font-family:
    "Segoe UI Variable",
    "Segoe UI",
    "PingFang SC",
    system-ui,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* Changelog */
.changelog-document {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: clamp(88px, 10vw, 132px) 0 clamp(104px, 12vw, 160px);
}

.changelog-hero {
  max-width: 820px;
  padding-bottom: clamp(52px, 7vw, 80px);
  border-bottom: 1px solid var(--home-line);
}

.changelog-hero .eyebrow {
  margin: 0 0 18px;
  color: var(--home-accent-dark);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.changelog-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(3.4rem, 5.5vw, 5.4rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.changelog-hero > p:last-child {
  max-width: 44em;
  margin: 26px 0 0;
  color: var(--home-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

.changelog-layout {
  display: grid;
  grid-template-columns: minmax(150px, 0.23fr) minmax(0, 0.77fr);
  gap: clamp(48px, 8vw, 104px);
  padding-top: clamp(50px, 7vw, 80px);
}

.changelog-index {
  align-self: start;
  position: sticky;
  top: 136px;
  display: grid;
  gap: 15px;
  color: var(--home-muted);
  font-size: 0.82rem;
}

.changelog-index > strong {
  color: var(--home-ink);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.changelog-index nav {
  display: grid;
  gap: 8px;
}

.changelog-index a {
  color: inherit;
  text-decoration: none;
}

.changelog-index a[aria-current="page"],
.changelog-index a:hover,
.changelog-index a:focus-visible {
  color: var(--home-accent-dark);
}

.changelog-feed {
  min-width: 0;
}

.changelog-month {
  margin-bottom: 22px;
  color: var(--home-muted);
  font-size: 0.82rem;
  font-weight: 680;
  letter-spacing: 0.04em;
}

.changelog-entry {
  padding: 0 0 clamp(56px, 8vw, 88px);
  border-bottom: 1px solid var(--home-line);
}

.changelog-entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--home-muted);
  font-size: 0.82rem;
}

.changelog-entry-meta span {
  padding: 4px 9px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: var(--home-surface);
  color: var(--home-ink);
  font-size: 0.74rem;
  font-weight: 680;
}

.changelog-entry h2 {
  margin: 18px 0 34px;
  color: var(--home-ink);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 570;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.changelog-entry section + section {
  margin-top: 34px;
}

.changelog-entry h3 {
  margin: 0 0 13px;
  color: var(--home-ink);
  font-size: 0.94rem;
  font-weight: 720;
}

.changelog-entry ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--home-muted);
  line-height: 1.75;
}

.changelog-entry li::marker {
  color: var(--home-accent-dark);
}

@media (max-width: 767px) {
  .changelog-document {
    width: calc(100% - 32px);
    padding-top: 70px;
  }

  .changelog-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .changelog-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .changelog-index {
    position: static;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0f141c;
    --surface: #161d27;
    --surface-strong: #202a37;
    --ink: #f0f3f7;
    --muted: #aeb9c8;
    --line: #354151;
    --accent: #73a7ef;
    --accent-strong: #a8c7f3;
    --accent-soft: #172b49;
    --focus: #9bc4ff;
    --shadow: rgba(1, 6, 14, 0.45);
  }
}

:root[data-theme="dark"] {
  --page: #0f141c;
  --surface: #161d27;
  --surface-strong: #202a37;
  --ink: #f0f3f7;
  --muted: #aeb9c8;
  --line: #354151;
  --accent: #73a7ef;
  --accent-strong: #a8c7f3;
  --accent-soft: #172b49;
  --focus: #9bc4ff;
  --shadow: rgba(1, 6, 14, 0.45);
}

:root[data-theme="light"] {
  --page: #f6f7f9;
  --surface: #ffffff;
  --surface-strong: #e9edf4;
  --ink: #141923;
  --muted: #5b6574;
  --line: #d4dae4;
  --accent: #2867c8;
  --accent-strong: #184c9b;
  --accent-soft: #e6eefb;
  --focus: #1768dc;
  --shadow: rgba(36, 52, 74, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 66%, color-mix(in srgb, var(--accent) 5%, transparent) 66% 100%),
    radial-gradient(circle at 8% 7%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 25%);
  content: "";
  pointer-events: none;
}

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

a:hover {
  color: var(--accent-strong);
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  border-radius: 6px;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--page);
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  background: color-mix(in srgb, var(--page) 90%, transparent);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: var(--nav-height);
  margin: 0 auto;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: #f7fbff;
  font-weight: 750;
  line-height: 1;
  place-items: center;
}

.wordmark strong {
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 34px);
  white-space: nowrap;
}

.nav-links a,
.back-link {
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.nav-links a:hover,
.back-link:hover {
  color: var(--ink);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  white-space: nowrap;
  gap: 7px;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.theme-toggle-icon {
  display: inline-flex;
  width: 1.05em;
  height: 1.05em;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 1.08em;
  line-height: 1;
}

.theme-toggle:hover {
  border-color: var(--accent);
}

.theme-toggle:active,
.button:active {
  transform: translateY(1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-menu {
  position: relative;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding-left: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  gap: 3px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.language-picker-icon {
  flex: 0 0 auto;
  color: currentcolor;
}

.language-trigger {
  display: inline-flex;
  min-height: 34px;
  min-width: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 3px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  gap: 10px;
}

.language-menu:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.language-trigger:focus {
  outline: 0;
}

.language-chevron {
  flex: 0 0 auto;
  transition: transform 150ms ease;
}

.language-menu[data-open="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-popover {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 80;
  width: 202px;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--page) 96%, transparent);
  box-shadow: 0 16px 42px rgb(0 0 0 / 14%), 0 2px 8px rgb(0 0 0 / 6%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.language-popover button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.language-popover button:hover,
.language-popover button:focus-visible {
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
  outline: 0;
}

.language-popover button > span:first-child {
  display: grid;
}

.language-popover strong {
  font-size: 0.84rem;
}

.language-popover small {
  color: var(--muted);
  font-size: 0.7rem;
}

.language-check {
  color: var(--accent-strong);
  font-size: 0.9rem;
  opacity: 0;
}

.language-popover button[data-selected="true"] .language-check {
  opacity: 1;
}

.not-found-language {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: center;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: calc(100dvh - var(--nav-height));
  margin: 0 auto;
  padding: clamp(32px, 5vh, 56px) 0;
  gap: clamp(42px, 7vw, 96px);
}

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

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.25rem, 5.7vw, 5.6rem);
  font-weight: 640;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.hero-lede {
  max-width: 22em;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button-primary {
  background: var(--accent-strong);
  color: #f7fbff;
}

.button-primary:hover {
  background: var(--accent);
  color: #f7fbff;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

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

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  content: "";
}

.hero-visual img,
.evidence-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -40px var(--shadow);
  object-fit: cover;
}

.hero-visual img {
  aspect-ratio: 4 / 3;
}

.principles {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr 1fr;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article {
  min-height: 170px;
  padding: 34px clamp(24px, 3vw, 42px);
}

.principles article + article {
  border-left: 1px solid var(--line);
}

.principles h2 {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 750;
}

.principles p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.7;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 0;
}

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

.section-heading h2,
.evidence-copy h2,
.questions > h2,
.local-status h2,
.policy-page h1,
.policy-page h2,
.not-found h1 {
  margin: 0;
  font-weight: 630;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.section-heading h2,
.evidence-copy h2,
.questions > h2,
.local-status h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
}

.section-heading > p,
.evidence-copy > p,
.local-status p {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.workflow-grid article {
  min-height: 230px;
  padding: clamp(26px, 3.2vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.workflow-grid h3 {
  margin: 0 0 16px;
  font-size: 1.16rem;
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
}

.workflow-grid .workflow-lead {
  display: flex;
  grid-row: span 2;
  min-height: 460px;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, var(--accent-soft), transparent 72%),
    var(--surface);
}

.workflow-note {
  max-width: 20em;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 1.3rem;
  line-height: 1.5;
}

.workflow-grid article:nth-child(3) {
  background: var(--surface-strong);
}

.workflow-grid article:nth-child(5) {
  grid-column: span 2;
}

.evidence {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.evidence-visual {
  margin: 0;
}

.evidence-visual img {
  aspect-ratio: 3 / 2;
}

.evidence-copy h2 {
  max-width: 12ch;
}

.evidence-list {
  margin: 42px 0 0;
}

.evidence-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  gap: 18px;
}

.evidence-list dt {
  color: var(--accent-strong);
  font-weight: 720;
}

.evidence-list dd {
  margin: 0;
  color: var(--muted);
}

.privacy {
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.privacy-selector {
  display: grid;
  grid-template-columns: minmax(210px, 0.38fr) minmax(0, 0.62fr);
  min-height: 330px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tab-list {
  display: flex;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: var(--surface-strong);
  flex-direction: column;
  gap: 8px;
}

.tab-list button {
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  text-align: left;
}

.tab-list button:hover {
  color: var(--ink);
}

.tab-list button[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.tab-panel {
  align-self: center;
  max-width: 600px;
  padding: clamp(34px, 6vw, 80px);
}

.tab-panel h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.tab-panel p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 0;
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-note a {
  color: var(--accent-strong);
  font-weight: 700;
}

.questions {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.question-list {
  border-top: 1px solid var(--line);
}

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

.question-list summary {
  position: relative;
  padding: 24px 42px 24px 0;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 650;
  list-style: none;
}

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

.question-list summary::after {
  position: absolute;
  top: 23px;
  right: 4px;
  color: var(--accent-strong);
  content: "+";
  font-size: 1.3rem;
}

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

.question-list details p {
  max-width: 60ch;
  margin: -4px 0 24px;
  color: var(--muted);
}

.local-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 100px;
  padding: clamp(42px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, var(--accent-soft), transparent 70%),
    var(--surface);
  gap: 40px;
}

.local-status h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 150px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  gap: 32px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

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

.site-footer-links a,
.compact-footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-records {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: end;
  flex-wrap: wrap;
  min-height: 39px;
  padding: 0;
  gap: 8px 16px;
}

.site-records a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
  opacity: 1;
  text-decoration: none;
}

.site-records a:hover,
.site-records a:focus-visible {
  text-decoration: none;
}

.public-security-record::before {
  width: 12px;
  height: 13px;
  margin-right: 4px;
  flex: 0 0 auto;
  background: center / contain no-repeat url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAoCAYAAACWwljjAAAFQklEQVRYw+3Wa1BUdRjH8SOpMeg4WhZGpDIxiaaTeUFgWrxE4AVRQJGlRRAVIV1JkbgMgQLi5AVBQSVLSp0xlEAUKBEEFZCrCstll8UV2AV2YbmoGCrYv31+R95UL5pmmtamZ+bz6rz5nvOc/5zDcX9jGLs/iTxuyvIlWYkRFeTHA2HVRFtzfhthTG5KuH96/vUgNlC4mMgyw1NJit/aAXLKazYje9xtIMZ/OZz50gW+9hcNkvoLEemEPbnrSP47QYwxQ5Ifv54RqzcXwFFvSyjaOhfavN8F7Y5ZcC/HH9JOB4LNa9Zw5YA76OZV8vIGMdZtSp7cDrtOnOavYiQhTAiPwi1AMtIQaqyngsxpBtw2GAGDKfaQmpUAa6xc4Vfp4UtEdzAMycsT9JQ1Tyctl/2eEkuTlYysF/rCUNxMqDEzgTqzSXBnpgnIHCzgjvEEuD52DLBr3rA1MAaWmNtB582wdtIljZ9G9D+IPU6aTxIPBjHCcXvg3CEh9K2fDLWvjIH6D6fwTIyheuwEqLUyhzLOALq8pkN+bgRw3HY4FBsMzxojZxP9DequLjAlQwVrbpIjhyIY4UYGQ/buhdBqPxlk3Gion2IMDQIz3kJe/ZS34I7uHkmD7VSQVgYDNyIAwsNCgfXGXoOBPjP9DKrOCAogA2etGTmTHAMcFwFZye7wS5QlVHGjoEw4A2qPCUBZ6AzNcQ5Q/YYRdO+YB1U3dsDwypLio4FJ3ECryIzWz6Cm3NgTRHN8HiPF6eHAGSbAdh8feFZkB7krzaHE9h2o85sDsiAbkIsXQMN+e2CtGyF0kzdwXCgU5++D/ouLQFV4OEU/g2Q/iNuIPNaKkQflAWBqexxGjhLDVUcL6IwSQN3SGVChe6FJg9dckCx6D1QBliDZLIAxo7eA8eyv4KE0BJqTrHkZvnL9DJKn+Twmt0NsGGHZy2Dn3kQYfsQ53Hh4/r4RNGz8AIpdzKEuaAF0RC2E57MmQgE3ATjuM/CPiANW7AqSfQJQ5vk362eQKmd3JrmXsoSRocpNIMnbB9zbceDIWUPmuHFQNMkISqa9DpUvNK6YDpW2s8DfwBK48WFQnhMCgzUBoLy0BrRVe5P0NWjPLdKUsJiR1tR1wGp8IeZwMgx/SrgRvjxuAziNcwLvyathLOcJHLflhRDYGRYFrNET2rJ5yvPLoas0tOj/oL8UpC4JHyTSU+6MNCS4gvKoAB5WiKG+MAQSg0WwLXQ/ZJ3xhao0FxB5hYCbUwAEfhEF3Td8QP2dAOQnPwFlxgrolUVq9TPoaX+ZB2nLc2Gk6awj1MU78HZZwJMid2Byb550JQwVO0NfxlJgdz14vWKeRAiK6DlQF28PLZdcoLNcBIO92bb6GTQ8Q/13RURT6tlH2gvXMlITLYD6uI+gp2ozdF0VQXumM6ivCqGvahM8kPiDItkeGo8tB025GFQ3xFrSr06zI3/4yde7oN7m0sWk5eKWDqK5JWJQvAHac9ygq3Adr9gTNNc3QG85rzPfHe5/7wDtPwuhp/Zz6CjyhaZzwi6ivfetHdH/oP77+3PJQOsuRnqkQdCa4wWqyx6gyecpL64GTaEX7ycXUJz4GJp1B4O0X/Hg0Xp1tFV+8Ei1k6c5coHofxBrrzQinbKYo0SVJ+wn6iurGHlY5gY911aDJnMFaHXXiDp9GQyvtKfUA9QFTtBZ7gPdit0tpFd9OpwwFmlA9D/o9yNLDpxIKmI8PMnNSNtviCLVpYTITzrXEGWaq4qos0WgOPdpCenIF+eRrurjB4k0PXopYZG6gMg/D/gNBUxhAbSAmKMAAAAASUVORK5CYII=");
  content: "";
  filter: none;
  opacity: 1;
}

.policy-page {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) 0;
}

.policy-page > header {
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.policy-page h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.policy-page header > p:last-child {
  max-width: 55ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.policy-page section {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 0.68fr);
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  gap: 36px;
}

.policy-page h2 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.policy-page section p {
  margin: 0;
  color: var(--muted);
}

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

.install-page {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.install-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: min(660px, calc(100dvh - var(--nav-height)));
  align-items: center;
  padding: clamp(54px, 8vw, 104px) 0;
  gap: clamp(42px, 8vw, 110px);
}

.install-intro h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.2rem);
  font-weight: 640;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.install-intro > div > p:last-child {
  max-width: 30em;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.install-intro figure {
  margin: 0;
}

.install-intro img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -40px var(--shadow);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.acquisition-status {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.85fr);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  gap: 48px;
}

.acquisition-status[data-acquisition-status="ready"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 44%, var(--surface));
}

.acquisition-status[data-acquisition-status="unavailable"] {
  border-style: dashed;
}

.acquisition-status h2,
.platform-downloads h2,
.acceptance-path h2,
.install-boundary h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.acquisition-status p,
.platform-downloads .section-heading p,
.acceptance-path > div > p,
.install-boundary p {
  max-width: 44em;
  margin: 16px 0 0;
  color: var(--muted);
}

.advanced-details,
.package-details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.advanced-details summary,
.package-details summary {
  padding: 14px 16px;
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 700;
}

.advanced-details[open] summary,
.package-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.identity-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 18px 16px;
  gap: 20px;
}

.identity-summary div {
  min-width: 0;
}

.identity-summary dt,
.platform-panel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.identity-summary dd,
.platform-panel dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.platform-downloads {
  padding: clamp(90px, 10vw, 150px) 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 52px;
  gap: 24px;
}

.platform-panel {
  display: flex;
  min-height: 560px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}

.platform-panel[data-recommended="true"] {
  order: -1;
  border-color: var(--accent);
  box-shadow: 0 24px 60px -48px var(--shadow);
}

.platform-word {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 70%, var(--surface)), var(--surface) 58%);
}

.platform-wps {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 72%, var(--surface)), var(--surface) 62%);
}

.platform-recommendation {
  width: fit-content;
  margin: 0 0 18px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--accent);
  color: #f7fbff;
  font-size: 0.82rem;
  font-weight: 750;
}

.platform-name {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-weight: 750;
}

.platform-panel h3 {
  margin: 0;
  font-size: clamp(2.1rem, 3.8vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.platform-panel > div > p:last-child {
  max-width: 34em;
  margin: 22px 0 0;
  color: var(--muted);
}

.install-steps {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: minmax(110px, 0.34fr) minmax(0, 0.66fr);
  padding: 17px 0;
  gap: 20px;
}

.install-steps li + li {
  border-top: 1px solid var(--line);
}

.install-steps strong {
  color: var(--ink);
}

.install-steps span {
  color: var(--muted);
}

.install-steps code {
  color: var(--ink);
  font-size: 0.9em;
}

.package-details dl {
  display: grid;
  margin: 0;
  padding: 18px 16px 0;
  gap: 16px;
}

.package-details .button {
  margin: 18px 16px;
}

.platform-panel code {
  font-size: 0.84rem;
}

.package-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.download-feedback {
  min-height: 1.65em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.package-actions [aria-disabled="true"] {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
}

.package-actions button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.acceptance-path {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(500px, 1.16fr);
  align-items: start;
  padding: clamp(80px, 9vw, 130px) 0;
  border-top: 1px solid var(--line);
  gap: clamp(48px, 8vw, 110px);
}

.acceptance-path ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 20px;
  list-style: none;
}

.acceptance-path li {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 0.62fr);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  gap: 26px;
}

.acceptance-path li::before {
  content: none;
}

.acceptance-path li strong {
  font-size: 1.08rem;
}

.acceptance-path li span {
  color: var(--muted);
}

.install-boundary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: clamp(38px, 5vw, 64px);
  margin-bottom: 100px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  gap: 34px;
}

.not-found {
  display: flex;
  width: min(calc(100% - 40px), 760px);
  min-height: 100dvh;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.not-found p {
  margin: 0 0 20px;
  color: var(--accent-strong);
  font-weight: 700;
}

.not-found h1 {
  max-width: 12ch;
  margin-bottom: 34px;
  font-size: clamp(3rem, 8vw, 6rem);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .back-link {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 36px;
  }

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

  .principles article:last-child {
    grid-column: span 2;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .evidence-visual {
    max-width: 800px;
  }

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

  .install-intro {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  }

  .acquisition-status,
  .acceptance-path {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-height: 64px;
  }

  .nav-shell,
  .hero,
  .principles,
  .section-shell,
    .site-footer,
    .policy-page,
    .install-page,
    .not-found {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100dvh - var(--nav-height));
    padding: 34px 0 26px;
    gap: 26px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.72rem, 12vw, 4.2rem);
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-visual {
    width: min(100%, 520px);
  }

  .hero-visual::before {
    inset: -9px 9px 9px -9px;
  }

  .hero-visual img {
    max-height: 32dvh;
  }

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

  .principles article {
    min-height: auto;
  }

  .principles article + article,
  .principles article:last-child {
    grid-column: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-shell {
    padding: 80px 0;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .workflow-grid article,
  .workflow-grid .workflow-lead {
    grid-row: auto;
    grid-column: auto !important;
    min-height: auto;
  }

  .workflow-grid .workflow-lead {
    min-height: 320px;
  }

  .evidence {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .evidence-copy h2 {
    max-width: 14ch;
  }

  .privacy-selector {
    grid-template-columns: 1fr;
  }

  .tab-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tab-list button {
    padding: 13px 8px;
    text-align: center;
  }

  .tab-panel {
    min-height: 240px;
  }

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

  .questions {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .local-status {
    grid-template-columns: 1fr;
    align-items: start;
    margin-bottom: 72px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 38px 0 0;
  }

  .site-footer p {
    text-align: left;
  }

  .site-footer-links {
    flex-wrap: wrap;
  }

  .site-records {
    justify-content: center;
    padding-bottom: 0;
  }

  .policy-page {
    padding: 70px 0;
  }

  .policy-page section {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .install-intro,
  .platform-grid,
  .acceptance-path,
  .install-boundary {
    grid-template-columns: 1fr;
  }

  .install-intro {
    min-height: auto;
    padding: 58px 0 72px;
  }

  .install-intro h1 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .install-intro figure {
    max-width: 560px;
  }

  .acquisition-status {
    padding: 26px;
    gap: 30px;
  }

  .identity-summary {
    grid-template-columns: 1fr;
  }

  .platform-downloads {
    padding: 82px 0;
  }

  .platform-panel {
    min-height: 420px;
  }

  .platform-wps {
    margin-top: 0;
  }

  .acceptance-path li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .install-boundary {
    align-items: start;
    margin-bottom: 72px;
  }

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

/* Account and authenticated support surfaces */
.nav-account {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--home-muted);
  font-size: 0.86rem;
  font-weight: 620;
  text-decoration: none;
}

.nav-account:hover,
.nav-account[aria-current="page"] {
  background: var(--home-soft);
  color: var(--home-ink);
}

.account-page {
  width: min(calc(100% - 48px), 1240px);
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: clamp(46px, 5vw, 74px) 0 clamp(84px, 9vw, 124px);
  color: var(--home-ink);
}

.account-loading {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  color: var(--home-muted);
  gap: 12px;
}

.account-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--home-line);
  border-top-color: var(--home-accent-dark);
  border-radius: 50%;
  animation: account-spin 800ms linear infinite;
}

@keyframes account-spin {
  to { transform: rotate(360deg); }
}

.auth-layout {
  display: grid;
  min-height: min(720px, calc(100dvh - 164px));
  align-items: stretch;
  grid-template-columns: minmax(380px, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(42px, 6vw, 84px);
}

.auth-entry {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 18px 0;
}

.auth-heading {
  width: min(100%, 450px);
  margin: 0 auto 30px;
}

.auth-heading h1 {
  max-width: none;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 610;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.auth-heading > p:last-child {
  max-width: 37em;
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.auth-card,
.account-panel {
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-surface);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--shadow) 18%, transparent);
}

.auth-card {
  width: min(100%, 450px);
  min-width: 0;
  margin: 0 auto;
  padding: 7px 30px 26px;
  border-radius: 20px;
  box-shadow: 0 22px 66px color-mix(in srgb, var(--shadow) 14%, transparent);
}

.auth-tabs {
  display: grid;
  margin: 0 -16px 28px;
  padding: 5px;
  border-radius: 12px;
  background: var(--home-soft);
  grid-template-columns: repeat(2, 1fr);
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--home-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
}

.auth-tabs button[aria-selected="true"] {
  background: var(--home-surface);
  color: var(--home-ink);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--shadow) 20%, transparent);
}

.auth-card-heading {
  margin-bottom: 22px;
}

.auth-card-heading h2,
.account-panel h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.38rem;
  letter-spacing: -0.035em;
}

.auth-card-heading p,
.account-panel-copy {
  margin: 7px 0 0;
  color: var(--home-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.account-form {
  display: grid;
  gap: 16px;
}

.account-form.compact {
  margin-top: 22px;
  gap: 14px;
}

.account-form .form-field input,
.account-ticket-detail .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--home-line);
  border-radius: 11px;
  background: var(--home-page);
  color: var(--home-ink);
  font: inherit;
}

.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-label-row .text-button {
  color: var(--home-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.form-label-row .text-button:hover,
.auth-legal a:hover {
  color: var(--home-accent-dark);
}

.account-ticket-detail .form-field textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.account-form .form-field input:focus,
.account-ticket-detail .form-field textarea:focus {
  border-color: var(--focus);
  outline: 3px solid color-mix(in srgb, var(--focus) 22%, transparent);
  outline-offset: 1px;
}

.account-form .form-field small {
  color: var(--home-muted);
  font-size: 0.75rem;
}

.account-checkbox {
  display: flex;
  align-items: flex-start;
  color: var(--home-muted);
  cursor: pointer;
  font-size: 0.82rem;
  gap: 9px;
}

.account-checkbox input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--home-accent);
}

.account-submit {
  width: 100%;
  min-height: 48px;
}

.auth-inline-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.auth-legal {
  margin: 22px 0 0;
  color: var(--home-muted);
  font-size: 0.71rem;
  line-height: 1.65;
  text-align: center;
}

.auth-legal a {
  color: inherit;
  text-underline-offset: 2px;
}

.auth-legal span + a,
.auth-legal a + span {
  margin-left: 4px;
}

.auth-visual {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  align-content: center;
  padding: clamp(26px, 3.5vw, 46px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(147, 197, 253, 0.55), transparent 32%),
    radial-gradient(circle at 10% 96%, rgba(12, 74, 220, 0.65), transparent 42%),
    #1d4ed8;
  color: white;
  isolation: isolate;
}

.auth-visual::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

.auth-document-preview {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  min-height: 340px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px 18px 0 0;
  background: #f2f5f9;
  box-shadow: 0 34px 80px rgba(5, 29, 90, 0.34);
  color: #111827;
}

.auth-document-toolbar {
  display: flex;
  height: 38px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid #d9e0ea;
  background: #ffffff;
  gap: 7px;
}

.auth-document-toolbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c3ccd8;
}

.auth-document-toolbar span {
  width: 90px;
  height: 7px;
  margin-left: 8px;
  border-radius: 999px;
  background: #e6ebf1;
}

.auth-document-canvas {
  position: relative;
  min-height: 302px;
  padding: 26px;
}

.auth-document-sheet {
  display: grid;
  width: 68%;
  min-height: 290px;
  align-content: start;
  padding: 30px 32px;
  background: white;
  box-shadow: 0 7px 22px rgba(15, 23, 42, 0.09);
  gap: 9px;
}

.auth-document-sheet b,
.auth-document-sheet span,
.auth-document-sheet em {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #d4dae3;
}

.auth-document-sheet b {
  width: 70%;
  height: 11px;
  margin-bottom: 11px;
  background: #253044;
}

.auth-document-sheet .short { width: 62%; }
.auth-document-sheet .medium { width: 83%; }

.auth-document-sheet em {
  width: 90%;
  height: 18px;
  margin: 4px 0;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.15);
  box-shadow: inset 3px 0 #2563eb;
}

.auth-suggestion-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 47%;
  padding: 16px;
  border: 1px solid #d9e3f2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(26, 53, 98, 0.2);
}

.auth-suggestion-label {
  color: #2563eb;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.auth-suggestion-card strong {
  display: block;
  margin: 5px 0 12px;
  color: #172033;
  font-size: 0.82rem;
}

.auth-suggestion-card > div {
  display: grid;
  gap: 6px;
}

.auth-suggestion-card i {
  height: 5px;
  border-radius: 999px;
  background: #e2e7ee;
}

.auth-suggestion-card i:nth-child(2) { width: 84%; }
.auth-suggestion-card i:nth-child(3) { width: 62%; }

.auth-suggestion-action {
  display: grid;
  width: 100%;
  min-height: 30px;
  margin-top: 14px;
  place-items: center;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
}

.account-body[data-account-state="anonymous"] .marketing-links,
.account-body[data-account-state="anonymous"] .nav-account,
.account-body[data-account-state="anonymous"] .nav-download,
.account-body[data-account-state="authenticated"] .marketing-links,
.account-body[data-account-state="authenticated"] .nav-account,
.account-body[data-account-state="authenticated"] .nav-download {
  display: none;
}

.account-body[data-account-state="anonymous"] .marketing-nav,
.account-body[data-account-state="authenticated"] .marketing-nav {
  justify-content: space-between;
}

.account-body[data-account-state="authenticated"] .marketing-footer {
  display: none;
}

.text-button,
.auth-back {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--home-accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  text-align: left;
}

.auth-back {
  margin-bottom: 22px;
}

.form-notice {
  margin: 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--home-success) 10%, var(--home-surface));
  color: var(--home-success);
  font-size: 0.82rem;
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--home-accent);
  color: white;
  font-size: 0.9rem;
  font-weight: 750;
}

.account-identity > span:last-child {
  display: grid;
}

.account-identity strong {
  font-size: 0.92rem;
}

.account-identity small {
  color: var(--home-muted);
  font-size: 0.75rem;
}

.account-app-shell {
  display: grid;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: var(--home-surface);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--shadow) 13%, transparent);
  grid-template-columns: 248px minmax(0, 1fr);
}

.account-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px 18px 20px;
  border-right: 1px solid var(--home-line);
  background: color-mix(in srgb, var(--home-soft) 60%, var(--home-surface));
}

.account-sidebar .account-identity {
  padding: 0 8px 24px;
}

.account-section-nav {
  display: grid;
  gap: 5px;
}

.account-section-nav button {
  display: grid;
  width: 100%;
  min-height: 58px;
  align-content: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--home-muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
  gap: 2px;
}

.account-section-nav button:hover {
  background: color-mix(in srgb, var(--home-surface) 72%, transparent);
  color: var(--home-ink);
}

.account-section-nav button[aria-current="page"] {
  background: var(--home-surface);
  color: var(--home-ink);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--shadow) 13%, transparent);
}

.account-section-nav span {
  font-size: 0.86rem;
  font-weight: 680;
}

.account-section-nav small {
  color: var(--home-muted);
  font-size: 0.68rem;
}

.account-sidebar-actions {
  display: grid;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--home-line);
  gap: 4px;
}

.account-sidebar-link,
.account-signout {
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--home-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 620;
  line-height: 38px;
  text-align: left;
  text-decoration: none;
}

.account-sidebar-link:hover,
.account-signout:hover {
  background: var(--home-surface);
  color: var(--home-ink);
}

.account-workspace {
  min-width: 0;
  padding: clamp(32px, 4vw, 52px);
}

.account-workspace-heading {
  max-width: 620px;
  margin-bottom: 38px;
}

.account-workspace-heading p {
  margin: 0 0 8px;
  color: var(--home-accent-dark);
  font-size: 0.72rem;
  font-weight: 720;
}

.account-workspace-heading h1 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 610;
  letter-spacing: -0.05em;
}

.account-workspace-heading span {
  display: block;
  margin-top: 9px;
  color: var(--home-muted);
  font-size: 0.88rem;
}

.account-view[hidden] {
  display: none;
}

.account-panel {
  padding: 26px;
}

.account-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}

.account-panel-heading .section-kicker,
.account-security-column .section-kicker {
  margin-bottom: 5px;
}

.account-view > .account-panel {
  box-shadow: none;
}

.account-view-heading {
  max-width: 650px;
  margin-bottom: 26px;
}

.account-view-heading h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.account-view-heading p {
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.account-plan-overview {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: 16px;
}

.account-plan-summary,
.account-quota-summary {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-surface);
}

.account-plan-summary {
  display: grid;
  align-content: start;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.account-plan-summary > div > span,
.account-quota-heading > div > span,
.account-quota-heading > span {
  display: block;
  color: var(--home-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.account-plan-summary > div > strong {
  display: block;
  margin-top: 7px;
  color: var(--home-ink);
  font-size: 1.36rem;
  letter-spacing: -0.035em;
}

.account-plan-badge {
  align-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--home-accent) 12%, var(--home-surface));
  color: var(--home-accent-dark);
  font-size: 0.7rem;
  font-weight: 750;
}

.account-plan-summary > p,
.account-quota-summary > p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.account-plan-summary > p,
.account-plan-summary > a {
  grid-column: 1 / -1;
}

.account-plan-summary > a {
  width: max-content;
}

.account-quota-summary {
  display: grid;
  align-content: start;
  gap: 18px;
}

.account-quota-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.account-quota-heading strong {
  display: block;
  margin-top: 4px;
  color: var(--home-ink);
  font-size: 2rem;
  letter-spacing: -0.055em;
  line-height: 1;
}

.account-quota-heading strong small {
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.account-quota-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--home-soft);
}

.account-quota-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--home-accent);
  transition: width 240ms ease;
}

.account-plan-error {
  margin-top: 14px;
}

.account-settings-list {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-surface);
}

.account-setting-row {
  display: grid;
  align-items: start;
  padding: 26px;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr);
  gap: 34px;
}

.account-setting-row + .account-setting-row {
  border-top: 1px solid var(--home-line);
}

.account-setting-row > div > strong {
  display: block;
  color: var(--home-ink);
  font-size: 0.92rem;
}

.account-setting-row > div > p {
  max-width: 42ch;
  margin: 7px 0 0;
  color: var(--home-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.account-setting-row .account-form {
  max-width: 430px;
  margin-top: 0;
}

.account-readonly-value {
  padding-top: 2px;
  color: var(--home-ink);
  font-size: 0.86rem;
  word-break: break-word;
}

.account-ticket-list {
  display: grid;
  border-top: 1px solid var(--home-line);
}

.account-ticket-row {
  display: grid;
  width: 100%;
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid var(--home-line);
  background: transparent;
  color: var(--home-ink);
  cursor: pointer;
  text-align: left;
  gap: 8px;
}

.account-ticket-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: var(--home-soft);
}

.account-ticket-row > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-ticket-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}

.account-ticket-row-meta {
  color: var(--home-muted);
  font-size: 0.75rem;
}

.ticket-status-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--home-soft);
  color: var(--home-muted);
  font-size: 0.69rem;
  font-weight: 700;
}

.ticket-status-pill.status-waiting_on_support,
.ticket-status-pill.status-open {
  background: color-mix(in srgb, var(--home-accent) 12%, var(--home-surface));
  color: var(--home-accent-dark);
}

.ticket-status-pill.status-resolved {
  background: color-mix(in srgb, var(--home-success) 12%, var(--home-surface));
  color: var(--home-success);
}

.account-empty {
  display: grid;
  min-height: 190px;
  place-content: center;
  color: var(--home-muted);
  text-align: center;
  gap: 8px;
}

.account-empty strong {
  color: var(--home-ink);
}

.account-empty p {
  max-width: 42ch;
  margin: 0;
  font-size: 0.84rem;
}

.account-ticket-detail > header {
  margin-bottom: 24px;
}

.account-ticket-detail h3 {
  margin: 5px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.05rem;
}

.account-ticket-detail header > p:last-child {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.78rem;
}

.account-setting-row.account-danger {
  border-color: color-mix(in srgb, #b42318 30%, var(--home-line));
  background: color-mix(in srgb, #b42318 2.5%, var(--home-surface));
  box-shadow: none;
}

.danger-button {
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, #b42318 45%, var(--home-line));
  border-radius: 9px;
  background: transparent;
  color: color-mix(in srgb, #b42318 78%, var(--home-ink));
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
}

.danger-button:hover {
  background: color-mix(in srgb, #b42318 8%, var(--home-surface));
}

@media (max-width: 980px) {
  .auth-layout {
    min-height: auto;
    grid-template-columns: minmax(330px, 0.9fr) minmax(360px, 1.1fr);
    gap: 30px;
  }

  .auth-visual {
    min-height: 580px;
    padding: 34px;
    border-radius: 22px;
  }

  .auth-document-preview {
    margin-right: auto;
    margin-left: auto;
  }

  .account-app-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .account-workspace {
    padding: 34px 28px;
  }

  .account-setting-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .account-plan-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .account-page {
    width: calc(100% - 32px);
    min-height: auto;
    padding-top: 38px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .auth-entry {
    padding: 0;
  }

  .auth-heading {
    margin-bottom: 24px;
  }

  .auth-heading h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 11vw, 3.85rem);
  }

  .auth-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .auth-visual {
    min-height: 510px;
    grid-row: 2;
  }

  .auth-document-preview {
    min-height: 290px;
    margin: 0 auto;
  }

  .account-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-app-shell {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    padding: 18px;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: var(--home-surface);
  }

  .account-sidebar .account-identity {
    padding: 0 0 16px;
  }

  .account-section-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .account-section-nav button {
    min-height: 50px;
  }

  .account-section-nav small {
    display: none;
  }

  .account-section-nav span {
    font-size: 0.74rem;
    line-height: 1.25;
    text-align: center;
  }

  .account-sidebar-actions {
    display: flex;
    margin-top: 14px;
    padding-top: 12px;
    justify-content: space-between;
  }

  .account-workspace {
    padding: 34px 0 0;
  }

  .account-workspace-heading {
    margin-bottom: 28px;
  }

  .account-plan-summary,
  .account-quota-summary {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .nav-account {
    min-height: 34px;
    padding: 0 7px;
    font-size: 0.75rem;
  }

  .account-body .nav-download {
    display: none;
  }

  .auth-heading .eyebrow {
    font-size: 0.7rem;
  }

  .auth-tabs {
    margin-right: -10px;
    margin-left: -10px;
  }

  .auth-visual {
    min-height: 470px;
    padding: 28px 24px;
  }

  .auth-document-preview {
    width: calc(100% + 32px);
    margin-right: -16px;
    margin-left: -16px;
  }

  .auth-suggestion-card {
    width: 55%;
  }

  .account-panel {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-spinner {
    animation-duration: 1600ms;
  }

  .account-ticket-row {
    transition: none;
  }
}

.support-account-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--home-line);
  border-radius: 11px;
  background: var(--home-soft);
  color: var(--home-muted);
  font-size: 0.79rem;
  gap: 8px 14px;
}

.support-account-context a,
.support-claim-actions a {
  color: var(--home-accent-dark);
  font-weight: 650;
  text-decoration: none;
}

.ticket-account-result {
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 0.78rem;
}

.support-claim-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
  gap: 10px 16px;
}

.support-claim-actions p {
  flex-basis: 100%;
  margin: 0;
  color: var(--home-muted);
  font-size: 0.78rem;
}

@media (max-height: 720px) and (min-width: 768px) {
  .hero {
    padding: 28px 0;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 5vw, 4.5rem);
  }

  .hero-visual img {
    max-height: 64dvh;
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
  }
}

/* Homepage redesign: editorial restraint with product-first evidence. */
[hidden] {
  display: none !important;
}

body {
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  background:
    radial-gradient(circle at 50% 5%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 42%, transparent), transparent 25%);
}

.site-header {
  background: color-mix(in srgb, var(--page) 88%, transparent);
}

.nav-shell {
  gap: 32px;
}

.wordmark span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--page);
  font-size: 0.94rem;
  font-weight: 760;
}

.wordmark strong {
  font-size: 1.08rem;
  font-weight: 720;
}

.nav-links {
  justify-content: center;
}

.theme-toggle {
  min-width: 68px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  font-weight: 650;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
}

.button-primary {
  background: var(--ink);
  color: var(--page);
}

.button-primary:hover {
  background: var(--accent-strong);
  color: #f7f9fc;
}

.button-secondary {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.hero {
  display: flex;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: calc(100dvh - var(--nav-height));
  padding: clamp(38px, 5vh, 62px) 0 24px;
  flex-direction: column;
  justify-content: center;
  gap: clamp(30px, 4vh, 48px);
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  max-width: 10.5em;
  margin: 0 auto;
  font-size: clamp(3.2rem, 6.4vw, 6.5rem);
  font-weight: 610;
  letter-spacing: -0.072em;
  line-height: 1.03;
}

.hero-lede {
  max-width: 34em;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.hero-visual {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 34px 90px -54px var(--shadow);
}

.hero-visual::before {
  content: none;
}

.hero-visual img {
  width: 100%;
  height: clamp(250px, 39dvh, 430px);
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center 54%;
}

.hero-visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 14px 20px;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual figcaption strong {
  color: var(--ink);
  font-weight: 700;
}

.capability-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 112px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  gap: clamp(28px, 6vw, 80px);
}

.capability-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.capability-strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 24px;
  list-style: none;
}

.capability-strip li {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 680;
  white-space: nowrap;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  padding: clamp(92px, 11vw, 150px) 0;
}

.product-heading {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 720;
}

.product-heading h2,
.workflow-intro h2,
.evidence-copy h2,
.privacy-heading h2,
.questions-heading h2,
.local-status h2 {
  margin: 0;
  font-size: clamp(2.55rem, 5.2vw, 5.2rem);
  font-weight: 610;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.product-heading > p:last-child,
.workflow-intro > p,
.evidence-copy > p,
.privacy-heading > p,
.questions-heading > p,
.local-status p {
  max-width: 56ch;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-gallery {
  margin-top: clamp(48px, 7vw, 82px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-strong) 65%, var(--surface));
  box-shadow: 0 38px 90px -62px var(--shadow);
}

.product-tab-list {
  display: flex;
  width: fit-content;
  margin: 2px auto 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  gap: 4px;
}

.product-tab-list button {
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 680;
  white-space: nowrap;
}

.product-tab-list button:hover {
  color: var(--ink);
}

.product-tab-list button[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 24px -18px var(--shadow);
}

.product-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.product-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-panel figcaption {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: clamp(58px, 9vw, 130px);
}

.workflow-intro {
  position: sticky;
  top: calc(var(--nav-height) + 56px);
}

.workflow-intro h2 {
  max-width: 10.5ch;
}

.workflow-intro > p {
  margin-left: 0;
}

.workflow-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 172px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.workflow-index {
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
  font-weight: 720;
}

.workflow-list h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  letter-spacing: -0.035em;
}

.workflow-list p {
  max-width: 42ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.evidence {
  display: grid;
  grid-template-columns: minmax(440px, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(52px, 8vw, 116px);
}

.evidence-visual {
  margin: 0;
}

.evidence-visual img {
  border-radius: var(--radius);
  box-shadow: 0 34px 80px -54px var(--shadow);
}

.evidence-copy h2 {
  max-width: 9ch;
}

.evidence-copy > p {
  margin-left: 0;
}

.evidence-list {
  margin-top: 38px;
}

.evidence-list div {
  grid-template-columns: 86px 1fr;
  padding: 18px 0;
}

.privacy {
  padding-top: clamp(92px, 11vw, 150px);
  border-top: 1px solid var(--line);
}

.privacy-heading {
  max-width: 820px;
}

.privacy-heading > p {
  margin-left: 0;
}

.privacy-selector {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 360px;
  margin-top: 52px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 34px 80px -62px var(--shadow);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 8px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 72%, var(--surface));
  gap: 8px;
}

.tab-list button {
  min-height: 54px;
  padding: 0 18px;
  text-align: center;
}

.tab-list button[aria-selected="true"] {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 10px 24px -20px var(--shadow);
}

.tab-panel {
  width: 100%;
  max-width: 780px;
  min-height: 276px;
  padding: clamp(46px, 7vw, 86px);
}

.scope-label {
  margin: 0 0 16px !important;
  color: var(--accent-strong) !important;
  font-size: 0.82rem !important;
  font-weight: 720;
}

.tab-panel h3 {
  max-width: 18ch;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.1;
}

.privacy-note {
  margin-top: 18px;
}

.questions {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(58px, 9vw, 130px);
}

.questions-heading h2 {
  max-width: 9ch;
}

.questions-heading > p {
  margin-left: 0;
}

.question-list summary {
  padding: 26px 44px 26px 0;
  font-size: 1.06rem;
}

.question-list details p {
  margin-bottom: 26px;
}

.local-status {
  margin-bottom: 100px;
  padding: clamp(46px, 7vw, 82px);
  border: 0;
  background: var(--ink);
  color: var(--page);
}

.local-status h2 {
  max-width: 12ch;
  color: var(--page);
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
}

.local-status p {
  margin-left: 0;
  color: color-mix(in srgb, var(--page) 76%, transparent);
}

.local-status .button-secondary {
  border-color: color-mix(in srgb, var(--page) 34%, transparent);
  background: var(--page);
  color: var(--ink);
}

.local-status .button-secondary:hover {
  border-color: var(--page);
  color: var(--accent-strong);
}

.site-footer {
  min-height: 164px;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: clamp(3rem, 9vw, 5.5rem);
  }

  .capability-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px 0;
  }

  .workflow,
  .questions {
    grid-template-columns: 1fr;
  }

  .workflow-intro {
    position: static;
    max-width: 760px;
  }

  .workflow-intro h2,
  .questions-heading h2 {
    max-width: 13ch;
  }

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

  .evidence-visual {
    max-width: 880px;
  }

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

@media (max-width: 767px) {
  .nav-shell,
  .hero,
  .capability-strip,
  .section-shell,
  .site-footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .hero {
    min-height: calc(100dvh - var(--nav-height));
    padding: 34px 0 22px;
    gap: 26px;
  }

  .hero h1 {
    max-width: 8em;
    font-size: clamp(2.65rem, 12.5vw, 4rem);
    letter-spacing: -0.065em;
  }

  .hero-lede {
    margin-top: 17px;
    font-size: 0.98rem;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-visual img {
    height: min(29dvh, 238px);
  }

  .hero-visual figcaption {
    align-items: flex-start;
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .capability-strip {
    grid-template-columns: 1fr;
    padding: 28px 0;
    gap: 14px;
  }

  .capability-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    gap: 14px 20px;
  }

  .capability-strip li {
    white-space: normal;
  }

  .section-shell {
    padding: 82px 0;
  }

  .product-heading {
    text-align: left;
  }

  .product-heading > p:last-child {
    margin-left: 0;
  }

  .product-heading h2,
  .workflow-intro h2,
  .evidence-copy h2,
  .privacy-heading h2,
  .questions-heading h2,
  .local-status h2 {
    font-size: clamp(2.35rem, 11vw, 3.65rem);
  }

  .product-gallery {
    margin-top: 38px;
    padding: 8px;
  }

  .product-tab-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .product-tab-list button {
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .product-panel {
    border-radius: 11px;
  }

  .product-panel img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  .product-panel figcaption {
    min-height: 62px;
  }

  .workflow,
  .evidence,
  .questions {
    gap: 42px;
  }

  .workflow-list li {
    grid-template-columns: 46px 1fr;
    min-height: auto;
    padding: 28px 0;
    gap: 14px;
  }

  .evidence-copy h2 {
    max-width: 11ch;
  }

  .privacy {
    padding-top: 82px;
  }

  .privacy-selector {
    margin-top: 38px;
  }

  .tab-list {
    padding: 6px;
    gap: 4px;
  }

  .tab-list button {
    min-height: 48px;
    padding: 0 6px;
    font-size: 0.88rem;
  }

  .tab-panel {
    min-height: 280px;
    padding: 38px 26px;
  }

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

  .local-status {
    grid-template-columns: 1fr;
    margin-bottom: 72px;
    padding: 38px 28px;
  }
}

@media (max-height: 720px) and (min-width: 768px) {
  .hero {
    padding: 24px 0 18px;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
  }

  .hero-lede {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-visual img {
    height: 30dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Homepage product launch layout */
.home-page {
  --home-page: #f8f7f3;
  --home-surface: #ffffff;
  --home-ink: #171715;
  --home-muted: #686762;
  --home-line: #dedcd4;
  --home-soft: #eeece5;
  --home-accent: #5c56d8;
  --home-accent-dark: #433cbf;
  --home-success: #237a58;
  background: var(--home-page);
  color: var(--home-ink);
}

.home-page::before {
  display: none;
}

:root[data-theme="dark"] .home-page,
:root:not([data-theme="light"]) .home-page {
  --home-page: #111210;
  --home-surface: #191a18;
  --home-ink: #f4f3ee;
  --home-muted: #a9a79e;
  --home-line: #35362f;
  --home-soft: #23241f;
  --home-accent: #a8a3ff;
  --home-accent-dark: #cbc8ff;
  --home-success: #79cfa8;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .home-page {
    --home-page: #f8f7f3;
    --home-surface: #ffffff;
    --home-ink: #171715;
    --home-muted: #686762;
    --home-line: #dedcd4;
    --home-soft: #eeece5;
    --home-accent: #5c56d8;
    --home-accent-dark: #433cbf;
    --home-success: #237a58;
  }
}

.marketing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--home-ink);
}

.marketing-nav,
.product-nav {
  display: flex;
  align-items: center;
  width: 100%;
  padding-right: max(24px, calc((100vw - 1320px) / 2));
  padding-left: max(24px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid var(--home-line);
  background: color-mix(in srgb, var(--home-page) 94%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.marketing-nav {
  position: relative;
  z-index: 2;
  min-height: 68px;
  gap: 36px;
}

.product-nav {
  position: relative;
  z-index: 1;
}

.brand-lockup {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--home-ink);
  text-decoration: none;
}

.brand-lockup:hover {
  color: var(--home-ink);
}

.brand-lockup img {
  border-radius: 9px;
  box-shadow: 0 2px 8px rgb(50 43 140 / 18%);
}

.brand-lockup .brand-lockup-mark-negative-space {
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.brand-lockup strong {
  font-size: 1.12rem;
  letter-spacing: -0.035em;
}

.marketing-links {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(22px, 3.5vw, 48px);
}

.marketing-links a,
.product-nav a {
  color: var(--home-muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.marketing-links a:hover,
.product-nav a:hover {
  color: var(--home-ink);
}

.marketing-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.marketing-actions .theme-toggle {
  min-width: 74px;
  padding: 8px 10px;
  border-color: transparent;
  background: transparent;
  color: var(--home-muted);
}

.marketing-actions .theme-toggle:hover {
  border-color: var(--home-line);
  color: var(--home-ink);
}

.marketing-actions .language-menu {
  border-color: transparent;
  background-color: transparent;
  color: var(--home-muted);
}

.marketing-actions .language-menu:hover,
.marketing-actions .language-menu[data-open="true"] {
  border-color: var(--home-line);
  color: var(--home-ink);
}

.marketing-actions .language-popover {
  border-color: var(--home-line);
  background: color-mix(in srgb, var(--home-page) 96%, transparent);
}

.marketing-actions .language-popover button {
  color: var(--home-ink);
}

.marketing-actions .language-popover button:hover,
.marketing-actions .language-popover button:focus-visible {
  background: var(--home-soft);
}

.marketing-actions .language-popover small {
  color: var(--home-muted);
}

.marketing-actions .language-check {
  color: var(--home-accent-dark);
}

.nav-download {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 9px;
  background: var(--home-ink);
  color: var(--home-page);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-download:hover {
  background: color-mix(in srgb, var(--home-ink) 86%, var(--home-accent));
  color: var(--home-page);
}

.product-nav {
  min-height: 44px;
  justify-content: space-between;
  background: color-mix(in srgb, var(--home-page) 97%, transparent);
}

.product-nav strong {
  font-size: 0.84rem;
  letter-spacing: -0.01em;
}

.product-nav div {
  display: flex;
  gap: 28px;
}

.product-nav a {
  font-size: 0.82rem;
}

.launch-hero {
  display: flex;
  min-height: min(620px, calc(100dvh - 112px));
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vh, 96px) 24px clamp(60px, 8vh, 88px);
  text-align: center;
}

.launch-kicker,
.section-kicker {
  margin: 0 0 18px;
  color: var(--home-accent-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launch-hero h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Songti SC", Georgia, serif;
  font-size: clamp(4.5rem, 7vw, 7.6rem);
  font-weight: 520;
  letter-spacing: -0.072em;
  line-height: 0.9;
}

.launch-lede {
  max-width: 31em;
  margin: 34px 0 0;
  color: var(--home-muted);
  font-size: clamp(1.08rem, 1.5vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 38px;
  gap: 12px;
}

.launch-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--home-line);
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.launch-button-primary {
  gap: 10px;
  border-color: var(--home-ink);
  background: var(--home-ink);
  color: var(--home-page);
}

.platform-download-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.platform-download-icon img {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.launch-button-primary:hover {
  border-color: color-mix(in srgb, var(--home-ink) 85%, var(--home-accent));
  background: color-mix(in srgb, var(--home-ink) 85%, var(--home-accent));
  color: var(--home-page);
}

.launch-button-secondary {
  background: var(--home-soft);
  color: var(--home-ink);
}

.launch-button-secondary:hover {
  border-color: color-mix(in srgb, var(--home-line) 70%, var(--home-ink));
  color: var(--home-ink);
}

.availability {
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 30px 0 82px;
  border-top: 1px solid var(--home-line);
}

.availability > p {
  margin: 0 0 22px;
  color: var(--home-muted);
  font-size: 0.84rem;
  text-align: center;
}

.availability ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.availability li {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  padding: 0 20px 0 12px;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--home-surface) 58%, transparent);
  color: var(--home-muted);
  font-size: 0.9rem;
  gap: 10px;
}

.platform-logo {
  display: inline-grid;
  overflow: hidden;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-items: center;
}

.platform-logo img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.platform-logo-wps {
  width: 40px;
  flex-basis: 40px;
  justify-items: start;
}

.platform-logo-wps img {
  width: 39px;
  height: 26px;
  object-fit: contain;
}

.platform-logo-apple img {
  width: 21px;
  height: 25px;
}

:root[data-theme="dark"] .platform-logo-apple img {
  filter: invert(1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .platform-logo-apple img {
    filter: invert(1);
  }
}

.home-page .section-shell {
  width: min(calc(100% - 48px), 1500px);
  margin: 0 auto;
}

.live-demo {
  scroll-margin-top: 124px;
  padding: 20px 0 clamp(92px, 11vw, 150px);
}

.demo-heading {
  max-width: 820px;
}

.demo-heading h2,
.benefits-heading h2,
.questions-heading h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Songti SC", Georgia, serif;
  font-size: clamp(2.6rem, 4.8vw, 4.7rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.demo-heading > p:last-child {
  max-width: 40em;
  margin: 24px 0 0;
  color: var(--home-muted);
  font-size: 1.08rem;
}

.demo-presets {
  display: flex;
  flex-wrap: wrap;
  margin: 46px 0 18px;
  gap: 8px;
}

.demo-presets button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: transparent;
  color: var(--home-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
}

.demo-presets button:hover,
.demo-presets button.is-active {
  border-color: var(--home-ink);
  background: var(--home-ink);
  color: var(--home-page);
}

.product-workspace {
  display: grid;
  overflow: hidden;
  overflow-anchor: none;
  width: 100%;
  height: auto;
  max-height: calc(100svh - 144px);
  min-height: 0;
  aspect-ratio: 1728 / 975;
  grid-template-columns: minmax(0, 1fr) clamp(350px, 24%, 370px);
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid color-mix(in srgb, var(--home-line) 72%, var(--home-ink));
  border-radius: 20px;
  background: var(--home-surface);
  box-shadow: 0 28px 90px rgb(34 31 23 / 14%);
}

.word-host-chrome {
  display: grid;
  min-width: 0;
  grid-column: 1 / -1;
  grid-row: 1;
  grid-template-rows: 32px 26px 67px;
  border-bottom: 1px solid #c8c8c8;
  background: #f5f5f5;
  color: #202020;
  font-family: "SF Pro Text", "Segoe UI", "PingFang SC", sans-serif;
  line-height: 1.2;
}

.document-app {
  display: flex;
  min-width: 0;
  min-height: 0;
  grid-column: 1;
  grid-row: 2;
  flex-direction: column;
  border-right: 1px solid var(--home-line);
  background: #dddddd;
  color: #1e1e1e;
}

.document-toolbar {
  display: grid;
  min-width: 0;
  align-items: center;
  padding: 0 10px;
  grid-template-columns: minmax(250px, 1fr) minmax(220px, 0.8fr) minmax(250px, 1fr);
  background: #f6f6f6;
}

.window-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-controls span:nth-child(2) {
  background: #febc2e;
}

.window-controls span:nth-child(3) {
  background: #28c840;
}

.document-toolbar-left,
.document-toolbar-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.autosave-label {
  margin-left: 10px;
  color: #4f4f4f;
  font-size: 9px;
}

.autosave-switch {
  position: relative;
  width: 25px;
  height: 13px;
  border-radius: 999px;
  background: #9a9a9a;
}

.autosave-switch::after {
  position: absolute;
  left: 1px;
  top: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 30%);
  content: "";
}

.quick-tool {
  display: grid;
  width: 17px;
  height: 17px;
  color: #5e5e5e;
  font-size: 11px;
  line-height: 1;
  place-items: center;
}

.document-titlebar {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.document-titlebar strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 0.64rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-titlebar span {
  color: #747474;
  font-size: 0.52rem;
}

.document-toolbar-actions {
  justify-content: flex-end;
}

.word-search {
  min-width: 76px;
  padding: 4px 9px;
  border-radius: 5px;
  color: #656565;
  font-size: 9px;
  text-align: left;
}

.word-share {
  padding: 5px 10px;
  border-radius: 5px;
  background: #0f6cbd;
  color: #fff;
  font-size: 9px;
  font-weight: 650;
}

.document-tabbar {
  display: flex;
  min-width: 0;
  align-items: end;
  padding: 0 9px;
  border-bottom: 1px solid #d8d8d8;
  background: #fafafa;
  font-size: 10px;
  gap: 21px;
}

.document-tabbar span,
.document-tabbar strong {
  display: inline-flex;
  height: 26px;
  align-items: center;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  white-space: nowrap;
}

.document-tabbar strong {
  border-bottom-color: #0f6cbd;
  color: #171717;
}

.document-ribbon {
  display: flex;
  overflow: hidden;
  min-width: 0;
  align-items: center;
  padding: 5px 12px 6px;
  background: #f2f2f2;
  color: #4d4d4d;
  font-size: 9px;
  gap: 10px;
}

.ribbon-paste {
  display: grid;
  min-width: 38px;
  height: 54px;
  align-content: center;
  justify-items: center;
  border-right: 1px solid #d3d3d3;
  gap: 3px;
}

.ribbon-paste-icon {
  display: block;
  width: 19px;
  height: 23px;
  border: 1px solid #b58d42;
  border-radius: 2px;
  background: #fff;
  box-shadow: inset 0 5px #f0b84d;
}

.ribbon-group {
  display: grid;
  height: 54px;
  align-content: center;
  padding-right: 10px;
  border-right: 1px solid #d3d3d3;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
}

.ribbon-font {
  width: 220px;
}

.ribbon-paragraph {
  width: 150px;
  grid-template-columns: 1fr;
}

.ribbon-select {
  overflow: hidden;
  min-width: 0;
  height: 20px;
  padding: 4px 7px;
  border: 1px solid #c8c8c8;
  border-radius: 2px;
  background: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ribbon-size {
  width: 48px;
}

.ribbon-control-row {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 4px;
}

.ribbon-control-row > * {
  display: grid;
  min-width: 19px;
  height: 18px;
  align-items: center;
  justify-items: center;
}

.ribbon-control-row > b {
  border-radius: 2px;
  background: #d7d7d7;
}

.ribbon-styles {
  display: flex;
  min-width: 290px;
  height: 54px;
  align-items: stretch;
  gap: 4px;
}

.ribbon-styles span {
  display: grid;
  min-width: 66px;
  padding: 4px 6px;
  border: 1px solid #d3d3d3;
  background: #fff;
  font-family: Georgia, serif;
  font-size: 9px;
  place-items: center;
}

.ribbon-styles .is-selected {
  border-color: #7ea7d2;
  box-shadow: inset 0 0 0 2px #d9e6f3;
}

.ribbon-addins {
  display: flex;
  min-width: 124px;
  height: 54px;
  align-items: stretch;
  padding-left: 2px;
  gap: 3px;
}

.ribbon-addin-command {
  display: grid;
  min-width: 55px;
  align-content: center;
  justify-items: center;
  color: #343434;
  gap: 3px;
}

.ribbon-addin-command small {
  font-size: 8.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.ribbon-addin-glyph {
  color: #d83b01;
  font-size: 26px;
  font-weight: 350;
  line-height: 25px;
}

.ribbon-wordex-command {
  min-width: 63px;
  border-left: 1px solid #d3d3d3;
}

.ribbon-wordex-command img {
  display: block;
  width: 25px;
  height: 21px;
  object-fit: contain;
}

.document-canvas {
  position: relative;
  overflow: auto;
  flex: 1 1 auto;
  padding: 16px clamp(22px, 5vw, 62px) 28px;
  background: #dddddd;
}

.document-page {
  position: relative;
  overflow: hidden;
  width: min(86%, 800px);
  min-height: calc(100% + 100px);
  margin: 0 auto;
  padding: clamp(42px, 5vw, 66px) clamp(48px, 6vw, 78px);
  background: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / 16%);
  font-family: "Times New Roman", "Songti SC", serif;
  font-size: 13px;
  line-height: 1.72;
}

.document-meta {
  margin: -9px 0 24px !important;
  color: #6b6b6b;
  font-family: "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 10px;
  text-align: center;
}

.document-page h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: center;
}

.document-page h4 {
  margin: 22px 0 7px;
  font-size: 14px;
  font-weight: 650;
}

.document-page p {
  margin: 0 0 10px;
  text-align: justify;
}

.document-page ul,
.document-page ol {
  margin: 0;
  padding-left: 1.3em;
}

.document-table {
  width: 100%;
  margin: 8px 0 16px;
  border-collapse: collapse;
  font-family: "SF Pro Text", "Segoe UI", "PingFang SC", sans-serif;
  font-size: 10.5px;
  line-height: 1.35;
  table-layout: fixed;
}

.document-table th,
.document-table td {
  padding: 7px 6px;
  border: 1px solid #a9a9a9;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.document-table th {
  background: #eeeeee;
  font-weight: 650;
}

.document-table th:first-child,
.document-table td:first-child {
  width: 31%;
}

.demo-target {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.demo-target.is-located,
.demo-target.is-applied {
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.demo-target.is-commented {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.word-revision-deletion,
.word-revision-insertion {
  padding: 0 1px;
  border-radius: 1px;
}

.word-revision-deletion {
  background: rgb(180 35 24 / 5%);
  color: #b42318;
  text-decoration-line: line-through;
  text-decoration-thickness: 1px;
}

.word-revision-insertion {
  background: #e6f0fb;
  color: #b42318;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.document-page :is(h3, p, td).has-word-revision {
  position: relative;
}

.document-page :is(h3, p, td).has-word-revision::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: -14px;
  width: 2px;
  border-radius: 2px;
  background: #b42318;
  content: "";
}

.document-page td.has-word-revision::before {
  top: 3px;
  bottom: 3px;
  left: -1px;
}

.document-comment-note {
  position: relative;
  display: grid;
  width: min(238px, 72%);
  margin: 6px 0 14px auto;
  padding: 9px 10px 8px 38px;
  border: 1px solid #c8c8c8;
  border-left: 3px solid #4472c4;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 13%);
  color: #242424;
  font-family: "SF Pro Text", "Segoe UI", "PingFang SC", sans-serif;
  font-size: 9.5px;
  line-height: 1.42;
  gap: 4px;
  z-index: 3;
}

.document-comment-note[hidden] {
  display: none;
}

.document-comment-note strong {
  display: flex;
  min-width: 0;
  align-items: baseline;
  color: #242424;
  font-size: 9.5px;
  font-weight: 650;
  gap: 5px;
}

.document-comment-note strong::before {
  position: absolute;
  top: 9px;
  left: 9px;
  display: grid;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #4472c4;
  color: #ffffff;
  content: "W";
  font-size: 9px;
  font-weight: 700;
  place-items: center;
}

.document-comment-note strong::after {
  color: #777777;
  content: "刚刚";
  font-size: 8px;
  font-weight: 400;
}

.document-comment-note > span {
  display: block;
  color: #333333;
}

.document-comment-note::after {
  display: block;
  min-height: 20px;
  margin: 4px 0 0 -28px;
  padding: 4px 7px 0;
  border-top: 1px solid #e4e4e4;
  color: #777777;
  content: "回复…";
  font-size: 8.5px;
}

@media (min-width: 1500px) {
  .document-page {
    overflow: visible;
  }

  .document-comment-note {
    position: absolute;
    top: var(--word-comment-top, 0);
    right: -116px;
    width: 156px;
    margin: 0;
    padding-right: 8px;
    padding-left: 34px;
  }

  .document-comment-note::before {
    position: absolute;
    top: 18px;
    right: 100%;
    width: 24px;
    border-top: 1px solid #a5a5a5;
    content: "";
  }

  .document-comment-note strong::before {
    left: 7px;
  }

  .document-comment-note::after {
    margin-left: -24px;
  }
}

.wordex-pane {
  display: flex;
  min-width: 0;
  min-height: 0;
  grid-column: 2;
  grid-row: 2;
  flex-direction: column;
  border-left: 1px solid #c7c7c7;
  background: #fbfbfd;
  color: #202125;
}

.taskpane-host-title {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  border-bottom: 1px solid #d6d6d6;
  background: #f5f5f5;
  color: #494949;
  font-family: "SF Pro Text", "Segoe UI", "PingFang SC", sans-serif;
  font-size: 10px;
  flex: 0 0 auto;
}

.wordex-pane.taskpane-preview .taskpane-app {
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
}

.pane-header {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #e2e2e8;
}

.pane-tools,
.pane-product {
  display: flex;
  align-items: center;
}

.pane-tools {
  gap: 2px;
}

.pane-tools button {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #777980;
  place-items: center;
}

.pane-tools button:disabled {
  opacity: 1;
}

.pane-product {
  gap: 8px;
}

.pane-product img {
  border-radius: 6px;
}

.pane-product strong {
  font-size: 0.78rem;
  letter-spacing: -0.02em;
}

.pane-session {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #e7e7eb;
  font-size: 0.68rem;
}

.pane-session > strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pane-session > span {
  display: flex;
  overflow: hidden;
  max-width: 190px;
  align-items: center;
  color: #777980;
  gap: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pane-session i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2f9c70;
}

.pane-conversation {
  overflow: auto;
  flex: 1 1 auto;
  padding: 20px 14px 24px;
}

.user-message {
  max-width: 84%;
  margin: 0 0 18px auto;
  padding: 11px 13px;
  border-radius: 14px 14px 4px 14px;
  background: #ececf2;
  color: #34343a;
  font-size: 0.78rem;
  line-height: 1.5;
}

.assistant-message {
  font-size: 0.78rem;
}

.assistant-intro {
  margin: 0 0 10px;
  color: #4d4e54;
}

.edit-summary {
  display: grid;
  min-height: 58px;
  align-items: center;
  margin-bottom: 10px;
  padding: 9px 10px;
  grid-template-columns: 32px 1fr auto;
  border: 1px solid #dcdde5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(33 33 50 / 4%);
  gap: 9px;
}

.edit-summary-icon {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #ecebff;
  color: #5b55cf;
  font-size: 0.7rem;
  font-weight: 750;
  place-items: center;
}

.edit-summary div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.edit-summary strong {
  color: #34343a;
  font-size: 0.7rem;
}

.edit-summary small {
  margin-top: 2px;
  color: #84858b;
  font-size: 0.6rem;
}

.edit-summary > span:last-child {
  color: #5b55cf;
  font-size: 0.63rem;
  font-weight: 650;
}

.edit-card {
  overflow: hidden;
  border: 1px solid #dcdde5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgb(33 33 50 / 6%);
}

.edit-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 13px;
  border-bottom: 1px solid #ebebef;
  gap: 12px;
}

.edit-card header strong {
  font-size: 0.72rem;
  line-height: 1.45;
}

.edit-card header > span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: #efeff7;
  color: #5c56ae;
  font-size: 0.62rem;
  font-weight: 700;
}

.edit-card.is-applied header > span {
  background: #e4f4ec;
  color: #237a58;
}

.edit-diff {
  padding: 4px 14px;
}

.edit-diff > div {
  padding: 11px 0;
}

.edit-diff > div + div {
  border-top: 1px solid #ededf0;
}

.edit-diff small {
  color: #87888e;
  font-size: 0.62rem;
}

.edit-diff p {
  margin: 3px 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
}

.edit-diff > div:first-child p {
  color: #9b4b4b;
  text-decoration: line-through;
  text-decoration-color: #cc8d8d;
}

.edit-diff > div:last-child p {
  color: #246548;
}

.edit-actions {
  display: flex;
  justify-content: flex-end;
  padding: 12px 14px;
  border-top: 1px solid #ebebef;
  gap: 8px;
}

.edit-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d6d7de;
  border-radius: 7px;
  background: #fff;
  color: #4e4f55;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 650;
}

.edit-actions button:hover,
.edit-actions button.is-active {
  border-color: #8580de;
  color: #514ab7;
}

.edit-actions .edit-primary {
  border-color: #5d57d8;
  background: #5d57d8;
  color: #fff;
}

.edit-actions .edit-primary:hover {
  border-color: #4d46c4;
  background: #4d46c4;
  color: #fff;
}

.demo-loading {
  padding: 18px 4px;
}

.demo-loading span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #7772d7;
  animation: demo-pulse 850ms ease-in-out infinite alternate;
}

.demo-loading span:nth-child(2) {
  animation-delay: 120ms;
}

.demo-loading span:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes demo-pulse {
  to {
    opacity: 0.35;
    transform: translateY(-3px);
  }
}

.pane-composer {
  padding: 10px 12px 8px;
  border-top: 1px solid #e3e3e9;
  background: #fff;
}

.composer-context {
  display: inline-flex;
  align-items: center;
  margin: 0 0 7px 2px;
  color: #73747a;
  font-size: 0.62rem;
  gap: 6px;
}

.composer-context i,
.pane-composer footer i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f9c70;
}

.pane-composer > label {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pane-composer > div {
  display: flex;
  align-items: flex-end;
  padding: 9px 9px 9px 12px;
  border: 1px solid #d8d9e0;
  border-radius: 11px;
  background: #fbfbfd;
  gap: 8px;
}

.pane-composer textarea {
  width: 100%;
  min-height: 46px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #25262a;
  font: inherit;
  font-size: 0.76rem;
  line-height: 1.5;
}

.pane-composer button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  background: #5d57d8;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  place-items: center;
}

.pane-composer footer {
  display: flex;
  align-items: center;
  margin-top: 7px;
  color: #8b8c91;
  font-size: 0.57rem;
  gap: 12px;
}

.pane-composer footer span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.demo-note {
  margin: 16px 0 0;
  color: var(--home-muted);
  font-size: 0.78rem;
  text-align: right;
}

.home-page .questions {
  display: grid;
  padding: clamp(92px, 12vw, 160px) 0;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
  border-top: 1px solid var(--home-line);
  gap: clamp(64px, 9vw, 140px);
}

.home-page .question-list {
  border-top: 1px solid var(--home-line);
}

.home-page .question-list details {
  border-bottom-color: var(--home-line);
}

.home-page .question-list summary {
  color: var(--home-ink);
}

.home-page .question-list p {
  color: var(--home-muted);
}

.marketing-footer {
  color: var(--home-ink);
}

.marketing-footer .site-footer-links a,
.marketing-footer .site-records a {
  color: var(--home-muted);
}

@media (max-width: 980px) {
  .marketing-links {
    display: none;
  }

  .marketing-actions {
    margin-left: auto;
  }

  .launch-hero {
    min-height: 600px;
  }

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

  .product-workspace {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .document-canvas {
    padding-right: 30px;
    padding-left: 30px;
  }

  .document-page {
    padding-right: 48px;
    padding-left: 48px;
  }

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

  .benefits-grid article {
    min-height: 220px;
    padding: 30px 0 38px;
  }

  .benefits-grid article + article {
    padding-left: 0;
    border-left: 0;
  }

  .benefits-grid h3 {
    margin-top: 52px;
  }

  .home-page .questions {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 767px) {
  .marketing-nav,
  .product-nav {
    padding-right: 16px;
    padding-left: 16px;
  }

  .marketing-nav {
    min-height: 62px;
  }

  .brand-lockup img {
    width: 31px;
    height: 31px;
  }

  .brand-lockup .brand-lockup-mark-negative-space {
    width: 35px;
    height: 29px;
  }

  .brand-lockup strong {
    font-size: 1rem;
  }

  .marketing-actions .theme-toggle {
    min-width: 66px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 0.77rem;
  }

  .marketing-actions .language-menu {
    min-height: 34px;
    padding-left: 7px;
  }

  .marketing-actions .language-trigger {
    min-width: 68px;
    padding-right: 5px;
    font-size: 0.72rem;
  }

  .nav-download {
    min-height: 36px;
    padding: 0 13px;
    font-size: 0.8rem;
  }

  .product-nav {
    overflow-x: auto;
    min-height: 42px;
    gap: 24px;
  }

  .product-nav strong {
    white-space: nowrap;
  }

  .product-nav div {
    gap: 18px;
    white-space: nowrap;
  }

  .product-nav a:first-child {
    display: none;
  }

  .launch-hero {
    min-height: calc(100dvh - 104px);
    padding: 76px 20px;
  }

  .launch-hero h1 {
    font-size: clamp(3.9rem, 18vw, 5.2rem);
  }

  .launch-lede {
    margin-top: 26px;
    font-size: 1rem;
  }

  .launch-actions {
    width: 100%;
    margin-top: 30px;
  }

  .launch-button {
    width: 100%;
  }

  .availability {
    width: calc(100% - 32px);
    padding-bottom: 58px;
  }

  .availability li {
    min-height: 52px;
    padding-right: 10px;
    padding-left: 9px;
    font-size: 0.76rem;
  }

  .platform-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .platform-logo img {
    width: 27px;
    height: 27px;
  }

  .platform-logo-wps img {
    width: 36px;
    height: 24px;
  }

  .platform-logo-wps {
    width: 36px;
    flex-basis: 36px;
  }

  .platform-logo-apple img {
    width: 19px;
    height: 23px;
  }

  .home-page .section-shell {
    width: calc(100% - 32px);
  }

  .live-demo {
    padding: 78px 0;
  }

  .demo-heading h2,
  .benefits-heading h2,
  .questions-heading h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .demo-presets {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 34px;
    padding-bottom: 4px;
  }

  .demo-presets button {
    flex: 0 0 auto;
  }

  .product-workspace {
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    border-radius: 14px;
  }

  .word-host-chrome {
    grid-column: 1;
    grid-row: 1;
    grid-template-rows: 32px 26px 62px;
  }

  .document-app {
    height: min(720px, calc(100dvh - 32px));
    min-height: min(620px, calc(100dvh - 32px));
    grid-column: 1;
    grid-row: 2;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .document-toolbar {
    padding: 0 12px;
    grid-template-columns: 62px 1fr 62px;
  }

  .autosave-label,
  .autosave-switch,
  .quick-tool,
  .word-search {
    display: none;
  }

  .document-tabbar {
    overflow: hidden;
    gap: 16px;
  }

  .document-ribbon {
    padding-right: 7px;
    padding-left: 7px;
    gap: 7px;
  }

  .ribbon-paragraph,
  .ribbon-styles {
    display: none;
  }

  .ribbon-font {
    width: min(190px, calc(100% - 176px));
  }

  .ribbon-addins {
    min-width: 118px;
  }

  .document-canvas {
    padding: 28px 18px 44px;
  }

  .document-page {
    min-height: 590px;
    padding: 44px 30px;
    font-size: 0.86rem;
  }

  .document-comment-note {
    width: min(250px, 78%);
  }

  .wordex-pane {
    min-height: 590px;
    grid-column: 1;
    grid-row: 3;
    border-left: 0;
  }

  .demo-note {
    text-align: left;
  }

  .home-page .questions {
    padding: 80px 0;
  }

  .home-page .questions {
    gap: 46px;
  }

}

@media (max-width: 560px) {
  .marketing-nav {
    gap: 16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .marketing-actions,
  .nav-actions {
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .marketing-nav {
    gap: 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .marketing-nav .brand-lockup strong {
    display: none;
  }

  .marketing-actions .language-trigger {
    min-width: 52px;
    padding-right: 3px;
    gap: 5px;
  }

  .marketing-actions .theme-toggle {
    min-width: 62px;
    padding-right: 3px;
    padding-left: 3px;
  }

  .nav-download {
    padding-right: 9px;
    padding-left: 9px;
  }
}

@media (max-height: 720px) and (min-width: 768px) {
  .launch-hero {
    min-height: 520px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .launch-hero h1 {
    font-size: clamp(4.5rem, 8vw, 6.8rem);
  }

  .launch-lede {
    margin-top: 22px;
  }

  .launch-actions {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Support and privacy pages */
.support-page,
.privacy-policy-page {
  width: min(calc(100% - 40px), 960px);
  padding-top: clamp(72px, 9vw, 116px);
  padding-bottom: clamp(80px, 10vw, 132px);
}

.support-page > header,
.privacy-policy-page > header {
  padding-bottom: clamp(42px, 6vw, 62px);
}

.support-page h1,
.privacy-policy-page h1 {
  max-width: 11ch;
  font-size: clamp(3.15rem, 6.4vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.support-page section,
.privacy-policy-page section {
  grid-template-columns: minmax(178px, 0.3fr) minmax(0, 0.7fr);
  padding: clamp(32px, 5vw, 48px) 0;
  gap: clamp(28px, 5vw, 52px);
}

.support-page section:last-child,
.privacy-policy-page section:last-child {
  border-bottom: 0;
}

.support-section-copy,
.policy-section-copy {
  min-width: 0;
}

.support-section-copy > * + *,
.policy-section-copy > * + * {
  margin-top: 18px;
}

.support-section-copy a,
.policy-section-copy a,
.support-email {
  display: inline-flex;
  color: var(--accent-strong);
  font-weight: 650;
  text-decoration: none;
}

.support-section-copy a:hover,
.policy-section-copy a:hover,
.support-email:hover {
  text-decoration: underline;
}

.support-configuration-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.support-ticket-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.support-ticket-form {
  display: grid;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 50px color-mix(in srgb, var(--shadow) 34%, transparent);
  gap: 24px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 700;
}

.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--line) 90%, var(--ink));
  border-radius: 10px;
  background: var(--page);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

.form-field select {
  min-height: 48px;
  padding: 0 42px 0 14px;
}

.form-field textarea {
  min-height: 176px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--focus);
  outline: 3px solid color-mix(in srgb, var(--focus) 22%, transparent);
  outline-offset: 1px;
}

.form-field [aria-invalid="true"] {
  border-color: #b42318;
}

.form-field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 88%, var(--ink));
  opacity: 1;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.field-meta p,
.field-meta span {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.field-meta p {
  max-width: 46ch;
}

.field-meta span {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.diagnostic-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  cursor: pointer;
  gap: 11px;
}

.diagnostic-option input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.diagnostic-option span {
  display: grid;
  gap: 2px;
}

.diagnostic-option strong {
  font-size: 0.9rem;
}

.diagnostic-option small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-error {
  margin: -4px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, #b42318 10%, var(--surface));
  color: color-mix(in srgb, #b42318 82%, var(--ink));
  font-size: 0.86rem;
}

.ticket-submit-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.ticket-submit-row .button {
  min-width: 138px;
  white-space: nowrap;
}

.ticket-submit-row .button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.ticket-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ticket-receipt {
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--accent-soft);
}

.ticket-receipt p {
  margin: 0 0 4px;
}

.ticket-receipt a {
  color: var(--accent-strong);
  font-weight: 650;
}

.website-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.support-ticket-thread {
  align-items: start;
}

.marketing-subpage .support-page .support-ticket-thread {
  grid-template-columns: 1fr;
  gap: 22px;
}

.ticket-message-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 12px;
}

.ticket-message {
  display: grid;
  max-width: 88%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  gap: 8px;
}

.ticket-message-requester {
  justify-self: end;
  background: var(--accent-soft);
}

.ticket-message-support {
  justify-self: start;
}

.ticket-message-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
}

.ticket-message-meta strong {
  font-size: 0.82rem;
}

.ticket-message-meta time {
  color: var(--muted);
  font-size: 0.72rem;
}

.ticket-message p {
  margin: 0;
  color: var(--ink);
  font-size: 0.91rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ticket-reply-form {
  display: grid;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  gap: 16px;
}

@media (max-width: 767px) {
  .support-page,
  .privacy-policy-page {
    width: min(calc(100% - 32px), 960px);
    padding-top: 58px;
  }

  .support-page h1,
  .privacy-policy-page h1 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 13vw, 4.15rem);
  }

  .support-page section,
  .privacy-policy-page section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .support-ticket-form {
    padding: 22px 18px;
  }

  .field-meta,
  .ticket-submit-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .field-meta {
    display: grid;
    gap: 6px;
  }

  .field-meta span {
    justify-self: end;
  }

  .ticket-submit-row .button {
    width: 100%;
  }

  .ticket-message {
    max-width: 100%;
  }
}

/* Unified marketing subpages */
.marketing-subpage {
  --page: var(--home-page);
  --surface: var(--home-surface);
  --surface-strong: var(--home-soft);
  --ink: var(--home-ink);
  --muted: var(--home-muted);
  --line: var(--home-line);
  --accent: var(--home-accent);
  --accent-strong: var(--home-accent-dark);
  --accent-soft: color-mix(in srgb, var(--home-accent) 11%, var(--home-surface));
  --focus: var(--home-accent-dark);
  background: var(--home-page);
  color: var(--home-ink);
}

.marketing-subpage::before {
  display: none;
}

.marketing-subpage [aria-current="page"] {
  color: var(--home-ink);
  font-weight: 700;
}

.marketing-subpage .nav-download[aria-current="page"] {
  color: var(--home-page);
}

.marketing-subpage .section-kicker,
.marketing-subpage .eyebrow {
  color: var(--home-accent-dark);
}

.marketing-subpage .install-page {
  width: min(calc(100% - 48px), 1180px);
}

.marketing-subpage .install-intro.subpage-hero {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vh, 64px) 0;
  text-align: center;
}

.marketing-subpage .install-intro.subpage-hero > div {
  max-width: 900px;
}

.marketing-subpage .install-intro.subpage-hero h1 {
  max-width: 13ch;
  margin-right: auto;
  margin-left: auto;
  color: var(--home-ink);
  font-size: clamp(3.6rem, 6.6vw, 6.7rem);
  font-weight: 560;
  letter-spacing: -0.068em;
  line-height: 0.97;
}

.marketing-subpage .install-intro.subpage-hero > div > p:last-child {
  max-width: 36em;
  margin: 28px auto 0;
  color: var(--home-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.marketing-subpage .acquisition-status,
.marketing-subpage .platform-panel,
.marketing-subpage .advanced-details,
.marketing-subpage .package-details {
  border-color: var(--home-line);
  background-color: var(--home-surface);
}

.marketing-subpage .platform-word {
  background: linear-gradient(145deg, color-mix(in srgb, var(--home-accent) 8%, var(--home-surface)), var(--home-surface) 58%);
}

.marketing-subpage .platform-wps {
  background: linear-gradient(145deg, var(--home-soft), var(--home-surface) 62%);
}

.marketing-subpage .button-primary {
  background: var(--home-ink);
  color: var(--home-page);
}

.marketing-subpage .button-primary:hover {
  background: color-mix(in srgb, var(--home-ink) 84%, var(--home-accent));
  color: var(--home-page);
}

.marketing-subpage .button-secondary {
  border-color: var(--home-line);
  background: var(--home-surface);
  color: var(--home-ink);
}

.marketing-subpage .support-page {
  width: min(calc(100% - 48px), 1080px);
  padding-top: clamp(88px, 10vw, 132px);
  padding-bottom: clamp(96px, 11vw, 148px);
}

.marketing-subpage .support-page > header {
  max-width: 840px;
  padding-bottom: clamp(54px, 7vw, 78px);
  border-color: var(--home-line);
}

.marketing-subpage .support-page h1 {
  max-width: 12ch;
  color: var(--home-ink);
  font-size: clamp(3.5rem, 6.5vw, 6.4rem);
  font-weight: 560;
  letter-spacing: -0.068em;
  line-height: 0.96;
}

.marketing-subpage .support-page > header > p:last-child {
  max-width: 43em;
  color: var(--home-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.marketing-subpage .support-page section {
  grid-template-columns: minmax(190px, 0.31fr) minmax(0, 0.69fr);
  border-color: var(--home-line);
  gap: clamp(36px, 6vw, 72px);
}

.marketing-subpage .support-section-copy a,
.marketing-subpage .support-email,
.marketing-subpage .policy-section-copy a {
  color: var(--home-accent-dark);
}

.marketing-subpage .support-ticket-form {
  border-color: var(--home-line);
  background: var(--home-surface);
  box-shadow: 0 22px 60px color-mix(in srgb, var(--shadow) 24%, transparent);
}

.marketing-subpage .form-field select,
.marketing-subpage .form-field textarea {
  border-color: var(--home-line);
  background: var(--home-page);
  color: var(--home-ink);
}

.privacy-document {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding-bottom: clamp(100px, 12vw, 160px);
}

.policy-document-hero {
  max-width: 960px;
  padding: clamp(86px, 10vw, 140px) 0 clamp(70px, 9vw, 108px);
}

.policy-document-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(3.7rem, 7vw, 7.1rem);
  font-weight: 540;
  letter-spacing: -0.072em;
  line-height: 0.94;
}

.policy-document-hero > p:not(.section-kicker) {
  max-width: 45em;
  margin: 30px 0 0;
  color: var(--home-muted);
  font-size: clamp(1.04rem, 1.45vw, 1.24rem);
  line-height: 1.65;
}

.policy-document-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 38px;
  color: var(--home-muted);
  font-size: 0.82rem;
  gap: 14px 32px;
}

.policy-document-meta span {
  display: inline-flex;
  gap: 9px;
}

.policy-document-meta strong {
  color: var(--home-ink);
}

.policy-document-layout {
  display: grid;
  align-items: start;
  padding-top: 64px;
  border-top: 1px solid var(--home-line);
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(64px, 9vw, 140px);
}

.policy-toc {
  position: sticky;
  top: 142px;
}

.policy-toc > strong {
  display: block;
  margin-bottom: 18px;
  color: var(--home-ink);
  font-size: 0.84rem;
}

.policy-toc nav {
  display: grid;
  gap: 5px;
}

.policy-toc a {
  padding: 5px 0;
  color: var(--home-muted);
  font-size: 0.79rem;
  line-height: 1.35;
  text-decoration: none;
}

.policy-toc a:hover,
.policy-toc a:focus-visible {
  color: var(--home-accent-dark);
}

.policy-article {
  min-width: 0;
}

.policy-draft-notice {
  margin-bottom: 58px;
  padding: 22px 24px;
  border-left: 3px solid var(--home-accent);
  background: color-mix(in srgb, var(--home-accent) 7%, var(--home-surface));
}

.policy-draft-notice strong {
  color: var(--home-ink);
  font-size: 0.9rem;
}

.policy-draft-notice p {
  margin: 6px 0 0;
  color: var(--home-muted);
  font-size: 0.9rem;
}

.policy-article section {
  padding: 0 0 56px;
  scroll-margin-top: 142px;
}

.policy-article section + section {
  padding-top: 56px;
  border-top: 1px solid var(--home-line);
}

.policy-article h2 {
  margin: 0 0 24px;
  color: var(--home-ink);
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.policy-article h2 span {
  color: var(--home-accent-dark);
}

.policy-article h3 {
  margin: 30px 0 10px;
  color: var(--home-ink);
  font-size: 1rem;
}

.policy-article p,
.policy-purpose-list {
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.policy-article p {
  margin: 0;
}

.policy-article p + p {
  margin-top: 16px;
}

.policy-article a {
  color: var(--home-accent-dark);
  font-weight: 650;
}

.policy-purpose-list {
  display: grid;
  margin: 0 0 22px;
  padding-left: 1.25em;
  gap: 10px;
}

.policy-purpose-list strong {
  color: var(--home-ink);
}

.policy-data-matrix {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--home-line);
}

.policy-data-matrix article {
  display: grid;
  padding: 24px 0;
  border-bottom: 1px solid var(--home-line);
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 0.46fr) minmax(170px, 0.26fr);
  gap: 28px;
}

.policy-data-matrix h3,
.policy-data-matrix p,
.policy-data-matrix small {
  margin: 0;
}

.policy-data-matrix h3 {
  font-size: 0.94rem;
}

.policy-data-matrix p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.policy-data-matrix small {
  color: var(--home-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .policy-document-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .policy-toc {
    position: static;
  }

  .policy-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .policy-article {
    max-width: 760px;
  }
}

@media (max-width: 767px) {
  .marketing-subpage .install-page,
  .marketing-subpage .support-page,
  .privacy-document {
    width: calc(100% - 32px);
  }

  .marketing-subpage .install-intro.subpage-hero {
    min-height: 240px;
    padding: 40px 0;
  }

  .marketing-subpage .install-intro.subpage-hero h1,
  .marketing-subpage .support-page h1,
  .policy-document-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .marketing-subpage .support-page {
    padding-top: 70px;
  }

  .marketing-subpage .support-page section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .policy-document-hero {
    padding: 72px 0 68px;
  }

  .policy-document-layout {
    padding-top: 42px;
    gap: 46px;
  }

  .policy-toc nav {
    grid-template-columns: 1fr;
  }

  .policy-article section {
    padding-bottom: 44px;
  }

  .policy-article section + section {
    padding-top: 44px;
  }

  .policy-data-matrix article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .policy-data-matrix small {
    margin-top: 2px;
  }

  .policy-document-meta {
    display: grid;
    gap: 7px;
  }
}

/* Staff ticket console */
.staff-body {
  min-height: 100vh;
  background: var(--home-page);
}

/* Public pricing and Alipay review flow */
.commerce-body {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

.commerce-body .commerce-page {
  flex: 1 0 auto;
}

.commerce-page {
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto;
  padding-bottom: clamp(92px, 11vw, 150px);
}

.commerce-hero {
  max-width: 980px;
  padding: clamp(82px, 10vw, 132px) 0 clamp(64px, 8vw, 96px);
}

.commerce-hero h1,
.commerce-compact-hero h1,
.payment-result-card h1 {
  margin: 0;
  color: var(--home-ink);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1;
}

.commerce-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 6.2vw, 6.2rem);
}

.commerce-hero > p:not(.section-kicker),
.commerce-compact-hero > p:not(.section-kicker) {
  max-width: 48em;
  margin: 28px 0 0;
  color: var(--home-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.commerce-review-notice {
  display: grid;
  max-width: 760px;
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 3px solid var(--home-accent);
  background: color-mix(in srgb, var(--home-accent) 7%, var(--home-surface));
  color: var(--home-muted);
  font-size: 0.9rem;
  gap: 4px;
}

.commerce-review-notice strong {
  color: var(--home-ink);
}

.pricing-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.pricing-plan {
  display: flex;
  height: 100%;
  min-height: 590px;
  min-width: 0;
  padding: clamp(34px, 3.25vw, 46px);
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-surface);
  flex-direction: column;
  grid-column: span 4;
}

.pricing-plan-pro {
  border-color: color-mix(in srgb, var(--home-accent) 52%, var(--home-line));
  background: color-mix(in srgb, var(--home-accent) 5%, var(--home-surface));
  box-shadow: 0 24px 70px color-mix(in srgb, var(--shadow) 26%, transparent);
}

.pricing-shared-capabilities {
  display: grid;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(30px, 4vw, 44px);
  border: 1px solid color-mix(in srgb, var(--home-accent) 24%, var(--home-line));
  border-radius: 18px;
  background: color-mix(in srgb, var(--home-accent) 4%, var(--home-surface));
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
}

.pricing-shared-capabilities h2,
.pricing-shared-capabilities p {
  margin: 0;
}

.pricing-shared-capabilities h2 {
  color: var(--home-ink);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.pricing-shared-capabilities p {
  color: var(--home-muted);
  line-height: 1.75;
}

.pricing-plan > header {
  display: grid;
  align-content: start;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--home-line);
  gap: 44px;
}

.pricing-plan-name,
.pricing-plan-fit {
  margin: 0;
}

.pricing-plan-name {
  color: var(--home-ink);
  font-size: 1.42rem;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.pricing-plan-fit {
  color: var(--home-muted);
  font-size: 0.84rem;
}

.pricing-amount {
  display: grid;
  justify-items: start;
}

.pricing-amount strong {
  color: var(--home-ink);
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  font-weight: 570;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.pricing-amount span {
  margin-top: 9px;
  color: var(--home-muted);
  font-size: 0.78rem;
}

.pricing-benefits {
  display: grid;
  margin: 34px 0 44px;
  padding: 0;
  list-style: none;
  gap: 19px;
}

.pricing-benefits li {
  position: relative;
  padding-left: 25px;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.pricing-benefits li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--home-accent-dark);
  content: "✓";
  font-weight: 800;
}

.commerce-plan-action {
  width: 100%;
  margin-top: auto;
  border-color: var(--home-line);
  background: var(--home-surface);
  color: var(--home-ink);
}

.commerce-plan-action:hover {
  border-color: var(--home-accent);
  color: var(--home-accent-dark);
}

.pricing-plan-pro .commerce-plan-action {
  border-color: var(--home-ink);
  background: var(--home-ink);
  color: var(--home-page);
}

.commerce-assurance {
  display: grid;
  margin-top: clamp(68px, 9vw, 112px);
  padding-top: clamp(46px, 6vw, 72px);
  border-top: 1px solid var(--home-line);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(42px, 8vw, 110px);
}

.commerce-assurance h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.commerce-assurance p {
  margin: 18px 0 0;
  color: var(--home-muted);
  line-height: 1.75;
}

.commerce-inline-links,
.payment-legal-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 22px;
  gap: 10px 22px;
}

.commerce-inline-links a,
.payment-legal-links a,
.commerce-back-link,
.commerce-support-link {
  color: var(--home-accent-dark);
  font-weight: 650;
}

.commerce-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--home-line);
  background: color-mix(in srgb, var(--home-page) 94%, transparent);
  color: var(--home-muted);
  font-size: 0.78rem;
  gap: 34px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.commerce-progress a {
  color: inherit;
  text-decoration: none;
}

.commerce-progress [data-progress-state="complete"] {
  color: var(--home-accent-dark);
}

.commerce-progress [data-progress-state="current"] {
  color: var(--home-ink);
  font-weight: 720;
}

.commerce-compact-hero {
  max-width: 880px;
  padding: clamp(70px, 9vw, 110px) 0 clamp(46px, 6vw, 72px);
}

.commerce-compact-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5.2vw, 5.1rem);
}

.checkout-layout,
.payment-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
}

.checkout-form,
.order-summary,
.payment-panel,
.payment-review-panel,
.payment-result-card {
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-surface);
}

.checkout-form,
.payment-panel,
.payment-review-panel {
  padding: clamp(24px, 3.5vw, 38px);
}

.checkout-form {
  display: grid;
  gap: 26px;
}

.checkout-form .commerce-review-notice,
.payment-review-panel .commerce-review-notice {
  margin-top: 0;
}

.checkout-form .form-field label,
.checkout-form .form-label {
  color: var(--home-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.checkout-form .form-field input,
.checkout-form .form-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  background: var(--home-page);
  color: var(--home-ink);
  font: inherit;
}

.checkout-form .form-field input:focus,
.checkout-form .form-field select:focus {
  border-color: var(--focus);
  outline: 3px solid color-mix(in srgb, var(--focus) 22%, transparent);
  outline-offset: 1px;
}

.checkout-form .form-field small {
  color: var(--home-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.payment-method-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, #1677ff 48%, var(--home-line));
  border-radius: 10px;
  background: color-mix(in srgb, #1677ff 6%, var(--home-surface));
  gap: 18px;
}

.payment-method-wordmark,
.payment-provider {
  color: #116adf;
  font-size: 1.05rem;
  font-weight: 760;
}

.payment-method-choice small {
  color: var(--home-muted);
}

.commerce-consent {
  display: flex;
  align-items: flex-start;
  color: var(--home-muted);
  font-size: 0.84rem;
  line-height: 1.65;
  gap: 11px;
}

.commerce-consent input {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  accent-color: var(--home-accent);
}

.commerce-consent a {
  color: var(--home-accent-dark);
  font-weight: 650;
}

.checkout-submit {
  width: 100%;
}

.order-summary {
  position: sticky;
  top: 142px;
  padding: 30px;
}

.order-summary h2,
.payment-review-panel h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.order-summary dl,
.payment-details,
.payment-result-order {
  display: grid;
  margin: 24px 0 0;
  gap: 15px;
}

.order-summary dl div,
.payment-details div,
.payment-result-order div {
  display: grid;
  grid-template-columns: minmax(110px, 0.4fr) minmax(0, 0.6fr);
  gap: 18px;
}

.order-summary dt,
.payment-details dt,
.payment-result-order dt {
  color: var(--home-muted);
  font-size: 0.82rem;
}

.order-summary dd,
.payment-details dd,
.payment-result-order dd {
  min-width: 0;
  margin: 0;
  color: var(--home-ink);
  font-size: 0.88rem;
  font-weight: 640;
  overflow-wrap: anywhere;
  text-align: right;
}

.order-total,
.payment-amount {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--home-line);
  gap: 20px;
}

.order-total span,
.payment-amount span {
  color: var(--home-muted);
  font-size: 0.88rem;
}

.order-total strong,
.payment-amount strong {
  color: var(--home-ink);
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.payment-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--home-line);
  gap: 22px;
}

.payment-panel-header p {
  margin: 0;
}

.payment-panel-header p + p {
  margin-top: 2px;
  color: var(--home-muted);
  font-size: 0.78rem;
}

.review-state {
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--home-accent) 42%, var(--home-line));
  border-radius: 7px;
  color: var(--home-accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.payment-panel > h2 {
  margin: 30px 0 0;
  color: var(--home-ink);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  letter-spacing: -0.04em;
}

.payment-details {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--home-line);
}

.payment-disabled-button {
  width: 100%;
  min-height: 54px;
  margin-top: 34px;
  border: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--home-ink) 13%, var(--home-surface));
  color: var(--home-muted);
  font: inherit;
  font-weight: 720;
  cursor: not-allowed;
}

.payment-disabled-help {
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

.payment-review-panel {
  display: grid;
  gap: 28px;
}

.payment-result-preview-links {
  display: grid;
  gap: 10px;
}

.payment-result-preview-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  color: var(--home-ink);
  text-decoration: none;
}

.payment-result-preview-links a::after {
  color: var(--home-muted);
  content: ">";
}

.payment-result-preview-links a:hover {
  border-color: var(--home-accent);
  color: var(--home-accent-dark);
}

.payment-result-page {
  display: grid;
  place-items: center;
  padding-top: clamp(70px, 9vw, 110px);
}

.payment-result-card {
  width: min(100%, 760px);
  padding: clamp(30px, 5vw, 58px);
  text-align: center;
}

.payment-result-mark {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 30px auto 22px;
  border: 2px solid var(--home-accent);
  border-radius: 50%;
  color: var(--home-accent-dark);
  place-items: center;
}

.payment-result-mark::before {
  content: "…";
  font-size: 1.6rem;
  font-weight: 760;
}

.payment-result-page[data-status="success"] .payment-result-mark {
  border-color: var(--home-success);
  color: var(--home-success);
}

.payment-result-page[data-status="success"] .payment-result-mark::before {
  content: "✓";
}

.payment-result-page[data-status="failed"] .payment-result-mark,
.payment-result-page[data-status="cancelled"] .payment-result-mark {
  border-color: #a1443f;
  color: #a1443f;
}

.payment-result-page[data-status="failed"] .payment-result-mark::before {
  content: "!";
}

.payment-result-page[data-status="cancelled"] .payment-result-mark::before {
  content: "×";
}

.payment-result-label {
  margin: 0;
  color: var(--home-accent-dark);
  font-size: 0.85rem;
  font-weight: 720;
}

.payment-result-card h1 {
  max-width: 15ch;
  margin: 12px auto 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.payment-result-body {
  max-width: 46em;
  margin: 22px auto 0;
  color: var(--home-muted);
  line-height: 1.7;
}

.payment-result-card .commerce-review-notice {
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.payment-result-order {
  max-width: 560px;
  margin: 34px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--home-line);
  text-align: left;
}

.payment-result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
  gap: 12px 18px;
}

.commerce-footer .site-footer-links {
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .pricing-plan {
    grid-column: span 6;
  }

  .pricing-plan-pro {
    grid-column: 3 / span 8;
  }

  .checkout-layout,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 767px) {
  .commerce-page {
    width: calc(100% - 32px);
  }

  .commerce-hero,
  .commerce-compact-hero {
    padding-top: 64px;
  }

  .commerce-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .pricing-grid,
  .commerce-assurance,
  .pricing-shared-capabilities {
    grid-template-columns: 1fr;
  }

  .pricing-plan,
  .pricing-plan-pro {
    grid-column: auto;
  }

  .pricing-plan {
    min-height: 540px;
    padding: 32px 28px;
  }

  .pricing-plan > header {
    gap: 38px;
  }

  .commerce-progress {
    justify-content: flex-start;
    padding-right: 16px;
    padding-left: 16px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .order-summary dl div,
  .payment-details div,
  .payment-result-order div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .order-summary dd,
  .payment-details dd,
  .payment-result-order dd {
    text-align: left;
  }

  .payment-panel-header,
  .payment-method-choice {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-result-actions .button,
  .payment-result-actions .commerce-support-link {
    width: 100%;
  }

  .payment-result-actions .commerce-support-link {
    min-height: 44px;
    padding-top: 9px;
  }

  .commerce-footer .site-footer-links {
    justify-content: center;
  }
}

.staff-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid var(--home-line);
  background: color-mix(in srgb, var(--home-page) 96%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  gap: 24px;
}

.staff-header .brand-lockup > span {
  padding-left: 12px;
  border-left: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 0.78rem;
}

.staff-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.staff-header-actions .theme-toggle,
.staff-header-actions .language-menu {
  border-color: transparent;
  background: transparent;
  color: var(--home-muted);
}

.staff-header-actions .language-popover {
  border-color: var(--home-line);
  background: var(--home-surface);
}

.staff-signout {
  min-height: 36px;
}

.staff-page {
  width: min(calc(100% - 36px), 1440px);
  margin: 0 auto;
  padding: 34px 0 60px;
  color: var(--home-ink);
}

.staff-gate {
  display: grid;
  min-height: 62vh;
  place-content: center;
  text-align: center;
  gap: 14px;
}

.staff-gate h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  font-weight: 570;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.staff-gate > p:not(.eyebrow) {
  max-width: 48ch;
  margin: 0 auto;
  color: var(--home-muted);
}

.staff-console-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}

.staff-console-heading h1 {
  margin: 3px 0 0;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 570;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.staff-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.staff-identity > span:last-child {
  display: grid;
  text-align: right;
}

.staff-identity strong {
  font-size: 0.84rem;
}

.staff-identity small {
  color: var(--home-muted);
  font-size: 0.7rem;
}

.staff-toolbar {
  display: flex;
  min-height: 64px;
  align-items: end;
  padding: 10px 14px;
  border: 1px solid var(--home-line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: var(--home-surface);
  gap: 12px;
}

.staff-toolbar label,
.staff-status-control {
  display: grid;
  color: var(--home-muted);
  font-size: 0.68rem;
  font-weight: 700;
  gap: 3px;
}

.staff-toolbar select,
.staff-status-control select {
  min-height: 36px;
  padding: 0 34px 0 10px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-page);
  color: var(--home-ink);
  font: inherit;
  font-size: 0.78rem;
}

.staff-toolbar > p {
  margin: 0 0 8px auto;
  color: var(--home-muted);
  font-size: 0.72rem;
}

.staff-workspace {
  display: grid;
  min-height: 650px;
  border: 1px solid var(--home-line);
  border-radius: 0 0 14px 14px;
  background: var(--home-surface);
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  overflow: hidden;
}

.staff-ticket-list {
  min-width: 0;
  max-height: calc(100vh - 218px);
  overflow-y: auto;
  border-right: 1px solid var(--home-line);
  background: color-mix(in srgb, var(--home-soft) 45%, var(--home-surface));
}

.staff-ticket-row {
  display: grid;
  width: 100%;
  padding: 15px 16px;
  border: 0;
  border-bottom: 1px solid var(--home-line);
  background: transparent;
  color: var(--home-ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  gap: 6px;
}

.staff-ticket-row:hover,
.staff-ticket-row[aria-pressed="true"] {
  background: var(--home-surface);
}

.staff-ticket-row[aria-pressed="true"] {
  box-shadow: inset 3px 0 var(--home-accent);
}

.staff-ticket-row > span:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.staff-ticket-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}

.staff-ticket-category {
  font-size: 0.8rem;
  font-weight: 650;
}

.staff-ticket-meta {
  color: var(--home-muted);
  font-size: 0.69rem;
}

.staff-list-empty {
  margin: 0;
  padding: 42px 24px;
  color: var(--home-muted);
  font-size: 0.8rem;
  text-align: center;
}

.staff-ticket-detail {
  min-width: 0;
  max-height: calc(100vh - 218px);
  overflow-y: auto;
  padding: clamp(24px, 3vw, 42px);
}

.staff-ticket-detail[aria-busy="true"] {
  opacity: 0.64;
}

.staff-empty-detail {
  display: grid;
  min-height: 500px;
  place-content: center;
  color: var(--home-muted);
  text-align: center;
  gap: 8px;
}

.staff-empty-detail > span {
  justify-self: center;
  color: var(--home-accent);
  font-family: Georgia, serif;
  font-size: 2.6rem;
}

.staff-empty-detail h2,
.staff-empty-detail p {
  margin: 0;
}

.staff-empty-detail h2 {
  color: var(--home-ink);
  font-size: 1.15rem;
}

.staff-empty-detail p {
  max-width: 38ch;
  font-size: 0.8rem;
}

.staff-ticket-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--home-line);
  gap: 24px;
}

.staff-ticket-heading h2 {
  margin: 4px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.15rem;
}

.staff-ticket-heading p:last-child {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.72rem;
}

.staff-message-list {
  gap: 10px;
}

.staff-message-list .ticket-message {
  max-width: 82%;
  padding: 13px 15px;
}

.staff-reply-form {
  margin-top: 30px;
}

.staff-reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.staff-reply-actions p {
  max-width: 54ch;
  margin: 0;
  color: var(--home-muted);
  font-size: 0.71rem;
  line-height: 1.5;
}

.staff-reply-actions .button {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .staff-workspace {
    grid-template-columns: 1fr;
  }

  .staff-ticket-list,
  .staff-ticket-detail {
    max-height: none;
  }

  .staff-ticket-list {
    max-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }
}

@media (max-width: 680px) {
  .staff-header {
    min-height: 60px;
    padding: 0 12px;
  }

  .staff-header .brand-lockup > span,
  .staff-header-actions .theme-toggle,
  .staff-header-actions .nav-account {
    display: none;
  }

  .staff-header-actions .language-trigger {
    min-width: 56px;
  }

  .staff-page {
    width: calc(100% - 20px);
    padding-top: 24px;
  }

  .staff-console-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-identity > span:last-child {
    text-align: left;
  }

  .staff-toolbar {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-toolbar label {
    min-width: 0;
  }

  .staff-toolbar select {
    width: 100%;
    min-width: 0;
  }

  .staff-toolbar > p {
    margin: 0;
    grid-column: 1 / -1;
  }

  .staff-ticket-detail {
    padding: 24px 16px;
  }

  .staff-ticket-heading,
  .staff-reply-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .staff-status-control select,
  .staff-reply-actions .button {
    width: 100%;
  }

  .staff-message-list .ticket-message {
    max-width: 94%;
  }
}
.device-authorization {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.device-authorization[hidden] { display: none; }
.device-authorization-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  backdrop-filter: blur(8px);
}
.device-authorization-dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgb(15 23 42 / 20%);
}
.device-authorization-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}
.device-authorization-dialog h2 { margin: 8px 0 10px; font-size: clamp(1.6rem, 5vw, 2.15rem); }
.device-authorization-dialog > p { margin: 0; color: var(--muted); line-height: 1.65; }
.device-authorization-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  gap: 18px;
}
.device-authorization-account span { color: var(--muted); font-size: 0.86rem; }
.device-authorization-account strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device-authorization-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

.required-mark { color: #c42b1c; }
.account-form input[aria-invalid="true"] { border-color: #c42b1c; }
.account-form [data-field-error] { display: block; color: #c42b1c; margin-top: 4px; }
.account-form [data-field-error][hidden] { display: none; }

/* Acquisition guidance uses the existing marketing palette and spacing. */
@media (min-width: 768px) {
  .live-demo .product-workspace { max-height: calc(100svh - 220px); }
}
.acquisition-recovery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.acquisition-recovery[hidden], .install-device-note[hidden], .platform-download-icon[hidden] { display: none; }
.install-device-note {
  padding: 20px 24px;
  border-left: 3px solid var(--home-accent);
  background: var(--home-soft);
  color: var(--home-ink);
  line-height: 1.7;
}
/* Download page: one primary action, quiet platform controls, open setup guide. */
.install-page { max-width: 1000px; margin-inline: auto; }
.install-page .install-intro.subpage-hero { display: block; min-height: 0; padding: 48px 0 28px; text-align: center; }
.install-page .install-intro.subpage-hero > div { max-width: none; }
.install-page .install-intro .download-brand { display: block; width: 72px; height: 64px; aspect-ratio: auto; border-radius: 0; box-shadow: none; object-fit: contain; margin: 0 auto 24px; }
.install-page .install-intro.subpage-hero h1 { max-width: none; margin: 0 auto; font-size: clamp(2.4rem, 4.4vw, 3.5rem); line-height: 1.15; letter-spacing: -0.045em; font-weight: 600; }
.install-page .install-intro.subpage-hero p { max-width: 36em; margin: 20px auto 0; font-size: 1.1rem; line-height: 1.6; color: var(--home-muted); }
.install-page .acquisition-status { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin: 12px auto 24px; padding: 20px 24px; }
.install-page .acquisition-status h2 { font-size: 1.2rem; }
.install-page .acquisition-status p { font-size: 0.9rem; }
.install-page .install-device-note { max-width: 680px; margin: 12px auto 24px; font-size: 0.9rem; }
.install-page .platform-downloads { padding: 0; }
.download-section-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.system-tabs { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, 130px); width: fit-content; margin: 0 auto; padding: 4px; gap: 4px; border: 1px solid var(--home-line); border-radius: 100px; background: var(--home-soft); }
.system-tabs button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 100px; min-width: 130px; padding: 11px 22px; background: transparent; color: var(--home-muted); font: inherit; font-size: 0.9rem; font-weight: 550; cursor: pointer; }
.system-tabs::before { content: ""; position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 12px) / 2); border-radius: 100px; background: var(--home-surface); box-shadow: 0 1px 4px #00000012; transition: transform 240ms cubic-bezier(0.2, 0.7, 0.3, 1); }
.system-tabs[data-selected-system="windows"]::before { transform: translateX(calc(100% + 4px)); }
.system-tabs button img { object-fit: contain; }
.system-tabs button[aria-selected="true"] { color: var(--home-ink); background: transparent; }
.system-tabs button:focus-visible, .download-app-choice button:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 3px; }
.install-page .platform-grid { display: block; margin: 0; }
.install-page [data-system-panel][hidden], .install-page [data-package-host][hidden] { display: none; }
.download-app-choice { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 24px 0 0; }
.download-app-choice button { display: flex; align-items: center; gap: 7px; padding: 8px 0; color: var(--home-muted); border: 0; border-bottom: 1px solid transparent; background: transparent; font: inherit; font-size: 0.85rem; cursor: pointer; }
.download-app-choice button[aria-pressed="true"] { color: var(--home-ink); border-bottom-color: currentColor; }
.download-app-choice img { object-fit: contain; }
.install-page .platform-panel, .install-page .platform-panel[data-recommended="true"] { display: flex; flex-direction: column; align-items: center; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 0; }
.install-page .package-actions { align-items: center; gap: 10px; margin-top: 28px; }
.install-page .package-actions .button { min-height: 50px; min-width: 236px; max-width: 100%; border-radius: 100px; padding: 14px 28px; font-size: 0.95rem; font-weight: 550; text-align: center; transition: transform 160ms ease, background 160ms ease; }
.install-page .package-actions .button:hover { transform: translateY(-1px); }
.install-page .platform-panel .download-feedback { margin: 0; max-width: 34em; min-height: 0; text-align: center; font-size: 0.82rem; }
.install-page .download-feedback:empty { display: none; }
.install-page .package-instructions { width: 100%; margin-top: 68px; padding-top: 32px; border-top: 1px solid var(--home-line); }
.package-instructions h4 { margin: 0; font-size: 1.15rem; font-weight: 550; letter-spacing: -0.02em; }
.install-page .install-preparation { margin: 10px 0 0; font-size: 0.82rem; color: var(--home-muted); line-height: 1.65; }
.install-page .install-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 24px 0 0; border: 0; counter-reset: install-step; }
.install-page .install-steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border: 0; padding: 0; font-size: 0.85rem; line-height: 1.7; counter-increment: install-step; }
.install-page .install-steps li::before { content: counter(install-step, decimal-leading-zero); margin-bottom: 4px; color: var(--home-muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.install-page .install-steps strong { font-size: 0.92rem; font-weight: 550; }
.install-page .install-steps span { overflow-wrap: anywhere; }
.install-page .package-details { width: 100%; margin-top: 28px; border: 0; border-radius: 0; background: transparent; }
.install-page .platform-panel details > summary { padding: 0; font-size: 0.8rem; font-weight: 400; color: var(--home-muted); cursor: pointer; }
.install-page .package-details dl { padding: 16px 0 0; }
.install-page .package-details .button { margin: 16px 0 0; }
.install-page .release-details { width: fit-content; max-width: 100%; margin: 16px 0 48px; padding: 0; border: 0; background: transparent; }
.install-page .release-details > summary { padding: 0; font-size: 0.8rem; font-weight: 400; color: var(--home-muted); }
.install-page .install-boundary { background: transparent; border-radius: 0; margin: 0 0 64px; padding: 24px 0; border-top: 1px solid var(--home-line); }
.install-page .install-boundary h2 { font-size: 1.15rem; }
.install-page .install-boundary p { max-width: 44em; font-size: 0.85rem; }
.install-page .install-boundary .button { min-height: 40px; font-size: 0.85rem; }
:root[data-theme="dark"] .system-tabs img[src$="apple.svg"] { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .system-tabs img[src$="apple.svg"] { filter: invert(1); } }
@media (max-width: 760px) {
  .install-page .install-intro.subpage-hero { padding-top: 40px; }
  .install-page .install-intro .download-brand { width: 56px; height: 50px; margin-bottom: 18px; }
  .install-page .install-intro.subpage-hero p { font-size: 1rem; }
  .system-tabs { grid-template-columns: repeat(2, 116px); }
  .system-tabs button { min-width: 116px; padding: 10px 18px; }
  .install-page .package-instructions { margin-top: 44px; padding-top: 28px; }
  .install-page .install-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .install-page .install-boundary { display: block; }
  .install-page .install-boundary .button { margin-top: 18px; }
}
@media (max-width: 420px) {
  .install-page .install-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .install-page .install-steps li { position: relative; padding-left: 34px; gap: 3px; }
  .install-page .install-steps li::before { position: absolute; left: 0; top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .system-tabs::before, .install-page .package-actions .button { transition: none !important; }
  .install-page .package-actions .button:hover { transform: none; }
}


/* Shared website rhythm: task pages use the same type scale and content widths. */
.home-page {
  --site-content: 1120px;
  --site-title: clamp(2rem, 3.8vw, 3.25rem);
  --site-space: clamp(48px, 7vw, 96px);
}
.marketing-subpage :is(.commerce-page, .privacy-document, .changelog-document, .support-page, .install-page) {
  width: min(calc(100% - 48px), var(--site-content));
  max-width: var(--site-content);
  padding-bottom: 104px;
}
.marketing-subpage :is(.commerce-hero, .commerce-compact-hero, .policy-document-hero, .changelog-hero) {
  max-width: none;
  padding: var(--site-space) 0 64px;
}
.marketing-subpage :is(.commerce-hero, .commerce-compact-hero, .policy-document-hero, .changelog-hero) h1,
.marketing-subpage .support-page h1,
.staff-gate h1 {
  max-width: none;
  margin: 0;
  font-size: var(--site-title);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.marketing-subpage :is(.commerce-hero, .commerce-compact-hero, .policy-document-hero, .changelog-hero) > p:not(.section-kicker):not(.eyebrow),
.marketing-subpage .support-page > header > p:last-child {
  max-width: 52em;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.75;
}
.marketing-subpage :is(.commerce-hero, .commerce-compact-hero, .changelog-hero) > :is(.section-kicker, .eyebrow) { display: none; }
.home-page:not(.account-body) .button { border-radius: 10px; min-height: 46px; font-size: 0.9rem; }
.home-page:not(.account-body) :is(.auth-card, .account-panel, .support-ticket-form, .checkout-form, .order-summary, .payment-card, .payment-result-card) { box-shadow: none; border-radius: 14px; }



/* Download concentrates on choosing and installing the correct package. */
.download-hero { padding: 32px 0 64px; }
.download-controls { max-width: 720px; margin-inline: auto; }
.install-page .download-brand { display: none !important; }
.install-page .install-intro.subpage-hero { padding: 48px 0 40px; }
.install-page .install-intro.subpage-hero h1 { font-size: var(--site-title); }
.download-guides [hidden] { display: none; }
.install-page .download-guides .package-instructions { margin-top: 0; padding-top: 44px; }
/* Give plan comparison and supporting sections room to breathe. */
.pricing-plan {
  min-height: 520px;
  padding: 36px;
  border-radius: 14px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--home-accent) 8%, var(--home-surface)), var(--home-surface) 58%);
}
.pricing-plan-free {
  background: linear-gradient(145deg, var(--home-soft), var(--home-surface) 62%);
}
.pricing-plan-pro {
  background: linear-gradient(145deg, color-mix(in srgb, var(--home-accent) 12%, var(--home-surface)), var(--home-surface) 58%);
  box-shadow: 0 24px 60px -48px var(--shadow);
}
.pricing-plan > header { gap: 36px; padding-bottom: 32px; }
.pricing-plan-name { font-size: 1.25rem; }
.pricing-amount strong { font-size: 3rem; line-height: 1; }
.pricing-benefits { margin: 32px 0 40px; gap: 20px; }
.pricing-benefits li { font-size: 0.88rem; }
.pricing-shared-capabilities { display: block; margin-top: 72px; padding: 40px 0; border: 0; border-bottom: 1px solid var(--home-line); border-radius: 0; background: transparent; }
.pricing-shared-capabilities h2, .commerce-assurance h2 { max-width: none; font-size: 1.35rem; line-height: 1.4; }
.pricing-shared-capabilities p { margin-top: 12px; max-width: 62em; }
.commerce-assurance { margin-top: 56px; padding-top: 0; border: 0; }
/* Support channels share one readable column scale. */
.marketing-subpage .support-page { padding-top: var(--site-space); }
.marketing-subpage .support-page > header { max-width: none; padding-bottom: 56px; }
.marketing-subpage .support-page section { padding: 44px 0; gap: 56px; grid-template-columns: minmax(200px, .34fr) minmax(0, .66fr); }
.marketing-subpage .support-ticket-form { padding: 32px; }
.marketing-subpage .support-page .support-channel-section { align-items: center; }
.support-channel-section .support-section-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.support-channel-section .support-section-copy > * { margin: 0; }
/* Policy and release content use document typography, with a quiet navigation rail. */
.changelog-document { padding-top: 0; }
.policy-document-meta { margin-top: 32px; }
.policy-document-layout { grid-template-columns: 200px minmax(0, 760px); gap: 64px; padding-top: 48px; }
.policy-toc { top: 92px; }
.policy-article section { padding-bottom: 48px; scroll-margin-top: 100px; }
.policy-draft-notice { margin-bottom: 48px; padding: 18px 20px; }
.changelog-layout { padding-top: 48px; gap: 64px; }
.changelog-entry h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.35; }
.payment-result-page { padding-top: 80px; }
.payment-result-card h1 { max-width: none; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; }
.home-page .not-found { min-height: calc(100dvh - 110px); align-items: center; text-align: center; }
.home-page .not-found h1 { max-width: none; font-size: var(--site-title); line-height: 1.2; margin: 0 0 28px; }
.home-page .not-found p { color: var(--home-muted); }
/* Keep the existing main navigation reachable on smaller screens. */
.home-page:not(.account-body) .site-menu-toggle { display: none; }
@media (max-width: 980px) {
  .home-page:not(.account-body) .marketing-nav { gap: 16px; }
  .home-page:not(.account-body) .site-menu-toggle { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--home-line); border-radius: 8px; background: var(--home-surface); color: var(--home-ink); font: inherit; font-size: .85rem; cursor: pointer; order: 3; }
  .home-page:not(.account-body) .marketing-nav .marketing-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px; margin: 0; border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-surface); box-shadow: 0 12px 24px rgb(0 0 0 / 8%); z-index: 10; }
  .home-page:not(.account-body) .marketing-nav[data-menu-open="true"] .marketing-links { display: grid; gap: 2px; }
  .home-page:not(.account-body) .marketing-nav .marketing-links a { display: block; padding: 13px 16px; border-radius: 6px; }
  .home-page:not(.account-body) .marketing-nav .marketing-links a:hover { background: var(--home-soft); }

  .policy-document-layout { gap: 32px; }
}
@media (max-width: 640px) {
  .marketing-subpage :is(.commerce-page, .privacy-document, .changelog-document, .support-page, .install-page) { width: calc(100% - 40px); padding-bottom: 48px; }
  .home-page:not(.account-body) .marketing-nav { gap: 8px; }
  .home-page:not(.account-body) .marketing-actions { gap: 2px; }
  .home-page:not(.account-body) .marketing-actions .nav-account { display: none; }
  .home-page:not(.account-body) .marketing-nav .language-menu { min-width: 0; }
  .home-page:not(.account-body) .marketing-actions .theme-toggle { min-width: 34px; }
  .home-page:not(.account-body) .site-menu-toggle { padding: 8px; }



  .pricing-plan { min-height: 0; padding: 24px; }
  .marketing-subpage .support-page section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .marketing-subpage .support-ticket-form { padding: 20px; }
  .policy-document-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .policy-toc { position: static; }
  .policy-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .changelog-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }

}
.home-page:not(.account-body) .marketing-links .compact-account-link { display: none; }
@media (max-width: 640px) {
  .home-page:not(.account-body) .marketing-nav .marketing-links .compact-account-link { display: block; }
}
.home-page .questions { padding-block: 64px; gap: 64px; }
.home-page .questions-heading h2 { font-family: inherit; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.home-page .live-demo { padding-bottom: 64px; }
@media (max-width: 640px) {
  .home-page .questions { padding-block: 40px; gap: 28px; }
  .home-page .live-demo { padding-bottom: 40px; }
}
@media (max-width: 767px) {
  .home-page .live-demo { padding-top: 28px; }
  .live-demo .document-app { height: 300px; min-height: 0; }
  .live-demo .wordex-pane { height: 500px; min-height: 500px; }
}
.install-page .package-actions .button[aria-disabled="true"] {
  border-color: var(--home-line);
  background: var(--home-soft);
  color: var(--home-muted);
  box-shadow: none;
  transform: none;
}
:root[data-theme="dark"] .platform-download-icon img { filter: brightness(0); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .platform-download-icon img { filter: brightness(0); }
}

/* Preserve the original centered introduction; lift only the platform row. */
.availability { position: relative; top: -32px; }
