/* Glowel marketing + legal site — shared styles.
   Palette mirrors the app's design tokens (blush/rose, soft lilac). */

:root {
  --bg: #fff7f5;
  --surface: #ffffff;
  --surface-alt: #fff9fb;
  --border: #f3e4ea;
  --text: #2c2530;
  --muted: #75686f;
  --faint: #b6a8b0;
  --accent: #f2668e;
  --accent-dark: #d24970;
  --accent-soft: #fceaf0;
  --lilac: #b79deb;
  --good: #3fb68a;
  --radius: 22px;
  --radius-sm: 12px;
  --maxw: 1080px;
  --proseW: 760px;
  --shadow: 0 18px 40px -18px rgba(201, 72, 110, 0.35);
  --grad-primary: linear-gradient(135deg, #ff9dbb 0%, #f2668e 100%);
  --grad-hero: linear-gradient(160deg, #fff1f4 0%, #fbf5ff 60%, #f4e7fb 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

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

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

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 245, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px;
  font-family: "Poppins", sans-serif; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--accent-dark); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--grad-primary); color: #fff; border: none; cursor: pointer;
  box-shadow: var(--shadow); transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; opacity: 0.96; }
.btn-ghost {
  background: var(--surface); color: var(--accent-dark);
  border: 1px solid var(--border); box-shadow: none;
}

/* ---- Hero ---- */
.hero { background: var(--grad-hero); padding: 84px 0 96px; text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px;
  font-weight: 700; color: var(--accent); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; max-width: 14ch; margin-inline: auto; }
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 21px); color: var(--muted);
  max-width: 56ch; margin: 18px auto 32px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge-soft {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; color: var(--muted);
}
.badge-soft .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px -22px rgba(201,72,110,.4);
}
.card .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); margin-bottom: 16px;
}
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* privacy band */
.band { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.band ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.band li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.band li svg { flex: none; margin-top: 3px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad-primary);
  color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { font-size: 18px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* CTA */
.cta-band { background: var(--grad-primary); color: #fff; border-radius: 28px; padding: 56px 32px;
  text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto 26px; font-size: 18px; }
.cta-band .btn { background: #fff; color: var(--accent-dark); }

/* ---- Prose (legal pages) ---- */
.prose-wrap { padding: 56px 0 80px; }
.prose { max-width: var(--proseW); margin: 0 auto; }
.prose .eyebrow { text-align: left; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.updated { color: var(--faint); font-size: 14px; margin: -4px 0 36px; }
.prose h2 { font-size: 23px; font-weight: 700; margin-top: 40px; }
.prose h3 { font-size: 18px; font-weight: 700; margin-top: 26px; }
.prose p, .prose li { color: #443c45; font-size: 16.5px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.callout {
  background: var(--accent-soft); border: 1px solid #f6d6e1; border-radius: var(--radius-sm);
  padding: 18px 20px; margin: 24px 0; color: var(--accent-dark); font-size: 15.5px;
}
.toc { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 22px; margin: 28px 0; }
.toc strong { display: block; margin-bottom: 8px; font-family: "Poppins", sans-serif; }
.toc ul { columns: 2; list-style: none; padding: 0; margin: 0; }
.toc a { font-size: 15px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 920px; margin: 0 auto; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; }
.contact-card h3 { font-size: 19px; }
.contact-card p { color: var(--muted); margin: 6px 0 0; }
.contact-card a.big { font-size: 18px; font-weight: 600; }

/* ---- Footer ---- */
.site-footer { background: #1f1820; color: #cfc4cb; padding: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer .brand { color: #fff; }
.site-footer p { color: #998d96; font-size: 15px; max-width: 36ch; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: #8d8089; margin: 0 0 14px; }
.footer-col a { display: block; color: #cfc4cb; font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #332b34; padding-top: 22px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8d8089; font-size: 14px; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .band .inner, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .toc ul { columns: 1; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
}
