/* ============================================================
   pages.css  ·  inner pages (About, Testimonials, Support, Login)
   shared design system · lighter motion
   ============================================================ */

/* ---------------- Page hero (dark cinematic band) ---------------- */
.phero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3rem, 7vw, 5.5rem);
  background: var(--grad-ink);
  color: var(--slate-300);
}
.phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 90% at 20% -10%, rgba(47,107,255,0.22), transparent 60%),
    radial-gradient(60% 100% at 100% 0%, rgba(22,198,192,0.16), transparent 55%);
}
.phero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.10) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.phero__inner { position: relative; z-index: 1; }
.phero .eyebrow { color: var(--teal-300); }
.phero .eyebrow::before { background: linear-gradient(90deg, var(--teal-300), transparent); }
.phero h1 { font-size: var(--fs-h1); color: #fff; margin-top: 1.3rem; max-width: 16ch; }
.phero .lead { color: rgba(226,232,240,0.78); margin-top: 1.5rem; max-width: 60ch; }
.phero--center .phero__inner { text-align: center; }
.phero--center .eyebrow { justify-content: center; }
.phero--center h1, .phero--center .lead { margin-inline: auto; }

/* logo strip */
.logostrip { display: flex; flex-wrap: wrap; gap: 2.4rem; justify-content: center; align-items: center; }
.logostrip span { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--slate-400); }
.logostrip--dark span { color: rgba(255,255,255,0.5); }

/* ---------------- About: prose ---------------- */
.prose { max-width: 68ch; }
.prose p { font-size: var(--fs-lead); line-height: 1.75; color: var(--slate-600); margin-bottom: 1.5rem; }
.prose p strong, .prose p b { color: var(--slate-900); font-weight: 600; }
.prose .drop::first-letter { }
.about-lead { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; letter-spacing: -0.02em; color: var(--slate-900); font-weight: 500; }

/* values grid */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-top: 3rem; }
.value { padding: 1.9rem; }
.value__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 1.2rem; box-shadow: 0 12px 26px -12px rgba(15,23,42,0.4); }
.value__ic svg { width: 22px; height: 22px; }
.value:nth-child(1) .value__ic { background: linear-gradient(135deg,#3B82F6,#6366F1); }
.value:nth-child(2) .value__ic { background: linear-gradient(135deg,#16C6C0,#10B981); }
.value:nth-child(3) .value__ic { background: linear-gradient(135deg,#F59E0B,#F43F5E); }
.value:nth-child(4) .value__ic { background: linear-gradient(135deg,#8B5CF6,#EC4899); }
.value h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.value p { font-size: 0.98rem; color: var(--slate-600); }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3rem; }
.member { padding: 2rem; text-align: center; }
.member__av { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 1.2rem; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff; background: var(--grad-brand); box-shadow: 0 16px 34px -14px rgba(47,107,255,0.6); }
.member h3 { font-size: 1.2rem; }
.member p { font-size: 0.9rem; color: var(--slate-500); margin: 0.3rem 0 0.9rem; }
.member a { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.member a svg { width: 15px; height: 15px; }
@media (max-width: 720px) { .team { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

/* ---------------- Stats band ---------------- */
.statband { background: var(--graphite-900); color: #fff; }
.statband__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; text-align: center; }
.statband .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; background: var(--grad-brand-soft); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.statband p { font-size: 0.88rem; color: var(--slate-400); margin-top: 0.7rem; }
.statband__note { text-align: center; margin-top: 2.5rem; font-size: 0.78rem; color: var(--slate-500); }
@media (max-width: 640px) { .statband__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; } }

/* ---------------- Testimonials grid ---------------- */
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.tcard { display: flex; flex-direction: column; padding: 2rem; }
.tcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.tcard__av { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 0.95rem; }
.tcard__badge { font-size: 0.72rem; font-weight: 700; color: var(--emerald); background: rgba(16,185,129,0.1); padding: 0.4em 0.85em; border-radius: 100px; }
.tcard blockquote { flex: 1; font-size: 1.05rem; line-height: 1.6; color: var(--slate-700); }
.tcard figcaption { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--slate-200); }
.tcard figcaption b { display: block; font-size: 0.92rem; color: var(--slate-900); font-weight: 600; }
.tcard figcaption span { display: block; font-size: 0.8rem; color: var(--slate-500); margin-top: 0.15rem; }
.av-rg { background: linear-gradient(135deg,#F97316,#F43F5E); }
.av-yh { background: linear-gradient(135deg,#14B8A6,#10B981); }
.av-bx { background: linear-gradient(135deg,#3B82F6,#6366F1); }
.av-bs { background: linear-gradient(135deg,#8B5CF6,#D946EF); }
@media (max-width: 720px) { .tgrid { grid-template-columns: 1fr; } }

/* ---------------- Support cards ---------------- */
.supgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.supcard { padding: 2rem; display: flex; flex-direction: column; }
.supcard__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 1.3rem; background: var(--grad-brand); box-shadow: 0 12px 26px -12px rgba(47,107,255,0.5); }
.supcard__ic svg { width: 24px; height: 24px; }
.supcard h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.supcard p { font-size: 0.96rem; color: var(--slate-600); flex: 1; }
.supcard a.link { margin-top: 1.3rem; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--accent); font-size: 0.95rem; }
.supcard a.link:hover { gap: 0.7rem; }
@media (max-width: 800px) { .supgrid { grid-template-columns: 1fr; } }

.cta-band { text-align: center; }
.cta-band__card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(3rem,7vw,5.5rem) var(--gutter); background: linear-gradient(135deg,#0B1120,#12203C 60%,#0C2E3A); border: 1px solid rgba(87,224,214,0.18); }
.cta-band__card::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 90% at 50% 0%, rgba(47,107,255,0.26), transparent 60%); }
.cta-band__card h2 { position: relative; color: #fff; font-size: var(--fs-h2); }
.cta-band__card p { position: relative; color: rgba(226,232,240,0.8); max-width: 50ch; margin: 1.2rem auto 0; font-size: var(--fs-lead); }
.cta-band__cta { position: relative; margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------------- Login split ---------------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 0.95fr; }
.auth__brand {
  position: relative; overflow: hidden; padding: clamp(2.5rem,5vw,4rem);
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 120% at 20% 20%, #12203C 0%, #0B1120 55%, #06080F 100%);
  color: #fff;
}
.auth__brand::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(50% 60% at 80% 30%, rgba(22,198,192,0.22), transparent 60%),
             radial-gradient(50% 50% at 10% 90%, rgba(47,107,255,0.24), transparent 60%);
}
.auth__brand > * { position: relative; z-index: 1; }
.auth__tag { margin-top: auto; }
.auth__brand h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: #fff; max-width: 14ch; line-height: 1.05; }
.auth__brand .kicker { font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 1.3rem; font-weight: 600; }
.auth__glass { margin-top: 2rem; }

.auth__form { display: flex; align-items: center; justify-content: center; padding: clamp(2rem,5vw,4rem); background: var(--paper); }
.auth__card { width: 100%; max-width: 400px; }
.auth__card h1 { font-size: 1.9rem; color: var(--slate-900); }
.auth__card .sub { color: var(--slate-500); margin: 0.6rem 0 2rem; font-size: 0.98rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--slate-700); margin-bottom: 0.5rem; }
.field input {
  width: 100%; padding: 0.9em 1.1em; border-radius: 14px; font: inherit; font-size: 0.98rem;
  color: var(--slate-900); background: #fff; border: 1px solid var(--slate-300);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,107,255,0.14); }
.auth__row { display: flex; align-items: center; justify-content: space-between; margin: 0.4rem 0 1.6rem; }
.auth__row a { font-size: 0.88rem; color: var(--accent); font-weight: 500; }
.auth__submit { width: 100%; }
.auth__back { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.8rem; font-size: 0.9rem; color: var(--slate-500); }
.auth__back:hover { color: var(--slate-900); }
.auth__mini { margin-top: 2.5rem; font-size: 0.76rem; color: var(--slate-400); text-align: center; }
.auth__mini a { color: var(--slate-500); }
.auth__mini a:hover { color: var(--slate-900); }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth__brand { min-height: 40vh; }
}

/* small helper */
.mt-band { margin-top: clamp(3rem, 6vw, 5rem); }
