/* TOF CRM public pages — after TOF2 app.css + theme.css */

main a {
  color: #3f6653;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

main a:hover {
  color: #2d4a3c;
}

/* -------------------------------------------------------------------------
   Public home “liven up” layer (token-light: CSS only)
   ------------------------------------------------------------------------- */

.tof-home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1.25rem;
  background:
    radial-gradient(1200px 420px at 20% 0%, rgba(211, 228, 254, 0.95) 0%, rgba(248, 249, 255, 0.7) 55%, rgba(248, 249, 255, 0) 100%),
    radial-gradient(900px 380px at 82% 12%, rgba(63, 102, 83, 0.14) 0%, rgba(248, 249, 255, 0) 70%),
    linear-gradient(180deg, rgba(11, 28, 48, 0.035) 0%, rgba(11, 28, 48, 0) 100%);
}

.tof-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(11, 28, 48, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.14;
  mix-blend-mode: multiply;
}

.tof-home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .tof-home-hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
  }
}

.tof-fun-card {
  position: relative;
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(11, 28, 48, 0.08);
}

.tof-fun-kicker {
  font-family: "Courier Prime", ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 28, 48, 0.72);
}

.tof-btn {
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #000000, #071d31);
  color: #ffffff;
  font-weight: 750;
  letter-spacing: 0.01em;
}

/* Ensure button links override global `main a` rules (ADA contrast). */
main a.tof-btn,
main a.tof-btn:visited {
  color: #ffffff;
  text-decoration: none;
}

main a.tof-btn:hover,
main a.tof-btn:active {
  color: #ffffff;
  text-decoration: none;
}

.tof-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-0.5px);
}

.tof-btn:focus-visible {
  outline: 2px solid #ffdea5;
  outline-offset: 3px;
}

.tof-bracket {
  background: rgba(255, 255, 255, 0.68);
  border-radius: 0.85rem;
  padding: 1rem;
  box-shadow: 0 16px 50px rgba(11, 28, 48, 0.06);
}

.tof-section {
  margin-top: 2rem;
}

.tof-section-title {
  letter-spacing: -0.015em;
}

main.intake-main a {
  color: #c1ecd4;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

main.intake-main a:hover {
  color: #d3e4fe;
}

article h1,
article h2,
article h3 {
  font-family: Epilogue, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  color: #0b1c30;
  line-height: 1.15;
}

article h1 {
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  margin: 1.5rem 0 0.75rem;
}

article h2 {
  font-size: 1.35rem;
  margin: 1.25rem 0 0.5rem;
}

article h3 {
  font-size: 1.125rem;
  margin: 1rem 0 0.35rem;
}

article p {
  margin: 0.75rem 0;
}

article ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

article code {
  font-family: "Courier Prime", ui-monospace, monospace;
  background: rgba(11, 28, 48, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  font-size: 0.9em;
}
