:root {
  --navy: #0b1e32;
  --navy-2: #123049;
  --navy-3: #1a3d58;
  --blue: #2c6a93;
  --blue-bright: #3d88b8;
  --lime: #8cc63f;
  --lime-dark: #6ea32c;
  --lime-soft: #e8f4d4;
  --cream: #f3f0e6;
  --paper: #faf8f2;
  --ink: #15202b;
  --muted: #5c6b76;
  --line: #d9d4c6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 30, 50, 0.12);
  --radius: 22px;
  --max: 1180px;
  --header: 76px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "IBM Plex Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: var(--lime);
  padding: 8px 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(250, 248, 242, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11, 30, 50, 0.06);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  gap: 2px;
}

.lang-switch a {
  padding: 6px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 8px;
  color: var(--navy-2);
}

.lang-switch a.is-active {
  background: var(--navy);
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 48px;
  max-width: min(280px, 62vw);
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--blue);
}

.brand-text span {
  font-size: 0.68rem;
  color: var(--lime-dark);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 4px;
  margin-left: auto;
}

.nav a:not(.btn),
.nav-parent {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-2);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav a:not(.btn):hover,
.nav a:not(.btn).is-active,
.nav-parent:hover,
.nav-parent.is-active,
.nav-item.is-open > .nav-parent {
  background: var(--lime-soft);
  color: var(--navy);
}

.nav .btn {
  margin-left: 8px;
  border-radius: 999px;
}

.nav-item {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-parent::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}

.subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
  z-index: 45;
}

.subnav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 18px;
}

.nav-item:hover .subnav,
.nav-item:focus-within .subnav,
.nav-item.is-open .subnav {
  display: grid;
}

.subnav a {
  border-radius: 10px;
  padding: 10px 12px;
}

.subnav a.is-active {
  background: var(--lime-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

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

.btn-lime {
  background: var(--lime);
  color: var(--navy);
}

.btn-lime:hover {
  background: #9ad24a;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(140, 198, 63, 0.22), transparent 46%),
    radial-gradient(ellipse at 10% 90%, rgba(44, 106, 147, 0.45), transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0e2a44 100%);
  color: var(--white);
  padding: 72px 0 88px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 520px;
  height: 520px;
  border: 2px solid rgba(140, 198, 63, 0.28);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

.hero-net .link {
  fill: none;
  stroke: rgba(140, 198, 63, 0.55);
  stroke-width: 1;
  stroke-dasharray: 4 10;
  animation: netflow 18s linear infinite;
}

.hero-net .link.alt {
  stroke: rgba(61, 136, 184, 0.55);
  animation-duration: 26s;
}

.hero-net .dot {
  fill: #8cc63f;
  animation: nblink 3.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hero-net .dot.d2 { animation-delay: 0.7s; fill: #3d88b8; }
.hero-net .dot.d3 { animation-delay: 1.4s; }
.hero-net .dot.d4 { animation-delay: 2.1s; fill: #3d88b8; }
.hero-net .dot.d5 { animation-delay: 2.8s; }

@keyframes netflow {
  to { stroke-dashoffset: -180; }
}

@keyframes nblink {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 2px;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin: 0 0 18px;
}

.lede {
  font-size: 1.15rem;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.82);
}

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

.orbit {
  width: min(340px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(140, 198, 63, 0.45);
  display: grid;
  place-items: center;
  animation: spin 28s linear infinite;
}

.orbit img {
  width: 58%;
  animation: spin 28s linear infinite reverse;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-net .link,
  .hero-net .dot,
  .orbit,
  .orbit img {
    animation: none;
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: -36px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.stat {
  background: var(--white);
  padding: 22px 24px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--blue);
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--cream);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0;
}

.section-head p,
.intro {
  color: var(--muted);
  max-width: 48ch;
  margin: 8px 0 0;
}

.product-stack {
  display: grid;
  gap: 28px;
}

.product-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 30, 50, 0.05);
}

.product-card.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.product-card.reverse .product-copy {
  order: 2;
}

.product-copy {
  padding: 40px 42px;
}

.product-copy h2,
.product-copy h3 {
  font-family: var(--display);
  font-size: 2rem;
  margin: 12px 0 14px;
}

.product-copy p {
  color: var(--muted);
}

.product-media {
  min-height: 280px;
  background: #e8eef3;
  position: relative;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.product-media.contain img {
  object-fit: contain;
  padding: 28px;
  background:
    linear-gradient(180deg, #111 0%, #222 100%);
}

.logo-on-light {
  background: #f6f7f4 !important;
}

.logo-on-light img {
  padding: 48px 32px;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 20px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.media-box {
  min-height: 280px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.media-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-box.contain img {
  object-fit: contain;
  padding: 20px;
}

.tile {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.tile:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
  transition: 0.2s;
}

.tile h3 {
  font-family: var(--display);
  margin: 12px 0 8px;
  font-size: 1.35rem;
}

.tile p {
  color: var(--muted);
  margin: 0 0 16px;
  flex: 1;
}

.tile img.cover {
  width: calc(100% + 48px);
  margin: -24px -24px 18px;
  height: 160px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.icon-sq {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  border: 1px solid var(--line);
}

.partners img {
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 28px;
  padding: 42px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 220px;
  height: 220px;
  border: 18px solid rgba(140, 198, 63, 0.2);
  border-radius: 50%;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: 2.1rem;
  margin: 0 0 8px;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* Page internals */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 48px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
}

.crumbs {
  color: var(--lime);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.crumbs a:hover {
  text-decoration: underline;
}

.prose {
  max-width: 72ch;
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  margin-top: 1.6em;
}

.prose ul {
  padding-left: 1.1em;
}

.prose li {
  margin: 8px 0;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 22px;
  border-left: 4px solid var(--lime);
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.phone-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.phone-card img {
  height: 180px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}

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

.news-card time {
  color: var(--lime-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

a.news-card {
  color: inherit;
}

a.news-card h3 {
  color: var(--ink);
}

.article-wrap {
  max-width: 760px;
}

.article-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 36px;
}

.article-body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 12px 0 20px;
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
}

.article-body h2,
.article-body h3 {
  font-family: var(--display);
  font-size: 1.25rem;
}

.article-meta {
  color: var(--muted);
  margin: 0 0 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-card,
.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}

.contact-card a {
  color: var(--blue);
  font-weight: 600;
}

.form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 12px 0 6px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--paper);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 280px;
  border-radius: 16px;
  margin-top: 18px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.table th {
  width: 38%;
  color: var(--muted);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.site-footer a:hover {
  color: var(--lime);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
  max-width: 920px;
  margin: 0 auto;
}

.cookie.is-open {
  display: flex;
}

.store-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.store-badges img {
  height: 40px;
  width: auto;
}

@media (max-width: 980px) {
  html {
    overflow-x: hidden;
  }

  .hero-grid,
  .product-card,
  .product-card.reverse,
  .contact-grid,
  .footer-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .split {
    grid-template-columns: 1fr;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn,
  .cta-band .btn {
    width: 100%;
  }

  .lang-switch a {
    min-width: 36px;
    text-align: center;
  }

  .product-card.reverse .product-copy {
    order: 0;
  }

  .product-media {
    min-height: 220px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav .btn {
    margin: 8px 0 0;
  }

  .nav-item {
    width: 100%;
  }

  .subnav::before {
    display: none;
  }

  .nav-parent {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
  }

  .nav-item.is-open .nav-parent::after {
    transform: rotate(225deg);
    margin-top: 2px;
  }

  .subnav {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 4px 0 8px 12px;
  }

  .nav-item:hover .subnav,
  .nav-item:focus-within .subnav {
    display: none;
  }

  .nav-item.is-open .subnav {
    display: grid;
  }

  .stat-row,
  .grid-2,
  .cta-band,
  .section-head,
  .cookie,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    min-height: 200px;
  }

  .orbit {
    width: min(220px, 68vw);
  }

  .brand img {
    height: 36px;
    max-width: min(210px, 52vw);
  }

  .hero {
    padding: 36px 0 56px;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }

  .lede {
    font-size: 1rem;
  }

  .section {
    padding: 52px 0;
  }

  .product-copy {
    padding: 24px 20px;
  }

  .cta-band {
    padding: 28px 22px;
  }

  .cta-band h2 {
    font-size: 1.55rem;
  }

  .article-body {
    padding: 22px 18px;
  }

  .table {
    display: block;
    overflow-x: auto;
    font-size: 0.9rem;
  }

  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .header-inner {
    gap: 8px;
  }

  .nav {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header: 64px;
  }

  .stat-row {
    margin-top: -24px;
  }

  .stat {
    padding: 16px 18px;
  }

  .partners img {
    height: 32px;
  }
}

/* Draft cover */
.draft-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(140, 198, 63, 0.22), transparent 46%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0e2a44 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.draft-card {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 40px 36px;
  backdrop-filter: blur(12px);
}

.draft-card h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 12px 0 16px;
}

.draft-card p {
  color: rgba(255, 255, 255, 0.8);
}

.draft-langs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.draft-langs a {
  background: var(--lime);
  color: var(--navy);
  text-align: center;
  padding: 14px 10px;
  border-radius: 999px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .draft-card {
    padding: 28px 20px;
  }

  .draft-langs {
    grid-template-columns: 1fr;
  }
}
