/* Brongus.AI — site styles
   Design language: graphite grey + a touch of liquid glass (iOS 26 "Liquid Glass"
   influence, applied with restraint). Glass needs light behind it: the body
   carries soft luminous blooms; panels are frosted translucent layers over them. */

:root {
  --bg: #0d0e11;
  --panel-line: rgba(255, 255, 255, 0.20);
  --panel-line-top: rgba(255, 255, 255, 0.45);
  --glass: linear-gradient(165deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.11));
  --text: #eaeef4;
  --muted: #96a1b2;
  --accent: #5aa2f0;
  --accent-dim: #2f5f9e;
  --ink: #0a0f18;            /* dark text on light glass */
  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Luminous blooms behind the glass — the light source the panels refract. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 480px at 14% 16%, rgba(90,162,240,0.20), transparent 62%),
    radial-gradient(circle 620px at 86% 42%, rgba(90,162,240,0.13), transparent 60%),
    radial-gradient(circle 520px at 38% 88%, rgba(168,204,247,0.10), transparent 62%),
    linear-gradient(180deg, #0f131a, #090c11);
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Nav (frosted) ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(13, 14, 17, 0.55);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand em { color: var(--accent); font-style: normal; }

.nav nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.8rem);
}
.nav nav a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- Buttons (liquid pills) ---------- */

.btn,
.nav .cta {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover, .nav .cta:hover { text-decoration: none; }

.nav .cta { padding: 0.45rem 1.1rem; }

.btn-primary,
.nav .cta {
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(197,220,246,0.88));
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 6px 18px rgba(0,0,0,0.35);
}
.btn-primary:hover, .nav .cta:hover { background: #ffffff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.34); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(4rem, 12vh, 8rem) clamp(1.2rem, 4vw, 3rem) 4rem;
}

.hero-inner { max-width: 62rem; margin: 0 auto; }

.kicker {
  color: #9ec3f2;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
  background: linear-gradient(115deg, #f3f6fa 25%, #b0c4dd 55%, #e9eff7 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .accent {
  background: linear-gradient(115deg, #a8ccf7, #3f7fd1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Proof bar (frosted strip) ---------- */

.proof {
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}
.proof p {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.proof ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}
.proof li {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
  opacity: 0.78;
  font-size: 1.02rem;
}

.proof-frontier {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: normal;
  text-transform: none;
}
.proof-frontier strong { color: var(--accent); font-family: var(--font-head); }

/* ---------- Sections ---------- */

.section {
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1.2rem, 4vw, 3rem);
  max-width: 72rem;
  margin: 0 auto;
}

.section-alt {
  max-width: none;
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.section-alt > * { max-width: 72rem; margin-left: auto; margin-right: auto; }

.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.section-lede {
  color: var(--muted);
  max-width: 46rem;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

/* ---------- Glass panels (cards + tenets) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.4rem;
}

.card,
.tenets li {
  background: var(--glass);
  border: 1px solid var(--panel-line);
  border-top-color: var(--panel-line-top);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), 0 14px 36px rgba(0,0,0,0.42);
}

.card { padding: 1.8rem 1.6rem; }
.card:hover { border-color: rgba(255, 255, 255, 0.26); border-top-color: rgba(255,255,255,0.4); }

.card-num {
  font-family: var(--font-head);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.card h3 { font-size: 1.25rem; margin: 0.6rem 0 0.5rem; }

.card-tag {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.card p:last-child { color: var(--muted); font-size: 0.98rem; }

/* ---------- Tenets ---------- */

.tenets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.4rem;
}

.tenets li { padding: 1.3rem 1.4rem; }

.tenets h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}
.tenets p { color: var(--muted); font-size: 0.98rem; padding-left: 1rem; }

/* ---------- About ---------- */

.about-copy strong { color: var(--text); }
.about-links { font-family: var(--font-head); font-weight: 600; }
.about-links span { color: var(--muted); margin: 0 0.6rem; }

/* ---------- Contact form (glass inputs) ---------- */

#contact-form { max-width: 40rem; }

#contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 34rem) { .field-row { grid-template-columns: 1fr; } }

#contact-form input,
#contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
}

#contact-form .btn-primary { margin-top: 0.3rem; }

.form-status { margin-top: 0.9rem; font-size: 0.95rem; color: var(--accent); }
.form-status.error { color: #f0918c; }

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer span { margin: 0 0.5rem; }

/* ---------- Motion restraint ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
