:root {
  color-scheme: light;
  --ink: #151816;
  --muted: #626a65;
  --line: #dce1dd;
  --paper: #f7f9f7;
  --surface: #ffffff;
  --soft: #edf2ee;
  --mint: #b8f36b;
  --mint-strong: #82c82d;
  --coral: #ff7058;
  --violet: #7258d6;
  --focus: #167c4d;
  --max-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 45%, transparent);
  outline-offset: 3px;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 97%, transparent);
}

.nav-shell,
.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: color 140ms ease;
}

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

.nav-link[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--ink);
  content: "";
}

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

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.menu-button[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

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

.button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  border-color: #303530;
  background: #303530;
}

.button-accent {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.button-accent:hover {
  border-color: #a3e153;
  background: #a3e153;
}

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

.button-secondary:hover {
  border-color: #adb5af;
  background: var(--soft);
}

.button-arrow {
  font-size: 17px;
  line-height: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #3d4640;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 3px;
  background: var(--coral);
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 74px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 42px;
  right: max(0px, calc((100vw - var(--max-width)) / 2 - 70px));
  width: 190px;
  height: 190px;
  border: 1px solid #cad1cb;
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(510px, 1.14fr);
  gap: 68px;
}

.hero-copy {
  max-width: 520px;
}

.hero h1,
.legal-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-lead {
  max-width: 500px;
  margin: 25px 0 0;
  color: #424944;
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.hero-notes li {
  position: relative;
  padding-left: 15px;
}

.hero-notes li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint-strong);
  content: "";
}

.workspace-wrap {
  position: relative;
}

.workspace-wrap::before {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 82%;
  height: 76%;
  border-radius: 7px;
  background: var(--mint);
  content: "";
}

.workspace {
  min-height: 438px;
  overflow: hidden;
  border: 1px solid #2c312d;
  border-radius: 8px;
  background: #1c201d;
  box-shadow: 0 24px 70px rgb(22 26 23 / 18%);
  color: #eff3ef;
}

.workspace-topbar {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #343a35;
  padding: 0 14px;
  color: #bdc5bf;
  font-size: 11px;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #555e57;
}

.window-dot:first-child {
  background: var(--coral);
}

.workspace-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.workspace-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.workspace-body {
  display: grid;
  min-height: 394px;
  grid-template-columns: 52px minmax(0, 1fr) 148px;
}

.workspace-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  border-right: 1px solid #343a35;
  padding: 15px 0;
}

.rail-item {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  color: #8d968f;
  font-size: 10px;
  font-weight: 800;
}

.rail-item.active {
  background: var(--mint);
  color: var(--ink);
}

.workspace-main {
  min-width: 0;
  padding: 16px;
}

.workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.workspace-heading strong {
  font-size: 12px;
}

.workspace-heading span {
  color: #889189;
  font-size: 10px;
}

.preview-stage {
  position: relative;
  display: grid;
  min-height: 220px;
  margin-top: 12px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #343a35;
  border-radius: 6px;
  background: #111412;
}

.preview-art {
  position: relative;
  width: 68%;
  height: 172px;
  overflow: hidden;
  border-radius: 5px;
  background: #e96752;
}

.preview-art::before {
  position: absolute;
  top: -48px;
  left: 24px;
  width: 150px;
  height: 240px;
  background: #badf73;
  content: "";
  transform: rotate(24deg);
}

.preview-art::after {
  position: absolute;
  right: -25px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border: 30px solid #1b211c;
  border-radius: 50%;
  content: "";
}

.preview-caption {
  position: absolute;
  z-index: 2;
  right: 13%;
  bottom: 23px;
  width: 130px;
  color: #141714;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.06;
}

.preview-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  background: rgb(18 22 19 / 72%);
  color: #fff;
  font-size: 12px;
  transform: translate(-50%, -50%);
}

.timeline {
  margin-top: 12px;
}

.timeline-track {
  position: relative;
  height: 38px;
  overflow: hidden;
  border-radius: 4px;
  background: #2b312c;
}

.timeline-track::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 2px;
  background: var(--coral);
  content: "";
}

.timeline-clips {
  display: grid;
  height: 100%;
  padding: 5px;
  grid-template-columns: 1.2fr 0.8fr 1.45fr;
  gap: 4px;
}

.clip {
  border-radius: 2px;
  background: #566158;
}

.clip:nth-child(2) {
  background: #7869b0;
}

.clip:nth-child(3) {
  background: #b9df73;
}

.workspace-panel {
  border-left: 1px solid #343a35;
  padding: 16px 12px;
}

.panel-label {
  margin-bottom: 6px;
  color: #818a83;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.panel-label-spaced {
  margin-top: 16px;
}

.panel-label-status {
  margin-top: 18px;
}

.panel-value {
  margin-bottom: 14px;
  font-size: 11px;
  line-height: 1.4;
}

.panel-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #3e4640;
  border-radius: 4px;
  padding: 7px 8px;
  color: #cad1cb;
  font-size: 9px;
}

.panel-progress {
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 2px;
  background: #3d443f;
}

.panel-progress span {
  display: block;
  width: 84%;
  height: 100%;
  background: var(--mint);
}

.trust-band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trust-row {
  display: grid;
  min-height: 88px;
  align-items: stretch;
  grid-template-columns: 0.9fr repeat(3, 1fr);
}

.trust-heading,
.trust-item {
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
  padding: 18px 28px;
}

.trust-heading {
  padding-left: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.trust-item {
  gap: 12px;
  font-size: 14px;
  font-weight: 720;
}

.trust-index {
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
}

.section {
  padding: 104px 0;
}

.section-tight {
  padding: 76px 0;
}

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

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 52px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 64px;
}

.section-heading h2 {
  max-width: 680px;
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 32px 34px 0;
}

.feature:nth-child(3n + 2),
.feature:nth-child(3n + 3) {
  padding-left: 32px;
}

.feature:nth-child(3n) {
  border-right: 0;
  padding-right: 0;
}

.feature-number {
  display: inline-flex;
  width: 38px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.feature:nth-child(2) .feature-number {
  background: #fff0ed;
  color: #c94731;
}

.feature:nth-child(3) .feature-number {
  background: #eef6de;
  color: #517e1d;
}

.feature h3 {
  margin: 28px 0 8px;
  font-size: 21px;
  line-height: 1.3;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.oauth-disclosure {
  display: grid;
  margin-top: 64px;
  border-block: 1px solid var(--line);
  padding: 42px 0;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
}

.oauth-disclosure-heading h3 {
  max-width: 390px;
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
}

.oauth-disclosure-body > p {
  margin: 0;
  color: #454d47;
  font-size: 15px;
}

.oauth-disclosure-body > p + .text-link {
  margin-top: 20px;
}

.oauth-use-list {
  margin: 26px 0;
  border-top: 1px solid var(--line);
}

.oauth-use-list > div {
  display: grid;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  grid-template-columns: minmax(160px, 0.52fr) minmax(0, 1fr);
  gap: 26px;
}

.oauth-use-list dt {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.oauth-use-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #126943;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.workflow-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
}

.workflow-copy h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
}

.workflow-copy p {
  margin: 20px 0 0;
  color: #aeb7b0;
  font-size: 16px;
}

.section-dark .eyebrow {
  color: #c5cec7;
}

.workflow-list {
  border-top: 1px solid #3b403c;
}

.workflow-step {
  display: grid;
  border-bottom: 1px solid #3b403c;
  padding: 22px 0;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
}

.step-number {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.workflow-step h3 {
  margin: 0;
  font-size: 17px;
}

.workflow-step p {
  margin: 5px 0 0;
  color: #aeb7b0;
  font-size: 14px;
}

.step-status {
  align-self: start;
  border: 1px solid #485049;
  border-radius: 999px;
  padding: 4px 9px;
  color: #c6cec8;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.cta-band {
  display: grid;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-copy {
  padding: 48px;
}

.cta-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
}

.cta-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-action {
  display: flex;
  min-width: 290px;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  padding: 40px;
}

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

.footer-main {
  display: grid;
  padding-bottom: 42px;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(120px, 0.5fr));
  gap: 48px;
}

.footer-intro p {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin-top: 9px;
  color: #3f4741;
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: #7a827c;
  font-size: 12px;
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 72px 0 60px;
}

.legal-hero h1 {
  max-width: 780px;
  font-size: 54px;
  line-height: 1.03;
}

.legal-intro {
  display: flex;
  max-width: 820px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
}

.legal-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.effective-date {
  flex-shrink: 0;
  border-left: 3px solid var(--mint-strong);
  padding-left: 13px;
  color: #444b46;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.legal-layout {
  display: grid;
  align-items: start;
  padding-block: 64px 100px;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 90px;
}

.legal-toc {
  position: sticky;
  top: 104px;
}

.legal-toc h2 {
  margin: 0 0 16px;
  color: #8a928c;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.legal-toc a {
  display: block;
  border-left: 2px solid transparent;
  padding: 3px 0 3px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.legal-toc a:hover {
  border-left-color: var(--coral);
  color: var(--ink);
}

.legal-content {
  min-width: 0;
}

.legal-notice {
  margin-bottom: 36px;
  border-left: 4px solid var(--coral);
  background: #fff1ed;
  padding: 18px 20px;
  color: #5c342c;
  font-size: 14px;
}

.legal-section {
  padding: 0 0 42px;
}

.legal-section + .legal-section {
  border-top: 1px solid var(--line);
  padding-top: 42px;
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: 27px;
  line-height: 1.2;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  line-height: 1.35;
}

.legal-section p,
.legal-section li {
  color: #454d47;
  font-size: 15px;
}

.legal-section p {
  margin: 0 0 15px;
}

.legal-section ul,
.legal-section ol {
  margin: 15px 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 9px;
}

.legal-section strong {
  color: var(--ink);
}

.legal-section code {
  overflow-wrap: anywhere;
}

.legal-section a {
  color: #126943;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.data-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 13px;
}

.data-table th,
.data-table td {
  border: 1px solid var(--line);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--soft);
  color: var(--ink);
  font-size: 11px;
  text-transform: uppercase;
}

.data-table td {
  color: #4b534d;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  padding: 24px;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(470px, 1.2fr);
    gap: 36px;
  }

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

  .legal-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 54px;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    min-height: 64px;
  }

  .menu-button {
    display: flex;
  }

  .nav-links {
    position: fixed;
    z-index: 90;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    padding: 12px 20px 20px;
    box-shadow: 0 18px 34px rgb(20 24 21 / 10%);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    border-bottom: 1px solid var(--line);
    padding: 13px 4px;
  }

  .nav-link[aria-current="page"]::after {
    display: none;
  }

  .mobile-login {
    margin-top: 12px;
  }

  .nav-actions > .button {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-lead {
    max-width: 620px;
  }

  .workspace-wrap {
    width: min(100%, 680px);
  }

  .trust-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-heading {
    display: none;
  }

  .trust-item:first-of-type {
    padding-left: 0;
  }

  .section-heading,
  .workflow-grid,
  .oauth-disclosure {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .feature,
  .feature:nth-child(3n + 2),
  .feature:nth-child(3n + 3),
  .feature:nth-child(3n) {
    border-right: 0;
    padding: 28px 0 32px;
  }

  .oauth-disclosure {
    margin-top: 48px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .legal-toc {
    position: static;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }

  .legal-toc ol {
    display: flex;
    width: max-content;
    gap: 8px;
  }

  .legal-toc li + li {
    margin-top: 0;
  }

  .legal-toc a {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    padding: 7px 11px;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero {
    padding: 34px 0 56px;
  }

  .hero::before {
    display: none;
  }

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

  .hero-lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-actions .button-secondary,
  .hero-notes {
    display: none;
  }

  .hero-grid {
    gap: 32px;
  }

  .workspace-wrap::before {
    right: -8px;
    bottom: -10px;
  }

  .workspace {
    min-height: 220px;
  }

  .workspace-body {
    min-height: 176px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .workspace-rail {
    gap: 11px;
  }

  .rail-item {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }

  .workspace-main {
    padding: 12px;
  }

  .workspace-panel {
    display: none;
  }

  .preview-stage {
    min-height: 108px;
  }

  .preview-art {
    width: 78%;
    height: 88px;
  }

  .preview-caption {
    right: 11%;
    bottom: 11px;
    width: 86px;
    font-size: 11px;
  }

  .preview-play {
    width: 30px;
    height: 30px;
    font-size: 9px;
  }

  .timeline {
    margin-top: 8px;
  }

  .timeline-track {
    height: 24px;
  }

  .trust-row {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:first-of-type,
  .trust-item:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .workflow-copy h2 {
    font-size: 34px;
  }

  .workflow-step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .oauth-use-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .step-status {
    display: none;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-copy {
    padding: 32px 24px;
  }

  .cta-copy h2 {
    font-size: 30px;
  }

  .cta-action {
    min-width: 0;
    padding: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding: 50px 0 42px;
  }

  .legal-hero h1 {
    font-size: 42px;
  }

  .legal-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-layout {
    padding: 40px 0 72px;
  }

  .legal-section h2 {
    font-size: 24px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }
}

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

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