@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
      --text: #111111;
      --muted: #5f6368;
      --line: #e4e4e4;
      --bg: #f6f6f4;
      --white: #ffffff;
      --black: #111111;
      --font: "Inter", "Segoe UI", system-ui, sans-serif;
      --title: "Manrope", "Inter", system-ui, sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    [id] { scroll-margin-top: 100px; }
    :focus-visible { outline: 2px solid #2f6df6; outline-offset: 4px; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: var(--font);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    a { color: inherit; }
    img { max-width: 100%; }
    .wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(255,255,255,.96);
      border-bottom: 1px solid var(--line);
    }
    .nav {
      min-height: 74px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      font: 900 24px/1 var(--title);
      letter-spacing: 0;
    }
    .brand-mark {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 9px;
      background: var(--black);
      color: #fff;
      font-weight: 900;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
    }
    .nav-links a {
      color: #2f3133;
      text-decoration: none;
      font-size: 15px;
      font-weight: 700;
    }
    .nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
    .menu-button {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--black);
      font-size: 20px;
      font-weight: 800;
    }

    .button {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 20px;
      border: 1px solid var(--black);
      border-radius: 4px;
      background: var(--black);
      color: #fff;
      text-decoration: none;
      font-size: 15px;
      font-weight: 800;
    }
    .button:hover { background: #2b2b2b; }
    .button.secondary {
      background: #fff;
      color: var(--black);
    }
    .button.secondary:hover { background: #f2f2f2; }

    .hero {
      padding: 86px 0 76px;
      background: #fff;
      border-bottom: 1px solid var(--line);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
      gap: 56px;
      align-items: center;
    }
    .kicker {
      display: block;
      margin-bottom: 16px;
      color: #4f5357;
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0;
    }
    h1, h2, h3 {
      margin: 0;
      font-family: var(--title);
      letter-spacing: 0;
      line-height: 1.05;
    }
    h1 {
      max-width: 760px;
      font-size: 78px;
      font-weight: 900;
    }
    .lead {
      max-width: 660px;
      margin: 22px 0 0;
      color: #3d4043;
      font-size: 21px;
      line-height: 1.6;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }
    .compat {
      margin-top: 16px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }

    .document-preview {
      border: 1px solid #d7d7d7;
      background: #fff;
      padding: 28px;
      box-shadow: 0 12px 28px rgba(0,0,0,.08);
    }
    .document-preview h2 {
      margin-bottom: 20px;
      font-size: 30px;
    }
    .preview-meta,
    .preview-row,
    .preview-total {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 18px;
      padding: 10px 0;
      border-bottom: 1px solid #eeeeee;
      font-size: 14px;
    }
    .preview-meta span,
    .preview-row span {
      color: var(--muted);
    }
    .preview-bar {
      height: 34px;
      margin: 22px 0;
      background: linear-gradient(90deg, #2f6df6 0 32%, #ef4b45 32% 58%, #c8f7d0 58% 100%);
    }
    .preview-total {
      border-bottom: 0;
      margin-top: 8px;
      padding: 14px;
      background: #f3f3f3;
      font-weight: 900;
    }

    .section {
      padding: 72px 0;
      border-bottom: 1px solid var(--line);
    }
    .section.white { background: #fff; }
    .section-title {
      max-width: 760px;
      margin-bottom: 34px;
    }
    .section-title h2 {
      font-size: 48px;
    }
    .section-title p {
      margin: 14px 0 0;
      color: var(--muted);
    }
    .columns-3 {
      display: grid;
      gap: 34px;
    }
    .columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .feature {
      padding-top: 22px;
      border-top: 2px solid var(--black);
    }
    .feature h3 {
      margin-bottom: 10px;
      font-size: 23px;
    }
    .feature p {
      margin: 0;
      color: var(--muted);
    }

    .steps {
      counter-reset: step;
      display: grid;
      gap: 0;
      border: 1px solid var(--line);
      background: #fff;
    }
    .step {
      counter-increment: step;
      display: grid;
      grid-template-columns: 78px 1fr;
      gap: 22px;
      padding: 26px;
      border-bottom: 1px solid var(--line);
      align-items: start;
    }
    .step:last-child { border-bottom: 0; }
    .step::before {
      content: counter(step);
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      background: var(--black);
      color: #fff;
      font-weight: 900;
    }
    .step h3 {
      margin-bottom: 6px;
      font-size: 24px;
    }
    .step p { margin: 0; color: var(--muted); }

    .faq {
      display: grid;
      gap: 10px;
    }
    details {
      border: 1px solid var(--line);
      background: #fff;
    }
    summary {
      cursor: pointer;
      padding: 18px 20px;
      list-style: none;
      font-weight: 850;
    }
    summary::-webkit-details-marker { display: none; }
    details p {
      margin: 0;
      padding: 0 20px 20px;
      color: var(--muted);
    }

    .footer {
      padding: 36px 0;
      background: #111;
      color: #fff;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 24px;
      align-items: center;
    }
    .footer .brand-mark {
      background: #fff;
      color: #111;
    }
    .footer p {
      margin: 10px 0 0;
      color: #cfcfcf;
    }
    .footer a { color: inherit; }
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 14px;
    }
    .footer-links a {
      color: #e6e6e6;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
    }
    .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

    @media (max-width: 900px) {
      .hero-grid,
      .columns-3,
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .footer-links { justify-content: flex-start; }
      h1 { font-size: 58px; }
    }

    @media (max-width: 720px) {
      .wrap { width: min(100% - 24px, 620px); }
      .nav { min-height: 66px; }
      .menu-button { display: block; }
      .nav-links {
        position: absolute;
        top: 66px;
        left: 12px;
        right: 12px;
        display: none;
        padding: 14px;
        border: 1px solid var(--line);
        background: #fff;
      }
      .nav-links.open {
        display: grid;
        gap: 12px;
      }
      .hero { padding: 52px 0; }
      h1 { font-size: 40px; }
      .lead { font-size: 18px; }
      .section-title h2 { font-size: 32px; }
      .hero-actions .button { width: 100%; }
      .document-preview { padding: 20px; }
      .section { padding: 52px 0; }
      .step {
        grid-template-columns: 1fr;
        gap: 14px;
      }
    }

.legal-hero {
  padding: 64px 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: 56px; }
.legal-hero .lead { max-width: 780px; }
.legal-date { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 64px;
}
.legal-toc { position: sticky; top: 104px; }
.legal-toc h2 { margin-bottom: 16px; font-size: 18px; line-height: 1.4; }
.legal-toc a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #3d4043;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.legal-toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-section { padding: 32px 0; border-top: 1px solid var(--line); }
.legal-section:first-child { padding-top: 0; border-top: 0; }
.legal-section:last-child { padding-bottom: 0; }
.legal-section h2 { font-size: 28px; line-height: 1.3; }
.legal-section h3 { margin-top: 24px; font-size: 18px; line-height: 1.4; }
.legal-section p, .legal-section li { color: #3d4043; }
.legal-section p { margin: 16px 0 0; }
.legal-section ul { margin: 16px 0 0; padding-left: 20px; }
.legal-section li + li { margin-top: 8px; }
.legal-section a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-info { margin: 20px 0 0; }
.legal-info > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.legal-info dt { font-weight: 700; }
.legal-info dd { margin: 0; color: #3d4043; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-toc-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
  .legal-toc a { border-top: 0; }
}
@media (max-width: 720px) {
  .legal-hero { padding: 44px 0 32px; }
  .legal-hero h1 { font-size: 36px; }
  .legal-layout { padding-top: 32px; padding-bottom: 48px; }
  .legal-info > div { grid-template-columns: 1fr; gap: 4px; }
  .legal-section h2 { font-size: 24px; }
  .legal-section h2, .legal-hero h1 { overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 360px) {
  h1 { font-size: 36px; }
  .legal-hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
