/* ─────────────────────────────────────────────────────────────────────────
   InForge — shared marketing / SEO page styles.
   Linked by the public marketing pages (templates, features, white-label,
   client-portal, e-signature, payments, …) alongside styles.css, which
   provides the design tokens (--muted, --line, --bg2, --brand) and .btn.
   The original landing/guide/pricing pages carry these rules inline; this
   file is the single source for every new page.
   ───────────────────────────────────────────────────────────────────────── */

.wrapn { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ── Top nav (with Product / Templates dropdowns) ── */
.nav { display: flex; align-items: center; gap: 16px; padding: 16px 28px; max-width: 1080px; margin: 0 auto; }
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #fff; }
.nav .brand img { width: 30px; height: 30px; }
.nav .links { display: flex; gap: 22px; margin: 0 auto; align-items: center; }
.nav .links > a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav .links > a:hover { color: #fff; }
.nav .navitem { position: relative; }
.nav .navtop { color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav .navitem:hover .navtop, .nav .navitem:focus-within .navtop { color: #fff; }
.nav .navtop .caret { font-size: 10px; opacity: .8; }
.nav .dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 232px; background: #0e1524; border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: none; flex-direction: column; gap: 1px; box-shadow: 0 16px 40px rgba(0,0,0,.45); z-index: 60; }
.nav .navitem:hover .dropdown, .nav .navitem:focus-within .dropdown { display: flex; }
.nav .dropdown a { padding: 9px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: #c3ccd8; white-space: nowrap; }
.nav .dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav .dropdown a .d { display: block; font-size: 11.5px; font-weight: 500; color: #7f8b9c; margin-top: 1px; }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; color: #fff; width: 42px; height: 38px; font-size: 19px; line-height: 1; cursor: pointer; align-items: center; justify-content: center; }
.mobile-menu { display: none; border-bottom: 1px solid var(--line); background: #0c111b; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 13px 28px; color: #c3ccd8; font-size: 15px; font-weight: 600; border-top: 1px solid rgba(255,255,255,.05); text-decoration: none; }
.mobile-menu a.mh { color: #7f8b9c; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 14px 28px 6px; }
.mobile-menu a:not(.mh):hover, .mobile-menu a:active { background: rgba(255,255,255,.04); color: #fff; }
@media (min-width: 761px) { .mobile-menu { display: none !important; } }
@media (max-width: 760px) {
  .nav .links { display: none; }
  .nav .brand { margin-right: auto; }
  .navsignin { display: none; }
  .burger { display: inline-flex; }
}

/* ── Hero ── */
.hero { max-width: 1080px; margin: 0 auto; padding: 56px 28px 30px; }
.hero.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .hero.split { grid-template-columns: 1fr; text-align: center; padding-top: 36px; } .hero.split .cta { justify-content: center; } }
.hero.center { text-align: center; max-width: 820px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #93B8FF; margin-bottom: 16px; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.07; letter-spacing: -0.025em; }
.hero h1 .grad { background: linear-gradient(120deg, #93B8FF, #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 880px) { .hero h1 { font-size: 34px; } }
.hero p.sub { font-size: 18px; color: var(--muted); margin: 20px 0 0; max-width: 560px; line-height: 1.6; }
.hero.center p.sub { margin-left: auto; margin-right: auto; }
.hero .cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero.center .cta { justify-content: center; }
.hero .cta .btn { font-size: 15px; padding: 13px 26px; }
.kicker2 { margin-top: 16px; font-size: 13px; color: #8a93a0; display: flex; gap: 16px; flex-wrap: wrap; }
.hero.center .kicker2 { justify-content: center; }
.kicker2 span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Section shells ── */
section.band { padding: 52px 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #93B8FF; text-align: center; }
h2.center { font-size: 32px; font-weight: 800; text-align: center; letter-spacing: -.02em; margin: 10px auto 8px; max-width: 720px; }
p.lede { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 16px; line-height: 1.6; }
@media (max-width: 760px) { h2.center { font-size: 26px; } }

/* ── Reusable component grids ── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.step .n { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; margin-bottom: 12px; }
.step h4 { font-size: 15px; font-weight: 800; margin-bottom: 5px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.why { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }
.why .w { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.why .w .ic { font-size: 22px; margin-bottom: 10px; }
.why .w h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.why .w p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } }
.ba .col { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.ba .col h4 { font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.ba li { list-style: none; font-size: 14px; color: var(--muted); padding: 7px 0 7px 26px; position: relative; line-height: 1.5; }
.ba .bad li::before { content: "✕"; position: absolute; left: 0; color: #f87171; font-weight: 800; }
.ba .good li::before { content: "✓"; position: absolute; left: 0; color: #34d399; font-weight: 800; }

/* ── Article / template prose ── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 38px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 800; margin: 26px 0 8px; }
.prose p { font-size: 16px; color: var(--muted); line-height: 1.7; margin: 0 0 14px; }
.prose ul, .prose ol { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose a { color: #93B8FF; }
.prose strong { color: var(--text); }

/* Example document box (a rendered SOW / template sample) */
.tmplbox { background: #ffffff; color: #1a2233; border: 1px solid #e4e8ee; border-radius: 14px; padding: 26px 28px; box-shadow: 0 24px 60px -28px rgba(0,0,0,.5); font-size: 14px; line-height: 1.6; }
.tmplbox h4 { font-size: 16px; font-weight: 800; color: #16213a; margin: 0 0 4px; }
.tmplbox .muted2 { color: #6a7686; font-size: 12px; }
.tmplbox .rule { border: 0; border-top: 1px solid #e4e8ee; margin: 16px 0; }
.tmplbox .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.tmplbox .row .k { color: #46536a; }
.tmplbox .row .v { color: #16213a; font-weight: 700; }
.tmplbox .sec { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6a7686; margin: 4px 0 6px; }

.callout { background: linear-gradient(120deg, rgba(37,99,235,.10), rgba(124,58,237,.08)); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 24px 0; }
.callout b { color: var(--text); }

.hubgrid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 680px) { .hubgrid { grid-template-columns: 1fr; } }
.hubcard { display: block; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: border-color .15s, transform .1s; }
.hubcard:hover { border-color: rgba(147,184,255,.5); transform: translateY(-2px); }
.hubcard .ic { font-size: 24px; }
.hubcard h3 { font-size: 18px; font-weight: 800; margin: 10px 0 6px; color: var(--text); }
.hubcard p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.hubcard .go { margin-top: 12px; font-size: 13px; font-weight: 700; color: #93B8FF; }

/* ── Final CTA ── */
.finalcta { text-align: center; background: linear-gradient(120deg, rgba(37,99,235,.14), rgba(124,58,237,.12)); border: 1px solid var(--line); border-radius: 20px; padding: 44px 28px; margin-top: 20px; }
.finalcta h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.finalcta p { color: var(--muted); margin: 10px auto 22px; max-width: 520px; }

/* ── Multi-column footer ── */
footer { border-top: 1px solid var(--line); margin-top: 60px; }
footer .fcols { max-width: 1080px; margin: 0 auto; padding: 42px 28px 8px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { footer .fcols { grid-template-columns: 1fr 1fr 1fr; gap: 26px; } }
@media (max-width: 520px) { footer .fcols { grid-template-columns: 1fr 1fr; } }
footer .fcol { display: flex; flex-direction: column; gap: 9px; }
footer .fcol.brandcol { gap: 12px; }
footer .fbrand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; color: #fff; }
footer .fbrand img { width: 26px; height: 26px; }
footer .fblurb { font-size: 12.5px; color: #8a93a0; line-height: 1.6; max-width: 240px; }
footer .fh { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #cdd5e0; margin-bottom: 3px; }
footer .fcol a { color: #8a93a0; font-size: 13.5px; }
footer .fcol a:hover { color: #fff; }
footer .fin { max-width: 1080px; margin: 18px auto 0; padding: 18px 28px 46px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; color: #8a93a0; font-size: 13px; border-top: 1px solid var(--line); }
footer .fin a { color: #aeb7c4; }
footer .fin a:hover { color: #fff; }
footer .fin .sp { margin-left: auto; }
