/* AGGA homepage, Bauhaus version. Everything is scoped under .agga-site.bh-site so it
   outranks the agga_website module's dark theme (.agga-site ...) without !important. */

/* Jost is served from agga.ai itself: the site's Content-Security-Policy blocks Google Fonts
   stylesheets. /web/content/2157/jost-latin.woff2?v=180347d9f2 is filled in by publish_preview.py. */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/web/content/2157/jost-latin.woff2?v=180347d9f2") format("woff2");
}

.agga-site.bh-site {
  --paper: #efebe1;
  --white: #ffffff;
  --black: #141414;
  --red: #d9302a;
  --yellow: #f2c230;
  --blue: #1e4fb8;
  --grey: #5c5a55;
  --rule: 3px solid var(--black);
  min-height: 100vh;
  background: var(--paper);
  color: var(--black);
  font-family: "Jost", "Futura", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.agga-site.bh-site a { color: inherit; }
.agga-site.bh-site h1,
.agga-site.bh-site h2,
.agga-site.bh-site h3,
.agga-site.bh-site p { font-family: inherit; color: inherit; }
.agga-site.bh-site :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- header ---------- */
.agga-site.bh-site .bh-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: var(--rule);
  background: var(--paper);
}
.agga-site.bh-site .bh-mark {
  display: inline-flex;
  align-items: center;
  padding: 22px clamp(16px, 5vw, 72px);
  text-decoration: none;
}
.agga-site.bh-site .bh-mark svg { display: block; width: 228px; height: 26px; }
.agga-site.bh-site .bh-nav { display: flex; align-items: stretch; font-size: 1rem; font-weight: 500; }
.agga-site.bh-site .bh-nav a {
  display: flex;
  align-items: center;
  padding: 0 24px;
  text-decoration: none;
  border-left: var(--rule);
}
.agga-site.bh-site .bh-nav a:hover { background: var(--yellow); }
.agga-site.bh-site .bh-nav .bh-nav-cta { background: var(--black); color: var(--white); padding: 0 clamp(16px, 3vw, 36px); }
.agga-site.bh-site .bh-nav .bh-nav-cta:hover { background: var(--blue); }

/* ---------- hero ---------- */
.agga-site.bh-site .bh-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: calc(100svh - 73px);
}
.agga-site.bh-site .bh-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px clamp(16px, 5vw, 72px);
  border-right: var(--rule);
}
.agga-site.bh-site .bh-title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.agga-site.bh-site .bh-title span { display: block; }
.agga-site.bh-site .bh-redbar { width: 96px; height: 12px; margin: 32px 0; background: var(--red); }
.agga-site.bh-site .bh-lede { margin: 0 0 36px; font-size: 1.2rem; line-height: 1.5; max-width: 40ch; }

/* waitlist form: keeps the module's agga-form classes so agga_landing.js still validates it */
.agga-site.bh-site .agga-form-wrapper { max-width: 520px; }
.agga-site.bh-site .bh-form-label { display: block; margin: 0 0 10px; font-weight: 600; font-size: 1rem; }
.agga-site.bh-site .agga-form {
  display: flex;
  flex-direction: row;
  gap: 0;
  border: var(--rule);
  background: var(--white);
}
.agga-site.bh-site .agga-form:focus-within { box-shadow: 6px 6px 0 var(--blue); }
.agga-site.bh-site .agga-input {
  flex: 1;
  min-width: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 1.05rem;
}
.agga-site.bh-site .agga-input::placeholder { color: var(--grey); }
.agga-site.bh-site .agga-input:focus { outline: none; }
.agga-site.bh-site .agga-btn-submit {
  flex: none;
  padding: 0 26px;
  border: 0;
  border-left: var(--rule);
  border-radius: 0;
  background: var(--red);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}
.agga-site.bh-site .agga-btn-submit:hover { background: var(--black); }
.agga-site.bh-site .g-recaptcha { margin: 14px 0 0; }
.agga-site.bh-site .agga-form-note { margin: 12px 0 0; font-size: 0.9rem; color: var(--grey); }
.agga-site.bh-site .agga-form-error { border-radius: 0 !important; }

/* puzzle board */
.agga-site.bh-site .bh-stage-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px clamp(24px, 6vw, 96px);
  overflow: hidden;
}
.agga-site.bh-site .bh-stage-wrap::before {
  content: "";
  position: absolute;
  width: min(64vw, 720px);
  aspect-ratio: 1;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--yellow);
}
.agga-site.bh-site .bh-board { position: relative; }
.agga-site.bh-site .bh-board svg { display: block; width: 100%; height: auto; overflow: visible; }
.agga-site.bh-site .bh-board-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 36px 0 0;
}
.agga-site.bh-site .bh-caption {
  min-height: 1.5em;
  margin: 0;
  padding: 8px 14px;
  font-size: 1rem;
  font-weight: 500;
  background: var(--white);
  border: var(--rule);
}
.agga-site.bh-site .bh-caption:empty { visibility: hidden; }
.agga-site.bh-site .bh-caption strong { font-weight: 700; color: var(--red); }
.agga-site.bh-site .bh-replay {
  padding: 8px 14px;
  border: var(--rule);
  background: var(--black);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
.agga-site.bh-site .bh-replay:hover { background: var(--blue); }

.agga-site.bh-site .bh-piece { transform-box: view-box; transform-origin: 0 0; }
.agga-site.bh-site .bh-piece.ready { cursor: pointer; }
.agga-site.bh-site .bh-piece:focus { outline: none; }
.agga-site.bh-site .bh-back-face { stroke: var(--black); stroke-width: 2.5; stroke-linejoin: round; }
.agga-site.bh-site .bh-seam { fill: none; stroke: var(--black); stroke-width: 2.5; stroke-linejoin: round; }
.agga-site.bh-site .bh-icon { fill-rule: evenodd; pointer-events: none; }
.agga-site.bh-site .bh-label { font-family: "Jost", system-ui, sans-serif; font-size: 13px; font-weight: 600; text-anchor: middle; pointer-events: none; }
.agga-site.bh-site #bh-hl { fill: rgba(242, 194, 48, 0.25); stroke: var(--black); stroke-width: 4; pointer-events: none; opacity: 0; transition: opacity 0.12s; }
.agga-site.bh-site #bh-tray { fill: none; stroke: var(--black); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.agga-site.bh-site .bh-p-text { font-family: "Jost", system-ui, sans-serif; fill: var(--black); }
.agga-site.bh-site #bh-badge { transform-box: view-box; transform-origin: 441px 15px; }

/* ---------- announcement ---------- */
.agga-site.bh-site .bh-announce {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px clamp(16px, 5vw, 72px);
  background: var(--blue);
  color: var(--white);
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.agga-site.bh-site .bh-announce h3 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.agga-site.bh-site .bh-announce p { margin: 0; font-size: 1.05rem; opacity: 0.9; }
.agga-site.bh-site .bh-announce a {
  flex: none;
  padding: 12px 22px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  border: var(--rule);
}
.agga-site.bh-site .bh-announce a:hover { background: var(--white); }

/* ---------- our solution ---------- */
.agga-site.bh-site .bh-solution {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border-bottom: var(--rule);
}
.agga-site.bh-site .bh-solution-copy { padding: 72px clamp(16px, 5vw, 72px); border-right: var(--rule); }
.agga-site.bh-site .bh-solution h2 { margin: 0 0 8px; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.agga-site.bh-site .bh-solution h3 { margin: 0 0 20px; font-size: 1.35rem; font-weight: 500; color: var(--grey); }
.agga-site.bh-site .bh-solution p { margin: 0 0 32px; font-size: 1.15rem; line-height: 1.55; max-width: 52ch; }
.agga-site.bh-site .bh-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.agga-site.bh-site .bh-tags li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--white);
  border: var(--rule);
  font-weight: 600;
}
.agga-site.bh-site .bh-tags svg { width: 14px; height: 14px; flex: none; }
.agga-site.bh-site .bh-solution-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px clamp(24px, 5vw, 72px);
  background: var(--white);
}
.agga-site.bh-site .bh-solution-art svg { width: min(100%, 320px); height: auto; }

/* ---------- footer ---------- */
.agga-site.bh-site .bh-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px clamp(16px, 5vw, 72px);
  background: var(--black);
  color: var(--white);
}
.agga-site.bh-site .bh-footer svg { display: block; width: 190px; height: 22px; }
.agga-site.bh-site .bh-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-weight: 500; }
.agga-site.bh-site .bh-footer nav a { text-decoration: none; }
.agga-site.bh-site .bh-footer nav a:hover { color: var(--yellow); }
.agga-site.bh-site .bh-footer .bh-footer-cta { padding: 10px 18px; background: var(--red); color: var(--white); }
.agga-site.bh-site .bh-footer .bh-footer-cta:hover { background: var(--yellow); color: var(--black); }
.agga-site.bh-site .bh-copyright { flex-basis: 100%; margin: 0; font-size: 0.9rem; color: #a9a59c; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .agga-site.bh-site .bh-hero,
  .agga-site.bh-site .bh-solution { grid-template-columns: minmax(0, 1fr); }
  .agga-site.bh-site .bh-hero { min-height: 0; }
  .agga-site.bh-site .bh-copy,
  .agga-site.bh-site .bh-solution-copy { border-right: 0; border-bottom: var(--rule); }
  .agga-site.bh-site .bh-stage-wrap { padding: 72px 10% 56px; }
  .agga-site.bh-site .bh-stage-wrap::before { width: 110vw; right: -40%; }
  .agga-site.bh-site .bh-announce { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 760px) {
  .agga-site.bh-site .bh-nav a:not(.bh-nav-cta) { display: none; }
  .agga-site.bh-site .bh-mark svg { width: 175px; height: 20px; }
}
