/* Heimly — landing + legal pages. Warm editorial, purple-led, no gradients. */
:root {
  --bg: #ffffff;
  --warm: #f7f3fb;        /* warm purple-tinted section bg */
  --warm-2: #f3eefc;
  --ink: #211c33;         /* deep plum ink */
  --muted: #6e6880;
  --purple: #6b46f5;      /* primary */
  --purple-deep: #4a2fb0;
  --purple-soft: #efe9fc; /* chips / icon bg */
  --line: #ece7f3;
  --wood: #c8a27a;        /* sparing warm accent */
  --radius: 20px;
  --shadow: 0 18px 50px rgba(74, 47, 176, 0.10);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
a { color: var(--purple-deep); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 18px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: #fff; }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: #fff; font-weight: 600; font-size: 14px;
  padding: 11px 20px; border-radius: 40px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--purple-deep); transform: translateY(-1px); }
.btn.ghost { background: var(--purple-soft); color: var(--purple-deep); }
.btn.ghost:hover { background: #e6ddfb; }
.btn.soon { position: relative; }
.btn.soon .dot { width: 7px; height: 7px; border-radius: 50%; background: #b9a6f7; }

/* ---- hero ---- */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple-soft); color: var(--purple-deep);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 40px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 6vw, 60px); margin: 0 0 18px; }
.hero h1 .accent { color: var(--purple); font-style: italic; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 30em; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--muted); }
.hero-visual { display: flex; justify-content: center; }

/* phone frame */
.phone {
  width: 300px; max-width: 78vw; border-radius: 42px; padding: 12px;
  background: #14101f; box-shadow: var(--shadow);
}
.phone img { border-radius: 30px; width: 100%; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .eyebrow { }
}

/* ---- sections ---- */
section { padding: 66px 0; }
.section-warm { background: var(--warm); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* before/after showcase */
.ba { max-width: 760px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.ba img { width: 100%; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico {
  width: 46px; height: 46px; border-radius: 13px; background: var(--purple-soft);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 20px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* screenshots */
.shots { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.shots .phone { width: 220px; }

/* CTA band (solid purple, no gradient) */
.cta { background: var(--purple); color: #fff; text-align: center; border-radius: 28px; padding: 56px 28px; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; }
.cta p { color: #e4dcfb; margin: 0 0 26px; font-size: 17px; }
.cta .btn { background: #fff; color: var(--purple-deep); }
.cta .btn:hover { background: #f1ecff; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer .brand { font-size: 16px; }
footer .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
footer .foot-links a { color: var(--muted); font-size: 14px; }
footer .foot-links a:hover { color: var(--ink); }
footer .copy { color: var(--muted); font-size: 13px; width: 100%; }

/* ---- legal pages ---- */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.legal .back { font-size: 14px; color: var(--muted); display: inline-block; margin-bottom: 22px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 34px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: #423c53; font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--purple-deep); text-decoration: underline; }
.legal .box { background: var(--warm); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
