:root {
      --bg: #f7fafc;
      --surface: #ffffff;
      --surface-soft: #eef3f7;
      --text: #152039;
      --muted: #5c687d;
      --accent: #8fff00;
      --accent-dark: #68b900;
      --border: #dde6ee;
      --shadow: 0 18px 50px rgba(21, 32, 57, 0.09);
      --radius-lg: 28px;
      --radius-md: 18px;
      --max-width: 1160px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      color-scheme: light;
    }

    body {
      margin: 0;
      color: var(--text);
      background:
        radial-gradient(circle at 85% 8%, rgba(143, 255, 0, 0.16), transparent 23rem),
        var(--bg);
      font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

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

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(247, 250, 252, 0.9);
      border-bottom: 1px solid rgba(221, 230, 238, 0.78);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

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

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .brand-mark {
      width: 44px;
      height: 44px;
      object-fit: contain;
    }

    .brand-name {
      font-size: 1.06rem;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px;
      color: var(--muted);
      font-size: 0.95rem;
      font-weight: 650;
    }

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

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 48px;
      padding: 0 20px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-weight: 800;
      transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    }

    .button:hover {
      transform: translateY(-1px);
    }

    .button-primary {
      color: #101a2b;
      background: var(--accent);
      box-shadow: 0 10px 30px rgba(104, 185, 0, 0.2);
    }

    .button-primary:hover {
      background: #9cff25;
      box-shadow: 0 14px 34px rgba(104, 185, 0, 0.26);
    }

    .button-secondary {
      background: rgba(255, 255, 255, 0.8);
      border-color: var(--border);
    }

    .hero {
      padding: 96px 0 82px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
      align-items: center;
      gap: 74px;
    }

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

    .eyebrow::before {
      content: "";
      width: 22px;
      height: 4px;
      border-radius: 999px;
      background: var(--accent);
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1 {
      max-width: 770px;
      margin-bottom: 24px;
      font-size: clamp(3.15rem, 7vw, 6.4rem);
      line-height: 0.93;
      letter-spacing: -0.065em;
    }

    .hero {
      padding: 96px 0 82px;
      background-color: var(--bg);
    }

    .hero-copy {
      max-width: 680px;
      margin-bottom: 32px;
      color: var(--muted);
      font-size: clamp(1.05rem, 2vw, 1.24rem);
    }

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

    .hero-art {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 460px;
    }

    .hero-art::before {
      content: "";
      position: absolute;
      width: 320px;
      height: 320px;
      border-radius: 42% 58% 52% 48% / 46% 43% 57% 54%;
      background: var(--accent);
      transform: rotate(-9deg);
      opacity: 0.94;
    }

    .hero-logo-wrap {
      position: relative;
      width: min(86%, 365px);
      padding: 38px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.8);
      border-radius: 34px;
      box-shadow: var(--shadow);
      transform: rotate(3deg);
    }

    .hero-logo {
      width: 100%;
      aspect-ratio: 1;
      object-fit: contain;
    }

    section {
      padding: 82px 0;
    }

    .section-heading {
      max-width: 730px;
      margin-bottom: 42px;
    }

    .section-heading h2 {
      margin-bottom: 14px;
      font-size: clamp(2rem, 4vw, 3.4rem);
      line-height: 1.02;
      letter-spacing: -0.045em;
    }

    .section-heading p {
      margin-bottom: 0;
      color: var(--muted);
      font-size: 1.05rem;
    }

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

    .card {
      padding: 28px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      box-shadow: 0 8px 30px rgba(21, 32, 57, 0.045);
    }

    .card-number {
      display: inline-grid;
      place-items: center;
      width: 38px;
      height: 38px;
      margin-bottom: 26px;
      border-radius: 12px;
      background: rgba(143, 255, 0, 0.18);
      color: #426f00;
      font-weight: 900;
    }

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

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

    .tech-section {
      background: var(--text);
      color: #fff;
    }

    .tech-section .section-heading p {
      color: #bac4d2;
    }

    .tech-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.11);
      border-radius: var(--radius-lg);
      background: rgba(255, 255, 255, 0.11);
    }

    .tech-item {
      min-height: 154px;
      padding: 28px;
      background: #192641;
    }

    .tech-item strong {
      display: block;
      margin-bottom: 9px;
      font-size: 1.08rem;
    }

    .tech-item span {
      color: #b8c4d4;
    }

    .tech-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-top: 32px;
    }

    .tag {
      padding: 8px 12px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 999px;
      color: #dbe3ec;
      font-size: 0.86rem;
      font-weight: 700;
    }

    .product-shell {
      position: relative;
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
      align-items: center;
      gap: 48px;
      padding: clamp(34px, 6vw, 70px);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .product-shell::after {
      content: "";
      position: absolute;
      right: -100px;
      bottom: -180px;
      width: 390px;
      height: 390px;
      border-radius: 50%;
      background: rgba(143, 255, 0, 0.17);
    }

    .product-content,
    .product-panel {
      position: relative;
      z-index: 1;
    }

    .product-content h2 {
      margin-bottom: 16px;
      font-size: clamp(2.35rem, 5vw, 4.5rem);
      line-height: 0.98;
      letter-spacing: -0.055em;
    }

    .product-content p {
      max-width: 650px;
      margin-bottom: 28px;
      color: var(--muted);
      font-size: 1.08rem;
    }

    .product-panel {
      padding: 28px;
      border-radius: 24px;
      background: var(--surface-soft);
      border: 1px solid var(--border);
    }

    .product-panel .mini-label {
      color: var(--muted);
      font-size: 0.76rem;
      font-weight: 850;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

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

    .product-panel li {
      display: flex;
      gap: 11px;
      align-items: flex-start;
      font-weight: 700;
    }

    .product-panel li::before {
      content: "";
      flex: 0 0 auto;
      width: 9px;
      height: 9px;
      margin-top: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 4px rgba(143, 255, 0, 0.16);
    }

    .site-footer {
      padding: 30px 0 38px;
      color: var(--muted);
      font-size: 0.91rem;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding-top: 26px;
      border-top: 1px solid var(--border);
    }

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

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

    :focus-visible {
      outline: 3px solid rgba(104, 185, 0, 0.5);
      outline-offset: 4px;
    }

    @media (max-width: 860px) {
      .hero {
        padding-top: 64px;
      }

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

      .hero-grid {
        gap: 38px;
      }

      .hero-art {
        min-height: 360px;
      }

      .hero-art::before {
        width: 270px;
        height: 270px;
      }

      .hero-logo-wrap {
        width: min(76%, 320px);
      }

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

      .tech-list {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(calc(100% - 28px), var(--max-width));
      }

      .nav {
        min-height: 68px;
      }

      .nav-links a:not(.nav-cta) {
        display: none;
      }

      .brand-name {
        font-size: 1rem;
      }

      .brand-mark {
        width: 38px;
        height: 38px;
      }

      h1 {
        font-size: clamp(3rem, 16vw, 4.5rem);
      }

      section {
        padding: 64px 0;
      }

      .hero-art {
        min-height: 320px;
      }

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

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

      *,
      *::before,
      *::after {
        transition: none !important;
      }
    }


/* Localization controls */
.language-menu { position: relative; }
.language-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover,
.language-menu[open] summary { background: var(--surface-soft); color: var(--text); }
.language-menu-items {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.language-menu-items a {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  white-space: nowrap;
}
.language-menu-items a:hover { background: var(--surface-soft); }
@media (max-width: 640px) {
  .language-menu { margin-left: auto; }
}
