/* Flareless marketing site. Design tokens mirrored from the app's theme. */
:root {
  --brand: #e88858;
  --brand-deep: #d2703f;
  --brand-deeper: #ae5930;
  --brand-100: #f9e7dc;
  --brand-50: #fcf5f1;
  --bg: #f9f7f6;
  --surface: #ffffff;
  --ink: #141414;
  --ink-soft: #50555c;
  --ink-faint: #6c6f72;
  --border: #ece6e2;
  --green: #1e8e47;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
  --shadow-sm: 0 8px 24px rgba(20, 20, 20, 0.06);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Lexend', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(249, 247, 246, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* Mobile menu (CSS-only, no JS): a checkbox toggles the dropdown. */
.nav-toggle { display: none; }
.hamburger { display: none; }
.hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }

/* Logo mark */
.mark { width: 30px; height: 30px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; cursor: pointer; border: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(232, 136, 88, 0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(232, 136, 88, 0.42); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--brand); }

/* Hero */
.hero { padding: 80px 0 64px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-deep); background: var(--brand-50);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 7vw, 68px); }
.hero .lead { max-width: 620px; margin: 22px auto 0; font-size: clamp(17px, 2.4vw, 20px); color: var(--ink-soft); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.note { margin-top: 16px; font-size: 14px; color: var(--ink-faint); }

/* Floating suspect ring */
.ring-stage { margin: 56px auto 0; position: relative; width: 100%; max-width: 560px; height: 200px; }
.big-ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 132px; height: 132px; border-radius: 50%; border: 10px solid var(--brand);
  display: grid; place-items: center;
}
.big-ring span { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); }
.chip {
  position: absolute; width: 60px; height: 60px; border-radius: 18px; background: var(--surface);
  box-shadow: var(--shadow-sm); display: grid; place-items: center;
  animation: bob 3.4s ease-in-out infinite;
}
.chip svg { width: 26px; height: 26px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4.5vw, 40px); }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }

/* Band */
.band { background: var(--ink); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band .pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.no-pill { border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.85); padding: 9px 16px; border-radius: 999px; font-size: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-50); color: var(--brand-deep); font-family: 'Lexend'; font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.feature .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-100); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 22px; height: 22px; stroke: var(--brand-deep); }
.feature h3 { font-size: 18px; margin-bottom: 7px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* Privacy block */
.privacy-block { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); text-align: center; }
.privacy-block h2 { font-size: clamp(26px, 4vw, 38px); }
.privacy-block p { max-width: 640px; margin: 16px auto 0; color: var(--ink-soft); font-size: 17px; }
.privacy-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; text-align: left; }
.pp { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.pp strong { display: block; margin-bottom: 4px; }
.pp span { color: var(--ink-soft); font-size: 14.5px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--border); padding: 22px 0; }
.qa h3 { font-size: 18px; }
.qa p { margin-top: 8px; color: var(--ink-soft); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 44px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--ink-soft); font-size: 15px; }
.foot-links a:hover { color: var(--brand-deep); }
.copy { color: var(--ink-faint); font-size: 14px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 0; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 8px; }
.legal .updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--brand-deep); text-decoration: underline; }
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-soft); font-size: 15px; margin-bottom: 28px; }

@media (max-width: 820px) {
  .hamburger {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 10px; margin: -10px -10px -10px 0; border-radius: 10px;
  }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 6px 24px 14px; box-shadow: var(--shadow-sm);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { font-size: 16px; padding: 14px 2px; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  /* hamburger morphs into an X when open */
  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .steps, .features, .privacy-points { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
