:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg-page: #f9f9fb;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f3f4f8;
  --bg-surface-elevated: #ffffff;
  
  --pastel-lavender: #f1edfb;
  --pastel-blue: #ebf3fc;
  --pastel-mint: #ebf7f2;
  --pastel-peach: #fcf1eb;
  --pastel-sand: #f8f6f0;

  --color-text-main: #171d2b;
  --color-text-muted: #4e586e;
  --color-text-light: #737f98;
  --color-border: #e4e7ef;
  --color-border-subtle: #edf0f6;
  
  --color-brand-primary: #3b49df;
  --color-brand-primary-hover: #2d38be;
  --color-brand-accent: #0d8a7c;
  --color-brand-dark: #121624;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-micro: 0 2px 6px -1px rgba(23, 29, 43, 0.04), 0 1px 3px 0 rgba(23, 29, 43, 0.02);
  --shadow-card: 0 6px 20px -3px rgba(23, 29, 43, 0.05), 0 2px 6px -1px rgba(23, 29, 43, 0.02);
  --shadow-elevated: 0 16px 36px -6px rgba(23, 29, 43, 0.08), 0 6px 14px -3px rgba(23, 29, 43, 0.03);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  --max-width-content: 1180px;
  --header-height: 64px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-brand-primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #ffffff;
}

:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Base Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.main-content {
  flex: 1 0 auto;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  margin-bottom: var(--space-3);
}

p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  font-size: 1.025rem;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.text-break {
  overflow-wrap: anywhere;
}

/* Badge & Tag */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: var(--pastel-blue);
  color: #1f3bb3;
  width: fit-content;
}

.badge-lavender { background: var(--pastel-lavender); color: #5833a2; }
.badge-mint { background: var(--pastel-mint); color: #0a6659; }
.badge-peach { background: var(--pastel-peach); color: #a3481f; }
.badge-sand { background: var(--pastel-sand); color: #645a33; }
.badge-blue { background: var(--pastel-blue); color: #1f3bb3; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
}

.tag-pill {
  font-size: 0.8rem;
  font-weight: 500;
  background-color: var(--bg-surface-subtle);
  color: var(--color-text-muted);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease-in-out;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(59, 73, 223, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-brand-primary-hover);
  box-shadow: 0 4px 14px rgba(59, 73, 223, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--color-text-main);
  border-color: var(--color-border);
  box-shadow: var(--shadow-micro);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-subtle);
  border-color: #d3d7e4;
  transform: translateY(-1px);
}

.btn-compact {
  padding: 7px 16px;
  font-size: 0.88rem;
}

/* Site Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 1000;
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-brand-dark);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3b49df 0%, #6d28d9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(59, 73, 223, 0.25);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-brand-primary);
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--color-text-main);
  align-items: center;
  justify-content: center;
}

.mobile-menu-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

.mobile-menu-drawer[data-state="open"] {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.mobile-nav-list a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-subtle);
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  background-color: var(--pastel-blue);
  color: var(--color-brand-primary);
}

@media (max-width: 900px) {
  .nav-desktop, .header-cta-wrap {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
}

/* Hero Section */
.hero-section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
  background: radial-gradient(circle at 10% 20%, rgba(235, 243, 252, 0.7) 0%, rgba(249, 249, 251, 0) 60%),
              radial-gradient(circle at 90% 80%, rgba(241, 237, 251, 0.6) 0%, rgba(249, 249, 251, 0) 50%);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: var(--space-10);
}

.hero-text-col {
  min-width: 0;
}

.hero-visual-col {
  min-width: 0;
}

.hero-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.hero-visual-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.hero-actions-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* Horizontal Split Card Style */
.editorial-feed {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.card-h-split {
  display: grid;
  grid-template-columns: 42% 58%;
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-h-split:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
  border-color: #d1d6e5;
}

.card-media-col {
  background-color: var(--bg-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.card-media-col img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-h-split:hover .card-media-col img {
  transform: scale(1.03);
}

.card-content-col {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.card-content-col h2,
.card-content-col h3 {
  margin-bottom: var(--space-3);
}

.card-content-col p {
  margin-bottom: var(--space-4);
  font-size: 0.98rem;
}

.card-footer-action {
  margin-top: auto;
}

/* Specific Real Image Class Selectors with Descriptive Names */
.img-workstation-dashboard {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.img-workplace-collaboration {
  aspect-ratio: 4 / 3;
  object-position: center 30%;
}

.img-creative-studio-workspace {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.img-research-literature-analysis {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.img-everyday-organization-planning {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.img-audit-metrics-evaluation {
  aspect-ratio: 4 / 3;
  object-position: center 20%;
}

.img-enterprise-meeting-workflow {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.img-generative-design-studio {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.img-academic-literature-synthesis {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.img-personal-daily-planner {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.img-software-audit-evaluation {
  aspect-ratio: 16 / 10;
  object-position: center;
}

/* Secondary Editorial Sections */
.section-wrapper {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section-wrapper-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-12);
}

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

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-micro);
  display: flex;
  flex-direction: column;
}

.feature-box-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-5);
  background: var(--bg-surface-subtle);
}

.feature-box-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Comparison Table */
.editorial-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-micro);
  margin: var(--space-8) 0;
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.editorial-table th {
  background-color: var(--bg-surface-subtle);
  padding: var(--space-4) var(--space-5);
  color: var(--color-text-main);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}

.editorial-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
}

.editorial-table tr:last-child td {
  border-bottom: none;
}

/* Sub-page Specific Styles */
.subpage-lead-hero {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--color-border);
}

.editorial-article-body {
  max-width: 820px;
  margin: 0 auto;
}

.article-section {
  margin-bottom: var(--space-12);
}

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

.article-inline-media {
  margin: var(--space-6) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-micro);
}

.article-inline-media img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.callout-box {
  background-color: var(--pastel-blue);
  border-left: 4px solid var(--color-brand-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
}

.callout-box p:last-child {
  margin-bottom: 0;
}

.callout-box-title {
  font-weight: 700;
  color: var(--color-brand-dark);
  margin-bottom: var(--space-2);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-10);
  align-items: start;
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--color-text-main);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-brand-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 73, 223, 0.15);
}

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

.form-error {
  color: #dc2626;
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: #dc2626;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success-alert {
  display: none;
  background-color: var(--pastel-mint);
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  font-weight: 500;
}

/* Static Location Card */
.contact-info-panel {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-micro);
}

.info-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.info-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--pastel-blue);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Site Footer */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand-col {
  padding-right: var(--space-4);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-brand-dark);
  margin-bottom: var(--space-3);
}

.footer-domain-badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-brand-primary);
  margin-bottom: var(--space-4);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.footer-domain-badge:hover {
  color: var(--color-brand-primary-hover);
}

.footer-meta-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

.footer-nav-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-main);
  margin-bottom: var(--space-4);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link-list a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.footer-link-list a:hover {
  color: var(--color-brand-primary);
}

.footer-cookie-trigger {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
  text-align: left;
  transition: color 0.15s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-cookie-trigger:hover {
  color: var(--color-brand-primary);
  text-decoration: underline;
}

.footer-bottom-bar {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ========================================================
   Cookie Banner & Granular Cookie Management Section
   ======================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 660px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 24px 52px -12px rgba(18, 22, 36, 0.22), 0 8px 24px -4px rgba(18, 22, 36, 0.1);
  z-index: 99999;
  display: none;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  animation: cookieFadeSlide 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieFadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner[data-visible="true"] {
  display: block;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.cookie-banner-title {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-icon {
  color: var(--color-brand-primary);
  flex-shrink: 0;
}

.cookie-close-btn {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.cookie-close-btn:hover {
  color: var(--color-text-main);
  background-color: var(--bg-surface-subtle);
}

.cookie-banner-copy {
  font-size: 0.91rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.cookie-policy-link {
  color: var(--color-brand-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.cookie-policy-link:hover {
  color: var(--color-brand-primary-hover);
}

.cookie-btn-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.cookie-prefs-panel {
  display: none;
  margin-top: var(--space-5);
  padding: var(--space-5);
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  animation: panelSlideDown 0.2s ease-out;
}

@keyframes panelSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-prefs-panel.is-open {
  display: block;
}

.cookie-pref-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.cookie-pref-toggle:last-of-type {
  border-bottom: none;
}

.cookie-pref-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.cookie-pref-text label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--color-text-main);
}

.cookie-pref-desc {
  font-size: 0.81rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.45;
}

.cookie-badge-status {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background-color: #dcfce7;
  color: #15803d;
}

/* Custom Accessible Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s;
  border-radius: 24px;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--color-brand-primary);
}

.toggle-switch input:focus-visible + .toggle-slider {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.65;
  cursor: not-allowed;
  background-color: #94a3b8;
}

.cookie-prefs-actions {
  margin-top: var(--space-4);
  display: flex;
  justify-content: flex-end;
}

/* On-Page Cookie Section / Manager Component (used in cookie-policy.html) */
.cookie-manager-card {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  margin: var(--space-8) 0;
}

.cookie-status-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  margin: var(--space-5) 0;
  font-size: 0.92rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
}

.status-pill-active {
  background-color: #dcfce7;
  color: #166534;
}

.status-pill-essential {
  background-color: #e0e7ff;
  color: #3730a3;
}

.status-pill-neutral {
  background-color: #f1f5f9;
  color: #475569;
}

.cookie-manager-controls {
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: var(--space-2) 0;
  margin: var(--space-5) 0;
}

.cookie-manager-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-4);
}

.cookie-save-notify {
  display: none;
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background-color: var(--pastel-mint);
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .card-h-split {
    grid-template-columns: 1fr;
  }
  .card-media-col {
    min-height: 220px;
  }
  .grid-3-col {
    grid-template-columns: 1fr;
  }
  .grid-2-col {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: var(--space-5);
  }
  .cookie-manager-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-manager-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-actions-wrap {
    flex-direction: column;
  }
  .hero-actions-wrap .btn {
    width: 100%;
  }
  .cookie-btn-cluster {
    flex-direction: column;
  }
  .cookie-btn-cluster .btn {
    width: 100%;
  }
}