:root {
  color-scheme: light;
  --background: #e6eae7;
  --background-deep: #d7ded9;
  --surface: #faf6ea;
  --surface-muted: #f0ebdd;
  --ink: #18211f;
  --ink-soft: #505b56;
  --primary: #2e5560;
  --primary-deep: #203c43;
  --accent: #5e8f87;
  --focus: #b44535;
  --border: 2px solid var(--ink);
  --radius-small: 10px;
  --radius-card: 18px;
  --shadow: 3px 4px 0 var(--ink);
  --content: 72rem;
  --reading: 44rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family:
    "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--primary-deep);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  border: var(--border);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  border-bottom: var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 4.5rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 2.3rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

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

main {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.legal-hero {
  padding: clamp(4rem, 11vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
}

.legal-hero h1,
.document-header h1 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.legal-hero p {
  max-width: 39rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.support-header {
  max-width: 48rem;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.support-header h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.support-header > p:last-child {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.support-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem;
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
}

a.contact-card {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

a.contact-card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 5px 6px 0 var(--ink);
}

.contact-card-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  border-radius: 0.7rem;
  background: var(--primary-deep);
  color: #fff8ea;
  font-weight: 900;
}

.contact-card > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-card small {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.contact-card strong {
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.25;
}

.contact-card em {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.4;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.support-details {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--primary-deep);
  box-shadow: var(--shadow);
  color: #fff8ea;
}

.support-details h2,
.support-form-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.1;
}

.support-details ul {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
}

.support-details li + li {
  margin-top: 0.85rem;
}

.contact-note {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, #fff8ea 35%, transparent);
}

.contact-note strong,
.contact-note a {
  display: block;
}

.contact-note a {
  margin-top: 0.35rem;
  color: #fff8ea;
  overflow-wrap: anywhere;
}

.contact-note strong:not(:first-child) {
  margin-top: 1rem;
}

.support-form-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-intro {
  max-width: 37rem;
  margin: 0.75rem 0 1.75rem;
  color: var(--ink-soft);
}

.support-form,
.field {
  display: grid;
}

.support-form {
  gap: 1.25rem;
}

.field {
  gap: 0.45rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field label {
  font-size: 0.95rem;
  font-weight: 800;
}

.field label span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-small);
  background: var(--background);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 11rem;
  resize: vertical;
}

.field input::placeholder {
  color: var(--ink-soft);
  opacity: 0.75;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 2px;
}

.submit-button {
  min-height: 3.25rem;
  padding: 0.75rem 1.25rem;
  border: var(--border);
  border-radius: var(--radius-small);
  background: var(--primary);
  box-shadow: 2px 3px 0 var(--ink);
  color: #fff8ea;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.submit-button:hover {
  background: var(--primary-deep);
  transform: translate(-1px, -1px);
  box-shadow: 3px 4px 0 var(--ink);
}

.submit-button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.form-status {
  min-height: 1.65rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.support-faq {
  display: grid;
  grid-template-columns: minmax(14rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding: 0 0 clamp(5rem, 10vw, 8rem);
}

.support-faq h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.support-faq > div:first-child > p:last-child {
  color: var(--ink-soft);
}

.support-faq-list {
  display: grid;
  gap: 0.75rem;
}

.support-faq details {
  border: var(--border);
  border-radius: var(--radius-small);
  background: var(--surface);
  box-shadow: 2px 3px 0 var(--ink);
}

.support-faq summary {
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 850;
}

.support-faq details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--ink-soft);
}

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

.platform-section {
  padding-bottom: clamp(4rem, 9vw, 7rem);
  scroll-margin-top: 2rem;
}

.platform-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
}

.platform-heading .eyebrow {
  margin: 0;
}

.platform-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.platform-documents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.document-type {
  display: block;
  margin-bottom: 1.75rem;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-documents .document-card:nth-child(2) .document-type {
  color: #b9d7d2;
}

.support-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(5rem, 10vw, 8rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-banner h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.support-banner p:last-child {
  max-width: 40rem;
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
}

.support-action {
  flex: 0 0 auto;
  padding: 0.8rem 1.2rem;
  border: var(--border);
  border-radius: var(--radius-small);
  background: var(--primary);
  box-shadow: 2px 3px 0 var(--ink);
  color: #fff8ea;
  font-weight: 850;
  text-decoration: none;
}

.support-action:hover {
  background: var(--primary-deep);
  color: #fff8ea;
}

.document-links {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.document-card {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.document-card:nth-child(2) {
  background: var(--primary-deep);
  color: #fff8ea;
}

.document-card:hover {
  color: inherit;
  transform: translate(-2px, -2px);
  box-shadow: 5px 6px 0 var(--ink);
}

.document-card:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 2px 0 var(--ink);
}

.document-card h2,
.document-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.document-card p {
  max-width: 34rem;
  margin: 0.9rem 0 2rem;
  color: currentColor;
  opacity: 0.78;
}

.card-action {
  margin-top: auto;
  font-weight: 800;
}

.document-header {
  max-width: var(--reading);
  padding: clamp(4rem, 10vw, 7rem) 0 3rem;
}

.document-header h1 {
  max-width: none;
  font-size: clamp(2.7rem, 7vw, 4.8rem);
}

.document-meta {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.toc {
  position: sticky;
  top: 2rem;
  padding: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: var(--radius-small);
  background: color-mix(in srgb, var(--surface-muted) 88%, transparent);
}

.toc strong {
  display: block;
  margin-bottom: 0.65rem;
}

.toc a {
  display: block;
  padding: 0.3rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--primary);
}

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

.legal-document section {
  padding: 0.25rem 0 2.6rem;
  scroll-margin-top: 2rem;
}

.legal-document section + section {
  padding-top: 2.6rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
}

.legal-document h2 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1.15;
}

.legal-document h3 {
  margin: 1.7rem 0 0.5rem;
  font-size: 1.05rem;
}

.legal-document p,
.legal-document ul {
  margin: 0.75rem 0;
}

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

.callout {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--surface-muted);
}

.site-footer {
  border-top: var(--border);
  background: var(--primary-deep);
  color: #fff8ea;
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 7rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff8ea;
}

@media (max-width: 48rem) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }

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

  .document-links,
  .platform-documents,
  .document-layout,
  .support-layout,
  .support-contact-grid,
  .support-faq {
    grid-template-columns: 1fr;
  }

  .platform-heading,
  .support-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1rem;
  }

  .contact-card strong {
    font-size: 1rem;
  }

  .document-card {
    min-height: 13rem;
  }

  .toc {
    position: static;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #14201f;
    --background-deep: #1b2a28;
    --surface: #263632;
    --surface-muted: #30413d;
    --ink: #f3f1e8;
    --ink-soft: #c1cac5;
    --primary: #9bc2bd;
    --primary-deep: #203c43;
    --accent: #82aaa3;
    --focus: #f09a87;
    --shadow: 3px 4px 0 #07100f;
    --border: 2px solid #07100f;
  }

  .brand-mark {
    box-shadow: 2px 2px 0 #07100f;
  }

  .document-card:hover {
    box-shadow: 5px 6px 0 #07100f;
  }
}

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

  .document-card,
  .submit-button {
    transition: none;
  }
}

@media print {
  .site-header,
  .toc,
  .site-footer,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  main,
  .document-header,
  .document-layout {
    width: 100%;
    max-width: none;
    display: block;
    padding: 0;
  }

  .legal-document section {
    break-inside: avoid;
  }
}

@font-face {
  font-family: "Bitter";
  src: url("/legal/assets/Bitter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/legal/assets/AtkinsonHyperlegibleNext-Variable.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body.support-page {
  color-scheme: light;
  --background: #faf6ea;
  --background-deep: #f1f0e9;
  --surface: #fff9ea;
  --surface-muted: #e6eae7;
  --ink: #18211f;
  --ink-soft: #505b56;
  --primary: #2e5560;
  --primary-deep: #203c43;
  --accent: #5e8f87;
  --focus: #c65345;
  --border: 2px solid var(--ink);
  --shadow: 4px 5px 0 var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 13%, rgba(94, 143, 135, 0.14), transparent 25rem),
    var(--background);
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-weight: 600;
}

.support-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 33, 31, 0.12);
  background: rgba(250, 246, 234, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.support-page .header-inner {
  width: min(calc(100% - 3rem), 84rem);
  min-height: 4.5rem;
}

.support-page .brand {
  gap: 0.65rem;
  font-weight: 850;
}

.support-page .brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  overflow: hidden;
  border-radius: 0.7rem;
  background: var(--primary-deep);
  box-shadow: 2px 3px 0 var(--ink);
}

.support-page .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-page .site-nav {
  gap: clamp(1rem, 3vw, 2rem);
}

.support-page .site-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 800;
}

.support-page .site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.support-page .site-nav a:hover::after,
.support-page .site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.support-page main {
  width: min(calc(100% - 3rem), 84rem);
}

#contact-form,
#quick-help {
  scroll-margin-top: 6rem;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(23rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  min-height: 44rem;
  padding: clamp(5.5rem, 10vw, 8rem) 0;
}

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

.support-page .eyebrow {
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 880;
  letter-spacing: 0.15em;
}

.support-hero h1 {
  max-width: 9.5ch;
  margin: 0;
  font-family: "Bitter", Georgia, serif;
  font-size: clamp(3.25rem, 7.5vw, 6.6rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.support-hero-copy > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 1.75rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.support-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.support-primary-action,
.support-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.75rem 1.25rem;
  border: var(--border);
  border-radius: 0.75rem;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.support-primary-action {
  background: var(--primary);
  box-shadow: 3px 4px 0 var(--ink);
  color: var(--surface);
}

.support-secondary-action {
  background: var(--surface);
}

.support-primary-action:hover,
.support-secondary-action:hover {
  color: inherit;
  transform: translate(-1px, -2px);
  box-shadow: 4px 6px 0 var(--ink);
}

.support-primary-action:hover {
  color: var(--surface);
}

.support-hero-art {
  position: relative;
  min-height: 31rem;
  overflow: clip;
}

.support-product-card {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(100%, 24rem);
  padding: 1.8rem;
  overflow: hidden;
  border: var(--border);
  border-radius: 1.6rem;
  background: var(--primary-deep);
  box-shadow: 9px 12px 0 var(--ink);
  color: var(--surface);
  transform: translate(-50%, -50%) rotate(-2deg);
  animation: support-card-float 6s ease-in-out infinite;
}

.support-product-card::after {
  position: absolute;
  right: -6rem;
  bottom: -7rem;
  width: 15rem;
  height: 15rem;
  border: 2.7rem solid rgba(201, 215, 216, 0.08);
  border-radius: 50%;
  content: "";
}

.support-product-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.support-product-brand img {
  width: 4.25rem;
  height: 4.25rem;
  border: 2px solid var(--surface);
  border-radius: 1rem;
  box-shadow: 4px 5px 0 #0d1719;
}

.support-product-brand div {
  display: flex;
  flex-direction: column;
}

.support-product-brand small {
  color: #c9d7d8;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.support-product-brand strong {
  margin-top: 0.15rem;
  font-family: "Bitter", Georgia, serif;
  font-size: 1.45rem;
}

.support-product-card > p {
  position: relative;
  z-index: 1;
  max-width: 17rem;
  margin: 2.3rem 0;
  color: rgba(255, 249, 234, 0.75);
  font-size: 1.1rem;
  line-height: 1.5;
}

.support-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 249, 234, 0.22);
  border-radius: 999px;
  background: rgba(255, 249, 234, 0.07);
  font-size: 0.8rem;
  font-weight: 780;
}

.support-status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #9fbd91;
  box-shadow: 0 0 0 4px rgba(159, 189, 145, 0.12);
}

.support-orbit {
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgba(46, 85, 96, 0.3);
  border-radius: 50%;
  animation: support-orbit-turn 28s linear infinite;
}

.support-orbit::before,
.support-orbit::after {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border: var(--border);
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.support-orbit::before {
  top: 8%;
  left: 18%;
}

.support-orbit::after {
  right: 7%;
  bottom: 22%;
}

.support-orb {
  position: absolute;
  top: 18%;
  left: 8%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 28%,
    rgba(255, 249, 234, 0.95),
    rgba(94, 143, 135, 0.28) 45%,
    rgba(46, 85, 96, 0.03) 72%
  );
  animation: support-orb-roam 11s ease-in-out infinite;
}

.floating-tile {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 3.7rem;
  height: 5rem;
  border: 2px solid var(--ink);
  border-radius: 0.65rem;
  background: var(--surface);
  box-shadow: 4px 5px 0 var(--primary-deep);
  color: var(--primary);
  font-family: "Bitter", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.floating-tile-one {
  top: 8%;
  right: 3%;
  transform: rotate(9deg);
  animation: support-tile-one 7s ease-in-out infinite;
}

.floating-tile-two {
  right: 0;
  bottom: 5%;
  transform: rotate(-8deg);
  animation: support-tile-two 8s ease-in-out infinite;
}

.support-page .support-contact-grid {
  gap: 1.1rem;
  padding: 0 0 clamp(6rem, 10vw, 9rem);
}

.support-page .contact-card {
  position: relative;
  min-height: 11rem;
  padding: 1.45rem;
  border-radius: 1.2rem;
  background: rgba(255, 249, 234, 0.9);
  box-shadow: 4px 5px 0 var(--mist-deep, #d7ded9);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.support-page a.contact-card:hover {
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 6px 8px 0 var(--primary);
}

.support-page .contact-card-icon {
  width: 3rem;
  height: 3rem;
  flex-basis: 3rem;
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  background: var(--surface-muted);
  color: var(--primary-deep);
}

.contact-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-page .contact-card small {
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.support-page .contact-card-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.support-page .contact-card strong {
  font-family: "Bitter", Georgia, serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.support-page .contact-card em {
  margin-top: 0.55rem;
}

.contact-card-arrow {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  display: block !important;
  min-width: 0 !important;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
}

.support-page .support-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(1.3rem, 3vw, 2.2rem);
  padding-bottom: clamp(7rem, 12vw, 11rem);
}

.support-page .support-form-panel {
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border-radius: 1.5rem;
  background: rgba(255, 249, 234, 0.96);
  box-shadow: 7px 9px 0 var(--primary-deep);
}

.support-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.support-section-heading > span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  border: var(--border);
  border-radius: 0.7rem;
  background: var(--primary);
  color: var(--surface);
  font-family: "Bitter", Georgia, serif;
  font-weight: 850;
}

.support-section-heading .eyebrow {
  margin: 0 0 0.35rem;
}

.support-page .support-form-panel h2,
.support-page .support-details h2 {
  font-family: "Bitter", Georgia, serif;
}

.support-page .support-form-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.support-page .form-intro {
  max-width: 34rem;
  margin: 1rem 0 2rem 3.5rem;
}

.support-page .support-form {
  gap: 1.1rem;
}

.support-page .field {
  gap: 0.5rem;
}

.support-page .field label {
  font-size: 0.86rem;
  font-weight: 850;
}

.support-page .field input,
.support-page .field select,
.support-page .field textarea {
  min-height: 3.4rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--background);
  box-shadow: none;
  font-weight: 620;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.support-page .field textarea {
  min-height: 10rem;
}

.support-page .field input::placeholder,
.support-page .field textarea::placeholder {
  color: #7a837f;
}

.support-page .field input:focus,
.support-page .field select:focus,
.support-page .field textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  outline: none;
  box-shadow: 0 0 0 4px rgba(94, 143, 135, 0.16);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

.support-page .submit-button {
  min-width: 11rem;
  min-height: 3.4rem;
  border-radius: 0.75rem;
  background: var(--primary);
  box-shadow: 3px 4px 0 var(--ink);
}

.support-page .support-details {
  position: sticky;
  top: 6rem;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: 1.5rem;
  box-shadow: 7px 9px 0 var(--ink);
}

.support-page .support-details .eyebrow {
  color: #a9cbc5;
}

.support-page .support-details h2 {
  max-width: 9ch;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.support-checklist {
  display: grid;
  gap: 1.3rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.support-checklist li {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.9rem;
}

.support-checklist li > span {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(255, 249, 234, 0.35);
  border-radius: 0.6rem;
  background: rgba(255, 249, 234, 0.08);
  font-family: "Bitter", Georgia, serif;
  font-weight: 850;
}

.support-checklist strong {
  display: block;
  color: var(--surface);
  font-family: "Bitter", Georgia, serif;
}

.support-checklist p {
  margin: 0.25rem 0 0;
  color: rgba(255, 249, 234, 0.66);
  font-size: 0.9rem;
  line-height: 1.45;
}

.support-safety-note {
  margin-top: 2.1rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 249, 234, 0.22);
  border-radius: 0.85rem;
  background: rgba(255, 249, 234, 0.07);
}

.support-safety-note strong {
  font-size: 0.9rem;
}

.support-safety-note p {
  margin: 0.35rem 0 0;
  color: rgba(255, 249, 234, 0.65);
  font-size: 0.8rem;
  line-height: 1.45;
}

.support-page .support-faq {
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding-bottom: clamp(7rem, 12vw, 11rem);
}

.support-faq-intro {
  position: relative;
}

.support-page .support-faq h2 {
  max-width: 10ch;
  font-family: "Bitter", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.support-page .support-faq-intro > p:last-of-type {
  max-width: 25rem;
  margin-top: 1.25rem;
}

.faq-tile-stack {
  display: flex;
  align-items: flex-end;
  margin-top: 2.2rem;
  padding-left: 0.5rem;
}

.faq-tile-stack span {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 4.7rem;
  margin-left: -0.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 0.55rem;
  background: var(--surface);
  box-shadow: 3px 4px 0 var(--primary-deep);
  color: var(--primary);
  font-family: "Bitter", Georgia, serif;
  font-size: 0.58rem;
  font-weight: 850;
}

.faq-tile-stack span:first-child {
  transform: rotate(-7deg);
}

.faq-tile-stack span:nth-child(2) {
  transform: translateY(-0.35rem) rotate(2deg);
}

.faq-tile-stack span:last-child {
  transform: rotate(8deg);
}

.support-page .support-faq-list {
  gap: 0.9rem;
}

.support-page .support-faq details {
  border-radius: 1rem;
  background: rgba(255, 249, 234, 0.9);
  box-shadow: 3px 4px 0 var(--mist-deep, #d7ded9);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.support-page .support-faq details:hover {
  transform: translateY(-2px);
  box-shadow: 4px 6px 0 var(--primary);
}

.support-page .support-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  font-family: "Bitter", Georgia, serif;
  font-size: 1rem;
  list-style: none;
}

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

.support-page .support-faq summary i {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 1.8rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--surface-muted);
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-size: 1.05rem;
  font-style: normal;
  transition: transform 180ms ease;
}

.support-page .support-faq details[open] summary i {
  transform: rotate(45deg);
}

.support-page .support-faq details p {
  padding: 0 4rem 1.3rem 1.35rem;
}

.support-page .site-footer {
  border: 0;
  background: transparent;
  color: var(--surface);
}

.support-page .footer-inner {
  width: min(calc(100% - 3rem), 84rem);
  min-height: 9rem;
  margin-bottom: 1.5rem;
  padding: 1.8rem 2rem;
  border: var(--border);
  border-radius: 1.5rem;
  background: var(--ink);
}

.support-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.support-footer-brand img {
  width: 3rem;
  height: 3rem;
  border: 1.5px solid var(--surface);
  border-radius: 0.75rem;
}

.support-footer-brand > div {
  display: flex;
  flex-direction: column;
}

.support-footer-brand strong {
  font-family: "Bitter", Georgia, serif;
}

.support-footer-brand span {
  color: rgba(255, 249, 234, 0.6);
  font-size: 0.78rem;
}

.support-page .footer-links {
  justify-content: flex-end;
}

.support-page .footer-inner a {
  color: var(--surface);
  font-size: 0.85rem;
  font-weight: 760;
  text-decoration: none;
}

.support-page .footer-inner a:hover {
  color: #c9d7d8;
}

@keyframes support-card-float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-2deg);
  }
  50% {
    transform: translate(-50%, calc(-50% - 0.65rem)) rotate(-0.5deg);
  }
}

@keyframes support-orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes support-orb-roam {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(1.2rem, -1rem) scale(1.08);
  }
}

@keyframes support-tile-one {
  0%,
  100% {
    transform: translateY(0) rotate(9deg);
  }
  50% {
    transform: translateY(-0.8rem) rotate(12deg);
  }
}

@keyframes support-tile-two {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(0.7rem) rotate(-4deg);
  }
}

@media (max-width: 62rem) {
  .support-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
  }

  .support-hero-copy {
    max-width: 45rem;
  }

  .support-hero-art {
    min-height: 28rem;
  }

  .support-page .support-contact-grid {
    grid-template-columns: 1fr;
  }

  .support-page .contact-card {
    min-height: 0;
  }

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

  .support-page .support-details {
    position: static;
  }

  .support-page .support-faq {
    grid-template-columns: 1fr;
  }

  .support-page .support-faq h2 {
    max-width: 13ch;
  }
}

@media (max-width: 48rem) {
  .support-page .header-inner {
    width: min(calc(100% - 2rem), 84rem);
    min-height: 4.5rem;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding-block: 0.85rem;
  }

  .support-page .site-nav {
    width: auto;
    gap: 0.75rem;
  }

  .support-page .site-nav a {
    font-size: 0.8rem;
  }

  .support-page .site-nav a:not([aria-current="page"]) {
    display: none;
  }

  .support-page main {
    width: min(calc(100% - 2rem), 84rem);
  }

  .support-hero {
    padding: 4.5rem 0 5rem;
  }

  .support-hero h1 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .support-hero-art {
    min-height: 24rem;
  }

  .support-product-card {
    width: min(calc(100% - 2rem), 22rem);
    padding: 1.4rem;
  }

  .support-product-card > p {
    margin: 1.8rem 0;
  }

  .support-orbit {
    inset: 1.5rem 0;
  }

  .floating-tile-one {
    right: 0;
  }

  .floating-tile-two {
    right: 0.5rem;
  }

  .support-page .contact-card {
    padding: 1.2rem;
  }

  .support-page .contact-card strong {
    font-size: 0.98rem;
  }

  .support-page .contact-card[href^="mailto:"] strong {
    font-size: 0.9rem;
  }

  .support-page .support-form-panel,
  .support-page .support-details {
    padding: 1.3rem;
    border-radius: 1.15rem;
    box-shadow: 4px 6px 0 var(--primary-deep);
  }

  .support-section-heading {
    gap: 0.75rem;
  }

  .support-page .form-intro {
    margin-left: 0;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .support-page .submit-button {
    width: 100%;
  }

  .support-page .support-faq details p {
    padding-right: 1.35rem;
  }

  .support-page .footer-inner {
    width: min(calc(100% - 2rem), 84rem);
    margin-bottom: 1rem;
    padding: 1.4rem;
  }

  .support-page .footer-links {
    justify-content: flex-start;
    gap: 0.8rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-product-card,
  .support-orbit,
  .support-orb,
  .floating-tile {
    animation: none;
  }
}

body:not(.support-page) {
  color-scheme: light;
  --background: #faf6ea;
  --background-deep: #f1f0e9;
  --surface: #fff9ea;
  --surface-muted: #e6eae7;
  --ink: #18211f;
  --ink-soft: #505b56;
  --primary: #2e5560;
  --primary-deep: #203c43;
  --accent: #5e8f87;
  --focus: #c65345;
  --shadow: 4px 5px 0 var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(94, 143, 135, 0.15), transparent 26rem),
    radial-gradient(circle at 8% 65%, rgba(201, 215, 216, 0.28), transparent 24rem),
    var(--background);
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-weight: 600;
}

body:not(.support-page) .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 33, 31, 0.12);
  background: rgba(250, 246, 234, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body:not(.support-page) .header-inner {
  width: min(calc(100% - 3rem), 84rem);
  min-height: 4.5rem;
}

body:not(.support-page) .brand {
  gap: 0.65rem;
  font-weight: 850;
}

body:not(.support-page) .brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 0.7rem;
  background-color: var(--primary-deep);
  background-image: url("/legal/assets/app-icon.png");
  background-position: center;
  background-size: cover;
  box-shadow: 2px 3px 0 var(--ink);
  color: transparent;
  font-size: 0;
}

body:not(.support-page) .site-nav {
  gap: clamp(1rem, 3vw, 2rem);
}

body:not(.support-page) .site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

body:not(.support-page) .site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

body:not(.support-page) .site-nav a:hover::after,
body:not(.support-page) .site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

body:not(.support-page) main {
  width: min(calc(100% - 3rem), 84rem);
}

body:not(.support-page) .legal-hero {
  position: relative;
  display: flex;
  min-height: clamp(31rem, 70vh, 46rem);
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 11vw, 9rem) 0;
  overflow: clip;
}

body:not(.support-page) .legal-hero::before,
body:not(.support-page) .legal-hero::after {
  position: absolute;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 5.4rem;
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 5px 7px 0 var(--primary-deep);
  color: var(--primary);
  font-family: "Bitter", Georgia, serif;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  animation: legal-tile-float 7s ease-in-out infinite;
}

body:not(.support-page) .legal-hero::before {
  top: 18%;
  right: 12%;
  content: "RULES";
  transform: rotate(8deg);
}

body:not(.support-page) .legal-hero::after {
  right: 25%;
  bottom: 13%;
  content: "SAFE";
  transform: rotate(-7deg);
  animation-delay: -3.5s;
}

body:not(.support-page) .legal-hero h1,
body:not(.support-page) .document-header h1,
body:not(.support-page) .platform-heading h2,
body:not(.support-page) .document-card h2,
body:not(.support-page) .document-card h3,
body:not(.support-page) .support-banner h2,
body:not(.support-page) .legal-document h2 {
  font-family: "Bitter", Georgia, serif;
}

body:not(.support-page) .legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

body:not(.support-page) .legal-hero p {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
}

body:not(.support-page) .platform-section {
  padding-bottom: clamp(6rem, 11vw, 10rem);
  scroll-margin-top: 6rem;
}

body:not(.support-page) .platform-heading {
  margin-bottom: 2rem;
  padding-bottom: 1.35rem;
  border-bottom: 2px solid var(--ink);
}

body:not(.support-page) .platform-heading h2 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 760;
  letter-spacing: -0.05em;
}

body:not(.support-page) .eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 880;
  letter-spacing: 0.15em;
}

body:not(.support-page) .platform-documents {
  gap: 1.1rem;
}

body:not(.support-page) .document-card {
  position: relative;
  min-height: 19rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  overflow: hidden;
  border-radius: 1.35rem;
  background: rgba(255, 249, 234, 0.94);
  box-shadow: 5px 7px 0 var(--primary-deep);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

body:not(.support-page) .document-card::after {
  position: absolute;
  right: -3rem;
  bottom: -3.5rem;
  width: 8rem;
  height: 8rem;
  border: 1.4rem solid rgba(94, 143, 135, 0.08);
  border-radius: 50%;
  content: "";
}

body:not(.support-page) .platform-documents .document-card:nth-child(2) {
  background: var(--primary-deep);
  box-shadow: 5px 7px 0 var(--ink);
  color: var(--surface);
}

body:not(.support-page) .platform-documents .document-card:nth-child(3) {
  background: var(--surface-muted);
}

body:not(.support-page) .document-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 11px 0 var(--primary);
}

body:not(.support-page) .document-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
}

body:not(.support-page) .document-type {
  color: var(--accent);
}

body:not(.support-page) .card-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body:not(.support-page) .card-action::after {
  content: "↗";
}

body:not(.support-page) .support-banner {
  position: relative;
  margin-bottom: clamp(6rem, 10vw, 9rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--primary-deep);
  box-shadow: 8px 10px 0 var(--ink);
  color: var(--surface);
}

body:not(.support-page) .support-banner::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 16rem;
  height: 16rem;
  border: 2.5rem solid rgba(201, 215, 216, 0.08);
  border-radius: 50%;
  content: "";
}

body:not(.support-page) .support-banner .eyebrow {
  color: #a9cbc5;
}

body:not(.support-page) .support-banner h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.045em;
}

body:not(.support-page) .support-banner p:last-child {
  color: rgba(255, 249, 234, 0.7);
}

body:not(.support-page) .support-action {
  position: relative;
  z-index: 1;
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 3px 4px 0 #0d1719;
  color: var(--ink);
}

body:not(.support-page) .support-action:hover {
  background: #c9d7d8;
  color: var(--ink);
}

body:not(.support-page) .document-header {
  position: relative;
  max-width: 60rem;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

body:not(.support-page) .document-header::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  content: "MAHJONG TRAINER · LEGAL";
  font-size: 0.75rem;
  font-weight: 880;
  letter-spacing: 0.15em;
}

body:not(.support-page) .document-header h1 {
  max-width: 13ch;
  font-size: clamp(3.1rem, 7vw, 6rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

body:not(.support-page) .document-meta {
  display: inline-flex;
  gap: 0.25rem;
  margin-top: 1.5rem;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 780;
}

body:not(.support-page) .document-layout {
  grid-template-columns: minmax(13rem, 15rem) minmax(0, 48rem);
  gap: clamp(2rem, 6vw, 5rem);
  justify-content: start;
  padding-bottom: clamp(7rem, 12vw, 11rem);
}

body:not(.support-page) .toc {
  top: 6rem;
  padding: 1.35rem;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: var(--primary-deep);
  box-shadow: 4px 5px 0 var(--ink);
}

body:not(.support-page) .toc strong {
  color: var(--surface);
  font-family: "Bitter", Georgia, serif;
  font-size: 1rem;
}

body:not(.support-page) .toc a {
  padding: 0.35rem 0;
  color: rgba(255, 249, 234, 0.68);
  font-size: 0.82rem;
}

body:not(.support-page) .toc a:hover {
  color: #a9cbc5;
}

body:not(.support-page) .legal-document {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 2px solid var(--ink);
  border-radius: 1.5rem;
  background: rgba(255, 249, 234, 0.96);
  box-shadow: 7px 9px 0 var(--primary-deep);
}

body:not(.support-page) .legal-document section {
  scroll-margin-top: 6rem;
}

body:not(.support-page) .legal-document h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 760;
  letter-spacing: -0.035em;
}

body:not(.support-page) .legal-document h3 {
  color: var(--primary-deep);
  font-size: 1.08rem;
}

body:not(.support-page) .legal-document a {
  font-weight: 760;
}

body:not(.support-page) .callout {
  padding: 1.2rem 1.3rem;
  border: 1.5px solid var(--ink);
  border-left: 0.4rem solid var(--accent);
  border-radius: 0.8rem;
  background: var(--surface-muted);
}

body:not(.support-page) .site-footer {
  border: 0;
  background: transparent;
  color: var(--surface);
}

body:not(.support-page) .footer-inner {
  width: min(calc(100% - 3rem), 84rem);
  min-height: 8rem;
  margin-bottom: 1.5rem;
  padding: 1.7rem 2rem;
  border: 2px solid var(--ink);
  border-radius: 1.5rem;
  background: var(--ink);
}

body:not(.support-page) .footer-inner > p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Bitter", Georgia, serif;
  font-weight: 800;
}

body:not(.support-page) .footer-inner > p::before {
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 2.7rem;
  border: 1.5px solid var(--surface);
  border-radius: 0.7rem;
  background: url("/legal/assets/app-icon.png") center / cover;
  content: "";
}

body:not(.support-page) .footer-inner a {
  color: var(--surface);
  font-size: 0.85rem;
  font-weight: 760;
  text-decoration: none;
}

body:not(.support-page) .footer-inner a:hover {
  color: #a9cbc5;
}

@keyframes legal-tile-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.8rem;
  }
}

@media (max-width: 62rem) {
  body:not(.support-page) .platform-documents {
    grid-template-columns: 1fr;
  }

  body:not(.support-page) .document-card {
    min-height: 15rem;
  }

  body:not(.support-page) .document-layout {
    grid-template-columns: 1fr;
  }

  body:not(.support-page) .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
  }

  body:not(.support-page) .toc strong {
    width: 100%;
  }
}

@media (max-width: 48rem) {
  body:not(.support-page) .header-inner {
    width: min(calc(100% - 2rem), 84rem);
    padding-block: 0.85rem;
  }

  body:not(.support-page) .site-nav {
    gap: 0.75rem 1rem;
  }

  body:not(.support-page) .site-nav a {
    font-size: 0.78rem;
  }

  body:not(.support-page) main {
    width: min(calc(100% - 2rem), 84rem);
  }

  body:not(.support-page) .legal-hero {
    min-height: 36rem;
    padding: 4.5rem 0 6rem;
  }

  body:not(.support-page) .legal-hero h1 {
    max-width: 8ch;
    font-size: clamp(3.3rem, 16vw, 5.2rem);
  }

  body:not(.support-page) .legal-hero::before {
    top: auto;
    right: 1.5rem;
    bottom: 2rem;
  }

  body:not(.support-page) .legal-hero::after {
    display: none;
  }

  body:not(.support-page) .platform-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  body:not(.support-page) .document-header {
    padding-top: 4.5rem;
  }

  body:not(.support-page) .document-header h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  body:not(.support-page) .legal-document {
    padding: 1.25rem;
    border-radius: 1.1rem;
    box-shadow: 4px 6px 0 var(--primary-deep);
  }

  body:not(.support-page) .support-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  body:not(.support-page) .footer-inner {
    width: min(calc(100% - 2rem), 84rem);
    margin-bottom: 1rem;
    padding: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.support-page) .legal-hero::before,
  body:not(.support-page) .legal-hero::after {
    animation: none;
  }
}

@media print {
  body:not(.support-page) {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  body:not(.support-page) .site-header,
  body:not(.support-page) .toc,
  body:not(.support-page) .site-footer,
  body:not(.support-page) .skip-link {
    display: none;
  }

  body:not(.support-page) main,
  body:not(.support-page) .document-header,
  body:not(.support-page) .document-layout,
  body:not(.support-page) .legal-document {
    width: 100%;
    max-width: none;
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

html.page-is-leaving {
  pointer-events: none;
}

html.page-is-leaving body {
  animation: page-transition-out 300ms cubic-bezier(0.4, 0, 1, 1) both;
}

html.page-is-entering body {
  animation: page-transition-in 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html::after {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), #c9d7d8);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
}

html.page-is-leaving::after {
  animation: page-transition-sweep 300ms cubic-bezier(0.4, 0, 1, 1) both;
}

html.page-is-entering .site-header .brand-mark {
  animation: page-icon-settle 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.page-is-entering .legal-hero h1,
html.page-is-entering .document-header h1,
html.page-is-entering .support-hero h1 {
  animation: page-heading-settle 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes page-transition-out {
  to {
    opacity: 0;
    transform: translateY(-14px) scale(0.995);
  }
}

@keyframes page-transition-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.995);
  }
}

@keyframes page-transition-sweep {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes page-icon-settle {
  from {
    opacity: 0;
    transform: translateY(-10px) rotate(-4deg) scale(0.9);
  }
}

@keyframes page-heading-settle {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.page-is-leaving body,
  html.page-is-entering body,
  html.page-is-leaving::after,
  html.page-is-entering .site-header .brand-mark,
  html.page-is-entering .legal-hero h1,
  html.page-is-entering .document-header h1,
  html.page-is-entering .support-hero h1 {
    animation-duration: 0.01ms !important;
  }
}
