/* Sections */
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section-tint {
  background: var(--bg);
}
#download {
  padding-top: 0;
}
.feature-grid {
  align-items: center;
  display: grid;
  gap: clamp(48px, 7vw, 104px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.feature-grid.is-reversed .feature-copy {
  order: 2;
}
.feature-copy {
  display: grid;
  gap: 20px;
  max-width: 520px;
}
.feature-visual {
  display: grid;
  justify-items: center;
  position: relative;
}
.eyebrow {
  align-items: center;
  color: var(--muted) !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  line-height: 1.4 !important;
}
.eyebrow b {
  background: var(--brand-soft);
  border-radius: 999px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
}
.eyebrow.is-company b {
  background: rgba(16, 32, 51, 0.08);
  color: var(--navy);
}
.feature-copy h2,
.section-header h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.3;
}
.feature-copy > p,
.section-header > p {
  font-size: clamp(15px, 1.2vw, 17px);
}
.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.steps li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 4px 16px;
  grid-template-columns: 36px minmax(0, 1fr);
  padding: 16px 18px;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.steps li:hover {
  border-color: #c8d3e0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.steps li::before {
  align-items: center;
  background: var(--brand);
  border-radius: 50%;
  color: #ffffff;
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  grid-row: span 2;
  height: 36px;
  justify-content: center;
  letter-spacing: 0;
  width: 36px;
}
.steps strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.steps p {
  font-size: 14px;
  line-height: 1.7;
}
.xp-chip {
  bottom: 18%;
  left: 2%;
}

/* Company */
.company-band {
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(28, 93, 153, 0.55) 0%, rgba(28, 93, 153, 0) 70%),
    var(--navy);
  color: #ffffff;
  overflow: hidden;
  padding: var(--section-y) 0 0;
}
.company-band .section-header {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
}
.company-band .section-header h2,
.company-band .eyebrow {
  color: #ffffff !important;
}
.company-band .section-header > p {
  color: rgba(255, 255, 255, 0.74);
}
.company-band .eyebrow {
  justify-content: center;
}
.company-band .eyebrow b {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.device-row {
  align-items: end;
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  justify-content: center;
  margin-top: clamp(48px, 6vw, 80px);
  padding-bottom: 0;
}
.device-row .device {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  flex: none;
  margin-bottom: -40px;
  width: clamp(200px, 22vw, 280px);
}
.device-row .device img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.device-row .device.is-center {
  margin-bottom: -8px;
  width: clamp(230px, 25vw, 320px);
}

/* Trust and policy */
.section-header {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}
.card-grid.is-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.info-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto 1fr auto;
  padding: 28px;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.info-card:hover {
  border-color: #c8d3e0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.info-card .chip-icon {
  height: 44px;
  width: 44px;
}
.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.info-card p {
  font-size: 14px;
  line-height: 1.8;
}
.info-card a {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 6px;
  text-decoration: none;
}
.info-card a::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.info-card a:hover::after {
  transform: translateX(3px);
}
.doc-version {
  font-size: 13px !important;
}

/* CTA */
.cta-card {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, var(--brand) 0%, #154a7c 100%);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 20px;
  justify-items: center;
  padding: clamp(48px, 7vw, 88px) 24px;
  text-align: center;
}
.cta-card h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.3;
}
.cta-card p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 36em;
}
.cta-card .store-status {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 18px;
}
.cta-card .store-status strong {
  color: #ffffff;
}
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Language menu */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  list-style: none;
  padding: 6px 12px;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-menu summary:hover,
.lang-menu[open] summary {
  border-color: #c8d3e0;
  color: var(--ink);
}
.lang-menu summary svg {
  height: 15px;
  width: 15px;
}
.lang-menu > div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: grid;
  min-width: 160px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
}
.landing .lang-menu > div a {
  border-radius: 9px;
  color: var(--ink);
  padding: 9px 12px;
}
.landing .lang-menu > div a:hover {
  background: var(--bg);
}
.landing .lang-menu > div a[aria-current="page"] {
  color: var(--brand);
}

/* Responsive */
@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid.is-reversed .feature-copy {
    order: 0;
  }
  .feature-copy {
    max-width: 640px;
  }
  .card-grid,
  .card-grid.is-four {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .device-row .device:not(.is-center) {
    display: none;
  }
  .card-grid,
  .card-grid.is-four {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .info-card {
    padding: 22px;
  }
  .cta-card {
    border-radius: 24px;
  }
}
