:root {
  color-scheme: light;
  --page: #f4f8f7;
  --surface: #ffffff;
  --surface-soft: #eef7f4;
  --surface-strong: #e2f1ed;
  --ink: #132522;
  --ink-soft: #526661;
  --ink-faint: #71817d;
  --line: #d9e6e2;
  --brand: #087d6c;
  --brand-strong: #055e52;
  --brand-soft: #dff6ef;
  --accent: #ee9719;
  --danger: #bd3b47;
  --shadow-sm: 0 1px 2px rgba(8, 28, 25, 0.06);
  --shadow-md: 0 18px 50px rgba(8, 28, 25, 0.09);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --content: 1160px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(45, 196, 168, 0.13), transparent 28rem),
    radial-gradient(circle at 95% 9%, rgba(249, 178, 51, 0.08), transparent 23rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(13, 155, 132, 0.35);
  outline-offset: 3px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 230, 226, 0.78);
  background: rgba(244, 248, 247, 0.86);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.language-picker {
  position: relative;
}

.language-picker::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.language-picker select {
  min-height: 42px;
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  appearance: none;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}

.brand-meta {
  display: grid;
  line-height: 1.12;
}

.brand-meta small {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.top-nav a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.top-nav a[aria-current="page"] {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--brand-strong);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-button svg {
  display: block;
  width: 20px;
  margin: auto;
}

.page-shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  margin: 42px 0 34px;
  padding: clamp(32px, 5.5vw, 68px);
  border: 1px solid rgba(217, 230, 226, 0.88);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.99), rgba(238, 247, 244, 0.96)),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.hero::after {
  position: absolute;
  top: -150px;
  right: -110px;
  width: 410px;
  height: 410px;
  border: 80px solid rgba(45, 196, 168, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  position: absolute;
  right: 22%;
  bottom: -64px;
  width: 150px;
  height: 150px;
  border-radius: 48px;
  background: rgba(249, 178, 51, 0.08);
  content: "";
  transform: rotate(24deg);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--brand-strong);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(249, 178, 51, 0.13);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6.2vw, 5rem);
  hyphens: auto;
  letter-spacing: -0.058em;
  overflow-wrap: anywhere;
}

.hero-lede {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 650;
}

.meta-pill svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, var(--reading));
  justify-content: center;
  gap: 44px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 106px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.toc-title {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 2px;
  list-style: none;
}

.toc a {
  display: block;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  background: var(--surface-soft);
  color: var(--brand-strong);
}

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

.section-card {
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.section-card:target {
  border-color: rgba(13, 155, 132, 0.38);
  box-shadow: 0 0 0 4px rgba(13, 155, 132, 0.08);
}

.section-heading {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
  gap: 14px;
}

.section-number {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 850;
}

.section-heading h2 {
  margin: 3px 0 0;
  font-size: clamp(1.34rem, 2.5vw, 1.75rem);
  letter-spacing: -0.028em;
}

.section-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.section-card p:last-child,
.section-card ul:last-child {
  margin-bottom: 0;
}

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

.clean-list {
  display: grid;
  margin: 18px 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.clean-list li::before {
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--brand), #30bca4);
  box-shadow: 0 0 0 4px var(--brand-soft);
  content: "";
}

.data-grid,
.feature-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  gap: 13px;
}

.data-card,
.feature-card,
.link-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.data-card h3,
.feature-card h3,
.link-card h2 {
  margin-bottom: 7px;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.data-card p,
.feature-card p,
.link-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.callout {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-soft);
}

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

.callout.warning {
  border-left-color: var(--accent);
  background: #fff8e9;
}

.callout.danger {
  border-left-color: var(--danger);
  background: #fff1f2;
}

.timeline {
  display: grid;
  margin: 24px 0 0;
  padding: 0;
  gap: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  min-height: 92px;
  padding: 0 0 28px 62px;
  counter-increment: steps;
}

.timeline li:not(:last-child)::after {
  position: absolute;
  top: 42px;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--line);
  content: "";
}

.timeline li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  place-items: center;
  background: var(--ink);
  color: #fff;
  content: counter(steps, decimal-leading-zero);
  font-size: 0.76rem;
  font-weight: 800;
}

.timeline h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.timeline p {
  margin: 0;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: 24px;
  border-radius: 18px;
  background: var(--ink);
  color: #e8f4f1;
}

.contact-panel::after {
  position: absolute;
  right: -46px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 38px solid rgba(45, 196, 168, 0.14);
  border-radius: 50%;
  content: "";
}

.contact-panel h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.2rem;
}

.contact-panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #b9cec9;
}

.contact-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 18px;
  padding: 11px 16px;
  border: 0;
  border-radius: 11px;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 750;
  text-decoration: none;
}

.contact-action:hover {
  background: var(--brand-soft);
  color: var(--ink);
}

.contact-action[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
}

.legal-footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 54px auto 0;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

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

.footer-brand strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.footer-brand p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.86rem;
}

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

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  min-height: 540px;
  align-items: center;
  gap: 44px;
}

.home-visual {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
}

.home-visual::before,
.home-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.home-visual::before {
  width: 330px;
  height: 330px;
  border: 1px solid rgba(13, 155, 132, 0.19);
  box-shadow: 0 0 0 32px rgba(13, 155, 132, 0.04), 0 0 0 64px rgba(13, 155, 132, 0.025);
}

.home-visual::after {
  top: 18%;
  right: 8%;
  width: 20px;
  height: 20px;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(249, 178, 51, 0.1);
}

.home-logo {
  position: relative;
  z-index: 1;
  width: min(66%, 250px);
  border-radius: 27%;
  box-shadow: 0 30px 80px rgba(8, 28, 25, 0.22);
  transform: rotate(3deg);
}

.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 54px;
}

.link-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.link-card:hover {
  border-color: rgba(13, 155, 132, 0.34);
  box-shadow: 0 15px 38px rgba(8, 28, 25, 0.08);
  transform: translateY(-3px);
}

.link-card .card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 13px;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.link-card .card-icon svg {
  width: 20px;
  height: 20px;
}

.link-card h2 {
  font-size: 1.13rem;
}

.link-card > a {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  font-size: 0;
}

.link-card .arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--brand);
  font-size: 1.25rem;
}

@media (max-width: 880px) {
  .legal-layout {
    grid-template-columns: minmax(0, var(--reading));
  }

  .toc {
    position: static;
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-visual {
    min-height: 300px;
    order: -1;
  }

  .home-visual::before {
    width: 250px;
    height: 250px;
  }

  .home-logo {
    width: 190px;
  }

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

@media (max-width: 720px) {
  .header-inner,
  .page-shell,
  .legal-footer {
    width: min(calc(100% - 28px), var(--content));
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .language-picker select {
    max-width: 142px;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-md);
  }

  .top-nav[data-open="true"] {
    display: grid;
  }

  .top-nav a {
    padding: 11px 12px;
  }

  .hero {
    margin-top: 24px;
    padding: 28px 23px;
    border-radius: 24px;
  }

  .hero::after {
    top: -205px;
    right: -190px;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }

  .section-card {
    padding: 24px 20px;
    border-radius: 17px;
  }

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

  .footer-inner {
    display: grid;
  }

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

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

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

@media print {
  body {
    background: #fff;
    font-size: 11pt;
  }

  .site-header,
  .toc,
  .legal-footer {
    display: none;
  }

  .page-shell {
    width: 100%;
  }

  .hero,
  .section-card {
    margin: 0 0 12pt;
    padding: 18pt;
    border: 1px solid #ddd;
    box-shadow: none;
    break-inside: avoid;
  }
}
