:root {
  --color-bg: #0f1117;
  --color-bg-2: #161b27;
  --color-bg-3: #1e2535;
  --color-surface: #1a2030;
  --color-surface-2: #222b3d;
  --color-border: rgba(255,255,255,0.08);
  --color-border-light: rgba(255,255,255,0.14);
  --color-primary: #4f8ef7;
  --color-primary-dark: #3a6fd8;
  --color-primary-glow: rgba(79,142,247,0.25);
  --color-accent: #f0a500;
  --color-accent-glow: rgba(240,165,0,0.2);
  --color-text: #e8eaf0;
  --color-text-muted: #8a93a8;
  --color-text-dim: #5a6278;
  --color-heading: #f0f2f8;
  --color-iso-a: #4f8ef7;
  --color-iso-b: #2d5bbf;
  --color-iso-c: #f0a500;
  --color-iso-d: rgba(79,142,247,0.15);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.6), 0 4px 8px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.7), 0 8px 16px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-primary: 0 4px 20px rgba(79,142,247,0.3), 0 2px 6px rgba(79,142,247,0.2);
  --shadow-accent: 0 4px 20px rgba(240,165,0,0.25), 0 2px 6px rgba(240,165,0,0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

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

  --font-heading: 'Newsreader', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

.body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--color-accent); }


.notification-banner {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  padding: var(--space-3) var(--space-5);
  position: relative;
  z-index: 200;
}

.notification-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.notification-banner__icon {
  font-size: 14px;
  opacity: 0.9;
  flex-shrink: 0;
}

.notification-banner__text {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  flex: 1;
  line-height: 1.4;
}

.notification-banner__close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.notification-banner__close:hover { background: rgba(255,255,255,0.3); }


.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav--transparent {
  background: transparent;
}

.nav--solid {
  background: rgba(15,17,23,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img { width: 32px; height: 32px; }

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-1);
  margin-left: auto;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--color-text);
  background: rgba(255,255,255,0.06);
}

.nav__link--active {
  color: var(--color-primary);
  background: rgba(79,142,247,0.1);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  margin-left: auto;
}

.nav__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: linear-gradient(135deg, var(--color-bg-2) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu--open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.mobile-menu__close:hover { background: rgba(255,255,255,0.2); }

.mobile-menu__nav { text-align: center; }

.mobile-menu__list { list-style: none; }

.mobile-menu__link {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: var(--space-4) var(--space-5);
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-menu__link:hover {
  color: var(--color-accent);
  transform: translateX(8px);
}


.iso-shape {
  position: absolute;
  pointer-events: none;
}

.iso-shape--a {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--color-primary), transparent);
  transform: rotate(45deg) skewX(-15deg) skewY(-15deg);
  opacity: 0.12;
  top: 15%;
  right: 8%;
  border-radius: var(--radius-sm);
}

.iso-shape--b {
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  transform: rotate(30deg) skewX(-20deg);
  opacity: 0.1;
  top: 40%;
  right: 15%;
  border-radius: var(--radius-sm);
}

.iso-shape--c {
  width: 200px;
  height: 200px;
  border: 2px solid var(--color-primary);
  transform: rotate(45deg) skewX(-10deg) skewY(-10deg);
  opacity: 0.08;
  bottom: 20%;
  left: 5%;
  border-radius: var(--radius-md);
}

.iso-shape--d {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  transform: rotate(45deg);
  opacity: 0.15;
  top: 60%;
  left: 12%;
  border-radius: var(--radius-sm);
}

.iso-shape--e {
  width: 150px;
  height: 150px;
  border: 1px solid var(--color-accent);
  transform: rotate(30deg) skewY(-15deg);
  opacity: 0.07;
  top: 25%;
  left: 3%;
  border-radius: var(--radius-md);
}

.iso-shape--f {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-accent), transparent);
  transform: rotate(45deg) skewX(-15deg);
  opacity: 0.1;
  top: 10%;
  left: 5%;
  border-radius: var(--radius-sm);
}

.iso-shape--g {
  width: 70px;
  height: 70px;
  background: var(--color-primary);
  transform: rotate(30deg) skewX(-20deg) skewY(-10deg);
  opacity: 0.12;
  bottom: 30%;
  right: 8%;
  border-radius: var(--radius-sm);
}

.iso-shape--h {
  width: 180px;
  height: 180px;
  border: 2px solid var(--color-primary);
  transform: rotate(45deg) skewX(-10deg);
  opacity: 0.06;
  top: -40px;
  right: 10%;
  border-radius: var(--radius-md);
}

.iso-mini {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.iso-mini--a {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  transform: rotate(45deg) skewX(-15deg);
  opacity: 0.6;
}

.iso-mini--b {
  background: linear-gradient(135deg, var(--color-accent), #c87800);
  transform: rotate(30deg) skewY(-15deg);
  opacity: 0.5;
}

.iso-mini--c {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  transform: rotate(45deg);
  opacity: 0.5;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79,142,247,0.4), 0 4px 10px rgba(79,142,247,0.25);
  color: #fff;
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  color: var(--color-heading);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn--outline:hover {
  background: rgba(79,142,247,0.1);
  color: var(--color-primary);
  transform: translateY(-2px);
}


.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(79,142,247,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(240,165,0,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-2) 100%);
  animation: heroGradientShift 12s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
  0% { opacity: 1; }
  50% {
    background:
      radial-gradient(ellipse 80% 60% at 60% 40%, rgba(79,142,247,0.16) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 30% 60%, rgba(240,165,0,0.08) 0%, transparent 60%),
      linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-2) 100%);
  }
  100% { opacity: 1; }
}

.hero__iso-shapes { position: absolute; inset: 0; pointer-events: none; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px var(--space-6) var(--space-9);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  margin-bottom: var(--space-5);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-heading);
  margin-bottom: var(--space-5);
}

.hero__subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero__visual { position: relative; }

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-light);
}

.hero__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero__image-badge {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.hero__image-badge i { color: var(--color-accent); }

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


.bento {
  padding: var(--space-10) 0;
  background: var(--color-bg-2);
  position: relative;
}

.bento__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.bento__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.bento__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.bento__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: var(--space-4);
}

.bento__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-md);
  position: relative;
}

.bento__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-light);
}

.bento__card--featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.bento__card--wide {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
  position: relative;
}

.bento__card-iso {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
}

.bento__card-img {
  width: 100%;
  object-fit: cover;
}

.bento__card--featured .bento__card-img {
  height: 220px;
}

.bento__card-img--cover {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.bento__card-body {
  padding: var(--space-5);
}

.bento__card-body--overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(10,14,22,0.95) 0%, rgba(10,14,22,0.6) 60%, transparent 100%);
  padding: var(--space-6) var(--space-5) var(--space-5);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento__card-icon-wrap {
  padding: var(--space-5) var(--space-5) 0;
}

.bento__card-icon {
  font-size: 28px;
  color: var(--color-primary);
}

.bento__card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: var(--space-3);
}

.bento__card-tag--light {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.bento__card-title {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.bento__card-title--light { color: #fff; }

.bento__card-text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.bento__card-text--light { color: rgba(255,255,255,0.75); }

.bento__card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap 0.2s ease, color 0.2s ease;
}

.bento__card-link:hover { gap: var(--space-3); color: var(--color-accent); }

.bento__card-link--light { color: rgba(255,255,255,0.85); }
.bento__card-link--light:hover { color: var(--color-accent); }


.feature-split {
  padding: var(--space-10) 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.feature-split__iso-bg { position: absolute; inset: 0; pointer-events: none; }

.feature-split__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--space-9);
  align-items: center;
  position: relative;
  z-index: 2;
}

.feature-split__image-stack {
  position: relative;
  height: 480px;
}

.feature-split__img {
  position: absolute;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-light);
}

.feature-split__img--back {
  width: 75%;
  height: 70%;
  top: 0;
  left: 0;
}

.feature-split__img--front {
  width: 65%;
  height: 65%;
  bottom: 0;
  right: 0;
  box-shadow: var(--shadow-xl), 0 0 0 4px var(--color-bg);
}

.feature-split__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.feature-split__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.feature-split__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}


.about-preview {
  padding: var(--space-10) 0;
  background: var(--color-bg-2);
}

.about-preview__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: var(--space-8);
  align-items: center;
}

.about-preview__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.about-preview__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.about-preview__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.about-preview__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-preview__card-iso {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
}

.about-preview__card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-preview__card-caption {
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.about-preview__card-caption i { color: var(--color-primary); }


.pillars {
  padding: var(--space-10) 0;
  background: var(--color-bg);
}

.pillars__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.pillars__header {
  margin-bottom: var(--space-8);
}

.pillars__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

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

.pillars__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.pillars__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-light);
}

.pillars__item-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
}

.pillars__item-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.pillars__item-text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}


.posts-preview {
  padding: var(--space-10) 0;
  background: var(--color-bg-2);
}

.posts-preview__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.posts-preview__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-7);
  gap: var(--space-4);
}

.posts-preview__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.posts-preview__see-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap 0.2s ease;
  white-space: nowrap;
}

.posts-preview__see-all:hover { gap: var(--space-3); color: var(--color-accent); }

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

.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-md);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-light);
}

.post-card__image-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card__image { transform: scale(1.04); }

.post-card__body { padding: var(--space-5); }

.post-card__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.post-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.35;
  margin-bottom: var(--space-3);
}

.post-card__excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.post-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap 0.2s ease, color 0.2s ease;
}

.post-card__link:hover { gap: var(--space-3); color: var(--color-accent); }


.badges {
  padding: var(--space-10) 0;
  background: var(--color-bg);
}

.badges__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.badges__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.badges__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.badges__subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
}

.badges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.badges__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.badges__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-light);
}

.badges__item-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(79,142,247,0.15), rgba(79,142,247,0.05));
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-primary);
  margin: 0 auto var(--space-4);
}

.badges__item-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}

.badges__item-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
}


.footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: var(--space-9) 0 0;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.footer__iso-shapes { position: absolute; inset: 0; pointer-events: none; }

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 2;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.footer__logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  margin-bottom: var(--space-4);
}

.footer__logo { width: 28px; height: 28px; }

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
}

.footer__tagline {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  max-width: 300px;
}

.footer__address {
  font-style: normal;
  font-size: 13px;
  color: var(--color-text-dim);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  line-height: 1.5;
}

.footer__address i { color: var(--color-primary); margin-top: 2px; flex-shrink: 0; }

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--color-text-dim);
  text-decoration: none;
  margin-bottom: var(--space-2);
  transition: color 0.2s ease;
}

.footer__contact-link:hover { color: var(--color-primary); }
.footer__contact-link i { color: var(--color-primary); width: 14px; }

.footer__nav-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: var(--space-4);
}

.footer__nav-list { list-style: none; }

.footer__nav-link {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-1) 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__nav-link:hover { color: var(--color-primary); padding-left: var(--space-2); }

.footer__bottom {
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: var(--color-text-dim);
}

.footer__legal-note {
  font-size: 12px;
  color: var(--color-text-dim);
}


.page-hero {
  padding: 140px var(--space-6) var(--space-9);
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(79,142,247,0.08) 0%, transparent 70%);
}

.page-hero__iso { position: absolute; inset: 0; pointer-events: none; }

.page-hero__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.page-hero__subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.page-hero--legal .page-hero__subtitle {
  font-size: 14px;
  color: var(--color-text-dim);
}


.inner-page {
  padding: var(--space-9) 0 var(--space-10);
  background: var(--color-bg);
}

.inner-page__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.inner-page__content {
  max-width: 760px;
}

.inner-section { margin-bottom: var(--space-8); }

.inner-section__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.inner-section p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: var(--space-4);
}

.inner-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(79,142,247,0.3);
  transition: text-decoration-color 0.2s ease;
}

.inner-link:hover { text-decoration-color: var(--color-primary); }

.inner-callout {
  background: linear-gradient(135deg, rgba(79,142,247,0.08), rgba(79,142,247,0.03));
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
}

.inner-callout__iso {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  opacity: 0.5;
}

.inner-callout__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}

.inner-callout__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
}


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

.approach-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.approach-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.approach-card__icon {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.approach-card__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}

.approach-card__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}


.browse-page {
  padding: var(--space-8) 0 var(--space-10);
  background: var(--color-bg);
}

.browse-page__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.topic-section {
  margin-bottom: var(--space-9);
  padding-bottom: var(--space-9);
  border-bottom: 1px solid var(--color-border);
}

.topic-section:last-child { border-bottom: none; }

.topic-section__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.topic-section__icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(79,142,247,0.15), rgba(79,142,247,0.05));
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.topic-section__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.topic-section__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.topic-section__articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.topic-article {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.topic-article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-light);
}

.topic-article__meta { margin-bottom: var(--space-3); }

.topic-article__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(79,142,247,0.1);
  padding: 2px 10px;
  border-radius: 100px;
}

.topic-article__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.35;
  margin-bottom: var(--space-3);
}

.topic-article__excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.topic-article__footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
}

.topic-article__read-time {
  font-size: 12px;
  color: var(--color-text-dim);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}


.contact-page {
  padding: var(--space-8) 0 var(--space-10);
  background: var(--color-bg);
}

.contact-page__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  align-items: start;
}

.contact-info-block__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.contact-info-block__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.contact-details {
  list-style: none;
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-details__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-size: 14px;
}

.contact-details__icon {
  width: 40px;
  height: 40px;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-details__item strong {
  display: block;
  color: var(--color-heading);
  margin-bottom: 2px;
  font-weight: 600;
}

.contact-details__item address,
.contact-details__item a {
  font-style: normal;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-details__item a:hover { color: var(--color-primary); }

.contact-languages {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-top: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.contact-languages__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.contact-languages__title i { color: var(--color-primary); }

.contact-languages__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.contact-languages__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.contact-languages__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  box-shadow: var(--shadow-lg);
}

.contact-form-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.contact-form__row {
  margin-bottom: var(--space-4);
}

.contact-form__row--footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.contact-form__field { display: flex; flex-direction: column; }

.contact-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.contact-form__required { color: var(--color-primary); }

.contact-form__input,
.contact-form__textarea {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: vertical;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder { color: var(--color-text-dim); }

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.15);
}

.contact-form__privacy-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.contact-form__checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.contact-form__privacy-link { color: var(--color-primary); }

.contact-map { margin-top: var(--space-8); }

.contact-map__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-4);
}

.contact-map__frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}


.thanks-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: var(--space-10) 0;
  background: var(--color-bg);
}

.thanks-page__container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
}

.thanks-page__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-9) var(--space-7);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.thanks-page__icon-wrap {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(79,142,247,0.15), rgba(79,142,247,0.05));
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}

.thanks-page__icon {
  font-size: 36px;
  color: var(--color-primary);
}

.thanks-page__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.thanks-page__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-3);
}

.thanks-page__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}


.legal-page {
  padding: var(--space-8) 0 var(--space-10);
  background: var(--color-bg);
}

.legal-page__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.legal-page__intro {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-7);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.legal-page__intro a { color: var(--color-primary); }

.legal-section {
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child { border-bottom: none; }

.legal-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.legal-section p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: var(--space-3);
}

.legal-section--numbered p {
  margin-bottom: var(--space-3);
}

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

.legal-list li {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
  padding-left: var(--space-5);
  position: relative;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.7;
}

.legal-list strong { color: var(--color-text); }

.cookie-table-wrap {
  overflow-x: auto;
  margin: var(--space-5) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cookie-table th {
  background: var(--color-surface-2);
  color: var(--color-text);
  font-weight: 600;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.cookie-table td {
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.6;
}

.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.cookie-table code {
  background: rgba(79,142,247,0.1);
  color: var(--color-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}


.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,8,15,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-overlay--visible { opacity: 1; }

.cookie-modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.cookie-overlay--visible .cookie-modal { transform: translateY(0); }

.cookie-modal__icon {
  width: 48px;
  height: 48px;
  background: rgba(79,142,247,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.cookie-modal__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}

.cookie-modal__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.cookie-modal__desc a { color: var(--color-primary); }

.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.cookie-category {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.cookie-category__info {}

.cookie-category__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.cookie-category__desc {
  font-size: 12px;
  color: var(--color-text-dim);
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border-light);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--color-text-dim);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cookie-toggle__input:checked + .cookie-toggle__slider { background: rgba(79,142,247,0.2); border-color: var(--color-primary); }
.cookie-toggle__input:checked + .cookie-toggle__slider::before { transform: translateX(20px); background: var(--color-primary); }
.cookie-toggle__input:disabled + .cookie-toggle__slider { opacity: 0.5; cursor: not-allowed; }

.cookie-modal__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cookie-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cookie-btn--accept {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.cookie-btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,142,247,0.35);
}

.cookie-btn--necessary {
  background: var(--color-bg-3);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.cookie-btn--necessary:hover { background: var(--color-surface-2); color: var(--color-text); }

.cookie-btn--save {
  background: rgba(79,142,247,0.1);
  color: var(--color-primary);
  border: 1px solid rgba(79,142,247,0.25);
}

.cookie-btn--save:hover { background: rgba(79,142,247,0.18); }


[data-animate] {
  opacity: 0;
  transform: translateY(24px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}


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

  .bento__card--featured {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .bento__card--wide {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .feature-split__container {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .feature-split__image-stack {
    height: 360px;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-preview__container {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer__brand {
    grid-column: 1 / 3;
  }

  .contact-page__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

@media (max-width: 768px) {
  .nav__list { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content {
    grid-template-columns: 1fr;
    padding-top: 100px;
    gap: var(--space-6);
  }

  .hero__visual { order: -1; }

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

  .bento__card--featured,
  .bento__card--wide {
    grid-column: 1;
    grid-row: auto;
  }

  .bento__card-img--cover {
    position: relative;
    height: 200px;
  }

  .bento__card-body--overlay {
    position: relative;
    background: none;
    min-height: auto;
  }

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

  .posts-preview__grid {
    grid-template-columns: 1fr;
  }

  .posts-preview__header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer__brand { grid-column: 1; }

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

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

  .contact-form__row--footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form__submit { width: 100%; justify-content: center; }

  .topic-section__header {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero__scroll-hint { display: none; }

  .feature-split__image-stack { height: 280px; }

  .cookie-modal { padding: var(--space-5); }
  .cookie-modal__actions { flex-direction: column; }
  .cookie-btn { flex: none; width: 100%; }
}

@media (max-width: 480px) {
  .nav__container { padding: 0 var(--space-4); }
  .hero__content { padding: 90px var(--space-4) var(--space-7); }
  .bento__container,
  .feature-split__container,
  .about-preview__container,
  .pillars__container,
  .posts-preview__container,
  .badges__container,
  .footer__container,
  .inner-page__container,
  .browse-page__container,
  .contact-page__container,
  .legal-page__container,
  .thanks-page__container { padding: 0 var(--space-4); }

  .page-hero { padding: 120px var(--space-4) var(--space-7); }

  .contact-form-card { padding: var(--space-5); }
  .thanks-page__card { padding: var(--space-7) var(--space-5); }
  .notification-banner__text { font-size: 12px; }
}