/* BrokerBot landing pages — shared styles (light theme, matches brokerbot.ai/aipolicy) */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --ink: #0b1220;
  --ink-soft: rgba(15, 23, 42, 0.88);
  --ink-muted: rgba(15, 23, 42, 0.72);
  --border: rgba(15, 23, 42, 0.1);
  --border-accent: rgba(30, 144, 255, 0.25);
  --blue: #1e90ff;
  --blue-deep: #0f66c8;
  --blue-light: #63b3ff;
  --champagne: #f4e1d2;
  --z-sticky: 10;
  --z-modal: 100;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(30, 144, 255, 0.1), transparent 60%),
    radial-gradient(700px 520px at -5% 12%, rgba(99, 179, 255, 0.1), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
  background-attachment: fixed;
  color: var(--ink-soft);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.5vw, 3.7rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

p { max-width: 68ch; text-wrap: pretty; }

a { color: var(--blue-deep); }

.accent { color: var(--blue); }

.wrap {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}
.wrap--narrow { width: min(780px, 100% - 3rem); }

/* Header */
.site-header {
  padding: 1.4rem 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header img { height: 30px; width: auto; display: block; }
.site-header .header-cta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  text-decoration: none;
  border: 1px solid rgba(30, 144, 255, 0.25);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
  background: rgba(30, 144, 255, 0.07);
}
.site-header .header-cta:hover { background: rgba(30, 144, 255, 0.14); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.hero .kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 1.3rem;
}
.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 60ch;
}
.hero .lede strong, .hero .lede b { color: var(--ink); }

.hero--split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .hero--split .wrap { grid-template-columns: 1fr; }
}
.hero--split img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(30, 144, 255, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(30, 144, 255, 0.42);
}
.btn--ghost {
  background: #fff;
  border: 1px solid var(--border-accent);
  color: var(--blue-deep);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(30, 144, 255, 0.07); box-shadow: none; }
.btn-note {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Sections */
.section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.section--tint { background: rgba(238, 244, 251, 0.6); border-block: 1px solid var(--border); }
.section-intro { max-width: 62ch; color: var(--ink-muted); margin-bottom: 2.4rem; }

/* Feature list */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.section--tint .features li { background: #fff; }
.features h3 { margin-bottom: 0.4rem; font-weight: 800; font-size: 1.08rem; }
.features p { margin: 0; font-size: 0.98rem; color: var(--ink-muted); }
.features .num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(30, 144, 255, 0.09);
  border: 1px solid rgba(30, 144, 255, 0.22);
  color: var(--blue-deep);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.stats .value {
  display: block;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--blue);
}
.stats .label { font-size: 0.88rem; color: var(--ink-muted); }

/* Video embed */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form panel */
.form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  max-width: 560px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}
.form-panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.form-panel .form-note { font-size: 0.9rem; color: var(--ink-muted); }
.form-panel .hsf-form {
  max-width: none;
  background: transparent;
  border: none;
  padding: 0;
}
.form-panel .hsf-input,
.form-panel .hsf-textarea,
.form-panel .hsf-select {
  background: #fff;
  border-color: var(--border);
}
.form-panel .hsf-submit {
  background: var(--blue);
  font-size: 1rem;
  font-weight: 800;
  padding: 13px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(30, 144, 255, 0.32);
}
.form-panel .hsf-submit:hover { background: #187bdb; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fff; }
.compare th, .compare td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.compare thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.compare tbody tr:nth-child(even) td { background: #fafbfd; }
.compare td:first-child { color: var(--ink); font-weight: 700; }
.compare .good { color: var(--blue-deep); font-weight: 700; }
.compare .bad { color: var(--ink-muted); }
.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

/* Speakers */
.speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.speakers li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.speakers img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
}
.speakers .who { font-weight: 800; color: var(--ink); }
.speakers .role { font-size: 0.88rem; font-weight: 600; color: var(--blue-deep); margin-bottom: 0.4rem; }
.speakers p { margin: 0; font-size: 0.92rem; color: var(--ink-muted); }

/* Sessions (training) */
.sessions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sessions li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.sessions .when {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.4rem;
}
.sessions h3 { font-weight: 800; font-size: 1.08rem; }
.sessions p { flex: 1; font-size: 0.95rem; color: var(--ink-muted); }
.sessions a { font-weight: 700; text-decoration: none; }
.sessions a:hover { text-decoration: underline; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band p { margin-inline: auto; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2.2rem 0 2.5rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: var(--blue-deep); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { max-width: none; font-size: 0.8rem; margin-top: 1rem; }

/* Cal.com embed target */
.cal-embed { min-height: 640px; border-radius: 18px; overflow: hidden; }

/* Luma calendar */
.luma-frame {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}
.luma-frame iframe { width: 100%; height: 900px; border: 0; display: block; }
