/* ZexyAi marketing + legal pages. Palette and type match the app's design system
   (app/lib/core/theme.dart): near-black, lime accent, Anton headlines, Manrope body.
   Fonts are self-hosted so visiting the site makes no third-party requests. */

@font-face {
  font-family: "Anton";
  src: url("/static/fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --surface: #17171b;
  --surface-alt: #1e1e23;
  --border: #2a2a30;
  --text: #ffffff;
  --muted: #9a9aa3;
  --faint: #6b6b73;
  --lime: #dcff3d;
  --on-lime: #0a0a0b;
  --coral: #ff6b52;
  --violet: #7b6ef6;
  --teal: #2ed9c3;
  --radius: 20px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

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

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.badge {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font: 400 20px/1 "Anton", sans-serif;
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
}
.brand-name { font: 400 24px/1 "Anton", sans-serif; letter-spacing: 0.02em; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--text); }

/* ---- buttons / pills ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font: 800 15px/1 "Manrope", sans-serif; letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid transparent;
}
.btn-lime { background: var(--lime); color: var(--on-lime); box-shadow: 0 0 40px rgba(220, 255, 61, 0.22); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-soon { border-color: var(--border); color: var(--muted); background: var(--surface); cursor: default; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral); background: rgba(255, 107, 82, 0.12); border: 1px solid rgba(255, 107, 82, 0.3);
}

/* ---- landing ---- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
h1, h2, h3.display { font-family: "Anton", "Impact", sans-serif; font-weight: 400; text-transform: uppercase; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(46px, 7.2vw, 88px); margin: 18px 0 20px; }
h1 .hl { color: var(--lime); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fineprint { color: var(--faint); font-size: 13px; margin-top: 14px; }

.phone {
  border-radius: 38px; border: 8px solid var(--surface); background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 90px rgba(220, 255, 61, 0.08);
  overflow: hidden; max-width: 320px; margin: 0 auto;
}
.phone img { width: 100%; height: auto; }

section { padding: 56px 0; }
.eyebrow { color: var(--lime); font-weight: 800; letter-spacing: 0.18em; font-size: 12px; text-transform: uppercase; margin: 0 0 12px; }
h2 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 36px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 8px; font-size: 18px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--surface-alt); }
.c-lime .icon { color: var(--lime); } .c-coral .icon { color: var(--coral); }
.c-violet .icon { color: var(--violet); } .c-teal .icon { color: var(--teal); }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font: 400 54px/1 "Anton", sans-serif; color: var(--lime); display: block; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.shots figure { margin: 0; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; font-weight: 600; }

.plans { grid-template-columns: repeat(2, 1fr); }
.plan h3 { font-size: 22px; margin: 0 0 6px; font-weight: 800; }
.plan ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.plan li { margin: 6px 0; }
.plan.premium { border-color: rgba(220, 255, 61, 0.45); box-shadow: 0 0 60px rgba(220, 255, 61, 0.07); }

.cta-band {
  text-align: center; padding: 56px 20px; border-radius: 28px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(220, 255, 61, 0.14), transparent 60%), var(--surface);
  border: 1px solid var(--border);
}
.cta-band p { color: var(--muted); max-width: 32em; margin: 0 auto 26px; }

/* ---- legal pages ---- */
.legal { padding: 48px 0 72px; }
.legal .doc { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.legal h1 { font-size: clamp(38px, 6vw, 60px); margin: 12px 0 10px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font: 800 22px/1.3 "Manrope", sans-serif; text-transform: none; margin: 40px 0 10px; scroll-margin-top: 84px; }
.legal h3 { font-size: 16px; font-weight: 800; margin: 22px 0 6px; }
.legal p, .legal li { color: #d6d6dc; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .summary {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin: 0 0 8px;
}
.legal .summary p { margin: 0 0 8px; }
.legal .summary p:last-child { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.legal th { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.legal td { color: #d6d6dc; }
.legal .toc { columns: 2; column-gap: 32px; padding-left: 20px; margin: 0 0 8px; font-size: 15px; }
.legal .toc li { break-inside: avoid; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--text); }
.legal-note { color: var(--faint); font-size: 12.5px; margin-top: 20px; max-width: 60em; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .shots, .plans { grid-template-columns: 1fr; }
  .shots { gap: 36px; }
  .nav a.hide-sm { display: none; }
  .legal .toc { columns: 1; }
  section { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
