:root {
  --bg-0: #06060c;
  --bg-1: #08080f;
  --bg-2: #0a0a14;
  --ink: #ffffff;
  --ink-dim: rgba(232, 230, 245, 0.72);
  --ink-faint: rgba(180, 178, 200, 0.55);
  --accent: #7eb0ff;
  --accent-deep: #2563eb;
  --accent-soft: rgba(126, 176, 255, 0.18);
  --hairline: rgba(200, 200, 230, 0.12);
  --hairline-strong: rgba(200, 200, 230, 0.20);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* iOS Safari auto-zooms when a focused field has font-size < 16px.
   Force at least 16px on every native form control so taps never trigger zoom. */
input, textarea, select, button {
  font-size: max(16px, 1rem);
}
/* Keep the existing typography on text-only buttons that don't focus an input */
button { font-size: inherit; }
@supports (-webkit-touch-callout: none) {
  /* iOS-only safety net: never let inputs shrink below 16px */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

html { scroll-behavior: smooth; }

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg-0);
  color: var(--ink);
  font-family: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(42% 32% at 18% 4%, rgba(60, 130, 240, 0.28) 0%, transparent 60%),
    radial-gradient(38% 30% at 80% 14%, rgba(100, 150, 255, 0.26) 0%, transparent 60%),
    radial-gradient(50% 38% at 70% 58%, rgba(60, 130, 240, 0.20) 0%, transparent 65%),
    radial-gradient(42% 34% at 14% 76%, rgba(110, 160, 255, 0.22) 0%, transparent 60%),
    radial-gradient(65% 45% at 50% 110%, rgba(80, 100, 220, 0.34) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 40%, var(--bg-2) 70%, var(--bg-0) 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(126, 176, 255, 0.32) 0%, transparent 70%);
  top: -180px; right: -120px;
}
.orb-2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(60, 130, 240, 0.28) 0%, transparent 70%);
  bottom: -240px; left: -180px;
}

.page {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Header */
header.site {
  width: 100%;
  padding: 22px clamp(20px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(5, 8, 20, 0.35);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
  box-shadow:
    0 6px 18px rgba(70, 120, 220, 0.40),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand .wordmark {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand .wordmark em {
  font-family: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 15px;
  color: #cdd7f5;
}

.header-right {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.meta-pill {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
@media (min-width: 720px) { .meta-pill { display: inline-flex; } }

.meta-pill .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
}

.cta-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.03);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.cta-link:hover {
  background: rgba(110, 168, 255, 0.12);
  border-color: rgba(110, 168, 255, 0.45);
}
.cta-link:active { transform: translateY(1px); }

main {
  flex: 1;
  width: 100%;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 44px) clamp(80px, 10vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(60, 130, 240, 0.22);
  font-size: 13.5px;
  font-weight: 600;
  color: #f0eaff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 36px;
  box-shadow:
    0 0 0 1px rgba(126, 176, 255, 0.05) inset,
    0 0 14px rgba(126, 176, 255, 0.10),
    0 0 28px rgba(60, 130, 240, 0.06);
  opacity: 0;
  transform: translateY(8px);
  animation: rise 800ms var(--ease) 120ms forwards;
}

.eyebrow .pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
}
.eyebrow .pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #34d399;
  opacity: 0.6;
  animation: ping 2.2s ease-out infinite;
}
.eyebrow .sep {
  width: 1px;
  height: 12px;
  background: var(--hairline-strong);
}
.eyebrow .cohort {
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
}

@keyframes ping {
  0%   { transform: scale(1);   opacity: 0.6; }
  80%  { transform: scale(2);   opacity: 0;   }
  100% { transform: scale(2);   opacity: 0;   }
}

/* Step label (pill with gradient number badge) */
.step-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(60, 130, 240, 0.22);
  font-size: 15px;
  font-weight: 700;
  color: #f0eaff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 26px;
  box-shadow:
    0 0 0 1px rgba(126, 176, 255, 0.05) inset,
    0 0 14px rgba(126, 176, 255, 0.10),
    0 0 28px rgba(60, 130, 240, 0.06);
}
.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  font-size: 14px;
  font-weight: 800;
  color: #06060c;
  letter-spacing: 0;
  box-shadow: 0 0 12px rgba(60, 130, 240, 0.35);
}

/* Step 02: Gmail mockup wrapper with doodle arrows */
.gmail-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 30px 120px 80px;
}
.gmail-mockup-wrapper .gmail-mockup {
  margin: 0 auto;
  max-width: 720px;
}

.doodle {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}
.doodle-1 {
  top: 10px;
  left: 0;
  width: 170px;
}
.doodle-2 {
  bottom: 30px;
  right: 0;
  width: 170px;
}
.doodle-label {
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0;
  line-height: 1;
  text-shadow:
    0 0 14px rgba(126, 176, 255, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.5);
  padding: 0 6px;
  margin-bottom: 2px;
  transform: rotate(-3deg);
}
.doodle-2 .doodle-label {
  transform: rotate(3deg);
}
.doodle-arrow {
  width: 140px;
  height: 110px;
  color: #ffffff;
  filter:
    drop-shadow(0 0 8px rgba(126, 176, 255, 0.35))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
.doodle-1 .doodle-arrow {
  align-self: flex-end;
  margin-right: -10px;
}
.doodle-2 .doodle-arrow {
  align-self: flex-start;
  margin-left: -10px;
}

/* Mobile fallback: arrows hide, simple numbered list shows */
.doodle-fallback {
  display: none;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 480px;
  margin: 0 auto 24px;
  text-align: left;
}
.doodle-fallback .row {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.doodle-fallback .num {
  color: var(--accent);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
}
.doodle-fallback strong { color: #ffffff; font-weight: 700; }

@media (max-width: 820px) {
  .gmail-mockup-wrapper { padding: 0; max-width: 720px; }
  .doodle { display: none; }
  .doodle-fallback { display: flex; }
}

/* Step 02: Gmail invitation mockup */
.gmail-mockup {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 36px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(126, 176, 255, 0.18),
    0 0 100px rgba(60, 130, 240, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #202124;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
}
.gmail-subject {
  padding: 18px 24px 14px;
  color: #202124;
  font-size: 15px;
  font-weight: 400;
  border-bottom: 1px solid #e8eaed;
}
.gmail-subject strong { font-weight: 600; color: #202124; }
.gmail-sender-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
}
.gmail-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7eb0ff 0%, #2563eb 100%);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.gmail-sender-info { flex: 1; min-width: 0; }
.gmail-from { font-size: 13.5px; color: #202124; }
.gmail-from strong { font-weight: 700; }
.gmail-to { font-size: 12.5px; color: #5f6368; margin-top: 1px; }
.gmail-time { font-size: 12px; color: #5f6368; flex-shrink: 0; }
.gmail-banner {
  background: #f1f3f4;
  border-top: 1px solid #e8eaed;
  border-bottom: 1px solid #e8eaed;
  padding: 14px 24px;
  font-size: 12.5px;
  color: #3c4043;
}
.gmail-banner-text { margin-bottom: 10px; }
.gmail-banner-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.gmail-btn {
  font-family: inherit;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 4px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #1a73e8;
  font-weight: 500;
  cursor: default;
  position: relative;
}
.gmail-btn-text {
  background: none;
  border: none;
  color: #1a73e8;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 500;
  cursor: default;
  padding: 7px 0;
}
.gmail-btn-highlight {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  animation: gmailHighlightPulse 2.4s ease-in-out infinite;
}
@keyframes gmailHighlightPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px var(--accent),
      0 0 14px rgba(126, 176, 255, 0.5),
      0 0 28px rgba(60, 130, 240, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 1px var(--accent),
      0 0 22px rgba(126, 176, 255, 0.8),
      0 0 44px rgba(60, 130, 240, 0.55);
  }
}
.gmail-callout-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #06060c;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 14px rgba(60, 130, 240, 0.6);
  font-family: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  z-index: 2;
}
.gmail-event-card {
  display: flex;
  gap: 18px;
  padding: 20px 24px 22px;
  background: #fff;
}
.gmail-event-date {
  width: 60px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 6px;
  text-align: center;
  flex-shrink: 0;
  overflow: hidden;
  height: fit-content;
}
.gmail-event-month {
  background: #1a73e8;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 0;
  font-weight: 700;
}
.gmail-event-day {
  font-size: 24px;
  font-weight: 500;
  color: #202124;
  padding: 6px 0 2px;
}
.gmail-event-weekday {
  font-size: 10px;
  color: #5f6368;
  padding: 0 0 6px;
  letter-spacing: 0.08em;
}
.gmail-event-details { flex: 1; min-width: 0; }
.gmail-event-title {
  font-size: 15px;
  color: #202124;
  font-weight: 500;
  margin-bottom: 2px;
}
.gmail-event-link {
  color: #1a73e8;
  font-size: 12.5px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}
.gmail-event-row {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: #3c4043;
  padding: 3px 0;
}
.gmail-event-label {
  width: 50px;
  color: #5f6368;
  flex-shrink: 0;
}
.gmail-rsvp {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.gmail-rsvp-btn {
  font-family: inherit;
  font-size: 12.5px;
  padding: 6px 18px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #1a73e8;
  border-radius: 4px;
  cursor: default;
  font-weight: 500;
  position: relative;
}
.gmail-rsvp-btn-yes {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  animation: gmailHighlightPulse 2.4s ease-in-out infinite;
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}
@media (max-width: 580px) {
  .gmail-subject { font-size: 13px; padding: 14px 16px 12px; }
  .gmail-sender-row { padding: 14px 16px; gap: 10px; }
  .gmail-sender-row .gmail-time { display: none; }
  .gmail-banner { padding: 12px 16px; }
  .gmail-banner-actions { flex-wrap: wrap; }
  .gmail-event-card { padding: 16px; gap: 14px; }
  .gmail-event-title { font-size: 14px; }
  .gmail-event-day { font-size: 20px; }
  .gmail-rsvp-btn { padding: 6px 14px; }
}

/* Step 02: Confirm the call instructions */
.confirm-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .confirm-steps { grid-template-columns: 1fr; }
}
.confirm-step-card {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(10, 12, 28, 0.55);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -22px rgba(8, 16, 40, 0.65);
  text-align: left;
}
.confirm-step-letter {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #06060c;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 12px rgba(60, 130, 240, 0.35);
}
.confirm-step-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.confirm-mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 6px;
  background: #2a2c33;
  color: #d4d4d8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid #3a3c44;
  white-space: nowrap;
}
.confirm-mock-btn-yes {
  background: #1a73e8;
  color: #ffffff;
  border-color: #1a73e8;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.4);
}
.confirm-step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.confirm-step-text strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.confirm-step-text span {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.5;
}
.confirm-note {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--ink-faint);
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.confirm-note strong {
  color: var(--ink-dim);
  font-weight: 600;
}

/* Section label divider */
.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 96px 0 28px;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  width: 100%;
}
.section-label::before,
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 130, 240, 0.35), transparent);
}
.section-label > span {
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(60, 130, 240, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(126, 176, 255, 0.05) inset,
    0 0 14px rgba(126, 176, 255, 0.10),
    0 0 28px rgba(60, 130, 240, 0.06);
  white-space: nowrap;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  max-width: 760px;
  text-wrap: balance;
  margin: 0 auto 14px;
}
.section-title .accent {
  font-family: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-dim);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* Video frame (shared) */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 940px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(180, 210, 255, 0.35) 0%, rgba(180, 210, 255, 0.04) 30%, rgba(180, 210, 255, 0.04) 70%, rgba(180, 210, 255, 0.20) 100%);
  box-shadow:
    0 40px 100px -30px rgba(8, 16, 40, 0.85),
    0 0 80px rgba(70, 120, 220, 0.18);
}
.video-frame-inner {
  border-radius: calc(var(--radius-lg) - 1px);
  background: rgba(8, 14, 32, 0.65);
  padding: 8px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.video-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 9px);
  overflow: hidden;
  background: #000;
}
.video-aspect iframe,
.video-aspect video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: #0a1024;
  background: linear-gradient(180deg, #c8dcff 0%, #6ea8ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -2px 0 rgba(30, 60, 130, 0.25) inset,
    0 18px 40px -12px rgba(70, 120, 220, 0.55),
    0 0 0 1px rgba(110, 168, 255, 0.18);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), filter 200ms var(--ease);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -2px 0 rgba(30, 60, 130, 0.25) inset,
    0 24px 50px -10px rgba(70, 120, 220, 0.7),
    0 0 0 1px rgba(110, 168, 255, 0.3);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { transition: transform 200ms var(--ease); }
.btn-primary:hover svg { transform: translateX(2px); }

/* Breakout grid (single column, stacked) */
.breakout-grid {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.breakout-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  text-decoration: none;
  color: var(--ink);
  background: #0a1024;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 18px 40px -20px rgba(8, 16, 40, 0.7);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
  cursor: pointer;
  padding: 0;
  font: inherit;
  width: 100%;
}
.breakout-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 168, 255, 0.45);
  box-shadow: 0 30px 60px -22px rgba(70, 120, 220, 0.5);
}
.breakout-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.breakout-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease);
}
.breakout-card:hover img { transform: scale(1.03); }
.breakout-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.breakout-play {
  position: absolute;
  top: 50%;                        /* dead center, YouTube-style */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 14px 32px -6px rgba(60, 130, 240, 0.55),
    0 0 0 4px rgba(255, 255, 255, 0.10),
    0 0 22px rgba(126, 176, 255, 0.40),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
  z-index: 1;
}
.breakout-play svg { fill: #ffffff; width: 24px; height: 24px; }
.breakout-card:hover .breakout-play {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 18px 40px -6px rgba(60, 130, 240, 0.65),
    0 0 0 5px rgba(255, 255, 255, 0.14),
    0 0 30px rgba(126, 176, 255, 0.55);
}
@media (max-width: 560px) {
  .breakout-play { width: 50px; height: 50px; top: 50%; }
  .breakout-play svg { width: 20px; height: 20px; }
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 20, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.video-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 60px 120px -20px rgba(0,0,0,0.7);
  animation: modalIn 280ms var(--ease);
}
.video-modal-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
}
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.video-modal-close:hover {
  background: rgba(0,0,0,0.85);
  transform: scale(1.05);
}
.video-modal-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Case studies */
.case-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .case-grid { grid-template-columns: 1fr; }
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(10, 18, 40, 0.55);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -22px rgba(8, 16, 40, 0.65);
  transition: transform 250ms var(--ease), border-color 250ms var(--ease);
}
.case-card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 168, 255, 0.35);
}

.case-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.case-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6ea8ff, #2d5fc6);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.case-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.case-role {
  font-size: 12.5px;
  color: var(--ink-faint);
}
.case-quote {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.case-stats {
  display: flex;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.case-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-stat .v {
  font-family: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.case-stat .k {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}

/* Footer */
footer.site {
  width: 100%;
  padding: 32px clamp(20px, 4vw, 44px);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-faint);
}
footer.site .legal { font-variant-numeric: tabular-nums; }
footer.site nav {
  display: inline-flex;
  gap: 22px;
}
footer.site nav a {
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
footer.site nav a:hover { color: var(--ink); }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .eyebrow { opacity: 1; transform: none; }
}

/* =====================
   Successful Clients
   ===================== */

.clients-row {
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;       /* let cards have unequal heights */
  gap: 18px;
  margin: 0 auto 56px;
}
@media (max-width: 640px) {
  .clients-row { grid-template-columns: 1fr; gap: 18px; max-width: 360px; }
}
.client-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(10, 12, 28, 0.55);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -22px rgba(8, 16, 40, 0.65);
}
.client-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(126, 176, 255, 0.12), rgba(37, 99, 235, 0.08));
  border: 1px dashed rgba(126, 176, 255, 0.3);
  display: grid;
  place-items: center;
}
.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.client-photo-placeholder {
  font-size: 12px;
  color: rgba(232, 230, 245, 0.55);
  text-align: center;
  padding: 0 10px;
  font-style: italic;
  line-height: 1.45;
}
.client-meta {
  text-align: center;
  padding: 2px 4px 6px;
}
.client-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.client-detail {
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.45;
}

/* Featured client (Brittany) proof stack underneath the card */
.client-card-featured .client-photo {
  /* keep portrait, but center Brittany's head with cover */
  background: linear-gradient(135deg, rgba(126, 176, 255, 0.10), rgba(37, 99, 235, 0.06));
  border-style: solid;
  border-color: var(--hairline-strong);
}
.client-card-featured .client-photo img {
  object-position: center 18%;
}
.client-proof-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}
.client-proof-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease),
              box-shadow 220ms var(--ease);
  cursor: zoom-in;
  text-decoration: none;
}
.client-proof-item img {
  width: 100%;
  height: auto;
  display: block;
}
.client-proof-item:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 176, 255, 0.45);
  box-shadow: 0 14px 30px -16px rgba(8, 16, 40, 0.55),
              0 0 12px rgba(60, 130, 240, 0.18);
}
.client-proof-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Blank "coming soon" frame, same dimensions as nakami-proof-1.png (600x504) */
.client-proof-blank {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  aspect-ratio: 600 / 504;
  border-radius: 10px;
  border: 1px dashed rgba(126, 176, 255, 0.30);
  background: rgba(126, 176, 255, 0.04);
  color: rgba(232, 230, 245, 0.55);
  text-align: center;
  padding: 12px;
}
.client-proof-blank .blank-icon { color: rgba(126, 176, 255, 0.55); }
.client-proof-blank .blank-label {
  font-size: 11.5px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* =====================
   Rohan featured block
   ===================== */
.rohan-block {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.rohan-caption {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  max-width: 720px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Rohan profile card with avatar + 10 wins masonry grid */
.rohan-profile-card {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(126, 176, 255, 0.30) 0%, rgba(126, 176, 255, 0.06) 50%, rgba(126, 176, 255, 0.20) 100%);
  box-shadow:
    0 30px 80px -30px rgba(8, 16, 40, 0.7),
    0 0 30px rgba(126, 176, 255, 0.08);
}
.rohan-profile-inner {
  border-radius: calc(var(--radius-lg) - 1px);
  background: rgba(8, 14, 32, 0.65);
  padding: 18px 18px 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.rohan-profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 4px 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 14px;
}
.rohan-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(126, 176, 255, 0.40);
  box-shadow:
    0 0 0 1px rgba(126, 176, 255, 0.15),
    0 8px 18px -6px rgba(60, 130, 240, 0.35);
  flex-shrink: 0;
}
.rohan-profile-meta { flex: 1; min-width: 0; }
.rohan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}
.rohan-tag {
  font-size: 13px;
  color: var(--ink-dim);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.rohan-tag strong {
  color: var(--ink);
  font-weight: 700;
}

.rohan-wins-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: start;
}
@media (max-width: 900px) { .rohan-wins-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .rohan-wins-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.rohan-wins-grid a {
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease),
              box-shadow 220ms var(--ease);
  cursor: zoom-in;
  text-decoration: none;
  /* Cap each tile's height so tall portrait posts don't dominate the row.
     Click into the lightbox shows the full image. */
  max-height: 280px;
  aspect-ratio: 4 / 3;
  position: relative;
}
@media (max-width: 560px) {
  .rohan-wins-grid a { max-height: 200px; aspect-ratio: 1 / 1; }
}
.rohan-wins-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}
.rohan-wins-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 176, 255, 0.45);
  box-shadow: 0 14px 28px -16px rgba(8, 16, 40, 0.55),
              0 0 10px rgba(60, 130, 240, 0.18);
}
.rohan-wins-grid a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .rohan-profile-header { gap: 11px; padding-bottom: 12px; }
  .rohan-avatar { width: 44px; height: 44px; }
  .rohan-name { font-size: 15px; }
  .rohan-tag { font-size: 12.5px; }
  .rohan-profile-inner { padding: 14px 14px 10px; }
}
.rohan-caption .accent {
  font-weight: 700;
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rohan-caption strong {
  font-weight: 700;
  color: #ffffff;
}

/* =====================
   More success stories (Colby, Margo, Calvin)
   Stacked below Rohan. Same 940px max-width as the video frame.
   ===================== */
.more-stories {
  width: 100%;
  max-width: 940px;
  margin: 64px auto 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.more-stories-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: -22px;       /* tighten gap to first story */
}
.more-stories-title .accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.story {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 22px;
  border-radius: 22px;
  background: rgba(10, 12, 28, 0.55);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 24px 60px -28px rgba(8, 16, 40, 0.7),
    0 0 24px rgba(126, 176, 255, 0.05);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}
.story:hover {
  border-color: rgba(126, 176, 255, 0.30);
  box-shadow:
    0 30px 70px -28px rgba(8, 16, 40, 0.75),
    0 0 32px rgba(126, 176, 255, 0.10);
}
.story-header {
  text-align: center;
  max-width: 640px;
}
.story-name {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.story-desc {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.5;
  color: var(--ink-dim);
  font-weight: 500;
}
@media (max-width: 560px) {
  .more-stories { gap: 28px; margin-top: 48px; }
  .more-stories-title { font-size: clamp(20px, 6vw, 26px); margin-bottom: -14px; }
  .story { padding: 22px 16px; gap: 16px; }
  .story-name { font-size: clamp(20px, 6.5vw, 26px); }
}

/* Story wins: 2-screenshot grid inside each story card */
.story-wins {
  width: 100%;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.story-wins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
.story-win-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease),
              box-shadow 220ms var(--ease);
  cursor: zoom-in;
  text-decoration: none;
}
.story-win-item:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 176, 255, 0.45);
  box-shadow: 0 14px 30px -18px rgba(8, 16, 40, 0.55),
              0 0 10px rgba(60, 130, 240, 0.15);
}
.story-win-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.story-win-item img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 560px) {
  .story-wins-grid { gap: 8px; }
  .story-wins { padding-top: 14px; }
}

/* =====================
   See all of our other wins
   ===================== */
.wins-section {
  width: 100%;
  max-width: 1120px;
  margin: 8px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wins-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
  text-wrap: balance;
}
.wins-title .accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.wins-sub {
  font-size: 14.5px;
  color: var(--ink-dim);
  text-align: center;
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.5;
}
.wins-grid {
  width: 100%;
  column-count: 3;
  column-gap: 18px;
}
@media (max-width: 1200px) { .wins-grid { column-count: 3; } }
@media (max-width: 900px)  { .wins-grid { column-count: 2; } }
@media (max-width: 560px)  { .wins-grid { column-count: 1; } }
.wins-grid a,
.wins-grid img,
.wins-grid .win-placeholder {
  width: 100%;
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 12px;
}
.wins-grid img {
  height: auto;
  border: 1px solid var(--hairline);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
  cursor: zoom-in;
}
.wins-grid a {
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.wins-grid a:hover img {
  transform: scale(1.02);
  border-color: rgba(126, 176, 255, 0.45);
  box-shadow: 0 18px 40px -20px rgba(8, 16, 40, 0.6), 0 0 18px rgba(60, 130, 240, 0.15);
}
.wins-grid a:focus-visible img {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.wins-grid .win-placeholder {
  aspect-ratio: 9 / 16;
}
.win-placeholder {
  border: 1px dashed rgba(126, 176, 255, 0.25);
  background: rgba(126, 176, 255, 0.03);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: rgba(232, 230, 245, 0.4);
  text-align: center;
  padding: 12px;
  line-height: 1.4;
  font-style: italic;
}
.wins-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 18px;
  font-style: italic;
}
.wins-note code {
  background: rgba(126, 176, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: var(--accent);
  font-style: normal;
}

/* Inline-play state: thumbnail has been replaced by <video> */
.breakout-card.playing {
  cursor: default;
}
.breakout-card.playing:hover {
  transform: none;
}
.breakout-card.playing::after {
  display: none;
}

/* Dispute call featured breakout - subtle warm accent border */
.breakout-card-featured {
  border-color: rgba(255, 200, 100, 0.32);
  box-shadow:
    0 18px 40px -20px rgba(8, 16, 40, 0.7),
    0 0 22px rgba(255, 200, 100, 0.15);
}
.breakout-card-featured:hover {
  border-color: rgba(255, 200, 100, 0.5);
  box-shadow:
    0 30px 60px -22px rgba(70, 120, 220, 0.5),
    0 0 32px rgba(255, 200, 100, 0.22);
}

/* =====================
   MOBILE PERF + LAYOUT
   Lower-end phones repaint blur/fixed-attachment poorly.
   Strip expensive effects, keep visual identity.
   ===================== */
@media (max-width: 900px) {
  /* Fixed bg attachment causes jank on iOS Safari + low-end Android */
  body { background-attachment: scroll; }

  /* Soft grain overlay: cheap on desktop, expensive composited on mobile */
  body::before { display: none; }

  /* Giant blurred orbs: 90px blur on 540px+ element is the #1 mobile lag source */
  .orb-1, .orb-2 { display: none; }

  /* Drop blur on non-critical glass surfaces (kept on sticky header for legibility) */
  .video-frame-inner,
  .form-card-inner,
  .gmail-mockup,
  .confirm-step-card,
  .case-card,
  .client-card,
  .rohan-profile-inner,
  .story,
  .eyebrow,
  .step-label,
  .section-label > span {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Tighten mega top margins from `margin-top: 120px` inline blocks */
  main { padding-top: clamp(40px, 8vw, 72px); }
}

@media (max-width: 560px) {
  /* Side padding tighten so content uses screen */
  main { padding-left: 16px; padding-right: 16px; }
  header.site { padding: 16px; }
  footer.site { padding: 24px 16px; }

  /* Compact section spacing inside confirmation page */
  .section-label { margin: 56px 0 22px; }
  .confirm-note { margin-top: 18px; font-size: 12.5px; }

  /* Smaller step number badge so pill doesn't break on tiny widths */
  .step-num { width: 28px; height: 28px; font-size: 12px; }
  .step-label { font-size: 12px; padding: 8px 18px; gap: 10px; }

  /* Stop horizontal overflow caused by wide section titles */
  .section-title { font-size: clamp(22px, 7vw, 32px); }

  /* Breakout grid gap tighten */
  .breakout-grid { gap: 24px; }

  /* Wins grid spacing on phones */
  .wins-grid { column-gap: 10px; }
  .wins-grid a, .wins-grid img { margin-bottom: 10px; border-radius: 10px; }

  /* Rohan wins grid handled by display:grid rule above */

  /* Proof stack tighter spacing on phones */
  .client-proof-stack { margin-top: 10px; padding-top: 10px; gap: 6px; }

  /* Tighter rohan caption max-width so it doesn't dominate the small viewport */
  .rohan-caption { max-width: 100%; font-size: clamp(18px, 5.5vw, 24px); }
}

/* Tablet & narrow desktop: tighten the giant inline 120px section gaps */
@media (max-width: 720px) {
  /* Override inline margin-top: 120px on confirmation page sections */
  section[style*="margin-top: 120px"] { margin-top: 56px !important; }

  /* Hero subhead a bit tighter on tablets/phones */
  .confirm-sub { margin-bottom: 32px; }
}

@media (max-width: 560px) {
  /* === Hero === */
  /* (h1.confirm font already uses clamp, no override needed) */

  /* === Step labels + section titles vertical rhythm === */
  .step-label { margin-bottom: 18px; }
  .section-title { margin-bottom: 10px; }
  .section-sub { font-size: 14.5px; margin-bottom: 26px; }

  /* === Step 01 video frame padding tighten === */
  .video-frame-inner { padding: 6px; }

  /* === Step 02 confirm-step-card tighten === */
  .confirm-steps { gap: 12px; }
  .confirm-step-card { padding: 16px; gap: 12px; }
  .confirm-step-letter { width: 28px; height: 28px; font-size: 13px; }
  .confirm-step-text strong { font-size: 14px; }
  .confirm-step-text span { font-size: 13px; line-height: 1.5; }
  .confirm-note { font-size: 12.5px; margin-top: 18px; }

  /* === Section label divider (Step 02 only currently) === */
  .section-label { margin: 40px 0 18px; gap: 12px; }
  .section-label > span { padding: 7px 16px; font-size: 12px; }

  /* === Successful clients section === */
  .client-card { padding: 10px; }
  .client-meta { padding: 2px 4px 4px; }
  .client-name { font-size: 14.5px; margin-bottom: 3px; }
  .client-detail { font-size: 12px; line-height: 1.4; }

  /* === Rohan profile card === */
  .rohan-profile-card { margin-bottom: 6px; }
  .rohan-profile-inner { padding: 12px 12px 8px; }

  /* === More stories title margin === */
  .more-stories-title { margin-bottom: -8px; }
  .more-stories { margin-top: 40px; }

  /* === Wins section === */
  .wins-title { font-size: clamp(20px, 6vw, 26px); margin-bottom: 6px; }
  .wins-sub { font-size: 13.5px; margin-bottom: 20px; max-width: 100%; }

  /* === Brand wordmark + footer === */
  .brand .wordmark, .brand .wordmark em { font-size: 14px; }
  .brand .mark { width: 26px; height: 26px; }
  footer.site { font-size: 12.5px; gap: 10px; padding: 20px 16px; }
  footer.site nav { gap: 16px; }
}

/* Ultra-narrow phones (320-380px) */
@media (max-width: 380px) {
  /* Smaller section titles so long headlines don't pile on 6 lines */
  .section-title { font-size: clamp(20px, 6.5vw, 26px); }

  /* Tighten Rohan profile header so name+tag don't crowd avatar */
  .rohan-name { font-size: 14.5px; }
  .rohan-tag { font-size: 11.5px; }

  /* Tighter step-label */
  .step-label { font-size: 11px; padding: 7px 16px; gap: 8px; }
  .step-num { width: 24px; height: 24px; font-size: 11px; }

  /* Story name slightly smaller */
  .story-name { font-size: clamp(18px, 6vw, 22px); }
  .story-desc { font-size: 13px; }
}

/* Disable hover-scale on touch devices (no hover) to save paint */
@media (hover: none) {
  .breakout-card:hover { transform: none; }
  .breakout-card:hover img { transform: none; }
  .breakout-card:hover .breakout-play { transform: translate(-50%, -50%); }
  .wins-grid a:hover img { transform: none; box-shadow: none; }
  .case-card:hover { transform: none; }
  .client-card:hover { transform: none; }
  .client-proof-item:hover { transform: none; box-shadow: none; }
  .rohan-wins-grid a:hover { transform: none; box-shadow: none; }
  .story:hover { border-color: var(--hairline-strong); box-shadow: 0 24px 60px -28px rgba(8, 16, 40, 0.7), 0 0 24px rgba(126, 176, 255, 0.05); }
}
