/* ============================================================
   CSS VARIABLES – light theme (default)
============================================================ */
:root {
  /* Core palette */
  --bg:             #FFF8EE;
  --bg-soft:        #FFFCF7;
  --surface:        #FFFFFF;
  --surface-2:      rgba(255,255,255,.92);   /* card surfaces */
  --surface-glass:  rgba(255,255,255,.65);   /* frosted glass */
  --surface-inverse:#241F1A;                 /* always-dark: email card, cookie banner */
  --text:           #241F1A;
  --text-secondary: #6E6258;
  --border:         #E7DCCF;
  --border-soft:    rgba(231,220,207,.45);   /* soft card borders */
  --coral:          #FF6B57;
  --coral-hover:    #E85A48;
  --lime:           #C1EB36;
  --lime-hover:     #ADDA1F;
  --radius:         18px;
  --radius-sm:      10px;
  --radius-xs:      6px;
  --shadow-xs:      0 1px 4px rgba(36,31,26,.06);
  --shadow-sm:      0 2px 10px rgba(36,31,26,.08);
  --shadow-md:      0 6px 28px rgba(36,31,26,.10);
  --shadow-lg:      0 16px 48px rgba(36,31,26,.14);
  --max-width:      1120px;
  --font-body:      'Inter', sans-serif;
  --font-heading:   'Sora', sans-serif;
  --ease:           0.22s ease;
  --ease-spring:    0.28s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Body background halos – overridden in dark mode */
  --halo-coral-t: rgba(255,107,87,.13);
  --halo-lime-t:  rgba(193,235,54,.15);
  --halo-lime-m:  rgba(193,235,54,.09);
  --halo-coral-m: rgba(255,107,87,.07);
  --halo-lime-b:  rgba(193,235,54,.10);
  --halo-coral-b: rgba(255,107,87,.08);

  /* Header backgrounds */
  --header-bg:         rgba(255,248,238,.88);
  --header-bg-solid:   rgba(255,248,238,.96);
  --header-border:     rgba(231,220,207,.55);
}

/* ============================================================
   CSS VARIABLES – dark theme
============================================================ */
[data-theme="dark"] {
  --bg:             #18130F;
  --bg-soft:        #1E1812;
  --surface:        #2A221C;
  --surface-2:      rgba(42,34,28,.92);
  --surface-glass:  rgba(42,34,28,.65);
  --surface-inverse:#2F261F;
  --text:           #FFF8EE;
  --text-secondary: #CDBFB2;
  --border:         rgba(255,248,238,.14);
  --border-soft:    rgba(255,248,238,.08);
  --shadow-xs:      0 1px 4px rgba(0,0,0,.22);
  --shadow-sm:      0 2px 10px rgba(0,0,0,.32);
  --shadow-md:      0 6px 28px rgba(0,0,0,.42);
  --shadow-lg:      0 16px 48px rgba(0,0,0,.52);

  --halo-coral-t: rgba(255,107,87,.09);
  --halo-lime-t:  rgba(193,235,54,.08);
  --halo-lime-m:  rgba(193,235,54,.05);
  --halo-coral-m: rgba(255,107,87,.05);
  --halo-lime-b:  rgba(193,235,54,.06);
  --halo-coral-b: rgba(255,107,87,.05);

  --header-bg:         rgba(24,19,15,.88);
  --header-bg-solid:   rgba(24,19,15,.96);
  --header-border:     rgba(255,248,238,.10);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;

  /* ─── GLOBAL BACKGROUND SYSTEM ───────────────────────────
     Six soft radial halos anchored to page positions.
     Coral at top-left and right-middle; lime at top-right,
     left-middle and bottom corners. Very low opacity so they
     blend as warmth, not colour blocks.
  ──────────────────────────────────────────────────────── */
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 16% 4%,   var(--halo-coral-t) 0%, transparent 38%),
    radial-gradient(ellipse at 84% 3%,   var(--halo-lime-t)  0%, transparent 33%),
    radial-gradient(ellipse at 0%  52%,  var(--halo-lime-m)  0%, transparent 28%),
    radial-gradient(ellipse at 100% 48%, var(--halo-coral-m) 0%, transparent 26%),
    radial-gradient(ellipse at 22% 97%,  var(--halo-lime-b)  0%, transparent 30%),
    radial-gradient(ellipse at 80% 97%,  var(--halo-coral-b) 0%, transparent 28%);
  transition: background-color 0.25s ease, color 0.25s ease;
}

img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
a   { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }

/* ============================================================
   CONTAINER
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); line-height: 1.18; }
h1 { font-size: clamp(1.875rem, 4.5vw, 3.125rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem,   3.5vw, 2.375rem);  font-weight: 700; }
h3 { font-size: clamp(1.0625rem,2vw,   1.3125rem);  font-weight: 700; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  transition:
    background var(--ease),
    border-color var(--ease),
    color var(--ease),
    box-shadow var(--ease),
    transform var(--ease-spring);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  min-height: 46px;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.btn:active { transform: scale(.98) !important; }

.btn-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  box-shadow: 0 2px 10px rgba(255,107,87,.28);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--coral-hover);
  border-color: var(--coral-hover);
  box-shadow: 0 5px 18px rgba(255,107,87,.36);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--text);
  background: rgba(36,31,26,.04);
  transform: translateY(-1px);
}

.btn-lime {
  background: var(--lime);
  color: var(--text);
  border-color: var(--lime);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(193,235,54,.32);
}
.btn-lime:hover,
.btn-lime:focus-visible {
  background: var(--lime-hover);
  border-color: var(--lime-hover);
  box-shadow: 0 5px 18px rgba(193,235,54,.42);
  transform: translateY(-2px);
}

.btn-sm {
  padding: .5rem 1.125rem;
  font-size: .875rem;
  min-height: 38px;
}

/* Inline text button (cookie banner) */
.btn-text {
  background: none;
  border: none;
  color: rgba(255,255,255,.62);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  padding: .25rem .375rem;
  transition: color var(--ease);
  font-family: var(--font-body);
}
.btn-text:hover { color: #fff; }

/* ============================================================
   IMAGE – no-img fallback (only when file missing)
============================================================ */
.no-img {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--surface) !important;
  border: 1px dashed var(--border-soft) !important;
  color: var(--text-secondary);
  font-size: 1.5rem;
  min-height: 180px;
}
.no-img::after { content: '—'; }

/* ============================================================
   SECTION HEADER
============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2  { margin-bottom: .75rem; }
.section-header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible  { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ============================================================
   HEADER
   – glass strip, transparent by default, gains border+shadow on scroll
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 68px;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.header.is-scrolled {
  background: var(--header-bg-solid);
  border-bottom-color: var(--header-border);
  box-shadow: 0 2px 20px rgba(36,31,26,.07);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

/* Logo image (logo-buildbydoing.png) */
.header__brand {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.header__logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  max-width: 200px;
  display: block;
}
.header__logo-text {
  display: none; /* shown via JS onerror fallback */
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  align-items: center;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}
.header__nav a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--ease);
  padding: .25rem 0;
  white-space: nowrap;
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.header__nav a:hover        { color: var(--text); }
.header__nav a:hover::after { transform: scaleX(1); }
.header__nav a:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; border-radius: 3px; }

.header__actions {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}

/* Language toggle */
.btn-lang {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: .8125rem;
  font-weight: 700;
  padding: .3rem .625rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), transform var(--ease-spring);
  min-height: 32px;
  letter-spacing: .05em;
}
.btn-lang:hover,
.btn-lang:focus-visible {
  border-color: var(--text);
  background: rgba(36,31,26,.05);
  transform: scale(1.04);
}
.btn-lang:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

/* Theme toggle */
.theme-toggle {
  background: transparent;
  border: 1.5px solid var(--border-soft);
  color: var(--text);
  font-size: 1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease), background var(--ease), transform var(--ease-spring);
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--border);
  background: rgba(36,31,26,.05);
  transform: scale(1.06);
}
[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .theme-toggle:focus-visible {
  background: rgba(255,248,238,.06);
}
.theme-toggle:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--ease);
}
.hamburger:hover        { background: rgba(36,31,26,.06); }
.hamburger:focus-visible{ outline: 2px solid var(--coral); outline-offset: 2px; border-radius: 8px; }

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   – transparent section: body background halos shine through.
     Dot grid adds depth on the right. Lime glow behind Budi.
============================================================ */
.hero {
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

/* Dot grid – fades toward the left so it frames the image */
.hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(110,98,88,.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 78% 50%, black 0%, transparent 65%);
  mask-image:         radial-gradient(ellipse at 78% 50%, black 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: 3rem;
  align-items: center;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--lime);
  color: var(--text);
  font-size: .8125rem;
  font-weight: 600;
  padding: .35rem .875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}
.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--text);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: .3;
}

.hero__sub {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: .875rem;
}

.hero__headline { margin-bottom: 1.25rem; }

.hero__text {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 490px;
  line-height: 1.75;
}

.hero__buttons {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
}

/* Visual side */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}

/* Soft lime glow behind Budi – integrates transparent PNG naturally */
.hero__glow {
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(193,235,54,.20) 0%, transparent 62%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__budi {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  animation: hero-float 5.5s ease-in-out infinite;
}

/* Floating status pills */
.hero__float {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .875rem;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(231,220,207,.85);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(36,31,26,.11), 0 1px 0 rgba(255,255,255,.8) inset;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__float-dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(193,235,54,.25);
}

.hero__float--1 { top: 10%;  left: -6%;  animation: float-card 3.8s ease-in-out infinite; }
.hero__float--2 { top: 42%;  right: -5%; animation: float-card 3.8s ease-in-out infinite .9s; }
.hero__float--3 { bottom: 10%; left: 4%; animation: float-card 3.8s ease-in-out infinite 1.8s; }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-11px); }
}

/* ============================================================
   VALUE BAR
   – transparent; cards carry the visual weight
============================================================ */
.value-bar {
  padding: 2.75rem 0;
}

.value-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-card {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.625rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: box-shadow var(--ease), transform var(--ease), background var(--ease), border-color var(--ease);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  background: var(--surface);
}
.value-card__icon {
  font-size: 1.625rem;
  line-height: 1;
  margin-bottom: .25rem;
}
.value-card strong {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--text);
  display: block;
}
.value-card p {
  color: var(--text-secondary);
  font-size: .875rem;
  line-height: 1.55;
}

/* ============================================================
   CHOOSE SECTION
   – transparent background, lime halo in top-right
============================================================ */
.choose-section {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.choose-section::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(193,235,54,.11) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.choose-card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease), background var(--ease);
  position: relative;
  overflow: hidden;
}
.choose-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime) 0%, rgba(193,235,54,0) 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.choose-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
  border-color: var(--border-soft);
}
.choose-card:hover::before { opacity: 1; }

.choose-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
}
.choose-badge {
  display: inline-block;
  background: rgba(193,235,54,.18);
  border: 1px solid rgba(193,235,54,.48);
  color: var(--text);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .2rem .625rem;
  border-radius: 999px;
}
.choose-card__icon { font-size: 1.875rem; line-height: 1; }
.choose-card h3    { margin: 0; }
.choose-card > p {
  color: var(--text-secondary);
  font-size: .9375rem;
  flex: 1;
  line-height: 1.65;
}
.choose-card__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--coral);
  margin-top: .25rem;
  transition: gap var(--ease);
}
.choose-card__link:hover        { gap: .65rem; }
.choose-card__link:focus-visible{ outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 3px; }
.link-arrow {
  display: inline-block;
  transition: transform var(--ease);
}
.choose-card__link:hover .link-arrow { transform: translateX(3px); }

/* ============================================================
   FEATURED TOOLS
   – transparent; body gradient and card surfaces provide depth
============================================================ */
.featured-tools {
  padding: 5.5rem 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tool-card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease), background var(--ease);
}
.tool-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border);
  background: var(--surface);
}

/* Frame – mockup/screenshot style */
.tool-card__frame {
  position: relative;
  height: 200px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
}
.tool-card__frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(36,31,26,.10);
  position: relative;
  z-index: 1;
}
.tool-card__frame.no-img { min-height: 200px; border-radius: 0; border-bottom: 1px solid var(--border-soft); }

.tool-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 5;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .5rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.tool-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  flex: 1;
}
.tool-card__body h3 { margin: 0; }
.tool-card__body > p {
  color: var(--text-secondary);
  font-size: .9375rem;
  flex: 1;
  line-height: 1.6;
}
.tool-card__body .btn { align-self: flex-start; margin-top: .5rem; }

/* ============================================================
   FEATURED PRODUCTS
   – transparent; coral halo bottom-left for warmth
============================================================ */
.featured-products {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.featured-products::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255,107,87,.09) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.featured-products .container { position: relative; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease), background var(--ease);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border);
  background: var(--surface);
}

.product-card__visual {
  position: relative;
  height: 260px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}
.product-card__visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.product-card__visual.no-img { min-height: 260px; border-radius: 0; }

.product-price-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 5;
  background: var(--coral);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  padding: .35rem .875rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(255,107,87,.35);
}

.product-card__body {
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  flex: 1;
}
.product-meta { margin-bottom: .125rem; }
.product-tag {
  display: inline-block;
  background: rgba(193,235,54,.15);
  border: 1px solid rgba(193,235,54,.4);
  color: var(--text);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .2rem .625rem;
  border-radius: 999px;
}
.product-tagline {
  font-style: italic;
  color: var(--text-secondary);
  font-size: .9375rem;
}
.product-card__body > p {
  color: var(--text-secondary);
  font-size: .9375rem;
  flex: 1;
  line-height: 1.65;
}
.product-card__body .btn { align-self: flex-start; margin-top: .75rem; }

/* ============================================================
   WHY BUILDBYDOING
   – transparent; Luma image on left, text on right
============================================================ */
.why-section {
  padding: 5.5rem 0;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 { margin-bottom: 1.25rem; }
.why-content > p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.why-manifesto {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text);
  line-height: 1.62;
  border-left: 3px solid var(--lime);
  padding-left: 1.125rem;
  margin: 1.5rem 0;
}

.why-bullets {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-top: 1.5rem;
}
.why-bullets li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--text);
}
.why-bullets li::before {
  content: '';
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(193,235,54,.22);
}

/* Luma – right column, soft lime ambient glow */
.why-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.why-image::before {
  content: '';
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle, rgba(193,235,54,.14) 0%, transparent 62%);
  border-radius: 50%;
  pointer-events: none;
}
.why-image img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: hero-float 6.5s ease-in-out infinite;
}
.why-image.no-img {
  min-height: 300px;
  background: var(--bg);
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius);
}

/* ============================================================
   EMAIL SECTION
   – transparent section + centred dark card with coral+lime glow
============================================================ */
.email-section {
  padding: 5.5rem 0;
}

.email-card {
  background: var(--surface-inverse);
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
  /* Subtle coral ambient outer glow */
  box-shadow:
    0 0  0  1px rgba(36,31,26,.14),
    0 20px 60px rgba(36,31,26,.18),
    0 0  80px rgba(255,107,87,.09);
}

/* Decorative radial accents inside the dark card */
.email-card__deco {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.email-card__deco:nth-child(1) {
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(193,235,54,.13) 0%, transparent 65%);
}
.email-card__deco--2 {
  bottom: -80px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,107,87,.10) 0%, transparent 65%);
}

.email-card__inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem;
  text-align: center;
}
.email-card__inner h2 { color: #fff; margin-bottom: .875rem; }
.email-card__inner > p {
  color: rgba(255,255,255,.68);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  line-height: 1.72;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
}
.form-group input,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--ease), background var(--ease);
  min-height: 46px;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255,255,255,.1);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.42)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: #241F1A; color: #fff; }

.email-form .btn { width: 100%; margin-top: .5rem; min-height: 50px; font-size: 1rem; }

.form-error {
  background: rgba(255,107,87,.14);
  border: 1px solid rgba(255,107,87,.38);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  color: #ffb3a8;
  font-size: .875rem;
}

.email-success {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(193,235,54,.12);
  border: 1px solid rgba(193,235,54,.35);
  border-radius: var(--radius-sm);
}
.email-success__icon {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lime);
  flex-shrink: 0;
}
.email-success p {
  color: var(--lime);
  font-weight: 500;
  font-size: .9375rem;
  text-align: left;
  line-height: 1.5;
}

/* ============================================================
   BLOG PREVIEW
   – transparent; centred lime halo at top for depth
============================================================ */
.blog-preview {
  padding: 5.5rem 0;
  position: relative;
}
.blog-preview::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(193,235,54,.07) 0%, transparent 65%);
  pointer-events: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.blog-card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease), background var(--ease);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  background: var(--surface);
  border-color: var(--border-soft);
}

.blog-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--coral);
}
.blog-time {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  padding: .15rem .45rem;
  border-radius: 999px;
}

.blog-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  flex: 1;
}
.blog-card h3 a {
  color: var(--text);
  transition: color var(--ease);
}
.blog-card h3 a:hover { color: var(--coral); }
.blog-card h3 a:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 3px; }

.blog-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.blog-date {
  font-size: .8rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.blog-arrow {
  font-size: 1rem;
  color: var(--border);
  transition: color var(--ease), transform var(--ease);
}
.blog-card:hover .blog-arrow { color: var(--coral); transform: translateX(3px); }

.blog-cta { text-align: center; }

/* ============================================================
   FOOTER
   – dark premium surface #241F1A; lime accent line at top
============================================================ */
.footer {
  background: #241F1A;
  position: relative;
}

/* Thin lime gradient accent line at very top */
.footer__top-rule {
  height: 2px;
  background: linear-gradient(90deg,
    transparent          0%,
    rgba(193,235,54,.45) 20%,
    rgba(193,235,54,.7)  50%,
    rgba(193,235,54,.45) 80%,
    transparent          100%
  );
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 3rem;
}

/* Brand column */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer__logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  max-width: 180px;
  filter: brightness(0) saturate(0) invert(1);
  opacity: .88;
}
.footer__logo-text {
  display: none; /* shown via JS onerror fallback */
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: rgba(255,255,255,.9);
}

.footer__tagline {
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}
.footer__desc {
  color: rgba(255,255,255,.35);
  font-size: .875rem;
  line-height: 1.65;
  max-width: 280px;
}

/* Mini CTA in lime */
.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: var(--lime);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap var(--ease), opacity var(--ease);
}
.footer__cta:hover { gap: .65rem; opacity: .82; }
.footer__cta:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 3px; }
.footer__cta-arrow {
  display: inline-block;
  transition: transform var(--ease);
}
.footer__cta:hover .footer__cta-arrow { transform: translateX(3px); }

/* Nav columns */
.footer__col h4 {
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: rgba(255,255,255,.32);
  margin-bottom: 1.125rem;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.footer__col ul a {
  color: rgba(255,255,255,.52);
  font-size: .9375rem;
  transition: color var(--ease);
}
.footer__col ul a:hover { color: rgba(255,255,255,.9); }
.footer__col ul a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 2px; }

.footer__email {
  color: rgba(255,255,255,.52);
  font-size: .9375rem;
  transition: color var(--ease);
  display: inline-block;
}
.footer__email:hover { color: var(--coral); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
}
.footer__bottom p {
  color: rgba(255,255,255,.25);
  font-size: .875rem;
  text-align: center;
}

/* ============================================================
   COOKIES BANNER  – bottom-right, compact card
============================================================ */
.cookies-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: auto;
  z-index: 2000;
  background: var(--surface-inverse);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  width: 300px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(36,31,26,.12);
  display: flex;
  flex-direction: column;
  gap: .875rem;
  border: 1px solid rgba(255,255,255,.05);
}
.cookies-banner p {
  font-size: .875rem;
  line-height: 1.55;
  color: rgba(255,255,255,.8);
}
.cookies-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.cookies-banner.is-hidden { display: none; }

/* ============================================================
   MODAL
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,31,26,.55);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
}
.modal-box h3  { font-size: 1.125rem; }
.modal-box > p { color: var(--text-secondary); font-size: .9375rem; line-height: 1.6; }

/* ============================================================
   DARK MODE – component overrides
   Applied via [data-theme="dark"] when variables alone are
   insufficient (e.g. components using hardcoded rgba values)
============================================================ */
[data-theme="dark"] .hero__dot-grid {
  background-image: radial-gradient(circle, rgba(255,248,238,.06) 1px, transparent 1px);
}

[data-theme="dark"] .hero__float {
  background: rgba(42,34,28,.96);
  border-color: rgba(255,248,238,.12);
  color: var(--text);
}

[data-theme="dark"] .hero__glow {
  background: radial-gradient(circle, rgba(193,235,54,.14) 0%, transparent 62%);
}

[data-theme="dark"] .header__nav a {
  color: var(--text-secondary);
}

[data-theme="dark"] .value-card strong { color: var(--text); }

[data-theme="dark"] .choose-badge {
  background: rgba(193,235,54,.12);
  border-color: rgba(193,235,54,.28);
}

[data-theme="dark"] .product-tag {
  background: rgba(193,235,54,.10);
  border-color: rgba(193,235,54,.25);
}

[data-theme="dark"] .product-card__visual {
  background: var(--surface);
}

[data-theme="dark"] .why-manifesto {
  color: var(--text);
}

[data-theme="dark"] .email-card {
  box-shadow:
    0 0  0  1px rgba(255,248,238,.06),
    0 20px 60px rgba(0,0,0,.35),
    0 0  80px rgba(255,107,87,.06);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select {
  border-color: rgba(255,248,238,.14);
  background: rgba(255,248,238,.05);
  color: var(--text);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus {
  border-color: var(--lime);
  background: rgba(255,248,238,.08);
}

[data-theme="dark"] .blog-card h3 a {
  color: var(--text);
}

[data-theme="dark"] .modal-overlay {
  background: rgba(0,0,0,.65);
}

[data-theme="dark"] .modal-box {
  border: 1px solid var(--border-soft);
}

[data-theme="dark"] .btn-outline {
  color: var(--text);
  border-color: var(--border);
}
[data-theme="dark"] .btn-outline:hover,
[data-theme="dark"] .btn-outline:focus-visible {
  background: rgba(255,248,238,.06);
  border-color: var(--text-secondary);
}

[data-theme="dark"] .btn-lang {
  border-color: var(--border);
  color: var(--text);
}
[data-theme="dark"] .btn-lang:hover,
[data-theme="dark"] .btn-lang:focus-visible {
  border-color: var(--text-secondary);
  background: rgba(255,248,238,.06);
}

[data-theme="dark"] .footer {
  background: #1A1410;
}

[data-theme="dark"] .footer__bottom {
  border-top-color: rgba(255,248,238,.07);
}

/* ============================================================
   THEME TRANSITIONS – smooth switching (respects reduced-motion)
============================================================ */
body,
.header,
.header__nav,
.value-card,
.choose-card,
.tool-card,
.tool-card__frame,
.product-card,
.product-card__visual,
.blog-card,
.email-card,
.cookies-banner,
.modal-box,
.hero__float,
.btn,
.btn-lang,
.btn-outline,
.theme-toggle,
input, select {
  transition:
    background-color 0.25s ease,
    color            0.25s ease,
    border-color     0.25s ease,
    box-shadow       0.25s ease;
}

/* Override with specific transitions for interactive elements */
.btn {
  transition:
    background-color 0.25s ease,
    color            0.25s ease,
    border-color     0.25s ease,
    box-shadow       var(--ease),
    transform        var(--ease-spring);
}

.value-card,
.choose-card,
.tool-card,
.product-card,
.blog-card {
  transition:
    background-color 0.25s ease,
    border-color     0.25s ease,
    box-shadow       var(--ease),
    transform        var(--ease);
}

/* ============================================================
   PAGE HERO (inner pages: Tools, Products, etc.)
   – no image column; left-aligned content with dot grid
============================================================ */
.page-hero {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(110,98,88,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 50%, black 0%, transparent 68%);
  mask-image:         radial-gradient(ellipse at 100% 50%, black 0%, transparent 68%);
  pointer-events: none;
}

[data-theme="dark"] .page-hero__dot-grid {
  background-image: radial-gradient(circle, rgba(255,248,238,.06) 1px, transparent 1px);
}

.page-hero__inner {
  position: relative;
}

.page-hero__content {
  max-width: 780px;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(193,235,54,.16);
  border: 1px solid rgba(193,235,54,.42);
  color: var(--text);
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .3rem .875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.page-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}

.page-hero__headline {
  margin-bottom: 1.25rem;
}

.page-hero__sub {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.page-hero__buttons {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
}

/* ============================================================
   HEADER – active nav link state (for inner pages)
============================================================ */
.header__nav a[aria-current="page"] {
  color: var(--text);
}
.header__nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ============================================================
   TOOL CATEGORY BADGE (bottom-left of tool frame)
   – complements the existing .tool-badge (top-right, status)
============================================================ */
.tool-cat-badge {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  z-index: 5;
  background: rgba(193,235,54,.18);
  border: 1px solid rgba(193,235,54,.52);
  color: var(--text);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .55rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

[data-theme="dark"] .tool-cat-badge {
  background: rgba(193,235,54,.12);
  border-color: rgba(193,235,54,.28);
}

/* ============================================================
   TOOL CARD NOTE (optional text, e.g. currency disclaimer)
============================================================ */
.tool-card__note {
  font-size: .8125rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.55;
  padding: .625rem .75rem;
  background: var(--bg);
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--lime);
  margin-top: .125rem;
}

[data-theme="dark"] .tool-card__note {
  background: rgba(255,248,238,.04);
}

/* ============================================================
   TOOLS BENEFITS SECTION ("How these tools help")
   – 3-column card grid with coral accent on hover
============================================================ */
.tools-benefits {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.tools-benefits::before {
  content: '';
  position: absolute;
  top: -140px;
  left: -140px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(193,235,54,.10) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-block {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  position: relative;
  overflow: hidden;
}
.benefit-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.benefit-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
}
.benefit-block:hover::before { opacity: 1; }

.benefit-block__icon {
  font-size: 2rem;
  line-height: 1;
}
.benefit-block h3 { margin: 0; }
.benefit-block p {
  color: var(--text-secondary);
  font-size: .9375rem;
  line-height: 1.65;
}

/* ============================================================
   TOOLS FOR SECTION ("Who are these tools for?")
   – 2-column: text left, audience cards right
============================================================ */
.tools-for {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.tools-for::after {
  content: '';
  position: absolute;
  bottom: -140px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,107,87,.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.tools-for__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.tools-for__text h2 { margin-bottom: 1.25rem; }
.tools-for__text > p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.tools-for__grid {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.tools-for__card {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}
.tools-for__card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
  background: var(--surface);
}

.tools-for__dot {
  display: block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(193,235,54,.22);
  margin-top: .35rem;
  flex-shrink: 0;
}

/* ============================================================
   TOOLS FINAL CTA SECTION
   – dark card with coral/lime glow accents (mirrors email card)
============================================================ */
.tools-cta-section {
  padding: 5.5rem 0;
}

.tools-cta-card {
  background: var(--surface-inverse);
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
  box-shadow:
    0 0  0  1px rgba(36,31,26,.14),
    0 20px 60px rgba(36,31,26,.18),
    0 0  80px rgba(255,107,87,.10);
}

.tools-cta-card__deco {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.tools-cta-card__deco:nth-child(1) {
  top: -90px; right: -90px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,107,87,.16) 0%, transparent 65%);
}
.tools-cta-card__deco--2 {
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(193,235,54,.13) 0%, transparent 65%);
}

.tools-cta-card__inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.tools-cta-card__inner h2 { color: #fff; }
.tools-cta-card__inner > p {
  color: rgba(255,255,255,.68);
  font-size: 1.0625rem;
  line-height: 1.72;
  max-width: 480px;
}

[data-theme="dark"] .tools-cta-card {
  box-shadow:
    0 0  0  1px rgba(255,248,238,.06),
    0 20px 60px rgba(0,0,0,.35),
    0 0  80px rgba(255,107,87,.07);
}

/* ============================================================
   THEME TRANSITIONS – new tools page elements
============================================================ */
.benefit-block,
.tools-for__card {
  transition:
    background-color 0.25s ease,
    border-color     0.25s ease,
    box-shadow       var(--ease),
    transform        var(--ease);
}

/* ============================================================
   RESPONSIVE – tools page (tablet ≤ 960px)
============================================================ */
@media (max-width: 960px) {
  .tools-for__inner { grid-template-columns: 1fr; gap: 2.75rem; }
}

/* ============================================================
   RESPONSIVE – tools page (mobile ≤ 768px)
============================================================ */
@media (max-width: 768px) {
  .page-hero               { padding: 3rem 0 2.75rem; }
  .page-hero__buttons      { flex-direction: column; }
  .page-hero__buttons .btn { width: 100%; justify-content: center; }

  .tools-benefits,
  .tools-for,
  .tools-cta-section       { padding: 4rem 0; }

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

  .tools-cta-card__inner   { padding: 2.25rem 1.5rem; }
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__budi,
  .hero__float,
  .why-image img { animation: none !important; }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ============================================================
   RESPONSIVE – TABLET (≤ 960px)
============================================================ */
@media (max-width: 960px) {
  .footer__inner    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand    { grid-column: 1 / -1; }
  .why-inner        { grid-template-columns: 1fr; gap: 3rem; }
  .why-image        { max-width: 420px; margin: 0 auto; }
  .products-grid    { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE – MOBILE (≤ 768px)
============================================================ */
@media (max-width: 768px) {

  /* Mobile nav drawer */
  .header__nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--header-bg-solid);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--header-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .5rem 0 1rem;
    display: none;
    z-index: 998;
    box-shadow: 0 8px 28px rgba(36,31,26,.09);
  }
  .header__nav.is-open { display: flex; }
  .header__nav a { width: 100%; padding: .875rem 1.5rem; font-size: 1rem; }
  .header__nav a::after { display: none; }

  .header__cta { display: none; }
  .hamburger   { display: flex; }

  /* Hero */
  .hero { padding: 3rem 0 3rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: -1; }
  .hero__image-wrap { max-width: 300px; margin: 0 auto; }
  .hero__budi       { max-height: 300px; }
  .hero__float--1   { top: auto; bottom: 38%; left: -3%; }
  .hero__float--2   { top: auto; bottom: 18%; right: -3%; }
  .hero__float--3   { bottom: 2%; left: 3%; }
  .hero__text       { max-width: 100%; }
  .hero__buttons    { flex-direction: column; }
  .hero__buttons .btn { width: 100%; justify-content: center; }

  /* Section spacing */
  .choose-section,
  .featured-tools,
  .featured-products,
  .why-section,
  .email-section,
  .blog-preview { padding: 4rem 0; }
  .value-bar { padding: 2.25rem 0; }

  .value-bar__grid,
  .choose-grid,
  .tools-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .section-header { margin-bottom: 2rem; }

  .email-card__inner { padding: 2.25rem 1.5rem; }

  /* Cookie banner – floating bar on mobile with side margins */
  .cookies-banner {
    bottom: 0.75rem; left: 1rem; right: 1rem;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius);
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
  }
  .cookies-banner p  { flex: 1 1 100%; }
  .cookies-actions   { width: 100%; }
  .cookies-actions .btn { flex: 1; justify-content: center; }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Header logo */
  .header__logo { height: 28px; }
}

/* ============================================================
   RESPONSIVE – SMALL (≤ 480px)
============================================================ */
@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .hero__float { font-size: .75rem; padding: .4rem .7rem; }
  .hero__float-dot { width: 7px; height: 7px; }
  .hero__image-wrap { max-width: 260px; }
  .hero__budi { max-height: 260px; }
  .hero__float--1   { bottom: 40%; }
  .hero__float--2   { bottom: 20%; }
  .hero__float--3   { display: none; }

  .product-card__visual { height: 200px; }
  .email-card__inner    { padding: 2rem 1.25rem; }
}

/* ============================================================
   PRODUCTS PAGE – FEATURED SECTION
   Editorial grid: featured card left, two secondary cards right
============================================================ */
.products-page-featured {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.products-page-featured::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255,107,87,.09) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.products-page-featured .container { position: relative; }

/* Editorial grid layout */
.products-editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

/* Right column – two stacked secondary cards */
.products-editorial__secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Featured card – coral accent line always visible */
.product-card--featured {
  position: relative;
}
.product-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, rgba(255,107,87,0) 100%);
  z-index: 2;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Visual area heights */
.product-card__visual--featured  { height: 320px; }
.product-card__visual--secondary { height: 180px; }

/* Note (e.g. currency disclaimer) */
.product-card__note {
  font-size: .8125rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.55;
  padding: .625rem .75rem;
  background: var(--bg);
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--lime);
  margin-top: .125rem;
}
[data-theme="dark"] .product-card__note {
  background: rgba(255,248,238,.04);
}

/* ============================================================
   PRODUCTS PAGE – CHOOSE YOUR GOAL SECTION
============================================================ */
.products-choose {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.products-choose::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(193,235,54,.10) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.products-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.products-choose__item {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition:
    box-shadow var(--ease),
    transform  var(--ease),
    background var(--ease),
    border-color var(--ease);
  position: relative;
  overflow: hidden;
}
.products-choose__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime) 0%, rgba(193,235,54,0) 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.products-choose__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
}
.products-choose__item:hover::before { opacity: 1; }

.products-choose__icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .125rem;
}

.products-choose__text {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.products-choose__goal {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.35;
}

.products-choose__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--coral);
  transition: gap var(--ease);
  text-decoration: none;
}
.products-choose__link:hover { gap: .65rem; }
.products-choose__link:hover .link-arrow { transform: translateX(3px); }
.products-choose__link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   PRODUCTS PAGE – HOW PRODUCTS ARE DIFFERENT SECTION
============================================================ */
.products-diff {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.products-diff::before {
  content: '';
  position: absolute;
  bottom: -140px;
  left: -140px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(193,235,54,.09) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.products-diff__header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.products-diff__header h2 { margin-bottom: 1rem; }
.products-diff__header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.products-diff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.products-diff__item {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow     var(--ease),
    transform      var(--ease),
    background     var(--ease),
    border-color   var(--ease);
}
.products-diff__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0%, rgba(255,107,87,0) 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.products-diff__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
}
.products-diff__item:hover::before { opacity: 1; }

.products-diff__icon {
  font-size: 2rem;
  line-height: 1;
}
.products-diff__item h3 { margin: 0; }
.products-diff__item p {
  color: var(--text-secondary);
  font-size: .9375rem;
  line-height: 1.65;
}

/* ============================================================
   THEME TRANSITIONS – products page elements
============================================================ */
.products-choose__item,
.products-diff__item {
  transition:
    background-color 0.25s ease,
    border-color     0.25s ease,
    box-shadow       var(--ease),
    transform        var(--ease);
}

/* ============================================================
   RESPONSIVE – products page (tablet ≤ 960px)
============================================================ */
@media (max-width: 960px) {
  .products-editorial {
    grid-template-columns: 1fr;
  }
  .product-card__visual--featured  { height: 260px; }
  .product-card__visual--secondary { height: 200px; }
}

/* ============================================================
   RESPONSIVE – products page (mobile ≤ 768px)
============================================================ */
@media (max-width: 768px) {
  .products-page-featured,
  .products-choose,
  .products-diff { padding: 4rem 0; }

  .products-choose__grid,
  .products-diff__grid { grid-template-columns: 1fr; }

  .products-choose__item { padding: 1.5rem 1.25rem; }
  .products-diff__header { margin-bottom: 2rem; }
}

/* ============================================================
   RESPONSIVE – products page (small ≤ 480px)
============================================================ */
@media (max-width: 480px) {
  .product-card__visual--featured  { height: 200px; }
  .product-card__visual--secondary { height: 160px; }
}

/* ============================================================
   KIDS PAGE – HERO
   Two-column: content left, image right. Coral+lime glow.
============================================================ */
.kids-hero {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.kids-hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(110,98,88,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 50%, black 0%, transparent 68%);
  mask-image:         radial-gradient(ellipse at 100% 50%, black 0%, transparent 68%);
  pointer-events: none;
}

[data-theme="dark"] .kids-hero__dot-grid {
  background-image: radial-gradient(circle, rgba(255,248,238,.06) 1px, transparent 1px);
}

.kids-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: 3rem;
  align-items: center;
}

.kids-hero__headline {
  margin-bottom: 1.25rem;
}

.kids-hero__sub {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.kids-hero__buttons {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
}

.kids-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.kids-hero__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 45% 50%, rgba(255,107,87,.15) 0%, rgba(193,235,54,.11) 45%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.kids-hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  animation: hero-float 6s ease-in-out infinite;
}

/* ============================================================
   KIDS PAGE – WHAT YOU'LL FIND INSIDE
   4-column card grid with coral hover accent
============================================================ */
.kids-find {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.kids-find::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(193,235,54,.10) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.kids-find__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.kids-find__card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.875rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  overflow: hidden;
}
.kids-find__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0%, rgba(255,107,87,0) 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.kids-find__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
}
.kids-find__card:hover::before { opacity: 1; }

.kids-find__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .125rem;
}
.kids-find__card h3 {
  margin: 0;
  font-size: 1rem;
}
.kids-find__card p {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.62;
}

/* ============================================================
   KIDS PAGE – FEATURED RESOURCES
   3-column grid; featured card (card 2) has coral top line
============================================================ */
.kids-resources {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.kids-resources::after {
  content: '';
  position: absolute;
  bottom: -140px;
  left: -140px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255,107,87,.09) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.kids-resources .container { position: relative; }

.kids-resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.kids-resource-card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.kids-resource-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border);
  background: var(--surface);
}

.kids-resource-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, rgba(255,107,87,0) 100%);
  z-index: 2;
  border-radius: var(--radius) var(--radius) 0 0;
}

.kids-resource-card__top {
  padding: 1.375rem 1.5rem .75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
}

.kids-resource-card__cat {
  display: inline-block;
  background: rgba(255,107,87,.10);
  border: 1px solid rgba(255,107,87,.30);
  color: var(--coral);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .2rem .625rem;
  border-radius: 999px;
}

.kids-resource-card__soon {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .5rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.kids-resource-card__body {
  padding: 0 1.5rem 1.625rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  flex: 1;
}
.kids-resource-card__body h3 {
  margin: 0;
  font-size: 1.0625rem;
}
.kids-resource-card__body > p {
  color: var(--text-secondary);
  font-size: .9375rem;
  flex: 1;
  line-height: 1.65;
}
.kids-resource-card__body .btn {
  align-self: flex-start;
  margin-top: .875rem;
}

.kids-resource-card__btn-soon {
  opacity: .52;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   KIDS PAGE – FOR PARENTS WHO ARE BUILDING TOO
   Two-column: paragraph left, bullet list right
============================================================ */
.kids-parents {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.kids-parents::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -100px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(193,235,54,.09) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.kids-parents__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.kids-parents__content h2 {
  margin-bottom: 1.25rem;
}
.kids-parents__content > p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.kids-parents__bullets-wrap {
  padding-top: .5rem;
}

.kids-parents__bullets {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.kids-parents__bullets li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  font-weight: 500;
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.55;
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: .875rem 1.125rem;
}
.kids-parents__bullets li::before {
  content: '';
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,107,87,.18);
  margin-top: .25rem;
  flex-shrink: 0;
}

/* ============================================================
   KIDS PAGE – HOW IT CONNECTS TO BUILDBYDOING
   3-column connect cards with lime hover accent
============================================================ */
.kids-connect {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.kids-connect::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,87,.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.kids-connect .container { position: relative; }

.kids-connect__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.kids-connect__card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  position: relative;
  overflow: hidden;
}
.kids-connect__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime) 0%, rgba(193,235,54,0) 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.kids-connect__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
}
.kids-connect__card:hover::before { opacity: 1; }

.kids-connect__emoji {
  font-size: 2.25rem;
  line-height: 1;
}
.kids-connect__card h3 {
  margin: 0;
  font-size: 1.0625rem;
}
.kids-connect__card p {
  color: var(--text-secondary);
  font-size: .9375rem;
  line-height: 1.65;
}

/* ============================================================
   KIDS PAGE – DARK MODE overrides
============================================================ */
[data-theme="dark"] .kids-resource-card__cat {
  background: rgba(255,107,87,.08);
  border-color: rgba(255,107,87,.22);
}

[data-theme="dark"] .kids-resource-card__soon {
  background: rgba(255,248,238,.04);
}

[data-theme="dark"] .kids-parents__bullets li {
  background: var(--surface-2);
  border-color: var(--border-soft);
}

/* ============================================================
   KIDS PAGE – THEME TRANSITIONS
============================================================ */
.kids-find__card,
.kids-resource-card,
.kids-connect__card,
.kids-parents__bullets li {
  transition:
    background-color 0.25s ease,
    border-color     0.25s ease,
    box-shadow       var(--ease),
    transform        var(--ease);
}

/* ============================================================
   KIDS PAGE – RESPONSIVE (tablet ≤ 960px)
============================================================ */
@media (max-width: 960px) {
  .kids-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .kids-hero__visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }
  .kids-find__grid     { grid-template-columns: repeat(2, 1fr); }
  .kids-parents__inner { grid-template-columns: 1fr; gap: 2.75rem; }
}

/* ============================================================
   KIDS PAGE – RESPONSIVE (mobile ≤ 768px)
============================================================ */
@media (max-width: 768px) {
  .kids-hero,
  .kids-find,
  .kids-resources,
  .kids-parents,
  .kids-connect        { padding: 4rem 0; }

  .kids-hero__visual   { max-width: 280px; }
  .kids-hero__img      { max-height: 300px; }
  .kids-hero__buttons  { flex-direction: column; }
  .kids-hero__buttons .btn { width: 100%; justify-content: center; }

  .kids-find__grid,
  .kids-resources__grid,
  .kids-connect__grid  { grid-template-columns: 1fr; }
}

/* ============================================================
   KIDS PAGE – RESPONSIVE (small ≤ 480px)
============================================================ */
@media (max-width: 480px) {
  .kids-find__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT PAGE – HERO
   Two-column: content left, Budi image right. Lime glow.
============================================================ */
.about-hero {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.about-hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(110,98,88,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 50%, black 0%, transparent 68%);
  mask-image:         radial-gradient(ellipse at 100% 50%, black 0%, transparent 68%);
  pointer-events: none;
}
[data-theme="dark"] .about-hero__dot-grid {
  background-image: radial-gradient(circle, rgba(255,248,238,.06) 1px, transparent 1px);
}

.about-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: 3rem;
  align-items: center;
}

.about-hero__headline { margin-bottom: 1.25rem; }

.about-hero__sub {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.about-hero__buttons {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
}

.about-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-hero__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 45%, rgba(193,235,54,.22) 0%, rgba(255,107,87,.08) 45%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  animation: hero-float 5.5s ease-in-out infinite;
}

/* ============================================================
   ABOUT PAGE – WHY THIS PROJECT EXISTS
   Centered text column with lime manifesto quote
============================================================ */
.about-why {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.about-why::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(193,235,54,.07) 0%, transparent 65%);
  pointer-events: none;
}

.about-why__inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.about-why__inner h2 { margin-bottom: 1.25rem; }
.about-why__inner > p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ============================================================
   ABOUT PAGE – WHAT BUILDBYDOING CREATES
   4-column area cards with lime accent on hover
============================================================ */
.about-creates {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.about-creates::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(193,235,54,.10) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.about-creates__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.about-area-card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.875rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  overflow: hidden;
}
.about-area-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime) 0%, rgba(193,235,54,0) 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.about-area-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
}
.about-area-card:hover::before { opacity: 1; }

.about-area-card__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .125rem;
}
.about-area-card h3 {
  margin: 0;
  font-size: 1rem;
}
.about-area-card > p {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.62;
  flex: 1;
}

.about-area-card__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--coral);
  margin-top: .25rem;
  transition: gap var(--ease);
  text-decoration: none;
}
.about-area-card__link:hover { gap: .65rem; }
.about-area-card__link:hover .link-arrow { transform: translateX(3px); }
.about-area-card__link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   ABOUT PAGE – THE BUILDBYDOING METHOD
   4 numbered step cards in a row
============================================================ */
.about-method {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.about-method::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,107,87,.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.about-method .container { position: relative; }

.about-method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.about-method__step {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  position: relative;
  overflow: hidden;
}
.about-method__step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
}

.about-method__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--coral);
  opacity: .22;
  margin-bottom: .125rem;
}

.about-method__step h3 { margin: 0; font-size: 1rem; }

.about-method__note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT PAGE – MEET BUDI AND LUMA
   2-column character cards with ambient glow behind images
============================================================ */
.about-chars {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.about-chars::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(193,235,54,.09) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.about-chars .container { position: relative; }

.about-chars__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.about-char-card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.about-char-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
}

.about-char-card__visual {
  position: relative;
  height: 280px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}
.about-char-card__visual.no-img { min-height: 280px; border-radius: 0; }

.about-char-card__glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  pointer-events: none;
}
.about-char-card--budi .about-char-card__glow {
  background: radial-gradient(circle, rgba(193,235,54,.22) 0%, transparent 65%);
}
.about-char-card--luma .about-char-card__glow {
  background: radial-gradient(circle, rgba(255,107,87,.17) 0%, transparent 65%);
}

.about-char-card__img {
  position: relative;
  z-index: 1;
  max-height: 220px;
  object-fit: contain;
  animation: hero-float 6.5s ease-in-out infinite;
}

.about-char-card__body {
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.about-char-card__body h3 { margin: 0; }
.about-char-card__body p {
  color: var(--text-secondary);
  font-size: .9375rem;
  line-height: 1.65;
}

/* ============================================================
   ABOUT PAGE – WHO THIS IS FOR
   2-column grid reusing existing tools-for__card pattern
============================================================ */
.about-for {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.about-for::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(193,235,54,.07) 0%, transparent 65%);
  pointer-events: none;
}
.about-for .container { position: relative; }

.about-for__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .875rem;
  max-width: 880px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT PAGE – WHAT BUILDBYDOING IS NOT
   Contrast list with muted × marks
============================================================ */
.about-not {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.about-not::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,107,87,.07) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.about-not .container { position: relative; }

.about-not__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.about-not__list li {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding: 1.125rem 1.375rem;
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}
.about-not__list li::before {
  content: '×';
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: rgba(255,107,87,.40);
  flex-shrink: 0;
  line-height: 1;
  width: 22px;
  text-align: center;
}

/* ============================================================
   ABOUT PAGE – FINAL CTA BUTTON GROUP
   Two buttons side by side inside the dark CTA card
============================================================ */
.about-cta-buttons {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
  justify-content: center;
}

.about-cta-btn-secondary {
  color: rgba(255,255,255,.72);
  border-color: rgba(255,255,255,.20);
}
.about-cta-btn-secondary:hover,
.about-cta-btn-secondary:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.07);
}

/* ============================================================
   ABOUT PAGE – DARK MODE overrides
============================================================ */
[data-theme="dark"] .about-char-card__visual {
  background: var(--surface);
}
[data-theme="dark"] .about-not__list li {
  background: var(--surface-2);
  border-color: var(--border-soft);
}

/* ============================================================
   ABOUT PAGE – THEME TRANSITIONS
============================================================ */
.about-area-card,
.about-method__step,
.about-char-card,
.about-not__list li {
  transition:
    background-color 0.25s ease,
    border-color     0.25s ease,
    box-shadow       var(--ease),
    transform        var(--ease);
}

/* ============================================================
   ABOUT PAGE – RESPONSIVE (tablet ≤ 960px)
============================================================ */
@media (max-width: 960px) {
  .about-hero__inner  { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-hero__visual { order: -1; max-width: 340px; margin: 0 auto; }
  .about-creates__grid  { grid-template-columns: repeat(2, 1fr); }
  .about-method__steps  { grid-template-columns: repeat(2, 1fr); }
  .about-chars__grid    { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-for__grid      { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT PAGE – RESPONSIVE (mobile ≤ 768px)
============================================================ */
@media (max-width: 768px) {
  .about-hero,
  .about-why,
  .about-creates,
  .about-method,
  .about-chars,
  .about-for,
  .about-not         { padding: 4rem 0; }

  .about-hero__img   { max-height: 300px; }
  .about-hero__buttons { flex-direction: column; }
  .about-hero__buttons .btn { width: 100%; justify-content: center; }

  .about-creates__grid,
  .about-method__steps { grid-template-columns: 1fr; }

  .about-char-card__visual { height: 220px; }

  .about-cta-buttons { flex-direction: column; width: 100%; }
  .about-cta-buttons .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ABOUT PAGE – RESPONSIVE (small ≤ 480px)
============================================================ */
@media (max-width: 480px) {
  .about-char-card__visual { height: 180px; }
  .about-char-card__img    { max-height: 160px; }
}

/* ============================================================
   LEGAL PAGES (privacy-policy, terms, refund, cookie-policy)
   Clean editorial layout, max-width 860px, dark mode compatible
============================================================ */

/* Date line below the subtitle in page-hero */
.legal-hero__date {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: .75rem;
}
.legal-hero__date::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Main content wrapper */
.legal-content {
  padding: 0 0 5.5rem;
}

.legal-content__inner {
  max-width: 860px;
}

/* Each section */
.legal-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: .875rem;
  color: var(--text);
}

.legal-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: .875rem;
}
.legal-section p:last-child {
  margin-bottom: 0;
}

/* Bullet list */
.legal-section ul {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin: .875rem 0;
  padding: 0;
}
.legal-section ul li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}
.legal-section ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  min-width: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(193,235,54,.20);
  margin-top: .45rem;
  flex-shrink: 0;
}

/* localStorage key code display */
.legal-code-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: .875rem 0;
}

.legal-code {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: .875rem;
  font-style: normal;
  color: var(--coral);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  padding: .25rem .75rem;
  letter-spacing: .02em;
}

/* Legal note – highlighted card */
.legal-section--note {
  background: rgba(193,235,54,.06);
  border: 1.5px solid rgba(193,235,54,.22);
  border-radius: var(--radius);
  padding: 1.875rem;
  margin-top: .5rem;
  border-bottom: none;
}
.legal-section--note h2 {
  color: var(--text);
}

/* Email link */
.legal-email {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--coral);
  text-decoration: none;
  transition: color var(--ease);
  margin-top: .25rem;
}
.legal-email:hover { color: var(--coral-hover); }
.legal-email:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Back CTA */
.legal-back {
  padding: 2.5rem 0 5.5rem;
}
.legal-back__inner {
  max-width: 860px;
}

/* ============================================================
   LEGAL PAGES – DARK MODE
============================================================ */
[data-theme="dark"] .legal-code {
  background: rgba(255,248,238,.04);
}
[data-theme="dark"] .legal-section--note {
  background: rgba(193,235,54,.04);
  border-color: rgba(193,235,54,.16);
}

/* ============================================================
   LEGAL PAGES – THEME TRANSITIONS
============================================================ */
.legal-section,
.legal-section--note,
.legal-code {
  transition:
    background-color 0.25s ease,
    border-color     0.25s ease;
}

/* ============================================================
   LEGAL PAGES – RESPONSIVE (mobile ≤ 768px)
============================================================ */
@media (max-width: 768px) {
  .legal-content  { padding: 0 0 4rem; }
  .legal-back     { padding: 2rem 0 4rem; }
  .legal-section  { padding: 2rem 0; }
  .legal-section--note { padding: 1.5rem; }
}

/* ============================================================
   BLOG PAGE – HERO BUTTONS
============================================================ */
.blog-hero__buttons {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ============================================================
   BLOG PAGE – CATEGORIES
============================================================ */
.blog-cats {
  padding: 2rem 0 0;
}

.blog-cats__grid {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: 1.5rem;
}

.blog-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.125rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}
.blog-cat-chip:hover {
  border-color: rgba(193,235,54,.65);
  background: rgba(193,235,54,.10);
  transform: translateY(-1px);
}
.blog-cat-chip:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

[data-theme="dark"] .blog-cat-chip {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="dark"] .blog-cat-chip:hover {
  background: rgba(193,235,54,.08);
  border-color: rgba(193,235,54,.35);
}

/* ============================================================
   BLOG PAGE – GUIDES SECTION
============================================================ */
.blog-guides {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.blog-guides::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(193,235,54,.09) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* Excerpt text in blog cards (blog page only) */
.blog-card__excerpt {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin: .375rem 0 .5rem;
}

/* ============================================================
   BLOG PAGE – START HERE SECTION
============================================================ */
.blog-start {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.blog-start::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,87,.07) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.blog-start__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.blog-start__card {
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.blog-start__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.blog-start__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--surface);
  border-color: rgba(193,235,54,.35);
  color: var(--text);
}
.blog-start__card:hover::before { opacity: 1; }
.blog-start__card:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.blog-start__card__icon {
  font-size: 2rem;
  line-height: 1;
}

.blog-start__card h3 {
  font-size: 1.0625rem;
  margin: 0;
  color: var(--text);
}

.blog-start__card p {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.blog-start__arrow {
  font-size: 1.125rem;
  color: var(--coral);
  margin-top: auto;
  transition: transform var(--ease), color var(--ease);
}
.blog-start__card:hover .blog-start__arrow {
  transform: translateX(4px);
}

[data-theme="dark"] .blog-start__card {
  background: var(--surface);
}
[data-theme="dark"] .blog-start__card:hover {
  background: var(--surface-2);
}

/* ============================================================
   BLOG PAGE – FINAL CTA
============================================================ */
.blog-cta-section {
  padding: 5.5rem 0;
}

.blog-cta-buttons {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
}

.blog-cta-btn-secondary {
  border-color: rgba(255,255,255,.30);
  color: rgba(255,255,255,.85);
}
.blog-cta-btn-secondary:hover {
  border-color: rgba(255,255,255,.60);
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* ============================================================
   BLOG PAGE – THEME TRANSITIONS
============================================================ */
.blog-cat-chip,
.blog-start__card {
  transition:
    background-color 0.25s ease,
    border-color     0.25s ease,
    box-shadow       var(--ease),
    transform        var(--ease);
}

/* ============================================================
   BLOG PAGE – RESPONSIVE (tablet ≤ 960px)
============================================================ */
@media (max-width: 960px) {
  .blog-start__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   BLOG PAGE – RESPONSIVE (mobile ≤ 768px)
============================================================ */
@media (max-width: 768px) {
  .blog-cats        { padding: 1.5rem 0 0; }
  .blog-guides,
  .blog-start,
  .blog-cta-section { padding: 4rem 0; }

  .blog-hero__buttons              { flex-direction: column; }
  .blog-hero__buttons .btn         { width: 100%; justify-content: center; }

  .blog-start__grid                { grid-template-columns: 1fr; }

  .blog-cta-buttons                { flex-direction: column; width: 100%; }
  .blog-cta-buttons .btn           { width: 100%; justify-content: center; }
}
