/* ── Landing page ───────────────────────────────────────────────────── */

.landing {
  background: var(--warm-white);
}

/* ── Nav ────────────────────────────────────────────────────────────── */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1rem, 5vw, 3rem);
  height: 64px;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.landing-nav.scrolled {
  border-color: var(--stone-200);
}

.landing-nav__logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--stone-900);
  letter-spacing: -0.01em;
}

.landing-nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-nav__signin {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--stone-600);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;

  &:hover {
    background: var(--stone-100);
    color: var(--stone-900);
  }
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem clamp(1rem, 5vw, 3rem) 4rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone-600);
  margin-bottom: 2rem;
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--stone-900);
  max-width: 16ch;
  margin-inline: auto;
  margin-bottom: 1.25rem;

  em {
    font-style: italic;
    font-weight: 400;
  }
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--stone-600);
  max-width: 38ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__social-proof {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--stone-400);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  &::before,
  &::after {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background: var(--stone-200);
  }
}

/* ── Waitlist form (shared between hero + CTA) ─────────────────────── */

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

@media (min-width: 480px) {
  .waitlist-form { flex-direction: row; }
}

.waitlist-form__input {
  flex: 1;
  padding: 13px 16px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--stone-200);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--stone-900);
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;

  &::placeholder { color: var(--stone-400); }
  &:focus {
    outline: none;
    border-color: var(--stone-800);
    box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.06);
  }
}

.waitlist-form__btn {
  padding: 13px 22px;
  border-radius: var(--radius-lg);
  background: var(--stone-900);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;

  &:hover { background: var(--stone-800); transform: translateY(-1px); }
  &:active { transform: translateY(0); }
}

/* ── Section divider ───────────────────────────────────────────────── */

.landing__divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--stone-200), transparent);
}

/* ── Mockup ────────────────────────────────────────────────────────── */

.mockup-section {
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mockup-section__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-400);
  font-weight: 500;
  margin-bottom: 2rem;
}

.browser {
  width: 100%;
  max-width: 760px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
  background: var(--white);
}

.browser__bar {
  background: #F0EFED;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--stone-200);
}

.browser__dots {
  display: flex;
  gap: 6px;

  span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  span:nth-child(1) { background: #FC615D; }
  span:nth-child(2) { background: #FDBC40; }
  span:nth-child(3) { background: #34C749; }
}

.browser__url {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--stone-600);
  border: 1px solid var(--stone-200);
  max-width: 300px;
  margin-inline: auto;
  text-align: center;
}

/* Mock property inside browser */
.mock-hero {
  background: linear-gradient(160deg, #8B7355 0%, #6B5B45 50%, #4A3728 100%);
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 20px;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
  }
}

.mock-hero__text {
  position: relative;
  color: var(--white);
}

.mock-hero__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
}

.mock-hero__subtitle {
  font-size: 0.8125rem;
  opacity: 0.85;
  margin-top: 3px;
}

.mock-body {
  padding: 20px 24px;
  background: var(--warm-white);
}

.mock-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.mock-pill {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.6875rem;
  color: var(--stone-600);
  font-weight: 500;
}

.mock-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--stone-200);
}

.mock-line:nth-child(1) { width: 94%; }
.mock-line:nth-child(2) { width: 80%; }
.mock-line:nth-child(3) { width: 88%; }
.mock-line:nth-child(4) { width: 60%; }

.mock-contact {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

.mock-btn {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-btn--primary {
  background: var(--stone-900);
  color: var(--white);
}

.mock-btn--secondary {
  background: var(--white);
  color: var(--stone-900);
  border: 1.5px solid var(--stone-900);
}

/* ── Features ──────────────────────────────────────────────────────── */

.features {
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 3rem);
  background: var(--white);
}

.features__header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 3.5rem;

  h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--stone-900);
    margin-bottom: 0.75rem;
  }

  p {
    color: var(--stone-600);
    font-size: 1rem;
    line-height: 1.6;
  }
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--stone-200);
  max-width: 960px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

@media (min-width: 640px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .features__grid { grid-template-columns: 1fr 1fr 1fr; }
}

.feature-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  transition: background 0.15s;

  &:hover { background: var(--warm-white); }
}

.feature-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  color: var(--stone-800);
}

.feature-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 0.375rem;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--stone-600);
  line-height: 1.6;
}

/* ── Waitlist CTA section ──────────────────────────────────────────── */

.waitlist-cta {
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 5vw, 3rem);
  background: var(--stone-900);
  text-align: center;

  h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;

    em { font-style: italic; font-weight: 400; }
  }
}

.waitlist-cta__sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  line-height: 1.6;
  max-width: 36ch;
  margin: 0 auto 2.5rem;
}

.waitlist-cta__disclaimer {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Dark form variant for waitlist CTA */
.waitlist-form--dark .waitlist-form__input {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);

  &::placeholder { color: rgba(255, 255, 255, 0.4); }
  &:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
}

.waitlist-form--dark .waitlist-form__btn {
  background: var(--white);
  color: var(--stone-900);

  &:hover { opacity: 0.92; }
}

/* ── Landing footer ────────────────────────────────────────────────── */

.landing-footer {
  background: var(--stone-900);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem clamp(1rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .landing-footer {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.landing-footer__logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.landing-footer__tagline {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

.landing-footer__links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.landing-footer__link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s;

  &:hover { color: rgba(255, 255, 255, 0.7); }
}

.landing-footer__legal {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 12px;
  font-size: 11px;
  opacity: 0.7;
}

/* ── Flash position override for landing ───────────────────────────── */

.landing #notice,
.landing #alert {
  top: 72px;
}
