/* Invigor8, LLC — mockup-inspired layout, A2P-safe content */
:root {
  --purple-900: #3b0764;
  --purple-700: #6d28d9;
  --purple-600: #7c3aed;
  --blue-800: #1e40af;
  --blue-600: #2563eb;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --navy-footer: #0f172a;
  --bg-page: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.06);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--purple-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  flex: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Skip link ——— */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--text);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Solid header (contact + subpages) ——— */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--purple-700);
  text-decoration: none;
}

.logo--light {
  color: #fff;
}

.logo--light:hover {
  color: #e9d5ff;
}

.logo span {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.88em;
}

.logo--light span {
  color: rgba(255, 255, 255, 0.75);
}

/* Logo image (images/invigor8nova.png) */
.logo-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark:hover {
  text-decoration: none;
  opacity: 0.92;
}

.logo-mark img {
  display: block;
  height: 38px;
  width: auto;
  max-width: min(240px, 55vw);
  object-fit: contain;
}

@media (min-width: 640px) {
  .logo-mark img {
    height: 44px;
    max-width: 280px;
  }
}

.hero-top .logo-mark {
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.hero-top .logo-mark img {
  height: 36px;
}

@media (min-width: 640px) {
  .hero-top .logo-mark img {
    height: 42px;
  }
}

.site-header .logo-mark img {
  height: 40px;
  max-width: 260px;
}

.footer-brand .logo-mark img {
  height: 48px;
  max-width: 280px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--purple-700);
  text-decoration: none;
}

.nav--light a {
  color: rgba(255, 255, 255, 0.92);
}

.nav--light a:hover {
  color: #fff;
}

.nav a[aria-current="page"] {
  color: var(--purple-700);
}

.nav--light a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ——— Hero (gradient) ——— */
.hero-wrap {
  background: linear-gradient(
    135deg,
    var(--purple-900) 0%,
    #4c1d95 35%,
    var(--blue-800) 70%,
    #172554 100%
  );
  color: #fff;
  padding-bottom: 4.5rem;
}

.hero-figure {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 1.75rem;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-search {
  flex: 1;
  min-width: 160px;
  max-width: 320px;
}

.hero-search input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.9rem;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.hero-search input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  font-family: inherit;
}

.btn:hover {
  text-decoration: none;
}

.btn--teal {
  background: var(--teal-500);
  color: #fff !important;
  border-color: var(--teal-500);
}

.btn--teal:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
}

.btn--outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--purple {
  background: var(--purple-600);
  color: #fff !important;
  border-color: var(--purple-600);
}

.btn--purple:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
}

.btn--outline-dark {
  background: transparent;
  color: var(--purple-700) !important;
  border-color: var(--purple-600);
}

.btn--outline-dark:hover {
  background: rgba(124, 58, 237, 0.08);
}

.hero-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  text-align: center;
}

.hero-main h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-main .lead {
  margin: 0 auto 2rem;
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ——— Section shells ——— */
.section {
  padding: 4.5rem 1.5rem;
}

.section--tight-top {
  padding-top: 3rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ——— Feature cards (4-up) ——— */
.cards-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--border);
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card__head {
  padding: 1.25rem 1.25rem 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-card__head--a {
  background: linear-gradient(135deg, var(--purple-600), var(--blue-600));
}

.feature-card__head--b {
  background: linear-gradient(135deg, var(--teal-600), #0891b2);
}

.feature-card__head--c {
  background: linear-gradient(135deg, #7c3aed, #c026d3);
}

.feature-card__head--d {
  background: linear-gradient(135deg, var(--blue-800), var(--purple-700));
}

.feature-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.feature-card li {
  margin-bottom: 0.4rem;
}

.feature-card .btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
}

/* ——— Resource grid (replaces product grid) ——— */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.resource-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resource-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: var(--purple-600);
  color: #fff;
}

.resource-card__tag--new {
  background: var(--teal-600);
}

.resource-card__visual {
  position: relative;
  margin: 0;
  margin-top: 0.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--border);
}

.resource-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resource-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.resource-card .meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.resource-actions .btn {
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
}

/* ——— Split: goals + CTA panel ——— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.split h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
}

.split .intro {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  color: var(--text);
}

.check-list .icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple-600), var(--blue-600));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
}

.cta-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.cta-panel__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--purple-700);
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.cta-panel__label {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Journey split + image ——— */
.journey-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  min-height: 280px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--border);
}

.journey-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(109, 40, 217, 0.35) 0%,
    rgba(30, 64, 175, 0.25) 50%,
    rgba(15, 23, 42, 0.45) 100%
  );
}

.journey-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

/* If no image file, gradient still shows */
.journey-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
}

.journey-copy p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* ——— 6-up features ——— */
.grid-6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 520px) {
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mini-feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.mini-feature .icon-sm {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--purple-600), var(--teal-500));
  opacity: 0.95;
}

.mini-feature .icon-sm--photo {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  max-width: none;
  object-fit: cover;
  padding: 0;
  background: var(--border);
  opacity: 1;
}

.mini-feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.mini-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ——— Testimonials ——— */
.testimonial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--blue-600));
  flex-shrink: 0;
}

.avatar--photo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 2px solid rgba(124, 58, 237, 0.25);
  background: var(--border);
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}

details.faq-item[open] {
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--purple-600);
  line-height: 1;
}

details.faq-item[open] summary::after {
  content: "−";
}

.faq-item .answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item .answer p {
  margin: 0 0 0.75rem;
}

.faq-item .answer p:last-child {
  margin-bottom: 0;
}

/* ——— Messaging disclaimer strip ——— */
.legal-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.legal-strip-inner {
  background: #fefce8;
  border: 1px solid #fde047;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.85rem;
  color: #713f12;
  line-height: 1.55;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-footer);
  color: #94a3b8;
  margin-top: auto;
  padding: 3.5rem 1.5rem 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand .logo span {
  color: #94a3b8;
}

.footer-brand p {
  margin: 0 0 1.25rem;
  line-height: 1.55;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: 0.75rem;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.social-row a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}

.footer-col h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  color: #94a3b8;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* ——— Contact page ——— */
.contact-layout {
  max-width: 840px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.contact-intro {
  margin-bottom: 1.75rem;
}

.contact-intro h1 {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

.contact-intro .sub {
  margin: 0;
  color: var(--muted);
}

.contact-form-embed {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-height: 791px;
}

.contact-form-embed iframe {
  display: block;
  width: 100%;
  height: 791px;
  min-height: 600px;
  border: none;
  vertical-align: top;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.contact-card--after-form {
  margin-top: 0;
}

.contact-card h2.contact-card__title {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contact-block {
  margin-bottom: 1.6rem;
}

.contact-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.contact-block p,
.contact-block a {
  margin: 0;
}

.contact-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

/* ——— Legal pages (privacy, terms) ——— */
.legal-page {
  flex: 1;
  padding: 2.5rem 1rem 4rem;
  background:
    radial-gradient(ellipse 100% 60% at 50% -15%, rgba(124, 58, 237, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 30%, rgba(20, 184, 166, 0.1), transparent 45%),
    linear-gradient(180deg, #e8f7f5 0%, var(--bg-page) 28%, var(--bg-page) 100%);
}

.legal-page > article {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 3rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

@media (min-width: 640px) {
  .legal-page > article {
    padding: 3rem 2.5rem 3.25rem;
  }
}

.legal-page__title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-600) 45%, var(--teal-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--purple-900);
}

@supports not (background-clip: text) {
  .legal-page__title {
    background: none;
    color: var(--purple-900);
  }
}

.legal-page__title::after {
  content: "";
  display: block;
  width: min(5rem, 40%);
  height: 4px;
  margin: 1.1rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--purple-600));
}

.legal-page__intro {
  margin: 0 0 2.25rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(124, 58, 237, 0.06));
  border-radius: var(--radius);
  border-left: 4px solid var(--teal-500);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.legal-page section {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.legal-page section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.legal-page section h2 {
  font-size: 1.08rem;
  margin: 0 0 0.85rem;
  color: var(--purple-900);
  font-weight: 700;
  line-height: 1.35;
  padding: 0.65rem 0 0.65rem 1rem;
  border-left: 3px solid var(--teal-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.09), rgba(124, 58, 237, 0.04));
}

.legal-page section p,
.legal-page section ul {
  margin: 0 0 0.85rem;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.7;
}

.legal-page section p:last-child,
.legal-page section ul:last-child {
  margin-bottom: 0;
}

.legal-page section ul {
  padding-left: 1.35rem;
}

.legal-page section li {
  margin-bottom: 0.45rem;
}

.legal-page section li::marker {
  color: var(--teal-600);
}

.legal-page a {
  color: var(--purple-700);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: var(--teal-600);
}

.legal-page__meta {
  margin: 2.25rem 0 0;
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: #f8fafc;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.legal-back {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.legal-back a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-700);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.legal-back a:hover {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.35);
  color: var(--teal-600);
  text-decoration: none;
}
