/* Evan Assistant brand skin. */
:root {
  --bg: #04090c;
  --bg2: #061219;
  --panel: #0a1418;
  --text: #dcedf0;
  --muted: rgba(243, 240, 232, .78);
  --muted-2: rgba(243, 240, 232, .56);
  --border: rgba(164, 183, 168, .18);
  --border-strong: rgba(47, 212, 194, .38);
  --accent: #2fd4c2;   /* gold */
  --accent-2: #6ab8ff; /* sage */
  --radius: 12px;
  --shadow: 0 24px 64px rgba(0, 0, 0, .42);
  --pulse-edge-rgb: 8, 48, 56;
  --pulse-accent-rgb: 47, 212, 194;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --font-voice: "Source Serif 4", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
::selection { background: rgba(47, 212, 194, .24); color: var(--text); }
:focus-visible { outline: 2px solid rgba(47, 212, 194, .72); outline-offset: 2px; border-radius: 6px; }
body {
  background:
    radial-gradient(900px 620px at 0% 0%, rgba(var(--pulse-edge-rgb), .13), transparent 68%),
    radial-gradient(760px 520px at 100% 8%, rgba(var(--pulse-edge-rgb), .10), transparent 70%),
    radial-gradient(640px 460px at 100% 100%, rgba(var(--pulse-accent-rgb), .055), transparent 72%),
    linear-gradient(180deg, var(--bg), var(--bg2) 58%, var(--bg));
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-size: 132% 132%, 142% 142%, 152% 152%, 100% 100%;
  background-position: 0% 0%, 100% 8%, 100% 100%, 0 0;
  animation: deepwaterPagePulse 12.4s ease-in-out infinite;
}

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-display);
}

@keyframes deepwaterPagePulse {
  0%, 100% { background-position: 0% 0%, 100% 8%, 100% 100%, 0 0; }
  43% { background-position: 3% 2%, 96% 12%, 96% 96%, 0 0; }
  71% { background-position: 1% 4%, 98% 7%, 100% 94%, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

/* --- 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(47, 212, 194, .22), rgba(106, 184, 255, .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(47, 212, 194, .08); transition: background .15s ease;
}
.nav-cta:hover { background: rgba(47, 212, 194, .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(47, 212, 194, .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(10, 20, 24, .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(10, 20, 24, .7), rgba(6, 18, 25, .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(47, 212, 194, .2), rgba(106, 184, 255, .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(10, 20, 24, .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%; }
}
