/* MAISON Landing — Aesthetic mirrors the app:
   cream ground, serif headlines, restrained sans body, plenty of whitespace. */

:root {
  --ground: #F5F0E8;
  --card: #FFFFFF;
  --foreground: #1C1C1C;
  --foreground-soft: #5A5856;
  --accent: #A0795A;
  --gold: #D4A859;
  --line: rgba(28, 28, 28, 0.08);

  --serif: "Cormorant Garamond", "EB Garamond", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ground);
  color: var(--foreground);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Top bar ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: saturate(120%) blur(12px);
  -webkit-backdrop-filter: saturate(120%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 4px;
  font-weight: 500;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--foreground-soft);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--foreground); }
.cta-link {
  background: var(--foreground);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px !important;
  letter-spacing: 1.2px;
  font-weight: 500;
}
.cta-link:hover { color: #fff !important; opacity: 0.92; }

@media (max-width: 640px) {
  .nav a:not(.cta-link) { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image:
    url("https://images.unsplash.com/photo-1708397016786-8916880649b8?auto=format&fit=crop&w=2000&q=85");
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(28, 28, 28, 0.42) 0%,
    rgba(28, 28, 28, 0.55) 60%,
    rgba(28, 28, 28, 0.78) 100%);
  z-index: -1;
}
.hero-inner {
  color: #fff;
  padding: 120px 24px 120px;
  max-width: 720px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.eyebrow.center {
  text-align: center;
  color: var(--accent);
}
.headline {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}
.lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 0 32px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  transition: transform 0.12s ease, opacity 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 20px 36px; font-size: 14px; }
.btn-primary {
  background: #fff;
  color: var(--foreground);
}
.btn-primary:hover { background: #fafaf6; opacity: 0.95; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ============ Sections ============ */
.section {
  padding: 120px 0;
}
.section-alt {
  background: #FBF8F2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  text-align: center;
  margin: 8px 0 56px;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

/* ============ Feature grid ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(28, 28, 28, 0.06);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #FBF6EE;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
}
.card-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--foreground-soft);
  margin: 0;
}

/* ============ Steps ============ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.steps li {
  padding: 0;
}
.step-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  min-width: 40px;
}
.steps h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px;
}
.steps p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--foreground-soft);
  margin: 0;
}

/* ============ Final CTA ============ */
.cta-band {
  background: var(--foreground);
  color: #fff;
  padding: 110px 0;
  text-align: center;
}
.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 500;
  margin: 0 0 14px;
}
.cta-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin: 0 0 32px;
}

/* ============ Footer ============ */
.footer {
  background: #EFE8DD;
  padding: 60px 0 24px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.footer-brand .brand-mark { margin-bottom: 12px; }
.footer-tag {
  font-size: 13px;
  color: var(--foreground-soft);
  max-width: 280px;
  margin: 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.foot-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--foreground);
  margin: 0 0 14px;
}
.footer a {
  display: block;
  font-size: 13px;
  color: var(--foreground-soft);
  margin-bottom: 8px;
  transition: color 0.15s ease;
}
.footer a:hover { color: var(--foreground); }
.copyright {
  text-align: center;
  font-size: 11px;
  color: var(--foreground-soft);
  margin-top: 48px;
  letter-spacing: 0.5px;
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .cta-band { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 100px 24px 100px; }
}
