:root {
  color-scheme: light;
  --font-body: "Satoshi", "Inter", system-ui, sans-serif;
  --font-display: "Outfit", "Satoshi", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --blue: #1e91fb;
  --blue-deep: #1766df;
  --blue-dark: #0a48a6;
  --green: #7daa89;
  --mint: #c0e3cb;
  --page: #f5f7fb;
  --page-deep: #eaf0f8;
  --surface: #ffffff;
  --surface-tint: #edf5ff;
  --ink: #16283b;
  --ink-soft: #4a6175;
  --ink-muted: #5f7487;
  --line: rgba(38, 76, 111, 0.14);
  --line-strong: rgba(38, 76, 111, 0.24);
  --focus: #0f66db;
  --night: #071b36;
  --night-raised: #0c2547;
  --ink-inverse: #f4f8fd;
  --shadow-sm: 0 10px 32px rgba(24, 65, 105, 0.09);
  --shadow-md: 0 20px 54px rgba(24, 65, 105, 0.13);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 3%, rgba(30, 145, 251, 0.1), transparent 30rem),
    radial-gradient(circle at 90% 18%, rgba(192, 227, 203, 0.22), transparent 28rem),
    var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.45) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 70% 80%, rgba(16, 49, 78, 0.12) 0 0.5px, transparent 0.7px);
  background-position: 0 0, 4px 7px;
  background-size: 11px 11px, 13px 13px;
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

::selection {
  background: rgba(30, 145, 251, 0.25);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

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

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

.site-header {
  position: sticky;
  top: 10px;
  z-index: 100;
  height: 0;
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 10px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}

.brand-logo {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.brand-logo img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: cover;
}

.brand-product {
  font-size: 0.95rem;
  white-space: nowrap;
}

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

.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(30, 145, 251, 0.09);
  color: var(--ink);
}

.back-home,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue-deep);
  box-shadow: 0 12px 28px rgba(23, 102, 223, 0.25);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.back-home {
  font-size: 0.84rem;
  white-space: nowrap;
}

.back-home:hover,
.button:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 34px rgba(23, 102, 223, 0.32);
  transform: translateY(-2px);
}

.back-home:active,
.button:active {
  transform: scale(0.98);
}

.legal-hero {
  position: relative;
  padding: 174px 0 88px;
  overflow: hidden;
}

.legal-hero::after {
  position: absolute;
  z-index: -1;
  top: 120px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 145, 251, 0.13), transparent 67%);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(3rem, 6.4vw, 5.7rem);
}

h1 strong {
  color: var(--blue-deep);
  font: inherit;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 65ch;
  margin: 28px 0 14px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  text-wrap: pretty;
}

.updated {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.hero-home {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-deep);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-home:hover {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.connector-mark {
  position: relative;
}

.connector-mark::before {
  position: absolute;
  z-index: -1;
  inset: 16%;
  border-radius: 50%;
  background: rgba(192, 227, 203, 0.55);
  content: "";
  filter: blur(24px);
}

.connector-mark img {
  display: block;
  width: 100%;
  border: 8px solid rgba(255, 255, 255, 0.84);
  border-radius: 38px;
  box-shadow: var(--shadow-md);
}

.scope-strip {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 1fr 1fr;
}

.scope-item {
  padding: 26px 30px 28px 0;
}

.scope-item + .scope-item {
  padding-left: 30px;
  border-left: 1px solid var(--line-strong);
}

.scope-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scope-item p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-shell {
  display: grid;
  align-items: start;
  gap: 72px;
  padding-bottom: 120px;
  grid-template-columns: 230px minmax(0, 760px);
}

.contents {
  position: sticky;
  top: 112px;
  padding-top: 12px;
}

.contents p {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contents a {
  display: block;
  padding: 7px 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
}

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

.legal-content section {
  scroll-margin-top: 120px;
  padding: 54px 0 60px;
  border-top: 1px solid var(--line);
}

.legal-content section:first-child {
  padding-top: 12px;
  border-top: 0;
}

.legal-content p,
.legal-content li {
  max-width: 68ch;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content ul,
.legal-content ol {
  margin: 22px 0 0;
  padding-left: 1.25em;
}

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

.plain-note {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 3px solid var(--blue-deep);
  background: var(--surface-tint);
  color: var(--ink-soft);
}

.plain-note strong {
  color: var(--ink);
}

.steps {
  counter-reset: step;
  padding: 0 !important;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 52px;
  padding-left: 66px;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--blue-deep);
  content: counter(step);
  counter-increment: step;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-band {
  position: relative;
  padding: 62px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--night);
  box-shadow: 0 28px 70px rgba(7, 27, 54, 0.2);
  color: var(--ink-inverse);
}

.contact-band::after {
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 145, 251, 0.35), transparent 68%);
  content: "";
  pointer-events: none;
}

.contact-band h2,
.contact-band p,
.contact-actions {
  position: relative;
  z-index: 1;
}

.contact-band h2 {
  max-width: 650px;
  margin-bottom: 18px;
  color: var(--ink-inverse);
}

.contact-band p {
  max-width: 60ch;
  margin: 0;
  color: #b9c9da;
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  box-shadow: none;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: var(--night-raised);
  box-shadow: none;
}

.site-footer {
  margin-top: 110px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.footer-inner a {
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .header-inner {
    border-radius: 26px;
  }

  .brand-product,
  .back-home {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 30px;
  }

  .legal-shell {
    gap: 40px;
    grid-template-columns: 190px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 8px;
  }

  .header-inner {
    min-height: 62px;
    padding: 5px 8px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

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

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding: 8px 7px;
    font-size: 0.72rem;
  }

  .legal-hero {
    padding: 142px 0 62px;
  }

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

  .connector-mark {
    display: none;
  }

  .scope-strip {
    grid-template-columns: 1fr;
  }

  .scope-item {
    padding: 22px 0;
  }

  .scope-item + .scope-item {
    padding-left: 0;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .legal-shell {
    display: block;
    padding-bottom: 72px;
  }

  .contents {
    position: static;
    display: flex;
    margin-bottom: 34px;
    padding: 14px 0;
    overflow-x: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }

  .contents p {
    display: none;
  }

  .contents a {
    flex: 0 0 auto;
    padding: 7px 10px;
  }

  .legal-content section,
  .legal-content section:first-child {
    padding: 40px 0 44px;
  }

  .contact-band {
    padding: 38px 26px 42px;
    border-radius: 24px;
  }

  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  .site-footer {
    margin-top: 72px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
