/* Wanderoon marketing site — matched to the dashboard/landing design system
   (Nunito · violet #5b4fe6 + amber #f5a524 · warm neutrals · login backdrop). */
:root {
  --primary: #5b4fe6;
  --primary-hover: #3f33bf;
  --accent: #f5a524;         /* amber pop — eyebrows, dots, kickers */
  --ink: #000000;
  --body: #33332e;
  --muted: #62625b;
  --surface: #f6f6f3;
  --surface-hover: #e5e5e0;
  --alt: #fbfbf9;            /* page background */
  --white: #ffffff;
  --dark: #14101f;          /* login / hero backdrop */
  --border: #dadad3;
  --r: 16px;
  --maxw: 1120px;
  --shadow: 0 1px 10px rgba(15,27,42,.06);
  --font: "Nunito", -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--alt); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font); color: var(--ink); margin: 0 0 .4em; text-wrap: balance; }
h1 { font-weight: 600; line-height: 1.08; letter-spacing: -1.2px; font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-weight: 700; line-height: 1.14; letter-spacing: -1px; font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: var(--primary-hover); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 800; color: var(--accent); margin-bottom: .7rem; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 44ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* nav — fixed + transparent over the hero, solid once scrolled past it */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: transparent; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.nav--solid { background: rgba(251,251,249,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom-color: var(--border); box-shadow: var(--shadow); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.28rem; color: var(--ink); letter-spacing: -.5px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; display: block; }
.nav .spacer { flex: 1; }
.nav a.link { color: var(--body); font-weight: 700; font-size: .96rem; padding: 4px 8px; border-radius: 8px; }
.nav a.link:hover { color: var(--ink); text-decoration: none; }
/* over the dark hero: white brand + links */
.nav--over .brand { color: #fff; }
.nav--over a.link { color: rgba(255,255,255,.82); }
.nav--over a.link:hover { color: #fff; }
@media (max-width: 720px) { .nav a.link { display: none; } }

/* buttons — pill, like the dashboard */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 800; font-size: .98rem; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, transform .06s ease; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-hover); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* sections */
section { padding: 76px 0; }
.soft { background: var(--surface); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-size: .85rem; font-weight: 700; color: var(--muted); box-shadow: var(--shadow); }

/* dark hero — the app's animated constellation backdrop over #14101f */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 128px 0 88px; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.74); }
.hero .eyebrow { color: var(--accent); }
.hero .wrap { position: relative; z-index: 1; }
.hero .kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(245,165,36,.14); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.dot { height: 8px; width: 8px; border-radius: 999px; background: var(--accent); display: inline-block; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card .ico { font-size: 1.6rem; line-height: 1; margin-bottom: 12px; display: block; }
.card h3 { color: var(--ink); }
.card p { margin: 0; font-size: .98rem; }

/* comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { background: var(--surface); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.compare thead th.us { color: var(--primary); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.feat { font-weight: 700; color: var(--ink); width: 42%; }
.compare td.us { background: #f7f6ff; }
.compare .yes { color: #16a34a; font-weight: 800; }
.compare .muted { color: var(--muted); }
.tablewrap { overflow-x: auto; }
@media (max-width: 720px) { .compare td.feat { width: 50%; } .compare th, .compare td { padding: 12px; font-size: .92rem; } }

/* waitlist form — same animated dark backdrop */
.waitlist { position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: 22px; padding: 46px; border: 1px solid rgba(255,255,255,.08); }
.waitlist > *:not(.hero-canvas) { position: relative; z-index: 1; }
.waitlist h2 { color: #fff; }
.waitlist p { color: rgba(255,255,255,.74); }
.wform { display: grid; gap: 12px; max-width: 480px; }
.wform.inline { grid-template-columns: 1fr auto; align-items: start; }
.wform input, .wform select { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid transparent; font: inherit; background: #fff; color: var(--ink); }
.wform input::placeholder { color: #8a8f83; }
.wform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .wform.inline { grid-template-columns: 1fr; } .wform .row2 { grid-template-columns: 1fr; } }
.wform .consent { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: rgba(255,255,255,.78); }
.wform .consent a { color: #fff; }
.wform .consent input { width: auto; margin-top: 3px; }
.wnote { font-size: .82rem; color: rgba(255,255,255,.66); margin: 6px 0 0; }
.wmsg { margin-top: 12px; font-weight: 700; }
.wmsg.ok { color: #baf7cf; }
.wmsg.err { color: #ffd0d0; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.disclaimer { font-size: .8rem; color: #9a9f92; max-width: 72ch; margin: 18px auto 0; text-align: center; }
