:root {
  --blue: #0072CE;
  --dark-blue: #003F91;
  --hero-bg: #0B173B;
  --green: #39B54A;
  --ink: #1F2937;
  --light: #F8FAFC;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.22);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(12, 24, 58, 0.55);
  --text: #F8FAFC;
  --muted: rgba(248, 250, 252, 0.78);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--hero-bg);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 23, 59, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.wordmark {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.wordmark strong { color: #7EC8FF; }

.header-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-nav a {
  text-decoration: none;
  color: var(--muted);
}

.header-nav a:hover { color: var(--white); }

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--white) !important;
}

/* Cinematic hero */
.hero-cinematic {
  position: relative;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: center;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("cassandra-founder.jpg") right center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 36, 0.92) 0%, rgba(8, 14, 36, 0.78) 42%, rgba(8, 14, 36, 0.35) 70%, rgba(8, 14, 36, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 14, 36, 0.35) 0%, rgba(8, 14, 36, 0.15) 40%, rgba(8, 14, 36, 0.75) 100%);
}

.hero-stage {
  position: relative;
  z-index: 1;
}

.glass-panel {
  width: min(100%, 620px);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7EC8FF;
}

.hero-cinematic h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
}

.hero-cinematic h1 .accent { color: #7EC8FF; }

.subhead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.cred-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.5rem;
}

.cred-chips li {
  background: rgba(126, 200, 255, 0.14);
  border: 1px solid rgba(126, 200, 255, 0.28);
  color: #E8F4FF;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.form-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #A7F3D0;
}

.form-intro {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.field-row {
  display: grid;
  gap: 0.85rem;
}

.field {
  margin: 0 0 0.95rem;
  border: none;
  padding: 0;
}

.field label,
.field legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--white);
  font-size: 0.92rem;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.field input::placeholder { color: rgba(248, 250, 252, 0.45); }

.field input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.12);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill span {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.12s ease;
  color: var(--white);
  font-size: 0.92rem;
}

.pill input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
}

.pill input:focus-visible + span {
  outline: 2px solid #7EC8FF;
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: none;
  border-radius: 0.75rem;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.65; cursor: wait; }

.btn-green {
  background: var(--green);
  color: #06240c;
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  width: 100%;
}

.btn-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.privacy-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.55);
  text-align: center;
}

.form-error {
  color: #FECACA;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 0.65rem;
  padding: 0.75rem 0.9rem;
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.thank-you {
  text-align: center;
  padding: 1rem 0 0.25rem;
}

.thank-you h3 {
  margin: 0 0 0.5rem;
  color: var(--white);
}

.thank-you p { margin: 0; color: var(--muted); }

/* Offerings */
.offerings {
  padding: 3.5rem 0;
  background:
    radial-gradient(ellipse at top, rgba(0, 114, 206, 0.18), transparent 55%),
    #081226;
}

.offerings h2,
.founder h2 {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.section-lede {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 1.75rem;
  max-width: 34rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.card h3 {
  margin: 0 0 0.65rem;
  color: var(--white);
  font-size: 1.25rem;
}

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

/* Founder */
.founder {
  padding: 1rem 0 3.5rem;
  background: #081226;
}

.founder-panel { max-width: 760px; margin: 0 auto; }

.founder-name {
  margin: 1rem 0 0.2rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
}

.founder-role {
  margin: 0 0 1rem;
  text-align: center;
  color: #7EC8FF;
  font-weight: 600;
}

.founder-panel > p {
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.founder-quote {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--blue);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 0.75rem 0.75rem 0;
}

.founder-quote p {
  margin: 0 0 0.5rem;
  font-style: italic;
  color: var(--white);
}

.founder-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.6);
}

.founder-more {
  text-align: center;
  margin: 1rem 0 0 !important;
}

.founder-more a {
  color: #7EC8FF;
  font-weight: 700;
  text-decoration: none;
}

.founder-more a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  background: #060d1c;
  text-align: center;
}

.site-footer a {
  color: #7EC8FF;
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover { text-decoration: underline; }

.copyright {
  margin: 0.5rem 0 0;
  color: rgba(248, 250, 252, 0.45);
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .glass-panel { padding: 2rem 2rem 1.75rem; }
}

@media (min-width: 768px) {
  .header-nav { display: flex; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero-bg {
    background-position: 70% center;
  }
}

@media (min-width: 960px) {
  .hero-cinematic { padding: 3.5rem 0 4.5rem; }
  .hero-bg {
    background-position: right center;
  }
  .glass-panel {
    width: min(100%, 640px);
  }
}
