/* TLive Education — multi-page site styles (brand-aligned) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --navy-950: #0d2137;
  --navy-900: #132a45;
  --navy-800: #1a365d;
  --navy-700: #234876;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --surface: #ffffff;
  --bg: #f7f9fc;
  --bg-soft: #eef3f9;
  --accent: #dc3545;
  --accent-hover: #c82333;
  --ok: #0f766e;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(13, 33, 55, 0.08);
  --container: 1120px;
  --announce-h: 44px;
  --font: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Announcement */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  min-height: var(--announce-h);
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, var(--navy-950), var(--navy-800));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: #e2e8f0;
}

.announce__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.announce a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8125rem;
}

.announce a.primary {
  background: var(--accent);
  color: #fff;
}

.announce a.primary:hover {
  background: var(--accent-hover);
}

.announce a.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.announce button {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

body.announce-hidden .announce {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 48px;
  max-width: 180px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--navy-800);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    inset: calc(100% + 1px) 1rem auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
  }

  .nav a:hover {
    background: var(--bg-soft);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--navy-800);
}

.btn-secondary:hover {
  border-color: var(--navy-800);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(26, 54, 93, 0.16), transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(220, 53, 69, 0.1), transparent 35%),
    linear-gradient(180deg, #eaf0f8 0%, var(--bg) 70%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(26, 54, 93, 0.08);
  color: var(--navy-800);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy-950);
}

.lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__visual {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(26, 54, 93, 0.12);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--navy {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #fff;
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section-head .label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--navy-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section--navy .section-head .label {
  color: rgba(255, 255, 255, 0.7);
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.section--navy .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

/* Cards / grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: 0.15s ease;
}

.card:hover {
  border-color: rgba(26, 54, 93, 0.28);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

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

.module-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.module-card__media {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.module-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.module-card .more {
  margin-top: auto;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Page hero */
.page-hero {
  padding: 3.25rem 0 2.25rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(220, 53, 69, 0.08), transparent 40%),
    linear-gradient(180deg, #eaf0f8, var(--bg));
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--navy-800);
}

.breadcrumbs span[aria-hidden="true"] {
  opacity: 0.5;
}

/* Feature detail */
.feature-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .feature-layout {
    grid-template-columns: 1fr;
  }
}

.shot-stack {
  display: grid;
  gap: 1rem;
}

.shot-stack figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shot-stack img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.shot-stack figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.check-list {
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: inset 0 0 0 2px #fff;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.step h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(26, 54, 93, 0.08);
  color: var(--navy-800);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Pricing */
.price-card {
  padding: 1.75rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(26, 54, 93, 0.18);
  box-shadow: var(--shadow);
}

.price-card .tag {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.price-card .amount {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-950);
}

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

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.contact-item p,
.contact-item a {
  color: var(--muted);
}

.contact-item a:hover {
  color: var(--navy-800);
}

/* CTA band */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.site-footer a {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* Prose helpers */
.prose-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.prose-block p {
  color: var(--muted);
}

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