/* ============================================================
   Flobook Landing Page — Pure CSS stylesheet
   Ported from Tailwind CSS (Next.js) to vanilla CSS
   ============================================================ */

/* ── 1. Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* ── 2. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Brand */
  --brand:        #d95f31;
  --brand-strong: #b94e28;
  --brand-soft:   rgba(217, 95, 49, 0.14);

  /* Neutrals */
  --neutral-50:  #fafaf8;
  --neutral-100: #f5f5f4;
  --neutral-200: #e5e5e4;
  --neutral-300: #d4d4d3;
  --neutral-400: #a3a3a2;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-900: #171717;

  /* Page background */
  --bg-page: #fafaf9;

  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Easing */
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  /* Shadows */
  --shadow-card:       0 2px 40px -12px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
  --shadow-card-hover: 0 8px 50px -12px rgba(0,0,0,0.1),  inset 0 1px 0 rgba(255,255,255,0.8);
  --shadow-phone:      0 40px 80px -20px rgba(0,0,0,0.18), 0 16px 32px -8px rgba(0,0,0,0.1);

  /* Breakpoints (for reference — use in media queries) */
  /* sm: 640px | md: 768px | lg: 1024px */
}

/* ── 3. Body ───────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  color: var(--neutral-900);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--brand-soft);
}

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

/* ── 4. Typography ────────────────────────────────────────── */
.font-heading {
  font-family: var(--font-heading);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-brand {
  color: var(--brand);
}

.italic {
  font-style: italic;
}

.text-muted {
  color: var(--neutral-500);
}

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

/* ── 5. Layout — Site Frame ───────────────────────────────── */
.site-frame {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;   /* 20px */
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .site-frame {
    padding-left: 1.5rem;  /* 24px */
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-frame {
    padding-left: 2rem;    /* 32px */
    padding-right: 2rem;
  }
}

/* Utility */
.mx-auto { margin-left: auto; margin-right: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── 6. Grain Overlay ─────────────────────────────────────── */
.has-grain {
  position: relative;
}

.has-grain::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.018;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── 7. Dot Grid ──────────────────────────────────────────── */
.dot-grid {
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.06) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
}

/* ── 8. Card Spotlight ────────────────────────────────────── */
.card-spotlight {
  position: relative;
}

.card-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.6s var(--ease-spring);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    transparent 40%
  );
  pointer-events: none;
}

.card-spotlight:hover::before {
  opacity: 1;
}

/* ── 9. Scroll Reveal ─────────────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity  0.8s var(--ease-spring),
    transform 0.8s var(--ease-spring);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 10. Double Bezel Cards ───────────────────────────────── */
.bezel {
  border-radius: 1.75rem;          /* 28px */
  background: rgba(0, 0, 0, 0.02);
  padding: 0.375rem;               /* 6px = 1.5 */
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.bezel-inner {
  border-radius: calc(1.75rem - 0.375rem); /* ~24px */
  background: #ffffff;
  box-shadow: var(--shadow-card);
  height: 100%;
}

/* ── 11. Badge / Pill ─────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.375rem 1rem;           /* py-1.5 px-4 */
  font-size: 0.6875rem;             /* 11px */
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
  background: rgba(23, 23, 23, 0.04);
  box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.06);
}

.badge-white {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.06);
}

/* ── 12. Floating Nav ─────────────────────────────────────── */
.floating-nav-wrapper {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 0;
}

.floating-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;     /* py-2.5 px-5 */
  background: transparent;
  transition:
    background 0.7s var(--ease-spring),
    box-shadow  0.7s var(--ease-spring);
}

.floating-nav.is-scrolled {
  background: rgba(250, 250, 249, 0.8);
  box-shadow: 0 8px 32px rgba(30, 26, 22, 0.06);
  box-shadow: 0 8px 32px rgba(30, 26, 22, 0.06), 0 0 0 1px rgba(23, 23, 23, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.floating-nav__logo {
  font-size: 1.125rem;            /* text-lg */
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
}

.floating-nav__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--neutral-900);
  padding: 0.5rem 1rem;           /* py-2 px-4 */
  font-size: 0.875rem;            /* text-sm */
  font-weight: 500;
  color: var(--bg-page);
  text-decoration: none;
  transition:
    box-shadow 0.5s var(--ease-spring),
    transform  0.5s var(--ease-spring);
}

.floating-nav__cta:hover {
  box-shadow: 0 4px 16px rgba(30, 26, 22, 0.15);
}

.floating-nav__cta:active {
  transform: scale(0.97);
}

/* Arrow icon bubble in nav CTA */
.floating-nav__cta .icon-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;   /* 20px */
  height: 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  transition:
    transform 0.5s var(--ease-spring);
  flex-shrink: 0;
}

.floating-nav__cta:hover .icon-bubble {
  transform: translate(2px, -1px) scale(1.1);
}

/* ── 13. Hero Section ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  padding-top: 5rem;    /* pt-20 */
  padding-bottom: 6rem; /* pb-24 */
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 7rem;  /* lg:pt-28 */
  }
}

.hero__dot-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.hero__vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,0,0,0.018), transparent);
}

/* Hero inner: site-frame fills the space between nav and bottom */
.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100dvh - 7rem);
}

.hero__content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 4rem;           /* gap-16 */
}

@media (min-width: 1024px) {
  .hero__content {
    flex-direction: row;
    gap: 5rem;          /* lg:gap-20 */
  }
}

/* Left copy */
.hero__copy {
  flex: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero__copy {
    text-align: left;
  }
}

/* "Launching Soon" pill */
.hero__eyebrow {
  display: inline-flex;
  border-radius: 9999px;
  background: rgba(23, 23, 23, 0.04);
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
  box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.06);
}

/* H1 */
.hero__title {
  margin-top: 2rem;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  text-wrap: balance;
}

/* Subtitle */
.hero__subtitle {
  margin-top: 1.75rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;      /* max-w-xl */
  font-size: 1.125rem;   /* text-lg */
  line-height: 1.625;
  color: var(--neutral-600);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: 1.25rem;  /* lg:text-xl */
  }
}

@media (min-width: 1024px) {
  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.25rem;
  }
}

/* Waitlist wrapper inside hero */
.hero__form-wrap {
  margin-top: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 32rem;      /* max-w-lg */
}

@media (min-width: 1024px) {
  .hero__form-wrap {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Trust line */
.hero__trust {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--neutral-500);
}

@media (min-width: 1024px) {
  .hero__trust {
    justify-content: flex-start;
  }
}

.hero__trust-dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: var(--neutral-300);
  display: inline-block;
  flex-shrink: 0;
}

/* ── 14. Phone Mockup ─────────────────────────────────────── */
.phone-wrap {
  position: relative;
  flex-shrink: 0;
  display: none;        /* hidden on mobile */
}

@media (min-width: 768px) {
  .phone-wrap {
    display: block;
  }
}

/* Layered ambient glow layers */
.phone-glow-outer {
  position: absolute;
  inset: -2.5rem;       /* -10 * 0.25rem */
  border-radius: 4rem;
  background: rgba(23, 23, 23, 0.03);
  filter: blur(48px);
  pointer-events: none;
}

.phone-glow-inner {
  position: absolute;
  inset: -1.25rem;      /* -5 * 0.25rem */
  border-radius: 3.5rem;
  background: rgba(23, 23, 23, 0.02);
  filter: blur(20px);
  pointer-events: none;
}

/* Phone frame */
.phone-frame {
  position: relative;
  width: 280px;
  border-radius: 3rem;   /* rounded-[3rem] */
  background: var(--neutral-900);
  padding: 0.75rem;      /* p-3 */
  box-shadow: var(--shadow-phone);
  transition: transform 0.7s var(--ease-spring);
}

@media (min-width: 1024px) {
  .phone-frame {
    transform: rotate(2deg);
  }

  .phone-frame:hover {
    transform: rotate(0deg);
  }
}

/* Notch */
.phone-notch {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  z-index: 10;
  height: 1.5rem;        /* h-6 */
  width: 6rem;           /* w-24 */
  transform: translateX(-50%);
  border-radius: 9999px;
  background: var(--neutral-900);
}

/* Screen */
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 2.25rem; /* rounded-[2.25rem] */
  background: #ffffff;
}

/* Header accent gradient */
.phone-header-gradient {
  height: 6rem;           /* h-24 */
  background: linear-gradient(
    to bottom right,
    rgba(217, 95, 49, 0.15),
    rgba(217, 95, 49, 0.05),
    transparent
  );
}

/* Avatar + info */
.phone-profile {
  position: relative;
  margin-top: -2.5rem;   /* -mt-10 */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.phone-avatar {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, var(--brand), var(--brand-strong));
  box-shadow: 0 0 0 3px #ffffff;
  flex-shrink: 0;
}

.phone-name {
  margin-top: 0.625rem;  /* mt-2.5 */
  font-size: 0.8125rem;  /* 13px */
  font-weight: 600;
  color: var(--neutral-900);
}

.phone-sub {
  font-size: 0.625rem;   /* 10px */
  color: var(--neutral-500);
}

/* Service cards list */
.phone-services {
  margin-top: 1rem;
  padding: 0 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;            /* space-y-2 */
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;  /* rounded-xl */
  border: 1px solid var(--neutral-100);
  background: rgba(245, 245, 244, 0.5);
  padding: 0.75rem 0.875rem; /* py-3 px-3.5 */
}

.service-row__name {
  font-size: 0.6875rem;   /* 11px */
  font-weight: 500;
  color: var(--neutral-900);
}

.service-row__duration {
  font-size: 0.5625rem;   /* 9px */
  color: var(--neutral-400);
}

.service-row__price {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--brand);
}

/* Book Now button */
.phone-book-btn {
  margin-top: 0.25rem;
}

.phone-book-btn__inner {
  width: 100%;
  border-radius: 9999px;
  background: var(--neutral-900);
  padding: 0.625rem;      /* py-2.5 */
  text-align: center;
  font-size: 0.6875rem;   /* 11px */
  font-weight: 500;
  color: #ffffff;
}

/* ── 15. Value Props Strip ────────────────────────────────── */
.value-props {
  border-top: 1px solid rgba(229, 229, 228, 0.5);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .value-props {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.value-props__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .value-props__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.value-prop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .value-prop {
    align-items: flex-start;
    text-align: left;
  }
}

/* Icon box */
.value-prop__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;    /* 40px */
  height: 2.5rem;
  border-radius: 0.75rem;   /* rounded-xl */
  background: rgba(23, 23, 23, 0.04);
  box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.06);
  color: var(--neutral-700);
}

.value-prop__title {
  margin-top: 0.75rem;
  font-size: 0.875rem;    /* text-sm */
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
}

.value-prop__desc {
  margin-top: 0.25rem;
  font-size: 0.8125rem;   /* 13px */
  line-height: 1.4;
  color: var(--neutral-500);
}

/* ── 16. Features Bento ───────────────────────────────────── */
.features-section {
  border-top: 1px solid rgba(229, 229, 228, 0.5);
  background: var(--neutral-50);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .features-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.features-section__header {
  margin-bottom: 4rem;
  text-align: center;
}

.features-section__title {
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.875rem;   /* text-3xl */
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .features-section__title {
    font-size: 3rem;     /* md:text-5xl */
  }
}

.features-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .features-bento {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* Large card: spans 7 cols / row-span 2 */
.feature-card--large {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .feature-card--large {
    grid-column: span 7;
    grid-row: span 2;
  }
}

/* Small cards: span 5 then 6 */
.feature-card--sm-5 {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .feature-card--sm-5 {
    grid-column: span 5;
  }
}

.feature-card--sm-6 {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .feature-card--sm-6 {
    grid-column: span 6;
  }
}

/* Feature card bezel wrapper (outer shell) */
.feature-card__outer {
  height: 100%;
  border-radius: 1.75rem;
  background: rgba(0, 0, 0, 0.02);
  padding: 0.375rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Feature card inner core */
.feature-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: calc(1.75rem - 0.375rem);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.7s var(--ease-spring);
  padding: 1.75rem;   /* p-7 default */
}

.feature-card__inner:hover {
  box-shadow: var(--shadow-card-hover);
}

.feature-card--large .feature-card__inner {
  padding: 2rem;
}

@media (min-width: 768px) {
  .feature-card--large .feature-card__inner {
    padding: 2.5rem; /* md:p-10 */
  }
}

.feature-card__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;  /* text-xs */
  color: var(--neutral-300);
}

.feature-card__title {
  margin-top: 1rem;
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-size: 1.25rem;  /* text-xl default */
}

.feature-card--large .feature-card__title {
  font-size: 1.5rem;   /* text-2xl */
}

@media (min-width: 768px) {
  .feature-card--large .feature-card__title {
    font-size: 1.875rem; /* md:text-3xl */
  }
}

.feature-card__desc {
  margin-top: 0.75rem;
  line-height: 1.625;
  color: var(--neutral-600);
  font-size: 0.9375rem;  /* 15px */
}

.feature-card--large .feature-card__desc {
  max-width: 28rem;
  font-size: 1rem;
}

.feature-card__preview-wrap {
  margin-top: auto;
  padding-top: 2rem;
}

/* ── Mini Page Preview (inside large feature card) ───────── */
.mini-page-preview {
  display: flex;
  gap: 0.75rem;
}

.mini-page-preview__card {
  width: 9rem;          /* w-36 */
  border-radius: 0.75rem;
  border: 1px solid var(--neutral-100);
  background: rgba(245, 245, 244, 0.8);
  padding: 0.75rem;
}

.mini-page-preview__avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--neutral-200);
}

.mini-page-preview__line-lg {
  margin-top: 0.5rem;
  height: 0.375rem;
  width: 4rem;
  border-radius: 9999px;
  background: var(--neutral-200);
}

.mini-page-preview__line-sm {
  margin-top: 0.25rem;
  height: 0.375rem;
  width: 3rem;
  border-radius: 9999px;
  background: var(--neutral-100);
}

.mini-page-preview__items {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mini-page-preview__item {
  height: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--neutral-100);
  background: #ffffff;
}

/* Calendar card */
.mini-page-preview__cal-header {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.mini-page-preview__cal-tag-lg {
  height: 0.375rem;
  width: 2.5rem;
  border-radius: 9999px;
  background: var(--neutral-200);
}

.mini-page-preview__cal-tag-sm {
  height: 0.375rem;
  width: 1.5rem;
  border-radius: 9999px;
  background: var(--neutral-100);
}

.mini-page-preview__cal-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
}

.mini-page-preview__cal-cell {
  height: 0.875rem;
  border-radius: 2px;
  background: var(--neutral-100);
}

.mini-page-preview__cal-cell--active {
  background: rgba(217, 95, 49, 0.25);
}

.mini-page-preview__cal-cell--mid {
  background: var(--neutral-200);
}

.mini-page-preview__cal-btn {
  margin-top: 0.625rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--neutral-900);
}

/* ── 17. How It Works ─────────────────────────────────────── */
.how-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .how-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.how-section__inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .how-section__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 5rem;
  }
}

/* Sticky left title */
.how-section__aside {
  flex-shrink: 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .how-section__aside {
    position: sticky;
    top: 8rem;   /* lg:top-32 */
    width: 18rem; /* lg:w-72 */
    text-align: left;
  }
}

.how-section__eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-500);
}

.how-section__title {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .how-section__title {
    font-size: 2.25rem;  /* md:text-4xl */
  }
}

/* Steps container (bezel) */
.how-section__steps-outer {
  flex: 1;
  border-radius: 1.75rem;
  background: rgba(0, 0, 0, 0.02);
  padding: 0.375rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.how-section__steps-inner {
  overflow: hidden;
  border-radius: calc(1.75rem - 0.375rem);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

/* Individual step */
.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
}

.step + .step {
  border-top: 1px solid var(--neutral-100);
}

.step__number {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 3rem;     /* text-5xl */
  font-weight: 700;
  line-height: 1;
  color: var(--neutral-200);
}

.step__content {
  padding-top: 0.25rem;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.step__desc {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.625;
  color: var(--neutral-600);
  text-wrap: pretty;
}

/* ── 18. Who It's For ─────────────────────────────────────── */
.audience-section {
  border-top: 1px solid rgba(229, 229, 228, 0.5);
  background: var(--neutral-50);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .audience-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.audience-section__header {
  margin-bottom: 4rem;
  text-align: center;
}

.audience-section__title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .audience-section__title {
    font-size: 3rem;
  }
}

.audience-section__sub {
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--neutral-600);
  text-wrap: pretty;
}

/* Audience tag cloud */
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.audience-tag {
  display: inline-block;
  border-radius: 9999px;
  background: #ffffff;
  padding: 0.625rem 1.25rem;  /* py-2.5 px-5 */
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-600);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  transition:
    background  0.5s var(--ease-spring),
    color       0.5s var(--ease-spring),
    box-shadow  0.5s var(--ease-spring);
  cursor: default;
}

.audience-tag:hover {
  background: var(--neutral-900);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ── 19. Comparison Table ─────────────────────────────────── */
.comparison-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .comparison-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.comparison-section__header {
  margin-bottom: 4rem;
  text-align: center;
}

.comparison-section__title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .comparison-section__title {
    font-size: 3rem;
  }
}

.comparison-section__sub {
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 32rem;
  font-size: 1.125rem;
  color: var(--neutral-600);
}

/* Table bezel wrapper */
.comparison-table-wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;  /* max-w-3xl */
}

.comparison-table-outer {
  border-radius: 1.75rem;
  background: rgba(0, 0, 0, 0.02);
  padding: 0.375rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.comparison-table-inner {
  overflow: hidden;
  border-radius: calc(1.75rem - 0.375rem);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

/* Table */
.comparison-table {
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
  border-collapse: collapse;
}

.comparison-table thead tr {
  border-bottom: 1px solid var(--neutral-100);
}

.comparison-table th {
  padding: 1.25rem 1rem; /* py-5 px-4 */
  font-weight: 500;
  color: var(--neutral-500);
}

.comparison-table th:first-child {
  padding-left: 1.5rem;
}

@media (min-width: 768px) {
  .comparison-table th:first-child {
    padding-left: 2rem;
  }
}

.comparison-table th:last-child {
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .comparison-table th:last-child {
    padding-right: 2rem;
  }
}

.comparison-table th.text-center,
.comparison-table td.text-center {
  text-align: center;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--neutral-100);
  transition: background 0.3s ease;
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table tbody tr:not(.comparison-table__highlight):hover {
  background: rgba(245, 245, 244, 0.6);
}

.comparison-table td {
  padding: 1rem;   /* py-4 px-4 */
  color: var(--neutral-600);
  font-weight: 500;
}

.comparison-table td:first-child {
  padding-left: 1.5rem;
}

@media (min-width: 768px) {
  .comparison-table td:first-child {
    padding-left: 2rem;
  }
}

.comparison-table td:last-child {
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .comparison-table td:last-child {
    padding-right: 2rem;
  }
}

/* Check / Cross icon containers */
.comparison-table .icon-check {
  color: var(--neutral-900);
}

.comparison-table .icon-cross {
  color: var(--neutral-200);
}

/* Flobook highlight row */
.comparison-table__highlight {
  background: var(--neutral-900);
  color: #ffffff;
}

.comparison-table__highlight td {
  color: #ffffff;
}

.comparison-table__highlight td:first-child {
  font-weight: 600;
}

.comparison-table__highlight .commission-cell {
  font-weight: 600;
  color: var(--brand);
}

/* ── 20. Bottom CTA ───────────────────────────────────────── */
.cta-section {
  position: relative;
  border-top: 1px solid rgba(229, 229, 228, 0.5);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .cta-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.cta-section__dot-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.cta-section__inner {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;   /* max-w-2xl */
  text-align: center;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .cta-section__title {
    font-size: 3rem;
  }
}

.cta-section__sub {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--neutral-600);
  text-wrap: pretty;
}

.cta-section__form-wrap {
  margin-top: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 32rem;
}

/* ── 21. Waitlist Form ────────────────────────────────────── */
/* Outer bezel (double-bezel pattern) */
.waitlist-form__outer {
  border-radius: 1.75rem;
  background: rgba(0, 0, 0, 0.02);
  padding: 0.5rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
  .waitlist-form__outer {
    border-radius: 9999px;
  }
}

/* Inner core */
.waitlist-form__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: calc(1.75rem - 0.5rem);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 3px rgba(0,0,0,0.03);
}

@media (min-width: 640px) {
  .waitlist-form__inner {
    flex-direction: row;
    align-items: center;
    gap: 0;
    border-radius: 9999px;
  }
}

/* Email input */
.waitlist-form__input {
  flex: 1;
  background: transparent;
  padding: 0.875rem 1.25rem; /* py-3.5 px-5 */
  font-size: 0.875rem;
  color: var(--neutral-900);
  outline: none;
  border: none;
  width: 100%;
  border-radius: inherit;
}

.waitlist-form__input::placeholder {
  color: var(--neutral-400);
}

@media (min-width: 640px) {
  .waitlist-form__input {
    padding: 0.75rem 1.5rem;  /* sm:py-3 sm:px-6 */
    border-radius: 0;
  }
}

/* Submit button */
.waitlist-form__btn {
  display: flex;
  align-items: center;
  border-radius: 0.75rem;     /* rounded-xl */
  background: var(--neutral-900);
  padding: 0.625rem 0.625rem 0.625rem 1.25rem; /* py-2.5 pl-5 pr-2.5 */
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  border: none;
  margin: 0.25rem 0.25rem 0.25rem 0.25rem; /* mx-1 mb-1 */
  transition:
    box-shadow 0.5s var(--ease-spring),
    transform  0.5s var(--ease-spring),
    opacity    0.3s ease;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .waitlist-form__btn {
    border-radius: 9999px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem; /* sm:py-2 sm:pl-6 sm:pr-2 */
    margin: 0.25rem 0.25rem 0.25rem 0;    /* sm:mr-1 sm:ml-0 sm:mb-0 */
  }
}

.waitlist-form__btn:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.waitlist-form__btn:active {
  transform: scale(0.97);
}

.waitlist-form__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Arrow icon bubble in button */
.waitlist-form__btn .icon-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;   /* 28px */
  height: 1.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 0.75rem;
  flex-shrink: 0;
  transition:
    transform 0.5s var(--ease-spring);
}

.waitlist-form__btn:hover .icon-bubble {
  transform: translate(2px, -1px) scale(1.05);
}

/* Success state */
.waitlist-form__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 1.75rem;
  background: rgba(0, 0, 0, 0.02);
  padding: 1.25rem 2rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
  .waitlist-form__success {
    border-radius: 9999px;
  }
}

.waitlist-form__success svg {
  flex-shrink: 0;
  color: var(--neutral-900);
}

.waitlist-form__success span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-900);
}

/* Error message */
.waitlist-form__error {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: #ef4444;
}

/* ── 22. Footer ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(229, 229, 228, 0.5);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--neutral-500);
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.site-footer__logo {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--neutral-900);
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__nav a {
  color: var(--neutral-500);
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: var(--neutral-900);
}

.site-footer__copy {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

/* ── 23. Utility helpers ──────────────────────────────────── */
/* Inline SVG icon helpers */
.icon-inline {
  display: inline-block;
  vertical-align: middle;
}

.icon-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Hidden on mobile, shown on md+ */
.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: block;
  }
}

/* Hidden on sm, shown inline on sm+ (for <br> tags) */
.br-sm {
  display: none;
}

@media (min-width: 640px) {
  .br-sm {
    display: inline;
  }
}
