/* ==========================================================================
   Launch Home Partners — Design System
   Buy. Sell. Fund. Build. Together.
   ========================================================================== */

:root {
  /* Brand */
  --launch-red: #E4002B;
  --launch-red-dark: #B60022;
  --launch-red-soft: #FDECEE;

  /* Neutrals */
  --ink: #12202E;
  --ink-soft: #40515F;
  --line: #E7E2DD;
  --paper: #FFFFFF;
  --sand: #FBF7F3;
  --sand-deep: #F3ECE4;

  /* Support accent */
  --trust-blue: #1C5D99;
  --success: #1E8E5A;

  /* Type */
  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Metrics */
  --wrap: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(18, 32, 46, 0.06);
  --shadow-md: 0 14px 40px rgba(18, 32, 46, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1rem; }

a { color: var(--launch-red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h1,
.section--ink h2,
.section--ink h3 { color: #fff; }
.section--tight { padding: 56px 0; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--launch-red);
  margin: 0 0 14px;
}
.section--ink .eyebrow { color: #FF7A8E; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}
.section--ink .lead { color: rgba(255,255,255,0.82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--launch-red); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--launch-red-dark); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
}
.nav a:hover { color: var(--launch-red); text-decoration: none; }
.nav a.is-active { color: var(--launch-red); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 24px; border-bottom: 1px solid var(--sand-deep); }
  .nav .btn { margin: 12px 24px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 82% -10%, var(--launch-red-soft), transparent 60%),
    var(--sand);
  padding: 92px 0 84px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__tag {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--launch-red);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 20px; }
.hero__card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
  border: 1px solid var(--line);
}
.hero__card h3 { margin-bottom: 6px; }
.hero__card p { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Field / mini form ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sand);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--launch-red);
  outline-offset: 1px;
  background: #fff;
}

/* ---------- Pillar grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--launch-red-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 12px; }
.card__cta {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--launch-red);
}

/* ---------- Vertical feature blocks ---------- */
.vert {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 16px;
  transition: box-shadow 0.2s var(--ease);
}
.vert:hover { box-shadow: var(--shadow-md); }
.vert__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--launch-red);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--launch-red-soft);
  display: grid;
  place-items: center;
}
.vert h3 { margin-bottom: 4px; }
.vert p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 720px) {
  .vert { grid-template-columns: 1fr; text-align: left; }
  .vert__num { margin-bottom: 4px; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 56px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--launch-red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.section--ink .step::before { background: #fff; color: var(--launch-red); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--launch-red);
}
.section--ink .stat__num { color: #FF7A8E; }
.stat__label { font-size: 0.9rem; color: var(--ink-soft); }
.section--ink .stat__label { color: rgba(255,255,255,0.75); }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote__who { font-weight: 600; font-family: var(--font-head); font-size: 0.95rem; }
.quote__where { color: var(--ink-soft); font-size: 0.86rem; }

/* ---------- Trust bar ---------- */
.trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
}
.trustbar span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--launch-red), var(--launch-red-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 52ch; margin: 0 auto 22px; }

/* ---------- Marketplace ---------- */
.mkt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.chip {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: 0.15s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--launch-red); color: #fff; border-color: var(--launch-red); }

.listing {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.listing:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.listing__media {
  aspect-ratio: 16 / 10;
  background: var(--sand-deep);
  position: relative;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
}
.listing__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.listing__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.listing__title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.listing__meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 12px; }
.listing__foot {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.listing__price { font-family: var(--font-head); font-weight: 700; color: var(--launch-red); font-size: 1.1rem; }
.listing__tag { font-size: 0.8rem; color: var(--ink-soft); }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 32px;
  font-size: 0.92rem;
}
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 44px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand img { width: 32px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.pill-note {
  display: inline-block;
  background: var(--launch-red-soft);
  color: var(--launch-red-dark);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
