/* EVAN public landing — brand skin (STAGED).
 * Brand tokens lifted from the EVAN product design (same palette the installed
 * app uses): deep navy base, warm bone text, gold + sage accents. */
:root {
  --bg: #060914;
  --bg2: #0c101d;
  --panel: #111827;
  --text: #f3f0e8;
  --muted: rgba(243, 240, 232, .78);
  --muted-2: rgba(243, 240, 232, .56);
  --border: rgba(164, 183, 168, .18);
  --border-strong: rgba(205, 183, 126, .38);
  --accent: #cdb77e;   /* gold */
  --accent-2: #93b8a0; /* sage */
  --radius: 12px;
  --shadow: 0 24px 64px rgba(0, 0, 0, .42);
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
::selection { background: rgba(205, 183, 126, .24); color: var(--text); }
:focus-visible { outline: 2px solid rgba(205, 183, 126, .72); outline-offset: 2px; border-radius: 6px; }
body {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(205, 183, 126, .10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* --- Nav ------------------------------------------------------------------ */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1040px; margin: 0 auto; padding: 18px 24px;
  padding-top: max(18px, env(safe-area-inset-top));
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--border-strong); border-radius: 9px;
  background: linear-gradient(145deg, rgba(205, 183, 126, .22), rgba(147, 184, 160, .08));
  color: var(--accent); font-weight: 900; font-size: 19px;
}
.brand-mark.small { width: 30px; height: 30px; font-size: 15px; border-radius: 7px; }
.brand-text { display: grid; gap: 1px; }
.brand-name { font-size: 15px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.brand-sub { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.nav-cta {
  text-decoration: none; color: var(--text); font-weight: 800; font-size: 14px;
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 9px 18px;
  background: rgba(205, 183, 126, .08); transition: background .15s ease;
}
.nav-cta:hover { background: rgba(205, 183, 126, .16); }

/* --- Hero ----------------------------------------------------------------- */
main { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.hero { padding: 64px 0 40px; max-width: 760px; }
.kicker { font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.hero h1 { font-size: clamp(40px, 8vw, 72px); line-height: 1.02; margin: 0 0 20px; font-weight: 900; letter-spacing: -.02em; }
.grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); margin: 0 0 28px; }
.lede em { color: var(--text); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: var(--muted-2); margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 900; font-size: 15px; border-radius: 10px; padding: 13px 22px;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #0b0f1a;
  background: linear-gradient(120deg, var(--accent), #dcc896);
  border: 1px solid rgba(205, 183, 126, .8);
}
.btn-primary:hover { background: linear-gradient(120deg, #d8c088, var(--accent-2)); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); }

/* --- Bands ---------------------------------------------------------------- */
.band { padding: 52px 0; border-top: 1px solid var(--border); }
.band-quiet { background: linear-gradient(180deg, rgba(17, 24, 39, .35), transparent); }
.band h2 { font-size: clamp(26px, 4.4vw, 38px); margin: 0 0 14px; font-weight: 900; letter-spacing: -.01em; }
.band-lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 720px; margin: 0 0 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 30px; }
.card {
  background: linear-gradient(180deg, rgba(17, 24, 39, .7), rgba(11, 16, 28, .8));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 17px; color: var(--accent); font-weight: 900; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

.lock-row { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.lock-mark {
  width: 58px; height: 58px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--border-strong); border-radius: 14px; font-size: 26px; color: var(--accent);
  background: linear-gradient(145deg, rgba(205, 183, 126, .2), rgba(147, 184, 160, .06));
}
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; max-width: 640px; }
.checks li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-2); font-weight: 900;
}

/* --- Install steps (shown when one-tap install isn't offered) ------------- */
.install-help {
  margin-top: 20px; max-width: 640px;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; background: rgba(17, 24, 39, .5);
}
.install-help-title { margin: 0 0 6px; font-size: 15px; font-weight: 900; color: var(--accent); }
.install-help-note { margin: 0 0 10px; font-size: 14px; color: var(--muted-2); }
.install-help-note a { color: var(--accent); }
.install-help ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.install-help li { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* --- Footer --------------------------------------------------------------- */
.foot {
  max-width: 1040px; margin: 0 auto; padding: 40px 24px calc(48px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 13px;
}
.foot p { margin: 0; }
.foot-fine { color: var(--muted-2); opacity: .8; margin-left: auto; }

@media (max-width: 560px) {
  .foot-fine { margin-left: 0; width: 100%; }
}
