/* addrop. landing page — implemented from "Addrop Landing v2.dc.html" (Claude Design handoff) */

:root {
  --lime: #C8FF32;
  --ink: #111111;
  --paper: #FAFAF7;
  --muted: #55554f;
  --gutter: clamp(16px, 3vw, 32px);
  --display: 'Bricolage Grotesque', sans-serif;
  --mono: 'Geist Mono', monospace;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Geist', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }

img { display: block; }

.page { min-height: 100vh; overflow-x: hidden; }
.wrap { max-width: 1280px; margin: 0 auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--muted);
}

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}

.hl { background: var(--lime); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px var(--gutter);
}
.nav__bar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(17, 17, 17, 0.08);
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.logo__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
  box-shadow: 0 0 0 1.5px var(--ink);
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: #4a4a46;
  flex-wrap: wrap;
}
.nav__links a { color: inherit; }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--ink);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: -90px;
  padding: 140px var(--gutter) 90px;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 50% at 82% 40%, rgba(200, 255, 50, 0.45), transparent 70%),
    radial-gradient(30% 40% at 8% 90%, rgba(200, 255, 50, 0.25), transparent 70%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
}
.hero__copy {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.pill-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.pill-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1.5px var(--ink);
}
.hero__title {
  font-size: clamp(60px, 9vw, 136px);
  line-height: 0.9;
}
.hero__title > span { display: block; }
.hero__title .hl {
  padding: 0 0.12em;
  border-radius: 0.18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero__lede {
  margin: 0;
  max-width: 500px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: #3d3d39;
  text-wrap: pretty;
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.hero__phones {
  flex: 0 1 auto;
  position: relative;
  margin: 0 auto;
  width: 440px;
  max-width: 100%;
  height: 640px;
}
.phone {
  position: absolute;
  background: var(--ink);
  padding: 8px;
}
.phone img {
  width: 100%;
  height: auto; /* the img's height="956" attribute would otherwise override aspect-ratio */
  aspect-ratio: 402 / 956;
  object-fit: cover;
  object-position: top;
}
.phone--back {
  left: 0;
  top: 50px;
  width: 250px;
  border-radius: 44px;
  transform: rotate(-7deg);
  box-shadow: 0 30px 60px -20px rgba(17, 17, 17, 0.35);
}
.phone--back img { border-radius: 36px; }
.phone--front {
  right: 0;
  top: 0;
  width: 270px;
  border-radius: 46px;
  transform: rotate(4deg);
  box-shadow: 0 40px 80px -20px rgba(17, 17, 17, 0.45);
}
.phone--front img { border-radius: 38px; }
.hero__chip {
  position: absolute;
  left: -20px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 var(--ink);
}

/* ---------- Waitlist form (hero + CTA) ---------- */
.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--ink);
  max-width: 520px;
  width: 100%;
  box-shadow: 4px 4px 0 var(--ink);
}
.waitlist input {
  flex: 1 1 200px;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 12px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.waitlist button {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
}
.waitlist button:disabled { opacity: 0.6; cursor: progress; }
.waitlist-done {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  max-width: 520px;
  width: 100%;
  font-size: 15px;
  text-align: left;
}
.waitlist-done__check {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.waitlist-done b { color: var(--lime); }
.waitlist-error {
  margin: -16px 0 0;
  font-size: 14px;
  color: #b00020;
}
.cta .waitlist-error { margin: 0; }
[hidden] { display: none !important; }

/* ---------- Marquee ---------- */
.marquee {
  overflow-anchor: none;
  background: var(--ink);
  color: var(--lime);
  padding: 18px 0;
  overflow: hidden;
  transform: rotate(-1.2deg);
  margin: 0 -20px;
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}
.marquee__item::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Problem ---------- */
.problem { padding: 120px var(--gutter) 60px; }
.problem .section-head { gap: 32px; margin-bottom: 56px; }
.problem__intro { max-width: 480px; }
.problem__title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: pretty;
}
.problem__body {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.problem__why {
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.85;
  text-align: right;
}
.problem__why .hl { padding: 0 0.1em; border-radius: 0.15em; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.problem-card {
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.problem-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.problem-card__num { font-family: var(--mono); font-size: 12px; color: #77776f; }
.problem-card__quote {
  padding: 6px 12px;
  border-radius: 999px;
  background: #F0F0EA;
  font-size: 13px;
  font-weight: 600;
}
.problem-card h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.problem-card p { margin: 8px 0 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- Solution / features ---------- */
.features { padding: 80px var(--gutter) 120px; }
.features__title { font-size: clamp(48px, 7vw, 96px); line-height: 0.9; }
.features__lede {
  margin: 0;
  max-width: 380px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.features__grid { display: flex; flex-wrap: wrap; gap: 16px; }

.feature {
  flex: 1 1 380px;
  min-width: 0;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  overflow: hidden;
}
.feature__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.feature h3 { margin: 10px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.feature p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.feature--shot {
  height: 560px;
  padding: 32px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.feature--lime { background: var(--lime); border: 1.5px solid var(--ink); }
.feature--lime .feature__label { color: var(--ink); }
.feature--lime p { color: #2b3310; }

.crop-phone {
  margin: auto auto 0;
  width: 250px;
  border-radius: 40px 40px 0 0;
  background: var(--ink);
  padding: 8px 8px 0;
}
.crop-phone img {
  width: 100%;
  aspect-ratio: 402 / 560;
  object-fit: cover;
  object-position: top;
  border-radius: 32px 32px 0 0;
}

.feature--ai {
  flex: 2 1 520px;
  background: var(--ink);
  border: 0;
  color: #fff;
  min-height: 440px;
  padding: 32px 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature--ai .feature__copy {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 32px;
}
.feature--ai .feature__label { color: var(--lime); }
.feature--ai h3 { margin: 0; font-size: 30px; line-height: 1.15; }
.feature--ai p { margin: 0; color: #c4c4bc; }
.ai-prompts { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.ai-prompts span {
  align-self: flex-start;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
}
.feature--ai .crop-phone { flex: 0 0 250px; background: #2a2a28; }
.feature--ai .crop-phone img { aspect-ratio: 402 / 600; }

.feature--verified {
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 56px;
}
.feature--verified .feature__copy { flex: 1 1 360px; max-width: 560px; }
.verify-demo { flex: 1 1 320px; max-width: 440px; display: flex; flex-direction: column; gap: 10px; }
.verify-demo__email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #F5F5F0;
  border: 1px solid rgba(17, 17, 17, 0.08);
  font-family: var(--mono);
  font-size: 14px;
}
.verify-demo__check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.verify-demo__modes { display: flex; gap: 8px; flex-wrap: wrap; }
.verify-demo__modes span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  font-size: 13px;
  font-weight: 600;
}
.verify-demo__modes .is-on { background: var(--ink); color: var(--lime); border: 0; }

/* ---------- App preview ---------- */
.preview { padding: 0 var(--gutter) 120px; }
.preview__panel {
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 40px;
  background: var(--ink);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.preview__glow {
  position: absolute;
  left: 50%;
  top: 65%;
  width: 700px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(200, 255, 50, 0.22), transparent);
  pointer-events: none;
}
.preview .section-head {
  position: relative;
  padding: 0 clamp(20px, 4vw, 56px);
  margin-bottom: 0;
}
.preview .eyebrow { color: var(--lime); }
.preview__title { font-size: clamp(44px, 6vw, 80px); line-height: 0.92; }
.preview__title span { color: var(--lime); }
.preview__arrows { display: flex; gap: 8px; }
.preview__arrows button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.preview__arrows .next { border: 0; background: var(--lime); color: var(--ink); }
.rail {
  position: relative;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 56px clamp(20px, 4vw, 56px) 16px;
  scrollbar-width: none;
  margin: 0;
  list-style: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail li {
  flex: 0 0 250px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rail__phone { border-radius: 42px; background: #000; padding: 8px; border: 1px solid #333; }
.rail__phone img {
  width: 100%;
  aspect-ratio: 402 / 870;
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
  background: #fff;
}
.rail__caption { display: flex; gap: 10px; align-items: baseline; }
.rail__caption span:first-child { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.rail__caption span:last-child { font-size: 15px; font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews {
  padding: 110px var(--gutter);
  background-color: #F3FFD6;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.reviews .eyebrow { color: var(--ink); }
.reviews__title { font-size: clamp(44px, 6vw, 80px); line-height: 0.92; }
.rating {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.rating__score {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.rating__label { font-size: 13px; line-height: 1.4; color: #44443f; }
.review {
  margin: 0;
  border-radius: 24px;
  background: #fff;
  border: 1.5px solid var(--ink);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 4px 4px 0 var(--ink);
}
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__stars { letter-spacing: 2px; }
.review__tag {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 11px;
  font-weight: 700;
}
.review blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  text-wrap: pretty;
  flex: 1;
}
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.review__name { font-size: 15px; font-weight: 700; }
.review__major { font-size: 13px; color: #6b6b64; }

/* Scrolling testimonial columns (ported from the 21st.dev "testimonials-columns-1"
   component: each column loops translateY(0 → -50%) over a doubled list, with the
   top and bottom faded out by a mask). Built by initReviewColumns() in main.js. */
.review-columns {
  /* Never use the moving cards as the browser's scroll anchor; otherwise the page
     can creep upward along with them while the reader is parked on this section. */
  overflow-anchor: none;
  display: flex;
  gap: 16px;
  max-height: 740px;
  /* Clip vertically only, so the cards' 4px offset shadow isn't cut on the right. */
  overflow: visible;
  clip-path: inset(0 -12px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}
.review-column { flex: 1 1 0; min-width: 0; }
.review-column__track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  animation: review-scroll var(--duration, 15s) linear infinite;
}
@keyframes review-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .review-column__track { animation: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- CTA + footer ---------- */
.cta { padding: 40px var(--gutter) 48px; }
.cta__panel {
  max-width: 1280px;
  margin: 80px auto 0;
  border-radius: 40px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.cta__title { font-size: clamp(64px, 12vw, 184px); line-height: 0.85; }
.cta__sub { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: -4px; }
.cta__sub p {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.cta__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta__label span { font-family: 'Geist', sans-serif; }

.footer {
  max-width: 1280px;
  margin: 64px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #6b6b64;
}
.footer__logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: inherit; }

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

/* ---------- Small screens ----------
   The prototype has no mobile rules; these keep the nav and waitlist pill usable on phones. */
@media (max-width: 760px) {
  .nav__links { display: none; }
}
@media (max-width: 480px) {
  .nav__bar { padding-left: 18px; }
  .nav__cta { padding: 9px 14px; font-size: 13px; }
  .waitlist { border-radius: 26px; }
  .waitlist button { flex: 1 1 100%; }
  .waitlist-done { border-radius: 22px; }
}
