:root {
      color-scheme: light;
      --page-width: 1180px;
      --bg: #f4f6fb;
      --bg-strong: #dde4fb;
      --surface: #f7f8fc;
      --surface-elevated: #ffffff;
      --surface-muted: rgba(255, 255, 255, 0.85);
      --text: #0f172a;
      --muted: #5c6276;
      --accent: #2d5bff;
      --accent-soft: rgba(45, 91, 255, 0.1);
      --border: rgba(15, 23, 42, 0.12);
      --chip-bg: #f7f9ff;
      --contact-bg: #0f172a;
      --contact-text: #ffffff;
      --radius-lg: 32px;
      --radius-md: 18px;
      font-family: "Inter", "Space Grotesk", "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    }

    :root[data-theme="dark"] {
      color-scheme: dark;
      --bg: #030b1f;
      --bg-strong: #07163a;
      --surface: #0b1530;
      --surface-elevated: #1c2f54;
      --surface-muted: rgba(255, 255, 255, 0.12);
      --chip-bg: rgba(255, 255, 255, 0.08);
      --contact-bg: #172a53;
      --contact-text: #f8fbff;
      --text: #f8fbff;
      --muted: #c0caea;
      --accent: #7aa3ff;
      --accent-soft: rgba(122, 163, 255, 0.2);
      --border: rgba(255, 255, 255, 0.18);
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #030b1f;
        --bg-strong: #07163a;
        --surface: #0b1530;
        --surface-elevated: #1c2f54;
        --surface-muted: rgba(255, 255, 255, 0.12);
        --chip-bg: rgba(255, 255, 255, 0.08);
        --contact-bg: #172a53;
        --contact-text: #f8fbff;
        --text: #f8fbff;
        --muted: #c0caea;
        --accent: #7aa3ff;
        --accent-soft: rgba(122, 163, 255, 0.2);
        --border: rgba(255, 255, 255, 0.18);
      }
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      color: var(--text);
      background: radial-gradient(circle at top, var(--bg-strong), transparent 55%), var(--bg);
      line-height: 1.6;
    }

    a {
      color: inherit;
    }

    .page {
      max-width: var(--page-width);
      margin: 0 auto;
      padding: 36px 28px 80px;
    }

    nav.site-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding-bottom: 18px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      line-height: 0;
    }

    .logo-img {
      height: 28px;
      width: auto;
      display: block;
    }

    .logo-img--dark {
      display: none;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    :root[data-theme="dark"] .logo-img--light {
      display: none;
    }

    :root[data-theme="dark"] .logo-img--dark {
      display: block;
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .logo-img--light {
        display: none;
      }

      :root:not([data-theme="light"]) .logo-img--dark {
        display: block;
      }
    }

    .nav-links {
      display: flex;
      gap: 22px;
      font-size: 0.95rem;
      color: var(--muted);
    }

    .nav-links a {
      text-decoration: none;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
      color: var(--text);
    }

    .nav-actions {
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .theme-toggle {
      position: relative;
      width: 80px;
      height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(15, 23, 42, 0.15);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 251, 0.8));
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 10px;
      cursor: pointer;
      transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 4px 10px rgba(15, 23, 42, 0.08);
    }

    .theme-toggle svg {
      width: 16px;
      height: 16px;
      fill: none;
      stroke-width: 1.6;
      opacity: 0.75;
      stroke: #4f5a7a;
    }

    .theme-toggle .toggle-handle {
      position: absolute;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #ffffff;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      top: 1.5px;
      left: 2px;
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .theme-toggle[data-mode="dark"] .toggle-handle {
      transform: translateX(44px);
    }

    .theme-toggle[data-mode="dark"] {
      background: rgba(32, 47, 87, 0.9);
      border-color: rgba(255, 255, 255, 0.25);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }

    .theme-toggle[data-mode="dark"] svg {
      stroke: rgba(255, 255, 255, 0.75);
    }

    .theme-toggle[data-mode="dark"] .toggle-handle {
      background: rgba(255, 255, 255, 0.85);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 600;
      font-size: 0.95rem;
      padding: 12px 22px;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      text-decoration: none;
    }

    .btn:hover,
    .btn:focus-visible {
      transform: translateY(-1px);
      box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
    }

    .btn-primary {
      background: var(--text);
      color: #fff;
    }

    .btn-secondary {
      border-color: var(--border);
      color: var(--text);
      background: var(--surface-muted);
    }

    :root[data-theme="dark"] .btn-secondary {
      background: rgba(255, 255, 255, 0.18);
      color: #f8fbff;
      border-color: rgba(255, 255, 255, 0.35);
    }

    :root[data-theme="dark"] .btn-primary {
      background: var(--accent);
      color: #07163a;
      border-color: transparent;
    }

    .hero {
      margin-top: 48px;
      padding: 56px;
      border-radius: var(--radius-lg);
      background: var(--surface-elevated);
      border: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.3em;
      font-size: 0.78rem;
      color: var(--muted);
      margin-bottom: 16px;
    }

    h1 {
      font-size: clamp(2.6rem, 4.4vw, 4rem);
      line-height: 1.15;
      margin: 0 0 20px;
      color: var(--text);
    }

    .lead {
      font-size: 1.1rem;
      color: var(--text);
      opacity: 0.9;
      margin-bottom: 28px;
    }

    :root[data-theme="dark"] .lead {
      opacity: 1;
    }

    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      background: var(--accent-soft);
      color: var(--accent);
      text-transform: uppercase;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .hero-tags li {
      padding: 6px 14px;
      border-radius: 999px;
      border: 1px solid var(--border);
      font-size: 0.85rem;
      color: var(--muted);
      background: var(--chip-bg);
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 16px;
    }

    .hero-stats article {
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 18px;
      background: var(--surface-elevated);
    }

    .hero-stats strong {
      font-size: 1.4rem;
      display: block;
    }

    .hero-note {
      font-size: 0.95rem;
      color: var(--muted);
    }

    :root[data-theme="dark"] .hero-note {
      color: #d9e3ff;
    }

    main section {
      margin-top: 80px;
    }

    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 20px;
    }

    .section-eyebrow::before {
      content: "";
      width: 46px;
      height: 1px;
      background: var(--border);
    }

    h2 {
      margin: 0 0 16px;
      font-size: clamp(2rem, 3vw, 3rem);
      color: var(--text);
    }

    .section-intro {
      max-width: 760px;
      color: var(--muted);
      margin-bottom: 36px;
      font-size: 1.05rem;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 22px;
    }

    .card {
      background: var(--surface-elevated);
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      padding: 24px;
      min-height: 170px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .card h3 {
      margin: 0;
      font-size: 1.15rem;
    }

    .card p {
      margin: 0;
      color: var(--muted);
    }

    .three-column {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .timeline {
      list-style: none;
      margin: 0;
      padding: 0;
      border-left: 2px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .timeline li {
      padding-left: 32px;
      position: relative;
    }

    .timeline li::before {
      content: attr(data-step);
      position: absolute;
      width: 28px;
      height: 28px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: #fff;
      left: -15px;
      top: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--muted);
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 18px;
      margin-top: 32px;
    }

    .stat-card {
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      background: var(--surface-muted);
      padding: 24px;
    }

    .stat-card strong {
      font-size: 2rem;
      display: block;
      margin-bottom: 6px;
    }

    .contact {
      background: var(--contact-bg);
      color: var(--contact-text);
      border-radius: var(--radius-lg);
      padding: 48px;
      margin-top: 72px;
    }

    .contact h2 {
      color: var(--contact-text);
    }

    .contact .section-intro {
      color: rgba(255, 255, 255, 0.75);
      margin-bottom: 28px;
    }

    :root[data-theme="dark"] .contact .section-intro {
      color: rgba(248, 251, 255, 0.8);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 24px;
    }

    .contact-card {
      padding: 20px;
      border-radius: var(--radius-md);
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    :root[data-theme="dark"] .contact-card {
      background: rgba(11, 21, 48, 0.4);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .contact .btn-secondary {
      background: rgba(255, 255, 255, 0.15);
      color: #fff;
      border-color: rgba(255, 255, 255, 0.3);
    }

    footer {
      margin-top: 32px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 12px;
      color: var(--muted);
      font-size: 0.9rem;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    @media (max-width: 768px) {
      .hero {
        padding: 32px;
      }

      nav.site-nav {
        flex-direction: column;
        align-items: flex-start;
      }
    }
