﻿:root {
  --bg: #f5f5f7;
  --bg-soft: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --dog: #0a84ff;
  --cat: #ff7a00;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(170%) blur(18px);
  background: rgba(245, 245, 247, 0.78);
  border-bottom: 1px solid rgba(210, 210, 215, 0.7);
}

.nav-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 8px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  color: var(--text);
  padding: 8px 14px;
  font-weight: 600;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  min-width: 44px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

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

main {
  overflow: clip;
}

.section {
  padding: 86px 0;
}

.section-light {
  background: #fff;
}

.hero {
  padding: 90px 0 74px;
  background:
    radial-gradient(1000px 450px at 7% -8%, rgba(0, 113, 227, 0.2), transparent 58%),
    radial-gradient(900px 500px at 94% 10%, rgba(255, 122, 0, 0.14), transparent 60%),
    linear-gradient(180deg, #f7f8fa 0%, #f1f2f4 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

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

h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

h3 {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}

p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.55;
}

.hero-sub {
  max-width: 54ch;
}

.prototype-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(0, 113, 227, 0.25);
  background: rgba(0, 113, 227, 0.08);
  color: #0b4e93;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

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

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(210, 210, 215, 0.7);
  box-shadow: var(--shadow);
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: 0.2s ease;
}

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

.btn.primary:hover {
  background: var(--blue-hover);
}

.btn.ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.btn.ghost:hover {
  background: #fff;
}

.section-head {
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.step-card,
.metric-card,
.timeline-item,
.future-item,
.investment-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.delivery-modes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.delivery-title {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.delivery-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #3b3b3d;
  font-size: 13px;
  font-weight: 600;
}

.box-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active {
  color: #fff;
  border-color: var(--text);
  background: var(--text);
}

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

.box-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.box-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.1);
}

.box-card.hidden {
  display: none;
}

.box-content {
  padding: 14px 14px 16px;
}

.chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 9px;
}

.chip.dog {
  color: #fff;
  background: var(--dog);
}

.chip.cat {
  color: #fff;
  background: var(--cat);
}

.meta {
  margin-top: 10px;
  font-size: 14px;
  color: #4b4b50;
  font-weight: 600;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.brands-sub {
  margin-bottom: 16px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.ecosystem {
  background:
    radial-gradient(900px 450px at 20% 0%, rgba(0, 113, 227, 0.13), transparent 65%),
    radial-gradient(900px 600px at 90% 95%, rgba(255, 122, 0, 0.12), transparent 65%),
    #f8f9fb;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 26px;
  align-items: center;
}

.ecosystem-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.future-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric-card {
  padding-top: 16px;
}

.metric {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline time {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.investment-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.investment-copy ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.investment-copy li + li {
  margin-top: 6px;
}

.contact {
  background: #fff;
}

.contact-shell {
  text-align: center;
}

.contact-points {
  margin-top: 14px;
}

.contact-points p {
  color: #4f4f55;
  font-size: 15px;
}

.contact-points p + p {
  margin-top: 4px;
}

.contact-points a,
.footer-shell a {
  color: #005ec4;
}

.contact-points a:hover,
.footer-shell a:hover {
  text-decoration: underline;
}

.lead-form {
  margin: 18px auto 0;
  max-width: 700px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}

.lead-form input {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
}

.form-success {
  margin-top: 12px;
  min-height: 1.3em;
  color: #176d2f;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f5f5f7;
}

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

.footer-brand {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 24px 24px;
}

.footer-bottom small {
  color: var(--muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero-grid,
  .ecosystem-grid,
  .investment-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .box-grid,
  .brand-grid,
  .timeline,
  .step-grid,
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form .btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
  }

  .nav-list {
    display: none;
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

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

  .nav-list a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .lang-switch {
    justify-self: end;
  }

  .nav-shell {
    grid-template-columns: 1fr auto auto;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }

  .container,
  .nav-shell,
  .footer-shell,
  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card-grid.three,
  .box-grid,
  .brand-grid,
  .timeline,
  .step-grid,
  .metric-grid,
  .future-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 66px;
  }

  .footer-shell {
    flex-direction: column;
  }
}
