/* ------------------------------------------------------------------
   4K Technologies — landing page styles
   Palette: deep forest greens + charcoal/ink darks, with bright accents.
------------------------------------------------------------------ */

:root {
  --green-900: #0f4d34;
  --green-800: #155838;
  --green-700: #1f6b47;
  --green-600: #2d8c5a;
  --green-500: #3fb37f;
  --green-400: #6ed1a3;
  --green-50:  #ecf7f0;

  --ink-950: #050b18;
  --ink-900: #0b1220;
  --ink-850: #0f172a;
  --ink-800: #111827;
  --ink-700: #1f2937;
  --ink-600: #374151;
  --ink-500: #4b5563;
  --ink-400: #6b7280;
  --ink-300: #9ca3af;
  --ink-200: #e5e7eb;
  --ink-100: #f3f4f6;
  --ink-50:  #f9fafb;
  --white:   #ffffff;
  --cream:   #f3ede1;
  --terracotta: #c45a3f;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow:    0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 77, 52, 0.18), 0 8px 16px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 30px 70px -20px rgba(15, 77, 52, 0.45), 0 10px 30px rgba(0,0,0,0.25);

  --content-max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;

  /* ============== Theme tokens (LIGHT — default) ============== */
  --bg:               #ffffff;
  --bg-soft:          var(--ink-50);
  --surface:          #ffffff;
  --surface-2:        var(--ink-50);
  --surface-border:   var(--ink-200);
  --surface-border-soft: var(--ink-100);
  --text-strong:      var(--ink-900);
  --text:             var(--ink-800);
  --text-soft:        var(--ink-500);
  --text-faint:       var(--ink-400);
  --header-bg:        rgba(255, 255, 255, 0.85);
  --section-divider:  var(--ink-200);
  --accent-tint-bg:   var(--green-50);
  --accent-tint-fg:   var(--green-700);
  --hover-bg:         var(--ink-50);
  --magekwik-tint-bg: rgba(65, 161, 153, 0.10);
}

/* ============== Theme tokens (DARK — opt-in) ============== */
:root[data-theme="dark"] {
  --bg:               #0a0f17;
  --bg-soft:          #0e1622;
  --surface:          #131c2a;
  --surface-2:        #0e1622;
  --surface-border:   rgba(255, 255, 255, 0.08);
  --surface-border-soft: rgba(255, 255, 255, 0.05);
  --text-strong:      #f4f6f8;
  --text:             #d5dae0;
  --text-soft:        #9aa3ad;
  --text-faint:       #6b7480;
  --header-bg:        rgba(10, 15, 23, 0.85);
  --section-divider:  rgba(255, 255, 255, 0.06);
  --accent-tint-bg:   rgba(63, 179, 127, 0.14);
  --accent-tint-fg:   var(--green-400);
  --hover-bg:         rgba(255, 255, 255, 0.06);
  --magekwik-tint-bg: rgba(65, 161, 153, 0.18);
}

/* Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .25s ease, color .25s ease;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.18; letter-spacing: -0.01em; color: var(--text-strong); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-900); color: #fff; padding: 10px 14px;
  border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 13px 24px;
  font-size: .95rem; font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-900); color: var(--white); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--green-700); }
.btn-outline {
  background: var(--surface);
  color: var(--text-strong);
  border-color: var(--surface-border);
}
.btn-outline:hover { border-color: var(--green-700); color: var(--green-700); }
.btn-glow {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(63, 179, 127, 0.4),
    0 6px 18px rgba(63, 179, 127, 0.35),
    0 14px 40px -8px rgba(63, 179, 127, 0.45);
}
.btn-glow:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(63, 179, 127, 0.6),
    0 10px 28px rgba(63, 179, 127, 0.5),
    0 22px 60px -8px rgba(63, 179, 127, 0.65);
}

/* Header — wordmark only, no image ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--section-divider);
  transition: background-color .25s ease, border-color .25s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center;
  color: var(--text-strong);
  padding: 10px 4px;
  margin: -10px -4px;
}
.brand-wordmark {
  font-size: 1.75rem; font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--green-700);
  line-height: 1;
}
.header-actions { display: inline-flex; align-items: center; gap: 4px; }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a {
  color: var(--text); font-weight: 500; font-size: .92rem;
  padding: 8px 12px; border-radius: 8px;
}
.site-nav a:hover { color: var(--green-700); background: var(--hover-bg); }
.site-nav a.nav-cta {
  background: var(--text-strong); color: var(--bg);
  padding: 9px 18px; border-radius: 999px; margin-left: 6px;
}
.site-nav a.nav-cta:hover { background: var(--green-700); color: #fff; }

/* Theme toggle button ----------------------------------------- */
.theme-toggle {
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text);
  border-radius: 999px;
  display: grid; place-items: center;
  position: relative;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, color .2s ease;
}
.theme-toggle:hover { background: var(--hover-bg); color: var(--text-strong); }
.theme-toggle:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}
.theme-toggle svg {
  position: absolute;
  width: 20px; height: 20px;
  transition: opacity .25s ease, transform .35s ease;
}
.icon-sun  { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.icon-moon { opacity: 1; transform: rotate(0)     scale(1);   }
:root[data-theme="dark"] .icon-sun  { opacity: 1; transform: rotate(0)    scale(1);   }
:root[data-theme="dark"] .icon-moon { opacity: 0; transform: rotate(90deg) scale(0.6); }

/* Hamburger button — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  padding: 0;
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-line {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease, background-color .2s ease;
}
.nav-toggle-line:nth-child(1) { top: 15px; }
.nav-toggle-line:nth-child(2) { top: 21px; }
.nav-toggle-line:nth-child(3) { top: 27px; }
.nav-toggle.is-open .nav-toggle-line:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-line:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Backdrop behind the drawer */
.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  transition: opacity .25s ease;
}
.nav-scrim.is-open { opacity: 1; }

/* Lock body scroll when drawer is open */
body.nav-locked { overflow: hidden; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-scrim { display: block; pointer-events: none; }
  .nav-scrim.is-open { pointer-events: auto; }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    width: min(320px, 86vw);
    max-width: 100%;
    height: calc(100dvh - 72px);
    background: var(--surface);
    border-left: 1px solid var(--surface-border);
    box-shadow: -16px 0 40px -12px rgba(15, 23, 42, 0.18);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 28px 24px 32px;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.2,.7,.2,1), background-color .25s ease, border-color .25s ease;
    z-index: 50;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav.is-open { transform: translateX(0); }

  .site-nav a {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    padding: 14px 12px;
    border-radius: 10px;
    border-bottom: 1px solid var(--surface-border-soft);
  }
  .site-nav a:last-of-type { border-bottom: 0; }
  .site-nav a:hover, .site-nav a:focus-visible {
    color: var(--green-700);
    background: var(--hover-bg);
  }
  .site-nav a.nav-cta {
    margin: 18px 0 0;
    text-align: center;
    border-radius: 999px;
    padding: 14px 18px;
    font-size: 1rem;
    border-bottom: 0;
    color: var(--bg);
  }
  .site-nav a.nav-cta:hover { background: var(--green-700); color: #fff; }
}

/* HERO ---------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 96px) 0 clamp(64px, 10vw, 110px);
  background: var(--bg);
  overflow: hidden;
  text-align: center;
  transition: background-color .25s ease;
}
@media (max-width: 540px) {
  .hero { padding: 40px 0 56px; }
  .hero-stage { width: 240px !important; height: 240px !important; margin-bottom: 28px !important; }
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(63, 179, 127, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63, 179, 127, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
:root[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(to right, rgba(63, 179, 127, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63, 179, 127, 0.10) 1px, transparent 1px);
}
:root[data-theme="dark"] .hero-logo {
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.4));
}
:root[data-theme="dark"] .hero-glow-a {
  background: radial-gradient(circle, rgba(63, 179, 127, 0.28), transparent 70%);
  opacity: 0.7;
}
:root[data-theme="dark"] .hero-glow-b {
  background: radial-gradient(circle, rgba(31, 107, 71, 0.30), transparent 70%);
  opacity: 0.7;
}
:root[data-theme="dark"] .lede { color: #b9c1cb; }
:root[data-theme="dark"] .btn-ghost { color: #e6e8eb; }
:root[data-theme="dark"] .btn-ghost:hover { color: var(--green-400); }
:root[data-theme="dark"] .swoosh-1,
:root[data-theme="dark"] .swoosh-2,
:root[data-theme="dark"] .swoosh-3 { opacity: 0.85; }
:root[data-theme="dark"] .swoosh-arc-1,
:root[data-theme="dark"] .swoosh-arc-2 { filter: drop-shadow(0 0 8px rgba(63, 179, 127, 0.55)); }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.hero-glow-a {
  width: 520px; height: 520px;
  top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(63, 179, 127, 0.55), transparent 70%);
}
.hero-glow-b {
  width: 460px; height: 460px;
  bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(31, 107, 71, 0.5), transparent 70%);
}

.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }

/* hero-stage: the animated logo region */
.hero-stage {
  position: relative;
  width: clamp(280px, 38vw, 460px);
  height: clamp(280px, 38vw, 460px);
  margin: 0 auto clamp(32px, 5vw, 48px);
  display: grid; place-items: center;
}
.hero-logo-wrap {
  position: relative; z-index: 3;
  width: 64%; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  animation: heroFloat 7s ease-in-out infinite;
}
.hero-logo-wrap::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
  z-index: -1;
}
.hero-logo {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  filter:
    drop-shadow(0 0 18px rgba(63, 179, 127, 0.35))
    drop-shadow(0 14px 30px rgba(15, 77, 52, 0.3));
}
/* Dark mode: light disc backdrop so the dark logo art remains legible */
:root[data-theme="dark"] .hero-logo-wrap::before {
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 42%,
    rgba(255, 255, 255, 0.0) 70%
  );
  box-shadow:
    0 0 60px rgba(255, 255, 255, 0.18),
    0 0 18px rgba(63, 179, 127, 0.25);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Swoosh system around logo — extends the logo's own dotted swoosh into
   a wider animated halo. Positioned dead-centre via translate so the
   rings always orbit the visual centre of the logo. */
.swoosh-svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 116%; height: 116%;
  transform: translate(-50%, -50%);
  z-index: 1;
  overflow: visible;
  opacity: 0.85;
  pointer-events: none;
}
.swoosh {
  transform-origin: center;
  transform-box: fill-box;
}
.swoosh-1 { animation: swooshSpin 42s linear infinite; }
.swoosh-2 { animation: swooshSpin 56s linear infinite reverse; }
.swoosh-3 { animation: swooshSpin 70s linear infinite; }
.swoosh-arc-1 { animation: swooshSpin 28s linear infinite; filter: drop-shadow(0 0 6px rgba(63, 179, 127, 0.4)); }
.swoosh-arc-2 { animation: swooshSpin 34s linear infinite reverse; filter: drop-shadow(0 0 5px rgba(31, 107, 71, 0.35)); }
@keyframes swooshSpin {
  to { transform: rotate(360deg); }
}

/* Floating accent nodes drift in the orbit area */
.orbit-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 14px rgba(63, 179, 127, 0.85), 0 0 4px rgba(63, 179, 127, 1);
  z-index: 2;
}
.orbit-node-a {
  top: 6%; left: 78%;
  animation: nodeDrift 9s ease-in-out infinite;
}
.orbit-node-b {
  bottom: 10%; right: 6%;
  width: 7px; height: 7px;
  background: var(--green-700);
  animation: nodeDrift 11s ease-in-out infinite reverse;
}
.orbit-node-c {
  top: 24%; left: 4%;
  width: 8px; height: 8px;
  background: var(--ink-800);
  box-shadow: 0 0 10px rgba(15, 23, 42, 0.45);
  animation: nodeDrift 13s ease-in-out infinite;
}
@keyframes nodeDrift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(8px, -10px); }
  50%      { transform: translate(-6px, 6px); }
  75%      { transform: translate(10px, 4px); }
}

.pulse {
  position: absolute; inset: 28%;
  border-radius: 50%;
  border: 2px solid rgba(63, 179, 127, 0.55);
  animation: pulseRing 3.8s cubic-bezier(.2,.6,.2,1) infinite;
  z-index: 2;
  pointer-events: none;
}
.pulse-2 { animation-delay: 1.26s; }
.pulse-3 { animation-delay: 2.53s; }
@keyframes pulseRing {
  0%   { opacity: 0.7; transform: scale(0.7); }
  60%  { opacity: 0;   transform: scale(1.5); }
  100% { opacity: 0;   transform: scale(1.7); }
}

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-tint-fg);
  background: var(--accent-tint-bg);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title { margin-bottom: 22px; }
.hero-title .accent {
  background: linear-gradient(90deg, var(--green-700), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.13rem);
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto 32px;
}
.lede strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* TRUST STRIP --------------------------------------------------- */
.trust-strip {
  background: var(--ink-950);
  color: rgba(255,255,255,0.85);
  padding: clamp(28px, 4vw, 40px) 0;
  position: relative;
  overflow: hidden;
}
.trust-strip::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 280px at 20% 50%, rgba(63, 179, 127, 0.12), transparent 60%),
    radial-gradient(700px 280px at 90% 50%, rgba(31, 107, 71, 0.10), transparent 60%);
}
.trust-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  text-align: center;
}
@media (max-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; } }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item strong {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-item strong span { color: var(--green-400); }
.trust-item > span {
  font-size: .85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
@media (max-width: 540px) {
  .trust-item > span { font-size: .78rem; line-height: 1.35; }
  .trust-item strong { font-size: 2rem; }
}

/* Scroll-reveal -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections ------------------------------------------------------ */
.section { padding: clamp(72px, 10vw, 110px) 0; border-top: 1px solid var(--section-divider); scroll-margin-top: 84px; }
.section-head { max-width: 780px; margin-bottom: 48px; }
@media (max-width: 540px) {
  .section-head { margin-bottom: 32px; }
  .section { padding: clamp(56px, 12vw, 80px) 0; }
}
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-700); margin: 0 0 12px;
}

/* Capabilities -------------------------------------------------- */
.capabilities { background: var(--bg-soft); transition: background-color .25s ease; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 880px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .25s ease;
}
@media (max-width: 560px) {
  .cap-card { padding: 22px 22px; }
  .cap-icon { margin-bottom: 12px; width: 40px; height: 40px; font-size: 1.25rem; }
  .cap-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .cap-card p { font-size: .92rem; }
}
.cap-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-500);
  box-shadow: var(--shadow);
}
.cap-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--accent-tint-bg);
  color: var(--accent-tint-fg);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.cap-card:hover .cap-icon {
  background: var(--green-700);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}
.cap-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cap-card p  { color: var(--text-soft); font-size: .96rem; margin: 0; }

/* BRANDS — dark backdrop to highlight the products -------------- */
.brands {
  background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.brands::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 90% 10%, rgba(63, 179, 127, 0.10), transparent 60%),
    radial-gradient(800px 420px at -10% 80%, rgba(31, 107, 71, 0.10), transparent 60%);
}
.brands > .container { position: relative; z-index: 1; }
.brands .kicker { color: var(--green-400); }
.brands h2 { color: #fff; }

.brand-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
@media (max-width: 540px) {
  .brand-card { padding: 24px; border-radius: 18px; }
  .brand-card-feature { padding: 24px; }
}
.brand-card + .brand-card,
.brands .brand-secondary-grid { margin-top: 28px; }

/* === Featured brand card (idea89) =============================== */
.brand-card-feature {
  background: linear-gradient(160deg, #0c1d18 0%, #0a1410 50%, #0d2b22 100%);
  border-color: rgba(63, 179, 127, 0.22);
  color: rgba(255,255,255,0.88);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.brand-card-feature::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 360px at 80% -10%, rgba(63, 179, 127, 0.18), transparent 60%),
    radial-gradient(500px 360px at -10% 110%, rgba(31, 107, 71, 0.20), transparent 60%);
}
.brand-feature-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.brand-feature-grid-reverse { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 880px) {
  .brand-feature-grid, .brand-feature-grid-reverse { grid-template-columns: 1fr; gap: 32px; }
  .brand-feature-grid-reverse .brand-feature-left { order: 1; }
  .brand-feature-grid-reverse .storefront-mock { order: 2; }
}

.brand-tag {
  display: inline-block;
  font-size: .76rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-tint-fg); background: var(--accent-tint-bg);
  padding: 5px 11px; border-radius: 999px;
  margin: 0 0 18px;
}
.brand-tag-dark {
  color: var(--green-400);
  background: rgba(63, 179, 127, 0.10);
  border: 1px solid rgba(63, 179, 127, 0.25);
}
.brand-tag-d89 {
  color: var(--terracotta);
  background: rgba(196, 90, 63, 0.10);
  border: 1px solid rgba(196, 90, 63, 0.25);
}

/* Idea89 logo with glow on hover */
.idea89-logo-wrap {
  position: relative; width: 96px; height: 96px;
  margin-bottom: 22px;
}
.idea89-glow {
  position: absolute; inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 179, 127, 0.6) 0%, rgba(63, 179, 127, 0) 70%);
  opacity: 0.7;
  transition: opacity .35s ease, transform .35s ease;
  filter: blur(8px);
  animation: idea89Breathe 4.5s ease-in-out infinite;
}
@keyframes idea89Breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.08); }
}
.idea89-logo {
  position: relative; z-index: 1;
  width: 96px; height: 96px;
  border-radius: 22px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 14px 40px -10px rgba(63, 179, 127, 0.45), 0 4px 12px rgba(0,0,0,0.25);
  transition: transform .35s ease, box-shadow .35s ease;
}
.brand-card-feature:hover .idea89-glow,
.idea89-logo-wrap:hover .idea89-glow {
  opacity: 1;
  transform: scale(1.18);
}
.brand-card-feature:hover .idea89-logo,
.idea89-logo-wrap:hover .idea89-logo {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 60px -10px rgba(63, 179, 127, 0.7), 0 6px 20px rgba(0,0,0,0.35);
}

.brand-feature-title { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 800; margin: 0 0 10px; letter-spacing: -0.02em; }
.brand-feature-sub   { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin: 0 0 16px; }
.brand-feature-summary { color: rgba(255,255,255,0.72); margin: 0 0 20px; }
@media (max-width: 540px) {
  .brand-feature-sub { font-size: .95rem; }
  .brand-feature-summary { font-size: .94rem; }
  .brand-feature-grid, .brand-feature-grid-reverse { gap: 24px; }
}

.brand-card-feature .brand-features li {
  color: rgba(255,255,255,0.85);
}
.brand-card-feature .brand-features li::before {
  background: var(--green-400);
}

.brand-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-bottom: 24px;
}
.brand-features-compact { grid-template-columns: 1fr; }
@media (max-width: 540px) { .brand-features { grid-template-columns: 1fr; } }
.brand-features li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  color: var(--text);
}
.brand-features li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px;
  background: var(--green-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* === Mock chat widget (idea89) ================================ */
.chat-widget {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(63, 179, 127, 0.25),
    0 30px 80px -20px rgba(63, 179, 127, 0.45),
    0 14px 30px rgba(0,0,0,0.3);
  color: var(--ink-800);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: 560px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.brand-card-feature:hover .chat-widget {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(63, 179, 127, 0.45),
    0 38px 90px -16px rgba(63, 179, 127, 0.6),
    0 18px 40px rgba(0,0,0,0.4);
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink-100);
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
  font-size: .95rem;
}
.chat-meta { flex: 1; }
.chat-name { margin: 0; font-size: .92rem; font-weight: 700; color: var(--ink-900); }
.chat-status { margin: 2px 0 0; font-size: .78rem; color: var(--ink-500); display: flex; align-items: center; gap: 6px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); animation: chatPing 2.2s ease-in-out infinite; }
@keyframes chatPing {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}
.chat-close {
  color: var(--ink-400); font-size: 1.2rem; line-height: 1; padding: 4px;
}
.chat-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(90deg, #fff7ed, #fef3c7);
  color: #92400e;
  font-size: .82rem; font-weight: 600;
}
.chat-promo-arrow { color: #b45309; cursor: pointer; }
.chat-body {
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
  background: #fafbfc;
}
@media (max-width: 380px) {
  .chat-body { padding: 14px 12px; gap: 10px; }
  .msg-bubble { padding: 8px 12px; font-size: .85rem; }
}
.chat-msg { display: flex; gap: 8px; max-width: 92%; }
.msg-ai { align-self: flex-start; }
.msg-user { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #fff;
  font-size: .72rem; font-weight: 700;
  display: grid; place-items: center;
  margin-top: 2px;
}
.msg-bubble {
  background: #fff;
  padding: 10px 14px;
  border-radius: 16px;
  border-top-left-radius: 4px;
  font-size: .9rem;
  color: var(--ink-800);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  border: 1px solid var(--ink-100);
}
.msg-user .msg-bubble {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
  border-top-left-radius: 16px;
  border-top-right-radius: 4px;
}
.msg-product {
  margin-top: 10px;
  display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center;
  padding: 10px;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  background: #fff;
}
@media (max-width: 540px) {
  .msg-product { grid-template-columns: 40px 1fr; gap: 10px; }
  .msg-product-cta { display: none; }
  .msg-product-name { white-space: normal; }
}
.msg-product-img {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--green-50);
  color: var(--green-700);
  display: grid; place-items: center;
}
.msg-product-img svg { width: 26px; height: 26px; }
.msg-product-meta { min-width: 0; }
.msg-product-name { margin: 0; font-size: .85rem; font-weight: 700; color: var(--ink-900); }
.msg-product-sku  { margin: 2px 0; font-size: .76rem; color: var(--ink-400); }
.msg-product-price { margin: 0; font-size: .82rem; font-weight: 700; color: var(--green-700); }
.msg-product-cta {
  border: 0; cursor: pointer;
  background: var(--ink-900); color: #fff;
  border-radius: 999px; padding: 7px 12px;
  font-size: .76rem; font-weight: 600;
}
.chat-typing {
  display: flex; gap: 4px; align-items: center;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  border-top-left-radius: 4px;
  align-self: flex-start;
  margin-left: 34px;
}
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-300);
  animation: typing 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40%           { opacity: 1;   transform: translateY(-4px); }
}
.chat-input {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--ink-100);
  background: #fff;
}
.chat-input span {
  flex: 1; color: var(--ink-400); font-size: .9rem;
  padding: 8px 12px;
  background: var(--ink-50);
  border-radius: 999px;
}
.chat-send {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.chat-foot {
  text-align: center;
  font-size: .72rem; color: var(--ink-400);
  padding: 8px 0 12px;
  background: #fff;
}
.chat-foot strong { color: var(--green-700); letter-spacing: 0.06em; }

/* === Magekwik featured card =================================== */
.brand-card-magekwik {
  background: linear-gradient(160deg, #0a1a18 0%, #07120f 50%, #0d2521 100%);
  border-color: rgba(65, 161, 153, 0.22);
}
.brand-card-magekwik::before {
  background:
    radial-gradient(700px 360px at 10% -10%, rgba(65, 161, 153, 0.20), transparent 60%),
    radial-gradient(500px 360px at 110% 110%, rgba(63, 179, 127, 0.16), transparent 60%);
}
.brand-feature-left-magekwik .brand-feature-title { font-size: clamp(2rem, 3.6vw, 2.5rem); }
.brand-tag-magekwik {
  color: #41a199;
  background: rgba(65, 161, 153, 0.10);
  border: 1px solid rgba(65, 161, 153, 0.25);
}
.magekwik-logo-wrap {
  display: inline-flex; align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 14px 22px;
  margin-bottom: 22px;
  box-shadow: 0 14px 40px -10px rgba(65, 161, 153, 0.4), 0 4px 12px rgba(0,0,0,0.25);
}
.magekwik-logo { height: 42px; width: auto; }

.btn-magekwik {
  background: linear-gradient(135deg, #41a199, #2d8c5a);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(65, 161, 153, 0.4),
    0 6px 18px rgba(65, 161, 153, 0.35),
    0 14px 40px -8px rgba(65, 161, 153, 0.45);
}
.btn-magekwik:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(65, 161, 153, 0.6),
    0 10px 28px rgba(65, 161, 153, 0.5),
    0 22px 60px -8px rgba(65, 161, 153, 0.65);
}

/* Terminal / CLI mockup */
.terminal-mock {
  background: #0a1410;
  border: 1px solid rgba(65, 161, 153, 0.25);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(65, 161, 153, 0.18),
    0 30px 80px -20px rgba(65, 161, 153, 0.4),
    0 14px 30px rgba(0,0,0,0.4);
  overflow: hidden;
  font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  transition: transform .3s ease, box-shadow .3s ease;
}
.brand-card-magekwik:hover .terminal-mock {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(65, 161, 153, 0.4),
    0 38px 90px -16px rgba(65, 161, 153, 0.55),
    0 18px 40px rgba(0,0,0,0.5);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  background: #1a2a26;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal-title {
  margin-left: 12px;
  color: rgba(255,255,255,0.55);
  font-size: .75rem;
  font-family: var(--font-sans);
  font-weight: 500;
}
.terminal-body {
  padding: 18px 20px 22px;
  color: rgba(255,255,255,0.88);
  font-size: .78rem;
  line-height: 1.7;
}
.t-line { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-prompt { color: var(--green-400); margin-right: 8px; font-weight: 700; }
.t-ok { color: rgba(255,255,255,0.78); }
.t-tick { color: var(--green-500); display: inline-block; width: 1.2em; }
.t-dim { color: rgba(255,255,255,0.4); }
.t-meta { margin-top: 6px; color: rgba(255,255,255,0.55); font-size: .72rem; }
.t-cursor {
  color: var(--green-400);
  margin-left: 8px;
  animation: termBlink 1.1s steps(2) infinite;
}
@keyframes termBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
@media (max-width: 540px) {
  .terminal-body { font-size: .68rem; padding: 14px 16px 18px; }
}

/* === D89 storefront feature card ============================== */
.brand-card-d89 {
  background: linear-gradient(160deg, #1a3024 0%, #0f1f17 60%, #243a2a 100%);
  border-color: rgba(196, 90, 63, 0.18);
}
.brand-card-d89::before {
  background:
    radial-gradient(700px 380px at 10% -10%, rgba(196, 90, 63, 0.16), transparent 60%),
    radial-gradient(560px 360px at 100% 110%, rgba(243, 237, 225, 0.10), transparent 60%);
}
.brand-feature-left-d89 .brand-feature-title { font-size: clamp(1.8rem, 3.4vw, 2.3rem); }

.d89-logo-wrap {
  display: inline-flex; align-items: center;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
}
.d89-logo { width: 110px; height: auto; }

/* Storefront browser mockup */
.storefront-mock {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
.browser-frame {
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 26px 70px -20px rgba(0,0,0,0.55),
    0 12px 26px rgba(0,0,0,0.3);
  overflow: hidden;
  font-family: var(--font-sans);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  background: #ebebec;
  padding: 10px 14px;
  border-bottom: 1px solid #d8d8d9;
}
.browser-dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red    { background: #fc6058; }
.dot-amber  { background: #fdbc40; }
.dot-green  { background: #34c84a; }
.browser-url {
  margin-left: 12px;
  background: #fff;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: .78rem; color: var(--ink-500);
  border: 1px solid #d8d8d9;
}
.storefront-body {
  background: var(--cream);
  padding: 18px;
  min-height: 340px;
  display: flex; flex-direction: column; gap: 14px;
}
.storefront-nav {
  display: flex; align-items: center; gap: 16px;
  font-size: .76rem;
  color: var(--ink-700);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26, 62, 44, 0.15);
  flex-wrap: wrap;
  row-gap: 6px;
}
.sf-logo {
  font-weight: 800; font-size: 1rem; color: #1A3E2C;
  letter-spacing: -0.02em;
}
.sf-logo i { color: var(--terracotta); font-style: normal; }
.sf-nav-item { color: var(--ink-600); white-space: nowrap; }
.sf-cart { margin-left: auto; letter-spacing: 6px; color: var(--ink-500); }
@media (max-width: 540px) {
  .storefront-nav { gap: 10px; font-size: .68rem; }
  .sf-cart { letter-spacing: 4px; }
  .sf-nav-item:nth-of-type(n+4) { display: none; }
}

.storefront-hero {
  padding: 8px 4px 4px;
}
.sf-eyebrow {
  font-size: .7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terracotta);
  margin: 0 0 8px;
}
.storefront-hero h4 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  color: #1A3E2C;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sf-cta {
  display: inline-block;
  font-size: .8rem; font-weight: 600;
  color: #1A3E2C;
  border-bottom: 1px solid #1A3E2C;
  padding-bottom: 2px;
}
.storefront-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 6px;
}
.sf-tile {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 62, 44, 0.15);
}
.sf-tile-1 { background: linear-gradient(135deg, #c4b29a, #a08b6e); }
.sf-tile-2 { background: linear-gradient(135deg, #e8e1d3, #cbbfa5); }
.sf-tile-3 { background: linear-gradient(135deg, #b48a4a, #8a6a36); }
.sf-tile-4 { background: linear-gradient(135deg, #8c7a5f, #5e4f3b); }
.sf-tile-tag {
  position: absolute; left: 6px; bottom: 6px;
  background: rgba(26, 62, 44, 0.88);
  color: var(--cream);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .62rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === Secondary brand grid (Magekwik + n8n) ==================== */
.brand-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) { .brand-secondary-grid { grid-template-columns: 1fr; } }

.brand-card-mini {
  padding: 32px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}
.brand-card-mini h3 { font-size: 1.5rem; margin-bottom: 12px; }
.brand-card-mini .brand-summary { color: var(--text-soft); margin-bottom: 14px; font-size: .96rem; }
@media (max-width: 540px) {
  .brand-card-mini { padding: 24px; gap: 14px; }
  .brand-card-mini h3 { font-size: 1.3rem; margin-bottom: 10px; }
  .brand-card-mini .brand-summary { font-size: .92rem; }
}

.brand-card-logo {
  display: grid; place-items: center;
  border-radius: var(--radius);
  padding: 26px;
  min-height: 140px;
  position: relative;
}
.brand-card-logo img { max-height: 80px; width: auto; max-width: 80%; }
.brand-card-logo.magekwik { background: linear-gradient(135deg, #f7fbfa, #e6f3f1); }
.brand-card-logo.n8n {
  background: linear-gradient(135deg, #fdf2ee, #fce4dc);
  flex-direction: column;
}
.brand-card-logo.n8n svg { width: 64px; height: 64px; }
.n8n-label {
  font-weight: 800; font-size: 1.1rem; color: #d63d8d;
  letter-spacing: -0.02em; margin-top: 6px;
}

/* D89 mini-card visual: cream block with d89 wordmark + storefront row bars */
.brand-card-logo.d89 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  place-items: unset;
  background: linear-gradient(160deg, var(--cream) 0%, #ebe2ce 100%);
  padding: 22px 24px;
  min-height: 170px;
  overflow: hidden;
  position: relative;
  gap: 14px;
}
.d89-mini-logo {
  height: 30px; width: auto;
  align-self: flex-start;
  flex: 0 0 auto;
}
.storefront-mini {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%;
  flex: 1 1 auto;
}
.sf-mini-row {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #1A3E2C, #2d5a44);
  opacity: 0.92;
}
.sf-mini-row-1 { width: 72%; height: 16px; }
.sf-mini-row-2 { width: 42%; background: linear-gradient(90deg, var(--terracotta), #9c4831); height: 9px; }
.sf-mini-row-3 { width: 88%; background: linear-gradient(90deg, #b48a4a, #8a6a36); }
.sf-mini-row-4 { width: 55%; }
.brand-tag-d89-mini {
  color: var(--terracotta);
  background: rgba(196, 90, 63, 0.10);
}

/* FOUNDER ------------------------------------------------------- */
.founder-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .founder-inner { grid-template-columns: 1fr; gap: 32px; } }
.founder-text p { color: var(--text-soft); }
.founder-role { color: var(--green-700); font-weight: 600; margin-bottom: 18px; }
.founder-links { display: flex; flex-wrap: wrap; gap: 10px; }
.founder-card {
  background: linear-gradient(160deg, var(--ink-950), var(--green-900));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}
.founder-card h4 {
  color: var(--green-400);
  font-size: .8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 18px;
}
.founder-card dl { margin: 0; }
.founder-card dl > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: .92rem;
}
.founder-card dl > div:last-child { border-bottom: 0; }
.founder-card dt { color: rgba(255,255,255,0.55); }
.founder-card dd { margin: 0; color: #fff; font-weight: 500; text-align: right; }

/* FAQ ----------------------------------------------------------- */
.faq { background: var(--bg); transition: background-color .25s ease; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  max-width: 980px;
}
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .15s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--green-500);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-strong);
  display: flex; align-items: flex-start; gap: 12px;
  padding-right: 6px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  margin-left: auto;
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  color: var(--accent-tint-fg);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '×'; transform: rotate(180deg); }
.faq-item p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: .96rem;
  line-height: 1.6;
}

/* CONTACT ------------------------------------------------------- */
.contact { background: var(--bg-soft); transition: background-color .25s ease; }
.contact-lede {
  max-width: 740px;
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.contact-lede strong { color: var(--text-strong); font-weight: 600; }

/* Primary CTA pair — email + LinkedIn */
.contact-primary {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
@media (max-width: 760px) { .contact-primary { grid-template-columns: 1fr; } }

.contact-primary-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(63, 179, 127, 0.35),
    0 18px 40px -12px rgba(31, 107, 71, 0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-primary-card:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(63, 179, 127, 0.55),
    0 26px 60px -12px rgba(31, 107, 71, 0.7);
}
.contact-primary-meta { display: flex; flex-direction: column; gap: 4px; }
.contact-primary-card .contact-label {
  color: rgba(255,255,255,0.78);
  font-size: .78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.contact-primary-card .contact-value {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  word-break: break-word;
}
.contact-primary-card .contact-hint {
  color: rgba(255,255,255,0.7);
  font-size: .86rem;
  margin-top: 4px;
}
.contact-primary-cta {
  align-self: end;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
}
@media (max-width: 540px) {
  .contact-primary-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .contact-primary-cta { justify-self: start; }
}

.contact-secondary-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  color: var(--text-strong);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background-color .25s ease;
}
.contact-secondary-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-500);
  box-shadow: var(--shadow);
  color: var(--text-strong);
}
.contact-secondary-card .contact-label {
  font-size: .76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-tint-fg);
}
.contact-secondary-card .contact-value { font-size: 1rem; font-weight: 600; }
.contact-secondary-card .contact-hint {
  color: var(--text-soft);
  font-size: .86rem;
  margin-top: 4px;
}

.contact-or {
  margin: 8px 0 18px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 880px) { .contact-options { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 540px) { .contact-options { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background-color .25s ease, color .25s ease;
  color: var(--text-strong);
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-500);
  box-shadow: var(--shadow);
  color: var(--text-strong);
}
.contact-label {
  font-size: .76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-tint-fg);
}
.contact-value { font-size: .96rem; font-weight: 600; word-break: break-word; }

/* FOOTER -------------------------------------------------------- */
.site-footer {
  background: var(--ink-950);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 36px;
}
.footer-inner { display: grid; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-wordmark {
  display: inline-flex; align-items: baseline; gap: 4px;
  color: #fff; font-weight: 800; font-size: 1.05rem;
}
.footer-mark {
  color: var(--green-500); font-size: 1.5rem; font-weight: 900; line-height: 1;
}
.footer-name { color: #fff; font-weight: 700; margin: 0; }
.footer-meta { margin: 0; font-size: .9rem; color: rgba(255,255,255,0.55); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: -6px 0; }
.footer-nav a {
  color: rgba(255,255,255,0.75); font-size: .95rem;
  display: inline-block; padding: 8px 4px;
  min-width: 44px; min-height: 36px; line-height: 1.4;
  text-align: left;
}
.footer-nav a:hover { color: var(--green-400); }
.footer-copy {
  margin: 0;
  font-size: .85rem;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* Reduced motion ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
