/* ============================================================
   VENNTRA - Global stylesheet
   Version: 1.0
   Sections:
   1.  Design tokens (:root)
   2.  CSS reset
   3.  Base elements
   4.  Layout utilities
   5.  Navigation
   6.  Buttons
   7.  Section label
   8.  Hero sections
   9.  Strip bar
   10. Service cards
   11. Accent cards
   12. Stats bar
   13. CTA band
   14. Contact form
   15. Footer
   16. Article cards
   17. Utility classes
   18. Responsive overrides
   ============================================================ */


/* ============================================================
   1. Design tokens (:root)
   ============================================================ */

:root {

  /* Brand colours */
  --v:          #7C3AED;
  --v-light:    #8B5CF6;
  --v-dark:     #6D28D9;
  --v-glow:     rgba(124, 58, 237, 0.15);
  --v-border:   rgba(124, 58, 237, 0.30);
  --cyan:       #06B6D4;
  --green:      #10B981;

  /* Backgrounds */
  --bg0:        #09090B;
  --bg1:        #18181B;
  --bg2:        #27272A;

  /* Text */
  --t1:         #FAFAFA;
  --t2:         #A1A1AA;
  --t3:         #71717A;

  /* Borders */
  --b1:         rgba(255, 255, 255, 0.06);
  --b2:         rgba(255, 255, 255, 0.10);
  --b3:         rgba(255, 255, 255, 0.15);

  /* Semantic */
  --success:    #10B981;
  --warning:    #F59E0B;
  --error:      #EF4444;
  --info:       #06B6D4;

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-1:    4px;
  --space-2:    8px;
  --space-3:   16px;
  --space-4:   24px;
  --space-5:   32px;
  --space-6:   48px;
  --space-7:   64px;
  --space-8:   96px;
  --space-9:  128px;

  /* Border radius */
  --r-sm:       6px;
  --r-md:      10px;
  --r-lg:      16px;
  --r-xl:      24px;

  /* Layout */
  --max-width:  1200px;

  /* Z-index scale */
  --z-base:     0;
  --z-raised:  10;
  --z-nav:    100;
  --z-modal:  200;
  --z-toast:  300;
}


/* ============================================================
   2. CSS reset
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}


/* ============================================================
   3. Base elements
   ============================================================ */

body {
  background-color: var(--bg0);
  color: var(--t2);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--t1);
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--t1);
}

h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--t1);
}

h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--t1);
}

p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--t2);
}

a {
  color: var(--v);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--v-light);
}

ul {
  list-style: none;
}

li {
  line-height: 1.7;
}

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

code, pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--t2);
}


/* ============================================================
   4. Layout utilities
   ============================================================ */

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

.section {
  padding: 96px 40px;
  background: var(--bg0);
}

.band {
  padding: 0;
  background: var(--bg1);
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
}

.band .container {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header p {
  margin-top: 16px;
  max-width: 560px;
}


/* ============================================================
   5. Navigation
   ============================================================ */

nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--bg1);
  border-bottom: 1px solid var(--b1);
  height: 64px;
}

nav.scrolled {
  background: rgba(24, 24, 27, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--t1);
  line-height: 1.2;
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--t2);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--t1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--t2);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg0);
  padding: 40px 20px;
  flex-direction: column;
  gap: 32px;
  z-index: 99;
  overflow-y: auto;
}

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

.nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-drawer-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--t1);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--b1);
}


/* ============================================================
   6. Buttons
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--v);
  color: #FAFAFA;
  border: none;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary:hover {
  background: var(--v-light);
  color: #FAFAFA;
}

.btn-primary:active {
  background: var(--v-dark);
  transform: scale(0.98);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.45);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-primary.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--v);
  border: 1px solid var(--v);
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: var(--v-glow);
  color: var(--v);
}

.btn-ghost:active {
  background: rgba(124, 58, 237, 0.22);
  transform: scale(0.98);
}

.btn-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.45);
}

.btn-ghost.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}


/* ============================================================
   7. Section label
   ============================================================ */

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--v);
  margin-bottom: 12px;
}


/* ============================================================
   8. Hero sections
   ============================================================ */

/* Home hero */
.hero {
  padding: 128px 40px;
  background: var(--bg0);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg1);
  border: 1px solid var(--b2);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--t2);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--t1);
  margin: 0 0 24px 0;
}

.hero-title .accent {
  color: var(--v);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--t2);
  line-height: 1.7;
  margin: 0 0 36px 0;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 80px 40px 64px;
  background: var(--bg0);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 52px;
  letter-spacing: -0.03em;
  color: var(--t1);
  line-height: 1.08;
  margin: 0 0 20px 0;
  max-width: 700px;
}

.page-hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--t2);
  line-height: 1.7;
  max-width: 600px;
  margin: 0;
}


/* ============================================================
   9. Strip bar
   ============================================================ */

.strip {
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  background: var(--bg1);
  padding: 16px 40px;
}

.strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.strip-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
  white-space: nowrap;
  flex-shrink: 0;
}

.strip-items {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.strip-item {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--t3);
}


/* ============================================================
   10. Service cards
   ============================================================ */

.service-card {
  background: var(--bg1);
  border: 1px solid var(--b1);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: var(--v-border);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--v-glow);
  border: 1px solid var(--v-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.service-card-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--t1);
  margin: 0 0 8px 0;
}

.service-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--t2);
  line-height: 1.6;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}


/* ============================================================
   11. Accent cards
   ============================================================ */

.accent-card {
  padding: 28px 28px 28px 26px;
  border-left: 2px solid var(--v);
  background: var(--bg1);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.accent-card-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--v);
  margin-bottom: 12px;
}

.accent-card-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--t1);
  margin: 0 0 8px 0;
}

.accent-card-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--t2);
  line-height: 1.65;
  margin: 0;
}

.accent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


/* ============================================================
   12. Stats bar
   ============================================================ */

.stats-bar {
  background: var(--bg1);
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  padding: 48px 40px;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  color: var(--t1);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-accent {
  color: var(--v);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--t3);
}


/* ============================================================
   13. CTA band
   ============================================================ */

.cta-band {
  background: var(--bg1);
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  padding: 96px 40px;
  text-align: center;
}

.cta-band-inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-band-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.025em;
  color: var(--t1);
  line-height: 1.1;
  margin: 0 0 16px 0;
}

.cta-band-body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--t2);
  line-height: 1.65;
  margin: 0 0 32px 0;
}


/* ============================================================
   14. Contact form
   ============================================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
}

.form-optional {
  font-weight: 400;
  color: var(--t3);
}

.form-input {
  background: var(--bg1);
  border: 1px solid var(--b2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--t1);
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--t3);
}

.form-input:hover {
  border-color: var(--b3);
}

.form-input:focus {
  border-color: var(--v);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

select.form-input {
  cursor: pointer;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: 14px;
  color: var(--error);
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--r-md);
}

.form-error a {
  color: var(--error);
}

.form-success {
  padding: 32px;
  background: var(--bg1);
  border: 1px solid var(--b1);
  border-radius: var(--r-lg);
  text-align: center;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--t1);
  margin: 0 0 8px 0;
}

.form-success p {
  font-size: 15px;
  color: var(--t2);
  margin: 0;
}

/* Contact page two-column layout */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--t3);
}

.contact-detail-value {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--t2);
  margin: 0;
}

.contact-detail-value a {
  color: var(--t2);
  text-decoration: none;
}

.contact-detail-value a:hover {
  color: var(--t1);
}


/* ============================================================
   15. Footer
   ============================================================ */

footer {
  background: var(--bg0);
  border-top: 1px solid var(--b1);
  padding: 56px 40px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--t1);
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--t3);
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  background: transparent;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--t2);
  text-decoration: none;
  transition: color 0.15s;
  background: transparent;
}

.footer-link:hover {
  color: var(--t1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--b1);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--t3);
  margin: 0;
}


/* ============================================================
   16. Article cards
   ============================================================ */

.article-card {
  background: var(--bg1);
  border: 1px solid var(--b1);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}

.article-card:hover {
  border-color: var(--b2);
}

.article-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--v-glow);
  border: 1px solid var(--v-border);
  color: var(--v-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-body);
}

.article-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--t1);
  line-height: 1.35;
  margin: 0;
}

.article-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--t2);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--b1);
}

.article-date {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--t3);
}

.article-read-more {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--v);
  text-decoration: none;
}

.article-read-more:hover {
  color: var(--v-light);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}


/* ============================================================
   17. Utility classes
   ============================================================ */

/* Services page: individual service sections */
.service-section {
  padding: 80px 40px;
  background: var(--bg0);
  border-bottom: 1px solid var(--b1);
}

.service-section:nth-child(even) {
  background: var(--bg1);
}

.service-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.service-section:nth-child(even) .service-section-inner {
  direction: rtl;
}

.service-section:nth-child(even) .service-section-inner > * {
  direction: ltr;
}

.service-section-content h2 {
  margin: 0 0 20px 0;
}

.service-section-content p {
  margin: 0 0 16px 0;
}

.service-section-content p:last-of-type {
  margin-bottom: 0;
}

.service-includes {
  padding: 24px;
  background: var(--bg1);
  border: 1px solid var(--b1);
  border-radius: var(--r-lg);
}

.service-section:nth-child(even) .service-includes {
  background: var(--bg2);
}

.service-includes-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 16px;
  display: block;
}

.service-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-includes li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--t2);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--v);
}

/* Privacy / long-form text */
.prose-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 40px;
}

.prose-content h1 {
  font-size: 3rem;
  margin-bottom: 8px;
}

.prose-content .prose-date {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--t3);
  margin-bottom: 48px;
  display: block;
}

.prose-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 12px 0;
}

.prose-content p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.prose-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose-content li {
  font-size: 16px;
  color: var(--t2);
  padding-left: 18px;
  position: relative;
  line-height: 1.65;
}

.prose-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--v);
}

.prose-content a {
  color: var(--v);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 404 page */
.error-404 {
  min-height: calc(100vh - 64px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  background: var(--bg0);
}

.error-404-inner {
  text-align: center;
  max-width: 480px;
}

.error-404-code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--v);
  margin-bottom: 24px;
}

.error-404-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.025em;
  color: var(--t1);
  margin: 0 0 16px 0;
}

.error-404-body {
  font-size: 17px;
  color: var(--t2);
  margin: 0 0 32px 0;
  line-height: 1.65;
}

/* About page: founder section */
.founder-section {
  padding: 80px 40px;
  background: var(--bg0);
  border-bottom: 1px solid var(--b1);
}

.founder-section-inner {
  max-width: 720px;
  margin: 0 auto;
}

.founder-section h2 {
  margin-bottom: 20px;
}

.founder-section p {
  margin-bottom: 16px;
}

.founder-section p:last-child {
  margin-bottom: 0;
}

/* About page: location section */
.location-section {
  padding: 80px 40px;
  background: var(--bg0);
  border-bottom: 1px solid var(--b1);
}

.location-section-inner {
  max-width: 720px;
  margin: 0 auto;
}

.location-section h2 {
  margin-bottom: 20px;
}

/* Visually hidden (accessible to screen readers) */
.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;
}

/* Focus ring global override */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.5);
}


/* ============================================================
   18. Article / Insight content components
   ============================================================ */

/* Article body container */
.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--t2);
  margin: 0 0 20px 0;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--t1);
  margin: 48px 0 16px 0;
}

.article-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--t1);
  margin: 32px 0 12px 0;
}

.article-body a {
  color: var(--v);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-list li {
  font-size: 15px;
  color: var(--t2);
  padding-left: 20px;
  position: relative;
  line-height: 1.65;
}

.article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--v);
}

/* TL;DR box */
.insight-tldr {
  background: var(--bg1);
  border-left: 3px solid var(--v);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 24px 28px;
  margin: 0 0 40px 0;
}

.insight-tldr-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v);
  display: block;
  margin-bottom: 12px;
}

.insight-tldr ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insight-tldr li {
  font-size: 14px;
  color: var(--t1);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}

.insight-tldr li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--v);
}

/* Stat callout row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0;
}

.stat-box {
  background: var(--bg1);
  border: 1px solid var(--b1);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
}

.stat-box-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--v);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-box-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--t2);
  line-height: 1.4;
}

/* Before / After comparison */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.before-col,
.after-col {
  border-radius: var(--r-md);
  padding: 20px;
}

.before-col {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.after-col {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.before-col-label,
.after-col-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.before-col-label { color: #EF4444; }
.after-col-label  { color: var(--green); }

.before-col ul,
.after-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.before-col li,
.after-col li {
  font-size: 13px;
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}

.before-col li { color: #FCA5A5; }
.after-col li  { color: #6EE7B7; }

.before-col li::before,
.after-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.before-col li::before { background: #EF4444; }
.after-col li::before  { background: var(--green); }

/* Process block (numbered section) */
.process-block {
  background: var(--bg1);
  border: 1px solid var(--b1);
  border-radius: var(--r-lg);
  padding: 28px;
  margin: 24px 0;
}

.process-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--v-glow);
  border: 1px solid var(--v-border);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--v);
  flex-shrink: 0;
}

.process-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--t1);
  margin: 0;
}

.time-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--green);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 16px 0 0 0;
  display: block;
  width: fit-content;
}

/* Callout / tip box */
.insight-callout {
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--t2);
  line-height: 1.65;
}

.insight-callout strong {
  color: var(--cyan);
}


/* Related articles strip (used at bottom of insight pages) */
.related-articles {
  padding: 64px 40px;
  background: var(--bg1);
  border-top: 1px solid var(--b1);
}

.related-articles-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.related-articles-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--v);
  margin-bottom: 24px;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}


/* ============================================================
   19. Responsive overrides (mobile-first)
   ============================================================ */

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

  .accent-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-section:nth-child(even) .service-section-inner {
    direction: ltr;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-inner {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-inner > .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Typography */
  h1 {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.15;
  }

  h3 {
    font-size: 1.375rem;
  }

  h4 {
    font-size: 1.125rem;
  }

  p {
    font-size: 16px;
  }

  /* Hero */
  .hero {
    padding: 80px 20px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-visual {
    display: none;
  }

  /* Page hero */
  .page-hero {
    padding: 56px 20px 48px;
  }

  .page-hero-title {
    font-size: 32px;
  }

  .page-hero-sub {
    font-size: 16px;
  }

  /* Layout */
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 20px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .band .container {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* Strip */
  .strip {
    padding: 14px 20px;
  }

  .strip-inner {
    gap: 16px;
  }

  .strip-items {
    gap: 16px;
  }

  .strip-item {
    font-size: 12px;
  }

  /* Stats */
  .stats-bar {
    padding: 40px 20px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-num {
    font-size: 36px;
  }

  /* CTA band */
  .cta-band {
    padding: 64px 20px;
  }

  .cta-band-title {
    font-size: 30px;
  }

  .cta-band-body {
    font-size: 16px;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  /* Footer */
  footer {
    padding: 48px 20px 28px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Services page */
  .service-section {
    padding: 56px 20px;
  }

  /* About */
  .founder-section,
  .location-section {
    padding: 56px 20px;
  }

  /* Privacy */
  .prose-content {
    padding: 56px 20px;
  }

  .prose-content h1 {
    font-size: 2.25rem;
  }

  /* 404 */
  .error-404 {
    padding: 64px 20px;
  }

  .error-404-code {
    font-size: 80px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
