/* ==========================================================================
   MARKENZA — Core Stylesheet
   Design system: Signal Network — a visual language built around the idea
   of data moving between channels, nodes connecting into a single strategy.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --navy-950: #080c1f;
  --navy-900: #0b1230;
  --navy-800: #121a45;
  --navy-700: #1a2358;
  --blue-500: #2f6fff;
  --blue-400: #5b8cff;
  --blue-100: #e4ecff;
  --violet-500: #7b5cff;
  --violet-400: #9c82ff;
  --violet-100: #ece7ff;
  --white: #ffffff;
  --gray-50: #f5f7fb;
  --gray-100: #eaedf6;
  --gray-200: #dde2f0;
  --gray-300: #c7cede;
  --gray-500: #6b7490;
  --gray-700: #3c425c;
  --ink: #10142b;

  --gradient-primary: linear-gradient(135deg, var(--blue-500) 0%, var(--violet-500) 100%);
  --gradient-dark: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  --gradient-mesh: radial-gradient(circle at 15% 20%, rgba(47, 111, 255, 0.16), transparent 45%),
                   radial-gradient(circle at 85% 0%, rgba(123, 92, 255, 0.18), transparent 40%),
                   radial-gradient(circle at 50% 100%, rgba(47, 111, 255, 0.10), transparent 55%);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --fs-2xs: 0.75rem;
  --fs-xs: 0.875rem;
  --fs-sm: 0.95rem;
  --fs-base: 1.05rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-4xl: 3.5rem;
  --fs-5xl: 4.25rem;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(11, 18, 48, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 18, 48, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 18, 48, 0.16);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.06), 0 20px 50px rgba(47, 111, 255, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--navy-900); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { color: var(--gray-700); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
main { display: block; }
section { padding: 112px 0; }
.section-tight { padding: 72px 0; }
.bg-light { background: var(--gray-50); }
.bg-dark { background: var(--gradient-dark); color: var(--white); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.72); }
.bg-mesh { position: relative; background: var(--white); }
.bg-mesh::before {
  content: ""; position: absolute; inset: 0; background: var(--gradient-mesh); pointer-events: none; z-index: 0;
}
.bg-mesh > .container { position: relative; z-index: 1; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-900); color: var(--white);
  padding: 12px 20px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-500); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gradient-primary); border-radius: 2px; }
.bg-dark .eyebrow { color: var(--violet-400); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: var(--fs-lg); margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-pill); font-weight: 600; font-size: var(--fs-sm);
  border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gradient-primary); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--gray-300); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }
.bg-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.25); }
.bg-dark .btn-ghost:hover { border-color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: var(--fs-xs); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 20, 43, 0.06);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--navy-900); }
.brand .logo-mark { width: 36px; height: 36px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px; border-radius: var(--radius-pill); font-size: var(--fs-sm); font-weight: 500; color: var(--gray-700);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--gray-100); color: var(--navy-900); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--gray-100); border: none; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; position: relative; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.menu-toggle span { margin: 5px 0; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 100px; overflow: hidden; background: var(--gradient-dark); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--gradient-mesh); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero .lede { font-size: var(--fs-lg); color: rgba(255,255,255,0.75); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 76px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 1; }
.stat .stat-num { font-family: var(--font-mono); font-size: var(--fs-2xl); font-weight: 600; color: var(--white); display: flex; align-items: baseline; gap: 2px; }
.stat .stat-label { font-size: var(--fs-xs); color: rgba(255,255,255,0.6); margin-top: 6px; }

/* Page hero (interior pages, shorter) */
.page-hero { padding: 64px 0 72px; background: var(--gradient-dark); color: var(--white); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--gradient-mesh); }
.page-hero .container { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.breadcrumbs { display: flex; gap: 8px; font-size: var(--fs-2xs); font-family: var(--font-mono); color: rgba(255,255,255,0.55); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.08em; }
.breadcrumbs a:hover { color: var(--white); }

/* ---------- Signal divider (signature motif) ---------- */
.signal-divider { display: flex; align-items: center; gap: 10px; padding: 0 0 0; }
.signal-divider svg { width: 100%; height: 28px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card .icon-badge { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: var(--fs-sm); }

.icon-badge {
  width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary);
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--white); }

/* Glass card (glassmorphism, used sparingly on dark sections) */
.glass-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md);
  padding: 32px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.glass-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.09); }
.glass-card h3 { color: var(--white); }
.glass-card p { color: rgba(255,255,255,0.72); }

/* ---------- Process timeline ---------- */
.process-track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; counter-reset: step; position: relative; }
.process-step { position: relative; padding-top: 20px; }
.process-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--blue-500); font-weight: 600; display: block; margin-bottom: 14px;
}
.process-step::after { content: ""; position: absolute; top: 3px; left: 44px; right: -18px; height: 1px; background: var(--gray-200); }
.process-step:last-child::after { display: none; }
.process-step h4 { margin-bottom: 8px; font-size: var(--fs-base); }
.process-step p { font-size: var(--fs-xs); }

/* ---------- Stats bar ---------- */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stats-bar .stat-num { font-family: var(--font-mono); font-size: var(--fs-3xl); font-weight: 600; color: var(--navy-900); }
.stats-bar .stat-label { color: var(--gray-500); font-size: var(--fs-xs); margin-top: 6px; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--white); border-radius: var(--radius-md); padding: 36px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.testimonial-card blockquote { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--navy-900); line-height: 1.4; margin-bottom: 24px; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.avatar-mark { width: 46px; height: 46px; border-radius: 50%; }
.testimonial-person strong { display: block; font-size: var(--fs-sm); }
.testimonial-person span { font-size: var(--fs-xs); color: var(--gray-500); }

/* ---------- FAQ / details accordion ---------- */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); color: var(--navy-900); cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gray-100); position: relative; transition: transform .3s var(--ease), background .3s var(--ease); }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: var(--navy-900); top: 50%; left: 50%; }
.faq-item summary .plus::before { width: 10px; height: 2px; transform: translate(-50%,-50%); }
.faq-item summary .plus::after { width: 2px; height: 10px; transform: translate(-50%,-50%); }
.faq-item[open] summary .plus { background: var(--gradient-primary); transform: rotate(135deg); }
.faq-item[open] summary .plus::before, .faq-item[open] summary .plus::after { background: var(--white); }
.faq-item .faq-body { padding: 0 4px 26px; max-width: 760px; }
.faq-item .faq-body p { font-size: var(--fs-sm); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--navy-900); }
.field input, .field textarea, .field select {
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-200); background: var(--white); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-100); }
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: var(--fs-2xs); color: var(--gray-500); }
.field .error-msg { font-size: var(--fs-2xs); color: #d0473a; display: none; }
.field.has-error input, .field.has-error textarea { border-color: #d0473a; }
.field.has-error .error-msg { display: block; }
.form-success { display: none; background: var(--violet-100); border: 1px solid var(--violet-400); border-radius: var(--radius-sm); padding: 18px 22px; font-size: var(--fs-sm); margin-bottom: 24px; }
.form-success.is-visible { display: block; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-2xs); color: var(--gray-500); margin-bottom: 24px; }
.consent-row input { margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 88px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: var(--fs-sm); max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: var(--fs-sm); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: var(--fs-sm); color: rgba(255,255,255,0.6); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-newsletter form { display: flex; gap: 8px; margin-top: 14px; }
.footer-newsletter input { flex: 1; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); color: var(--white); }
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease); }
.social-row a:hover { background: var(--gradient-primary); }
.social-row svg { width: 16px; height: 16px; stroke: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { font-size: var(--fs-2xs); color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom p { font-size: var(--fs-2xs); color: rgba(255,255,255,0.45); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient-primary); border-radius: var(--radius-lg); padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: var(--white); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.15); }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Utility ---------- */
.tag-pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--blue-100); color: var(--blue-500); font-size: var(--fs-2xs); font-weight: 600; font-family: var(--font-mono); }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.platform-logo { display: flex; align-items: center; justify-content: center; height: 64px; padding: 0 20px; border-radius: var(--radius-sm); background: var(--gray-50); border: 1px solid var(--gray-100); font-family: var(--font-display); font-weight: 600; color: var(--gray-700); font-size: var(--fs-sm); transition: all .2s var(--ease); }
.platform-logo:hover { border-color: var(--blue-100); color: var(--navy-900); box-shadow: var(--shadow-sm); }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); padding: 16px 0; z-index: 10; border-bottom: 1px solid var(--gray-100); margin-bottom: 40px; }
.anchor-nav a { padding: 8px 16px; border-radius: var(--radius-pill); background: var(--gray-50); font-size: var(--fs-2xs); font-weight: 600; color: var(--gray-700); }
.anchor-nav a:hover { background: var(--blue-100); color: var(--blue-500); }

.service-block, .solution-block, .industry-block { padding: 48px 0; border-bottom: 1px solid var(--gray-100); scroll-margin-top: calc(var(--header-h) + 90px); }
.service-block:last-child, .solution-block:last-child, .industry-block:last-child { border-bottom: none; }
.service-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 22px; }
.service-num { font-family: var(--font-mono); color: var(--blue-500); font-weight: 600; font-size: var(--fs-sm); }
.service-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 26px; }
.check-list li { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--gray-700); margin-bottom: 12px; align-items: flex-start; }
.check-list svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; stroke: var(--blue-500); }
.workflow-list { counter-reset: wf; }
.workflow-list li { counter-increment: wf; display: flex; gap: 14px; font-size: var(--fs-sm); color: var(--gray-700); margin-bottom: 14px; }
.workflow-list li::before { content: counter(wf); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gray-100); color: var(--navy-900); font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: 700; display: flex; align-items: center; justify-content: center; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; border-radius: var(--radius-md); padding: 40px 32px; border: 1px solid var(--gray-100); background: var(--white); box-shadow: var(--shadow-sm); }
.price-card.is-featured { background: var(--gradient-dark); color: var(--white); border-color: transparent; box-shadow: var(--shadow-glow); transform: scale(1.03); }
.price-card.is-featured h3, .price-card.is-featured .price-figure { color: var(--white); }
.price-card.is-featured p { color: rgba(255,255,255,0.7); }
.price-card .price-figure { font-family: var(--font-display); font-size: var(--fs-2xl); margin: 14px 0 4px; color: var(--navy-900); }
.price-card .price-figure span { font-size: var(--fs-sm); font-family: var(--font-body); color: var(--gray-500); font-weight: 400; }
.price-card.is-featured .price-figure span { color: rgba(255,255,255,0.6); }
.price-card ul { margin: 26px 0 30px; flex-grow: 1; }
.price-card ul li { display: flex; gap: 10px; font-size: var(--fs-sm); margin-bottom: 13px; }
.price-card ul li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; stroke: var(--blue-500); }
.price-card.is-featured ul li svg { stroke: var(--violet-400); }

.blog-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-100); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .blog-thumb { height: 170px; }
.blog-card .blog-body { padding: 26px; }
.blog-meta { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--gray-500); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-meta .tag-pill { padding: 4px 10px; }
.blog-card h3 { font-size: var(--fs-base); margin-bottom: 10px; }
.blog-card p { font-size: var(--fs-sm); }
.read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: var(--fs-xs); font-weight: 700; color: var(--blue-500); }

.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-100); }
.contact-info-list li { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-info-list .icon-badge { width: 42px; height: 42px; flex-shrink: 0; }
.contact-info-list .icon-badge svg { width: 20px; height: 20px; }
.contact-info-list strong { display: block; margin-bottom: 4px; font-size: var(--fs-sm); }
.contact-info-list span, .contact-info-list a { font-size: var(--fs-sm); color: var(--gray-500); }

.legal-content h2 { margin-top: 48px; margin-bottom: 16px; font-size: var(--fs-xl); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal-content li { margin-bottom: 8px; color: var(--gray-700); font-size: var(--fs-sm); }
.legal-content .updated-badge { margin-bottom: 28px; }
.toc-box { background: var(--gray-50); border-radius: var(--radius-md); padding: 28px 32px; margin-bottom: 44px; }
.toc-box h4 { margin-bottom: 14px; }
.toc-box ol { list-style: decimal; padding-left: 20px; }
.toc-box li { font-size: var(--fs-sm); margin-bottom: 8px; }
.toc-box a { color: var(--blue-500); }

/* Cookie banner + modal */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 620px; margin: 0 auto; z-index: 300;
  background: var(--navy-950); color: var(--white); border-radius: var(--radius-md); padding: 26px 30px;
  box-shadow: var(--shadow-lg); display: none; gap: 18px; flex-direction: column;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { color: rgba(255,255,255,0.72); font-size: var(--fs-sm); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.modal-overlay { position: fixed; inset: 0; background: rgba(8,12,31,0.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 400; padding: 24px; }
.modal-overlay.is-visible { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius-md); max-width: 560px; width: 100%; max-height: 82vh; overflow-y: auto; padding: 36px; position: relative; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--gray-100); border: none; }
.modal-box h3 { margin-bottom: 18px; }
.pref-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.pref-row strong { display: block; font-size: var(--fs-sm); }
.pref-row span { font-size: var(--fs-2xs); color: var(--gray-500); }
.switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--gray-300); border-radius: var(--radius-pill); transition: background .2s; }
.switch .track::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: var(--white); border-radius: 50%; transition: transform .2s; }
.switch input:checked + .track { background: var(--blue-500); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { background: var(--blue-500); opacity: .5; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* Back to top */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-primary); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, transform .3s; z-index: 90; border: none; }
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }
.back-to-top svg { width: 20px; height: 20px; stroke: var(--white); }
