/*
 * Copyright (c) 2026 Stolen Youth Organization (Pty) Ltd
 * All rights reserved. Unauthorised copying or distribution of this file,
 * via any medium, is strictly prohibited.
 */
/*
Theme Name: Stolen Youth Directional
Theme URI: https://stolenyouth.co.za
Author: Stolen Youth
Description: A lighter, more corporate-SaaS design direction for Stolen Youth — structural/mood inspiration from botctl.co.za (hero, credibility strip, alternating services, outcomes grid, differentiation, CTA), fully original copy, palette and assets. Built alongside the existing dark theme for a safe live preview/switch.
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stolenyouthdirectional
*/

:root {
  --color-bg: #FAFAF8;
  --color-bg-elevated: #F2F3F1;
  --color-card: #EFEDE4;
  --color-card-hover: #E7E4D7;
  --color-border: #D9D6C8;
  --color-text: #10201C;
  --color-text-muted: #5C6863;
  --color-text-inverse: #F5F7F5;
  --color-text-inverse-muted: #AAB6B0;
  --color-teal: #1D9C82;
  --color-teal-bright: #17B897;
  --color-teal-dim: rgba(29, 156, 130, 0.10);
  --color-navy: #10201C;
  --color-navy-2: #16302A;
  --color-gold: #C08A2E;
  --color-gold-dark: #9C6F22;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1180px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  color: var(--color-text-muted);
}

a {
  color: var(--color-teal-bright);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Site header — kept as the current live site's dark header (unchanged colors),
   even though the rest of this theme moves to a light palette. Redefining the
   shared tokens inside this scope lets every descendant rule below (branding,
   nav, toggle) keep working unmodified, resolving to the dark values instead. */
.site-header {
  --color-bg: #070c13;
  --color-bg-elevated: #0c141e;
  --color-card: #101a24;
  --color-border: #1f2e3c;
  --color-text: #e9f2f7;
  --color-text-muted: #90a3b5;
  --color-teal-bright: #6fe3c7;
  --color-teal-dim: rgba(69, 194, 171, 0.14);

  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-bg);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
}

.site-branding img {
  height: 34px;
  width: auto;
  display: block;
}

.site-branding .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-branding .brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-branding .brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.primary-nav a:hover {
  color: var(--color-text);
  background: var(--color-card);
}

.primary-nav li.active a,
.primary-nav a.active {
  color: var(--color-teal-bright);
  background: var(--color-teal-dim);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

/* Hero with constellation canvas */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--color-teal-dim) 0%, var(--color-bg) 70%);
}

.hero canvas.constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 20px;
  background: linear-gradient(120deg, var(--color-text) 30%, var(--color-teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 660px;
  margin: 0 auto 32px;
  color: var(--color-text-muted);
  font-size: 1.15rem;
}

/* Secondary-page hero — same treatment as the homepage hero, shorter */
.hero--page {
  padding: 72px 0 56px;
}

.hero--page h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

.hero--page .eyebrow {
  margin-bottom: 16px;
}

/* MarTech pre-launch teaser */
.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 20px;
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-kicker .kicker-dot {
  color: var(--color-text-muted);
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: 660px;
}

.pillar-tag {
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.martech-countdown {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0 auto 28px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.countdown-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--color-teal-bright);
}

.countdown-label {
  margin-top: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.hero-footnote {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.button {
  display: inline-block;
  background: linear-gradient(120deg, var(--color-teal) 0%, var(--color-navy-2) 100%);
  color: var(--color-text-inverse);
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 156, 130, 0.25);
}

.button.secondary {
  background: transparent;
  border: 1px solid rgba(192, 138, 46, 0.4);
  color: var(--color-text);
}

.button.secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: none;
}

/* Content sections */
.section {
  padding: 72px 0;
}

.section-alt {
  position: relative;
  background: var(--color-bg-elevated);
}

.section-alt::before,
.section-alt::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold) 50%, transparent);
  opacity: 0.6;
}

.section-alt::before {
  top: 0;
}

.section-alt::after {
  bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* Cards use the header/footer's dark palette rather than a light-on-light
   surface — same scoped-variable technique, so descendant text (h3, p, links)
   picks up the light-on-dark tokens automatically. */
.card {
  --color-card: #101a24;
  --color-border: #1f2e3c;
  --color-text: #e9f2f7;
  --color-text-muted: #90a3b5;
  --color-teal-bright: #6fe3c7;

  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
}

.card:hover {
  border-color: var(--color-teal-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card h3 {
  font-size: 1.15rem;
}

/* Footer — kept as the live site's original dark colors, same scoped-variable
   technique as the header, CTA banner, and stats strip. Every descendant
   below (footer menu, widget area) inherits these instead of the light ones. */
.site-footer {
  --color-bg-elevated: #070c13;
  --color-card: #101a24;
  --color-border: #1f2e3c;
  --color-text: #e9f2f7;
  --color-text-muted: #90a3b5;
  --color-teal-bright: #6fe3c7;

  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 56px 0 24px;
  margin-top: 0;
}

.site-footer h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-teal-bright);
}

.site-footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .menu li {
  margin-bottom: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Normalize default WordPress widgets (Archives, Categories, etc.) dropped into the footer sidebar */
#footer-widget-area .widget {
  margin-bottom: 24px;
}

#footer-widget-area .widget:last-child {
  margin-bottom: 0;
}

#footer-widget-area .widget-title,
#footer-widget-area .wp-block-heading {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

#footer-widget-area ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer-widget-area ul li {
  margin-bottom: 10px;
}

#footer-widget-area select {
  background: var(--color-card);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 6px 8px;
}

/* Founder / about bio */
.founder-bio {
  --color-card: #101a24;
  --color-border: #1f2e3c;
  --color-text: #e9f2f7;
  --color-text-muted: #90a3b5;
  --color-teal-bright: #6fe3c7;

  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 32px;
  margin-top: 40px;
}

.founder-bio .founder-photo {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 0 4px rgba(192, 138, 46, 0.15);
}

.founder-bio h3 {
  margin-top: 0;
  color: var(--color-text);
}

.founder-bio .founder-title {
  color: var(--color-teal-bright);
  font-weight: 600;
  margin-top: -8px;
}

/* Pricing tables */
.pricing-table-wrap {
  --color-card: #101a24;
  --color-border: #1f2e3c;
  --color-text: #e9f2f7;
  --color-text-muted: #90a3b5;
  --color-teal-bright: #6fe3c7;
  --color-bg-elevated: #0c141e;

  overflow-x: auto;
  margin: 32px 0;
  border-radius: 10px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  text-align: left;
  color: var(--color-text);
}

.pricing-table thead th {
  background: var(--color-bg-elevated);
  color: var(--color-teal-bright);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.pricing-table td.price {
  font-weight: 700;
  color: var(--color-text);
}

.pricing-table tbody tr.suite-row td {
  background: var(--color-teal-dim);
  font-weight: 700;
}

.pricing-note {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-top: 12px;
}

/* Gold pricing table variant — Web Development / Maintenance pricing */
.pricing-table.gold-theme {
  border-color: rgba(192, 138, 46, 0.35);
}

.pricing-table.gold-theme th,
.pricing-table.gold-theme td {
  border-color: rgba(192, 138, 46, 0.22);
}

.pricing-table.gold-theme thead th {
  background: var(--color-bg-elevated);
  color: var(--color-gold);
}

.pricing-table.gold-theme td.price {
  color: var(--color-gold);
}

.pricing-table.gold-theme tbody tr.featured-row td {
  background: rgba(192, 138, 46, 0.1);
  font-weight: 700;
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-list li {
  padding-left: 28px;
  position: relative;
  color: var(--color-text);
}

.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-teal-bright);
  font-weight: 700;
}

/* Video / demo embeds */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin: 32px 0;
}

.video-card {
  --color-card: #101a24;
  --color-border: #1f2e3c;
  --color-text: #e9f2f7;
  --color-text-muted: #90a3b5;

  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.video-card video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: #000;
  display: block;
}

.video-card h4 {
  margin: 12px 0 8px;
  color: var(--color-text);
}

.video-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

/* Every secondary page's hero — dark like the header/footer. Two columns:
   copy, then a bespoke animated mock of something specific to that page
   instead of a generic background (the Technologies one mocks Pulseflow's
   own sign-in screen, the way an enterprise product's own login animates,
   e.g. Huawei OceanStor). */
.custom-hero {
  --color-bg: #070c13;
  --color-card: #101a24;
  --color-border: #1f2e3c;
  --color-text: #e9f2f7;
  --color-text-muted: #90a3b5;
  --color-teal-bright: #6fe3c7;
  --color-teal-dim: rgba(69, 194, 171, 0.14);

  padding: 64px 0;
  text-align: left;
  background: var(--color-bg);
}

.custom-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.custom-hero-copy h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

.custom-hero-copy p {
  margin: 0 0 28px;
  max-width: 480px;
  font-size: 1.05rem;
}

/* Shared frame every page's mock visual sits inside — same size, corner
   radius and shadow throughout, so the mocks read as one family. */
.hero-mock-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #050a10;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Login mock (Technologies) — an animated wave canvas behind a frosted
   sign-in card, evoking the flowing background of an enterprise product's
   own login screen. */
.login-mock-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.login-mock-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(78%, 280px);
  padding: 28px 26px;
  border-radius: 14px;
  background: rgba(16, 26, 36, 0.72);
  border: 1px solid rgba(111, 227, 199, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}

.tech-logo {
  display: block;
  height: auto;
  width: min(100%, 320px);
  margin: 0 0 20px;
}

.login-mock-logo {
  height: 28px;
  width: auto;
  margin-bottom: 14px;
}

.login-mock-tagline {
  margin: 0 0 20px;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.login-mock-field {
  text-align: left;
  margin-bottom: 14px;
}

.login-mock-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.login-mock-input {
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
}

.login-mock-button {
  margin-top: 18px;
  padding: 9px;
  border-radius: 6px;
  background: linear-gradient(120deg, var(--color-teal) 0%, var(--color-navy-2) 100%);
  color: var(--color-text-inverse);
  font-size: 0.85rem;
  font-weight: 700;
}

.login-mock-footnote {
  margin: 14px 0 0;
  color: var(--color-text-muted);
  font-size: 0.72rem;
}

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

  .custom-hero-copy {
    text-align: center;
  }

  .custom-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-mock-frame {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* About — a radar-style ping spreading out from a single origin point */
.origin-mock {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.origin-mock-core {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-teal-bright);
  box-shadow: 0 0 16px 4px rgba(111, 227, 199, 0.5);
  z-index: 2;
}

.origin-mock-ring {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--color-teal-bright);
  animation: originPing 3.6s ease-out infinite;
}

.origin-mock-ring.r2 { animation-delay: 1.2s; }
.origin-mock-ring.r3 { animation-delay: 2.4s; }

@keyframes originPing {
  0%   { width: 12px; height: 12px; opacity: 0.9; }
  100% { width: 220px; height: 220px; opacity: 0; }
}

.origin-mock-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

.origin-mock-node.n1 { top: 18%; left: 78%; }
.origin-mock-node.n2 { top: 72%; left: 82%; }
.origin-mock-node.n3 { top: 80%; left: 22%; }
.origin-mock-node.n4 { top: 12%; left: 24%; }

/* Services — a stepper with a dot travelling through each stage */
.pipeline-mock {
  width: 82%;
}

.pipeline-track {
  position: relative;
  height: 2px;
  background: var(--color-border);
  border-radius: 2px;
  margin-bottom: 18px;
}

.pipeline-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--color-teal-bright);
  box-shadow: 0 0 12px 3px rgba(111, 227, 199, 0.5);
  animation: pipelineTravel 6s ease-in-out infinite;
}

@keyframes pipelineTravel {
  0%, 5%   { left: 0%; }
  20%, 25% { left: 25%; }
  40%, 45% { left: 50%; }
  60%, 65% { left: 75%; }
  80%, 100% { left: 100%; }
}

.pipeline-stages {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pipeline-stages li {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: pipelineHighlight 6s ease-in-out infinite;
}

.pipeline-stages li:nth-child(1) { animation-delay: 0s; }
.pipeline-stages li:nth-child(2) { animation-delay: 1.2s; }
.pipeline-stages li:nth-child(3) { animation-delay: 2.4s; }
.pipeline-stages li:nth-child(4) { animation-delay: 3.6s; }
.pipeline-stages li:nth-child(5) { animation-delay: 4.8s; }

@keyframes pipelineHighlight {
  0%, 92%, 100% { color: var(--color-text-muted); }
  4%, 16% { color: var(--color-teal-bright); }
}

/* Web Development — a browser frame that reflows across breakpoints */
.responsive-frame {
  width: 92%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  animation: responsiveResize 8s ease-in-out infinite;
}

@keyframes responsiveResize {
  0%, 8%   { width: 92%; }
  33%, 41% { width: 62%; }
  66%, 74% { width: 38%; }
  100%     { width: 92%; }
}

.responsive-bar {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--color-border);
}

.responsive-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border);
}

.responsive-body {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
}

.responsive-block {
  height: 22px;
  border-radius: 4px;
  background: var(--color-teal-dim);
  flex: 1 1 100%;
}

.responsive-block.wide {
  height: 34px;
  background: rgba(111, 227, 199, 0.22);
}

/* Contact — abstract message bubbles fading in as a conversation */
.chat-mock {
  width: 82%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-bubble {
  height: 26px;
  border-radius: 14px;
  opacity: 0;
  animation: chatIn 6s ease-in-out infinite;
}

.chat-bubble.in {
  align-self: flex-start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.chat-bubble.out {
  align-self: flex-end;
  background: var(--color-teal-dim);
  border: 1px solid rgba(111, 227, 199, 0.3);
  border-bottom-right-radius: 4px;
}

.chat-bubble:nth-child(1) { animation-delay: 0s; }
.chat-bubble:nth-child(2) { animation-delay: 1.4s; }
.chat-bubble:nth-child(3) { animation-delay: 2.8s; }

@keyframes chatIn {
  0%   { opacity: 0; transform: translateY(6px); }
  10%, 90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}

/* Documentation — a table of contents with the active section sweeping down */
.docs-mock {
  width: 82%;
  display: flex;
  gap: 20px;
}

.docs-mock-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 80px;
}

.docs-mock-toc li {
  height: 8px;
  border-radius: 4px;
  background: var(--color-border);
  animation: docsActive 4.8s ease-in-out infinite;
}

.docs-mock-toc li:nth-child(1) { animation-delay: 0s; }
.docs-mock-toc li:nth-child(2) { animation-delay: 1.2s; }
.docs-mock-toc li:nth-child(3) { animation-delay: 2.4s; }
.docs-mock-toc li:nth-child(4) { animation-delay: 3.6s; }

@keyframes docsActive {
  0%, 75%, 100% { background: var(--color-border); }
  8%, 17% { background: var(--color-teal-bright); }
}

.docs-mock-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}

.docs-mock-content .line {
  height: 8px;
  border-radius: 4px;
  background: var(--color-border);
}

.docs-mock-content .line.w100 { width: 100%; }
.docs-mock-content .line.w80 { width: 80%; }
.docs-mock-content .line.w60 { width: 60%; }

/* Blog — a stack of feed cards gently floating */
.feed-mock {
  width: 78%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  animation: feedFloat 5s ease-in-out infinite;
}

.feed-card.c1 { animation-delay: 0s; }
.feed-card.c2 { animation-delay: 0.6s; }
.feed-card.c3 { animation-delay: 1.2s; }

@keyframes feedFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.feed-thumb {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-teal-dim);
}

.feed-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feed-card .line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--color-border);
  margin-bottom: 6px;
}

.feed-card .line.w70 { width: 70%; }
.feed-card .line.w80 { width: 80%; }
.feed-card .line.w60 { width: 60%; }
.feed-card .line.w50 { width: 50%; }
.feed-card .line.w45 { width: 45%; }
.feed-card .line.w40 { width: 40%; }

/* Docs page */
.docs-toc {
  --color-card: #101a24;
  --color-border: #1f2e3c;
  --color-text: #e9f2f7;
  --color-text-muted: #90a3b5;
  --color-teal-bright: #6fe3c7;

  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.docs-toc h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--color-text);
}

.docs-toc ul {
  margin: 0;
  padding-left: 20px;
}

.docs-toc a {
  color: var(--color-text-muted);
}

.docs-toc a:hover {
  color: var(--color-teal-bright);
}

.docs-section {
  margin-bottom: 56px;
}

.docs-section h2 {
  border-bottom: 2px solid var(--color-teal);
  padding-bottom: 8px;
}

.page-content strong {
  color: var(--color-text);
}

/* Blog archive */
.post-card {
  display: flex;
  flex-direction: column;
}

.post-card .post-card-thumb {
  margin: -28px -28px 20px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.post-card .post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-meta {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.post-card h2 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.post-card h2 a {
  color: var(--color-text);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--color-teal-bright);
}

.post-card .read-more {
  margin-top: auto;
  padding-top: 12px;
  display: inline-block;
  font-weight: 600;
}

.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 48px 0 0;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text-muted);
  text-decoration: none;
}

.pagination .current,
.nav-links .current {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.pagination a:hover,
.nav-links a:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-bright);
}

/* Blog post / rich content typography */
.entry-content {
  max-width: 760px;
}

.entry-content p {
  color: var(--color-text);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 40px;
}

.entry-content h2 {
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 8px;
  display: inline-block;
}

.entry-content ul,
.entry-content ol {
  color: var(--color-text);
  padding-left: 24px;
  margin-bottom: 22px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content a {
  color: var(--color-teal-bright);
}

.entry-content blockquote {
  margin: 28px 0;
  padding: 4px 24px;
  border-left: 3px solid var(--color-gold);
  color: var(--color-text-muted);
  font-style: italic;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
}

.entry-content figcaption {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
  margin-top: -4px;
}

.entry-content pre,
.entry-content code {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: 'SFMono-Regular', Consolas, monospace;
}

.entry-content code {
  padding: 2px 6px;
  font-size: 0.9em;
}

.entry-content pre {
  padding: 16px;
  overflow-x: auto;
}

.entry-content pre code {
  border: none;
  padding: 0;
}

.entry-header .post-meta {
  margin-bottom: 4px;
}

.entry-header h1 {
  margin-bottom: 20px;
}

.entry-header .featured-image {
  margin: 0 0 32px;
  border-radius: 10px;
  overflow: hidden;
}

.entry-header .featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section heads with eyebrow label */
.text-center { text-align: center; }

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

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-gold-dark);
}

/* Credibility stats strip — a dark band using the live site's original dark
   colors (like the header), a deliberate accent against the rest of this
   theme's light palette. Scoped locally so the number cards below inherit
   the dark tokens without needing their own overrides. */
.stats-strip-wrap {
  --color-bg: #070c13;
  --color-card: #101a24;
  --color-border: #1f2e3c;
  --color-text-muted: #90a3b5;
  --color-teal-bright: #6fe3c7;

  padding: 40px 0;
  background: var(--color-bg);
}

.stats-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.stat-badge {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px 22px;
}

.stat-badge strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--color-teal-bright);
  font-variant-numeric: tabular-nums;
}

.stat-badge span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* Alternating service showcase */
.service-showcase {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 8px;
}

.showcase-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}

.showcase-row.reverse {
  grid-template-columns: 1fr 200px;
}

.showcase-row.reverse .showcase-visual {
  order: 2;
}

/* Numbered tiles use the live site's original dark background too. */
.showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  border-radius: 16px;
  background: #070c13;
  border: 1px solid #1f2e3c;
}

.showcase-tile {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  color: #6fe3c7;
}

.showcase-copy h3 {
  margin-bottom: 8px;
}

.showcase-copy p {
  margin: 0;
  max-width: 560px;
}

/* Outcomes grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Original site's dark colors, same as the header/CTA/stats strip/tiles. */
.outcome-card {
  padding: 24px;
  border-radius: 10px;
  background: #101a24;
  border: 1px solid #1f2e3c;
}

.outcome-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #e9f2f7;
}

.outcome-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #90a3b5;
}

/* CTA banner — the live site's original dark background, same technique as
   the header and stats strip. */
.cta-banner {
  --color-text-inverse: #e9f2f7;
  --color-text-inverse-muted: #90a3b5;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border-radius: 16px;
  background: #070c13;
  color: var(--color-text-inverse);
}

.cta-banner h2,
.cta-banner p {
  color: var(--color-text-inverse);
  margin: 0;
}

.cta-banner p {
  color: var(--color-text-inverse-muted);
  margin-top: 8px;
}

@media (max-width: 780px) {
  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .showcase-visual {
    order: 0;
  }

  .showcase-visual {
    height: 100px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 780px) {
  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .primary-nav.is-open {
    max-height: 400px;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .primary-nav a {
    display: block;
    padding: 12px 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .founder-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* FormLayer contact form: plugin defaults are dark-on-light labels, unreadable on this site's dark background */
.formlayer-form label,
.formlayer-label,
.formlayer-option-label span,
.formlayer-terms-label,
.formlayer-gdpr-label,
.formlayer-gdpr-wrap .formlayer-gdpr-info span {
  color: var(--color-text) !important;
}

.formlayer-sub-label,
.formlayer-gdpr-desc {
  color: var(--color-text-muted) !important;
}

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.partner-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px 24px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
}

.partner-card:hover {
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

.partner-card img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.partner-card:hover img {
  filter: none;
  opacity: 1;
}
