/* ==========================================================================
   JOOLFI — Real Food. Real People. Right Near You.
   Updated design: orange-led rhythm with warm white & cream breathing space,
   organic wave transitions, discovery-first pre-launch story.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* color */
  --orange: #E24C00;
  --orange-deep: #D84800;
  --orange-hover: #C94300;
  --yellow: #FBAD0A;
  --yellow-bright: #FFC008;
  --cream: #FCEEE1;
  --white-warm: #FAF9F7;
  --white: #FFFFFF;
  --ink: #2E2A28;
  --text: #55504C;
  --green: #029835;

  /* type */
  --font-display: 'Baloo 2', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --font-body: 'Quicksand', 'Trebuchet MS', 'Segoe UI', sans-serif;

  /* layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-gap: clamp(72px, 8.5vw, 112px);

  /* radius & shadow */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 16px 36px rgba(80, 30, 0, 0.16);

  /* motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --reveal-time: 0.7s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white-warm);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  color: inherit;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.section-title--left { text-align: left; }

/* ---------- Organic waves ---------- */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(38px, 6.5vw, 95px);
  pointer-events: none;
  z-index: 2;
}
.wave svg { width: 100%; height: 100%; display: block; }
.wave--hero { bottom: -1px; }
.wave--soft { bottom: -1px; height: clamp(26px, 4.2vw, 60px); }
.wave--big { bottom: -1px; height: clamp(40px, 7vw, 100px); }
.wave--bottom { bottom: -1px; }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }

.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
}
.btn--yellow:hover { background: var(--yellow-bright); }

.btn--deep {
  background: var(--orange);
  color: var(--white);
  padding: 13px 24px;
}
.btn--deep:hover { background: var(--orange-hover); }

.btn--icon svg { flex: 0 0 auto; }

.pill-coming {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(80, 30, 0, 0.18);
}
.pill-coming svg { color: var(--orange); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--orange);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.is-scrolled {
  background: rgba(226, 76, 0, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(80, 30, 0, 0.16);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 86px;
}

.navbar__brand img { width: 128px; height: auto; }

.navbar__nav { margin-inline: auto; }

.navbar__links {
  display: flex;
  gap: clamp(18px, 2.6vw, 38px);
}
.navbar__links a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--white);
  padding: 8px 2px;
  position: relative;
}
.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--yellow-bright);
  transition: right 0.25s var(--ease-out);
}
.navbar__links a:hover::after { right: 0; }

.navbar__cta { padding: 12px 22px; font-size: 0.95rem; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 2px solid var(--white);
  border-radius: 12px;
  cursor: pointer;
}
.navbar__toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.35);
  background: var(--orange);
  box-shadow: 0 24px 40px rgba(80, 30, 0, 0.25);
}
.mobile-menu ul { padding: 12px var(--gutter) 8px; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 13px 4px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}
.mobile-menu .btn { margin: 14px var(--gutter) 22px; width: calc(100% - var(--gutter) * 2); }
.mobile-menu.is-open { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--orange);
  color: var(--white);
  padding-bottom: clamp(90px, 9vw, 130px);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 48px);
  padding-top: clamp(20px, 4vh, 44px);
}

.hero__title {
  font-size: clamp(2.55rem, 5vw, 4.3rem);
  font-weight: 800;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.hero__title span { display: block; }
.hero__title-accent { color: var(--yellow); }

.hero__sub {
  margin-top: 24px;
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}

.hero__ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__visual { position: relative; }

.hero__phones {
  position: relative;
  width: fit-content;
  margin-inline: auto;
}
.hero__phones-img {
  width: clamp(300px, 36vw, 520px);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(80, 30, 0, 0.3));
}

.hero__sparks {
  position: absolute;
  top: -14px;
  right: 0;
  width: clamp(36px, 3.8vw, 56px);
}

.hero__journey {
  position: relative;
  margin-top: clamp(-30px, -2vw, -12px);
  pointer-events: none;
}
.hero__journey-inner { position: relative; max-width: 760px; }
.hero__path { width: 72%; height: auto; }
.hero__van {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: clamp(84px, 8.6vw, 122px);
}

/* ---------- Decorative elements ---------- */
.deco-line {
  position: absolute;
  width: clamp(50px, 6vw, 90px);
  height: auto;
  pointer-events: none;
}
.deco-line--left { left: 0; top: 18%; }
.deco-line--right { right: 0; top: 30%; }

.deco-spark {
  position: absolute;
  width: clamp(34px, 3.6vw, 52px);
  pointer-events: none;
}
.deco-spark--left { left: 4%; top: 16%; }
.deco-spark--right { right: 4%; top: 58%; }

/* ---------- Categories ---------- */
.categories {
  position: relative;
  background: var(--white-warm);
  padding-top: clamp(34px, 4.4vw, 58px);
  padding-bottom: calc(clamp(26px, 4.2vw, 60px) + 44px);
}

.categories__grid {
  margin-top: clamp(44px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.category {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category + .category {
  border-left: 2px dashed rgba(226, 76, 0, 0.28);
  padding-left: clamp(20px, 2.5vw, 36px);
}

.category img {
  height: clamp(130px, 13vw, 176px);
  width: auto;
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease-out);
}
.category:hover img { transform: translateY(-6px) scale(1.03); }

.category__pill {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  padding: 9px 20px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.category p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 24ch;
}

/* ---------- Why Joolfi ---------- */
.why {
  position: relative;
  background: var(--cream);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: calc(clamp(26px, 4.2vw, 60px) + 52px);
}

.why__grid {
  margin-top: clamp(44px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature__circle {
  width: clamp(84px, 9vw, 122px);
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease-out);
}
.feature__circle img { width: 100%; height: auto; }
.feature:hover .feature__circle { transform: translateY(-5px) scale(1.05); }
.feature h3 {
  color: var(--orange);
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p { font-size: 0.99rem; line-height: 1.5; max-width: 21ch; }

/* ---------- How It Works ---------- */
.how {
  position: relative;
  background: var(--white-warm);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: calc(clamp(40px, 7vw, 100px) + 44px);
}

.how__plane {
  position: absolute;
  left: 3%;
  top: 34%;
  width: clamp(44px, 4.6vw, 66px);
  pointer-events: none;
}
.how__spark {
  position: absolute;
  right: 3.4%;
  top: 24%;
  width: clamp(30px, 3.2vw, 46px);
  pointer-events: none;
}

.how__steps {
  margin-top: clamp(44px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
}

.step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__figure {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1;
  color: var(--orange);
}
.step__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 6.6vw, 92px);
  height: clamp(64px, 6.6vw, 92px);
  border: 2.5px dashed rgba(226, 76, 0, 0.65);
  border-radius: 50%;
  background: var(--white);
}
.step__circle svg { width: 52%; height: 52%; }

.step h3 {
  color: var(--orange);
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p { font-size: 0.99rem; line-height: 1.5; max-width: 23ch; }

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: clamp(-44px, -3.4vw, -30px);
  width: 54px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 30' fill='none' stroke='%23E24C00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 24 C 16 6, 34 4, 46 14' stroke-dasharray='1 7'/%3E%3Cpath d='M39 8 l8 5.5 -9.5 2.5'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.75;
}

/* ---------- Community ---------- */
.community {
  position: relative;
  background: var(--orange);
  color: var(--white);
  padding-top: clamp(44px, 5.5vw, 78px);
  padding-bottom: calc(clamp(40px, 7vw, 100px) + 52px);
}

.community__inner {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  align-items: center;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 20px;
}

.community__title { grid-column: 1 / -1; margin-bottom: 8px; color: var(--white); font-size: clamp(1.7rem, 2.6vw, 2.4rem); }

.community__copy p { max-width: 40ch; font-size: clamp(1rem, 1.3vw, 1.12rem); }
.community__copy .btn { margin-top: 28px; }

.community__visual { position: relative; }

.community__collage {
  display: flex;
  align-items: center;
}
.community__photo {
  height: clamp(104px, 13vw, 182px);
  width: auto;
  object-fit: cover;
  border: 5px solid var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.community__photo--1 { transform: rotate(-5deg) translateY(8px); z-index: 1; }
.community__photo--2 { transform: rotate(3.5deg) translateY(-6px); margin-left: -12px; z-index: 2; }
.community__photo--3 { transform: rotate(-3deg) translateY(6px); margin-left: -12px; z-index: 3; }
.community__photo--4 { transform: rotate(4.5deg) translateY(-8px); margin-left: -12px; z-index: 2; }

.community__badge {
  position: absolute;
  right: clamp(-30px, -2vw, -10px);
  top: 26%;
  width: clamp(96px, 10vw, 142px);
  transform: rotate(10deg);
  z-index: 4;
  filter: drop-shadow(0 10px 18px rgba(80, 30, 0, 0.25));
}

/* ---------- For Vendors ---------- */
.vendors {
  position: relative;
  background: var(--white-warm);
  padding-top: clamp(44px, 5.5vw, 78px);
}

.vendors__inner {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.vendors__tagline {
  margin-top: 14px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 600;
}

.vendors__benefits {
  margin-top: clamp(30px, 3.4vw, 46px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 2.6vw, 34px) clamp(18px, 2.2vw, 28px);
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--orange);
  margin-bottom: 12px;
}
.benefit__icon svg { width: 26px; height: 26px; }

.benefit h3 {
  color: var(--orange);
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.benefit p { font-size: 0.95rem; line-height: 1.5; }

.vendors__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.vendors__character {
  width: clamp(210px, 23vw, 322px);
  position: relative;
  z-index: 2;
  margin-right: clamp(-44px, -3vw, -20px);
}

.vendors__sparkles {
  position: absolute;
  top: -14px;
  left: 4%;
  width: clamp(40px, 4.4vw, 60px);
  z-index: 3;
}

.vendors__card {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 32px);
  width: min(340px, 62%);
  box-shadow: var(--shadow-soft);
}
.vendors__card h3 {
  font-weight: 700;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.28;
  margin-bottom: 10px;
}
.vendors__card p { margin-bottom: 20px; }
.vendors__card .btn { width: min(240px, 100%); margin-left: auto; display: flex; }

/* ---------- Final CTA ---------- */
.cta {
  background: var(--white-warm);
  padding-block: clamp(44px, 5.4vw, 76px) clamp(40px, 5vw, 72px);
}

.cta__card {
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px) clamp(26px, 4.4vw, 60px);
  display: grid;
  grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  box-shadow: 0 24px 48px rgba(80, 30, 0, 0.2);
}

.cta__logo { width: clamp(120px, 13vw, 178px); }

.cta__title {
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.16;
  white-space: nowrap;
}

.cta__action p {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.5;
  max-width: 34ch;
}
.cta__action .btn { margin-top: 16px; }

.cta__envelope {
  width: clamp(72px, 7.4vw, 104px);
  height: auto;
  opacity: 0.95;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--orange);
  color: var(--white);
  padding: clamp(26px, 3.4vw, 40px) 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
}

.footer__copyright { font-size: 0.92rem; opacity: 0.95; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-inline: auto;
}
.footer__links a {
  font-size: 0.92rem;
  font-weight: 600;
}
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.8px solid var(--white);
  border-radius: 50%;
  transition: background-color 0.25s ease, transform 0.25s var(--ease-out);
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }

/* ---------- Waitlist modal ---------- */
.waitlist { position: fixed; inset: 0; z-index: 300; }
.waitlist[hidden] { display: none; }

.waitlist__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 42, 40, 0.55);
  backdrop-filter: blur(3px);
}

.waitlist__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin: 16px auto;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vh, 38px) clamp(22px, 4vw, 34px) clamp(24px, 3.6vh, 32px);
  box-shadow: 0 32px 80px rgba(46, 20, 0, 0.35);
}

.waitlist__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.waitlist__close:hover { background: #F8E2CC; }

.waitlist__body { text-align: center; }

.waitlist__horn { display: inline-block; margin-bottom: 6px; }

.waitlist__title {
  font-size: clamp(1.5rem, 4.6vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
}
.waitlist__accent {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.12rem;
}
.waitlist__lede {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.waitlist__form { margin-top: 22px; text-align: left; }

.field { margin-bottom: 16px; }
.field--types { border: 0; padding: 0; margin-inline: 0; }

.field__label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 7px;
}

.field__wrap { position: relative; }
.field__wrap svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--orange);
  pointer-events: none;
}

.field__input {
  width: 100%;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--white-warm);
  border: 2px solid #EFE7DF;
  border-radius: 14px;
  padding: 13px 16px 13px 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field__input::placeholder { color: #A39B94; font-weight: 500; }
.field__input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(226, 76, 0, 0.12);
}
.field__input[aria-invalid="true"] { border-color: #C93B1B; }

.field__error {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #B33012;
}

.waitlist__types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.type-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.type-chip__face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--white-warm);
  border: 2px solid #EFE7DF;
  border-radius: 999px;
  padding: 12px 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.type-chip input:checked + .type-chip__face {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.type-chip input:focus-visible + .type-chip__face {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}

.waitlist__submit { width: 100%; margin-top: 8px; padding-block: 16px; }
.waitlist__submit[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.waitlist__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.waitlist__form-error {
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #B33012;
  background: #FBEDE8;
  border-radius: 12px;
  padding: 10px 14px;
}

.waitlist__body--success { padding-top: 10px; }
.waitlist__success-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--green);
  margin-bottom: 16px;
  box-shadow: 0 12px 26px rgba(2, 152, 53, 0.35);
}
.waitlist__done { margin-top: 22px; min-width: 160px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--reveal-time) ease var(--d, 0s),
    transform var(--reveal-time) var(--ease-out) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Idle float animations ---------- */
@keyframes floaty {
  from { transform: translateY(0) rotate(var(--rot, 0deg)); }
  to   { transform: translateY(-9px) rotate(var(--rot, 0deg)); }
}
.floaty { animation: floaty 4.5s ease-in-out infinite alternate; }
.floaty-slow { animation: floaty 6.5s ease-in-out infinite alternate; }
.community__badge { --rot: 10deg; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .navbar__links { gap: 18px; }
  .deco-line, .deco-spark { display: none; }
}

@media (min-width: 761px) {
  .hero__title span { white-space: nowrap; }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { margin-top: 18px; }
  .hero__ctas { justify-content: center; }
  .hero__phones { margin-top: 26px; }
  .hero__phones-img { width: clamp(280px, 52vw, 430px); }
  .hero__journey-inner { max-width: 620px; }
  .how__plane, .how__spark { display: none; }

  .categories__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .category + .category { border-left: 0; padding-left: 0; }

  .why__grid { grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }

  .how__steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .step:not(:last-child)::after { display: none; }

  .community__inner { grid-template-columns: 1fr; }
  .community__title { margin-inline: auto; text-align: center; }
  .community__copy { display: flex; flex-direction: column; align-items: center; text-align: center; margin-inline: auto; }
  .community__copy p { text-align: center; }
  .community__visual { margin-top: 20px; max-width: 680px; margin-inline: auto; width: 100%; }

  .vendors__inner { grid-template-columns: 1fr; }
  .vendors__copy .section-title { text-align: center; }
  .vendors__tagline { text-align: center; }
  .vendors__benefits { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; }
  .vendors__visual { margin-top: 28px; justify-content: center; }

  .cta__card {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 22px;
  }
  .cta__title { white-space: normal; }
  .cta__action { grid-column: 1 / -1; }
  .cta__envelope { display: none; }
}

@media (max-width: 900px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__toggle { display: flex; margin-left: auto; }
  .navbar__inner { justify-content: space-between; min-height: 74px; }
}

@media (max-width: 760px) {
  .navbar__brand img { width: 106px; }

  .hero__phones-img { width: min(78vw, 360px); }
  .hero__van { width: 72px; right: 0; }
  .hero__path { width: 88%; }

  .categories__grid { gap: 34px 20px; }
  .category img { height: 118px; }
  .category p { font-size: 0.9rem; }

  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .feature:last-child { grid-column: 1 / -1; }

  .how__steps { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .how__steps { position: relative; }
  .how__steps::before {
    content: "";
    position: absolute;
    left: 44px;
    top: 24px;
    bottom: 24px;
    border-left: 2.5px dashed rgba(226, 76, 0, 0.4);
  }
  .step {
    grid-template-columns: 90px 1fr;
    display: grid;
    text-align: left;
    align-items: start;
    column-gap: 18px;
    padding: 18px 0;
  }
  .step__figure { margin-bottom: 0; grid-row: 1 / 3; }
  .step__num { font-size: 1.9rem; }
  .step__circle { width: 64px; height: 64px; }
  .step h3 { margin-bottom: 4px; }
  .step p { max-width: none; }

  .community__collage { flex-wrap: wrap; justify-content: center; gap: 14px 10px; }
  .community__photo { height: clamp(96px, 26vw, 128px); border-width: 4px; border-radius: 14px; }
  .community__photo--2, .community__photo--3, .community__photo--4 { margin-left: 0; }
  .community__badge { width: 92px; right: -4px; top: -34px; }

  .vendors__visual { flex-direction: column; align-items: center; }
  .vendors__character { width: 216px; margin-right: 0; }
  .vendors__sparkles { left: 10%; top: -18px; }
  .vendors__card { width: 100%; max-width: 380px; }
  .vendors__card .btn { margin-left: 0; width: 100%; }

  .cta__card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
    padding-inline: 22px;
  }
  .cta__title { white-space: normal; }
  .cta__action { display: flex; flex-direction: column; align-items: center; }

  .footer__inner { flex-direction: column; text-align: center; gap: 18px; }
  .footer__links { margin-inline: 0; justify-content: center; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 2.45rem; }
  .btn { padding: 14px 20px; font-size: 0.94rem; }
  .pill-coming { padding: 14px 18px; font-size: 0.94rem; }
  .category__pill { font-size: 0.94rem; padding: 8px 16px 9px; }
}

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