/* Forge Onsite — local preview styles. Hand-written, no external dependencies. */
:root {
  --charcoal-900: #14171b;
  --charcoal-800: #1c1f24;
  --charcoal-700: #2a2e35;
  --charcoal-600: #3a3f47;
  --gray-500: #6b7480;
  --gray-300: #c9cdd3;
  --paper: #f7f5f1;
  --paper-2: #efebe4;
  --white: #ffffff;
  --orange: #f97316;        /* use with charcoal text, or on charcoal backgrounds */
  --orange-light: #fdba74;
  --orange-ink: #b8410b;    /* orange text on light backgrounds (AA) */
  --orange-tint: #fff1e6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,23,27,.06), 0 8px 24px rgba(20,23,27,.07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal-800);
  background: var(--paper);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; color: inherit; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--charcoal-900); padding: .6rem 1rem;
  font-weight: 700; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* Preview banner */
.preview-banner {
  background: repeating-linear-gradient(135deg, #fde68a 0 14px, #fcd34d 14px 28px);
  color: var(--charcoal-900);
  font-size: .875rem; font-weight: 700; text-align: center;
  padding: .45rem 1rem;
  border-bottom: 1px solid #d4a514;
}
.preview-banner span { font-weight: 500; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,23,27,.97);
  color: var(--white);
  border-bottom: 1px solid var(--charcoal-700);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.wordmark img { width: 34px; height: 34px; }
.wordmark .accent { color: var(--orange); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.site-nav a { color: #e6e8eb; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem .7rem; border-radius: 8px; display: block; }
.site-nav a:hover { color: var(--white); background: var(--charcoal-700); }
.site-nav .desktop { display: none; }
@media (min-width: 960px) { .site-nav .desktop { display: flex; } .mobile-menu { display: none; } }

/* Mobile menu (no-JS <details>) */
.mobile-menu { position: relative; }
.mobile-menu summary {
  list-style: none; cursor: pointer; color: var(--white); font-weight: 700;
  border: 1px solid var(--charcoal-600); border-radius: 10px; padding: .45rem .8rem; font-size: .95rem;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: " ▾"; color: var(--orange); }
.mobile-menu[open] summary::after { content: " ▴"; }
.mobile-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px;
  flex-direction: column; align-items: stretch; background: var(--charcoal-800);
  border: 1px solid var(--charcoal-600); border-radius: 12px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.4);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 750; font-size: 1rem; line-height: 1.2;
  padding: .9rem 1.35rem; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: var(--charcoal-900); }
.btn-primary:hover { background: #fb8a3c; }
.btn-ghost { border-color: #7c8490; color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--charcoal-800); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-700); }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: var(--charcoal-900); background: var(--orange); padding: .55rem 1rem; margin-left: 8px; }
.site-nav a.btn-primary:hover { background: #fb8a3c; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 64px 0; scroll-margin-top: 72px; }
@media (min-width: 768px) { section { padding: 96px 0; } }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: .9rem; }
.dark .eyebrow, .hero .eyebrow { color: var(--orange); }
.lead { font-size: 1.15rem; color: #3d434c; max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.dark { background: var(--charcoal-800); color: #eceef0; }
.dark .lead { color: #c9cdd3; }
.tint { background: var(--paper-2); }

/* Hero */
.hero { background: var(--charcoal-900); color: var(--white); padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 85% 10%, rgba(249,115,22,.16), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; position: relative; }
@media (min-width: 960px) { .hero { padding: 88px 0 96px; } .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 48px; } }
.hero h1 {
  margin-bottom: .4em;
  font-size: clamp(1.85rem, 2.7vw, 2.85rem);
  line-height: 1.08;
  text-wrap: wrap;
}
.hero h1 .line,
.hero h1 .hl { display: block; }
.hero h1 .hl { color: var(--orange); margin-top: 0.14em; }
.hero h1 .mobile-break { display: none; }
@media (max-width: 499px) { .hero h1 .mobile-break { display: inline; } }
.hero .lead { color: #d3d7dc; font-size: 1.2rem; margin-bottom: 1.6em; }
.hero-note { margin-top: 22px; font-size: .92rem; color: #aab1ba; display: flex; gap: 8px; align-items: center; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: none; }
.hero-art { border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }

.mission-band {
  background: var(--orange);
  color: var(--charcoal-900);
  padding: 18px 0;
}
.mission-band p {
  margin: 0;
  max-width: 78ch;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
}
.mission-echo {
  margin: 1.1rem 0 0;
  max-width: 62ch;
  color: var(--orange);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
}

/* Problem */
.problem-card {
  display: grid; gap: 24px; background: var(--white); border-radius: 18px; padding: 32px;
  box-shadow: var(--shadow); border-left: 6px solid var(--orange);
}
@media (min-width: 900px) { .problem-card { grid-template-columns: 1fr 1fr; padding: 48px; gap: 48px; align-items: center; } }
.problem-card h2 { margin: 0; }
.problem-card p { margin: 0; font-size: 1.15rem; color: #3d434c; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.step img { width: 52px; height: 52px; margin-bottom: 18px; }
.step-num { position: absolute; top: 24px; right: 24px; font-weight: 800; font-size: 2.2rem; color: var(--paper-2); line-height: 1; }
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; color: #3d434c; }

/* What it does */
.does-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .does-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.does-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.does-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.does-card header img { width: 52px; height: 52px; flex: none; }
.does-card h3 { margin: 0; }
.does-card p { margin: 0; color: #3d434c; }
.approval-note { margin-top: 28px; display: flex; gap: 12px; align-items: flex-start; background: var(--orange-tint); border: 1px solid #fcd2b0; border-radius: 12px; padding: 16px 18px; font-size: .98rem; }
.approval-note strong { color: var(--charcoal-900); }

/* Why local / lists */
.why-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-item { background: var(--charcoal-700); border: 1px solid var(--charcoal-600); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.why-item p { margin: 0; font-size: 1.08rem; color: #eceef0; font-weight: 600; }
.check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--charcoal-900); display: grid; place-items: center; font-weight: 900; font-size: .95rem; }

/* Example agent team */
.org { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.org-owner { width: 100%; max-width: 440px; margin: 0 auto; }
.org-row { display: grid; gap: 14px; }
@media (min-width: 700px) { .org-row.agents { grid-template-columns: 1fr 1fr; } .org-row.people { grid-template-columns: 1fr 1fr; max-width: 760px; margin: 0 auto; width: 100%; } }
@media (min-width: 1100px) { .org-row.agents { grid-template-columns: repeat(4, 1fr); } }
.role-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
}
.role-card h3 { font-size: 1.08rem; margin: 0 0 .35em; }
.role-card p { margin: 0; font-size: .95rem; line-height: 1.45; color: #3d434c; }
.role-kind {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 6px;
}
.role-card.lead-agent {
  background: var(--charcoal-900);
  color: var(--white);
  border-top: none;
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}
.role-card.lead-agent p { color: #d3d7dc; }
.role-card.lead-agent .role-kind { color: var(--orange); }
.role-card.person { background: var(--charcoal-800); color: #eceef0; }
.role-card.person p { color: #c9cdd3; }
.role-card.person .role-kind { color: var(--orange); }
.org-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0 12px;
  color: var(--orange-ink);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.org-arrow svg { width: 24px; height: 40px; max-width: 24px; }
.org-note { margin: 22px 0 0; font-size: .95rem; color: #3d434c; max-width: 68ch; }

/* We manage it */
.manage-panel { max-width: 760px; }
.manage-panel .ticks { margin-top: 8px; }

/* Quotes */
.quote-grid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .quote-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.quote-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { margin: 0; color: var(--charcoal-800); font-size: 1.05rem; line-height: 1.55; }
.quote-card blockquote p::before {
  content: "\201C";
  color: var(--orange);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 0;
  margin-right: .12em;
  position: relative;
  top: .15em;
}
.quote-card figcaption { margin-top: auto; display: grid; gap: 2px; font-size: .95rem; }
.quote-name { font-weight: 800; color: var(--charcoal-900); }
.quote-role { color: var(--gray-500); }
.quote-card a { font-weight: 700; width: fit-content; }
.quote-note { margin: 22px 0 0; max-width: 72ch; font-size: .82rem; line-height: 1.5; color: var(--gray-500); }
#quotes-title { text-wrap: balance; }

.two-col { display: grid; gap: 24px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 32px; } }
.panel { background: var(--white); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.panel h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: var(--charcoal-900); display: grid; place-items: center; font-weight: 900; font-size: .85rem; margin-top: 1px; }
.crosses li::before { content: "✕"; background: var(--charcoal-800); color: var(--white); }
.panel .small { color: var(--gray-500); font-size: .95rem; margin: 18px 0 0; }

/* Pilot */
.pilot { padding: 0; }
.pilot-band { background: var(--orange); color: var(--charcoal-900); border-radius: 20px; padding: 36px 28px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .pilot-band { grid-template-columns: auto 1fr; padding: 44px 48px; gap: 36px; } }
.pilot-band h2 { margin: 0 0 .3em; }
.pilot-band p { margin: 0; font-size: 1.12rem; max-width: 60ch; }
.pilot-pin { width: 72px; height: 72px; border-radius: 18px; background: var(--charcoal-900); display: grid; place-items: center; }
.pilot-wrap { padding: 64px 0 0; }
@media (min-width: 768px) { .pilot-wrap { padding: 96px 0 0; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 750; font-size: 1.08rem; position: relative; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 500; color: var(--orange-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: #3d434c; }

/* Final CTA */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
.cta p { color: #c9cdd3; font-size: 1.15rem; }
.cta .btn-row { justify-content: center; margin-top: 24px; }

/* Footer */
.site-footer { background: var(--charcoal-900); color: #aab1ba; padding: 44px 0 36px; font-size: .92rem; border-top: 1px solid var(--charcoal-700); }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.site-footer a { color: #e6e8eb; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 800px) { .footer-links { justify-content: flex-end; } }
.site-footer .fine { margin: 24px 0 0; font-size: .82rem; color: #8d95a0; border-top: 1px solid var(--charcoal-700); padding-top: 20px; }
.todo { background: #fde68a; color: var(--charcoal-900); padding: 0 .35em; border-radius: 4px; font-weight: 700; font-size: .9em; }

/* Inner pages */
.page-hero { background: var(--charcoal-900); color: var(--white); padding: 56px 0 48px; }
.page-hero .lead { color: #d3d7dc; }
.page-body { padding: 48px 0 80px; }
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; } }

.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 14px 18px; margin-bottom: 24px; font-size: .98rem; }
.notice-preview { background: #fef3c7; border: 1px solid #f2c94c; color: var(--charcoal-900); }
.notice-draft { background: #fee2e2; border: 1px solid #f5a3a3; color: #5b1111; }
.notice strong { white-space: nowrap; }

.form { background: var(--white); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form { padding: 36px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 500; color: var(--gray-500); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--charcoal-800);
  background: var(--white); border: 1.5px solid #9aa1ab; border-radius: 10px; padding: .75rem .85rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--charcoal-800); }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions .hint { font-size: .9rem; color: var(--gray-500); margin: 0; }
.form-status { margin-top: 18px; }
.form-status[hidden] { display: none; }

.side-card { background: var(--charcoal-800); color: #e6e8eb; border-radius: 18px; padding: 28px; }
.side-card h2 { font-size: 1.35rem; }
.side-card ul { padding-left: 1.1em; margin: 0 0 1em; }
.side-card li { margin-bottom: .5em; }
.side-card .muted { color: #aab1ba; font-size: .95rem; }
.side-card a { color: var(--orange); }

.prose { max-width: 760px; background: var(--white); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .prose { padding: 44px 48px; } }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h2:first-of-type { margin-top: .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .meta { color: var(--gray-500); font-size: .95rem; }
