/* Betty Hub — dark “studio OS” (namespace bh-) — Space Grotesk + Inter */

:root {
  --bh-bg0: #070a0f;
  --bh-bg1: #0b1220;
  --bh-panel: rgba(255, 255, 255, 0.04);
  --bh-panel2: rgba(255, 255, 255, 0.07);
  --bh-line: rgba(148, 163, 184, 0.18);
  --bh-text: #e2e8f0;
  --bh-muted: #94a3b8;
  --bh-lime: #bef264;
  --bh-lime-d: #a3e635;
  --bh-sky: #38bdf8;
  --bh-head: 72px;
  --bh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bh-font-d: "Space Grotesk", system-ui, sans-serif;
  --bh-font-b: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html.bh-html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html.bh-html {
    scroll-behavior: auto;
  }
  [data-bh-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

body.bh {
  margin: 0;
  font-family: var(--bh-font-b);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bh-text);
  background: var(--bh-bg0);
  -webkit-font-smoothing: antialiased;
}

.bh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 10% -10%, rgba(56, 189, 248, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse 80% 60% at 100% 20%, rgba(190, 242, 100, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, var(--bh-bg0) 0%, var(--bh-bg1) 100%);
}

.bh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}

main {
  position: relative;
  z-index: 1;
}

a {
  color: var(--bh-sky);
}

a:hover {
  color: var(--bh-lime);
}

.bh-skip {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10000;
  padding: 0.6rem 1rem;
  background: var(--bh-lime);
  color: #0b1220;
  font-weight: 700;
  border-radius: 6px;
}

.bh-skip:focus {
  left: 1rem;
}

.bh-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bh-wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.bh-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--bh-head);
  background: rgba(7, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bh-line);
  transition: background 0.3s var(--bh-ease), border-color 0.3s;
}

.bh-top.is-scrolled {
  background: rgba(11, 18, 32, 0.92);
}

.bh-top__inner {
  height: 100%;
  width: min(1180px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bh-logo {
  font-family: var(--bh-font-d);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bh-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bh-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bh-lime), var(--bh-sky));
  color: #0b1220;
  font-size: 0.75rem;
  font-weight: 800;
}

.bh-menu {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.bh-menu a {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bh-muted);
  letter-spacing: 0.02em;
}

.bh-menu a:hover {
  color: var(--bh-text);
}

.bh-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bh-line);
  border-radius: 10px;
  background: var(--bh-panel);
  cursor: pointer;
  position: relative;
}

.bh-burger::before,
.bh-burger::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--bh-text);
  transition: transform 0.25s var(--bh-ease);
}

.bh-burger::before {
  top: 16px;
}

.bh-burger::after {
  top: 24px;
}

.bh-burger.is-open::before {
  transform: translateY(4px) rotate(45deg);
}

.bh-burger.is-open::after {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 860px) {
  .bh-burger {
    display: block;
  }
  .bh-menu {
    position: fixed;
    inset: var(--bh-head) 0 0 0;
    flex-direction: column;
    padding: 2rem;
    background: rgba(11, 18, 32, 0.98);
    border-top: 1px solid var(--bh-line);
    transform: translateX(100%);
    transition: transform 0.35s var(--bh-ease);
    align-items: flex-start;
  }
  .bh-menu.is-open {
    transform: translateX(0);
  }
}

/* Hero */
.bh-hero {
  padding-top: calc(var(--bh-head) + 3rem);
  padding-bottom: 3rem;
}

.bh-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.bh-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bh-muted);
  margin: 0 0 1rem;
}

.bh-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bh-lime);
  box-shadow: 0 0 12px var(--bh-lime);
}

.bh-hero__title {
  font-family: var(--bh-font-d);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.bh-hero__lead {
  color: var(--bh-muted);
  margin: 0 0 1.5rem;
  max-width: 42ch;
  font-size: 1.0625rem;
}

.bh-hero__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-family: var(--bh-font-b);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.bh-btn:focus-visible {
  outline: 2px solid var(--bh-lime);
  outline-offset: 2px;
}

.bh-btn--lime {
  background: var(--bh-lime);
  color: #0b1220;
}

.bh-btn--lime:hover {
  background: var(--bh-lime-d);
  transform: translateY(-2px);
}

.bh-btn--ghost {
  background: transparent;
  color: var(--bh-text);
  border: 1px solid var(--bh-line);
}

.bh-btn--ghost:hover {
  border-color: var(--bh-sky);
}

.bh-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--bh-line);
}

.bh-kpis div {
  margin: 0;
}

.bh-kpis dt {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bh-muted);
  margin: 0 0 0.25rem;
}

.bh-kpis dd {
  font-family: var(--bh-font-d);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: var(--bh-lime);
}

.bh-hero__panel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bh-line);
  background: var(--bh-panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.bh-hero__panel img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bh-panel__cap {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--bh-muted);
  border-top: 1px solid var(--bh-line);
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .bh-hero__grid {
    grid-template-columns: 1fr;
  }
  .bh-kpis {
    grid-template-columns: 1fr;
  }
}

/* Strip */
.bh-strip {
  border-top: 1px solid var(--bh-line);
  border-bottom: 1px solid var(--bh-line);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 0;
}

.bh-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bh-muted);
}

.bh-strip__inner span::before {
  content: "✦";
  margin-right: 0.5rem;
  color: var(--bh-sky);
}

/* Sections */
.bh-h2 {
  font-family: var(--bh-font-d);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.bh-sub {
  color: var(--bh-muted);
  margin: 0 0 2rem;
  max-width: 52ch;
}

.bh-muted {
  color: var(--bh-muted);
}

.bh-modules {
  padding: 4rem 0;
}

.bh-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bh-tile {
  position: relative;
  padding: 1rem 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--bh-line);
  background: var(--bh-panel);
  transition: border-color 0.3s, transform 0.3s var(--bh-ease);
}

.bh-tile:hover {
  border-color: rgba(190, 242, 100, 0.35);
  transform: translateY(-4px);
}

.bh-tile__id {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--bh-font-d);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.12);
  line-height: 1;
  pointer-events: none;
}

.bh-tile img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.bh-tile__h {
  font-family: var(--bh-font-d);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.bh-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--bh-muted);
}

@media (max-width: 900px) {
  .bh-tiles {
    grid-template-columns: 1fr;
  }
}

/* Flow */
.bh-flow {
  padding: 4rem 0;
  border-top: 1px solid var(--bh-line);
}

.bh-flow__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.bh-flow__text {
  margin-bottom: 1.5rem !important;
}

.bh-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bh-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--bh-line);
  font-size: 0.95rem;
  color: var(--bh-muted);
}

.bh-list strong {
  color: var(--bh-lime);
  margin-right: 0.5rem;
  font-family: var(--bh-font-d);
}

.bh-flow__fig {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--bh-line);
}

.bh-flow__fig img {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .bh-flow__grid {
    grid-template-columns: 1fr;
  }
}

/* Proof */
.bh-proof {
  padding: 4rem 0;
}

.bh-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bh-quotes blockquote {
  margin: 0;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--bh-line);
  background: var(--bh-panel);
}

.bh-quotes p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--bh-text);
}

.bh-quotes footer {
  font-size: 0.8rem;
  color: var(--bh-muted);
}

@media (max-width: 900px) {
  .bh-quotes {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.bh-faq {
  padding: 4rem 0;
  border-top: 1px solid var(--bh-line);
}

.bh-faq details {
  border: 1px solid var(--bh-line);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: var(--bh-panel);
  padding: 0 1rem;
}

.bh-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
}

.bh-faq summary::-webkit-details-marker {
  display: none;
}

.bh-faq details[open] summary {
  color: var(--bh-lime);
}

.bh-faq details p {
  margin: 0;
  padding-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--bh-muted);
}

/* CTA */
.bh-cta {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bh-cta__bg {
  position: absolute;
  inset: 0;
}

.bh-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.bh-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 10, 15, 0.92), rgba(11, 18, 32, 0.88));
}

.bh-cta__box {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.5rem;
  max-width: 480px;
}

.bh-cta__title {
  font-family: var(--bh-font-d);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.bh-cta__box p {
  color: var(--bh-muted);
  margin: 0 0 1.25rem;
}

.bh-formline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.bh-formline input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--bh-line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--bh-text);
  font-family: var(--bh-font-b);
}

/* Contact */
.bh-contact {
  padding: 4rem 0 5rem;
}

.bh-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
}

.bh-contact a {
  word-break: break-all;
}

.bh-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bh-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bh-muted);
}

.bh-form input,
.bh-form textarea {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--bh-line);
  background: var(--bh-panel);
  color: var(--bh-text);
  font-family: var(--bh-font-b);
  font-size: 1rem;
}

.bh-form input:focus,
.bh-form textarea:focus {
  outline: none;
  border-color: var(--bh-sky);
}

@media (max-width: 768px) {
  .bh-contact__grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.bh-foot {
  border-top: 1px solid var(--bh-line);
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.35);
}

.bh-foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bh-foot__row p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bh-muted);
}

.bh-logo--foot {
  opacity: 0.95;
}

.bh-foot__nav {
  display: flex;
  gap: 1.25rem;
}

.bh-foot__nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bh-muted);
}

.bh-foot__nav a:hover {
  color: var(--bh-text);
}

/* Cookie */
.bh-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 1rem;
  transform: translateY(110%);
  transition: transform 0.45s var(--bh-ease);
}

.bh-cookie.is-visible {
  transform: translateY(0);
}

.bh-cookie__inner {
  max-width: 880px;
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--bh-line);
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.bh-cookie__inner h3 {
  margin: 0;
  width: 100%;
  font-size: 1rem;
  font-family: var(--bh-font-d);
}

.bh-cookie__inner p {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  color: var(--bh-muted);
  min-width: 200px;
}

.bh-cookie__btns {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Reveal */
[data-bh-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--bh-ease), transform 0.6s var(--bh-ease);
}

[data-bh-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Legal */
.bh-legal {
  position: relative;
  z-index: 1;
  padding: calc(var(--bh-head) + 2.5rem) 0 3rem;
  width: min(720px, 92vw);
  margin-inline: auto;
}

.bh-legal h1 {
  font-family: var(--bh-font-d);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.bh-legal .bh-muted {
  color: var(--bh-muted);
  font-size: 0.9rem;
}

.bh-legal h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2rem;
  color: var(--bh-lime);
}

.bh-legal p {
  color: var(--bh-muted);
}

.bh-legal a {
  color: var(--bh-sky);
}
