:root {
  --halo-black: #050c16;
  --halo-deep: #0b1629;
  --halo-white: #eef6ff;
  --halo-muted: #b7c8dc;
  --halo-blue: #59b3ff;
  --halo-cyan: #7fd8ff;
  --halo-violet: #2d7dff;
  --halo-magenta: #1e4ec9;
  --halo-border: #1c365e;
  --halo-card: rgba(255, 255, 255, 0.12);
  --h1-grad-1: #eef6ff;
  --h1-grad-2: #7fd8ff;
  --h1-grad-3: #2d7dff;
  --h2-color: #7fd8ff;
  --h3-color: #c7e6ff;
  --section-bg: linear-gradient(180deg, rgba(89, 179, 255, 0.06), rgba(30, 78, 201, 0.04));
  --side-pad: 10%;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at top, #111933 0%, var(--halo-black) 58%);
  color: var(--halo-white);
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img,
video {
  max-width: 100%;
  height: auto;
}

main,
header,
section,
p,
li,
h1,
h2,
h3,
a {
  position: relative;
  z-index: 1;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(89, 179, 255, 0.12), transparent 45%),
    linear-gradient(rgba(3, 7, 20, 0.62), rgba(3, 7, 20, 0.62));
  z-index: -1;
}

.notice {
  background: var(--halo-violet);
  color: #f8f7ff;
  text-align: center;
  font-size: 11px;
  padding: max(9px, env(safe-area-inset-top, 0px)) 10px 9px;
}

.page {
  width: 100%;
  max-width: 100%;
  margin: 0 0 76px;
  padding: 0 var(--side-pad);
  overflow-x: hidden;
}

.site-header {
  width: 100%;
  padding: 18px var(--side-pad) 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: #000;
  position: relative;
  z-index: 3;
}

.site-header > a[aria-label="Go to Home"] {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

.header-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 6px;
  padding: 10px 14px;
  color: #031126;
  background: linear-gradient(135deg, #7fd8ff 0%, #59b3ff 100%);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  transition: transform 160ms ease, filter 160ms ease;
}

.header-login-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.brand {
  color: transparent;
  text-decoration: none;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(
    105deg,
    #b6f1ff 0%,
    #7fd8ff 26%,
    #59b3ff 52%,
    #4b7fff 74%,
    #8b5dff 100%
  );
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 10px rgba(127, 216, 255, 0.45),
    0 0 22px rgba(89, 179, 255, 0.35),
    0 0 30px rgba(139, 93, 255, 0.22);
  animation: brand-shift 5s ease-in-out infinite;
}

@keyframes brand-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.brand-logo {
  height: clamp(42px, 7vw, 68px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.block {
  padding: 42px 0;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  font-size: clamp(33px, 5.2vw, 45px);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.16;
  background: linear-gradient(90deg, var(--h1-grad-1) 0%, var(--h1-grad-2) 42%, var(--h1-grad-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(30px, 4vw, 36px);
  margin-bottom: 10px;
  line-height: 1.2;
  color: var(--h2-color);
  text-shadow: 0 0 8px rgba(92, 203, 255, 0.12);
}

h3 {
  font-size: 20px;
  margin: 20px 0 10px;
  line-height: 1.25;
  color: var(--h3-color);
}

.label {
  margin: 0 0 10px;
  color: var(--halo-cyan);
  font-size: 15.6px;
  font-weight: 700;
}

.label-strong {
  font-weight: 700;
  color: var(--halo-white);
}

.text {
  margin: 0;
  color: var(--halo-muted);
  line-height: 1.8;
  font-size: 15px;
  font-weight: 700;
}

.text + .text {
  margin-top: 10px;
}

.text strong {
  color: var(--halo-white);
  font-weight: 700;
}

.text-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--halo-muted);
  line-height: 1.8;
  font-size: 15px;
  font-weight: 700;
}

.value-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 2px solid rgba(127, 216, 255, 0.62);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(6, 22, 48, 0.84), rgba(4, 13, 30, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 38px rgba(63, 215, 255, 0.24),
    0 20px 40px rgba(0, 0, 0, 0.45);
}

.value-card {
  border: 2px solid rgba(127, 216, 255, 0.75);
  border-radius: 12px;
  padding: 18px 12px 10px;
  color: #eef6ff;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  position: relative;
  min-height: 0;
  background: linear-gradient(
    160deg,
    rgba(92, 203, 255, 0.26) 0%,
    rgba(45, 125, 255, 0.22) 48%,
    rgba(214, 91, 255, 0.24) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(127, 216, 255, 0.35),
    0 0 30px rgba(63, 215, 255, 0.32),
    0 22px 32px rgba(0, 0, 0, 0.42);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.value-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #7fd8ff 0%, #2d7dff 50%, #8b5dff 100%);
  opacity: 0.95;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 235, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(127, 216, 255, 0.45),
    0 0 38px rgba(63, 215, 255, 0.4),
    0 24px 36px rgba(0, 0, 0, 0.5);
}

.value-grid + .text {
  margin-top: 24px;
}

.cta-line {
  margin: 14px 0 0;
  font-size: clamp(33px, 5.2vw, 45px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--h1-grad-1) 0%, var(--h1-grad-2) 42%, var(--h1-grad-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.social-line {
  margin: 14px 0 0;
  font-size: 18.4px;
  font-weight: 700;
  color: var(--halo-white);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 4px;
  padding: 11px 16px;
  color: var(--halo-white);
  background: linear-gradient(135deg, var(--halo-violet) 0%, var(--halo-magenta) 100%);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.35),
    0 0 16px rgba(126, 77, 255, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(126, 77, 255, 0.24);
}

.hero-copy .text:first-of-type {
  color: #c6dcff;
}

#services,
.value-grid,
.platform-snippet,
.text-list {
  filter: saturate(1.05);
}

.block {
  background: var(--section-bg);
  border-radius: 10px;
  padding-left: 18px;
  padding-right: 18px;
}


.btn.ghost {
  background: linear-gradient(135deg, var(--halo-violet) 0%, var(--halo-magenta) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

hr {
  border: 0;
  border-top: 1px solid var(--halo-border);
  margin: 0;
  opacity: 0.95;
}

.disclaimer {
  margin-top: 22px;
  font-size: 12px;
  color: var(--halo-muted);
  line-height: 1.7;
  font-weight: 700;
}

.legal-links {
  margin: 12px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: fit-content;
  border-bottom: 1px solid rgba(127, 216, 255, 0.35);
  padding-bottom: 3px;
}

.legal-links a {
  color: var(--halo-cyan);
  font-size: 13.2px;
  font-weight: 700;
  text-decoration: none;
}

.legal-links a + a::before {
  content: "·";
  margin-right: 12px;
  color: var(--halo-muted);
}

.icon-links {
  margin: 18px 0 0;
  font-size: 13px;
}

.icon-links a {
  color: var(--halo-muted);
  margin: 0 10px;
  text-decoration: none;
}

.seo-faq h3 {
  margin-bottom: 14px;
}

.faq-item {
  border: 1px solid rgba(127, 216, 255, 0.35);
  border-radius: 10px;
  background: rgba(6, 22, 48, 0.4);
  margin-top: 10px;
  padding: 10px 12px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--halo-white);
}

.faq-item .text {
  margin-top: 8px;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
}

.social-buttons .btn {
  margin-top: 0;
  flex: 0 1 auto;
  text-align: center;
}

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

.block.center .social-buttons {
  justify-content: center;
}

/* LOCKED: homepage hero — commit 7d9afcb. See HOMEPAGE_LAYOUT_LOCKED.md — do not edit unscoped. */

.hero-cta-group {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 6px;
  margin-top: auto;
  transform: translateY(190%);
}

.hero-cta-group .social-buttons {
  justify-content: center;
}

.hero-email-line {
  margin: 14px 0 0;
  font-size: 15px;
}

.hero-email-link {
  color: rgba(127, 216, 255, 0.95);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-email-link:hover {
  color: var(--halo-white);
}

#lead-email-form {
  scroll-margin-top: 88px;
}

.lead-email-form {
  margin-top: 12px;
}

.lead-capture .lead-email-form {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(127, 216, 255, 0.35);
}

.lead-email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.lead-email-row input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid rgba(127, 216, 255, 0.45);
  background: rgba(4, 13, 30, 0.9);
  color: var(--halo-white);
  font-size: 14px;
  font-family: inherit;
}

.lead-email-row input[type="email"]::placeholder {
  color: rgba(183, 200, 220, 0.7);
}

.lead-email-row .btn {
  margin-top: 0;
  flex: 0 0 auto;
}

.lead-email-status {
  margin-top: 10px;
  font-size: 13px;
  color: var(--halo-cyan);
  font-weight: 700;
}

.lead-capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.lead-capture-card {
  border: 2px solid rgba(127, 216, 255, 0.55);
  border-radius: 12px;
  padding: 16px 14px;
  background: linear-gradient(180deg, rgba(6, 22, 48, 0.72), rgba(4, 13, 30, 0.78));
}

.lead-capture-card-primary {
  border-color: rgba(127, 216, 255, 0.85);
  box-shadow: 0 0 24px rgba(63, 215, 255, 0.18);
}

.lead-capture-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--halo-cyan);
}

.lead-capture-card .btn {
  margin-top: 12px;
}

.lead-email-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--halo-white);
  margin-bottom: 6px;
}

.lead-email-hint {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 13px;
}

@media (min-width: 1025px) {
  .hero-cta-group .cta-line {
    transform: none;
  }
}

.hero-block {
  display: block;
  align-items: start;
  position: relative;
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(700px, 52vw, 920px);
  padding-top: 0;
  margin-left: calc(-1 * var(--side-pad));
  margin-right: calc(-1 * var(--side-pad));
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
  background: transparent;
  border-radius: 0;
}

.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./halo-collage.png") center top / contain no-repeat;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.hero-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(3, 7, 20, 0.48) 0%,
    rgba(3, 7, 20, 0.08) 38%,
    rgba(3, 7, 20, 0.08) 62%,
    rgba(3, 7, 20, 0.5) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-copy {
  padding-top: 14px;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hero-intro {
  transform: none;
}

/* Desktop: reduce space between hero and next section */
.hero-block + hr + .block {
  padding-top: 2px;
}

/* Member platform showcase — full-width like other .block sections */
.platform-showcase-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.platform-showcase-intro {
  min-width: 0;
  width: 100%;
}

.platform-showcase-body {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: 100%;
}

.platform-showcase-aside {
  display: block;
  align-self: start;
  min-width: 0;
  width: 100%;
}

.platform-showcase-footer {
  width: 100%;
  margin: 0;
  padding: 4px 0 0;
  text-align: center;
}

.platform-showcase-footer .text {
  margin-top: 0;
  max-width: 52em;
  margin-left: auto;
  margin-right: auto;
}

.platform-showcase-cards {
  min-width: 0;
}

.platform-showcase-cards .value-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px;
}

.platform-showcase-cards .value-card {
  padding: 14px 12px 10px;
  font-size: 13px;
  line-height: 1.35;
}

.platform-showcase-cards .value-card:hover {
  transform: translateY(-2px);
}

.platform-snippet {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid rgba(127, 216, 255, 0.75);
  background: #040a14;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(127, 216, 255, 0.35),
    0 0 30px rgba(63, 215, 255, 0.28),
    0 16px 24px rgba(0, 0, 0, 0.42);
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  height: auto;
  max-height: min(36vh, 300px);
  min-height: 0;
  box-sizing: border-box;
}

.platform-snippet::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(90deg, #7fd8ff 0%, #2d7dff 50%, #8b5dff 100%);
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
}

.platform-snippet img {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  max-height: min(32vh, 268px);
  height: auto;
  object-fit: contain;
  object-position: center center;
  background: #040a14;
}

.platform-shot-caption {
  flex-shrink: 0;
  margin: 0;
  padding: 10px 10px 12px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--halo-muted);
  text-align: center;
  background: linear-gradient(180deg, rgba(6, 22, 48, 0.95), rgba(4, 13, 30, 0.98));
  border-top: 1px solid rgba(127, 216, 255, 0.35);
}

.platform-showcase-footer .text + .platform-showcase-cta {
  margin-top: 0;
}

.platform-showcase-cta {
  justify-content: center;
  margin-top: 6px;
  gap: 8px;
}

.platform-showcase-cta .btn {
  margin-top: 0;
}

.hero-block + hr {
  display: none;
}

@media (max-width: 1024px) {
  .hero-block {
    min-height: clamp(760px, 74vw, 980px);
  }

  .hero-copy {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .hero-cta-group {
    margin-top: auto;
    transform: translateY(105%);
  }
}

@media (max-width: 768px) {
  .hero-block::before {
    background-size: contain;
    background-position: center 63%;
    background-repeat: no-repeat;
  }

  .hero-block {
    min-height: auto;
    padding-bottom: 18px;
  }

  .hero-copy {
    padding-top: 18px;
    padding-bottom: 0;
    min-height: 100%;
  }

  .hero-cta-group {
    margin-top: auto;
    transform: translateY(20%);
    margin-bottom: 0;
  }

  .hero-cta-group > .btn {
    margin-top: 18px;
  }

  .hero-intro {
    transform: translateY(-30%);
  }

  .cta-line {
    font-size: clamp(30px, 8vw, 40px);
  }

  .social-buttons {
    justify-content: center;
  }

  .social-buttons .btn {
    min-width: 132px;
    text-align: center;
  }

  h1 {
    font-size: clamp(30px, 8vw, 40px);
  }

  h2 {
    font-size: clamp(25px, 6vw, 32px);
  }

  .hero-block + hr + .block {
    margin-top: 20px;
    padding-top: 24px;
  }

  .platform-showcase-layout {
    gap: 14px;
  }

  .platform-showcase-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .platform-showcase-aside {
    gap: 8px;
  }

  .platform-snippet {
    order: -1;
    max-height: none;
  }

  .platform-snippet img {
    flex: none;
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .platform-showcase-cta {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .hero-block::before {
    background-size: contain;
    background-position: center 63%;
    background-repeat: no-repeat;
  }

  :root {
    --side-pad: 6%;
  }

  .page {
    width: 100%;
    margin-top: 20px;
  }

  .block {
    padding: 36px 0;
  }

  .hero-block {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 16px;
    padding-bottom: 0;
    min-height: 100%;
  }

  .hero-cta-group {
    margin-top: auto;
    transform: translateY(18%);
    margin-bottom: 0;
  }

  .hero-intro {
    transform: translateY(-28%);
  }

  .value-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .platform-showcase-body {
    grid-template-columns: 1fr;
  }

  .platform-showcase-cta {
    justify-content: center;
  }

  .legal-links {
    width: 100%;
    border-bottom: 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding-bottom: 0;
  }

  .legal-links a {
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    padding: 3px 0;
  }

  .legal-links a + a::before {
    content: "";
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .hero-block::before {
    background-size: contain;
    background-position: center 63%;
    background-repeat: no-repeat;
  }

  :root {
    --side-pad: 5%;
  }

  .site-header {
    gap: 10px;
    padding-top: 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-login-btn {
    padding: 8px 10px;
    font-size: 10px;
  }

  .brand {
    letter-spacing: 0;
  }

  .btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .social-buttons .btn {
    width: auto;
    min-width: min(120px, 46vw);
    max-width: 100%;
  }

  .text,
  .text-list {
    font-size: 14px;
  }

  .value-card {
    min-height: 0;
    padding: 22px 12px 10px;
  }

  .hero-cta-group {
    transform: translateY(16%);
    margin-bottom: 0;
  }

  .hero-intro {
    transform: translateY(-26%);
  }

  .platform-snippet {
    border-radius: 10px;
  }

  .platform-showcase-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .platform-showcase-cta .btn {
    width: auto;
    min-width: min(100%, 220px);
    text-align: center;
  }
}

/*
 * Non-Safari only (html.non-safari). Safari keeps every rule above unchanged.
 * Chrome/Android mishandle translateY(%) — use fixed spacing instead of space-between.
 */
html.non-safari .hero-intro,
html.non-safari .hero-cta-group {
  transform: none;
}

@media (min-width: 1025px) {
  html.non-safari .hero-copy {
    justify-content: flex-start;
  }

  html.non-safari .hero-cta-group {
    margin-top: clamp(200px, 24vh, 340px);
    margin-bottom: 12px;
    flex-shrink: 0;
  }

  html.non-safari .hero-intro {
    flex-shrink: 0;
  }

  /* Chrome desktop only: sit CTAs 15% lower than other non-Safari browsers */
  html.chrome-desktop .hero-cta-group {
    margin-top: clamp(230px, 27.6vh, 391px);
  }
}

@media (max-width: 1024px) {
  html.non-safari .hero-copy {
    justify-content: flex-start;
    min-height: 100%;
    padding-bottom: 16px;
  }

  html.non-safari .hero-cta-group {
    margin-top: clamp(140px, 38vw, 260px);
    flex-shrink: 0;
  }

  html.non-safari .hero-intro {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  html.non-safari .hero-block {
    overflow: visible;
    padding-bottom: 28px;
  }

  html.non-safari .hero-copy {
    justify-content: flex-start;
    padding-bottom: 16px;
  }

  html.non-safari .hero-block::before {
    background-size: contain;
    background-position: center 36%;
    background-repeat: no-repeat;
  }

  html.non-safari .hero-cta-group {
    margin-top: clamp(8px, 2vh, 16px);
    padding-bottom: 12px;
  }

  html.non-safari .hero-email-line {
    margin-top: 12px;
    margin-bottom: 6px;
  }

  html.non-safari .hero-cta-group .social-buttons {
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(4px, 1.2vw, 8px);
    margin-top: 12px;
  }

  html.non-safari .hero-cta-group .social-buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
    font-size: clamp(9px, 2.5vw, 11px);
    padding: clamp(7px, 2vw, 10px) clamp(4px, 1vw, 8px);
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }
}

@media (max-width: 768px) {
  .lead-capture-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html.non-safari .hero-block::before {
    background-position: center 34%;
  }

  html.non-safari .hero-cta-group .social-buttons .btn {
    font-size: clamp(8px, 2.2vw, 10px);
    padding: 7px 3px;
  }
}

/* LOCKED — Desktop only (≥1025px): Safari + Chrome desktop spacing. Do not broaden selectors. */
@media (min-width: 1025px) {
  .hero-email-line {
    margin-top: 10px;
    margin-bottom: 0;
  }

  .hero-cta-group {
    padding-bottom: 0;
  }

  .hero-block {
    padding-bottom: 0;
  }

  .hero-block + hr + .block.platform-showcase {
    padding-top: 0;
    margin-top: 0;
  }
}

/*
 * LOCKED — Mobile hero only (≤768px). Commit 7d9afcb.
 * Safari mobile + Chrome mobile use this block. Do NOT edit hero rules above this section for mobile.
 * Desktop Safari + Chrome desktop must remain unchanged.
 */
@media (max-width: 768px) {
  .hero-block {
    overflow: visible;
    padding-top: 0;
    padding-bottom: 12px;
    min-height: clamp(520px, 76vh, 680px);
  }

  .hero-block::before {
    background-size: 114% auto;
    background-position: center 53%;
    background-repeat: no-repeat;
  }

  .hero-copy {
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 0;
  }

  .hero-intro {
    transform: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
  }

  .hero-intro h1 {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .hero-intro .text {
    margin-top: 0;
    margin-bottom: 0;
  }

  /* Logo band between psychology copy and Start trading (raised with collage) */
  .hero-cta-group {
    margin-top: clamp(128px, 24vh, 188px);
    transform: none;
    padding-bottom: 6px;
  }

  .hero-cta-group .cta-line {
    margin-top: 0;
    margin-bottom: 8px;
  }

  .hero-cta-group > .btn {
    margin-top: 10px;
  }

  .hero-cta-group .social-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(4px, 1.4vw, 8px);
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
  }

  .hero-cta-group .social-buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
    font-size: clamp(9px, 2.45vw, 11px);
    padding: clamp(8px, 2.1vw, 10px) clamp(3px, 0.9vw, 6px);
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .hero-email-line {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 14px;
  }

  .hero-block + hr + .block {
    margin-top: 6px;
    padding-top: 14px;
  }

  html.non-safari .hero-cta-group {
    margin-top: clamp(128px, 24vh, 188px);
  }

  html.non-safari .hero-block::before {
    background-position: center 53%;
    background-size: 114% auto;
  }
}

@media (max-width: 480px) {
  .hero-block::before {
    background-position: center 51%;
    background-size: 116% auto;
  }

  .hero-cta-group {
    margin-top: clamp(118px, 22vh, 172px);
  }

  html.non-safari .hero-cta-group {
    margin-top: clamp(118px, 22vh, 172px);
  }

  .hero-cta-group .social-buttons .btn {
    font-size: clamp(8px, 2.2vw, 10px);
    padding: 8px 3px;
  }
}
