/* Quippable marketing site — brand colours mirror mobile/src/theme/colors.ts */
:root {
  --primary: #E07A3A;
  --primary-dark: #C85A1A;
  --bg: #FFFAF6;
  --surface: #FFFFFF;
  --surface-muted: #F5F0EB;
  --highlight: #FFE8D6;
  --premium: #A855C8;
  --text: #3D2B1A;
  --text-secondary: #A08060;
  --text-muted: #5F5E5A;
  --border-warm: #FFD4B0;
  --border-soft: #F1EFE8;
  --topic-bg: #EAF3DE;
  --topic-text: #3B6D11;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--text); }

a { color: var(--primary-dark); }

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

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 250, 246, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--text); text-decoration: none; }
.brand .mark { font-size: 30px; color: var(--primary); line-height: 1; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: none; transition: transform .08s ease, background .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-warm); }
.btn-ghost:hover { background: var(--highlight); }

/* ---- Hero ---- */
.hero { padding: 88px 0 64px; text-align: center; }
.hero .eyebrow {
  display: inline-block; background: var(--topic-bg); color: var(--topic-text);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .02em; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(36px, 6vw, 60px); margin: 0 0 20px; }
.hero h1 .accent { color: var(--primary); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-muted); max-width: 620px; margin: 0 auto 32px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--text-secondary); }

/* ---- Quote strip ---- */
.quote-strip { padding: 8px 0 56px; }
.quote-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 18px; padding: 28px 30px; max-width: 560px; margin: 0 auto;
  box-shadow: 0 10px 30px rgba(224, 122, 58, 0.08);
}
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: 24px; color: var(--text); }
.quote-card .attr { margin-top: 14px; display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 14px; }
.quote-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); display: inline-block; }

/* ---- Features ---- */
.section { padding: 72px 0; }
.section h2 { font-size: clamp(28px, 4vw, 38px); text-align: center; margin: 0 0 12px; }
.section .sub { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 48px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 16px; padding: 28px;
}
.card .ico { font-size: 28px; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.card .tag-premium {
  display: inline-block; background: #F7E9FB; color: var(--premium);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-left: 8px;
}

/* ---- CTA band ---- */
.cta-band { background: var(--highlight); border-radius: 24px; padding: 56px 32px; text-align: center; margin: 24px 0; }
.cta-band h2 { margin: 0 0 12px; }
.cta-band p { color: var(--text-muted); margin: 0 0 28px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 40px 0; margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--text); }
.site-footer .copy { color: var(--text-secondary); font-size: 14px; }

/* ---- Legal / content pages ---- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: 40px; margin: 0 0 8px; }
.doc .updated { color: var(--text-secondary); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--text-muted); }
.doc a.back { display: inline-block; margin-bottom: 28px; text-decoration: none; font-size: 14px; }
.callout {
  background: var(--surface-muted); border: 1px solid var(--border-soft);
  border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--text-muted);
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 40px; }
}
