/* ApartmentHub — Landing (static companion site) */
:root {
  --surface: #fdfbf7;
  --surface-secondary: #ffffff;
  --surface-tertiary: #f2efe9;
  --surface-inverse: #2b2d27;

  --on-surface: #1a1c19;
  --on-surface-muted: #4a4b46;
  --on-inverse: #fdfbf7;

  --brand: #425a47;
  --brand-secondary: #8fa794;
  --brand-tertiary: #e2eae4;
  --on-brand: #ffffff;
  --on-brand-tertiary: #26362a;

  --accent: #d48d3b;
  --muted: #7a7b75;
  --border: #e8e6e0;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 8px rgba(26, 28, 25, 0.06);
  --shadow-raised: 0 8px 28px rgba(26, 28, 25, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--on-surface);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  max-width: 1120px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand-tertiary);
  display: flex; align-items: center; justify-content: center;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.brand__name { font-weight: 800; font-size: 18px; color: var(--on-surface); letter-spacing: -0.2px; }
.brand__city { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; color: var(--muted); }
.topbar__nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.topbar__nav a { color: var(--on-surface-muted); }
.topbar__nav a:hover { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 20px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 15px; cursor: pointer; border: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn--primary { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-card); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-raised); }
.btn--ghost { background: transparent; color: var(--on-inverse); border: 1px solid rgba(255,255,255,0.25); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--large { padding: 14px 26px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 620px;
  color: #fff;
  padding: 96px 20px 80px;
  isolation: isolate;
}
.hero__image {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1758193431355-54df41421657?crop=entropy&cs=srgb&fm=jpg&ixid=M3w3NDQ2MzR8MHwxfHNlYXJjaHwyfHxtb2Rlcm4lMjBwcmVtaXVtJTIwYXBhcnRtZW50JTIwZXh0ZXJpb3IlMjBwaG90b2dyYXBoeXxlbnwwfHx8fDE3ODQ4OTgzODN8MA&ixlib=rb-4.1.0&q=85");
  background-size: cover; background-position: center;
  z-index: -2;
}
.hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,45,39,0.35) 0%, rgba(43,45,39,0.88) 100%);
  z-index: -1;
}
.hero__content { max-width: 1120px; margin: 0 auto; }
.chip {
  display: inline-block; padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
}
.chip--accent { background: var(--accent); color: #1a1c19; }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px); font-weight: 800;
  line-height: 1.05; margin: 20px 0 16px; letter-spacing: -1px;
}
.hero p {
  max-width: 620px; font-size: 17px; color: #e6ded0;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Section ---------- */
.section { padding: 88px 20px; max-width: 1120px; margin: 0 auto; }
.section--muted { background: var(--surface-tertiary); max-width: none; margin: 0; }
.section--muted > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.section--dark { background: var(--surface-inverse); color: var(--on-inverse); max-width: none; margin: 0; }
.section--dark .section__eyebrow { color: var(--brand-secondary); }
.section__eyebrow {
  color: var(--brand); font-weight: 800; font-size: 12px;
  letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 8px;
}
.section__title {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.5px;
  margin: 0 0 40px; line-height: 1.15; max-width: 720px;
}

/* Benefits grid */
.grid { display: grid; gap: 20px; }
.grid--benefits { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tile {
  background: #fff; border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.tile h3 { margin: 12px 0 6px; font-size: 18px; font-weight: 800; }
.tile p { color: var(--on-surface-muted); margin: 0; font-size: 14px; }
.tile__icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.tile__icon--sage { background: var(--brand-tertiary); color: var(--brand); }
.tile__icon--warm { background: #fbe6c9; color: var(--accent); }

.statrow {
  margin-top: 56px; display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__value {
  display: block; font-size: 38px; font-weight: 800; color: var(--brand); letter-spacing: -1px;
}
.stat__label { color: var(--muted); font-size: 13px; font-weight: 600; }

/* Services grid */
.grid--services { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.svc {
  background: #fff; border-radius: var(--radius-md);
  padding: 20px; border: 1px solid var(--border);
}
.svc h4 {
  color: var(--brand); margin: 0 0 8px; font-size: 15px; font-weight: 800;
  letter-spacing: 0.4px; text-transform: uppercase;
}
.svc p { color: var(--on-surface-muted); font-size: 14px; margin: 0; line-height: 1.5; }

/* Providers */
.providers {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
}
.providers__body { color: var(--on-surface-muted); font-size: 16px; margin-bottom: 24px; }
.providers__perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.providers__perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--on-surface-muted); }
.dot { width: 10px; height: 10px; background: var(--brand); border-radius: 50%; flex-shrink: 0; }

/* Download */
.download {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  max-width: 1120px; margin: 0 auto;
}
.download h2 { font-size: clamp(28px, 3.5vw, 40px); margin: 0 0 12px; }
.download p { color: #d5cebe; margin: 0 0 24px; max-width: 480px; }
.download__mini { font-size: 13px; margin-top: 20px; color: #a29a89; }
.download__qr {
  background: #fff; border-radius: var(--radius-lg); padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: var(--shadow-raised);
  justify-self: end;
  max-width: 240px;
}
.download__qr img { width: 100%; height: auto; border-radius: 8px; }
.download__qr span { color: var(--on-surface); font-weight: 700; font-size: 12px; letter-spacing: 0.6px; }

/* Footer */
.footer {
  background: var(--surface-inverse); color: var(--on-inverse);
  padding: 60px 20px 30px;
}
.footer__inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1.6fr; gap: 40px;
}
.footer__tag { color: #b8b5ad; margin-top: 16px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__cols h5 { font-size: 12px; color: var(--brand-secondary); letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 12px; }
.footer__cols a { display: block; color: #d5cebe; font-size: 14px; margin-bottom: 8px; }
.footer__cols a:hover { color: #fff; }
.footer__legal { max-width: 1120px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid #3d3f36; color: #a29a89; font-size: 13px; text-align: center; }

/* Responsive */
@media (max-width: 768px) {
  .topbar__nav a:not(.btn) { display: none; }
  .hero { padding: 72px 20px 60px; }
  .providers, .download { grid-template-columns: 1fr; gap: 32px; }
  .download__qr { justify-self: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 20px; }
}
