:root {
  --green-900: #003300;
  --green-800: #136b2b;
  --green-700: #1b5e20;
  --green-500: #4caf50;
  --green-400: #66bb6a;
  --red-800: #c62828;
  --red-600: #d3151e;
  --red-400: #ff5252;
  --grey-50: #fafafa;
  --grey-100: #f5f5f5;
  --grey-200: #eeeeee;
  --grey-300: #e0e0e0;
  --grey-400: #bdbdbd;
  --grey-700: #616161;
  --grey-800: #424242;
  --grey-900: #212121;
  --white: #f4f4f4;
  --black: #141414;
  --info: #2196f3;
  --warning: #ff9800;

  --color-primary: var(--green-800);
  --color-primary-hover: #0e5220;
  --color-on-primary: var(--white);
  --color-secondary: var(--red-600);
  --color-background: var(--grey-50);
  --color-surface: var(--white);
  --color-foreground: var(--grey-900);
  --color-muted: var(--grey-700);
  --color-border: var(--grey-300);
  --color-ring: var(--green-800);
  --color-hero: var(--green-800);
  --color-hero-fg: var(--white);
  --color-hero-muted: rgba(255, 255, 255, 0.85);

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  --radius-button: 12px;
  --radius-card: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px color-mix(in srgb, var(--green-800) 10%, transparent);
  --shadow-md: 0 4px 16px color-mix(in srgb, var(--green-800) 14%, transparent);
  --shadow-lg: 0 16px 36px color-mix(in srgb, var(--green-800) 22%, transparent);

  --header-h: 72px;
  --sticky-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Cairo", sans-serif;
  --content: 1120px;

  /* z-index: skip-link 100, site-header 50, sticky-bar 40 */
}

[data-theme="dark"] {
  --color-primary: var(--green-500);
  --color-primary-hover: #81c784;
  --color-on-primary: var(--black);
  --color-secondary: var(--red-400);
  --color-background: #141414;
  --color-surface: #1e1e1e;
  --color-foreground: #f4f4f4;
  --color-muted: var(--grey-400);
  --color-border: #333333;
  --color-ring: var(--green-500);
  --color-hero: #092c12;
  --shadow-sm: 0 2px 8px rgba(20, 20, 20, 0.35);
  --shadow-md: 0 4px 16px rgba(20, 20, 20, 0.45);
  --shadow-lg: 0 16px 36px rgba(20, 20, 20, 0.55);
}

html[data-font="inter"] {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html[data-font="hebrew"] {
  --font: "Noto Sans Hebrew", "Cairo", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  min-height: 100dvh;
}

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

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

button,
.btn {
  font-family: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  z-index: 100;
  background: var(--color-surface);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: var(--radius-button);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--content), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary);
  min-height: 48px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: #f4f4f4;
  padding: 2px;
}

.brand-name {
  letter-spacing: -0.01em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-desktop a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.nav-desktop a:hover {
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  color: var(--color-primary);
}

[data-theme="dark"] .nav-desktop a:hover {
  background: color-mix(in srgb, var(--color-primary) 16%, transparent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-surface);
}

.lang-switch button {
  min-width: 42px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0 8px;
  transition: all 150ms ease;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.icon-btn,
.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-foreground);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 150ms ease;
}

.icon-btn:hover,
.menu-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.menu-toggle {
  display: grid;
}

.header-cta,
.btn.header-cta {
  display: none;
  white-space: nowrap;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 12px 16px 20px;
}

.nav-mobile.open {
  display: grid;
  gap: 4px;
}

.nav-mobile a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.nav-mobile a:hover {
  background: var(--grey-100);
}

[data-theme="dark"] .nav-mobile a:hover {
  background: #282828;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 64px;
  padding: 0 22px;
  border-radius: var(--radius-button);
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 200ms var(--ease), box-shadow 200ms var(--ease),
    border-color 200ms var(--ease), color 200ms var(--ease), transform 150ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--color-primary) 32%, transparent);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-hero-fg);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-on-dark {
  background: var(--white);
  color: var(--green-900);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--green-900) 28%, transparent);
}

.btn-on-dark:hover {
  background: var(--grey-50);
  color: var(--green-800);
}

.btn-outline {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 6%, transparent);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 26px;
  font-size: 1.02rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-hero) 0%, #083815 100%);
  color: var(--color-hero-fg);
  padding: 40px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='rgba(255,255,255,0.04)' d='M20 4l4 4-4 4-4-4zm0 24l4 4-4 4-4-4zM4 20l4-4 4 4-4 4zm24 0l4-4 4 4-4 4z'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-photo {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: min(62dvh, 640px);
  object-fit: cover;
  object-position: center 20%;
  aspect-ratio: 3 / 4;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
  font-weight: 700;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

@media (prefers-reduced-motion: no-preference) {
  .badge-pulse {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulseGreen 2s infinite;
  }
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 16ch;
}

.hero .lede {
  margin: 0 0 28px;
  font-size: 1.12rem;
  color: var(--color-hero-muted);
  max-width: 42ch;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-ctas .btn {
  white-space: nowrap;
}

.chips-label {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  color: var(--color-foreground);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
  display: inline-flex;
  align-items: center;
}

.chip:hover {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-surface));
  color: var(--color-primary);
}

.chip:active {
  transform: scale(0.98);
}

/* --- Stats Strip --- */
.stats {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 28px 0;
}

.stat {
  text-align: center;
  padding: 12px 8px;
}

.stat strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat span {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.trade-rail {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0 22px;
}

.trade-rail-label {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-foreground);
}

/* --- Waitlist / Early Access Section --- */
.section-waitlist {
  background: color-mix(in srgb, var(--color-primary) 5%, var(--color-background));
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

.waitlist-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 40px 28px;
  box-shadow: var(--shadow-md);
  max-width: 860px;
  margin: 0 auto;
}

.waitlist-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--color-foreground);
}

.waitlist-header p {
  max-width: 60ch;
  margin: 0 0 28px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.role-selector {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.role-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--radius-button);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-foreground);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 150ms ease;
}

.role-option:hover {
  border-color: var(--color-primary);
}

.role-option[aria-checked="true"] {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.input-waitlist {
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: var(--radius-button);
  border: 1.5px solid var(--color-border);
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input-waitlist::placeholder {
  color: var(--grey-700);
  opacity: 1;
}

[data-theme="dark"] .input-waitlist::placeholder {
  color: var(--grey-400);
}

.input-waitlist:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.btn-waitlist {
  min-height: 52px;
  font-size: 1.02rem;
  padding: 0 28px;
  white-space: nowrap;
}

.waitlist-privacy {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.waitlist-error {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red-700, #c62828);
}

.waitlist-form {
  position: relative;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.waitlist-success {
  text-align: center;
  padding: 32px 16px;
  background: color-mix(in srgb, #4caf50 10%, transparent);
  border-radius: 18px;
  border: 1.5px solid #4caf50;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #4caf50;
  color: #f4f4f4;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.waitlist-success h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: #2e7d32;
  font-weight: 800;
}

[data-theme="dark"] .waitlist-success h3 {
  color: #81c784;
}

.waitlist-success p {
  margin: 0;
  color: var(--color-foreground);
  font-size: 1.05rem;
}

.waitlist-success .survey-callout {
  margin-top: 20px;
  text-align: start;
}

.card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.survey-callout {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-inline-start: 3px solid var(--color-primary);
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-primary) 6%, var(--color-background));
}

.survey-callout p {
  margin: 0 0 12px;
  color: var(--color-foreground);
  font-size: 0.95rem;
  line-height: 1.7;
}

.survey-callout .btn {
  min-height: 44px;
}

/* --- Content Sections --- */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--color-surface);
}

.eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 40px;
}

.section-head h2,
.hero h1,
h2,
h3 {
  text-wrap: balance;
}

.section-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  line-height: 1.25;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.cards-3,
.cards-2,
.cards-4 {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.section-alt .card {
  background: var(--color-background);
}

.icon-well {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface));
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.icon-well svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.card p,
.card li {
  color: var(--color-muted);
  line-height: 1.6;
}

.card ul {
  margin: 18px 0 22px;
  padding-inline-start: 1.2rem;
}

.step-index {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: color-mix(in srgb, var(--color-primary) 22%, transparent);
  line-height: 1;
  margin-bottom: 10px;
}

.prof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.prof {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 700;
  transition: border-color 150ms ease;
}

.prof:hover {
  border-color: var(--color-primary);
}

.prof svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.quote {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.quote-meta strong {
  display: block;
  font-weight: 700;
}

.quote-meta span {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.platform-list,
.how-rail,
.region-list,
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-list li,
.how-rail li,
.region-list li,
.trust-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.platform-list li:last-child,
.how-rail li:last-child,
.region-list li:last-child,
.trust-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.platform-list h3,
.how-rail h3,
.region-list h3,
.trust-list h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}

.platform-list p,
.how-rail p,
.region-list p,
.trust-list p {
  margin: 0;
  color: var(--color-muted);
  max-width: 62ch;
}

.how-rail {
  counter-reset: how;
}

.how-rail li {
  counter-increment: how;
  display: grid;
  gap: 8px;
}

.how-rail h3::before {
  content: counter(how);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.path-split {
  display: grid;
  gap: 18px;
}

.path-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 26px;
}

.section-alt .path-panel {
  background: var(--color-background);
}

.path-employer {
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-background));
}

.path-panel h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.path-panel p,
.path-panel li {
  color: var(--color-muted);
  line-height: 1.6;
}

.path-panel ul {
  margin: 18px 0 22px;
  padding-inline-start: 1.2rem;
}

.coverage-layout {
  display: grid;
  gap: 28px;
}

.field-break {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.field-break img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: min(78dvh, 720px);
  object-fit: cover;
  object-position: center 20%;
}

.stories-board {
  display: grid;
  gap: 18px;
}

.story-featured,
.story-stack blockquote {
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--color-border);
}

.story-featured {
  padding: 0;
  border-bottom: 0;
}

.story-featured .quote {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  font-weight: 700;
  color: var(--color-foreground);
  max-width: 32ch;
}

.story-stack {
  display: grid;
  gap: 8px;
}

.story-stack blockquote:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* --- Download Section --- */
.download {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-hero) 0%, #083815 100%);
  color: var(--color-hero-fg);
  padding: 84px 0;
}

.download::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='rgba(255,255,255,0.04)' d='M20 4l4 4-4 4-4-4zm0 24l4 4-4 4-4-4zM4 20l4-4 4 4-4 4zm24 0l4-4 4 4-4 4z'/%3E%3C/svg%3E");
  pointer-events: none;
}

.download-inner {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.download .lede {
  color: var(--color-hero-muted);
  font-size: 1.12rem;
  line-height: 1.65;
  margin: 12px 0 24px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}

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

.download-brand-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.download-logo-card {
  width: 150px;
  height: 150px;
  background: var(--white);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.url-plate {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--white);
  color: var(--green-900);
  font-family: Inter, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  direction: ltr;
  box-shadow: var(--shadow-md);
}

/* --- Footer --- */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 56px 0 120px;
}

.footer-grid {
  display: grid;
  gap: 36px;
}

.footer-brand p {
  color: var(--color-muted);
  max-width: 30ch;
  margin-top: 10px;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  min-height: 36px;
  padding: 4px 0;
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 150ms ease;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.copy {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.88rem;
}

/* --- Mobile Sticky Bar --- */
.sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--color-surface) 94%, transparent);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
}

.sticky-bar .btn {
  flex: 1;
  white-space: nowrap;
}

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

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

@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-row {
    flex-direction: row;
    align-items: flex-end;
  }

  .flex-2 {
    flex: 2;
  }

  .flex-1 {
    flex: 1.2;
  }

  .cards-2,
  .cards-3,
  .cards-4,
  .prof-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .region-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
  }

  .story-stack {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .story-stack blockquote {
    border-bottom: 0;
    padding-bottom: 0;
    padding-inline-end: 16px;
  }

  .story-stack blockquote:first-child {
    border-inline-end: 1px solid var(--color-border);
  }
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .header-cta,
  .btn.header-cta {
    display: inline-flex;
  }

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

  .hero-grid,
  .download-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero {
    padding-top: 48px;
    min-height: calc(100dvh - var(--header-h));
  }

  .hero-photo img {
    max-height: min(70dvh, 680px);
  }

  .path-split {
    grid-template-columns: 1fr 1fr;
  }

  .platform-list,
  .how-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 32px;
  }

  .platform-list li,
  .how-rail li {
    border-bottom: 0;
    padding: 0;
    border-inline-end: 1px solid var(--color-border);
    padding-inline-end: 24px;
  }

  .platform-list li:last-child,
  .how-rail li:last-child {
    border-inline-end: 0;
    padding-inline-end: 0;
  }

  .region-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
  }

  .coverage-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .coverage-layout .section-head {
    grid-column: 1 / -1;
  }

  .trust-list li {
    display: grid;
    grid-template-columns: minmax(12rem, 0.38fr) 1fr;
    gap: 16px 28px;
    align-items: start;
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-4,
  .prof-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .sticky-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 56px;
  }
}

.legal-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 56px 20px 96px;
}

.legal-page h1 {
  color: var(--color-primary);
  font-weight: 800;
}

.legal-page a {
  color: var(--color-primary);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .badge-pulse,
  .btn,
  .chip,
  .role-option,
  .prof,
  .input-waitlist {
    animation: none;
    transition: none;
  }

  .btn:active,
  .chip:active {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .sticky-bar {
    backdrop-filter: none;
    background: var(--color-surface);
  }
}
