/* ========================================
   Design Tokens
======================================== */
:root {
  --font-sans: "Gotham", "Montserrat", Arial, sans-serif;

  --color-ink: #1f2722;
  --color-body: #5e665f;
  --color-forest: #3f8154;
  --color-forest-deep: #2d6240;
  --color-gold: #b98f4a;
  --color-gold-soft: #e6c998;
  --color-cream: #f7f1e8;
  --color-sand: #efe4d4;
  --color-white: #fffdf9;
  --color-border: rgba(54, 88, 69, 0.12);
  --color-border-strong: rgba(54, 88, 69, 0.18);

  --radius-card: 28px;
  --radius-card-lg: 40px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 50px rgba(31, 39, 34, 0.08);
  --shadow-card: 0 24px 60px rgba(31, 39, 34, 0.12);
  --shadow-button: 0 16px 30px rgba(39, 66, 51, 0.22);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --space-copy: 1rem;
  --space-copy-lg: 1.5rem;

  --container-max: 1180px;
  --transition: 220ms ease;
}

/* ========================================
   Fonts
======================================== */
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Book.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ========================================
   Base
======================================== */
html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(230, 201, 152, 0.35), transparent 28%),
    linear-gradient(180deg, #fbf6ef 0%, #f4ede2 100%);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}

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

button {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 18px;
}

p {
  color: var(--color-body);
}

h1,
h2,
h3 {
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

:focus-visible {
  outline: 2px solid rgba(54, 88, 69, 0.4);
  outline-offset: 3px;
}

.site-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--container-max));
  margin: 0 auto;
}

.section {
  padding: var(--space-8) 0;
}

.section-soft {
  background: transparent;
}

.section-sand {
  background: linear-gradient(180deg, rgba(239, 228, 212, 0.82), rgba(251, 246, 239, 0.72));
}

.section-white {
  background: rgba(255, 253, 249, 0.78);
}

.section-forest {
  background:
    radial-gradient(circle at top left, rgba(230, 201, 152, 0.12), transparent 30%),
    linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-deep) 100%);
}

.section-label {
  margin-bottom: var(--space-3);
  color: var(--color-forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label-light {
  color: rgba(255, 253, 249, 0.8);
}

.section-header {
  max-width: 760px;
  margin: 0 auto var(--space-6);
  text-align: center;
}

.section-header-wide {
  max-width: 920px;
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: 1.05rem;
}

.section-header > p {
  margin-bottom: var(--space-copy);
}

.section-header > p:last-of-type {
  margin-bottom: var(--space-copy-lg);
}

.section-header .button-row {
  justify-content: center;
}

.section-intro {
  font-size: 1.1rem;
}

/* ========================================
   Header
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(54, 88, 69, 0.08);
  background: rgba(251, 246, 239, 0.84);
  backdrop-filter: blur(16px);
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 82px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.headerAvatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-forest);
}

.headerAvatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headerAvatar-fallback {
  color: var(--color-white);
}

.headerAvatar-fallback::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4.418 0-8 2.239-8 5v1a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-1c0-2.761-3.582-5-8-5z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4.418 0-8 2.239-8 5v1a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-1c0-2.761-3.582-5-8-5z"/></svg>') center/contain no-repeat;
}

.site-brand img {
  width: auto;
  height: 40px;
  border-radius: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.35rem;
  color: var(--color-body);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-forest-deep);
}

/* ========================================
   Reusable Components
======================================== */
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.button-row-left {
  justify-content: flex-start;
}

.button-row-center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    color var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-deep) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-button);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 34px rgba(39, 66, 51, 0.28);
}

.button-secondary {
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.68);
  color: var(--color-ink);
  backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.92);
}

.button-small {
  min-height: 44px;
  padding: 0.75rem 1.1rem;
  font-size: 0.94rem;
}

.button-light {
  background: var(--color-white);
  color: var(--color-forest-deep);
}

.button-secondary-light {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--color-white);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.benefit-card,
.proof-card {
  height: 100%;
  padding: 1.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 249, 0.76);
  box-shadow: var(--shadow-soft);
}

.info-card h3,
.benefit-card h3,
.proof-card h3,
.feature-card h3 {
  margin-bottom: 0.75rem;
}

.info-card p,
.benefit-card p,
.proof-card p,
.feature-card p {
  margin-bottom: 0;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(54, 88, 69, 0.1);
  color: var(--color-forest);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ========================================
   Hero
======================================== */
.hero {
  position: relative;
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(185, 143, 74, 0.22), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(54, 88, 69, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.2), rgba(255, 253, 249, 0));
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: var(--space-6);
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}

.hero-copy {
  margin-bottom: var(--space-copy);
  color: var(--color-ink);
  font-size: 1.14rem;
}

.hero-copy-secondary {
  max-width: 610px;
  margin-bottom: var(--space-copy-lg);
  color: var(--color-body);
  font-size: 1rem;
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--color-body);
  font-size: 0.94rem;
}

.inline-link {
  padding: 0;
  color: var(--color-forest);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 700px;
  z-index: 0;
}

.hero-photo-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stack-photo {
  position: absolute;
  opacity: 0.54;
  border: 10px solid rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  transform-origin: center;
  transition:
    transform 260ms ease,
    opacity 260ms ease,
    box-shadow 260ms ease;
}

.stack-photo-a {
  top: 0.75rem;
  left: -1rem;
  width: min(54%, 325px);
  aspect-ratio: 0.88;
  transform: rotate(-10deg);
}

.stack-photo-b {
  top: 0;
  right: -4.5rem;
  width: min(49%, 295px);
  aspect-ratio: 0.82;
  transform: rotate(12deg);
}

.stack-photo-c {
  bottom: 1rem;
  left: -0.5rem;
  width: min(50%, 300px);
  aspect-ratio: 0.95;
  transform: rotate(9deg);
}

.stack-photo-d {
  top: 9.75rem;
  left: -0.25rem;
  width: min(45%, 270px);
  aspect-ratio: 0.86;
  transform: rotate(-13deg);
}

.stack-photo-e {
  top: 9.75rem;
  right: -2.25rem;
  width: min(45%, 265px);
  aspect-ratio: 0.9;
  transform: rotate(-11deg);
}

.stack-photo-f {
  bottom: -0.25rem;
  left: -0.5rem;
  width: min(43%, 255px);
  aspect-ratio: 0.88;
  transform: rotate(14deg);
}

.stack-photo-g {
  right: -2.5rem;
  bottom: 0.25rem;
  width: min(46%, 275px);
  aspect-ratio: 0.86;
  transform: rotate(11deg);
}

.stack-photo-h {
  right: -5rem;
  bottom: 6.75rem;
  width: min(40%, 235px);
  aspect-ratio: 0.92;
  transform: rotate(-14deg);
}

.stack-photo.is-active {
  z-index: 3;
  opacity: 1;
  box-shadow: 0 30px 70px rgba(31, 39, 34, 0.2);
  transform: rotate(0deg) scale(1.06) translateY(-6px);
}

.hero-phone-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  width: 372px;
  max-width: 68%;
  transform: translate(-50%, -50%);
}

.phone-preview {
  position: relative;
  width: 100%;
  overflow: visible;
}

.phone-preview > img,
.phone-layer {
  width: 100%;
  border-radius: 0;
}

.phone-row-hotspot {
  position: absolute;
  left: 10.5%;
  width: 76%;
  height: 5.4%;
  background: transparent;
}

.phone-row-hotspot:focus {
  outline: none;
}

.phone-row-hotspot[data-item="1"] { top: 13.1%; }
.phone-row-hotspot[data-item="2"] { top: 21.25%; }
.phone-row-hotspot[data-item="3"] { top: 29.4%; }
.phone-row-hotspot[data-item="4"] { top: 37.55%; }
.phone-row-hotspot[data-item="5"] { top: 45.7%; }
.phone-row-hotspot[data-item="6"] { top: 53.85%; }
.phone-row-hotspot[data-item="7"] { top: 62%; }

.phone-check-toggle {
  position: absolute;
  left: 11.1%;
  width: 5%;
  height: 3.4%;
  pointer-events: none;
}

.phone-check-toggle-mark {
  position: absolute;
  inset: 0;
}

.phone-check-toggle-mark::after {
  content: "";
  position: absolute;
  left: 24%;
  top: -2%;
  width: 34%;
  height: 68%;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: rotate(42deg);
}

.phone-check-toggle.is-complete .phone-check-toggle-mark::after {
  border-right-color: #141414;
  border-bottom-color: #141414;
}

.phone-check-toggle[data-item="1"] { top: 14.6%; }
.phone-check-toggle[data-item="2"] { top: 22.2%; }
.phone-check-toggle[data-item="3"] { top: 29.8%; }
.phone-check-toggle[data-item="4"] { top: 37.4%; }
.phone-check-toggle[data-item="5"] { top: 45%; }
.phone-check-toggle[data-item="6"] { top: 52.6%; }
.phone-check-toggle[data-item="7"] { top: 60.2%; }

.interaction-hint {
  margin-top: var(--space-3);
  text-align: center;
  color: var(--color-forest-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
  animation: interactionHintPulse 2.6s ease-in-out infinite;
}

@keyframes interactionHintPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* ========================================
   Explorers Club
======================================== */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 2rem;
}

.split-layout-wide {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
}

.split-copy > p:last-of-type {
  margin-bottom: 2rem;
}

.split-copy > p {
  margin-bottom: var(--space-copy);
}

.club-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.88), rgba(247, 241, 232, 0.88)),
    url("../images/header1.jpg") center/cover no-repeat;
  box-shadow: var(--shadow-card);
}

.club-logo {
  width: 152px;
  height: 152px;
  margin: 0 auto var(--space-4);
  border-radius: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* ========================================
   Features
======================================== */
.feature-list {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: 1.5rem;
  min-height: 420px;
  padding: 1.6rem;
  border: 1px solid var(--color-border);
  border-radius: 32px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-soft);
}

/* Swaps which physical grid track is on which side (not just visual
   order): CSS `order` alone also changes grid auto-placement, which put
   .feature-media into the wide minmax(0, 1fr) track instead of the narrow
   minmax(260px, 360px) one on reversed cards — same DOM markup, so every
   other card's grid-template-columns still applies; only the reversed
   card's own template + explicit track assignment change here. */
.feature-card-reverse {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.feature-card-reverse .feature-media {
  grid-column: 1;
}

.feature-card-reverse .feature-copy {
  grid-column: 2;
}

.feature-copy p {
  max-width: 560px;
  margin-bottom: 0;
}

.feature-media img,
.feature-placeholder {
  width: 100%;
  /* Matches a modern iPhone screen (e.g. 1179x2556) rather than the
     previous generic 4:5 card-image ratio — these boxes are meant to hold
     real phone screenshots. */
  aspect-ratio: 9 / 19.5;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(31, 39, 34, 0.12);
}

.feature-media img {
  object-fit: cover;
}

.placeholder-card {
  display: grid;
  place-items: center;
  min-height: 100%;
  height: 100%;
  padding: 1.5rem;
  border: 2px dashed rgba(54, 88, 69, 0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(185, 143, 74, 0.08), rgba(54, 88, 69, 0.06));
  text-align: center;
}

.placeholder-title {
  margin-bottom: var(--space-1);
  color: var(--color-forest-deep);
  font-weight: 700;
}

.section-actions {
  margin-top: var(--space-copy-lg);
  text-align: center;
}

/* ========================================
   Audience / Checklist
======================================== */
.split-copy-light h2,
.split-copy-light p,
.final-cta-card h2,
.final-cta-card p {
  color: var(--color-white);
}

.checklist-panel {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

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

.checklist li {
  position: relative;
  padding-left: 2.25rem;
  color: rgba(255, 253, 249, 0.92);
  font-size: 1.02rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-soft), var(--color-gold));
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

/* ========================================
   Social Proof
======================================== */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card-highlight {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(63, 129, 84, 0.96), rgba(45, 98, 64, 0.96));
}

.proof-card-highlight h3,
.proof-card-highlight p {
  color: var(--color-white);
}

.rating-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.proof-label {
  margin-bottom: var(--space-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-subheading {
  margin-bottom: var(--space-3);
  color: var(--color-ink);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.rating-stars {
  display: flex;
  gap: 0.35rem;
  margin-bottom: var(--space-3);
  color: #f2c94c;
  font-size: 1.9rem;
  line-height: 1;
}

.rating-score {
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

blockquote {
  margin: 0 0 var(--space-copy);
  color: var(--color-ink);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
}

.proof-meta {
  font-size: 0.92rem;
}

.proof-list {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
}

.proof-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--color-body);
  font-size: 0.98rem;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--color-forest);
}

/* ========================================
   Final CTA / Footer
======================================== */
.final-cta-section {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.final-cta-card {
  padding: 3.5rem 2rem;
  border-radius: var(--radius-card-lg);
  background:
    linear-gradient(rgba(31, 39, 34, 0.24), rgba(31, 39, 34, 0.24)),
    url("../images/about_photo.jpg") center 22%/cover no-repeat;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.final-cta-card p {
  max-width: 720px;
  margin: 0 auto var(--space-copy-lg);
  color: rgba(255, 253, 249, 0.9);
}

.site-footer {
  padding: 1.75rem 0 2.5rem;
}

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

.footer-content p {
  color: var(--color-body);
  font-size: 0.92rem;
}

/* ========================================
   Download modal
======================================== */
body.modalOpen {
  overflow: hidden;
}

.downloadModalOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(31, 39, 34, 0.5);
  backdrop-filter: blur(4px);
}

.downloadModalOverlay.is-open {
  display: flex;
}

.downloadModal {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.downloadModal h3 {
  margin-bottom: 0.5rem;
}

.downloadModal p {
  margin-bottom: 1.5rem;
  color: var(--color-body);
}

.downloadModalActions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.downloadModalActions .button {
  width: 100%;
}

.downloadModalClose {
  all: unset;
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-body);
  font-size: 1.5rem;
  line-height: 1;
  transition: background var(--transition);
}

.downloadModalClose:hover,
.downloadModalClose:focus-visible {
  background: rgba(54, 88, 69, 0.08);
}

/* ========================================
   Responsive
======================================== */
/* .stack-photo-a/.stack-photo-c intentionally bleed ~90px past
   .hero-visual's own left edge (the scattered-photo-collage look) — fine
   at wide viewports where there's still a gap before .hero-content's text,
   but between roughly 1150-1250px that bleed runs directly into the hero
   heading/eyebrow. .hero-layout/.hero-visual get their own wider stacking
   breakpoint instead of sharing the other sections' 1100px one below,
   since single-column already looks clean well above where those other
   sections need to change. */
@media (max-width: 1300px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: 100%;
    max-width: 760px;
    min-height: 680px;
    margin: 0 auto;
  }
}

@media (max-width: 1100px) {
  .split-layout,
  .split-layout-wide,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-four,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header-layout {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.9rem 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 1rem;
  }

  .section,
  .hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .card-grid-four,
  .benefit-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card-reverse {
    grid-template-columns: 1fr;
  }

  /* Single-column now, so both children must share that one track —
     otherwise the base rule's grid-column: 1/2 (which swaps which of the
     two desktop tracks each one sizes against) would implicitly create a
     second column here instead of stacking them vertically. */
  .feature-card-reverse .feature-copy,
  .feature-card-reverse .feature-media {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container-max));
  }

  .hero-layout {
    gap: var(--space-5);
  }

  .hero-visual {
    min-height: 570px;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .stack-photo-a {
    left: -2rem;
    top: 0.75rem;
    width: 50%;
  }

  .stack-photo-b {
    right: -2rem;
    top: 0.75rem;
    width: 46%;
  }

  .stack-photo-c {
    left: -2.25rem;
    bottom: 1.75rem;
    width: 48%;
  }

  .stack-photo-d {
    left: -1rem;
    top: 7.5rem;
    width: 37%;
  }

  .stack-photo-e {
    right: -1rem;
    top: 8.5rem;
    width: 36%;
  }

  .stack-photo-f {
    left: -1.25rem;
    bottom: -0.25rem;
    width: 36%;
  }

  .stack-photo-g {
    right: -1.25rem;
    bottom: 0.25rem;
    width: 37%;
  }

  .stack-photo-h {
    right: -2rem;
    bottom: 6.5rem;
    width: 32%;
  }

  .hero-phone-card {
    width: min(100%, 320px);
    max-width: 64%;
  }

  .club-logo {
    width: 128px;
    height: 128px;
    margin-bottom: var(--space-3);
  }

  .phone-check-toggle[data-item="1"] { top: 14.6%; }
  .phone-check-toggle[data-item="2"] { top: 22.2%; }
  .phone-check-toggle[data-item="3"] { top: 29.8%; }
  .phone-check-toggle[data-item="4"] { top: 37.4%; }
  .phone-check-toggle[data-item="5"] { top: 45%; }
  .phone-check-toggle[data-item="6"] { top: 52.6%; }
  .phone-check-toggle[data-item="7"] { top: 60.2%; }

  .phone-row-hotspot[data-item="1"] { top: 13.1%; }
  .phone-row-hotspot[data-item="2"] { top: 21.25%; }
  .phone-row-hotspot[data-item="3"] { top: 29.4%; }
  .phone-row-hotspot[data-item="4"] { top: 37.55%; }
  .phone-row-hotspot[data-item="5"] { top: 45.7%; }
  .phone-row-hotspot[data-item="6"] { top: 53.85%; }
  .phone-row-hotspot[data-item="7"] { top: 62%; }

  .info-card,
  .benefit-card,
  .proof-card,
  .club-panel,
  .feature-card,
  .checklist-panel,
  .final-cta-card {
    border-radius: 24px;
  }

  .final-cta-card {
    padding: 3rem 1.2rem;
  }
}
