/* OneagencyOS public home page and staff sign-in page. Self-contained: the app keeps styles.css. */
:root {
  --navy: #061333;
  --ink: #1b2433;
  --muted: #4a5568;
  --blue: #1a5cff;
  --blue-dark: #0f46d6;
  --cyan: #1eb4d2;
  --line: #e3e8ef;
  --soft: #f5f7fa;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --brand: "Segoe UI Variable Display", "Segoe UI", "Avenir Next", Avenir, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #3f5a7d; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 1.375rem; border-radius: 6px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: 600 1rem/1.2 var(--sans); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: #c9d3e0; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-small { min-height: 44px; padding: 10px 16px; font-size: .875rem; }

/* Brand: the shield mark is drawn in, then its pieces settle into place. */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 42px; height: 42px; flex: none; overflow: visible; }
.auth-wordmark { font: 600 1.375rem/1 var(--brand); letter-spacing: -.01em; color: var(--navy); }
.auth-wordmark-o { color: var(--blue); }
.auth-wordmark-s { color: var(--cyan); }
.mark-shield { fill: none; stroke: var(--navy); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.mark-flag, .mark-leg { fill: var(--blue); }
.mark-bar { fill: var(--cyan); }
.brand-mark.animate .mark-shield { animation: mark-draw 1.1s cubic-bezier(.6, 0, .3, 1) both; }
.brand-mark.animate .mark-flag { animation: mark-drop .5s .75s cubic-bezier(.2, .8, .3, 1) both; }
.brand-mark.animate .mark-leg { animation: mark-slide .5s .9s cubic-bezier(.2, .8, .3, 1) both; }
.brand-mark.animate .mark-bar { animation: mark-bar .45s 1.2s ease-out both; }
.brand:hover .mark-bar { animation: mark-glint .9s ease-in-out; }
.mark-flag, .mark-leg, .mark-bar { transform-box: fill-box; }
.mark-bar { transform-origin: left center; }
@keyframes mark-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes mark-drop { from { opacity: 0; transform: translate(-6px, -10px); } to { opacity: 1; transform: none; } }
@keyframes mark-slide { from { opacity: 0; transform: translate(8px, 12px); } to { opacity: 1; transform: none; } }
@keyframes mark-bar { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes mark-glint { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-mark.animate .mark-shield, .brand-mark.animate .mark-flag, .brand-mark.animate .mark-leg, .brand-mark.animate .mark-bar, .brand:hover .mark-bar { animation: none; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: .875rem; padding-bottom: .875rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 1rem; font-weight: 500; }
.site-nav a { color: #3a4658; text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--navy); }
.header-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 1.375rem; }
#landingTitle { margin: 0; font: 600 .8125rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #3f5a7d; }
.landing-title-sub::before { content: " · "; }
.hero-headline { margin: 0; font: 600 3.5rem/1.06 var(--serif); color: var(--navy); }
.hero-lede { margin: 0; font-size: 1.25rem; color: #3a4658; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 1.375rem; font-size: .875rem; color: #3a4658; }
.trust-row li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--cyan); vertical-align: 2px; }
.hero-card { background: #fff; border: 1px solid #dce3ec; border-radius: 10px; box-shadow: 0 24px 48px rgba(6, 19, 51, .1); overflow: hidden; }
.hero-card-head { display: flex; justify-content: space-between; gap: 12px; padding: .875rem 1.125rem; border-bottom: 1px solid var(--line); font-size: .8125rem; color: #3f5a7d; }
.hero-card-head strong { color: var(--navy); }
.hero-card-body { padding: 1.125rem; display: grid; gap: 10px; }
.day-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px .875rem; border: 1px solid var(--line); border-radius: 8px; }
.day-item span:last-child { color: #3f5a7d; font-size: .875rem; white-space: nowrap; }
.day-item.urgent span:last-child { color: #9a3412; }
.hero-card-note { margin: 4px 0 0; font-size: .8125rem; color: #3f5a7d; }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.section-head h2, .band h2, .pricing h2, .demo h2 { margin: 0; font: 600 2.5rem/1.15 var(--serif); color: var(--navy); }
.section-head p { margin: 0; font-size: 1.125rem; color: #3a4658; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 1.75rem; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.card h3 { margin: 0; font-size: 1.25rem; color: var(--navy); }
.card p { margin: 0; color: #3a4658; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.gallery img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: top left; }
.gallery figcaption { padding: 16px 1.125rem; display: grid; gap: 4px; font-size: 1rem; color: #3a4658; }
.gallery figcaption strong { color: var(--navy); }

/* AI band */
.band { background: var(--navy); color: #fff; }
.band .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.band h2 { color: #fff; }
.band p { margin: 16px 0 0; font-size: 1.125rem; color: #c9d6e8; }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.band li { padding: 16px 1.125rem; border: 1px solid #23406b; border-radius: 8px; }
.band li strong { display: block; color: #fff; }
.band li span { color: #c9d6e8; font-size: 1rem; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.roles article { border-top: 3px solid var(--blue); padding-top: 1.125rem; display: flex; flex-direction: column; gap: 8px; }
.roles h3 { margin: 0; font-size: 1.125rem; color: var(--navy); }
.roles p { margin: 0; color: #3a4658; }

/* Pricing */
.pricing .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; }
.pricing-copy { display: flex; flex-direction: column; gap: .875rem; }
.pricing-copy p { margin: 0; font-size: 1.125rem; color: #3a4658; }
.pricing-copy ul { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 1.75rem; color: #3a4658; }
.pricing-copy .fine-print { font-size: .875rem; color: var(--muted); }
.price-card { background: #fff; border: 1px solid #dce3ec; border-radius: 10px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.price strong { font: 600 3.5rem/1 var(--sans); color: var(--navy); }
.price span { color: #3a4658; }
.price-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #3a4658; }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.about-grid article { display: flex; flex-direction: column; gap: 6px; }
.about-grid strong { color: var(--navy); font-size: 1.125rem; }
.about-grid span { color: #3a4658; }
.veteran-card { flex-direction: row !important; align-items: center; gap: .875rem !important; }
.veteran-card img { width: 72px; height: auto; flex: none; }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-list details { border: 1px solid var(--line); border-radius: 8px; padding: 0 1.125rem; background: #fff; }
.faq-list summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--navy); min-height: 44px; }
.faq-list details p { margin: 0 0 16px; color: #3a4658; }
.keyword-related { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 1.75rem; font-size: 1rem; }
.keyword-related strong { color: var(--navy); }

/* Demo */
.demo .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; }
.demo-copy { display: flex; flex-direction: column; gap: .875rem; }
.demo-copy p { margin: 0; font-size: 1.125rem; color: #3a4658; }
.demo-form { display: grid; gap: 16px; background: #fff; border: 1px solid #dce3ec; border-radius: 10px; padding: 32px; }
.demo-form h3 { margin: 0; font-size: 1.375rem; color: var(--navy); }
.demo-form .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.demo-form label { display: grid; gap: 6px; font-weight: 500; font-size: 1rem; }
.demo-form input, .demo-form textarea { width: 100%; border: 1px solid #b8c8dc; border-radius: 6px; padding: 12px; font: inherit; color: var(--ink); }
.demo-form input:focus, .demo-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.netlify-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.375rem; color: var(--muted); font-size: 1rem; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d6e8; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 32px; }
.site-footer h2 { margin: 0 0 12px; font: 600 .8125rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-footer nav, .footer-contact { display: grid; gap: 8px; font-size: 1rem; }
.site-footer a { color: #c9d6e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand, .site-footer .auth-wordmark { color: #fff; }
.footer-brand { display: flex; flex-direction: column; gap: .875rem; }
.footer-brand p { margin: 0; font-size: 1rem; }
.social-links { display: flex !important; gap: 10px !important; }
.social-links a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; }
.social-links img { width: 1.375rem; height: 1.375rem; }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem; }
.footer-badges img { width: 88px; height: auto; border-radius: 6px; background: #fff; }
.patent { display: inline-block; padding: 6px 10px; border: 1px solid #3a5687; border-radius: 6px; color: #fff; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.footer-legal { border-top: 1px solid #1e3561; }
.footer-legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 1.125rem; padding-bottom: 1.375rem; font-size: .8125rem; }

/* Thank-you dialog */
.thank-you-dialog { border: 0; border-radius: 10px; padding: 32px; width: min(420px, 90vw); text-align: center; }
.thank-you-dialog::backdrop { background: rgba(6, 19, 51, .55); }
.thank-you-dialog h2 { margin: 0 0 6px; font: 600 1.75rem/1.2 var(--serif); color: var(--navy); }
.thank-you-dialog p { margin: 0; color: #3a4658; }

/* Staff sign-in page */
.staff-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--soft); }
.staff-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.staff-card { width: min(480px, 100%); background: #fff; border: 1px solid #dce3ec; border-radius: 12px; padding: 2.5rem; display: flex; flex-direction: column; gap: 1.125rem; box-shadow: 0 24px 48px rgba(6, 19, 51, .08); }
.staff-card h1 { margin: 0; font: 600 2rem/1.15 var(--serif); color: var(--navy); }
.staff-card p { margin: 0; color: #3a4658; }
.staff-card .brand-mark { width: 64px; height: 64px; }

@media (max-width: 720px) {
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero-headline { font-size: 2.5rem; }
  .section { padding: 64px 0; }
  .section-head h2, .band h2, .pricing h2, .demo h2 { font-size: 2rem; }
  .pricing-copy ul { columns: 1; }
  .site-nav { order: 3; width: 100%; }
  .price-card, .demo-form, .staff-card { padding: 24px; }
}
.site-footer .mark-shield { stroke: #fff; }
.landing-section.faq-section { padding: 96px 0; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .landing-section.faq-section { padding: 64px 0; } }
.wordmark-img { display: block; height: 28px; width: auto; }
