/* Forge public site — shared styles (dark, matching the product) */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: #0f172a; color: #e2e8f0; line-height: 1.6; }
a { color: #fbbf24; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; color: #f8fafc; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .6rem; }
h3 { font-size: 1.1rem; margin-bottom: .4rem; }

.nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: #0b1220; border-bottom: 1px solid #1e293b; position: sticky; top: 0; z-index: 10; }
.nav-brand { font-weight: 800; font-size: 1.15rem; color: #fbbf24; }
.nav-links { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #cbd5e1; font-size: .95rem; }
.nav-cta { background: #f59e0b; color: #0b1220 !important; padding: .45rem 1rem; border-radius: .5rem; font-weight: 600; }
.nav-cta:hover { background: #fbbf24; text-decoration: none !important; }

.hero { text-align: center; padding: 5rem 1.5rem 4rem; max-width: 55rem; margin: 0 auto; }
.badge { display: inline-block; padding: .4rem 1rem; border: 1px solid rgba(251,191,36,.4); background: rgba(251,191,36,.12); color: #fbbf24; border-radius: 999px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.4rem; }
.accent { background: linear-gradient(90deg, #fbbf24, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: #94a3b8; max-width: 42rem; margin: 1.4rem auto 2.2rem; }
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: .85rem 1.8rem; border-radius: .6rem; font-weight: 600; font-size: 1.02rem; border: 2px solid transparent; transition: all .15s; }
.btn:hover { text-decoration: none !important; transform: translateY(-1px); }
.btn-primary { background: #f59e0b; color: #0b1220; }
.btn-primary:hover { background: #fbbf24; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #f8fafc; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: #1e293b; color: #f8fafc; }
.btn-dark:hover { background: #334155; }

.section { padding: 4.5rem 1.5rem; max-width: 70rem; margin: 0 auto; }
.section-dark { background: #111a2e; border-radius: 1.25rem; }
.section-alt { background: #131c31; border-radius: 1.25rem; }
.sub { font-size: 1.15rem; color: #94a3b8; max-width: 48rem; margin: 0 auto 2.2rem; text-align: center; }
.section > h2 { text-align: center; }

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }

.card { background: #16213a; border: 1px solid #233149; border-radius: .9rem; padding: 1.6rem; }
.card p { color: #94a3b8; font-size: .95rem; }
.card-tall { display: flex; flex-direction: column; gap: .9rem; }
.card-tall .btn { align-self: flex-start; margin-top: auto; }
.step { width: 2.6rem; height: 2.6rem; border-radius: .7rem; background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: .9rem; }

.chip { display: inline-block; align-self: flex-start; padding: .3rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.chip-amber { background: rgba(251,191,36,.15); color: #fbbf24; }
.chip-slate { background: rgba(148,163,184,.15); color: #cbd5e1; }

.pull-quote { text-align: center; font-size: clamp(1.2rem, 2.5vw, 1.6rem); color: #fbbf24; font-weight: 500; max-width: 44rem; margin: 2.6rem auto 2rem; }

.page-head { text-align: center; padding: 4rem 1.5rem 2.5rem; max-width: 52rem; margin: 0 auto; }
.page-head .lede { margin-bottom: 0; }

.flow { display: grid; gap: 1.2rem; margin: 2rem 0; }
.flow-item { display: flex; gap: 1.2rem; align-items: flex-start; background: #16213a; border: 1px solid #233149; border-radius: .9rem; padding: 1.5rem; }
.flow-num { flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 999px; background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.flow-item h3 { margin-bottom: .3rem; }
.flow-item p { color: #94a3b8; }

.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.2rem 0; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: #cbd5e1; }
.check-list li::before { content: '✓'; color: #34d399; font-weight: 800; }
.check-list li.bad::before { content: '✗'; color: #f87171; }

.footer { text-align: center; padding: 3rem 1.5rem; border-top: 1px solid #1e293b; margin-top: 3rem; }
.footer-links { margin: .6rem 0; }
.muted { color: #64748b; font-size: .9rem; }

/* Center standalone CTA paragraphs (buttons wrapped in <p>) */
p:has(> .btn) { text-align: center; margin-top: 2rem; }

/* Conditional auth button in the public nav */
.nav-auth { color: #cbd5e1; font-size: .95rem; border: 1px solid #334155; border-radius: .5rem; padding: .35rem .9rem; }
.nav-auth:hover { background: rgba(255,255,255,.06); text-decoration: none !important; }

/* Agency CTA bar — sits above the footer on every public page */
.agency-cta {
  max-width: 70rem;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.agency-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1d3a5f, #14532d66);
  border: 1px solid #2c4a6e;
  border-radius: 1.25rem;
  padding: 2.6rem 2rem;
}
.agency-cta-inner h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .3rem; }
.agency-cta-inner p { color: #cbd5e1; max-width: 40rem; font-size: 1.02rem; }
.agency-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Mobile nav: hamburger below 720px, full row above */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #334155;
  border-radius: .5rem;
  padding: .35rem .55rem;
  color: #cbd5e1;
  cursor: pointer;
  align-items: center;
}
.nav-toggle svg { display: block; }
.nav-links.open { display: flex; }
@media (max-width: 719px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: #0b1220;
    border-bottom: 1px solid #1e293b;
    padding: .8rem 1rem 1rem;
  }
  .nav-links a { padding: .6rem .4rem; }
  .nav-toggle { display: inline-flex; }
  .nav { position: relative; }
}
