/* Global light international theme  all public + member pages */
.is-public,
.is-member {
  --ink: #122018;
  --ink-soft: #3a4a42;
  --paper: #ffffff;
  --paper-soft: #f3f7f4;
  --paper-mist: #e6efe9;
  --line-light: rgba(18, 32, 24, 0.11);
  --kenya-green: #007a45;
  --kenya-green-deep: #005530;
  --kenya-red: #c8102e;
  --gold: #a67c0a;
  --sky: #e6f2fa;
  --sky-deep: #3f7fa3;
  --mist: #3a4a42;
  --line: rgba(18, 32, 24, 0.11);
  --glass: rgba(255, 255, 255, 0.94);
  --radius-sm: 10px;
  --radius-md: 14px;
  --shadow-soft: 0 8px 22px rgba(18, 32, 24, 0.06);
  --shadow-card: 0 10px 28px rgba(18, 32, 24, 0.07);
  --font-display: var(--font-home-display);
  --font-body: var(--font-home-body);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: clip;
  line-height: 1.5;
  background:
    radial-gradient(ellipse 75% 45% at 100% 0%, rgba(0, 122, 69, 0.07), transparent 52%),
    radial-gradient(ellipse 55% 35% at 0% 18%, rgba(200, 16, 46, 0.04), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f6faf7 42%, #eef4f0 100%);
}

.is-public .noise,
.is-member .noise {
  opacity: 0.025;
  mix-blend-mode: multiply;
}

/* Header */
.is-public .site-header,
.is-member .site-header {
  width: 100%;
  max-width: none;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line-light);
  box-shadow: 0 4px 18px rgba(18, 32, 24, 0.04);
}

.is-public .brand-text strong,
.is-member .brand-text strong { color: var(--ink); }

.is-public .brand-text em,
.is-member .brand-text em { color: var(--kenya-green); }

.is-public .site-nav a,
.is-member .site-nav a {
  color: var(--ink-soft);
  opacity: 1;
}

.is-public .site-nav a:hover,
.is-public .site-nav a.is-active,
.is-member .site-nav a:hover,
.is-member .site-nav a.is-active {
  color: var(--kenya-green);
}

/* Subtle nav underline  text links only, not buttons */
.is-public .site-nav a:not(.btn),
.is-member .site-nav a:not(.btn) {
  position: relative;
  padding-bottom: 0.15rem;
}

.is-public .site-nav a:not(.btn)::after,
.is-member .site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--kenya-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
  opacity: 0.85;
}

.is-public .site-nav a:not(.btn):hover::after,
.is-public .site-nav a:not(.btn).is-active::after,
.is-member .site-nav a:not(.btn):hover::after,
.is-member .site-nav a:not(.btn).is-active::after {
  transform: scaleX(1);
}

/* Nav link color must not override primary CTAs (dark on dark green) */
.is-public .site-nav a.btn-primary,
.is-member .site-nav a.btn-primary,
.is-public .btn-primary,
.is-member .btn-primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.is-public .site-nav a.btn-primary:hover,
.is-member .site-nav a.btn-primary:hover,
.is-public .btn-primary:hover,
.is-member .btn-primary:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.is-public .nav-toggle,
.is-member .nav-toggle { border-color: var(--line-light); }

.is-public .nav-toggle span,
.is-member .nav-toggle span { background: var(--ink); }

.is-public .btn-primary,
.is-member .btn-primary {
  background: linear-gradient(135deg, var(--kenya-green-deep) 0%, var(--kenya-green) 55%, #009953 100%);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  border: 1px solid rgba(0, 85, 48, 0.35);
  box-shadow: 0 8px 18px rgba(0, 122, 69, 0.22);
}

.is-public .btn-primary:hover,
.is-member .btn-primary:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 10px 22px rgba(0, 122, 69, 0.3);
  filter: brightness(1.03);
}

.is-public .btn-secondary,
.is-member .btn-secondary {
  background: #fff;
  border: 1.5px solid rgba(0, 122, 69, 0.4);
  color: var(--kenya-green-deep);
  box-shadow: 0 2px 8px rgba(18, 32, 24, 0.04);
}

.is-public .btn-secondary:hover,
.is-member .btn-secondary:hover {
  background: var(--paper-soft);
  border-color: var(--kenya-green);
}

.is-public .btn-ghost,
.is-member .btn-ghost {
  background: var(--paper-soft);
  border: 1px solid var(--line-light);
  color: var(--ink);
}

/* Typography & shared blocks */
.is-public h1,
.is-public h2,
.is-public h3,
.is-public h4,
.is-member h1,
.is-member h2,
.is-member h3,
.is-member h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

.is-public h1,
.is-member h1 { font-weight: 600; }

.is-public h2,
.is-public h3,
.is-public h4,
.is-member h2,
.is-member h3,
.is-member h4 { font-weight: 500; }

.is-public .eyebrow,
.is-member .eyebrow { color: var(--kenya-green); }

.is-public .page-hero p,
.is-public .lede,
.is-public .section-head p,
.is-public .feature-list li,
.is-public .info-block p,
.is-public .plan-meta,
.is-public .cta-sub,
.is-member .page-hero p,
.is-member .lede,
.is-member .form-hint { color: var(--ink-soft); }

.is-public .feature-list li::before {
  background: var(--kenya-green);
  box-shadow: 0 0 0 4px rgba(0, 122, 69, 0.15);
}

.is-public .text-link { color: var(--kenya-green-deep); }

/* Cards / panels / stats */
.is-public .plan-card,
.is-public .panel,
.is-public .stat,
.is-public .auth-panel,
.is-public .trust-band,
.is-public .cta-band,
.is-public .visual-panel,
.is-public .visual-stage,
.is-member .plan-card,
.is-member .panel,
.is-member .stat,
.is-member .auth-panel {
  background: #ffffff;
  border: 1px solid var(--line-light);
  color: var(--ink);
  box-shadow: var(--shadow-card, 0 10px 28px rgba(18, 32, 24, 0.07));
  border-radius: var(--radius-md, 14px);
}

.is-public .plan-card .amount,
.is-public .stat .value,
.is-member .stat .value { color: var(--kenya-green); }

.is-public .plan-card .name,
.is-member .plan-card .name { color: var(--ink); }

.is-public .stat .label,
.is-member .stat .label { color: var(--ink-soft); }

.is-public .info-block {
  border-bottom-color: var(--line-light);
}

.is-public .info-block h3 { color: var(--ink); }

.is-public .gateway-note,
.is-member .gateway-note {
  background: rgba(0, 122, 69, 0.06);
  border-color: rgba(0, 122, 69, 0.25);
  color: var(--ink-soft);
}

.is-public .cta-band {
  background:
    linear-gradient(125deg, rgba(0, 122, 69, 0.09), rgba(230, 242, 250, 0.85) 48%, rgba(200, 16, 46, 0.05)),
    #ffffff;
  border: 1px solid rgba(0, 122, 69, 0.18);
}

.is-public .cta-premium::before {
  background: radial-gradient(circle, rgba(0, 163, 92, 0.18), transparent 65%);
}

/* Tables */
.is-public .level-table,
.is-public .data-table,
.is-member .data-table {
  color: var(--ink);
}

.is-public .level-table th,
.is-member .data-table th {
  background: rgba(0, 122, 69, 0.1);
  color: var(--ink);
}

.is-public .level-table th,
.is-public .level-table td,
.is-public .data-table th,
.is-public .data-table td,
.is-member .data-table th,
.is-member .data-table td {
  border-bottom-color: var(--line-light);
}

.is-public .level-table td:last-child {
  color: var(--kenya-green-deep);
}

.is-public .data-table th,
.is-member .data-table th { color: var(--ink-soft); }

/* Forms */
.is-public .form-group label,
.is-member .form-group label { color: var(--ink-soft); }

.is-public .form-group input,
.is-public .form-group select,
.is-public .form-group textarea,
.is-member .form-group input,
.is-member .form-group select,
.is-member .form-group textarea {
  background: #f6faf7;
  border: 1px solid rgba(18, 32, 24, 0.14);
  color: var(--ink);
  border-radius: 10px;
}

.is-public .form-group input:focus,
.is-member .form-group input:focus {
  outline: 2px solid rgba(0, 122, 69, 0.28);
  border-color: var(--kenya-green);
  background: #fff;
}

.is-public .auth-switch,
.is-member .auth-switch { color: var(--ink-soft); }

.is-public .auth-switch a { color: var(--kenya-green-deep); }

.is-public .auth-panel .sub { color: var(--ink-soft); }

.is-public .flash-error {
  background: rgba(200, 16, 46, 0.08);
  border-color: rgba(200, 16, 46, 0.3);
  color: #9b1024;
}

.is-public .flash-success,
.is-member .flash-success {
  background: rgba(0, 122, 69, 0.08);
  border-color: rgba(0, 122, 69, 0.28);
  color: var(--kenya-green-deep);
}

.is-public .flash-info,
.is-member .flash-info {
  background: rgba(184, 134, 11, 0.1);
  border-color: rgba(184, 134, 11, 0.3);
  color: #7a5a08;
}

.is-public .badge {
  background: rgba(0, 122, 69, 0.12);
  color: var(--kenya-green-deep);
}

.is-public .badge-pending,
.is-member .badge-pending {
  background: rgba(184, 134, 11, 0.15);
  color: #7a5a08;
}

/* Auth ribbon */
.page-login .kenya-ribbon,
.page-register .kenya-ribbon,
.page-forgot .kenya-ribbon,
.page-reset .kenya-ribbon,
.page-recover .kenya-ribbon {
  display: flex;
  height: 4px;
  width: calc(100% + 2.3rem);
  margin: -1.15rem -1.15rem 1.1rem;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.page-login .kenya-ribbon span,
.page-register .kenya-ribbon span,
.page-forgot .kenya-ribbon span,
.page-reset .kenya-ribbon span,
.page-recover .kenya-ribbon span { flex: 1; }
.page-login .kenya-ribbon .k-black,
.page-register .kenya-ribbon .k-black,
.page-forgot .kenya-ribbon .k-black,
.page-reset .kenya-ribbon .k-black,
.page-recover .kenya-ribbon .k-black { background: #000; }
.page-login .kenya-ribbon .k-red,
.page-register .kenya-ribbon .k-red,
.page-forgot .kenya-ribbon .k-red,
.page-reset .kenya-ribbon .k-red,
.page-recover .kenya-ribbon .k-red { background: var(--kenya-red); }
.page-login .kenya-ribbon .k-white-mid,
.page-register .kenya-ribbon .k-white-mid,
.page-forgot .kenya-ribbon .k-white-mid,
.page-reset .kenya-ribbon .k-white-mid,
.page-recover .kenya-ribbon .k-white-mid { background: #fff; flex: 0.35; }
.page-login .kenya-ribbon .k-green,
.page-register .kenya-ribbon .k-green,
.page-forgot .kenya-ribbon .k-green,
.page-reset .kenya-ribbon .k-green,
.page-recover .kenya-ribbon .k-green { background: var(--kenya-green); }

.page-login .auth-wrap::before,
.page-register .auth-wrap::before,
.page-forgot .auth-wrap::before,
.page-reset .auth-wrap::before,
.page-recover .auth-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 10% auto;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 122, 69, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page-login .auth-wrap,
.page-register .auth-wrap,
.page-forgot .auth-wrap,
.page-reset .auth-wrap,
.page-recover .auth-wrap { position: relative; }

.page-login .auth-panel,
.page-register .auth-panel,
.page-forgot .auth-panel,
.page-reset .auth-panel,
.page-recover .auth-panel { position: relative; z-index: 1; }

/* ========== Homepage redesign (scoped) ========== */
html:has(body.page-home) {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.page-home {
  --home-earth: #0b1a12;
  --home-moss: #0f3d28;
  --home-gold: #c9a227;
  --home-cream: #f4f7f4;
  --font-display: var(--font-home-display);
  --font-body: var(--font-home-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

.page-home main {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

/*
 * Full-bleed hero  break out of any ancestor padding/centering.
 * Root cause of side gaps: block children at width:100% still sit inside
 * padded/centered parents; 100vw + calc(50% - 50vw) pins to viewport edges.
 * Flex (not grid) avoids track-shrink when the only in-flow child is .shell.
 */
.page-home .home-hero {
  position: relative;
  left: auto;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
  min-height: min(88vh, 740px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--home-earth);
  color: #f5f8f5;
}

.page-home .home-hero-photo {
  position: absolute;
  top: -4%;
  left: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  z-index: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transform-origin: center center;
  animation:
    homeHeroFade 1.35s ease both,
    homeHeroDrift 22s ease-in-out 0.4s infinite alternate;
  filter: saturate(1.08) contrast(1.06);
  will-change: transform;
}

/* Layered Kenya / Nairobi depth plane */
.page-home .home-hero-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow: hidden;
}

.page-home .home-hero-photo--back {
  z-index: 0;
  background-position: center 35%;
  filter: saturate(1.12) contrast(1.08) brightness(0.95);
  animation-name: homeHeroFade, homeHeroDriftBack;
  left: calc(-4% + var(--parallax-x, 0px));
  top: calc(-4% + var(--parallax-y, 0px));
}

.page-home .home-hero-photo--mid {
  z-index: 1;
  top: calc(38% + var(--parallax-y, 0px));
  left: calc(-4% + var(--parallax-x, 0px));
  height: 72%;
  background-position: center 55%;
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  filter: saturate(1.15) contrast(1.05);
  animation-name: homeHeroFadeMid, homeHeroDriftMid;
  animation-duration: 1.35s, 26s;
  animation-fill-mode: both, none;
  animation-timing-function: ease, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-delay: 0s, 0.4s;
}

.page-home .home-hero-photo--local {
  z-index: 2;
  top: calc(58% + var(--parallax-y, 0px));
  left: calc(-6% + var(--parallax-x, 0px));
  width: 112%;
  height: 52%;
  background-position: center 60%;
  clip-path: polygon(0 28%, 100% 8%, 100% 100%, 0 100%);
  mix-blend-mode: soft-light;
  filter: saturate(1.1) contrast(1.04);
  animation-name: homeHeroFadeLocal, homeHeroDriftLocal;
  animation-duration: 1.35s, 30s;
  animation-fill-mode: both, none;
  animation-timing-function: ease, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-delay: 0s, 0.4s;
}

.page-home .home-hero-depth {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 70% 20%, rgba(201, 162, 39, 0.12), transparent 55%),
    linear-gradient(180deg, transparent 40%, rgba(6, 16, 11, 0.35) 100%);
  transform: translateZ(20px);
}

@keyframes homeHeroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes homeHeroFadeMid {
  from { opacity: 0; }
  to { opacity: 0.88; }
}

@keyframes homeHeroFadeLocal {
  from { opacity: 0; }
  to { opacity: 0.72; }
}

@keyframes homeHeroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@keyframes homeHeroDriftBack {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-2%, -1.2%, 0); }
}

@keyframes homeHeroDriftMid {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(1.8%, -0.8%, 0); }
}

@keyframes homeHeroDriftLocal {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.2%, 1%, 0); }
}

.page-home .home-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-home .home-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(6, 16, 11, 0.88) 0%, rgba(6, 16, 11, 0.55) 42%, rgba(6, 16, 11, 0.18) 68%, rgba(6, 16, 11, 0.42) 100%),
    linear-gradient(180deg, rgba(6, 16, 11, 0.25) 0%, transparent 28%, rgba(6, 16, 11, 0.78) 78%, rgba(6, 16, 11, 0.95) 100%),
    radial-gradient(ellipse 55% 40% at 78% 28%, rgba(201, 162, 39, 0.16), transparent 60%);
}

.page-home .home-hero-content {
  position: relative;
  z-index: 3;
  width: min(680px, calc(100% - 2rem));
  max-width: 680px;
  margin-inline: auto;
  padding: 5.25rem 0 3.75rem;
  flex: 0 1 auto;
  align-self: flex-end;
}

.page-home .home-hero-brand {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  line-height: 1.15;
}

.page-home .home-hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 8vw, 4.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.page-home .home-hero-brand-place {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--home-gold);
}

.page-home .home-hero h1 {
  margin: 0 0 0.9rem;
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: rgba(245, 248, 245, 0.94);
}

.page-home .home-hero-lead {
  margin: 0 0 1.65rem;
  max-width: 40ch;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(234, 240, 234, 0.86);
}

.page-home .home-hero-actions {
  gap: 0.75rem;
}

.page-home .home-hero-actions .btn {
  min-width: min(100%, 11rem);
}

.page-home .home-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 248, 245, 0.45);
  color: #f5f8f5;
  backdrop-filter: blur(8px);
}

.page-home .home-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.page-home .home-hero .btn-primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 10px 28px rgba(0, 90, 50, 0.45);
}

.page-home .btn-primary,
.page-home a.btn-primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.page-home .kenya-ribbon {
  display: flex;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  height: 6px;
  border-radius: 0;
}

/*  Professional CSS 3D industry motifs (not cartoon)  */
.page-home .section.home-motifs {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 2.5rem 0 2.15rem;
  background:
    radial-gradient(ellipse 60% 70% at 12% 40%, rgba(201, 162, 39, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 60% at 88% 30%, rgba(0, 122, 69, 0.07), transparent 50%),
    linear-gradient(180deg, #f2f7f3 0%, #ffffff 100%);
}

.page-home .motif-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  perspective: 900px;
  transform-style: preserve-3d;
  will-change: transform;
}

.page-home .motif-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 1.15rem 1rem 1.1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 32, 24, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 10px 28px rgba(18, 32, 24, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .motif-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.08);
  transition: opacity 0.4s ease, transform 0.5s ease;
  pointer-events: none;
}

.page-home .motif-tile:hover .motif-photo {
  opacity: 0.32;
  transform: scale(1.14);
}

.page-home .motif-tile .motif-stage,
.page-home .motif-tile h3,
.page-home .motif-tile p {
  position: relative;
  z-index: 1;
}

.page-home .motif-tile:hover {
  border-color: rgba(0, 122, 69, 0.28);
  box-shadow: 0 14px 32px rgba(18, 32, 24, 0.08);
}

.page-home .motif-tile h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-home .motif-tile p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.page-home .motif-stage {
  height: 108px;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  perspective: 600px;
  transform-style: preserve-3d;
}

.page-home .motif-3d {
  position: relative;
  width: 72px;
  height: 72px;
  transform-style: preserve-3d;
  animation: motifFloat 5.5s ease-in-out infinite;
}

.page-home .motif-tile:nth-child(2) .motif-3d { animation-delay: -1.2s; }
.page-home .motif-tile:nth-child(3) .motif-3d { animation-delay: -2.4s; }
.page-home .motif-tile:nth-child(4) .motif-3d { animation-delay: -3.6s; }

@keyframes motifFloat {
  0%, 100% { transform: translateY(0) rotateY(-12deg) rotateX(6deg); }
  50% { transform: translateY(-7px) rotateY(14deg) rotateX(-4deg); }
}

/* Faceted gold ore crystal */
.page-home .motif-ore {
  width: 56px;
  height: 64px;
  animation-name: motifOreSpin;
  animation-duration: 7s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes motifOreSpin {
  from { transform: translateY(0) rotateY(0deg) rotateX(12deg); }
  to { transform: translateY(0) rotateY(360deg) rotateX(12deg); }
}

.page-home .motif-ore-facet {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  background: linear-gradient(145deg, #f0d078 0%, #c9a227 42%, #8a5a00 100%);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.25);
  opacity: 0.92;
  backface-visibility: hidden;
}

.page-home .motif-ore-a { transform: translateZ(10px); }
.page-home .motif-ore-b {
  transform: rotateY(120deg) translateZ(10px);
  background: linear-gradient(145deg, #e8c45a 0%, #a67c0a 50%, #6b4500 100%);
  opacity: 0.88;
}
.page-home .motif-ore-c {
  transform: rotateY(240deg) translateZ(10px);
  background: linear-gradient(145deg, #fff1a8 0%, #d4a017 45%, #7a5200 100%);
  opacity: 0.9;
}

/* Soft metallic sphere */
.page-home .motif-metal {
  width: 58px;
  height: 58px;
  animation-name: motifMetalSpin;
  animation-duration: 8s;
}

@keyframes motifMetalSpin {
  from { transform: translateY(0) rotateY(0deg); }
  to { transform: translateY(0) rotateY(360deg); }
}

.page-home .motif-metal-core {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, #dfe7e2 28%, #8a9a90 62%, #3a4a42 100%);
  box-shadow:
    inset -8px -10px 18px rgba(0, 0, 0, 0.28),
    inset 6px 6px 14px rgba(255, 255, 255, 0.55),
    0 12px 22px rgba(18, 32, 24, 0.18);
}

.page-home .motif-metal-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 162, 39, 0.55);
  transform: rotateX(68deg);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.25);
}

/* Abstract wheat / leaf geometry */
.page-home .motif-agri {
  width: 64px;
  height: 64px;
  animation-name: motifAgriSway;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
}

@keyframes motifAgriSway {
  0%, 100% { transform: translateY(0) rotateY(-18deg) rotateZ(-4deg); }
  50% { transform: translateY(-6px) rotateY(18deg) rotateZ(4deg); }
}

.page-home .motif-leaf {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 40px;
  margin: -20px 0 0 -11px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, #5cbc7a 0%, #007a45 55%, #005530 100%);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.18);
  transform-origin: 50% 90%;
}

.page-home .motif-leaf-a { transform: translateZ(8px) rotate(-28deg); }
.page-home .motif-leaf-b {
  transform: translateZ(14px) rotate(0deg) scale(1.05);
  background: linear-gradient(180deg, #7ed69a 0%, #009953 50%, #006b3f 100%);
}
.page-home .motif-leaf-c { transform: translateZ(6px) rotate(28deg); }

/* Solar panel plane */
.page-home .motif-solar {
  width: 70px;
  height: 48px;
  animation-name: motifSolarTilt;
  animation-duration: 7.5s;
  animation-timing-function: ease-in-out;
}

@keyframes motifSolarTilt {
  0%, 100% { transform: translateY(0) rotateX(28deg) rotateY(-22deg); }
  50% { transform: translateY(-5px) rotateX(18deg) rotateY(22deg); }
}

.page-home .motif-panel {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(145deg, #1a3a52 0%, #2a5f7a 40%, #0f2740 100%);
  background-size: 25% 100%, 100% 33%, 100% 100%;
  border: 1px solid rgba(180, 210, 230, 0.35);
  box-shadow:
    0 14px 24px rgba(15, 39, 64, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateZ(12px);
}

/* Below-fold sections */
.page-home .section {
  padding: 2.35rem 0;
}

.page-home .section-head {
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.page-home .section-head h2,
.page-home .home-why-copy h2,
.page-home .home-cta h2 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 600;
}

.page-home .section-head p,
.page-home .lede,
.page-home .feature-list li,
.page-home .cta-sub {
  line-height: 1.5;
}

.page-home .section.home-offer {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 2.15rem;
  padding-bottom: 1.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(0, 122, 69, 0.07), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f4f8f5 100%);
}

.page-home .home-packages {
  padding-top: 1.75rem;
  padding-bottom: 2.35rem;
}

.page-home .home-launch-grid {
  width: 100%;
}

.page-home .home-packages .invest-card {
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-home .home-packages .invest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(18, 32, 24, 0.1);
}

.page-home .section.home-why {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: 2.5rem;
  background:
    linear-gradient(180deg, #eef4f0 0%, #f7faf8 55%, #ffffff 100%);
}

.page-home .home-why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: stretch;
}

.page-home .home-why-copy h2 {
  margin-bottom: 0.65rem;
}

.page-home .home-why-copy .lede {
  margin-bottom: 0.85rem;
}

.page-home .home-why-visual {
  margin: 0;
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.page-home .home-why-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 360px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.page-home .home-why-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 26, 18, 0.12), transparent 45%),
    linear-gradient(0deg, rgba(11, 26, 18, 0.28), transparent 40%);
  pointer-events: none;
}

.page-home .home-rewards {
  padding-top: 2.25rem;
  padding-bottom: 1.25rem;
}

.page-home .home-dest-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.page-home .home-dest-rail .dest-card {
  min-height: 210px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.page-home .home-dest-rail .dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(18, 32, 24, 0.12);
}

.page-home .home-dest-rail .dest-content {
  min-height: 210px;
  padding: 1.15rem;
}

.page-home .home-dest-rail .dest-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.page-home .home-rewards-more {
  margin: 1rem 0 0;
  font-weight: 500;
}

.page-home .home-final {
  padding-top: 1.5rem;
  padding-bottom: 0.75rem;
}

.page-home .home-cta {
  margin: 0 0 1.75rem;
  padding: 1.35rem 1.4rem;
  background:
    linear-gradient(120deg, rgba(0, 122, 69, 0.12), rgba(201, 162, 39, 0.1) 50%, rgba(200, 16, 46, 0.05)),
    #fff;
  border: 1px solid rgba(0, 122, 69, 0.2);
  border-radius: 14px;
}

.page-home .home-cta h2 {
  letter-spacing: -0.01em;
}

.page-home .eyebrow {
  letter-spacing: 0.12em;
  font-weight: 500;
}

.page-home .btn {
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.page-home .btn:hover {
  transform: translateY(-2px);
}

/* Reveal motion on homepage sections */
.page-home .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.page-home .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.page-home .reveal.delay-1 { transition-delay: 0.08s; }
.page-home .reveal.delay-2 { transition-delay: 0.16s; }
.page-home .reveal.delay-3 { transition-delay: 0.24s; }

.page-home .home-hero .reveal {
  animation: homeRise 0.85s ease both;
  opacity: 1;
  transform: none;
}

.page-home .home-hero .delay-1 { animation-delay: 0.12s; }
.page-home .home-hero .delay-2 { animation-delay: 0.24s; }
.page-home .home-hero .delay-3 { animation-delay: 0.36s; }

@keyframes homeRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero-photo {
    animation: none;
    transform: scale(1.04);
    opacity: 1;
  }

  .page-home .home-hero-photo--mid { opacity: 0.88; }
  .page-home .home-hero-photo--local { opacity: 0.72; }

  .page-home .home-hero .reveal,
  .page-home .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .page-home .motif-3d,
  .page-home .motif-ore,
  .page-home .motif-metal,
  .page-home .motif-agri,
  .page-home .motif-solar {
    animation: none !important;
  }

  .page-home .motif-ore { transform: rotateY(-18deg) rotateX(12deg); }
  .page-home .motif-metal { transform: rotateY(25deg); }
  .page-home .motif-agri { transform: rotateY(-12deg); }
  .page-home .motif-solar { transform: rotateX(24deg) rotateY(-16deg); }

  .page-home .motif-row {
    transform: none !important;
  }

  .is-public .site-nav a:not(.btn)::after,
  .is-member .site-nav a:not(.btn)::after {
    transition: none;
  }
}

@media (max-width: 960px) {

  .page-home .home-why-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .page-home .home-why-visual img {
    min-height: 220px;
    max-height: 280px;
  }

  .page-home .home-hero {
    min-height: min(78vh, 640px);
  }

  .page-home .home-hero-content {
    padding: 3.75rem 0 2.85rem;
    max-width: 100%;
    width: min(680px, calc(100% - 2rem));
  }

  .page-home .motif-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 640px) {
  .page-home .home-hero {
    min-height: min(86vh, 660px);
    align-items: flex-end;
  }

  .page-home .home-hero-veil {
    background:
      linear-gradient(180deg, rgba(6, 16, 11, 0.35) 0%, rgba(6, 16, 11, 0.2) 28%, rgba(6, 16, 11, 0.78) 62%, rgba(6, 16, 11, 0.96) 100%),
      linear-gradient(105deg, rgba(6, 16, 11, 0.72) 0%, rgba(6, 16, 11, 0.35) 55%, rgba(6, 16, 11, 0.45) 100%);
  }

  .page-home .home-hero-content {
    padding: 2.5rem 0 2.5rem;
  }

  .page-home .home-hero-brand-name {
    font-size: clamp(2.7rem, 13vw, 3.5rem);
    letter-spacing: 0.04em;
  }

  .page-home .home-hero-brand-place {
    letter-spacing: 0.22em;
    font-size: 0.95rem;
  }

  .page-home .home-hero h1 {
    font-size: clamp(1.2rem, 5vw, 1.45rem);
    max-width: none;
    line-height: 1.25;
    font-weight: 600;
  }

  .page-home .home-hero-lead {
    font-size: 0.95rem;
    max-width: none;
    line-height: 1.5;
  }

  .page-home .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .home-hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .page-home .motif-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .page-home .motif-stage {
    height: 88px;
  }

  .page-home .motif-tile {
    padding: 0.9rem 0.7rem 0.85rem;
  }

  .page-home .motif-tile h3 {
    font-size: 0.95rem;
  }

  .page-home .motif-tile p {
    font-size: 0.8rem;
  }

  .page-home .section {
    padding: 2rem 0;
  }

  .page-home .home-dest-rail {
    grid-template-columns: 1fr;
  }

  .page-home .home-dest-rail .dest-card,
  .page-home .home-dest-rail .dest-content {
    min-height: 180px;
  }

  .page-home .home-why-visual img {
    min-height: 200px;
    max-height: 240px;
  }

}

.is-public .kenya-ribbon {
  height: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.is-public .marquee {
  background: #fff;
  border-bottom: 1px solid var(--line-light);
  border-top: 1px solid var(--line-light);
}

.is-public .marquee-track { color: var(--kenya-green-deep); }

/* Member dashboard: light theme  keep congrats ticker highly visible */
.is-member .marquee,
.is-member .congrats-ticker {
  display: block;
  background: #fff;
  border-bottom: 1px solid var(--line-light);
  border-top: 1px solid color-mix(in srgb, var(--kenya-green, #007a45) 35%, var(--line-light));
  padding: 0.75rem 0;
}
.is-member .marquee-track {
  color: var(--kenya-green, #007a45);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.is-member .trip-unlock-hero {
  color: var(--ink-soft);
}

/* Photo elements */
.is-public .photo-frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-card, 0 10px 28px rgba(18, 32, 24, 0.08));
  background: #fff;
}

.is-public .photo-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.is-public .photo-frame figcaption {
  padding: 0.9rem 1.15rem 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.is-public .pillar {
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-soft, 0 8px 22px rgba(18, 32, 24, 0.06));
  background: #fff;
  border-radius: var(--radius-md, 14px);
}

.is-public .pillar-photo .pillar-media {
  background-size: cover !important;
  background-position: center !important;
}

.is-public .pillar-photo .pillar-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 10%, rgba(255, 255, 255, 0.92) 78%, #fff 100%);
}

.is-public .pillar-body p { color: var(--ink-soft); }

.is-public .section-immersive,
.is-public .section-process {
  background: linear-gradient(180deg, transparent, #f4f8f6 12%, #f4f8f6 88%, transparent);
}

.is-public .process-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.is-public .process-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #fff;
  box-shadow: var(--shadow-soft, 0 8px 22px rgba(18, 32, 24, 0.06));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.is-public .process-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(18, 32, 24, 0.1);
}

.is-public .process-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.is-public .process-card:hover img { transform: scale(1.05); }
.is-public .process-wide { grid-column: span 2; }
.is-public .process-wide img { height: 280px; }

.is-public .process-card figcaption {
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.2rem;
}

.is-public .process-card figcaption strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.is-public .process-card figcaption span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.is-public .dest-card {
  border-color: transparent;
  box-shadow: var(--shadow-card, 0 10px 28px rgba(18, 32, 24, 0.1));
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
}

.is-public .dest-thai .dest-bg,
.is-public .dest-dubai .dest-bg,
.is-public .dest-more .dest-bg {
  background-color: #123;
}

.is-public .dest-content h3,
.is-public .dest-content p { color: #fff; }
.is-public .dest-content p { opacity: 0.9; }
.is-public .dest-content .dest-places { opacity: 0.98; font-weight: 600; }
.is-public .dest-content .dest-blurb { opacity: 0.85; }

.is-public .place-chips li {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.is-public .dest-tag {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(8px);
}

.is-public .trust-item strong { color: var(--kenya-green); }
.is-public .trust-item span { color: var(--ink-soft); }

.is-public .reward-item {
  border-top-color: var(--kenya-green);
  background: linear-gradient(180deg, rgba(0, 122, 69, 0.05), transparent);
}

.is-public .reward-item p { color: var(--ink-soft); }
.is-public .reward-item strong { color: var(--kenya-green-deep); }

/* Visual panel accents on light */
.is-public .visual-panel {
  background:
    linear-gradient(160deg, rgba(0, 122, 69, 0.08), transparent 50%),
    linear-gradient(320deg, rgba(74, 144, 184, 0.12), transparent 45%),
    #ffffff;
}

.is-public .orbit { border-color: rgba(0, 122, 69, 0.25); }

.is-public .float-chip {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 122, 69, 0.25);
  color: var(--kenya-green-deep);
}

/* Footer */
.is-public .site-footer,
.is-member .site-footer {
  background: #fff;
  border-top: 1px solid var(--line-light);
  color: var(--ink);
}

.is-public .footer-copy,
.is-public .footer-meta,
.is-public .footer-bottom,
.is-public .site-footer a,
.is-member .footer-copy,
.is-member .footer-meta,
.is-member .footer-bottom,
.is-member .site-footer a {
  color: var(--ink-soft);
}

.is-public .site-footer a:hover,
.is-member .site-footer a:hover { color: var(--kenya-green); }

.is-public .site-footer h4,
.is-member .site-footer h4 { color: var(--ink); }

.is-public .footer-bottom,
.is-member .footer-bottom { border-top-color: var(--line-light); }

@media (max-width: 900px) {
  .is-public .process-gallery { grid-template-columns: 1fr 1fr; }
  .is-public .process-wide { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .is-public .process-gallery { grid-template-columns: 1fr; }
  .is-public .process-wide { grid-column: auto; }
  .is-public .process-wide img,
  .is-public .photo-frame img { height: 220px; object-fit: cover; width: 100%; }
}

@media (max-width: 960px) {
  .is-public .site-nav,
  .is-member .site-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 16px 40px rgba(20, 32, 26, 0.08);
  }
}

@media (max-width: 600px) {
  .phone-row {
    grid-template-columns: 1fr;
  }
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff !important;
  border: none;
}

.share-whatsapp { background: #25d366; }
.share-telegram { background: #229ed9; }
.share-facebook { background: #1877f2; }
.share-twitter { background: #111; }
.share-linkedin { background: #0a66c2; }
.share-email { background: #007a45; }
.share-sms { background: #5a6b62; }

.share-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Phone country + number */
.phone-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) 1.2fr;
  gap: 0.55rem;
}

.phone-row select,
.phone-row input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(20, 32, 26, 0.12);
  background: #f7faf8;
  color: var(--ink, #14201a);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

/* Genealogy level chips */
.level-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.level-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 32, 26, 0.12);
  background: #fff;
  color: #3d4f45;
  font-size: 0.8rem;
  font-weight: 700;
}

.level-chip span {
  background: #e8f5ee;
  color: #005c34;
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
  font-size: 0.72rem;
}

.level-chip.is-active {
  background: #007a45;
  border-color: #007a45;
  color: #fff;
}

.level-chip.is-active span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.level-chip.is-locked {
  opacity: 0.55;
  border-style: dashed;
  color: #6b7a72;
}

@media (max-width: 600px) {
  .phone-row {
    grid-template-columns: 1fr;
  }
}

.password-field {
  display: flex;
  gap: 0.4rem;
  align-items: stretch;
}

.password-field input {
  flex: 1;
}

.password-toggle {
  min-height: 48px;
  padding: 0 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(20, 32, 26, 0.12);
  background: #fff;
  color: #005c34;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  white-space: nowrap;
}

/* Launch offer  invest / home / packages */
.invest-section { padding-bottom: 1.5rem; }

.section-launch-offer {
  padding-top: 1.1rem;
  padding-bottom: 0.25rem;
}

.home-launch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 0;
}

.launch-banner {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 122, 69, 0.12), rgba(184, 134, 11, 0.1));
  border: 1px solid rgba(0, 122, 69, 0.32);
  box-shadow: 0 6px 16px rgba(0, 90, 50, 0.06);
  line-height: 1.3;
}

.launch-banner.is-scheduled {
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.12), rgba(0, 122, 69, 0.08));
  border-color: rgba(184, 134, 11, 0.38);
}

.launch-banner.is-live {
  background: linear-gradient(135deg, rgba(0, 122, 69, 0.16), rgba(200, 16, 46, 0.06));
  border-color: rgba(0, 122, 69, 0.42);
}

.launch-banner-body {
  min-width: 0;
  flex: 1;
}

.launch-banner p {
  margin: 0.12rem 0 0;
  color: var(--ink-soft, #3d4f45);
  font-size: 0.82rem;
  line-height: 1.3;
}

.launch-banner-body > strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.25;
  color: #0a3d28;
  letter-spacing: -0.01em;
}

.launch-banner-cta {
  margin-top: 0.2rem !important;
  font-size: 0.8rem !important;
  line-height: 1.25 !important;
}

.launch-banner-badge {
  flex-shrink: 0;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #007a45, #009953);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

.launch-banner.is-scheduled .launch-banner-badge {
  background: linear-gradient(135deg, #8a6b10, #b8962e);
  color: #fff;
}

/* Launch / rewards opening spotlight (homepage) */
body.has-launch-spotlight {
  overflow: hidden;
}

.launch-spotlight {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.launch-spotlight[hidden] {
  display: none !important;
}

.launch-spotlight.is-open {
  pointer-events: auto;
}

.launch-spotlight-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(0, 122, 69, 0.18), transparent 65%),
    rgba(10, 28, 20, 0.52);
  opacity: 0;
  transition: opacity 0.28s ease;
  cursor: pointer;
}

.launch-spotlight.is-open .launch-spotlight-backdrop {
  opacity: 1;
}

.launch-spotlight-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(92vh, 640px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.25rem 1.15rem;
  border-radius: 16px;
  background:
    linear-gradient(165deg, #ffffff 0%, #f4faf6 55%, #eef6f1 100%);
  border: 1px solid rgba(0, 122, 69, 0.28);
  box-shadow:
    0 0 0 1px rgba(166, 124, 10, 0.12),
    0 18px 48px rgba(8, 32, 22, 0.22);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.launch-spotlight.is-open .launch-spotlight-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.launch-spotlight-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 32, 24, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft, #3a4a42);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.launch-spotlight-close:hover,
.launch-spotlight-close:focus-visible {
  border-color: rgba(0, 122, 69, 0.45);
  color: var(--kenya-green-deep, #005530);
  background: var(--paper-soft, #f3f7f4);
  outline: none;
}

.launch-spotlight-badge {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #007a45, #009953);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.launch-spotlight-badge-rewards {
  background: linear-gradient(135deg, #8a5a00, #a67c0a);
}

.launch-spotlight-title {
  margin: 0 2.25rem 0.4rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 3.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #0a3d28;
}

.launch-spotlight-lead {
  margin: 0 0 0.75rem;
  color: var(--ink-soft, #3a4a42);
  font-size: 0.9rem;
  line-height: 1.45;
}

.launch-spotlight-lead strong {
  color: #0a3d28;
  font-weight: 600;
}

.launch-spotlight-points {
  margin: 0 0 0.85rem;
  padding: 0.6rem 0.75rem 0.6rem 1.25rem;
  list-style: disc;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 122, 69, 0.08), rgba(166, 124, 10, 0.08));
  border: 1px solid rgba(0, 122, 69, 0.16);
}

.launch-spotlight-points li {
  margin: 0.15rem 0;
  color: var(--ink, #122018);
  font-size: 0.84rem;
  line-height: 1.4;
}

.launch-spotlight-points strong {
  color: var(--kenya-green-deep, #005530);
  font-weight: 600;
}

.launch-spotlight-rewards {
  margin: 0 0 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 32, 24, 0.1);
}

.launch-spotlight-rewards-label {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kenya-green-deep, #005530);
}

.launch-spotlight-rewards-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-spotlight-rewards-list li {
  position: relative;
  margin: 0;
  padding: 0.35rem 0 0.35rem 0.95rem;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--ink, #122018);
  border-bottom: 1px solid rgba(18, 32, 24, 0.06);
}

.launch-spotlight-rewards-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.launch-spotlight-rewards-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold, #a67c0a);
}

.launch-spotlight-rewards-list strong {
  color: var(--kenya-green-deep, #005530);
  font-weight: 600;
}

.launch-spotlight.rewards-only .launch-spotlight-rewards {
  background: linear-gradient(135deg, rgba(0, 122, 69, 0.07), rgba(166, 124, 10, 0.07));
  border-color: rgba(0, 122, 69, 0.16);
}

.launch-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.launch-spotlight-actions .btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
  justify-content: center;
  text-align: center;
}

@media (max-width: 480px) {
  .launch-spotlight {
    padding: 0;
    align-items: flex-end;
  }

  .launch-spotlight-panel {
    width: 100%;
    max-height: min(88vh, 100%);
    padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
  }

  .launch-spotlight-title {
    margin-right: 2.4rem;
    font-size: 1.2rem;
  }

  .launch-spotlight-lead {
    font-size: 0.88rem;
  }

  .launch-spotlight-points {
    padding: 0.55rem 0.65rem 0.55rem 1.15rem;
  }

  .launch-spotlight-points li,
  .launch-spotlight-rewards-list li {
    font-size: 0.82rem;
  }

  .launch-spotlight-rewards {
    margin-bottom: 0.9rem;
    padding: 0.6rem 0.7rem;
  }

  .launch-spotlight-actions {
    flex-direction: column;
    gap: 0.45rem;
  }

  .launch-spotlight-actions .btn {
    width: 100%;
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-spotlight-backdrop,
  .launch-spotlight-panel {
    transition: none;
  }

  .launch-spotlight-panel {
    transform: none;
  }
}

.invest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.invest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.85rem 0.9rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(20, 32, 26, 0.12);
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 32, 26, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.invest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 32, 26, 0.09);
  border-color: rgba(0, 122, 69, 0.28);
}

.invest-card-a { background: linear-gradient(165deg, #ffffff 0%, #f0f8f3 100%); }
.invest-card-b { background: linear-gradient(165deg, #ffffff 0%, #faf6ec 100%); }
.invest-card-c { background: linear-gradient(165deg, #ffffff 0%, #f0f5fa 100%); }

.invest-card.has-offer {
  border-color: rgba(0, 122, 69, 0.38);
  box-shadow: 0 8px 22px rgba(0, 90, 50, 0.07);
}

.invest-card.has-offer-schedule {
  border-color: rgba(184, 134, 11, 0.38);
}

.invest-offer-tag {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  padding: 0.18rem 0.42rem;
  border-radius: 6px;
  background: #c8102e;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 1;
  line-height: 1.2;
}

.invest-offer-tag--schedule {
  background: #8a6b10;
  color: #fff;
}

.invest-kicker {
  margin: 0;
  padding-right: 5.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5a6b62;
  line-height: 1.25;
}

.invest-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.05rem 0;
}

.invest-was {
  font-size: 0.92rem;
  color: #8a9590;
  text-decoration: line-through;
  line-height: 1.2;
}

.invest-now {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: #005c34;
  letter-spacing: -0.01em;
  line-height: 1;
}

.invest-activate {
  margin: 0;
  font-size: 0.8rem;
  color: #3d4f45;
  line-height: 1.3;
}

.invest-roi {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #007a45;
  line-height: 1.3;
}

.invest-points {
  list-style: none;
  margin: 0.2rem 0 0.45rem;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.invest-points li {
  font-size: 0.78rem;
  color: #5a6b62;
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.3;
}

.invest-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #007a45;
}

.invest-card .btn {
  margin-top: auto;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.invest-card .btn-primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

@media (max-width: 960px) {
  .home-launch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }
}

@media (max-width: 640px) {
  .invest-now { font-size: 1.45rem; }
  .launch-banner {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.7rem;
  }
  .launch-banner-badge { align-self: flex-start; }
  .home-launch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .invest-card {
    padding: 0.7rem 0.7rem 0.65rem;
    gap: 0.22rem;
  }
}

@media (max-width: 380px) {
  .home-launch-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.55rem;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }

  .home-launch-grid .invest-card {
    flex: 0 0 min(78vw, 220px);
    scroll-snap-align: start;
  }
}
