:root {
  --ink: #0a0a0c;
  --paper: #ffffff;
  --mist: #f5f5f7;
  --muted: #6e6e73;
  --hairline: rgba(0, 0, 0, 0.08);
  --blue: #0045ff;
  --blue-deep: #0038d0;
  --radius: 22px;
  --section-pad: clamp(96px, 11vw, 136px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }

/* ---------- wordmark ---------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img { height: 36px; width: auto; display: block; transform: translateY(2px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--hairline); background: rgba(255, 255, 255, 0.85); }
.nav-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.nav-links { display: flex; align-items: flex-end; gap: 30px; }
.nav-links a {
  font-size: 14px;
  color: rgba(10, 10, 12, 0.75);
  text-decoration: none;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  padding: 7px 16px;
  border-radius: 100px;
  transition: background 0.25s;
}
.nav-links .nav-cta:hover { background: rgba(10, 10, 12, 0.8); color: #fff; }

/* burger (mobile) */
.nav-burger {
  display: none;
  align-self: center;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 18px; height: 1.6px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav.open .nav-burger span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-burger { display: flex; }
  .wordmark img { height: 28px; }
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 28px 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hairline);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-size: 16px; padding: 10px 0; width: 100%; }
  .nav-links .nav-cta {
    width: auto;
    margin-top: 10px;
    font-size: 15px;
    padding: 10px 22px;
  }
}

/* ---------- shared ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
section { position: relative; }
[id] { scroll-margin-top: 76px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
}
.sub {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 620px;
}

/* reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .reel-card { transition: none; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 28px 80px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -30%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(0, 69, 255, 0.07), transparent 62%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  max-width: 15ch;
  margin: 0 auto;
}
.hero h1 .accent { color: var(--blue); }
.hero .sub { margin: 26px auto 0; }
.hero-tag {
  margin: 30px auto 0;
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.75;
  color: rgba(10, 10, 12, 0.8);
}
.hero-ctas { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s, color 0.3s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(0, 69, 255, 0.28); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 69, 255, 0.34); }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px rgba(10, 10, 12, 0.2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(10, 10, 12, 0.45); transform: translateY(-2px); }
.hero-mark {
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-mark .lam { color: var(--blue); }

/* ---------- stats ---------- */
.stats { padding: 40px 0 calc(var(--section-pad) * 0.8); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--hairline);
  padding-top: 56px;
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 6px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- reels (dark) ---------- */
.reels {
  background: #000;
  color: #fff;
  padding: var(--section-pad) 0;
  overflow: hidden;
}
.reels .h2 { color: #fff; }
.reels .sub { color: rgba(255, 255, 255, 0.6); }
.reels-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
/* the shelf: a scroll-snap carousel with glass arrows either side */
.reel-shelf { position: relative; margin-top: 64px; }
.reel-carousel {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* a horizontal swipe belongs to the shelf — without this iOS and Chrome read it
     as a back-gesture and navigate away mid-browse */
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 18px;   /* room for the hover lift so cards don't clip */
  scrollbar-width: none;
}
.reel-carousel::-webkit-scrollbar { display: none; }
.reel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 10, 14, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, opacity 0.25s, transform 0.25s;
}
.reel-nav:hover { background: rgba(0, 69, 255, 0.85); border-color: transparent; }
.reel-nav.prev { left: -10px; }
.reel-nav.next { right: -10px; }
.reel-nav[disabled] { opacity: 0; pointer-events: none; }
/* touch screens scroll the shelf with a thumb — the arrows are just noise there */
@media (hover: none) { .reel-nav { display: none; } }
/* the dot bar: position, jump-to, and the affordance touch users get instead of arrows */
.reel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 2px;
}
/* the dot you see is 8px; the button around it is 24px so a thumb can land on it.
   content-box + background-clip paints only the middle, keeping the padding invisible. */
.reel-dots button {
  box-sizing: content-box;
  width: 8px; height: 8px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  background-clip: content-box;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.reel-dots button:hover { background: rgba(255, 255, 255, 0.5); background-clip: content-box; }
.reel-dots button[aria-selected="true"] { width: 22px; border-radius: 8px; background: var(--blue); background-clip: content-box; }
/* the shelf takes focus so the arrow keys have somewhere to land */
.reel-carousel:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 22px; }
.reel-card {
  position: relative;
  display: block;
  /* phones get one big card with the next one peeking, so a swipe has an obvious
     target; desktop keeps the multi-card shelf */
  flex: 0 0 clamp(220px, 76vw, 300px);
  scroll-snap-align: start;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, #101014, #17171d 55%, #0c0c10);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
/* mouse only: a phone fires :hover on tap and the card would stay lifted after it */
@media (hover: hover) {
  .reel-card:hover { transform: translateY(-6px); border-color: rgba(0, 69, 255, 0.65); }
}
.reel-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-card .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.reel-card .play::after {
  content: "";
  display: block;
  margin-left: 4px;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.reel-card.playing .play { opacity: 0; }
.reel-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  color: #fff;
}
.reel-meta b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.reel-meta span { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, 0.66); }

/* expanded reel */
.reel-modal {
  border: 0;
  padding: 0;
  /* the global * { margin: 0 } reset kills the UA's margin:auto, which is the only
     thing centring a top-layer dialog — put it back or the reel opens flush left */
  margin: auto;
  background: transparent;
  width: fit-content;
  max-width: 94vw;
  max-height: 94vh;
  overflow: visible;
  color: #fff;
}
.reel-modal.loading::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  animation: reel-spin 0.7s linear infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes reel-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .reel-modal.loading::before { animation-duration: 2.4s; }
}
.reel-modal::backdrop { background: rgba(0, 0, 0, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* sized off the height so the clip is as big as the screen allows and the dialog
   hugs it — no letterboxed bars either side */
.reel-modal video {
  display: block;
  height: min(78vh, 860px);
  width: auto;
  max-width: 94vw;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.reel-modal-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 14px 4px 0;
  font-size: 14px;
}
.reel-modal-meta b { font-size: 17px; font-weight: 600; }
.reel-modal-meta span { color: rgba(255, 255, 255, 0.62); }
.reel-modal-meta a { margin-left: auto; color: #fff; text-decoration: none; opacity: .8; }
.reel-modal-meta a:hover { opacity: 1; }
.reel-close {
  position: absolute;
  top: -14px; right: -14px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
/* step through the batch without leaving the dialog */
.reel-arrow {
  position: absolute;
  top: calc(min(78vh, 860px) / 2);   /* centred on the video, not the meta line */
  transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.reel-arrow:hover { background: rgba(0, 69, 255, 0.85); border-color: transparent; }
.reel-arrow.prev { left: -64px; }
.reel-arrow.next { right: -64px; }
/* small screens: the dialog fills the width, so anything hung outside its box is
   off-screen — bring the arrows and the close button in over the video itself */
@media (max-width: 700px) {
  .reel-arrow.prev { left: 8px; }
  .reel-arrow.next { right: 8px; }
  .reel-close { top: 10px; right: 10px; width: 42px; height: 42px; font-size: 26px; }
}
.reel-count { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.45); }
.reel-handle { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.reel-handle:hover { border-bottom-color: #fff; }
/* gentle open: fade the backdrop, lift the card */
/* closing gets its own fade — a dialog that vanishes on the frame the thumb moves
   reads as a glitch, not a dismissal. allow-discrete keeps `display` around long
   enough for the transition; browsers without it just close instantly, which is
   the old behaviour and fine. */
.reel-modal { transition: opacity .18s ease, overlay .18s allow-discrete, display .18s allow-discrete; opacity: 0; }
.reel-modal[open] { opacity: 1; animation: reel-in 0.3s var(--ease); }
.reel-modal[open]::backdrop { animation: reel-fade 0.3s ease; }
@keyframes reel-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
@keyframes reel-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .reel-modal[open], .reel-modal[open]::backdrop { animation: none; }
  .reel-modal { transition: none; }
}
.reel-close:hover { background: #000; border-color: rgba(255, 255, 255, 0.6); }
@media (max-width: 560px) {
  .reel-close { top: 6px; right: 6px; }
}

.li-block { margin-top: clamp(48px, 6vw, 76px); }
.li-lead { text-align: center; font-size: 15px; color: rgba(255, 255, 255, 0.62); margin-bottom: 22px; }
.li-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.li-stat {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 20px 18px;
  text-align: center;
}
.li-stat b { display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.li-stat span { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }

@media (max-width: 880px) {
  .reel-grid { grid-template-columns: repeat(2, 1fr); }
  .li-strip { grid-template-columns: repeat(2, 1fr); }
}

.reels-note { margin-top: 56px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.62); }

/* ---------- testimonials ---------- */
.quotes { padding: var(--section-pad) 0; background: var(--paper); }
.quotes-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 64px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07); }
.stars { color: var(--blue); font-size: 13px; letter-spacing: 4px; }
.quote-card p { font-size: 17px; line-height: 1.55; letter-spacing: -0.01em; }
.quote-card footer { margin-top: auto; font-size: 14px; color: var(--muted); }
.quote-card footer b { color: var(--ink); font-weight: 600; display: block; font-size: 15px; }

/* ---------- packages ---------- */
.packages { background: var(--mist); padding: var(--section-pad) 0; }
.packages-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.billing {
  margin: 40px auto 56px;
  display: inline-flex;
  background: rgba(10, 10, 12, 0.06);
  border-radius: 100px;
  padding: 4px;
  position: relative;
}
.billing button {
  position: relative;
  z-index: 1;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  border: 0;
  background: transparent;
  padding: 9px 22px;
  border-radius: 100px;
  cursor: pointer;
  color: #5c5c61;
  transition: color 0.3s;
}
.billing button.active { color: var(--ink); }
.billing .pill {
  position: absolute;
  top: 4px; bottom: 4px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: left 0.35s var(--ease), width 0.35s var(--ease);
}
.billing .save {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  margin-left: 6px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--hairline);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.09); }
.plan.featured {
  border: 1.5px solid var(--blue);
  box-shadow: 0 20px 60px rgba(0, 69, 255, 0.13);
}
.plan.featured:hover { box-shadow: 0 28px 70px rgba(0, 69, 255, 0.18); }
.plan .badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan .price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan .price b {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.18s ease;
}
.plan .price span { font-size: 15px; color: var(--muted); }
.plan .price-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
  transition: opacity 0.18s ease;
}
.plan .tagline { margin-top: 16px; font-size: 16px; line-height: 1.45; letter-spacing: -0.01em; }
.plan ul { list-style: none; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 11px; }
.plan li {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(10, 10, 12, 0.82);
  padding-left: 26px;
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(0, 69, 255, 0.1);
}
.plan li::after {
  content: "";
  position: absolute;
  left: 3.5px; top: 8.5px;
  width: 6.5px; height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.plan .addon { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.plan .cta {
  margin-top: auto;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 13px 0;
  border-radius: 100px;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 12, 0.2);
  transition: all 0.3s var(--ease);
}
.plan .cta:hover { box-shadow: inset 0 0 0 1px rgba(10, 10, 12, 0.45); transform: translateY(-1px); }
/* the whole tile is the target, not just the button — the CTA's own link is simply
   stretched over the card. No JS, so cmd-click, middle-click, "copy link" and the
   keyboard tab order all keep working exactly as they did. The card is already
   position:relative, which is what the stretch anchors to. */
.plan { cursor: pointer; }
.plan .cta::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
/* the button still has to look like the thing you press */
.plan:hover .cta { box-shadow: inset 0 0 0 1px rgba(10, 10, 12, 0.45); transform: translateY(-1px); }
/* keyboard users get the ring on the card, since the link now covers it */
.plan:focus-within { outline: 2px solid var(--brand, #0045ff); outline-offset: 3px; }
.plan .cta:focus-visible { outline: none; }
/* deliberately NOT lifting the text above the overlay: a z-index here would punch
   holes in the click target exactly where the feature list is — the part of the tile
   people actually aim at. Losing text selection on a pricing card is the cheaper
   trade. ponytail: if selection is ever wanted, put the overlay behind with z-index
   -1 and give the card a stacking context instead. */
.plan.featured .cta { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(0, 69, 255, 0.26); }
.plan.featured .cta:hover { background: var(--blue-deep); }
.plan-footnote { text-align: center; margin-top: 40px; font-size: 14px; color: var(--muted); }

/* ---------- contact section (home) ---------- */
.contact { padding: var(--section-pad) 0 calc(var(--section-pad) * 1.1); text-align: center; }
.contact .h2 { max-width: 18ch; margin: 0 auto; }
.contact .sub { margin: 22px auto 0; }
.contact .btn { margin-top: 40px; }

/* ---------- subpages ---------- */
.page { padding: 150px 0 calc(var(--section-pad) * 0.9); min-height: 62vh; }
.page-head { max-width: 720px; }
.page-head.centered { max-width: 760px; margin: 0 auto; text-align: center; }
.page-head h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.06;
}
.page-head .sub { margin-top: 20px; }
.page-head.centered .sub { margin-left: auto; margin-right: auto; }

/* legal prose */
.prose { max-width: 720px; margin-top: 64px; }
.prose section {
  border-top: 1px solid var(--hairline);
  padding-top: 34px;
  margin-top: 34px;
}
.prose section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.prose h2 .num {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  margin-right: 10px;
}
.legal-intro {
  max-width: 720px;
  margin-top: 30px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(10, 10, 12, 0.78);
}
.prose p, .prose li {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(10, 10, 12, 0.78);
}
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 20px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--blue); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose .meta { font-size: 14px; color: var(--muted); margin-bottom: 6px; }

/* team */
.team-grid {
  margin-top: 72px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.member {
  flex: 0 1 340px;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 44px 24px 38px;
  text-align: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07); }
.member .avatar {
  width: 108px; height: 108px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
  overflow: hidden;
}
.member .avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.member p { margin-top: 5px; font-size: 14px; color: var(--muted); }

/* contact page */
.contact-page-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* a grid/flex child is min-content wide by default, and an input's min-content is
   ~20 characters — which is what pushed the whole form past a small iPhone */
.contact-form label, .contact-form .form-row > *, .contact-form .form-row-3 > * { min-width: 0; }
.contact-form input, .contact-form textarea, .contact-form select { max-width: 100%; }
.contact-form .consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.contact-form .consent input {
  margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.contact-form .consent a { color: var(--blue); text-decoration: none; }
.contact-form .consent a:hover { text-decoration: underline; }
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-form select {
  /* the dropdowns have to match the text fields beside them — a browser-default
     select next to a styled input is 19px tall against 69px, which reads as broken
     and is under the 44px minimum a thumb needs */
  font: inherit;
  font-size: 16px;              /* under 16px, iOS zooms the page on focus */
  padding: 13px 44px 13px 16px; /* room on the right for the arrow */
  border: 1px solid rgba(10, 10, 12, 0.16);
  border-radius: 14px;
  background-color: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%230a0a0c' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(0, 69, 255, 0.14);
}
.contact-form input, .contact-form textarea {
  font: inherit;
  font-size: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(10, 10, 12, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(0, 69, 255, 0.14);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: var(--blue);
  border: 0;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 6px;
  align-self: flex-start;
  box-shadow: 0 8px 24px rgba(0, 69, 255, 0.28);
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.contact-form button:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 69, 255, 0.34); }
.contact-aside { display: flex; flex-direction: column; gap: 26px; }
.contact-aside .block h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-aside .block a {
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.contact-aside .block a:hover { color: var(--blue); }

/* ---------- onboarding wizard ---------- */
.ob-banner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 34px 36px;
  margin-bottom: 40px;
}
.ob-banner h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.ob-banner .sub { margin-top: 10px; font-size: 16px; max-width: 480px; }
.ob-price { text-align: right; white-space: nowrap; }
.ob-price b {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ob-price span { font-size: 15px; color: var(--muted); }
.ob-price small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.ob-progress2 { max-width: 720px; margin-bottom: 36px; }
.ob-progress-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.ob-progress-track {
  height: 4px;
  border-radius: 100px;
  background: rgba(10, 10, 12, 0.08);
  overflow: hidden;
}
.ob-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: var(--blue);
  transition: width 0.45s var(--ease);
}
.ob-crumbs { display: flex; gap: 4px 14px; flex-wrap: wrap; margin-top: 10px; }
.ob-crumb {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 4px 2px;
  cursor: pointer;
  transition: color 0.2s;
}
.ob-crumb:hover:not(:disabled) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ob-crumb.current { color: var(--blue); font-weight: 600; }
.ob-crumb.done { color: var(--ink); }
.ob-crumb.done::after { content: " ✓"; color: var(--blue); font-weight: 600; }
.ob-crumb:disabled { color: rgba(10, 10, 12, 0.28); cursor: default; }

.ob-form { max-width: 720px; }
.ob-step legend {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.ob-step { border: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-form input[type="file"] { width: 100%; max-width: 100%; min-width: 0; font-size: 14px; color: var(--muted); }
.contact-form input[type="file"]::file-selector-button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 100px;
  padding: 9px 18px;
  margin-right: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form input[type="file"]::file-selector-button:hover { background: rgba(10, 10, 12, 0.8); }
.contact-form input[type="file"]::-webkit-file-upload-button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 100px;
  padding: 9px 18px;
  margin-right: 14px;
  cursor: pointer;
}
.ob-step .step-hint { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.js .ob-step[hidden] { display: none; }
.ob-nav { display: flex; gap: 12px; margin-top: 26px; }
.ob-nav .ob-back {
  font: inherit; font-size: 15px; font-weight: 500;
  color: var(--ink); background: transparent;
  border: 0; box-shadow: inset 0 0 0 1px rgba(10, 10, 12, 0.2);
  padding: 13px 26px; border-radius: 100px; cursor: pointer;
  transition: box-shadow 0.25s;
}
.ob-nav .ob-back:hover { box-shadow: inset 0 0 0 1px rgba(10, 10, 12, 0.45); }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* platform cards */
.platform-card {
  background: var(--mist);
  border-radius: 16px;
  padding: 18px 20px;
}
.platform-card .pc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.platform-card h4 { font-size: 16px; font-weight: 600; }
.pc-ask { font-size: 13px; color: var(--muted); margin-left: 6px; }
.contact-form .pc-create, .pc-create {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.pc-create input { accent-color: var(--blue); width: 15px; height: 15px; margin: 0; }
.pc-create:has(input:checked) { color: var(--blue); }
.platform-card .creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  transition: opacity 0.25s;
}
.platform-card.create-mode .creds { opacity: 0.35; }
.platform-card .creds label { font-size: 12.5px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.platform-card .creds input {
  font: inherit; font-size: 15px;
  padding: 10px 13px;
  border: 1px solid rgba(10, 10, 12, 0.16);
  border-radius: 10px;
  background: #fff;
}
.platform-card .creds input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 69, 255, 0.13); }

/* content option cards */
.opt-list { display: flex; flex-direction: column; gap: 10px; }
.contact-form .opt-list label { flex-direction: row; }
.opt-list label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--mist);
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 14.5px;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.2s;
}
.opt-list label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--blue); }
.opt-list input { accent-color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.opt-list b { font-weight: 600; }

.ob-terms {
  background: var(--mist);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(10, 10, 12, 0.75);
  max-height: 260px;
  overflow-y: auto;
}
.ob-terms h4 { font-size: 14px; margin-bottom: 8px; }
.ob-terms p { margin-bottom: 10px; }

@media (max-width: 640px) {
  .ob-banner { padding: 26px 24px; }
  .ob-price { text-align: left; }
  .form-row-3 { grid-template-columns: 1fr; }
  .platform-card .creds { grid-template-columns: 1fr; }
  .ob-progress li:not(.current) span.lbl { display: none; }
}

/* embedded Stripe checkout on the onboarding thanks page */
.footer-social { display: flex; gap: 10px; list-style: none; padding: 22px 0 0; margin: 0; }
.footer-social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--hairline); color: var(--muted); transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-social a:hover { color: var(--blue); border-color: var(--blue); }

/* payment step */
.pay-summary { border: 1px solid var(--hairline); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.pay-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; }
.pay-row + .pay-row { border-top: 1px solid var(--hairline); }
.pay-row span { color: var(--muted); }
#payElement { min-height: 90px; margin: 14px 0 4px; }
.pay-error { color: #c81e1e; font-size: 14px; margin: 10px 0 0; }
.pay-note { margin-top: 16px; opacity: .65; font-size: 13px; }

.pay-testmode {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(200, 120, 0, 0.35);
  background: rgba(255, 176, 32, 0.12);
  color: #8a5300;
  font-size: 13.5px;
  font-weight: 500;
}

/* wire instructions on the status page */
.wire-box {
  max-width: 560px;
  margin: 40px auto 0;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 26px 28px;
  background: var(--mist);
}
.wire-box h2 { font-size: 19px; font-weight: 600; margin-bottom: 16px; }
.wire-box dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.wire-box dt { color: var(--muted); font-size: 14px; }
.wire-box dd { margin: 0; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; word-break: break-word; }
.wire-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.wire-box .btn { margin-top: 18px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hairline); padding: 44px 0 52px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .wordmark img { height: 20px; }
.footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer nav a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.footer nav a:hover { color: var(--ink); }
.footer .copy { font-size: 13px; color: var(--muted); }
.footer-legal {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .quote-grid, .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .plan.featured { order: -1; }
  .hero { min-height: 80vh; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-page-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 560px) {
  .stat b { font-size: 32px; }
  .stat span { font-size: 11px; letter-spacing: 0.04em; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .team-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
}

/* unfinished-form reminder */
.draft-nudge {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: calc(100% - 32px);
  max-width: 420px;
  padding: 18px 18px 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  animation: draft-nudge-in 420ms var(--ease) both;
}
.dn-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.dn-msg { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.dn-cta {
  margin-top: 12px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.dn-cta:hover { background: var(--blue-deep); }
.dn-x {
  margin: -4px -4px 0 auto;
  padding: 4px 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.dn-x:hover { color: var(--ink); }
@keyframes draft-nudge-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .draft-nudge { animation: none; }
}

a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
}
