/* ==========================================================
   Muntro — Think Connected
   Site stylesheet. Shares its visual language with design.css
   (neon layer, scroll-driven motion, buttons).
   ========================================================== */

:root {
  --bg: #050A18;
  --bg-2: #070E22;
  --card: #0B1532;
  --card-2: #0E1A3E;
  --navy: #0D1938;
  --cyan: #5EE1FF;
  --cyan-2: #7DEBFF;
  --blue: #3D7BFF;
  --blue-2: #8FB4FF;
  --violet: #8B5CFF;
  --text: #E9EEFB;
  --text-2: #AFBAD6;
  --muted: #8FA0C8;
  --line: rgba(160, 190, 255, 0.14);
  --line-2: rgba(160, 190, 255, 0.24);
  --radius: 28px;
  --maxw: 1320px;
  --header-h: 80px;
  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Montserrat", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-2);
  text-decoration: none;
}

a:hover {
  color: #C9DAFF;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--blue);
  color: #fff;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: #fff;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 6vw, 80px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(34px, 4.2vw, 56px);
}

h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
  color: var(--text-2);
  text-wrap: pretty;
}

.container {
  width: min(100% - 80px, var(--maxw));
  margin-inline: auto;
}

.section {
  padding: 130px 0;
  position: relative;
}

.section--tight {
  padding: 90px 0;
  position: relative;
}

.section--navy {
  background: linear-gradient(180deg, #050A18 0%, #091433 50%, #050A18 100%);
  overflow: clip;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head h2,
.section-head p {
  margin: 0;
}

.section-head p {
  font-size: 17px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.section-head.split-head {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-head.split-head>div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
}

.section-head.split-head>p {
  max-width: 420px;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: #C3CDE6;
}

.grad-text,
.neon {
  color: #79CFEA;
  text-shadow: 0 0 4px rgba(94, 225, 255, .45), 0 0 14px rgba(61, 123, 255, .35);
  animation: mtFlick 7s linear infinite;
}

.neon-v {
  color: #E4D8FF;
  text-shadow: 0 0 6px rgba(160, 120, 255, .9), 0 0 24px rgba(139, 92, 255, .6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(94, 225, 255, .7);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--blue);
}

.beam-sep {
  max-width: 1240px;
  margin: 0 auto;
}

/* ---------- Buttons (visual layer lives in design.css: .mt-btn / .mt-ghost) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn span[data-icon],
.link-arrow span[data-icon] {
  display: inline-flex;
}

.btn--sm {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .04);
  font-weight: 600;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-2);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform .3s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background .4s, box-shadow .4s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 10, 24, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(94, 225, 255, .25), 0 10px 40px -10px rgba(61, 123, 255, .35);
}

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #3D7BFF, #5EE1FF, #8B5CFF);
  box-shadow: 0 0 12px #5EE1FF, 0 0 24px #3D7BFF;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

.nav-bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  color: #fff;
}

.brand img {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(94, 225, 255, .45));
  transition: filter .3s;
}

.brand:hover img {
  filter: drop-shadow(0 0 16px rgba(94, 225, 255, .8));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: #C3CDE6;
  position: relative;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(94, 225, 255, .4);
  background: rgba(13, 25, 58, .6);
  color: #BFF6FF;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(94, 225, 255, .25);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  display: none;
  margin: 0 16px 16px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(8, 16, 40, .96);
  border: 1px solid rgba(94, 225, 255, .3);
  box-shadow: 0 0 30px -6px rgba(94, 225, 255, .35), 0 30px 60px -20px rgba(0, 0, 0, .8);
  flex-direction: column;
  gap: 2px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.mobile-menu a.is-active {
  background: rgba(94, 225, 255, .1);
  color: var(--cyan-2);
}

.mobile-menu .mt-btn {
  justify-content: center;
  margin-top: 8px;
  border-radius: 999px;
}

.site-header.is-open .mobile-menu {
  display: flex;
}

@media (max-width: 1260px) {

  .nav-links,
  .nav-cta .mt-ghost {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .nav-bar {
    padding: 12px 16px;
    gap: 12px;
  }

  .nav-cta {
    gap: 8px;
  }

  .nav-cta .mt-btn {
    height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  .brand img {
    height: 26px;
  }
}

/* ---------- Home hero photo slides ---------- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(16%) scale(1.05);
  transition: opacity 1.1s ease, transform 1.3s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  transform: none;
}

.hero-slide.is-prev {
  transform: translateX(-16%) scale(1.05);
}

.hero-slide.from-left:not(.is-active) {
  transform: translateX(-16%) scale(1.05);
}

.hero-slide.from-left.is-prev {
  transform: translateX(16%) scale(1.05);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.7) saturate(1.1) contrast(1.05);
}

.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 72, .35), rgba(5, 10, 24, .25));
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 110px) 0 110px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.62) saturate(1.1) contrast(1.05);
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 72, .4), rgba(5, 10, 24, .2));
  mix-blend-mode: multiply;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 10, 24, .94) 0%, rgba(5, 10, 24, .7) 38%, rgba(5, 10, 24, .1) 75%),
    linear-gradient(180deg, rgba(5, 10, 24, .7) 0%, rgba(5, 10, 24, 0) 160px),
    linear-gradient(0deg, #050A18 0%, rgba(5, 10, 24, 0) 260px);
}

.page-hero__floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 280px;
  perspective: 600px;
  pointer-events: none;
  z-index: -1;
}

.page-hero__floor div {
  position: absolute;
  inset: 0;
  transform: rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}

.page-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
}

.page-hero__orb.o1 {
  top: 14%;
  left: 55%;
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(139, 92, 255, .28), rgba(139, 92, 255, 0));
}

.page-hero__orb.o2 {
  top: 55%;
  left: 6%;
  width: 380px;
  height: 380px;
  background: radial-gradient(closest-side, rgba(94, 225, 255, .18), rgba(94, 225, 255, 0));
  animation-delay: -9s;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 5.6vw, 76px);
}

.page-hero .lead {
  margin: 0;
  max-width: 620px;
}

.page-hero .hero-actions {
  margin-top: 6px;
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(61, 123, 255, .14);
  border: 1px solid rgba(110, 160, 255, .35);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #CFE0FF;
}

.hero-badge i {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.hero-badge i::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cyan);
  animation: mtPulse 2.6s ease-out infinite;
}

.hero-badge i::after {
  content: "";
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 30px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s, background .3s;
}

a.card:hover {
  color: #fff;
}

.card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  background: linear-gradient(#0B1532, #0B1532) padding-box, conic-gradient(from var(--ang), rgba(94, 225, 255, 0) 0deg, #5EE1FF 70deg, #8B5CFF 140deg, rgba(94, 225, 255, 0) 200deg, rgba(94, 225, 255, 0) 360deg) border-box;
  animation: mtAng 3.5s linear infinite;
  box-shadow: 0 0 40px -6px rgba(94, 225, 255, .45), 0 30px 60px -20px rgba(30, 90, 255, .5);
}

.card.static:hover {
  transform: none;
}

.card h3,
.card p {
  margin: 0;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(61, 123, 255, .16);
  border: 1px solid rgba(110, 160, 255, .3);
  color: var(--blue-2);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.card:hover .icon-box {
  color: var(--cyan-2);
  box-shadow: 0 0 18px rgba(94, 225, 255, .35);
}

/* ---------- Product rendering ---------- */
.render-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 220px;
  background: radial-gradient(circle at 50% 45%, rgba(190, 211, 255, 0.288), rgba(1, 6, 24, 0) 65%), #0E1A3E;
  display: grid;
  place-items: center;
}

.render-box>svg {
  width: 52%;
  max-height: 80%;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .6));
  transition: opacity .5s;
}

.render-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease, transform 1.2s var(--ease);
}

.render-box.is-rendered .render-img {
  opacity: 1;
}

.render-box.is-rendered>svg {
  opacity: 0;
}

.mt-card:hover .render-img,
.product-card:hover .render-img {
  transform: scale(1.07);
}

.render-box--hub {
  width: min(100%, 520px);
  height: auto;
  aspect-ratio: 1.3;
  border-radius: 0;
  background: transparent;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent);
  mask-image: radial-gradient(closest-side, #000 62%, transparent);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s, background .3s;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  background: linear-gradient(#0B1532, #0B1532) padding-box, conic-gradient(from var(--ang), rgba(94, 225, 255, 0) 0deg, #5EE1FF 70deg, #8B5CFF 140deg, rgba(94, 225, 255, 0) 200deg, rgba(94, 225, 255, 0) 360deg) border-box;
  animation: mtAng 3.5s linear infinite;
  box-shadow: 0 0 40px -6px rgba(94, 225, 255, .45), 0 30px 60px -20px rgba(30, 90, 255, .5);
}

.product-card .render-box {
  height: auto;
  aspect-ratio: 1.4;
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5, 10, 24, .6);
  border: 1px solid rgba(94, 225, 255, .45);
  color: #BFF6FF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 14px rgba(94, 225, 255, .25);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.product-body h3 {
  margin: 0;
  font-size: 24px;
}

.product-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chip {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  font-size: 12px;
  color: #D5DDF0;
}

.chip.zigbee,
.chip.thread,
.chip.wifi {
  box-shadow: inset 0 0 0 1px rgba(94, 225, 255, .22);
}

.chip.matter,
.chip.knx,
.chip.ble {
  box-shadow: inset 0 0 0 1px rgba(139, 92, 255, .3);
}

.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(160, 190, 255, .12);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(160, 190, 255, .2);
  background: rgba(255, 255, 255, .04);
  color: #D5DDF0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s var(--ease);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(94, 225, 255, .6);
  box-shadow: 0 0 12px rgba(94, 225, 255, .3);
}

.filter-btn.is-active {
  background: linear-gradient(120deg, #BFD7FF 0%, #A9E6FF 35%, #C5CCFF 65%, #BFD7FF 100%);
  color: #0B1636;
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 0 16px rgba(150, 200, 255, .45);
}

.is-hidden {
  display: none !important;
}

.product-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 44px 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, #0F1D45 0%, #0A1330 60%);
  border: 1px solid rgba(160, 190, 255, .16);
  overflow: hidden;
}

.product-hero>div:first-child {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-hero>div:last-child {
  flex: 1 1 380px;
}

.product-hero h2 {
  margin: 0;
}

.product-hero p {
  margin: 0;
}

.pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(94, 225, 255, .12);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

/* ---------- Split, lists ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 72px;
}

.split>* {
  flex: 1 1 440px;
  min-width: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 16px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 8px;
  background: rgba(94, 225, 255, .12) url("../img/icons/check.svg") center / 12px no-repeat;
  box-shadow: 0 0 10px rgba(94, 225, 255, .25);
}

.check-list strong {
  color: #fff;
  font-weight: 700;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.feature b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}

.feature span {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ---------- Photo tiles ---------- */
.photo-tile {
  position: relative;
  margin: 0;
  min-height: 300px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(160, 190, 255, .16);
}

.photo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.8) saturate(1.05);
  transition: transform 1.2s var(--ease);
}

.photo-tile:hover img {
  transform: scale(1.08);
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 24, 0) 40%, rgba(5, 10, 24, .92));
}

.photo-tile figcaption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.photo-tile figcaption b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.photo-tile figcaption span {
  font-size: 14px;
  color: #C3CDE6;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  padding: 26px;
  border-radius: 22px;
  background: rgba(13, 25, 58, .5);
  border: 1px solid var(--line);
}

.stat small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.stat strong em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(94, 225, 255, .6);
}

.stat>span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
}

/* ---------- CTA ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 80px 48px;
  background: radial-gradient(120% 140% at 50% 0%, #1E44B8 0%, #0D1E52 45%, #081128 100%);
  border: 1px solid rgba(160, 190, 255, .22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
}

.cta-banner .pulse {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-left: -100px;
  border-radius: 50%;
  border: 2px solid rgba(94, 225, 255, .35);
}

.cta-banner>* {
  position: relative;
}

.cta-banner h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 4.6vw, 60px);
}

.cta-banner p {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  color: #CFDAF5;
}

.cta-banner .hero-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(160, 190, 255, .1);
  background: #040814;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 340px;
}

.footer-brand img {
  height: 32px;
  width: auto;
  align-self: flex-start;
  filter: drop-shadow(0 0 10px rgba(94, 225, 255, .35));
}

.footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-col b {
  color: #fff;
  font-weight: 700;
}

.newsletter {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #0D1938;
  border: 1px solid rgba(160, 190, 255, .2);
}

.newsletter input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #fff;
}

.newsletter .mt-btn {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(94, 225, 255, .3);
  display: grid;
  place-items: center;
  color: #C9D6F2;
  transition: all .3s;
}

.socials a:hover {
  color: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(94, 225, 255, .45);
}

.socials svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(160, 190, 255, .1);
  font-size: 13px;
  color: #7E8DB3;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-bottom a {
  color: #7E8DB3;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Standards ---------- */
.std-list {
  display: grid;
  gap: 24px;
}

.std-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  padding: 44px;
  border-radius: 32px;
}

.std-mark {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(61, 123, 255, .35), transparent 60%), linear-gradient(145deg, #0F1D45, #070E22);
  border: 1px solid rgba(94, 225, 255, .3);
  box-shadow: 0 0 30px -8px rgba(94, 225, 255, .4) inset;
}

.std-mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
}

.std-mark span {
  position: relative;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 18px rgba(94, 225, 255, .55);
}

.std-mark small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
  font-weight: 700;
}

.std-body h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 0 0 12px;
}

.std-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0;
}

.std-meta div {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}

.std-meta small {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.std-meta b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.std-body .check-list {
  grid-template-columns: 1fr 1fr;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(94, 225, 255, .25);
  border-radius: 24px;
  background: rgba(7, 14, 34, .8);
  box-shadow: 0 0 40px -20px rgba(94, 225, 255, .4);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

th {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  background: rgba(61, 123, 255, .08);
}

td {
  color: var(--text-2);
}

td:first-child {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}

tbody tr {
  transition: background .25s;
}

tbody tr:hover {
  background: rgba(94, 225, 255, .05);
}

tr:last-child td {
  border-bottom: 0;
}

.yes {
  color: var(--cyan) !important;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(94, 225, 255, .5);
}

.no {
  color: var(--muted);
}

.eco-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.eco {
  width: 200px;
  min-height: 96px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(160, 190, 255, .18);
  background: rgba(13, 25, 58, .45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  color: #C9D6F2;
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), border-color .3s, box-shadow .3s;
  font: inherit;
  cursor: default;
}

.eco:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 225, 255, .6);
  box-shadow: 0 0 0 1px rgba(94, 225, 255, .25) inset, 0 0 28px rgba(94, 225, 255, .35);
}

.eco b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

.eco span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Support ---------- */
.search-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: #0D1938;
  border: 1px solid rgba(160, 190, 255, .2);
  transition: border-color .3s, box-shadow .3s;
}

.search-box:focus-within {
  border-color: rgba(94, 225, 255, .6);
  box-shadow: 0 0 24px rgba(94, 225, 255, .25);
}

.search-box>span {
  display: inline-flex;
  align-items: center;
  padding-left: 14px;
  color: var(--muted);
}

.search-box>span svg {
  width: 20px;
  height: 20px;
}

.search-box input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: background .3s, border-color .3s;
}

.faq-item:hover {
  border-color: rgba(110, 160, 255, .45);
}

.faq-item.is-open {
  background: rgba(20, 38, 88, .7);
}

.faq-q {
  width: 100%;
  min-height: 64px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(61, 123, 255, .18) url("../img/icons/plus.svg") center / 14px no-repeat;
  transition: transform .35s;
}

.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a>div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 24px 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #B7C2DD;
}

.faq-group h4 {
  margin: 34px 0 14px;
}

.faq-empty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(94, 225, 255, .35);
  border-radius: 20px;
}

.status-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #B9F5D8;
  background: rgba(61, 220, 151, .1);
  border: 1px solid rgba(61, 220, 151, .35);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DDC97;
  box-shadow: 0 0 10px #3DDC97;
  animation: mtGlow 2s infinite;
}

.download-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.download-row:last-child {
  border-bottom: 0;
}

.download-row b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}

.download-row small {
  color: var(--muted);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #C3CDE6;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid rgba(160, 190, 255, .2);
  background: #0D1938;
  color: #fff;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("../img/icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.field select option {
  background: var(--bg-2);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(94, 225, 255, .6);
  box-shadow: 0 0 20px rgba(94, 225, 255, .2);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #ff6b7a;
}

.field .err {
  font-size: 12px;
  color: #ff8b97;
  display: none;
}

.field.has-error .err {
  display: block;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}

.consent input {
  margin-top: 4px;
  accent-color: var(--blue);
}

.consent.has-error {
  color: #ff8b97;
}

.form-success {
  display: none;
  padding: 40px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(61, 220, 151, .35);
  background: rgba(61, 220, 151, .06);
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.form-success.is-visible {
  display: flex;
}

.form-success .icon-box {
  color: #3DDC97;
  border-color: rgba(61, 220, 151, .4);
  background: rgba(61, 220, 151, .12);
}

.contact-info {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-line {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
}

.contact-line b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.contact-line p {
  margin: 0;
  font-size: 15px;
}

/* ---------- About ---------- */
.timeline {
  position: relative;
  display: grid;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--violet), transparent);
  box-shadow: 0 0 10px rgba(94, 225, 255, .5);
}

.tl-item {
  position: relative;
  padding-bottom: 44px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.tl-item .year {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 34px;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(94, 225, 255, .5);
  line-height: 1;
  margin-bottom: 8px;
}

.tl-item h3 {
  margin: 0 0 6px;
}

.tl-item p {
  margin: 0;
}

.team-card {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.team-photo {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(61, 123, 255, .35), transparent 60%), linear-gradient(180deg, #0F1D45, #070E22);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 54px;
  color: #fff;
  text-shadow: 0 0 24px rgba(94, 225, 255, .6);
}

.team-body {
  padding: 22px 24px 26px;
}

.team-body b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.team-body span {
  font-size: 14px;
  color: var(--muted);
}

.office-card .city {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}

.office-card .role {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Where to buy ---------- */
.wtb {
  display: grid;
  grid-template-columns: 400px 1fr;
  height: min(78vh, 760px);
  min-height: 560px;
  border: 1px solid rgba(94, 225, 255, .28);
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 60px -24px rgba(94, 225, 255, .45);
}

.wtb-side {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  min-height: 0;
}

.wtb-tools {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.wtb-tools .search-box {
  max-width: none;
  padding: 4px;
}

.wtb-tools .search-box input {
  height: 42px;
  font-size: 15px;
}

.region-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.region-tabs::-webkit-scrollbar {
  display: none;
}

.region-tabs .filter-btn {
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
  flex: none;
}

.wtb-count {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
}

.store-list {
  overflow-y: auto;
  flex: 1;
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: #1B2B5E transparent;
}

.store {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s;
}

.store:hover {
  background: rgba(14, 26, 62, .6);
}

.store.is-active {
  background: rgba(61, 123, 255, .14);
  border-color: rgba(94, 225, 255, .45);
  box-shadow: 0 0 18px rgba(94, 225, 255, .2);
}

.store-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.store b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.store .type {
  flex: none;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
}

.store .type.flagship {
  color: #0B1636;
  background: linear-gradient(120deg, #BFD7FF, #A9E6FF);
  padding: 3px 9px;
  border-radius: 999px;
}

.store .addr {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
}

.store .city {
  display: block;
  font-size: 12px;
  color: #C3CDE6;
  margin-top: 6px;
}

#map {
  width: 100%;
  height: 100%;
  background: #05080f;
}

.leaflet-container {
  font-family: var(--font-body) !important;
  background: #05080f !important;
}

.leaflet-popup-content-wrapper {
  background: #0B1532 !important;
  color: var(--text) !important;
  border: 1px solid rgba(94, 225, 255, .4);
  border-radius: 16px !important;
  box-shadow: 0 0 24px rgba(94, 225, 255, .25), 0 20px 40px -10px rgba(0, 0, 0, .8) !important;
}

.leaflet-popup-tip {
  background: #0B1532 !important;
}

.leaflet-popup-content {
  margin: 16px 18px !important;
  font-size: 13px;
  line-height: 1.5;
}

.leaflet-popup-content b {
  font-family: var(--font-display);
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.leaflet-popup-content .muted {
  color: var(--muted);
}

.leaflet-popup-content a {
  color: var(--cyan) !important;
  font-weight: 700;
}

.leaflet-container a.leaflet-popup-close-button {
  color: var(--muted) !important;
}

.leaflet-control-zoom a {
  background: #0B1532 !important;
  color: #fff !important;
  border-color: rgba(94, 225, 255, .3) !important;
}

.leaflet-control-attribution {
  background: rgba(5, 10, 24, .7) !important;
  color: var(--muted) !important;
}

.leaflet-control-attribution a {
  color: #C3CDE6 !important;
}

.map-tiles {
  filter: sepia(.35) hue-rotate(180deg) saturate(2.2) brightness(.85);
}

.pin {
  position: relative;
  width: 18px;
  height: 18px;
}

.pin::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid #fff;
  box-shadow: 0 0 12px var(--cyan), 0 0 24px var(--blue);
  transition: transform .3s;
}

.pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  animation: mtPulse 2.4s ease-out infinite;
}

.pin.flagship::before {
  background: #fff;
  border-color: var(--violet);
  inset: 1px;
  box-shadow: 0 0 18px #fff, 0 0 30px var(--violet);
}

.pin.is-active::before {
  background: var(--violet);
  transform: scale(1.4);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.legend i.f {
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 14px var(--violet);
}

.region-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.region-summary .eco {
  cursor: pointer;
}

.region-summary .eco b {
  font-size: 34px;
  font-weight: 300;
}

/* ---------- Reveal (fallback for browsers without scroll timelines) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: mtRv linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 26%;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .std-card {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 24px;
  }

  .std-mark {
    max-width: 160px;
  }

  .wtb {
    grid-template-columns: 1fr;
    grid-template-rows: 420px auto;
    height: auto;
  }

  .wtb-side {
    border-right: 0;
    border-top: 1px solid var(--line);
    order: 2;
  }

  .store-list {
    max-height: 460px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--maxw));
  }

  .section {
    padding: 84px 0;
  }

  .section--tight {
    padding: 64px 0;
  }

  .page-hero {
    min-height: 0;
    padding: calc(var(--header-h) + 60px) 0 72px;
  }

  .page-hero::before {
    background: linear-gradient(180deg, rgba(5, 10, 24, .8), rgba(5, 10, 24, .55) 50%, #050A18);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-row,
  .std-body .check-list {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 24px;
  }

  .product-hero {
    padding: 28px 20px;
    gap: 20px;
    border-radius: 24px;
  }

  .split {
    gap: 40px;
  }

  .cta-banner {
    padding: 52px 20px;
    border-radius: 28px;
  }

  .footer-inner {
    padding: 48px 16px 32px;
    gap: 36px;
  }

  .footer-cols {
    gap: 36px;
  }

  .download-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .eco {
    width: calc(50% - 8px);
  }

  .wtb {
    grid-template-rows: 340px auto;
  }

  .btn {
    height: 52px;
    padding: 0 22px;
    font-size: 15px;
  }
}

.cta-banner>div:first-of-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ---------- Static markup helpers ---------- */
.nav-toggle .icon-close,
.site-header.is-open .nav-toggle .icon-open {
  display: none;
}

.site-header.is-open .nav-toggle .icon-close {
  display: block;
}

.std-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
}

.newsletter-done {
  margin: 0;
  color: #B9F5D8;
}

.home-faq {
  background: #0B1532;
  transition: background .3s;
}

.home-faq.is-open {
  background: rgba(20, 38, 88, .7);
}

.home-faq.is-open .home-faq-plus {
  transform: rotate(45deg);
}

.link-arrow svg,
.btn svg {
  flex: none;
}

/* ---------- Home: planner call-to-action ---------- */
.planner-cta-visual img {
  transition: transform .8s var(--ease);
}

.planner-cta-visual:hover img {
  transform: scale(1.03);
}

@media (max-width: 760px) {
  .planner-cta {
    border-radius: 28px !important;
  }

  .planner-cta-copy {
    padding: 36px 22px 8px !important;
  }

  .planner-cta-visual {
    padding: 24px 16px 32px !important;
  }

  .planner-cta-visual .mt-glass:first-of-type {
    top: 8px !important;
    right: 16px !important;
  }

  .planner-cta-visual .mt-glass:last-of-type {
    left: 16px !important;
    bottom: 12px !important;
  }
}

/* ---------- Home: partner name bands ---------- */
@media (max-width: 760px) {

  .partner-bands .mt-bandl>div>span,
  .partner-bands .mt-bandr>div>span {
    height: 48px !important;
    font-size: 15px !important;
    padding: 0 18px !important;
  }
}

/* ---------- Home: app screens gallery ---------- */
.app-gallery {
  position: relative;
  padding: 40px 0 120px;
  overflow: clip;
}

.app-gallery::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 1100px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(61, 123, 255, .18), rgba(139, 92, 255, .06) 60%, transparent);
  pointer-events: none;
}

.app-gallery__head {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto 44px;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.app-gallery__nav {
  display: flex;
  gap: 10px;
}

.app-gallery__nav button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.app-gallery__nav button:disabled {
  opacity: .35;
  cursor: default;
}

.app-rail {
  position: relative;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(40px, calc((100vw - var(--maxw)) / 2 + 40px));
  padding: 24px max(40px, calc((100vw - var(--maxw)) / 2 + 40px)) 32px;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  outline: none;
}

.app-rail::-webkit-scrollbar {
  display: none;
}

.app-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.app-rail.is-dragging .app-shot {
  pointer-events: none;
}

.app-shot {
  flex: none;
  width: 262px;
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.app-phone {
  position: relative;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(145deg, #3A4462, #11172A);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .85);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.app-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
  user-select: none;
  -webkit-user-drag: none;
}

.app-shot:hover .app-phone {
  transform: translateY(-10px);
  box-shadow: 0 0 0 1px rgba(150, 240, 255, .5) inset, 0 0 40px -6px rgba(94, 225, 255, .55), 0 50px 90px -30px rgba(30, 90, 255, .6);
}

.app-shot figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 6px;
}

.app-shot figcaption b {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.app-shot figcaption span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

@media (max-width: 760px) {
  .app-gallery {
    padding: 24px 0 84px;
  }

  .app-gallery__head {
    padding: 0 16px;
    margin-bottom: 28px;
  }

  .app-gallery__nav {
    display: none;
  }

  .app-rail {
    gap: 18px;
    padding: 16px 16px 24px;
    scroll-padding-inline: 16px;
  }

  .app-shot {
    width: 220px;
  }
}

/* ---------- Contact form: spam trap, errors, sending state ---------- */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 107, 122, .1);
  border: 1px solid rgba(255, 107, 122, .4);
  color: #FFC2C8;
  font-size: 14px;
}

.form-error[hidden] {
  display: none;
}

.form [data-submit][aria-busy="true"] {
  opacity: .7;
  pointer-events: none;
}

.form [data-submit][aria-busy="true"] svg {
  animation: mtSpin 1s linear infinite;
}