/* fraudhalo.css — Editorial/magazine aesthetic, warm amber palette */

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --accent: #92400E;
  --accent-light: #B45309;
  --accent-hover: #78350F;
  --secondary: #F5F0E8;
  --cream-dark: #EDE8DF;
  --text-dark: #1C1917;
  --text-mid: #44403C;
  --text-light: #78716C;
  --border: #E7E1D8;
  --white: #FFFFFF;
  --black: #0C0A09;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --max-w: 1200px;
  --max-w-narrow: 780px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(28,25,23,0.08);
  --shadow-md: 0 4px 16px rgba(28,25,23,0.10);
  --shadow-lg: 0 12px 40px rgba(28,25,23,0.12);
  --transition: 0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px;   overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.mono { font-family: var(--font-mono); }
.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5rem 0; }
.section-lg { padding: 7rem 0; }
.section-sm { padding: 3rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-white {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.825rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img { height: 36px; width: auto; }

.nav-logo-text {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-dark); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
}

/* ============================================================
   HERO — E-editorial-light
   ============================================================ */
.hero-editorial {
  background: var(--secondary);
  padding: 5rem 0 0;
  overflow: hidden;
}

.hero-editorial .container { position: relative; }

.hero-content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.hero-text { max-width: 780px; }

.hero-text .label { margin-bottom: 1.5rem; }

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-item .mono {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
}

.hero-meta-item span:last-child {
  font-size: 0.8rem;
  color: var(--text-light);
}

.hero-image-band {
  width: 100%;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.hero-image-band img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   STATS BAR — A-bar
   ============================================================ */
.stats-bar {
  background: var(--text-dark);
  padding: 0;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.stat-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1;
}

.stat-desc {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.4;
}

/* ============================================================
   FEATURES — C-alternating
   ============================================================ */
.features-section { padding: 6rem 0; }

.features-section .section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 5rem;
}

.features-section .section-header .label { margin-bottom: 1rem; }
.features-section .section-header h2 { margin-bottom: 1rem; }
.features-section .section-header p { color: var(--text-mid); font-size: 1.05rem; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--border);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.feature-row:last-child { border-bottom: 1px solid var(--border); }

.feature-row.reversed .feature-image { order: 2; }
.feature-row.reversed .feature-text { order: 1; }

.feature-image {
  overflow: hidden;
  background: var(--cream-dark);
  min-height: 360px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feature-row:hover .feature-image img { transform: scale(1.03); }

.feature-text {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.feature-text h3 { margin-bottom: 0.75rem; }
.feature-text .one-liner {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.feature-text p { color: var(--text-mid); line-height: 1.75; }

/* ============================================================
   INTEGRATION SECTION
   ============================================================ */
.integrations-section {
  background: var(--secondary);
  padding: 4rem 0;
  text-align: center;
}

.integrations-section .label { margin-bottom: 1.5rem; }
.integrations-section h3 { margin-bottom: 2.5rem; color: var(--text-mid); font-size: 1rem; font-weight: 500; }

.integration-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.integration-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  min-width: 140px;
  height: 72px;
  transition: all var(--transition);
}

.integration-badge:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.integration-badge img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--accent);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ============================================================
   FOOTER — A-4col
   ============================================================ */
.site-footer {
  background: var(--text-dark);
  color: rgba(245,240,232,0.7);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .nav-logo { margin-bottom: 1.25rem; }
.footer-brand .nav-logo-text { color: var(--secondary); }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.6);
  margin-bottom: 1.5rem;
}

.footer-col h5 {
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--secondary); }

.footer-contact-info { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-info p {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.6);
  margin: 0;
}
.footer-contact-info a { color: rgba(245,240,232,0.6); }
.footer-contact-info a:hover { color: var(--secondary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.4);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.4);
}
.footer-bottom-links a:hover { color: rgba(245,240,232,0.8); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--secondary);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.page-hero .label { margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 600px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { padding: 6rem 0; }
.about-story .grid-2 { align-items: start; }
.about-story-text h2 { margin-bottom: 1.5rem; }
.about-story-text p { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 1.25rem; line-height: 1.8; }

.about-values { background: var(--secondary); padding: 5rem 0; }
.about-values .label { margin-bottom: 1rem; }
.about-values h2 { margin-bottom: 3rem; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.value-card h4 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.value-card p { font-size: 0.9rem; color: var(--text-mid); margin: 0; }

.about-mission {
  padding: 6rem 0;
  text-align: center;
}

.mission-statement {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto 2rem;
  letter-spacing: -0.01em;
}

.mission-accent {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-section { padding: 5rem 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.team-card {
  background: var(--white);
}

.team-card-photo {
  overflow: hidden;
  background: var(--cream-dark);
  aspect-ratio: 3/4;
  margin-bottom: 1.25rem;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}
.team-card:hover .team-card-photo img { transform: scale(1.04); }

.team-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: block;
}
.team-card p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--text-mid); margin-bottom: 2.5rem; font-size: 1.05rem; }

.contact-detail { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail-item { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-detail-item .label { color: var(--text-light); }
.contact-detail-item p, .contact-detail-item a {
  font-size: 1rem;
  color: var(--text-dark);
}
.contact-detail-item a:hover { color: var(--accent); }

.contact-form { background: var(--secondary); padding: 2.5rem; border-radius: var(--radius-lg); }
.contact-form h3 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   BLOG INDEX — C-magazine
   ============================================================ */
.blog-section { padding: 5rem 0; }

.blog-magazine-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-bottom: 4rem; }

.blog-featured-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: box-shadow var(--transition);
}
.blog-featured-card:hover { box-shadow: var(--shadow-lg); color: var(--text-dark); }

.blog-featured-card .card-image {
  overflow: hidden;
  height: 320px;
  background: var(--cream-dark);
}
.blog-featured-card .card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-featured-card:hover .card-image img { transform: scale(1.04); }

.blog-featured-card .card-body { padding: 2rem; flex: 1; }
.blog-featured-card .card-meta {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 0.75rem;
}
.blog-featured-card .card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.blog-featured-card .card-date {
  font-size: 0.8rem;
  color: var(--text-light);
}
.blog-featured-card h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.blog-featured-card p { color: var(--text-mid); font-size: 0.95rem; }

.blog-sidebar-stack { display: flex; flex-direction: column; gap: 1.5rem; }

.blog-card-small {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: box-shadow var(--transition);
  flex: 1;
}
.blog-card-small:hover { box-shadow: var(--shadow-md); color: var(--text-dark); }

.blog-card-small .card-image {
  height: 140px;
  background: var(--cream-dark);
  overflow: hidden;
}
.blog-card-small .card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card-small:hover .card-image img { transform: scale(1.04); }

.blog-card-small .card-body { padding: 1.25rem; flex: 1; }
.blog-card-small .card-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; }
.blog-card-small .card-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.blog-card-small .card-date { font-size: 0.75rem; color: var(--text-light); }
.blog-card-small h3 { font-size: 0.95rem; line-height: 1.4; }

.blog-grid-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card-medium {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card-medium:hover { box-shadow: var(--shadow-md); color: var(--text-dark); }

.blog-card-medium .card-image {
  height: 200px;
  background: var(--cream-dark);
  overflow: hidden;
}
.blog-card-medium .card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card-medium:hover .card-image img { transform: scale(1.04); }

.blog-card-medium .card-body { padding: 1.5rem; flex: 1; }
.blog-card-medium .card-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.blog-card-medium .card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent);
}
.blog-card-medium .card-date { font-size: 0.8rem; color: var(--text-light); }
.blog-card-medium h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 0.5rem; }
.blog-card-medium p { font-size: 0.875rem; color: var(--text-mid); }

/* ============================================================
   BLOG ARTICLE PAGE
   ============================================================ */
.article-header {
  background: var(--secondary);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.article-date { font-size: 0.875rem; color: var(--text-light); }

.article-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
  max-width: var(--max-w-narrow);
}

.article-header .excerpt {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: var(--max-w-narrow);
  line-height: 1.7;
}

.article-body-wrap {
  padding: 4rem 0;
}

.article-body {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  padding: 4rem 0;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.legal-content h2 { margin: 2.5rem 0 1rem; font-size: 1.3rem; }
.legal-content h3 { margin: 2rem 0 0.75rem; font-size: 1.1rem; }
.legal-content p { color: var(--text-mid); margin-bottom: 1rem; line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; color: var(--text-mid); }
.legal-content ul li { margin-bottom: 0.5rem; line-height: 1.7; }

.legal-last-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--secondary);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 6rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h2 { margin-bottom: 1rem; }
.error-page p { color: var(--text-mid); margin-bottom: 2.5rem; max-width: 440px; }

/* ============================================================
   COOKIE BANNER — A-generic
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--text-dark);
  border-top: 3px solid var(--accent);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-banner.hidden { transform: translateY(100%); display: none; }

.cookie-text {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.85);
  max-width: 640px;
  line-height: 1.5;
  flex: 1;
}

.cookie-text a { color: var(--secondary); text-decoration: underline; }

.cookie-actions { display: flex; gap: 0.75rem; align-items: center; flex-shrink: 0; }

.btn-cookie-accept {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-cookie-accept:hover { background: var(--accent-hover); }

.btn-cookie-decline {
  background: transparent;
  color: rgba(245,240,232,0.6);
  border: 1px solid rgba(245,240,232,0.3);
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-cookie-decline:hover { color: rgba(245,240,232,0.9); border-color: rgba(245,240,232,0.6); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .feature-text { padding: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
    z-index: 999;
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero-editorial { padding: 3rem 0 0; }
  .hero-headline { font-size: 2.2rem; }
  .hero-image-band img { height: 260px; }

  .stats-bar-inner { grid-template-columns: 1fr 1fr; }

  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reversed .feature-image { order: 0; }
  .feature-row.reversed .feature-text { order: 1; }
  .feature-image { min-height: 240px; }
  .feature-text { padding: 2.5rem 1.5rem; }

  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .blog-magazine-layout { grid-template-columns: 1fr; }
  .blog-grid-secondary { grid-template-columns: 1fr; }
  .blog-sidebar-stack { flex-direction: row; overflow-x: auto; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .integration-badges { gap: 1rem; }
  .integration-badge { min-width: 120px; }

  .cookie-banner { flex-direction: column; align-items: flex-start; }

  .section { padding: 3rem 0; }
  .section-lg { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .stats-bar-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .team-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .error-code { font-size: 4rem; }
}
