/* Neighbr landing — warm daylight, editorial pacing. */

:root {
  --canvas: #faf6f0;
  --surface: #ffffff;
  --sunken: #f1ebe2;
  --hairline: #eae3d9;
  --ink: #2d2a26;
  --ink-2: #6b645c;
  --ink-3: #9a9187;
  --ink-inverse: #faf6f0;
  --clay-50: #fdf3ef;
  --clay-100: #fae4db;
  --clay-300: #eda88e;
  --clay-500: #d96c47;
  --clay-600: #c25a38;
  --clay-700: #a1492d;
  --sage-100: #ecf0e8;
  --sage-500: #6f8266;
  --sage-700: #4e5f46;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --e2: 0 2px 8px rgb(60 42 28 / 0.08);
  --e4: 0 8px 28px rgb(60 42 28 / 0.16);
  --e5: 0 24px 70px rgb(60 42 28 / 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

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

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

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-700);
  margin-bottom: 14px;
}

.kicker--light {
  color: var(--clay-300);
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1), transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}

.reveal--in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgb(250 246 240 / 0.85);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--hairline);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--clay-700);
  margin-right: auto;
}

.nav__door {
  width: 34px;
  height: 34px;
  border-radius: 38%;
  background: var(--clay-100);
  color: var(--clay-700);
  display: grid;
  place-items: center;
}

.nav__links {
  display: flex;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.nav__links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 14px;
  transition: transform 0.16s cubic-bezier(0.32, 1.32, 0.35, 1), background 0.16s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--nav {
  background: var(--ink);
  color: var(--ink-inverse);
  font-size: 14.5px;
  padding: 10px 18px;
}

.btn--primary {
  background: var(--ink);
  color: var(--ink-inverse);
  font-size: 17px;
  padding: 16px 30px;
  box-shadow: var(--e2);
}

.btn--primary:hover {
  background: #1f1c19;
}

.btn--big {
  font-size: 19px;
  padding: 18px 38px;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(48px, 8vh, 90px) clamp(20px, 6vw, 72px) 40px;
  max-width: 1200px;
  margin: 0 auto;
  background:
    radial-gradient(75% 55% at 28% 0%, var(--clay-50) 0%, transparent 65%);
}

.hero h1 {
  font-size: clamp(44px, 6.5vw, 78px);
}

.hero h1 em {
  font-style: italic;
  color: var(--clay-600);
}

.hero__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 34em;
  margin-top: 22px;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero__cta-note {
  font-size: 13.5px;
  color: var(--ink-2);
  max-width: 16em;
  line-height: 1.4;
}

.hero__badges {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  flex-wrap: wrap;
}

.hero__badges li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sage-700);
  background: var(--sage-100);
  border-radius: 999px;
  padding: 7px 14px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 540px;
}

.phone {
  border-radius: 42px;
  border: 10px solid var(--ink);
  background: var(--sunken);
  overflow: hidden;
  box-shadow: var(--e5);
  width: min(300px, 72vw);
  aspect-ratio: 390 / 844;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone--main {
  position: relative;
  z-index: 2;
  transform: rotate(-2deg);
}

.phone--back {
  position: absolute;
  right: max(-10px, 2vw);
  top: 70px;
  width: min(240px, 56vw);
  transform: rotate(5deg);
  z-index: 1;
  opacity: 0.96;
}

/* ---------- pill strip ---------- */

.strip {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
  padding: 18px 0;
}

.strip__row {
  display: flex;
  width: max-content;
  animation: drift 36s linear infinite;
}

.strip:hover .strip__row {
  animation-play-state: paused;
}

.strip__half {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .strip__row {
    animation: none;
    width: auto;
  }
  .strip__half {
    flex-wrap: wrap;
  }
  .strip__half[aria-hidden] {
    display: none;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: var(--e2);
}

.pill i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

/* ---------- moments ---------- */

.moments,
.grid-section,
.trust,
.faq {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 110px) clamp(20px, 6vw, 60px) 0;
}

.moments h2,
.grid-section h2,
.trust h2,
.faq h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 10px;
}

.moment {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  margin-top: clamp(40px, 7vh, 70px);
}

.moment--flip {
  grid-template-columns: 0.9fr 1.1fr;
}

.moment--flip .moment__copy {
  order: 2;
}

.moment__chip {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 10px;
  padding: 6px 12px;
  margin-bottom: 16px;
}

.moment h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 14px;
}

.moment p {
  color: var(--ink-2);
  max-width: 30em;
}

.phone--section {
  justify-self: center;
  width: min(270px, 78vw);
  transform: rotate(1.5deg);
}

.moment--flip .phone--section {
  transform: rotate(-1.5deg);
}

/* ---------- categories ---------- */

.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.cat {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--e2);
}

.cat__dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.cat h4 {
  font-size: 17px;
  margin: 0 0 4px;
}

.cat p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- privacy manifesto ---------- */

.privacy {
  margin-top: clamp(70px, 12vh, 120px);
  background: var(--ink);
  color: var(--ink-inverse);
}

.privacy__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 100px) clamp(20px, 6vw, 60px);
}

.privacy h2 {
  font-size: clamp(30px, 4vw, 46px);
  max-width: 15em;
}

.privacy__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 44px;
}

@media (max-width: 680px) {
  .privacy__grid {
    grid-template-columns: 1fr;
  }
}

.pcard {
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 20px;
  padding: 24px;
}

.pcard h4 {
  font-size: 16.5px;
  margin: 0 0 8px;
}

.pcard p {
  font-size: 14.5px;
  color: rgb(250 246 240 / 0.72);
  line-height: 1.55;
}

/* ---------- trust ---------- */

.trust__lede {
  color: var(--ink-2);
  max-width: 36em;
}

.trust__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.tcard {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--e2);
}

.tcard__n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 38%;
  background: var(--clay-100);
  color: var(--clay-700);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 16px;
}

.tcard h4 {
  font-size: 17.5px;
  margin: 0 0 6px;
}

.tcard p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- faq ---------- */

.faq {
  max-width: 760px;
  padding-bottom: 20px;
}

.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--clay-600);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  color: var(--ink-2);
  padding: 0 0 18px;
  font-size: 15.5px;
}

/* ---------- footer ---------- */

.footer {
  text-align: center;
  padding: clamp(70px, 12vh, 120px) 20px 34px;
  background:
    radial-gradient(60% 50% at 50% 100%, var(--clay-50) 0%, transparent 70%);
}

.footer__cta h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 28px;
}

.footer__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
}

.footer__fine {
  margin-top: 70px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .nav__links {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__lede {
    margin-inline: auto;
  }
  .hero__cta {
    justify-content: center;
  }
  .hero__badges {
    justify-content: center;
  }
  .hero__visual {
    min-height: 0;
    margin-top: 12px;
  }
  .phone--back {
    display: none;
  }
  .moment,
  .moment--flip {
    grid-template-columns: 1fr;
  }
  .moment--flip .moment__copy {
    order: 0;
  }
}
