:root {
  --teal: #0a8f96;
  --teal-dark: #067078;
  --teal-soft: #eef8f8;
  --navy: #0f2c33;
  --ink: #1a2f35;
  --muted: #5a6f75;
  --line: #d8e5e7;
  --bg: #ffffff;
  --panel: #f4fafa;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(15, 44, 51, 0.08);
  --radius: 16px;
  --header-h: 64px;
  --font: "DM Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2rem);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark { height: 30px; width: auto; }

.brand-word {
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--teal);
  font-size: 1rem;
}

.nav-desktop {
  display: none;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--teal-dark); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff !important;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--teal-dark); }

.menu-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 39;
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 1rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] { display: none !important; }

.mobile-nav a {
  padding: 0.75rem 0.25rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:last-child { border-bottom: 0; }

.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 1.25rem) clamp(1rem, 4vw, 2rem) 1.5rem;
  background: var(--panel);
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 250, 250, 0.88) 42%, rgba(244, 250, 250, 0.55) 68%, rgba(244, 250, 250, 0.28) 100%);
}

.hero-home {
  background-image: url("../assets/photos/hero-home.jpg");
  background-position: center right;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
}

.hero h1,
.page-hero h1,
.section-head h2 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  max-width: 16ch;
}

.lede,
.section-copy,
.page-hero p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

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

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

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

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}

.hero-phone,
.showcase-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.phone {
  position: relative;
  width: min(230px, 62vw);
  aspect-ratio: 9 / 19.4;
  border-radius: 32px;
  padding: 8px;
  background: #1a2c31;
  box-shadow: var(--shadow);
}

.phone-lg { width: min(250px, 68vw); }

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 14px;
  border-radius: 999px;
  background: #0b1619;
  z-index: 2;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #0f2024;
}

.screen-track { position: absolute; inset: 0; }

.screen-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
}

.screen-track img.is-active { opacity: 1; }

.phone-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.strip {
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: #fff;
  border-block: 1px solid var(--line);
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.84rem;
}

.section {
  padding: clamp(1.6rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2rem);
}

.section.tight {
  padding-top: 0.35rem;
  padding-bottom: 1.6rem;
}

.section-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 1.35rem) clamp(1rem, 4vw, 2rem) 1.35rem;
  background: var(--panel) center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  min-height: 220px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 250, 250, 0.9) 48%, rgba(244, 250, 250, 0.55) 100%);
}

.page-hero-features {
  background-image: url("../assets/photos/hero-features.jpg");
  background-position: center right;
}

.page-hero-how {
  background-image: url("../assets/photos/hero-how.jpg");
  background-position: center right;
}

.page-hero-regions {
  background-image: url("../assets/photos/hero-regions.jpg");
  background-position: center right;
}

.page-hero-app {
  background-image: url("../assets/photos/hero-home.jpg");
  background-position: center right;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  max-width: 18ch;
}

.section-head {
  max-width: 640px;
  margin: 0 0 0.85rem;
}

#whatOkoweDoes .section-head {
  margin-inline: auto;
  text-align: center;
}

.card-showcase {
  position: relative;
  margin: 0.15rem auto 0;
  max-width: 420px;
  width: 100%;
}

.card-showcase-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
}

.card-showcase-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  gap: 0;
  will-change: transform;
}

.card-showcase .showcase-slide {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  margin: 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.card-showcase .showcase-slide .f-card-media {
  aspect-ratio: 4 / 3;
}

.card-showcase .showcase-slide .f-card-media img {
  object-fit: cover;
  object-position: center 22%;
}

.card-showcase .showcase-slide .f-card-body {
  padding: 0.85rem 0.95rem 1rem;
}

.card-showcase .showcase-slide h3 {
  font-size: 1rem;
}

.card-showcase .showcase-slide p {
  font-size: 0.86rem;
}

.card-showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.95rem;
}

.card-showcase-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.card-showcase-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c7dbde;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.card-showcase-dots button.is-active {
  width: 22px;
  background: var(--teal);
}

.showcase-nav {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.showcase-nav:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.page-bg {
  background-color: #f7fbfb;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.page-bg-features { background-image: linear-gradient(180deg, rgba(247, 251, 251, 0.92), rgba(255, 255, 255, 0.97)), url("../assets/photos/hero-features.jpg"); }
.page-bg-how { background-image: linear-gradient(180deg, rgba(247, 251, 251, 0.93), rgba(255, 255, 255, 0.98)), url("../assets/photos/hero-how.jpg"); }
.page-bg-regions { background-image: linear-gradient(180deg, rgba(247, 251, 251, 0.93), rgba(255, 255, 255, 0.98)), url("../assets/photos/hero-regions.jpg"); }
.page-bg-app { background-image: linear-gradient(180deg, rgba(247, 251, 251, 0.94), rgba(255, 255, 255, 0.98)), url("../assets/photos/hero-home.jpg"); }

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
}

.feature-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.f-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.f-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.f-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef7f8;
}

.f-card-media picture,
.tree-media picture {
  display: contents;
}

.f-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.45s ease;
}

.f-card:hover .f-card-media img { transform: scale(1.03); }

.f-card-body { padding: 0.95rem 1rem 1.1rem; }

.f-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.f-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-kicker {
  margin: 0 0 0.3rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem !important;
  font-weight: 700;
  color: var(--teal) !important;
}

.f-card-teal {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.f-card-teal h3,
.f-card-teal p,
.f-card-teal .card-kicker { color: #fff !important; }

.f-card-teal p { opacity: 0.92; }

.photo-banner {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #12323a center/cover no-repeat;
  color: #fff;
}

.photo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 34, 0.55);
}

.photo-banner-body {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.2rem;
  max-width: 34rem;
}

.photo-banner h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.photo-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.showcase {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.showcase-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.showcase-list li {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.showcase-list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--navy);
}

.showcase-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
}

.step {
  padding: 1.1rem 1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.step-num {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.85rem;
}

.step h3 {
  margin: 0 0 0.3rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.region-cards {
  display: grid;
  gap: 0.85rem;
}

.region-card {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #12323a center/cover no-repeat;
  color: #fff;
}

.region-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(8, 24, 28, 0.85));
}

.region-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.15rem;
}

.region-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.55rem;
}

.region-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  max-width: 28rem;
}

.split {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 200px;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.error-panel {
  max-width: 560px;
  margin: 0.5rem auto 1.5rem;
  text-align: center;
  padding: 1.25rem 0.75rem 2rem;
}

.error-panel .hero-cta {
  justify-content: center;
}

.error-code {
  margin: 0 0 0.35rem;
  font-size: clamp(3.2rem, 10vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--teal);
}

.error-panel h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  color: var(--navy);
  letter-spacing: -0.03em;
}

.error-panel p {
  margin: 0 auto 1.15rem;
  color: var(--muted);
  max-width: 34rem;
}

.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem 0.5rem 2.25rem;
}

.coming-soon h1,
.coming-soon p,
.coming-soon .badge {
  text-align: center;
  width: 100%;
}

.coming-soon .hero-cta {
  justify-content: center;
  width: 100%;
}

.btn,
.store-btn {
  text-align: center;
  justify-content: center;
}

.coming-soon .badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coming-soon h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  color: var(--navy);
}

.coming-soon p {
  margin: 0 auto 1.2rem;
  color: var(--muted);
  max-width: 32rem;
}

.coming-visual {
  width: min(100%, 420px);
  margin: 0 auto 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.coming-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.store-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 0.35rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  opacity: 0.7;
  pointer-events: none;
}

.store-btn span {
  display: grid;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
}

.store-btn small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.75;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 1.4rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.footer-brand img { height: 28px; width: auto; }

.footer-brand strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}

.footer-brand p,
.footer-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: space-between;
  align-items: center;
}

.built-by {
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 0.85rem;
}

.built-float {
  display: none !important;
}

.country-grid {
  display: grid;
  gap: 0.95rem;
}

.country-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 44, 51, 0.12);
}

.country-flag {
  height: 140px;
  background: #eef4f5;
  overflow: hidden;
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.country-body {
  padding: 1.05rem 1.05rem 1.15rem;
}

.country-body h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.country-lead {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.country-points {
  margin: 0 0 0.9rem;
  padding: 0 0 0 1.05rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.country-points li {
  margin-bottom: 0.35rem;
}

.country-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.country-meta span {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 650;
}

/* Only hide for animation when GSAP successfully boots */
.gsap-on .reveal,
.gsap-on .reveal-phone,
.gsap-on .step,
.gsap-on .region-card,
.gsap-on .photo-banner,
.gsap-on .country-card,
.gsap-on .tree-node {
  opacity: 0;
}

.no-gsap .reveal,
.no-gsap .reveal-phone,
.no-gsap .f-card,
.no-gsap .step,
.no-gsap .region-card,
.no-gsap .photo-banner,
.no-gsap .country-card,
.no-gsap .tree-node {
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-phone,
  .f-card,
  .step,
  .region-card,
  .photo-banner,
  .tree-node,
  .country-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .page-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 900px) {
  .page-bg {
    background-attachment: scroll;
  }
}

.f-card,
.step,
.region-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.process {
  margin-top: 1.5rem;
  padding: 1.2rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.process h3 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.process-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #d7e8ea;
  overflow: hidden;
  margin-bottom: 1rem;
}

.process-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--teal), #12b4bc);
  border-radius: 999px;
}

.process-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.process-labels span {
  text-align: center;
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.process-labels span.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.process-labels strong {
  display: block;
  color: var(--teal-dark);
  margin-bottom: 0.15rem;
}

/* Features tree — central trunk with alternating branches */
.feature-tree {
  --tree-gap: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--tree-gap);
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.75rem 0 2rem;
}

.feature-tree::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 1.5rem;
  left: 1.15rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--teal) 6%, var(--teal) 94%, transparent);
  opacity: 0.45;
  z-index: 0;
}

.tree-node {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  width: calc(100% - 2.4rem);
  margin: 0 0 0 2.4rem;
  padding: 0;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tree-node::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  left: -1.05rem;
  width: 1.05rem;
  height: 2px;
  background: var(--teal);
  opacity: 0.45;
  z-index: 2;
}

.tree-node::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: -1.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(10, 143, 150, 0.22);
  z-index: 3;
}

.tree-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef7f8;
}

.tree-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.tree-body {
  padding: 1rem 1.05rem 1.15rem;
}

.tree-body h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.12rem;
}

.tree-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.tree-cta {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.tree-cta .tree-media { display: none; }

.tree-cta .tree-body h3,
.tree-cta .tree-body p,
.tree-cta .card-kicker { color: #fff !important; }

.tree-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

@media (min-width: 900px) {
  .feature-tree {
    gap: 2.35rem;
    padding-top: 1rem;
  }

  .feature-tree::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .tree-node {
    width: calc(50% - 2rem);
  }

  .tree-left {
    align-self: flex-start;
    margin: 0 auto 0 0;
  }

  .tree-right {
    align-self: flex-end;
    margin: 0 0 0 auto;
  }

  .tree-left::before {
    left: auto;
    right: -2rem;
    width: 2rem;
  }

  .tree-left::after {
    left: auto;
    right: -2.35rem;
  }

  .tree-right::before {
    left: -2rem;
    width: 2rem;
  }

  .tree-right::after {
    left: -2.35rem;
  }

}

@media (min-width: 700px) {
  .nav-desktop { display: flex; }
  .menu-btn,
  .mobile-nav { display: none !important; }

  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .region-cards { grid-template-columns: repeat(2, 1fr); }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .country-flag { height: 160px; }
  .showcase { grid-template-columns: 1.05fr 0.95fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 1.4rem; }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.4rem;
  }

  .photo-banner { min-height: 260px; }
  .coming-visual img { height: 250px; object-fit: cover; object-position: center 28%; }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.7fr);
    gap: 1.75rem;
  }

  .feature-cards { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-bottom: 2rem; }
}

/* Mobile polish */
@media (max-width: 699px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand-word {
    font-size: 0.95rem;
  }

  .hero {
    padding: calc(var(--header-h) + 1rem) 1rem 1.25rem;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .lede {
    font-size: 0.94rem;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
    min-width: min(100%, 9.5rem);
  }

  .phone {
    width: min(210px, 68vw);
  }

  .phone-lg {
    width: min(230px, 72vw);
  }

  .strip {
    padding-inline: 1rem;
  }

  .trust-inner {
    justify-content: flex-start;
    gap: 0.4rem 0.7rem;
    font-size: 0.78rem;
  }

  .section,
  .page-hero {
    padding-inline: 1rem;
  }

  .page-hero h1 {
    max-width: 16ch;
  }

  .card-showcase {
    max-width: min(100%, 360px);
  }

  .process-labels {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .process-labels span {
    text-align: left;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
  }

  .process-labels span.is-active {
    border-color: var(--teal);
    background: var(--teal-soft);
  }

  .showcase-list li {
    padding: 0.75rem 0.85rem;
  }

  .site-footer {
    padding-inline: 1rem;
    gap: 1rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .country-body {
    padding: 0.95rem;
  }

  .error-panel {
    padding-inline: 0.25rem;
  }
}

@media (max-width: 420px) {
  .nav-cta {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .store-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }
}
