/* BullQuote public website. Builds on app.css (tokens, buttons, inputs) so the website and the
   application are one brand: navy structure, white surfaces, BullQuote orange (#FF6E00) for the
   primary action with navy text, blue for links. */
body.site { background: var(--white); font-size: 16px; line-height: 1.6; }
.site .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.site .wrap.narrow { max-width: 780px; }
.site .center { text-align: center; }
.site h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -0.025em; }
.site h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 14px; }
.site h3 { font-size: 17px; margin-bottom: 6px; }
.site p { margin: 0 0 12px; }
.site a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.site a.btn, .site .site-nav a, .site .site-brand, .site .article-list a { text-decoration: none; }
.site .lead { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.site .muted { color: var(--muted); }
.site .small { font-size: 14px; }
.site .btn { height: 42px; padding: 0 18px; font-size: 15px; }
.site .btn.lg { height: 50px; padding: 0 24px; font-size: 16px; }
.site .btn.primary { color: var(--navy-950); }
.site :focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; box-shadow: none; }
.site svg.i { width: 20px; height: 20px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: var(--white) !important; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy-900); color: var(--white); border-bottom: 1px solid #1C365D; }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white) !important; font-weight: 750; font-size: 19px; letter-spacing: -0.02em; }
.site-brand .brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--orange-500); display: grid; place-items: center; color: var(--navy-900); }
.site-brand .brand-mark svg { width: 19px; height: 19px; stroke-width: 2.4; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: #D5DEEC; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 6px; display: block; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .08); }
.site-nav ul a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange-500); border-radius: 6px 6px 0 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn:not(.primary) { background: transparent; color: var(--white); border-color: #3A5885; }
.nav-actions .btn:not(.primary):hover { background: rgba(255, 255, 255, .08); }
.lang-link { color: #D5DEEC !important; font-weight: 600; font-size: 14px; text-decoration: none !important; padding: 8px 6px; }
.lang-link:hover { color: var(--white) !important; text-decoration: underline !important; }
.nav-toggle { display: none; color: var(--white) !important; margin-left: auto; gap: 6px; }

/* Sections */
.hero { background: linear-gradient(180deg, var(--navy-900) 0, var(--navy-800) 100%); color: var(--white); padding: 64px 0 72px; }
.hero h1, .hero .lead { color: var(--white); }
.hero h1 { margin-bottom: 28px; }
.hero .lead { color: #D5DEEC; }
.hero .muted { color: #B6C4DA; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--orange-500); font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 14px !important; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 16px; }
.hero .btn:not(.primary) { background: transparent; color: var(--white); border-color: #4B6A98; }
.hero .btn:not(.primary):hover { background: rgba(255, 255, 255, .08); }
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.page-hero h1 { margin-bottom: 14px; }
.band { padding: 64px 0; }
.band.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 70ch; margin-bottom: 28px !important; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 14px; flex: none; }
.screen { margin: 0; }
.screen img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 18px 40px -18px rgba(8, 20, 40, .45); background: var(--white); }
.hero .screen img { border-color: #2C4C7A; }
.demo-note { font-size: 14px; }
.demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.demo h3 { margin-top: 14px; }
.demo p { color: var(--ink-2); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { display: flex; gap: 14px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--orange-500); color: var(--navy-950); font-weight: 800; display: grid; place-items: center; flex: none; }
.steps p { color: var(--ink-2); font-size: 15px; }
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin-top: 24px; }
.trust-item { display: flex; gap: 14px; }
.trust-item > svg { color: var(--green-700); width: 24px; height: 24px; flex: none; margin-top: 2px; }
.trust-item p { color: var(--ink-2); margin: 0; }
.vet-band { background: var(--navy-900); color: var(--white); }
.vet-band h2 { color: var(--white); }
.vet-band p { color: #D5DEEC; margin: 0; }
.vet-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.vet-row > svg { width: 44px; height: 44px; color: var(--orange-500); flex: none; }
.vet-row > div { flex: 1; min-width: 240px; }
.vet-band .btn { background: transparent; color: var(--white); border-color: #4B6A98; }
.cta-band { background: var(--orange-100); border-top: 1px solid #FFC79E; }
.cta-band p { color: var(--ink-2); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.quote blockquote { margin: 0 0 10px; font-size: 17px; }
.quote figcaption { color: var(--muted); font-size: 14px; }

/* Features */
.feature-list { padding-top: 40px; padding-bottom: 24px; display: grid; gap: 16px; }
.feature-sec { display: flex; gap: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.feature-sec h2 { font-size: 21px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li svg { color: var(--green-700); flex: none; margin-top: 3px; width: 18px; height: 18px; }
.plain { padding-left: 20px; margin: 0 0 18px; }
.plain li { margin-bottom: 8px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); gap: 22px; justify-content: center; padding: 36px 0 8px; }
.plan { border: 1px solid var(--line-strong); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--white); }
.plan { position: relative; }
.plan-badge { position: absolute; top: -13px; left: 24px; margin: 0 !important; background: var(--orange-500); color: var(--navy-950); font-weight: 800; font-size: 13px; padding: 3px 12px; border-radius: 999px; }
.plan.highlight { border: 2px solid var(--orange-500); box-shadow: 0 16px 36px -20px rgba(255, 110, 0, .55); }
.plan h2 { margin: 0; font-size: 24px; }
.plan .btn { margin-top: auto; }
.price { margin: 4px 0 !important; }
.price .amount { font-family: var(--font-fig); font-size: 40px; font-weight: 700; }
.price .per { color: var(--muted); margin-left: 4px; }
.price.tbd { font-weight: 700; color: var(--amber-700); }
.draft-banner { margin: 24px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--amber-100); color: #5E3A05; border: 1px solid #EBC98A; font-size: 15px; }
.pending { text-align: center; padding: 40px 0 8px; }
.trial { text-align: center; font-weight: 600; margin-top: 18px !important; }

/* About */
.about-hero .lead { max-width: none; font-size: 19px; line-height: 1.7; }
.about-hero .eyebrow { color: var(--orange-700); }   /* orange text on light backgrounds uses the darker shade for contrast */
.about-story p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin-bottom: 18px; }
.about-story p:first-child { font-size: 19px; color: var(--ink); font-weight: 500; }

/* Contact */
.contact-hero { padding-bottom: 48px; }
.contact-hero .lead { margin-left: auto; margin-right: auto; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.site .wrap.contact-grid { max-width: 1000px; padding-top: 56px; padding-bottom: 72px; }   /* .site .wrap would otherwise reset the vertical padding */
.contact-aside { padding: 24px; }
.contact-aside h2 { font-size: 20px; margin-bottom: 12px; }
.contact-aside .contact-kv { margin-bottom: 16px; gap: 6px 14px; }
.contact-aside .contact-kv dd { text-align: left; margin: 0; overflow-wrap: anywhere; }
.contact-form { padding: 24px; display: grid; gap: 16px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 15px; }
.contact-form .input { height: 44px; font-size: 16px; }
.contact-form textarea.input { height: auto; padding-top: 10px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue-600); }
.req { color: var(--red-700); font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-status.ok { background: var(--green-100); color: var(--green-700); }
.form-status.err { background: var(--red-100); color: var(--red-700); }
.form-status.warn { background: var(--amber-100); color: #5E3A05; }
.field-error { color: var(--red-700); font-size: 14px; font-weight: 600; }
.input[aria-invalid="true"] { border-color: var(--red-700); }
.contact-kv { grid-template-columns: auto 1fr; }

/* Help and legal */
.help-search { display: flex; gap: 10px; margin-top: 18px; max-width: 560px; }
.help-search .input { height: 46px; font-size: 16px; flex: 1; }
.help-search .btn { height: 46px; }
.article-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 10px; }
.article-list a { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink) !important; }
.article-list a:hover { border-color: var(--blue-500); background: var(--blue-50); }
.article-list span { color: var(--muted); font-size: 15px; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; padding-top: 32px; padding-bottom: 64px; align-items: start; }
.article-wrap .crumb, .article-wrap .article-foot { grid-column: 1 / -1; margin: 0; }
.toc { position: sticky; top: 90px; border-left: 3px solid var(--line); padding-left: 16px; }
.toc h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.prose { max-width: 72ch; padding: 24px 0 48px; }
.prose h1 { font-size: 34px; margin-bottom: 18px; }
.prose h2 { font-size: 23px; margin: 30px 0 10px; }
.prose h3 { font-size: 18px; margin: 22px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose .note, .note { background: var(--blue-50); border-left: 4px solid var(--blue-600); padding: 12px 14px; border-radius: 0 8px 8px 0; margin: 14px 0; }
.prose code { background: var(--paper); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
mark.todo { background: #FFF1B8; color: #5E3A05; padding: 0 4px; border-radius: 3px; }
.legal-wrap { padding-top: 8px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 22px !important; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.legal-wrap .prose h1 { margin-bottom: 10px; }
.legal-wrap .prose h2 { padding-top: 6px; }

/* Footer */
.site-footer { background: var(--navy-950); color: #C7D3E6; padding: 48px 0 24px; margin-top: 0; }
.site-footer a, .site-footer .link-btn { color: #D5DEEC; text-decoration: none; font-weight: 500; font-size: 15px; }
.site-footer a:hover, .site-footer .link-btn:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer h2 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.vet { display: flex; align-items: center; gap: 8px; margin-top: 14px !important; color: #D5DEEC; font-weight: 600; }
.vet svg { color: var(--orange-500); }
.footer-base { border-top: 1px solid #1C365D; margin-top: 32px; padding-top: 18px; font-size: 14px; color: #A9B8CF; }

/* Cookie consent */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 3px solid var(--orange-500); box-shadow: 0 -12px 32px -12px rgba(8, 20, 40, .35); padding: 18px 0; }
.cookie-banner h2 { font-size: 18px; margin-bottom: 6px; }
.cookie-banner p { font-size: 15px; margin: 0; color: var(--ink-2); max-width: 80ch; }
.cookie-row { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cookie-dialog { position: fixed; inset: 0; z-index: 70; background: rgba(8, 20, 40, .55); display: grid; place-items: center; padding: 16px; }
.cookie-dialog[hidden], .cookie-banner[hidden] { display: none; }
.cookie-panel { background: var(--white); border-radius: 14px; padding: 24px; width: min(560px, 100%); display: grid; gap: 16px; box-shadow: var(--shadow-pop); }
.cp-row { display: flex; gap: 12px; align-items: flex-start; }
.cp-row input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue-600); }
.link-btn { font-size: 15px; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-bottom: 1px solid #1C365D; padding: 12px 24px 20px; flex-direction: column; align-items: stretch; gap: 12px; }
  .js .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .nav-actions { flex-wrap: wrap; }
  .header-row { position: relative; flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; flex-wrap: wrap; margin-left: 0; padding-bottom: 12px; }
}
@media (max-width: 680px) {
  .site .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 52px; }
  .band { padding: 48px 0; }
  .cards, .demos, .trust, .steps, .contact-grid { grid-template-columns: 1fr; }
  .feature-sec { flex-direction: column; padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site .lead { font-size: 17px; }
  .cookie-actions .btn { flex: 1; }
  .help-search { flex-direction: column; }
  .site .btn.lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.md-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; display: block; overflow-x: auto; }
.md-table th, .md-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.md-table th { background: var(--paper); }
.site-brand img { display: block; height: 40px; width: auto; }
.site-footer .site-brand img { height: 48px; }
@media (max-width: 680px) { .site-header .site-brand img { height: 34px; } }
