/* We Market You — "Citrus Signal" palette
   Neon-on-neutral: electric chartreuse + coral on a warm off-white base.
   Light theme. Energetic, modern, growth-marketing.
*/

:root {
  --bg:          #FAF7F2;  /* warm off-white (Cloud Dancer) */
  --surface:     #FFFFFF;  /* cards */
  --surface-2:   #F1ECE2;  /* raised / soft fills, inputs */
  --ink:         #14140F;  /* near-black, primary text */
  --ink-soft:    #4C4A40;  /* secondary text */
  --ink-dim:     #8B897C;  /* captions, muted */
  --accent:      #BEF000;  /* electric chartreuse — primary signal */
  --accent-deep: #A4D400;  /* hover */
  --accent-soft: rgba(190, 240, 0, .18);
  --pop:         #FF6B4A;  /* coral — secondary accent / energy */
  --pop-deep:    #F0512E;
  --pop-soft:    rgba(255, 107, 74, .12);
  --line:        #E7E1D5;  /* borders, dividers */
  --line-soft:   #F0EBE0;
  --ok:          #16A34A;
  --warn:        #D97706;
  --err:         #DC2626;
  --shadow:      0 1px 2px rgba(20,20,15,.04), 0 8px 24px rgba(20,20,15,.06);
  --shadow-lg:   0 4px 12px rgba(20,20,15,.06), 0 24px 60px rgba(20,20,15,.10);
  --radius:      16px;
  --radius-sm:   10px;
  --container:   1180px;
  --font-sans:   'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display:'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(820px 520px at 88% -8%, var(--accent-soft), transparent 60%),
    radial-gradient(640px 460px at -8% 108%, var(--pop-soft), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  transition: color .15s ease, border-color .15s ease;
}
a:hover { border-bottom-color: var(--pop); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
code, kbd, .mono {
  font-family: var(--font-mono);
  background: var(--surface-2);
  padding: .12em .4em;
  border-radius: 4px;
  font-size: .92em;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.muted { color: var(--ink-soft); }
.dim { color: var(--ink-dim); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow-coral { background: var(--pop); color: #fff; }
.eyebrow-ghost {
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: .5rem .75rem; z-index: 1000; border: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--ink); font-weight: 700; border: none;
  font-family: var(--font-display); font-size: 1.15rem;
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(190,240,0,.4);
}

.primary-nav { display: flex; align-items: center; gap: 1.4rem; }
.primary-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  border: none;
  font-size: .95rem;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: .55rem 1.25rem; border-radius: 9px;
  font-weight: 600 !important;
  font-size: .9rem !important;
  border: none !important;
  box-shadow: var(--shadow);
}
.nav-cta:hover { background: var(--accent); color: var(--ink) !important; }

.nav-ghost {
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  padding: .5rem 1rem; border-radius: 9px;
  font-size: .9rem !important;
  font-weight: 500 !important;
}
.nav-ghost:hover { border-color: var(--ink) !important; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: .4rem; cursor: pointer;
  width: 40px; height: 40px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px auto; border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.25rem 1rem;
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { max-height: 520px; }
  .primary-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line-soft); }
  .primary-nav a:last-child { border-bottom: 0; }
  .nav-cta, .nav-ghost { margin-top: .5rem; text-align: center; }
}

/* ── Flash ── */
.flash-stack { margin-top: 1rem; }
.flash {
  padding: .8rem 1rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  margin-bottom: .5rem; color: var(--ink);
  box-shadow: var(--shadow);
}
.flash-success { border-left: 3px solid var(--ok); }
.flash-error   { border-left: 3px solid var(--err); }
.flash-warning { border-left: 3px solid var(--warn); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 11px;
  font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .08s, box-shadow .2s;
  font-family: var(--font-sans);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: var(--ink); border: none;
  box-shadow: 0 6px 18px rgba(190,240,0,.35);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 10px 26px rgba(190,240,0,.45); }
.btn-ink {
  background: var(--ink); color: #fff; border: none;
}
.btn-ink:hover { background: #25241c; }
.btn-coral {
  background: var(--pop); color: #fff; border: none;
  box-shadow: 0 6px 18px rgba(255,107,74,.3);
}
.btn-coral:hover { background: var(--pop-deep); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn.full { display: flex; width: 100%; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; border-radius: 9px; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; border-radius: 12px; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ── Hero ── */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1.15fr 1fr; align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hi {
  background: var(--accent);
  box-shadow: inset 0 -0.38em 0 var(--accent);
  padding: 0 .05em;
}
.hi-coral { background: var(--pop-soft); box-shadow: inset 0 -0.38em 0 var(--pop-soft); }
.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 40em;
}
.trust-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.75rem; }
.trust-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--surface); border: 1px solid var(--line);
  padding: .4rem .9rem; border-radius: 999px;
  font-size: .82rem; color: var(--ink-soft); font-weight: 500;
}
.trust-pill::before { content: '✓'; color: var(--pop); font-weight: 700; }

/* Hero report-preview card */
.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--pop));
}
.card-h {
  font-family: var(--font-mono);
  font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-dim);
  margin-bottom: .9rem;
}
.score-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .94rem;
}
.score-row:last-child { border-bottom: 0; }
.score-bar { height: 7px; width: 120px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.score-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--pop)); }

/* ── Sections ── */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-ink { background: var(--ink); color: #F1ECE2; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .muted { color: #B8B5A8; }
.section-head { margin-bottom: 2.5rem; max-width: 44em; }
.section-head.center { margin-inline: auto; }

/* ── Service cards ── */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
@media (max-width: 920px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.service-ico {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--ink);
  font-size: 1.4rem; margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.service-card .tagline { color: var(--ink); font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.service-card .desc { color: var(--ink-soft); font-size: .94rem; flex-grow: 1; margin-bottom: 1.1rem; }
.service-card .card-link { border: none; font-weight: 600; font-size: .92rem; color: var(--ink); }
.service-card .card-link::after { content: ' →'; color: var(--pop); }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: .5rem; }
.step .num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  margin-bottom: .9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ── Stat strip ── */
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 720px) { .strip-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.strip-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 700; line-height: 1;
  color: var(--ink);
}
.section-ink .strip-num { color: var(--accent); }
.strip .label { color: var(--ink-soft); margin-top: .5rem; font-size: .92rem; }
.section-ink .strip .label { color: #B8B5A8; }

/* ── CTA band ── */
.cta-band {
  background: var(--accent);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: #2a2a1e; max-width: 36em; margin-inline: auto; }

/* ── Forms ── */
.form-stack { display: grid; gap: 1.1rem; max-width: 38em; }
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-stack .row { display: grid; gap: .35rem; }
.form-stack label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%; font: inherit; color: var(--ink);
  padding: .75rem .9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
  font-family: var(--font-sans);
}
.form-stack input::placeholder, .form-stack textarea::placeholder { color: var(--ink-dim); }
.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
  outline: 0; border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-stack .err, .errorlist { color: var(--err); font-size: .88rem; margin: .2rem 0 0; padding: 0; list-style: none; }
.form-stack .help, .helptext { color: var(--ink-dim); font-size: .85rem; margin: 0; }

/* inline newsletter form */
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; max-width: 30em; }
.inline-form input { flex: 1 1 14em; }

/* ── Dashboard ── */
.dash-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem;
}
.req-table { width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.req-table th, .req-table td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line-soft); }
.req-table th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.req-table tr:last-child td { border-bottom: 0; }
.req-table a { border: none; font-weight: 600; }

.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px;
}
.badge-queued { background: var(--surface-2); color: var(--ink-soft); }
.badge-generating { background: var(--accent-soft); color: var(--ink); }
.badge-ready { background: rgba(22,163,74,.14); color: var(--ok); }
.badge-failed { background: rgba(220,38,38,.12); color: var(--err); }

.empty {
  text-align: center; padding: 3rem 1.5rem;
  background: var(--surface); border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ── Auth pages ── */
.auth-shell { min-height: 70vh; display: grid; place-items: center; padding: 3rem 1rem; }
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.25rem;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--pop));
}
.auth-card h1 { font-size: 1.8rem; }

/* ── Prose ── */
.prose { max-width: 42em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose :first-child { margin-top: 0; }
.prose strong { color: var(--ink); }

/* ── Footer ── */
.site-footer {
  background: var(--ink); color: #B8B5A8;
  padding: 3.5rem 0 1.5rem; margin-top: 4rem;
}
.site-footer a { color: #F1ECE2; border-bottom-color: rgba(255,255,255,.18); }
.site-footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: .5rem; color: #fff; }
.footer-h { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; font-weight: 700; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: .4rem; }
.footer-bottom { padding-top: 1.5rem; text-align: center; font-size: .85rem; color: #8B897C; }

/* ── Utility ── */
.stack > * + * { margin-top: 1rem; }
.hr { border: 0; height: 1px; background: var(--line); margin: 1.5rem 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.tag-list li { background: var(--surface-2); border: 1px solid var(--line); padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; color: var(--ink-soft); }
