/* ══════════════════════════════════════════════════════════════════
   v6.3 POLISH — public page (Landing_page.php) and the sign-in modal.
   Loaded after landing.css / validation-page.css / auth-v5.css /
   v63-fields.css. Same brand, same sections; refinements only:
     • the hero now has its two actions (create an account / log in);
     • emphasis by weight and colour, not gradient-filled text;
     • no small "eyebrow" labels stacked over section headings;
     • readable secondary text (4.5:1+), themed selection / caret /
       focus ring, tabular numbers in the stats band;
     • motion: strong ease-out, under 250 ms, off for reduced motion.
══════════════════════════════════════════════════════════════════ */
:root {
  --text3: #64748b;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
::selection { background: rgba(0, 137, 123, 0.2); color: inherit; }
body { caret-color: var(--accent, #00897b); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::placeholder { color: #64748b; opacity: 1; }
:where(a, button, [role="button"], [tabindex], summary):focus-visible {
  outline: 2px solid var(--accent, #00897b);
  outline-offset: 2px;
}
h1, h2, h3, .section-title { text-wrap: balance; }
p, .section-sub, .feat-desc { text-wrap: pretty; }

/* ── Hero ── */
.grad-text,
.s-num {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--accent, #00897b);
}
.s-num { font-variant-numeric: tabular-nums; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-body, inherit);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.hero-btn-primary {
  background: var(--accent, #00897b);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 8px 20px -6px rgba(0, 137, 123, 0.45);
}
.hero-btn-ghost {
  background: #fff;
  color: #0f172a;
  border-color: #cbd5e1;
}
@media (hover: hover) and (pointer: fine) {
  .hero-btn-primary:hover { background: #00796b; }
  .hero-btn-ghost:hover { border-color: #94a3b8; background: #f8fafc; }
}
.hero-btn:active { transform: scale(0.97); }
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; padding: 0 8px; }
}

/* ── Section headings speak for themselves (no eyebrow label above them). ── */
.section-tag { display: none; }

/* ── Quieter, readable secondary text ── */
.footer-brand p, .footer-col ul li a, .footer-bottom p { color: #475569; }
.footer-col ul li a:hover { color: var(--accent, #00897b); }
.s-label, .feat-desc, .section-sub { color: #475569; }

/* ── Cards answer hover only where hover exists ── */
.feat-card, .role-card { transition: border-color 160ms ease, box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out); }

/* ── Sign-in modal ── */
.auth-modal-close { display: inline-flex; align-items: center; justify-content: center; }
.btn-auth, .auth-view button[type="submit"] { transition: background-color 160ms ease, box-shadow 200ms var(--ease-out), transform 160ms var(--ease-out); }
.auth-view button[type="submit"]:not(:disabled):active { transform: scale(0.98); }

/* Toasts on this page: no thick coloured side stripe — the icon carries the type. */
.toast-error, .toast-success { border-left: 0; }
.toast-icon { display: inline-flex; align-items: center; justify-content: center; }
.toast-success .toast-icon { background: #dcfce7; color: #15803d; }
.toast-error .toast-icon { background: #fee2e2; color: #b91c1c; }
.toast-close { display: inline-flex; align-items: center; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .hero-btn, .feat-card, .role-card { transition-property: background-color, border-color, color, box-shadow; }
  .hero-btn:active, .auth-view button[type="submit"]:active { transform: none; }
}
