:root {
  --navy-950: #041126;
  --navy-900: #071a36;
  --navy-800: #0d2a54;
  --blue-700: #135fc7;
  --blue-600: #1677e8;
  --blue-500: #2e91ff;
  --cyan-400: #48c7e8;
  --ink: #10213b;
  --muted: #62728b;
  --line: #dce7f5;
  --surface: #ffffff;
  --surface-soft: #f3f8ff;
  --page: #f8fbff;
  --success: #2eb67d;
  --shadow-sm: 0 12px 30px rgba(13, 42, 84, 0.08);
  --shadow-lg: 0 28px 70px rgba(7, 26, 54, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1160px;
  --header-height: 76px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

html[data-lang="zh-CN"] .lang-en,
html[data-lang="en"] .lang-zh {
  display: none !important;
}

[hidden] {
  display: none !important;
}

::selection {
  color: #fff;
  background: var(--blue-600);
}

:focus-visible {
  outline: 3px solid rgba(22, 119, 232, 0.36);
  outline-offset: 3px;
  border-radius: 5px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(220, 231, 245, 0.9);
  box-shadow: 0 10px 34px rgba(13, 42, 84, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-name {
  font-size: 0.96rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 9px 13px;
  color: #42536d;
  border-radius: 9px;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue-700);
  background: #edf5ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.language-toggle,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.language-toggle {
  min-width: 58px;
  padding: 0 12px;
  color: var(--navy-800);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.language-toggle:hover,
.menu-toggle:hover {
  border-color: #9dc7f8;
  box-shadow: 0 8px 20px rgba(22, 119, 232, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  padding: 0;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 18px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
}

.menu-toggle span {
  display: block;
  margin: 4px 0;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 12% 18%, rgba(46, 145, 255, 0.16), transparent 28%),
    radial-gradient(circle at 89% 28%, rgba(72, 199, 232, 0.18), transparent 25%),
    linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(19, 95, 199, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 95, 199, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 92%);
}

.hero::after {
  width: 400px;
  height: 400px;
  right: -190px;
  bottom: -230px;
  border: 70px solid rgba(22, 119, 232, 0.07);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 99px;
}

.hero h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-description {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.95rem;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 14px 34px rgba(22, 119, 232, 0.25);
}

.button-primary:hover {
  box-shadow: 0 18px 40px rgba(22, 119, 232, 0.32);
}

.button-secondary {
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
}

.button-secondary:hover {
  background: #fff;
  border-color: #a8cdf8;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 20px;
  color: #dcecff;
  background: linear-gradient(145deg, rgba(7, 26, 54, 0.98), rgba(13, 42, 84, 0.94));
  border: 1px solid rgba(137, 190, 255, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-panel::before {
  position: absolute;
  width: 220px;
  height: 220px;
  top: -130px;
  right: -90px;
  content: "";
  background: radial-gradient(circle, rgba(72, 199, 232, 0.32), transparent 68%);
}

.panel-header,
.stack-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header {
  position: relative;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(193, 219, 250, 0.14);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.69rem;
  letter-spacing: 0.12em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #86f0c4;
}

.status::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(46, 182, 125, 0.12);
}

.stack {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.stack-item {
  min-height: 78px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(193, 219, 250, 0.11);
  border-radius: 15px;
}

.stack-number {
  color: #68d3ed;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.stack-item h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 0.97rem;
  line-height: 1.25;
}

.stack-item p {
  margin: 4px 0 0;
  color: #91a9c8;
  font-size: 0.73rem;
  line-height: 1.35;
}

.stack-arrow {
  color: #5fa5ef;
  font-size: 1.15rem;
}

.section {
  padding: 92px 0;
}

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

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(46, 145, 255, 0.22), transparent 30%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-dark .section-heading h2 {
  color: #fff;
}

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

.section-dark .section-heading p {
  color: #aec5e5;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.about-copy p {
  margin: 0;
  color: #4b5d76;
  font-size: 1.04rem;
  line-height: 2;
}

.about-copy p + p {
  margin-top: 18px;
}

.values {
  display: grid;
  gap: 12px;
}

.value-item {
  position: relative;
  padding: 21px 22px 21px 58px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 22px rgba(13, 42, 84, 0.04);
}

.value-item::before {
  position: absolute;
  left: 22px;
  top: 25px;
  width: 18px;
  height: 18px;
  content: "";
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  border-radius: 5px 5px 5px 1px;
  box-shadow: 0 5px 12px rgba(22, 119, 232, 0.22);
}

.value-item h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1rem;
}

.value-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 27px 24px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(193, 219, 250, 0.15);
  border-radius: var(--radius-md);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.service-card::after {
  position: absolute;
  width: 150px;
  height: 150px;
  right: -95px;
  bottom: -100px;
  content: "";
  background: radial-gradient(circle, rgba(72, 199, 232, 0.2), transparent 68%);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.095);
  border-color: rgba(104, 211, 237, 0.36);
  transform: translateY(-5px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #8fdcf0;
  background: rgba(72, 199, 232, 0.1);
  border: 1px solid rgba(72, 199, 232, 0.2);
  border-radius: 14px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin: 25px 0 0;
  color: #fff;
  font-size: 1.08rem;
}

.service-card p {
  margin: 11px 0 0;
  color: #aec5e5;
  font-size: 0.87rem;
  line-height: 1.75;
}

.contact-section {
  padding: 84px 0;
  background: linear-gradient(180deg, #fff 0%, #eef7ff 100%);
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 46px;
  color: #fff;
  background: linear-gradient(120deg, var(--blue-700), #0a3c80 72%);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(13, 95, 199, 0.24);
}

.contact-card::after {
  position: absolute;
  width: 330px;
  height: 330px;
  right: -120px;
  top: -180px;
  content: "";
  border: 60px solid rgba(255, 255, 255, 0.075);
  border-radius: 50%;
}

.contact-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.contact-card p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 14px 0 0;
  color: #d4e6ff;
}

.contact-card .button {
  position: relative;
  z-index: 1;
  color: var(--navy-900);
  background: #fff;
  white-space: nowrap;
}

.contact-note {
  margin: 18px 0 0;
  color: #7a8ca6;
  font-size: 0.83rem;
  text-align: center;
}

.site-footer {
  padding: 58px 0 28px;
  color: #adc0dc;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  max-width: 560px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  margin: 18px 0 0;
  color: #8fa6c4;
  font-size: 0.88rem;
}

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

.footer-links a {
  color: #d6e5f8;
  font-size: 0.88rem;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: #66d2ed;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(193, 219, 250, 0.13);
}

.footer-bottom p {
  margin: 0;
  color: #6f87a8;
  font-size: 0.78rem;
}

.legal-name {
  text-align: right;
}

.legal-hero {
  padding: 70px 0 56px;
  background:
    radial-gradient(circle at 82% 12%, rgba(72, 199, 232, 0.14), transparent 24%),
    linear-gradient(180deg, #fbfdff, #f2f7ff);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.legal-hero > .container > p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.legal-meta > span {
  padding: 6px 11px;
  color: #48617f;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
}

.legal-main {
  padding: 64px 0 90px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.legal-toc strong {
  display: block;
  margin-bottom: 15px;
  color: var(--navy-900);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.legal-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-toc;
}

.legal-toc li {
  counter-increment: legal-toc;
}

.legal-toc a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 7px;
  color: #61728a;
  font-size: 0.79rem;
  line-height: 1.45;
}

.legal-toc a::before {
  content: counter(legal-toc, decimal-leading-zero);
  color: var(--blue-600);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
}

.legal-toc a:hover {
  color: var(--blue-700);
}

.legal-article {
  min-width: 0;
  padding: 48px 54px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.legal-intro {
  margin: 0 0 34px;
  padding: 20px 22px;
  color: #3d5370;
  background: #f3f8ff;
  border-left: 4px solid var(--blue-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
}

.legal-article section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.legal-article section + section {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid #edf2f8;
}

.legal-article h2 {
  margin: 0 0 16px;
  color: var(--navy-900);
  font-size: 1.35rem;
  line-height: 1.35;
}

.legal-article h3 {
  margin: 24px 0 9px;
  color: #203753;
  font-size: 1rem;
}

.legal-article p,
.legal-article li {
  color: #52657f;
  font-size: 0.92rem;
  line-height: 1.9;
}

.legal-article p {
  margin: 0;
}

.legal-article p + p {
  margin-top: 14px;
}

.legal-article ul,
.legal-article ol {
  margin: 14px 0 0;
  padding-left: 1.4em;
}

.legal-article li + li {
  margin-top: 7px;
}

.legal-article a {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

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

.legal-table th {
  color: var(--navy-900);
  background: #f3f8ff;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-callout {
  margin-top: 18px;
  padding: 18px 20px;
  color: #38506d;
  background: #f7faff;
  border: 1px solid #d7e7f9;
  border-radius: var(--radius-sm);
}

.legal-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 18px;
  padding: 18px 20px;
  color: #dcecff;
  background: var(--navy-900);
  border-radius: var(--radius-sm);
}

.legal-contact a {
  color: #75d7ef;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .hero {
    padding: 70px 0 78px;
  }

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

  .hero-panel {
    width: min(100%, 680px);
    transform: none;
  }

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

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

  .legal-article {
    padding: 42px 38px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 6px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 24px 50px rgba(13, 42, 84, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 0.96rem;
  }

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

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }
  .language-toggle {
    min-width: 52px;
    height: 39px;
  }

  .menu-toggle {
    width: 39px;
    height: 39px;
  }

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

  .hero h1 {
    font-size: clamp(2.75rem, 16vw, 4.2rem);
  }
  .hero-description {
    font-size: 1rem;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    padding: 15px;
    border-radius: 22px;
  }

  .panel-header {
    font-size: 0.62rem;
  }

  .stack-item {
    min-height: 72px;
  }

  .section {
    padding: 68px 0;
  }

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

  .section-heading h2 {
    font-size: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .service-card {
    min-height: 0;
  }

  .contact-section {
    padding: 58px 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    border-radius: 24px;
  }

  .contact-card .button {
    width: 100%;
  }

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

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

  .footer-bottom {
    display: grid;
    align-items: start;
  }

  .legal-name {
    text-align: left;
  }

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

  .legal-main {
    padding: 38px 0 66px;
  }

  .legal-toc {
    padding: 20px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-article {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .legal-article section + section {
    margin-top: 32px;
    padding-top: 30px;
  }
}

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

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

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