/* ==========================================================
   Yoni Ely / AXIS Brands landing pages
   Type + colour taken from axisbrandsco.com
   Shared by every landing page: keep the logo + tokens here.
   ========================================================== */

:root {
  --navy: #050f2c;
  --navy-2: #0c2a52;
  --text: rgba(12, 42, 82, 0.74);
  --muted: #48566c;
  --blue: #2981fb;
  --blue-light: #abd1ff;
  --blush: #fff8fa;
  --ice: #e7f0f9;
  --white: #ffffff;
  --line: rgba(12, 42, 82, 0.12);
  --line-dark: rgba(171, 209, 255, 0.22);
  --gradient: linear-gradient(80deg, #847aff 0%, #337de0 100%);

  --f-head: "Archivo", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-eyebrow: "DM Sans", system-ui, sans-serif;

  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, li, h3 { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Logo (same on every landing page) ---------- */
.site-header { padding: 24px 0 0; position: relative; z-index: 2; }
.site-header .wrap { display: flex; justify-content: flex-start; }
.brand-logo { display: inline-block; line-height: 0; }
.brand-logo img { height: 34px; width: auto; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-eyebrow);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
}
.h-display, .h-section {
  font-family: var(--f-head);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}
.h-display {
  font-size: clamp(28px, 3.35vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.h-display .line { display: block; text-wrap: balance; }
.h-display .line + .line { margin-top: 0.22em; }   /* breathing room under the black line */
.h-section {
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.accent { color: var(--blue); }
.on-dark .accent { color: var(--blue-light); }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--text); }

/* ---------- Buttons + form ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient);
  border: 0;
  border-radius: 50px;
  padding: 19px 30px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 28px -10px rgba(65, 110, 240, 0.65);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(65, 110, 240, 0.8); filter: saturate(1.1); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { font-size: 17px; padding: 22px 38px; }

.optin {
  display: flex;
  gap: 8px;
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 60px;
  box-shadow: 0 20px 50px -24px rgba(5, 15, 44, 0.28);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.optin input {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  background: transparent;
  font: 500 17px/1 var(--f-body);
  color: var(--navy);
  padding: 0 20px;
}
.optin input::placeholder { color: rgba(12, 42, 82, 0.45); }
.optin:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(41, 129, 251, 0.14), 0 20px 50px -24px rgba(5, 15, 44, 0.28); }
.optin .btn { padding: 18px 28px; font-size: 15.5px; }

.fineprint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14.5px; color: var(--muted);
  margin: 14px 0 0;
}
.fineprint svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* ---------- Hero (centred) ---------- */
.hero {
  position: relative;
  background: var(--blush);
  overflow: hidden;
  text-align: center;
  display: flex; flex-direction: column;
  /* leaves room for the 5 Reasons heading to show on first load */
  min-height: max(560px, calc(100svh - 112px));
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 55%;
  width: 1200px; aspect-ratio: 1.8;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(132, 122, 255, 0.16), rgba(41, 129, 251, 0.07) 55%, transparent 75%);
  pointer-events: none;
}
.hero-body {
  max-width: 1280px;
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 36px; padding-bottom: 56px;
}
.hero .eyebrow { font-size: 15px; margin-bottom: 26px; }
.hero .lead {
  max-width: 1180px;
  font-size: clamp(16px, 1.32vw, 19px);
  line-height: 1.6;
  margin: 32px auto 40px;
  text-wrap: balance;
}

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

/* ---------- Reasons (dark section, light boxes) ---------- */
.reasons {
  background: var(--navy);
  padding: 40px 0 80px;
}
.reasons .h-section { color: #fff; text-align: center; margin-bottom: 48px; }
.reason-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.reason {
  grid-column: span 2;
  background: #f4f7ff;
  border-radius: 20px;
  padding: 30px 28px 32px;
  color: rgba(12, 42, 82, 0.78);
}
/* 4 and 5 sit centred under 1, 2, 3 at the same width */
.reason:nth-child(4) { grid-column: 2 / span 2; }
.reason:nth-child(5) { grid-column: 4 / span 2; }
.reason-num {
  font-family: var(--f-head); font-weight: 900;
  font-size: 44px; line-height: 1; letter-spacing: -0.04em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
  display: inline-block;
}
.reason h3 {
  font-family: var(--f-head); font-weight: 800;
  font-size: 21px; line-height: 1.22; letter-spacing: -0.015em;
  color: var(--navy); margin: 0 0 10px;
  text-wrap: balance;
}
.reason p { margin: 0; font-size: 16px; }
.reason p strong { color: var(--navy); font-weight: 700; }

/* ---------- Meet Yoni ---------- */
.meet { padding: 88px 0; background: var(--white); }
.meet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;          /* photo and text share top + bottom edges */
}
.meet-photo {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--ice), var(--blush));
  overflow: hidden;
}
.meet-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
  mix-blend-mode: multiply;
}
.meet-tag {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--navy); color: #fff;
  border-radius: 12px; padding: 10px 14px;
  font-family: var(--f-eyebrow); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.meet-tag svg { width: 14px; height: 14px; color: var(--blue-light); }
.meet-copy { display: flex; flex-direction: column; justify-content: center; }
.meet-copy .lead { margin: 20px 0 0; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin: 34px 0 0; }
.stat { border-top: 1px solid var(--line); padding-top: 18px; }
.stat b {
  display: block;
  font-family: var(--f-head); font-weight: 900;
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.04em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--muted); }

.meet-cta { margin-top: 56px; text-align: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(253, 252, 248, 0.6);
  padding: 28px 0;
  font-size: 14px;
}
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 10px; align-items: center; }
.footer a { color: rgba(253, 252, 248, 0.8); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================
   Thank-you page
   ========================================================== */
.ty-hero {
  background: var(--blush);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ty-hero::before {
  content: "";
  position: absolute; left: 50%; top: 45%;
  width: 1100px; aspect-ratio: 1.6; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(132, 122, 255, 0.16), rgba(41, 129, 251, 0.07) 55%, transparent 75%);
  pointer-events: none;
}
/* one even rhythm between every block in the hero */
.ty-stack {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 28px;
  padding-top: 40px; padding-bottom: 40px;
}
.ty-hero .h-display { font-size: clamp(36px, 5.6vw, 68px); line-height: 1; }
.ty-sub {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.01em;
  color: var(--navy-2);
  margin: 0;
  display: inline-flex; align-items: center; gap: 10px;
}
.ty-sub svg { width: 20px; height: 20px; color: var(--blue); }

.video {
  width: 100%; max-width: 880px;
  border-radius: 22px;
  padding: 8px;
  background: var(--gradient);
  box-shadow: 0 40px 80px -40px rgba(5, 15, 44, 0.55);
}
.video-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
}
.video-inner iframe, .video-inner video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Placeholder poster: delete once the real embed is in */
.video-poster {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  border: 0; width: 100%; cursor: pointer; padding: 0;
}
.video-poster img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
}
.video-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(80deg, rgba(5, 15, 44, 0.62), rgba(51, 125, 224, 0.28));
}
.video-poster .play, .video-poster .video-label { z-index: 1; }
.play {
  position: relative;
  width: 92px; height: 92px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.14), 0 20px 40px -10px rgba(0,0,0,0.5);
  transition: transform .2s ease;
}
.video-poster:hover .play { transform: scale(1.06); }
.play svg { width: 34px; height: 34px; margin-left: 5px; color: var(--blue); }
.video-label {
  position: absolute; left: 24px; bottom: 22px;
  font-family: var(--f-eyebrow); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.letter-section { padding: 44px 0 72px; background: var(--white); }
.letter {
  max-width: 760px; margin: 0 auto;
  color: var(--navy-2);
  font-size: 18px;
}
.letter > * { margin: 0 0 24px; }
.letter > *:last-child { margin-bottom: 0; }
.letter p { color: rgba(12, 42, 82, 0.82); }
.letter .hello {
  font-family: var(--f-head); font-weight: 900; font-size: 30px; letter-spacing: -0.02em;
  color: var(--navy); margin-bottom: 16px;
}
.letter strong { color: var(--navy); font-weight: 700; }

.steps { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center;
  background: var(--blush);
  border: 1px solid rgba(132, 122, 255, 0.18);
  border-radius: 16px;
  padding: 20px 24px;
  font-size: 17px;
  line-height: 1.55;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-head); font-weight: 900; font-size: 22px; letter-spacing: -0.03em;
  color: #fff; background: var(--gradient);
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
}

.callout {
  background: var(--navy);
  border-radius: 20px;
  padding: 30px 34px;
}
.callout p { color: rgba(253, 252, 248, 0.84); margin: 0; }
.callout strong { color: #fff; }
.callout .eyebrow { color: var(--blue-light); margin-bottom: 12px; }

.signoff { display: flex; align-items: center; gap: 16px; }
.signoff img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 18%;
  background: var(--ice);
  border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(41, 129, 251, 0.35);
}
.signoff b { display: block; font-family: var(--f-head); font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; }
.signoff span { font-size: 14px; color: var(--muted); }
.ps {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
}
.ps b { font-family: var(--f-head); color: var(--blue); font-weight: 800; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (min-width: 900px) {
  .h-display .line-1 { white-space: nowrap; }
}

@media (max-width: 960px) {
  .reason-list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .reason, .reason:nth-child(4) { grid-column: span 2; }
  .reason:nth-child(5) { grid-column: 2 / span 2; }
  .meet-grid { grid-template-columns: 1fr; gap: 36px; }
  .meet-photo { min-height: 0; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin: 0 auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header { padding-top: 20px; }
  .brand-logo img { height: 28px; }
  .hero { min-height: 0; }
  .hero-body { padding-top: 40px; padding-bottom: 52px; }
  .hero .eyebrow { font-size: 12.5px; letter-spacing: 0.06em; margin-bottom: 18px; }
  .hero .lead { margin: 22px auto 30px; }
  .optin { flex-direction: column; border-radius: 22px; }
  .optin input { padding: 16px 14px; text-align: center; }
  .optin .btn { width: 100%; padding: 18px 20px; }
  .reasons { padding: 52px 0 60px; }
  .reasons .h-section { margin-bottom: 28px; }
  .reason-list { grid-template-columns: 1fr; gap: 14px; }
  .reason, .reason:nth-child(4), .reason:nth-child(5) { grid-column: 1; padding: 24px 22px 26px; }
  .reason-num { font-size: 36px; margin-bottom: 12px; }
  .meet { padding: 60px 0; }
  .stats { gap: 22px 16px; }
  .stat span { font-size: 12.5px; }
  .meet-cta { margin-top: 40px; }
  .footer .wrap { flex-direction: column; text-align: center; }

  .ty-stack { gap: 22px; padding-top: 30px; padding-bottom: 32px; }
  .video { padding: 5px; border-radius: 16px; }
  .video-inner { border-radius: 12px; }
  .play { width: 66px; height: 66px; box-shadow: 0 0 0 9px rgba(255,255,255,0.14), 0 14px 30px -10px rgba(0,0,0,0.5); }
  .play svg { width: 26px; height: 26px; }
  .video-label { left: 14px; bottom: 12px; font-size: 11px; }
  .ty-cta, .ty-cta .btn { width: 100%; }
  .ty-cta .btn { white-space: normal; padding: 20px 22px; font-size: 16px; }
  .letter-section { padding: 34px 0 56px; }
  .letter { font-size: 17px; }
  .letter > * { margin-bottom: 20px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 14px; padding: 16px; font-size: 16px; }
  .steps li::before { width: 42px; height: 42px; font-size: 18px; border-radius: 11px; }
  .callout { padding: 24px 22px; }
}
