:root {
  --bg-1: #eef3fb;
  --bg-2: #dbe7fb;
  --ink: #172033;
  --muted: #5c6882;
  --accent: #0f6ab3;
  --accent-2: #4ea3d8;
  --surface: rgba(255, 255, 255, 0.72);
  --line: rgba(14, 40, 71, 0.12);
  --shadow-soft: 16px 16px 34px rgba(111, 138, 168, 0.35);
  --shadow-lift: -10px -10px 24px rgba(255, 255, 255, 0.72);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: linear-gradient(145deg, var(--bg-1), var(--bg-2));
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}

.bg-orb-left {
  top: -90px;
  left: -80px;
  background: radial-gradient(circle, rgba(78, 163, 216, 0.36), rgba(78, 163, 216, 0));
}

.bg-orb-right {
  right: -120px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(15, 106, 179, 0.24), rgba(15, 106, 179, 0));
}

.container {
  width: min(1080px, 92vw);
  margin: 40px auto 56px;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft), var(--shadow-lift);
}

.hero {
  padding: 30px;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  margin-top: 10px;
  font-size: clamp(1.6rem, 2.7vw, 2.4rem);
}

.hero-copy {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 65ch;
}

.hero-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.waitlist-stats {
  margin-top: 14px;
}

.stat-chip {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.76), rgba(232, 241, 255, 0.55));
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.stat-chip strong {
  margin-top: 5px;
  display: inline-block;
  color: var(--accent);
  font-size: 1.25rem;
}

.section-head {
  padding-inline: 6px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.project-card {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00b34a;
  box-shadow: 0 0 0 5px rgba(0, 179, 74, 0.16);
}

.status-dot--working {
  background: #2b7bd4;
  box-shadow: 0 0 0 5px rgba(43, 123, 212, 0.18);
}

.status-dot--planned {
  background: #d43f3f;
  box-shadow: 0 0 0 5px rgba(212, 63, 63, 0.16);
}

.status {
  color: #1f7f46;
  font-weight: 700;
  font-size: 0.86rem;
}

.status--working {
  color: #1f63b0;
}

.status--planned {
  color: #a12c2c;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.project-link {
  justify-self: start;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 9px 13px;
  border-radius: 11px;
  background: linear-gradient(155deg, var(--accent), var(--accent-2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 18px rgba(11, 68, 119, 0.35);
}

.project-link:hover {
  transform: translateY(-1px);
}

.waitlist {
  padding: 26px;
}

.waitlist p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* BYMSA Patch: add reusable project-landing sections while preserving hub visual language. */
.hub-hint a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.hub-hint a:hover {
  text-decoration: underline;
}

.service-highlights,
.faq {
  padding: 24px;
}

.feature-grid,
.faq-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.feature-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(225, 238, 255, 0.5));
}

.feature-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.faq-item h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.waitlist-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

/* BYMSA Patch: unify field styling across landing/admin forms for consistent skeuomorphic look. */
input[type="email"],
input[type="text"],
input[type="password"],
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-family: inherit;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 106, 179, 0.14);
}

button {
  border: none;
  border-radius: 12px;
  padding: 11px 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(155deg, #165d96, #3389c7);
  cursor: pointer;
}

button:disabled {
  opacity: 0.75;
  cursor: wait;
}

.form-message {
  min-height: 1.2em;
  margin-top: 12px;
  font-size: 0.92rem;
}

.form-message.success {
  color: #1f7f46;
}

.form-message.error {
  color: #a0162f;
}

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

@media (max-width: 700px) {
  .container {
    margin-top: 22px;
  }

  .hero,
  .waitlist {
    padding: 22px;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }
}
