/* ==========================================================================
   Bravura AI Alarm Rationalizer: marketing site
   Brand: amber #e8590c, dark #9b3807, light #fff1e6
   ========================================================================== */

:root {
  --amber:       #e8590c;
  --amber-dark:  #9b3807;
  --amber-light: #fff1e6;
  --text:        #333333;
  --muted:       #6b7280;
  --border:      #dee2e6;
  --bg:          #ffffff;
  --bg-alt:      #f5f5f5;
  --success:     #1f9d57;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 8px 24px rgba(155,56,7,.10);
  --shadow-lg: 0 20px 50px rgba(155,56,7,.18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-dark); }
code {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: .92em; background: var(--bg-alt);
  border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px;
  color: var(--amber-dark);
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
  text-decoration: none;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: #fff; color: var(--amber-dark); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--amber); color: var(--amber-dark); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 32px; width: auto; display: block; }
.brand-product {
  font-weight: 700; color: var(--amber-dark); font-size: 18px;
  border-left: 1px solid var(--border); padding-left: 10px;
}
.primary-nav { display: flex; gap: 28px; }
.primary-nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.primary-nav a:hover { color: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.user-name { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .primary-nav { display: none; } }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at top right, var(--amber-light), transparent 60%),
    var(--bg);
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-wordmark { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-wordmark img { height: 30px; width: auto; display: block; }
.hero-wordmark span {
  font-weight: 700; font-size: 18px; color: var(--amber-dark);
  border-left: 1px solid var(--border); padding-left: 10px; line-height: 1;
}
.eyebrow {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--amber); margin: 0 0 16px;
}
.eyebrow-on-amber { color: rgba(255,255,255,.85); }
.hero h1 {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.12; font-weight: 800;
  letter-spacing: -0.02em; color: var(--amber-dark); margin: 0 0 20px;
}
.lede { font-size: 18px; color: var(--text); margin: 0 0 24px; max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.hero-alt { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.hero-meta { font-size: 13px; color: var(--muted); margin: 0; }
.hero-shot img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 56px 0 48px; } }

/* Section scaffolding */
section { padding: 84px 0; }
@media (max-width: 700px) { section { padding: 56px 0; } }
.section-title {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.015em;
  color: var(--amber-dark); margin: 0 0 14px;
}
.section-title-on-amber { color: #fff; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 720px; margin: 0 0 48px; }

/* Wedge */
.wedge {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #fff;
}
.wedge .eyebrow { margin-bottom: 14px; }
.wedge-title { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; color: #fff; margin: 0 0 20px; letter-spacing: -.015em; }
.wedge-lede { font-size: 18px; color: rgba(255,255,255,.92); margin: 0 0 22px; max-width: 820px; line-height: 1.6; }
.wedge-lede strong { color: #fff; background: rgba(255,255,255,.12); padding: 1px 6px; border-radius: 4px; }
.wedge-sub { font-size: 16px; color: rgba(255,255,255,.85); margin: 0 0 18px; max-width: 820px; line-height: 1.6; }
.wedge-sub strong { color: #fff; }
.wedge-tagline {
  font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: #fff; margin: 18px 0 0;
  padding: 14px 18px; background: rgba(255,255,255,.10);
  border-left: 4px solid #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: inline-block;
}

/* Positioning */
.positioning { background: var(--bg-alt); padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.positioning-line { font-size: 18px; color: var(--text); margin: 0; max-width: 920px; line-height: 1.6; }
.positioning-line strong { color: var(--amber-dark); }

/* Features grid (differentiators) */
.features { background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(232,89,12,.3); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--amber-light); color: var(--amber);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--amber-dark); margin: 0 0 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; }
@media (max-width: 1080px) { .feature-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feature-grid, .feature-grid-4 { grid-template-columns: 1fr; } }

/* Feature deep dives */
.deep { background: var(--bg-alt); }
.deep-row {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px;
  align-items: center; margin-bottom: 56px;
}
.deep-row:last-child { margin-bottom: 0; }
.deep-row-reverse { grid-template-columns: 1.15fr 1fr; }
.deep-row-reverse .deep-copy { order: 2; }
.deep-row-reverse .deep-shot { order: 1; }
.deep-copy h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: var(--amber-dark); margin: 0 0 12px; letter-spacing: -.01em; }
.deep-copy p { font-size: 16px; color: var(--text); margin: 0; line-height: 1.65; }
.deep-copy strong { color: var(--amber-dark); }
.deep-copy em { font-style: italic; color: var(--amber-dark); }
.deep-shot img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.deep-shot-stack { display: grid; gap: 14px; }
@media (max-width: 900px) {
  .deep-row, .deep-row-reverse { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
  .deep-row-reverse .deep-copy { order: 1; }
  .deep-row-reverse .deep-shot { order: 2; }
}

/* Trust strip */
.trust { background: linear-gradient(135deg, var(--amber-dark) 0%, #6b2700 100%); color: #fff; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.trust-copy p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.65; margin: 0 0 14px; }
.trust-strong { color: #fff !important; font-weight: 600; }
.trust-badges { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.trust-badges li {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px;
  align-items: center; padding: 16px 20px;
  background: rgba(255,255,255,.08); border-radius: var(--radius-sm);
}
.trust-badges .badge {
  font-weight: 800; color: #fff; font-size: 16px;
  background: rgba(255,255,255,.16); padding: 8px 12px; border-radius: var(--radius-sm); text-align: center;
}
.trust-badges span:last-child { color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.45; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Pricing */
.pricing { background: var(--bg); }
.price-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  align-items: stretch;
}
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
  position: relative;
}
.price-card-featured {
  border-color: var(--amber); border-width: 2px;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.price-tag {
  position: absolute; top: -12px; right: 20px;
  background: var(--amber); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.price-card header { margin-bottom: 20px; }
.price-card h3 { font-size: 18px; color: var(--amber-dark); margin: 0 0 8px; font-weight: 700; }
.price-amount { font-size: 36px; font-weight: 800; color: var(--text); margin: 0; letter-spacing: -.02em; }
.price-unit { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-cycle { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; display: grid; gap: 10px; }
.price-card ul li {
  position: relative; padding-left: 24px; font-size: 14.5px; color: var(--text); line-height: 1.5;
}
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  background: var(--amber) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/10px no-repeat;
  border-radius: 4px;
}
.price-card ul li strong { color: var(--amber-dark); }
.pricing-note {
  margin: 32px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.6;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-left: 3px solid var(--amber); border-radius: 0 6px 6px 0; padding: 14px 18px;
}
.pricing-note strong { color: var(--amber-dark); }
@media (max-width: 980px) { .price-cards { grid-template-columns: 1fr; } .price-card-featured { transform: none; } }

/* Licensing */
.licensing { background: var(--bg-alt); }
.licensing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.licensing-shot img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); display: block; }
.licensing-copy p { font-size: 16px; color: var(--text); line-height: 1.7; margin: 0; }
.licensing-copy strong { color: var(--amber-dark); }
@media (max-width: 880px) { .licensing-grid { grid-template-columns: 1fr; gap: 28px; } .licensing-shot { order: 2; } }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; }
.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--amber-dark); font-size: 16px;
  list-style: none; position: relative; padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; font-weight: 400;
  color: var(--amber); transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.faq-item a { color: var(--amber); }

/* Get started / lead form */
.get-started { background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%); color: #fff; }
.get-started .section-title { color: #fff; }
.get-started .section-sub { color: rgba(255,255,255,.85); }
.get-started-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.gs-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.gs-points li { position: relative; padding-left: 26px; color: rgba(255,255,255,.92); font-size: 15px; }
.gs-points li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/14px no-repeat;
}
.gs-alt { font-size: 14px; color: rgba(255,255,255,.85); margin: 0; }
.gs-alt a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.gs-form-card { background: #fff; border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow-lg); color: var(--text); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--amber-dark); margin-bottom: 6px; }
.field input {
  width: 100%; font-family: inherit; font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,89,12,.15); }
.form-status { font-size: 14px; margin: 14px 0 0; min-height: 20px; }
.form-status.error { color: #c0392b; }
.form-status.busy { color: var(--muted); }

.gs-success { text-align: center; }
.gs-success-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--success); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.gs-success h3 { font-size: 22px; color: var(--amber-dark); margin: 0 0 8px; }
.gs-success > p { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.gs-version { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.verify { margin-top: 18px; text-align: left; border-top: 1px solid var(--border); padding-top: 16px; }
.verify summary { cursor: pointer; font-weight: 600; color: var(--amber-dark); font-size: 14px; }
.verify p { font-size: 13.5px; color: var(--muted); margin: 12px 0 6px; }
.verify pre { background: var(--amber-dark); color: #fff; padding: 12px 14px; border-radius: var(--radius-sm); overflow-x: auto; margin: 0 0 8px; font-size: 12.5px; }
.verify pre code { background: none; border: none; color: #fff; padding: 0; }
.verify-hash code { word-break: break-all; }
@media (max-width: 880px) { .get-started-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Footer */
.site-footer { background: #1a0d05; color: rgba(255,255,255,.75); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-logo { filter: brightness(0) invert(1); height: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 340px; line-height: 1.6; margin: 0; color: rgba(255,255,255,.6); }
.footer-product { font-weight: 700; color: #fff; margin: 0 0 6px; font-size: 15px; }
.footer-links h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 14px; font-weight: 600; }
.footer-links a { display: block; font-size: 14px; color: rgba(255,255,255,.65); padding: 4px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }
.footer-bottom code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.7); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } .footer-bottom { flex-direction: column; } }

/* ---- Contact + License builder ---- */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.builder, .contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 28px; box-shadow: var(--shadow-sm);
}
.builder h3 { font-size: 19px; color: var(--amber-dark); margin: 0 0 18px; font-weight: 700; }
.builder-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.builder-label { font-size: 13px; font-weight: 600; color: var(--amber-dark); }
.builder-row select, .builder-row input[type="number"] {
  font-family: inherit; font-size: 15px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text);
  background: #fff;
}
.builder-row select:focus, .builder-row input:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,89,12,.15);
}
.builder-group {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 18px 8px; margin: 16px 0 0;
}
.builder-group legend {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--amber-dark); padding: 0 6px;
}
.builder-check, .builder-num {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px;
  align-items: center; padding: 10px 0; cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.builder-check:last-child, .builder-num:last-child { border-bottom: none; }
.builder-check input { width: 18px; height: 18px; accent-color: var(--amber); cursor: pointer; }
.builder-num input { width: 80px; text-align: right; padding: 6px 8px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; }
.builder-check-text, .builder-num span { font-size: 14px; color: var(--text); }
.builder-price { font-size: 13.5px; color: var(--amber-dark); font-weight: 600; }
.builder-total {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 16px; margin-top: 18px;
  font-size: 18px; font-weight: 700; color: var(--amber-dark);
}
.builder-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }

.contact-form .field { margin-bottom: 14px; }
.contact-form .field label { display: block; font-size: 13px; font-weight: 600; color: var(--amber-dark); margin-bottom: 6px; }
.contact-form .field input, .contact-form .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form .field input:focus, .contact-form .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,89,12,.15);
}
.field-hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.cf-success { text-align: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.cf-success .gs-success-icon { margin: 0 auto 14px; }
.cf-success h3 { font-size: 20px; color: var(--amber-dark); margin: 0 0 8px; }
.cf-success p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } }
