:root {
  --ink: #101821;
  --muted: #5c6872;
  --paper: #f5f8f5;
  --surface: #ffffff;
  --line: #d8e0db;
  --navy: #081827;
  --navy-soft: #132b3c;
  --green: #16764a;
  --green-dark: #0e5937;
  --gold: #f2b43d;
  --blue: #3d78c5;
  --red: #b8463d;
  --shadow: 0 14px 34px rgba(8, 24, 39, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(61, 120, 197, 0.08), transparent 340px),
    var(--paper);
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 224, 219, 0.86);
  background: rgba(245, 248, 245, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner,
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 42px;
  height: 42px;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

main {
  min-height: 65vh;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 70px;
  padding: 72px 0 82px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 4.65rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--green-dark);
  color: #fff;
}

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

.motion-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #233d4c;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(61, 120, 197, 0.28), transparent 45%),
    var(--navy);
  box-shadow: var(--shadow);
}

.motion-panel::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -70px;
  width: 210px;
  height: 410px;
  border: 2px solid rgba(242, 180, 61, 0.65);
  border-top: 0;
  transform: translateX(-50%) perspective(180px) rotateX(28deg);
}

.motion-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 62px, rgba(255, 255, 255, 0.025) 62px 63px);
  pointer-events: none;
}

.motion-logo {
  position: relative;
  z-index: 2;
  width: 116px;
  height: 116px;
  margin: 48px auto 26px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.motion-title {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 0 24px;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 850;
  text-align: center;
}

.motion-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 54px 22px 0;
}

.motion-step {
  min-height: 92px;
  padding: 14px 10px;
  border-top: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.09);
  color: #dce8ee;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.motion-step strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 0.9rem;
}

.band {
  padding: 76px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.band.alt {
  background: #edf3ef;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  line-height: 1.75;
}

.feature-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature,
.link-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.feature,
.link-card {
  padding: 24px;
}

.feature-bar {
  width: 40px;
  height: 5px;
  margin-bottom: 22px;
  background: var(--gold);
}

.feature:nth-child(2) .feature-bar {
  background: var(--blue);
}

.feature:nth-child(3) .feature-bar {
  background: var(--red);
}

.feature p,
.link-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.link-card a {
  font-weight: 800;
}

.page-hero {
  padding: 68px 0 50px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 5vw, 3.7rem);
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 64px;
  align-items: start;
  padding: 54px 0 86px;
}

.toc {
  position: sticky;
  top: 100px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
}

.toc strong {
  display: block;
  margin-bottom: 11px;
  color: var(--navy);
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.legal-content section {
  scroll-margin-top: 100px;
  margin-bottom: 42px;
}

.legal-content p,
.legal-content li {
  color: #36434d;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

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

.notice {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--blue);
}

.notice.warning {
  border-left-color: var(--gold);
}

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

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

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

.data-table th {
  background: var(--navy);
  color: #fff;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}

.support-block {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.support-block p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 50px 0 34px;
  background: var(--navy);
  color: #c7d4dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(2, 1fr);
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 850;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.96rem;
}

.site-footer p {
  max-width: 390px;
  color: #aebfc9;
  line-height: 1.65;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #dce8ee;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #284151;
  color: #91a5b1;
  font-size: 0.86rem;
}

@media (max-width: 840px) {
  .header-inner {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 58px 0 72px;
  }

  .motion-panel {
    min-height: 390px;
  }

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

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

  .toc {
    position: static;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    gap: 17px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .motion-steps {
    margin-inline: 12px;
  }

  .motion-step {
    padding-inline: 5px;
    font-size: 0.7rem;
  }

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

  .footer-grid > :first-child {
    grid-column: auto;
  }

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

