/* SwipeImmo website — HIG-inspired. Matches the app's warm cream + terracotta palette. */

:root {
  --accent: #E8705E;
  --accent-dark: #C85A49;
  --cream: #FBF9F5;
  --stone-50: #F3EFEA;
  --stone-100: #E7E1D8;
  --stone-500: #78716C;
  --stone-900: #1C1917;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-w: 1120px;
  --sys-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sys-font);
  color: var(--stone-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--stone-100);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--stone-900);
}
.brand .dot {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 2px;
}
.lang-switch {
  font-size: 13px;
  color: var(--stone-500);
}
.lang-switch a {
  color: var(--stone-500);
  margin-left: 10px;
  padding: 2px 6px;
  border-radius: 6px;
}
.lang-switch a.active {
  color: var(--stone-900);
  background: var(--stone-50);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -1.5px;
  font-weight: 700;
}
.hero p.lede {
  font-size: 20px;
  color: var(--stone-500);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .1s ease, background .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}
.btn-secondary {
  background: var(--stone-50);
  color: var(--stone-900);
  border: 1px solid var(--stone-100);
}

/* ---------- Benefits ---------- */
.benefits {
  padding: 48px 0 72px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.benefit {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone-100);
}
.benefit .num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.benefit h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.3px;
}
.benefit p {
  margin: 0;
  color: var(--stone-500);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Screenshots ---------- */
.screens {
  padding: 48px 0 96px;
  background: var(--stone-50);
}
.screens h2 {
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 48px;
  letter-spacing: -0.5px;
}
.screens-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.screen-mock {
  width: 240px;
  height: 500px;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, var(--stone-50));
  border: 2px solid var(--stone-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-500);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

/* ---------- Contact ---------- */
.contact {
  padding: 72px 0 96px;
  text-align: center;
}
.contact h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.contact p {
  color: var(--stone-500);
  max-width: 520px;
  margin: 0 auto 24px;
  font-size: 17px;
  line-height: 1.5;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 48px 0 96px;
}
.legal h1 {
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -0.8px;
  margin: 0 0 8px;
}
.legal .updated {
  color: var(--stone-500);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal .lawyer-warning {
  background: #fff;
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -0.3px;
}
.legal p, .legal li {
  color: var(--stone-900);
  line-height: 1.65;
  font-size: 16px;
}
.legal ul { padding-left: 20px; }
.legal .toc {
  background: #fff;
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0 40px;
}
.legal .toc h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.legal .toc ol { margin: 0; padding-left: 20px; }
.legal .toc li { margin: 4px 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--stone-900);
  color: var(--stone-50);
  padding: 48px 0 32px;
  margin-top: 48px;
}
.site-footer a { color: #fff; opacity: .75; }
.site-footer a:hover { opacity: 1; }
.site-footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.site-footer .col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .6;
  margin: 0 0 12px;
}
.site-footer .col ul { list-style: none; padding: 0; margin: 0; }
.site-footer .col li { margin-bottom: 8px; font-size: 14px; }
.site-footer .legal-line {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .benefits { padding: 32px 0 48px; }
  .screens { padding: 32px 0 64px; }
  .screen-mock { width: 200px; height: 420px; }
}
