/* ═══════════════════════════════════════════════════════════════════════
   SalesMiles — SM_Frontend
   Foundation (Etap 1): tokens, typography, buttons, nav, footer.
   Direction: ClickUp / Stripe — clean white SaaS, navy + magenta from logo.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:              #FFFFFF;
  --bg-alt:          #F8F7F4;      /* warm neutral — alternating sections */
  --bg-subtle:       #FBFAF8;
  --bg-card:         #FFFFFF;

  /* Brand (from logo) */
  --navy:            #1A1F5E;
  --navy-strong:     #0F1340;
  --navy-soft:       #2D3373;

  --magenta:         #D2195A;
  --magenta-deep:    #A8134A;
  --magenta-soft:    #FFEAF1;
  --magenta-tint:    #FFF5F9;

  /* Text scale */
  --text:            #15182E;
  --text-body:       #3E4262;
  --text-muted:      #6B6F8B;
  --text-subtle:     #9A9EB4;

  /* Semantic */
  --success:         #00B37E;
  --success-soft:    #E6F8F1;
  --warning:         #F59E0B;
  --danger:          #EF4444;

  /* Lines */
  --border:          #EAEAEE;
  --border-strong:   #D4D4DA;
  --border-subtle:   #F2F2F5;

  /* Tool tints — used in nav mega + hero pills + sections */
  --tint-peach-bg:   #FFEDDB;
  --tint-peach-fg:   #B3560F;
  --tint-magenta-bg: #FFE4EE;
  --tint-magenta-fg: #B01549;
  --tint-sky-bg:     #E0EDFF;
  --tint-sky-fg:     #2456B8;
  --tint-sage-bg:    #E6F2DF;
  --tint-sage-fg:    #3F6A2E;
  --tint-navy-bg:    #E8E8F0;
  --tint-navy-fg:    #1A1F5E;

  /* Typography */
  --font-display:    'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:       'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fs-xs:           0.75rem;       /* 12 */
  --fs-sm:           0.875rem;      /* 14 */
  --fs-base:         1rem;          /* 16 */
  --fs-md:           1.125rem;      /* 18 */
  --fs-lg:           1.25rem;       /* 20 */
  --fs-xl:           1.5rem;        /* 24 */
  --fs-2xl:          1.875rem;      /* 30 */
  --fs-3xl:          2.25rem;       /* 36 */
  --fs-4xl:          3rem;          /* 48 */
  --fs-5xl:          clamp(2.75rem, 5.5vw, 4.25rem);  /* section heading */
  --fs-hero:         clamp(2.5rem, 6vw, 4.5rem);      /* hero h1 */

  --fw-regular:      400;
  --fw-medium:       500;
  --fw-semibold:     600;
  --fw-bold:         700;
  --fw-extrabold:    800;

  --lh-tight:        1.05;
  --lh-snug:         1.2;
  --lh-normal:       1.5;
  --lh-relaxed:      1.65;

  /* Spacing */
  --space-1:         4px;
  --space-2:         8px;
  --space-3:         12px;
  --space-4:         16px;
  --space-5:         20px;
  --space-6:         24px;
  --space-7:         32px;
  --space-8:         40px;
  --space-9:         56px;
  --space-10:        72px;
  --space-11:        96px;
  --space-12:        128px;

  /* Radius */
  --radius-sm:       6px;
  --radius:          10px;
  --radius-lg:       14px;
  --radius-xl:       20px;
  --radius-2xl:      28px;
  --radius-pill:     999px;

  /* Shadows — soft ClickUp/Stripe style */
  --shadow-xs:       0 1px 2px rgba(17, 23, 40, 0.04);
  --shadow-sm:       0 2px 4px rgba(17, 23, 40, 0.05);
  --shadow:          0 4px 12px rgba(17, 23, 40, 0.06);
  --shadow-md:       0 8px 24px rgba(17, 23, 40, 0.08);
  --shadow-lg:       0 12px 32px rgba(17, 23, 40, 0.10);
  --shadow-xl:       0 24px 48px rgba(17, 23, 40, 0.12);
  --shadow-menu:     0 12px 40px rgba(17, 23, 40, 0.14), 0 4px 12px rgba(17, 23, 40, 0.06);
  --shadow-focus:    0 0 0 3px rgba(210, 25, 90, 0.20);

  /* Motion */
  --ease:            cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:        cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:        150ms;
  --dur:             240ms;
  --dur-slow:        400ms;

  /* Layout */
  --container:       1200px;
  --container-wide:  1360px;
  --pad-x:           clamp(20px, 4vw, 40px);
  --nav-h:           72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

::selection { background: var(--magenta); color: #fff; }

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

/* ─── Typography base ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: var(--fs-hero); font-weight: var(--fw-extrabold); letter-spacing: -0.028em; }
h2 { font-size: var(--fs-5xl); font-weight: var(--fw-bold); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: -0.02em; }
h4 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); letter-spacing: -0.01em; }
h5 { font-size: var(--fs-base); font-weight: var(--fw-semibold); }

p { line-height: var(--lh-relaxed); }

/* Utility */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Tool tint backgrounds (used by nav mega + hero pills) */
.tint-peach   { background: var(--tint-peach-bg);   color: var(--tint-peach-fg); }
.tint-magenta { background: var(--tint-magenta-bg); color: var(--tint-magenta-fg); }
.tint-sky     { background: var(--tint-sky-bg);     color: var(--tint-sky-fg); }
.tint-sage    { background: var(--tint-sage-bg);    color: var(--tint-sage-fg); }
.tint-navy    { background: var(--tint-navy-bg);    color: var(--tint-navy-fg); }

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: -0.005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}
.btn svg { flex-shrink: 0; transition: transform var(--dur-fast) var(--ease-out); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 1px 2px rgba(168, 19, 74, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.btn-primary:hover {
  background: var(--magenta-deep);
  box-shadow: 0 4px 14px rgba(210, 25, 90, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-dark {
  background: var(--navy-strong);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 19, 64, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.btn-dark:hover {
  background: var(--navy);
  box-shadow: 0 4px 14px rgba(26, 31, 94, 0.28);
  transform: translateY(-1px);
}
.btn-dark:hover svg { transform: translateX(3px); }

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--navy); }

.btn-lg { padding: 14px 26px; font-size: var(--fs-base); border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 14px; font-size: var(--fs-xs); }
.btn-block { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION — white sticky, logo + center links + right actions
   ═══════════════════════════════════════════════════════════════════ */
.sm-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.sm-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(17, 23, 40, 0.04), 0 4px 20px rgba(17, 23, 40, 0.04);
}

.sm-nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  min-height: var(--nav-h);
}

.sm-nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}
.sm-nav-logo img { height: 30px; width: auto; display: block; }

.sm-nav-center {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.sm-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  position: relative;
}
.sm-nav-link:hover { background: var(--bg-alt); color: var(--text); }
.sm-nav-link.is-active { color: var(--navy); font-weight: var(--fw-semibold); }
.sm-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--magenta);
  border-radius: 2px;
}
.sm-nav-caret {
  opacity: 0.7;
  transition: transform var(--dur-fast) var(--ease-out);
}

/* Mega dropdown */
.sm-nav-dropdown {
  position: relative;
}
.sm-nav-dropdown:hover .sm-nav-caret,
.sm-nav-mega.is-open ~ .sm-nav-dropdown-trigger .sm-nav-caret { transform: rotate(180deg); }
.sm-nav-dropdown:hover .sm-nav-dropdown-trigger { background: var(--bg-alt); color: var(--text); }

.sm-nav-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: min(740px, 94vw);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-menu);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              visibility 0s linear var(--dur-fast);
  z-index: 300;
}
.sm-nav-dropdown:hover .sm-nav-mega,
.sm-nav-mega:hover,
.sm-nav-mega.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

/* bridge so hover doesn't drop between trigger and menu */
.sm-nav-mega::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* legacy single-col grid — kept for any page still using the old markup */
.sm-nav-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

/* two-column layout: hubs left, baseline right */
.sm-nav-mega-cols {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.sm-nav-mega-col--hubs {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sm-nav-mega-col--baseline {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--border-subtle);
  padding-left: 8px;
}
.sm-nav-mega-label {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 14px 4px;
  margin: 0;
}

/* smaller variant for baseline items */
.sm-nav-mega-item--sm {
  grid-template-columns: 32px 1fr;
  padding: 8px 12px;
}
.sm-nav-mega-item--sm .sm-nav-mega-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.sm-nav-mega-item--sm .sm-nav-mega-icon svg {
  width: 16px;
  height: 16px;
}

.sm-nav-mega-item {
  display: grid;
  grid-template-columns: 40px 1fr 14px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  transition: background var(--dur-fast) var(--ease-out);
}
.sm-nav-mega-item:hover { background: var(--bg-alt); }

.sm-nav-mega-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.sm-nav-mega-icon svg { width: 20px; height: 20px; }

.sm-nav-mega-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sm-nav-mega-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
  line-height: 1.3;
}
.sm-nav-mega-short {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.sm-nav-mega-arrow {
  color: var(--text-subtle);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.sm-nav-mega-item:hover .sm-nav-mega-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--magenta);
}

.sm-nav-mega-foot {
  margin-top: 6px;
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
}
.sm-nav-mega-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--magenta);
  transition: gap var(--dur-fast) var(--ease-out);
}
.sm-nav-mega-foot-link:hover { gap: 10px; }

/* Right side */
.sm-nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sm-nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  margin-right: 4px;
}
.sm-nav-lang a {
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--text-muted);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.sm-nav-lang a:hover { color: var(--text); background: var(--bg-alt); }
.sm-nav-lang a.is-active { color: var(--navy); font-weight: var(--fw-semibold); }
.sm-nav-lang span { color: var(--text-subtle); }

.sm-nav-login {
  padding: 9px 14px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}
.sm-nav-login:hover { background: var(--bg-alt); }

.sm-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: #fff;
  background: var(--navy-strong);
  border-radius: var(--radius);
  border: 1px solid var(--navy-strong);
  box-shadow: 0 1px 2px rgba(15, 19, 64, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: all var(--dur-fast) var(--ease-out);
}
.sm-nav-cta:hover {
  background: var(--navy);
  box-shadow: 0 4px 14px rgba(26, 31, 94, 0.28);
  transform: translateY(-1px);
}
.sm-nav-cta svg { transition: transform var(--dur-fast); }
.sm-nav-cta:hover svg { transform: translateX(3px); }

/* Burger (mobile) */
.sm-nav-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-sm);
  margin-left: auto;
}
.sm-nav-burger span {
  display: block;
  width: 18px;
  height: 1.75px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.sm-nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sm-nav-burger.open span:nth-child(2) { opacity: 0; }
.sm-nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.sm-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
  overflow-y: auto;
}
.sm-nav-drawer.open { transform: translateX(0); }
.sm-nav-drawer-inner {
  padding: calc(var(--nav-h) + 24px) var(--pad-x) 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 100%;
}
.sm-nav-drawer-link {
  display: block;
  padding: 16px 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text);
  border-bottom: 1px solid var(--border-subtle);
}
.sm-nav-drawer-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.sm-nav-drawer-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.sm-nav-drawer-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 8px 8px;
  font-size: var(--fs-base);
  color: var(--text-body);
}
.sm-nav-drawer-sub--sm {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: 5px 0 5px 8px;
}
.sm-nav-drawer-sublabel {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 10px 0 4px 8px;
  display: block;
}
.sm-nav-drawer-sub-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  flex-shrink: 0;
}
.sm-nav-drawer-sub-icon svg { width: 14px; height: 14px; }
.sm-nav-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: var(--space-11) 0 var(--space-6);
}
.footer-container {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-9);
  border-bottom: 1px solid var(--border);
}

.footer-brand-col { display: flex; flex-direction: column; gap: var(--space-5); }
.footer-logo img { height: 32px; width: auto; display: block; }
.footer-tagline {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
  max-width: 32ch;
}
.footer-social { display: flex; gap: 8px; margin-top: 4px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--dur-fast) var(--ease-out);
}
.footer-social a:hover {
  background: var(--magenta-soft);
  border-color: var(--magenta-soft);
  color: var(--magenta);
  transform: translateY(-1px);
}
.footer-social a svg { width: 16px; height: 16px; }

.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links--legal {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}
.footer-links a {
  font-size: var(--fs-sm);
  color: var(--text-body);
  transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--magenta); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
}
.footer-copyright {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.footer-lang { margin-right: 0; }

/* ═══════════════════════════════════════════════════════════════════
   HERO — 50/50 split. Left: copy + CTA. Right: product mock.
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
}

/* Soft brand-tinted background blobs — quiet, not neon */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.hero-bg-blob-1 {
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(210, 25, 90, 0.18) 0%, transparent 70%);
}
.hero-bg-blob-2 {
  bottom: -160px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(26, 31, 94, 0.12) 0%, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 560px;
}

/* Announcement pill */
.hero-announcement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 12px 6px 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-fast) var(--ease-out);
}
.hero-announcement:hover {
  transform: translateY(-1px);
  border-color: var(--magenta-soft);
  box-shadow: var(--shadow-sm);
}
.hero-announcement-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--magenta-soft);
  color: var(--magenta);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
}
.hero-announcement-arrow {
  display: inline-flex;
  color: var(--text-muted);
  transition: transform var(--dur-fast);
}
.hero-announcement:hover .hero-announcement-arrow {
  transform: translateX(3px);
  color: var(--magenta);
}

/* Title */
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  line-height: 1.03;
  letter-spacing: -0.032em;
  color: var(--navy-strong);
  margin-top: 4px;
}
.hero-title-accent {
  color: var(--navy);
  background-image: linear-gradient(180deg, transparent 65%, rgba(210, 25, 90, 0.20) 65%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 2px;
}

/* Bullets */
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.hero-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--text-body);
}
.hero-bullet p { line-height: 1.5; }
.hero-bullet strong {
  color: var(--navy);
  font-weight: var(--fw-semibold);
}
.hero-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  margin-top: 3px;
}

/* Actions */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-smallprint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin-top: -4px;
}

/* Tool pills */
.hero-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}
.hero-pills-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.hero-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-body);
  transition: all var(--dur-fast) var(--ease-out);
}
.hero-pill.is-active {
  border-color: transparent;
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-xs);
}
.hero-pill:not(.is-active):hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT MOCK — realistic SM_Poster calendar workspace
   ═══════════════════════════════════════════════════════════════════ */
.hero-visual {
  position: relative;
  min-width: 0;
}

.mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow:
    0 2px 4px rgba(17, 23, 40, 0.04),
    0 20px 40px -12px rgba(17, 23, 40, 0.14),
    0 40px 80px -20px rgba(17, 23, 40, 0.12);
  overflow: hidden;
}

/* Chrome */
.mock-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #FCFCFB;
  border-bottom: 1px solid var(--border-subtle);
}
.mock-chrome-dots { display: flex; gap: 6px; }
.mock-chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E4E4E9;
}
.mock-chrome-dots span:nth-child(1) { background: #FF5F57; }
.mock-chrome-dots span:nth-child(2) { background: #FEBC2E; }
.mock-chrome-dots span:nth-child(3) { background: #28C840; }
.mock-chrome-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #F3F3F5;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 auto;
}
.mock-chrome-right { color: var(--text-subtle); }

/* Body */
.mock-body {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: 440px;
}

/* Sidebar */
.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 10px;
  background: #FAFAF9;
  border-right: 1px solid var(--border-subtle);
}
.mock-workspace {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  text-align: left;
  color: var(--text);
}
.mock-workspace-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #FFBD5E, #E86A3C);
  color: #fff;
  font-size: 13px;
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.mock-workspace-name {
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-workspace svg { color: var(--text-muted); }

.mock-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-sidebar-item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-body);
  transition: background var(--dur-fast);
}
.mock-sidebar-item:hover { background: rgba(17, 23, 40, 0.04); }
.mock-sidebar-item.is-active {
  background: #fff;
  color: var(--navy);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-subtle);
}
.mock-sidebar-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.mock-sidebar-icon svg { width: 14px; height: 14px; }
.mock-sidebar-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-sidebar-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  color: var(--magenta);
  background: var(--magenta-soft);
  padding: 1px 6px;
  border-radius: var(--radius-pill);
}

.mock-sidebar-foot {
  margin-top: auto;
  padding: 10px 8px 6px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-sidebar-foot-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.mock-avatars { display: flex; align-items: center; }
.mock-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: var(--fw-bold);
  color: #fff;
  border: 2px solid #FAFAF9;
  margin-left: -6px;
  letter-spacing: 0;
}
.mock-avatar:first-child { margin-left: 0; }
.mock-avatar-1 { background: linear-gradient(135deg, #D2195A, #F06292); }
.mock-avatar-2 { background: linear-gradient(135deg, #1A1F5E, #4F5BA3); }
.mock-avatar-3 { background: linear-gradient(135deg, #0284C7, #26A5E4); }
.mock-avatar-plus {
  background: #E4E4E9;
  color: var(--text-muted);
  font-size: 9px;
}

/* Main calendar area */
.mock-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mock-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.mock-main-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-main-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: -0.01em;
}
.mock-main-nav {
  display: inline-flex;
  gap: 2px;
}
.mock-main-nav-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--dur-fast);
}
.mock-main-nav-btn:hover { background: rgba(17, 23, 40, 0.06); }

.mock-main-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-view-switcher {
  display: inline-flex;
  padding: 2px;
  background: #F3F3F5;
  border-radius: 8px;
}
.mock-view-switcher button {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  border-radius: 6px;
  transition: all var(--dur-fast);
}
.mock-view-switcher button.is-active {
  background: #fff;
  color: var(--navy);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-xs);
}

.mock-btn-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  color: #fff;
  background: var(--navy-strong);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
}
.mock-btn-new svg { color: #fff; }

/* Calendar grid */
.mock-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  flex: 1;
  min-height: 360px;
}
.mock-day {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  padding: 10px 6px;
  min-width: 0;
  min-height: 100%;
  position: relative;
}
.mock-day:last-child { border-right: none; }
.mock-day.is-today {
  background: linear-gradient(180deg, var(--magenta-tint) 0%, transparent 60%);
}
.mock-day.is-today::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--magenta);
}

.mock-day-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0 10px;
  border-bottom: 1px dashed transparent;
}
.mock-day-name {
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.mock-day-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--text);
}
.mock-day.is-today .mock-day-name { color: var(--magenta); }
.mock-day.is-today .mock-day-num {
  color: #fff;
  background: var(--magenta);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.mock-day-posts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}

/* Post tiles */
.mock-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.mock-post:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.mock-post-thumb {
  aspect-ratio: 16/9;
  position: relative;
}
.mock-post-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.15) 100%);
}
.mock-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 5px;
  min-width: 0;
}
.mock-post-platform {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  padding: 1px 5px;
  border-radius: 3px;
  line-height: 1.2;
}
.mock-post-time {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

/* Platform palettes — soft tints (not full brand saturation) */
.platform-ig .mock-post-thumb { background: linear-gradient(135deg, #FDB464 0%, #E8608A 45%, #B13E96 100%); }
.platform-ig .mock-post-platform { background: #FFEAF1; color: #B5377F; }

.platform-tt .mock-post-thumb { background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #00F5D4 100%); }
.platform-tt .mock-post-platform { background: #E5F7F3; color: #0F766E; }

.platform-yt .mock-post-thumb { background: linear-gradient(135deg, #F43F5E 0%, #BE123C 100%); }
.platform-yt .mock-post-platform { background: #FEE2E2; color: #B91C1C; }

.platform-fb .mock-post-thumb { background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%); }
.platform-fb .mock-post-platform { background: #DBEAFE; color: #1E40AF; }

.platform-tg .mock-post-thumb { background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%); }
.platform-tg .mock-post-platform { background: #E0F2FE; color: #0369A1; }

/* Draft state — muted */
.mock-post.status-draft .mock-post-thumb { filter: saturate(0.45) brightness(1.05); }
.mock-post.status-draft .mock-post-time::before {
  content: "DRAFT ";
  color: var(--text-subtle);
}

/* Toast */
.mock-toast {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: toast-in 500ms var(--ease-spring) 400ms backwards;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.mock-toast-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--success-soft);
  color: var(--success);
}
.mock-toast-text { display: flex; flex-direction: column; line-height: 1.3; }
.mock-toast-text strong {
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--text);
}
.mock-toast-text span {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   TRUST STRIP — Etap 3 — open inline layout, no boxes
   ═══════════════════════════════════════════════════════════════════ */
.trust {
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}
.trust-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}
.trust-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  letter-spacing: 0;
  max-width: 32ch;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 36px);
  flex-wrap: wrap;
}
.trust-logos li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  opacity: 0.78;
  transition: opacity var(--dur-fast);
}
.trust-logos li:hover { opacity: 1; }
.trust-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-body);
}
.trust-logos li:hover .trust-logo-ig { color: #E4405F; }
.trust-logos li:hover .trust-logo-tt { color: #111; }
.trust-logos li:hover .trust-logo-yt { color: #FF0000; }
.trust-logos li:hover .trust-logo-fb { color: #1877F2; }
.trust-logos li:hover .trust-logo-tg { color: #26A5E4; }

/* ═══════════════════════════════════════════════════════════════════
   HERO PILL as anchor (Etap 3 interactive link to features section)
   ═══════════════════════════════════════════════════════════════════ */
.hero-pill {
  cursor: pointer;
  text-decoration: none;
}
.hero-pill:not(.is-active):hover {
  color: var(--navy);
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURE EXPLORER — section shell, tabs, panels
   ═══════════════════════════════════════════════════════════════════ */
.features {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg);
}
.features-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.features-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
  align-items: center;
}
.features-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.features-heading {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy-strong);
}
.features-lede {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 56ch;
}

/* Tabs */
.features-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.features-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.features-tab:hover { color: var(--navy); background: rgba(255, 255, 255, 0.6); }
.features-tab.is-active {
  background: #fff;
  color: var(--navy);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-sm);
}
.features-tab-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  flex-shrink: 0;
}
.features-tab-icon svg { width: 14px; height: 14px; }

/* Panels */
.features-panels { position: relative; }
.features-panel {
  display: none;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  animation: fp-in 320ms var(--ease-out);
}
.features-panel.is-active { display: grid; }
@keyframes fp-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.features-panel-mock { min-width: 0; }
.features-panel-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
}
.features-panel-title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-strong);
}
.features-panel-body {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-body);
}
.features-panel-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.features-panel-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-body);
}
.features-panel-bullets li svg {
  margin-top: 5px;
  min-width: 12px;
  color: var(--success);
  flex-shrink: 0;
}
.features-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--magenta);
  transition: gap var(--dur-fast) var(--ease-out);
}
.features-panel-cta:hover { gap: 12px; }

/* Shared mock frame */
.mock-poster, .mock-ai, .mock-chat, .mock-int, .mock-an, .mock-sites, .mock-ads {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow:
    0 2px 4px rgba(17, 23, 40, 0.04),
    0 20px 40px -12px rgba(17, 23, 40, 0.10);
  overflow: hidden;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════
   MOCK — SM_Poster (month calendar)
   ═══════════════════════════════════════════════════════════════════ */
.mock-poster { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 440px; }
.mp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 12px;
  background: #FAFAF9;
  border-right: 1px solid var(--border-subtle);
}
.mp-filter-group { display: flex; flex-direction: column; gap: 6px; }
.mp-filter-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.mp-filter-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--text-body);
  cursor: pointer;
}
.mp-filter-item input { width: 12px; height: 12px; accent-color: var(--navy); }
.mp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.mp-dot-ig { background: #E4405F; }
.mp-dot-tt { background: #111; }
.mp-dot-yt { background: #FF0000; }
.mp-dot-fb { background: #1877F2; }
.mp-dot-tg { background: #26A5E4; }

.mp-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: var(--text-body);
}
.mp-leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
/* Status colors — mirror real admin */
.mp-st-draft      { background: #a0a0a0; }
.mp-st-scheduled  { background: #696cff; }
.mp-st-published  { background: #71dd37; }
.mp-st-failed     { background: #ff3e1d; }

.mp-storage {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mp-storage-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.mp-storage-val { font-family: var(--font-mono); }
.mp-storage-bar { height: 5px; border-radius: 999px; background: #EFEFEC; overflow: hidden; }
.mp-storage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--magenta));
  border-radius: 999px;
}

.mp-main { display: flex; flex-direction: column; min-width: 0; }
.mp-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.mp-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  color: var(--text);
}
.mp-view { display: inline-flex; padding: 2px; background: #F3F3F5; border-radius: 8px; }
.mp-view button {
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  border-radius: 6px;
}
.mp-view button.is-active {
  background: #fff;
  color: var(--navy);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-xs);
}

.mp-month { padding: 10px 12px 14px; }
.mp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.mp-weekdays span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  text-align: center;
  padding: 4px 0;
}
.mp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(56px, 1fr);
  gap: 2px;
  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
}
.mp-cell {
  position: relative;
  padding: 4px 6px;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #fff;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background var(--dur-fast);
}
.mp-cell:hover { background: #FBFAF8; }
.mp-cell.is-out { background: #FAFAF9; }
.mp-cell.is-out .mp-cell-num { color: var(--text-subtle); }
.mp-cell.is-today {
  background: var(--magenta-tint);
  box-shadow: inset 0 2px 0 var(--magenta);
}
.mp-cell-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  color: var(--text-body);
}
.mp-cell.is-today .mp-cell-num {
  color: #fff;
  background: var(--magenta);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.mp-cell-dots {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: auto;
}
.mp-cell-dots .mp-dot,
.mp-cell-dots .mp-st-draft,
.mp-cell-dots .mp-st-scheduled,
.mp-cell-dots .mp-st-published,
.mp-cell-dots .mp-st-failed {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════════
   MOCK — SM_AI (test console)
   ═══════════════════════════════════════════════════════════════════ */
.mock-ai { display: flex; flex-direction: column; min-height: 440px; }
.ma-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: #FAFAF9;
}
.ma-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: -0.01em;
}
.ma-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  flex: 1;
}
.ma-config, .ma-response {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ma-config { border-right: 1px solid var(--border-subtle); }
.ma-field { display: flex; flex-direction: column; gap: 4px; }
.ma-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ma-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  color: var(--text);
  background: #fff;
}
.ma-select svg { color: var(--text-muted); }
.ma-textarea {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-body);
  background: #fff;
  min-height: 46px;
}
.ma-textarea-sm { min-height: 32px; }
.ma-row { display: flex; align-items: center; gap: 14px; }
.ma-field-slider { flex: 1; }
.ma-temp-val {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--magenta);
  font-weight: var(--fw-semibold);
  margin-left: 4px;
}
.ma-slider { height: 4px; position: relative; background: #EFEFEC; border-radius: 999px; margin-top: 4px; }
.ma-slider-track {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 47%;
  background: linear-gradient(90deg, var(--navy), var(--magenta));
  border-radius: 999px;
}
.ma-slider-thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--magenta);
  box-shadow: var(--shadow-sm);
  transform: translate(-50%, -50%);
}
.ma-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-body);
  cursor: pointer;
  user-select: none;
}
.ma-toggle input { display: none; }
.ma-toggle-box {
  width: 28px;
  height: 16px;
  background: var(--border-strong);
  border-radius: 999px;
  position: relative;
  transition: background var(--dur-fast);
}
.ma-toggle-box::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--dur-fast);
}
.ma-toggle input:checked + .ma-toggle-box { background: var(--magenta); }
.ma-toggle input:checked + .ma-toggle-box::after { transform: translateX(12px); }
.ma-run {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--navy-strong);
  color: #fff;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  margin-top: 4px;
  align-self: flex-start;
}
.ma-run svg { color: #fff; }

.ma-response { background: #FBFBFA; }
.ma-response-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ma-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.ma-badge {
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}
.ma-badge-primary   { background: #EEF0FF; color: #3F4AE4; }
.ma-badge-info      { background: #E0EDFF; color: #1E40AF; }
.ma-badge-success   { background: #E6F8F1; color: #00825A; }
.ma-badge-warning   { background: #FFF3D6; color: #A16207; }
.ma-badge-secondary { background: #EFEFEC; color: var(--text-muted); }
.ma-output {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
  white-space: pre-wrap;
}
.ma-response-foot { margin-top: auto; }

/* ═══════════════════════════════════════════════════════════════════
   MOCK — SM_Telegram (flow builder canvas)
   ═══════════════════════════════════════════════════════════════════ */
.mock-chat { display: flex; flex-direction: column; min-height: 440px; }
.mc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: #FAFAF9;
}
.mc-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: -0.01em;
}
.mc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  color: var(--text-body);
}
.mc-toggle-switch {
  width: 28px;
  height: 16px;
  background: var(--border-strong);
  border-radius: 999px;
  position: relative;
  transition: background var(--dur-fast);
}
.mc-toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--dur-fast);
}
.mc-toggle-switch.is-on { background: #00B37E; }
.mc-toggle-switch.is-on::after { transform: translateX(12px); }

.mc-canvas {
  position: relative;
  flex: 1;
  min-height: 360px;
  background-image:
    radial-gradient(circle, #E4E4E9 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 0 0;
  overflow: hidden;
}
.mc-edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mc-node {
  position: absolute;
  min-width: 130px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 2;
}
.mc-node-head {
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mc-node-body {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  line-height: 1.4;
}
/* Node type colors — mirror real admin */
.mc-node-start { border-left: 3px solid #4CAF50; }
.mc-node-start .mc-node-head { color: #2E7D32; }
.mc-node-msg   { border-left: 3px solid #2196F3; }
.mc-node-msg .mc-node-head { color: #1565C0; }
.mc-node-wait  { border-left: 3px solid #FF9800; }
.mc-node-wait .mc-node-head { color: #E65100; }
.mc-node-cond  { border-left: 3px solid #9C27B0; }
.mc-node-cond .mc-node-head { color: #6A1B9A; }
.mc-node-btn   { border-left: 3px solid #00897B; }
.mc-node-btn .mc-node-head { color: #00695C; }
.mc-node-end   { border-left: 3px solid #F44336; }
.mc-node-end .mc-node-head { color: #C62828; }

/* ═══════════════════════════════════════════════════════════════════
   MOCK — SM_Integrations (connector grid)
   ═══════════════════════════════════════════════════════════════════ */
.mock-int { padding: 16px; min-height: 440px; }
.mi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.mi-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  color: var(--text);
}
.mi-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  color: var(--success);
  padding: 3px 8px;
  background: var(--success-soft);
  border-radius: 999px;
}

.mi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 0 0;
}
.mi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.mi-card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.mi-card.is-connected { background: var(--success-soft); border-color: rgba(0, 179, 126, 0.25); }
.mi-card-head { display: flex; align-items: center; gap: 9px; }
.mi-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  color: #fff;
  flex-shrink: 0;
}
/* Per-connector brand colors */
.mi-icon-instagram { background: linear-gradient(135deg, #F77737 0%, #E4405F 50%, #B13E96 100%); }
.mi-icon-tiktok    { background: linear-gradient(135deg, #111 0%, #333 100%); }
.mi-icon-youtube   { background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%); }
.mi-icon-facebook  { background: linear-gradient(135deg, #1877F2 0%, #0B5ED7 100%); }
.mi-icon-telegram  { background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%); }
.mi-icon-stripe    { background: linear-gradient(135deg, #635BFF 0%, #4A42F0 100%); }
.mi-icon-maxmind   { background: linear-gradient(135deg, #5B7CFA 0%, #3B5BDB 100%); }
.mi-icon-mautic    { background: linear-gradient(135deg, #4E5E9E 0%, #2C3E50 100%); }
.mi-icon-ga4       { background: linear-gradient(135deg, #F57C00 0%, #EF6C00 100%); }

.mi-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mi-name {
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  color: var(--text);
  line-height: 1.2;
}
.mi-cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mi-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mi-badge-ok { background: #fff; color: var(--success); border: 1px solid rgba(0, 179, 126, 0.30); }
.mi-btn {
  align-self: flex-start;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  transition: all var(--dur-fast);
}
.mi-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ═══════════════════════════════════════════════════════════════════
   MOCK — SM_Analytics (dashboard)
   ═══════════════════════════════════════════════════════════════════ */
.mock-an { padding: 16px; min-height: 440px; }
.mn-head {
  padding: 4px 4px 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.mn-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  color: var(--text);
}
.mn-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0 16px;
}
.mn-card {
  position: relative;
  padding: 12px 12px 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mn-card-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.mn-card-value-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mn-card-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  color: var(--navy-strong);
  letter-spacing: -0.02em;
  line-height: 1;
}
.mn-card-trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
}
.mn-trend-up   { color: var(--success); }
.mn-trend-down { color: #DC2626; }

.mn-card-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mn-chart {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  background: #FBFAF8;
}
.mn-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.mn-chart-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
  color: var(--text);
}
.mn-chart-legend {
  display: inline-flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}
.mn-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mn-leg {
  width: 10px;
  height: 2px;
  border-radius: 2px;
  display: inline-block;
}
.mn-leg-h { background: var(--magenta); }
.mn-leg-t { background: var(--navy); }
.mn-chart-svg { width: 100%; height: 140px; display: block; }

/* ═══════════════════════════════════════════════════════════════════
   MOCK — Sites (page builder)
   ═══════════════════════════════════════════════════════════════════ */
.mock-sites { display: flex; flex-direction: column; min-height: 440px; }
.ms-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.ms-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  color: var(--text);
}
.ms-page-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.ms-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  flex: 1;
}
.ms-canvas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #FAFAF9;
}
.ms-block {
  position: relative;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.ms-block:hover { border-color: var(--magenta); }
.ms-block-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}
.ms-block-placeholder {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ms-placeholder-title {
  width: 60%;
  height: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--border-subtle), var(--bg-alt));
}
.ms-placeholder-title-sm { width: 40%; height: 12px; }
.ms-placeholder-text {
  width: 80%;
  height: 10px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--border-subtle), var(--bg-alt));
}
.ms-placeholder-btn {
  width: 80px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--magenta);
  opacity: 0.25;
}
.ms-block-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ms-grid-item {
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-alt), #fff);
  border: 1px solid var(--border-subtle);
}
.ms-block-placeholder-sm { gap: 6px; }
.ms-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px 12px;
  border-left: 1px solid var(--border-subtle);
  background: #fff;
}
.ms-sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ms-sidebar-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ms-layer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-body);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.ms-layer:hover { background: var(--bg-alt); }
.ms-layer-active {
  background: var(--tint-magenta-bg);
  color: var(--tint-magenta-fg);
  font-weight: var(--fw-semibold);
}
.ms-layer-icon {
  width: 16px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}
.ms-style-row {
  display: flex;
  gap: 6px;
}
.ms-style-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out);
}
.ms-style-swatch:hover { transform: scale(1.15); }

/* ═══════════════════════════════════════════════════════════════════
   MOCK — Ads (campaign dashboard)
   ═══════════════════════════════════════════════════════════════════ */
.mock-ads { display: flex; flex-direction: column; min-height: 440px; }
.mad-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.mad-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  color: var(--text);
}
.mad-table {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mad-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 80px repeat(3, minmax(0, 1fr));
  gap: 4px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-body);
}
.mad-row-header {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #FAFAF9;
}
.mad-col-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--fw-semibold);
  color: var(--navy-strong);
}
.mad-camp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mad-col-metric {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.mad-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mad-badge-active { background: #e6f7d9; color: #2c8c1a; }
.mad-badge-draft  { background: #ececef; color: #6a6a6a; }
.mad-badge-paused { background: #fff3d9; color: #b66a00; }
.mad-chart {
  padding: 12px 16px 16px;
}
.mad-chart-svg {
  width: 100%;
  height: 100px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   PRICING — Hub cards grid (home page)
   ═══════════════════════════════════════════════════════════════════ */
.hub-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1080px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.hub-card--featured {
  border-color: var(--magenta);
  box-shadow: 0 0 0 1px var(--magenta), var(--shadow-sm);
}
.hub-card-name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.015em;
  color: var(--navy-strong);
}
.hub-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hub-card-plan {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.hub-card-plan strong {
  color: var(--navy-strong);
}

.pricing-full-link {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.pricing-full-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  color: var(--magenta);
  transition: gap var(--dur-fast) var(--ease-out);
}
.pricing-full-link a:hover { gap: 12px; }

/* ═══════════════════════════════════════════════════════════════════
   HOW IT WORKS — Etap 4A — 4-step open-layout flow
   ═══════════════════════════════════════════════════════════════════ */
.how {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg-alt);
  position: relative;
}
.how-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.how-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  align-items: center;
}
.how-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.how-heading {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy-strong);
}
.how-lede {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 60ch;
}

.how-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
  margin: 0;
  padding: 0;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.how-step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  position: relative;
}

/* Numeric badge — large, tinted, with short connector line */
.how-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.04em;
  line-height: 1;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.how-step--peach   .how-step-num { background: var(--tint-peach-bg);   color: var(--tint-peach-fg); }
.how-step--magenta .how-step-num { background: var(--tint-magenta-bg); color: var(--tint-magenta-fg); }
.how-step--sky     .how-step-num { background: var(--tint-sky-bg);     color: var(--tint-sky-fg); }
.how-step--sage    .how-step-num { background: var(--tint-sage-bg);    color: var(--tint-sage-fg); }

/* Vertical timeline line connecting numbers (not on last step) */
.how-step-line {
  position: absolute;
  left: 44px;
  top: 88px;
  width: 2px;
  height: calc(100% + clamp(40px, 5vw, 64px) - 88px);
  background: linear-gradient(180deg, var(--border) 0%, var(--border-subtle) 50%, transparent 100%);
  z-index: 1;
}

.how-step-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  min-width: 0;
}
.how-step-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-strong);
}
.how-step-text {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 50ch;
}
.how-step-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.how-step--peach   .how-step-meta { color: var(--tint-peach-fg); }
.how-step--magenta .how-step-meta { color: var(--tint-magenta-fg); }
.how-step--sky     .how-step-meta { color: var(--tint-sky-fg); }
.how-step--sage    .how-step-meta { color: var(--tint-sage-fg); }

/* Mini-illustration column */
.how-step-illu {
  padding-top: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.how-illu {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Illu 1 — connect chips */
.how-illu--connect {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.how-illu-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
}
.how-illu-chip--ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b 50%, #6228d7); color: #fff; }
.how-illu-chip--tt { background: #000; color: #fff; }
.how-illu-chip--yt { background: #ff0033; color: #fff; }
.how-illu-chip--fb { background: #1877f2; color: #fff; }
.how-illu-chip--tg { background: #229ed9; color: #fff; }

/* Illu 2 — plan rows (calendar bars) */
.how-illu--plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.how-illu-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.how-illu-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.how-illu-dot--draft     { background: #a0a0a0; }
.how-illu-dot--scheduled { background: #696cff; }
.how-illu-dot--published { background: #71dd37; }
.how-illu-bar {
  height: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--border-subtle), var(--bg-alt));
}
.how-illu-row:nth-child(odd) .how-illu-bar { background: linear-gradient(90deg, #e9eafc, #f5f5fa); }

/* Illu 3 — queue rows */
.how-illu--queue {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}
.how-illu-q-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.how-illu-q-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.how-illu-q-dot--ok     { background: #71dd37; }
.how-illu-q-dot--retry  { background: #ffab00; }
.how-illu-q-dot--queued { background: #a0a0a0; }
.how-illu-q-label { color: var(--text-body); font-weight: var(--fw-semibold); }
.how-illu-q-status {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.how-illu-q-status--ok     { color: #2c8c1a; background: #e6f7d9; }
.how-illu-q-status--retry  { color: #b66a00; background: #fff3d9; }
.how-illu-q-status--queued { color: #6a6a6a; background: #ececef; }

/* Illu 4 — measure chart */
.how-illu--measure {
  padding: 12px 14px;
  color: var(--tint-sage-fg);
}
.how-illu-chart {
  width: 100%;
  height: 80px;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .how-step {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .how-step-illu { display: none; }
  .how-step-num {
    width: 64px;
    height: 64px;
    font-size: 1.85rem;
  }
  .how-step-line {
    left: 32px;
    top: 64px;
    height: calc(100% + clamp(40px, 5vw, 64px) - 64px);
  }
}
@media (max-width: 540px) {
  .how-step-title { font-size: var(--fs-xl); }
  .how-step-text  { font-size: var(--fs-base); }
}

/* ═══════════════════════════════════════════════════════════════════
   SOCIAL PROOF — Etap 4B — logos + testimonials + metrics
   ═══════════════════════════════════════════════════════════════════ */
.proof {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg);
}
.proof-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Logo strip — monochrome, low contrast, decorative */
.proof-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: clamp(56px, 7vw, 88px);
}
.proof-logos-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.proof-logos-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  padding: 0;
  margin: 0;
}
.proof-logo {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  color: var(--text-muted);
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.proof-logo:hover {
  opacity: 1;
  color: var(--navy);
}
.proof-logo:nth-child(2) { font-style: italic; }
.proof-logo:nth-child(4) { font-weight: var(--fw-extrabold); letter-spacing: -0.02em; }
.proof-logo:nth-child(5) { font-family: var(--font-mono); font-size: var(--fs-sm); }
.proof-logo:nth-child(6) { font-weight: var(--fw-medium); letter-spacing: 0.1em; text-transform: uppercase; font-size: var(--fs-sm); }

/* Heading */
.proof-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
  align-items: center;
}
.proof-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.proof-heading {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy-strong);
}

/* Testimonials — asymmetric grid: lead (left) + stack (right) */
.proof-quotes {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto clamp(72px, 9vw, 112px);
}
.proof-quotes-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}

.proof-quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  margin: 0;
}
.proof-quote--lead {
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.proof-quote--small {
  padding: clamp(20px, 2.5vw, 28px);
  flex: 1;
}

.proof-quote-mark {
  color: var(--magenta);
  opacity: 0.85;
}

.proof-quote-text {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--navy-strong);
  flex: 1;
}
.proof-quote--lead .proof-quote-text {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
}
.proof-quote--small .proof-quote-text {
  font-size: var(--fs-base);
  line-height: 1.55;
  font-weight: var(--fw-regular);
  color: var(--text-body);
}

.proof-quote-cite {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.proof-quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.proof-quote-avatar--mk { background: var(--tint-magenta-bg); color: var(--tint-magenta-fg); }
.proof-quote-avatar--tw { background: var(--tint-sky-bg);     color: var(--tint-sky-fg); }
.proof-quote-avatar--ad { background: var(--tint-sage-bg);    color: var(--tint-sage-fg); }
.proof-quote-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.proof-quote-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--navy-strong);
}
.proof-quote-role {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Metric callouts — open row, no boxes, divider lines between */
.proof-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0 auto;
  max-width: 1080px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.proof-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: clamp(28px, 4vw, 44px) 16px;
  border-left: 1px solid var(--border-subtle);
}
.proof-metric:first-child { border-left: 0; }
.proof-metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--magenta);
}
.proof-metric-label {
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--text-body);
  max-width: 22ch;
}

/* Responsive */
@media (max-width: 900px) {
  .proof-quotes {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof-metric:nth-child(2) { border-left: 1px solid var(--border-subtle); }
  .proof-metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--border-subtle); }
  .proof-metric:nth-child(4) { border-top: 1px solid var(--border-subtle); }
}
@media (max-width: 540px) {
  .proof-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof-metric { border-left: 0; border-top: 1px solid var(--border-subtle); }
  .proof-metric:first-child { border-top: 0; }
  .proof-quote--lead .proof-quote-text { font-size: var(--fs-lg); }
}

/* ═══════════════════════════════════════════════════════════════════
   SECURITY & COMPLIANCE — Etap 4C — dark navy section
   ═══════════════════════════════════════════════════════════════════ */
.sec {
  position: relative;
  padding: clamp(80px, 11vw, 128px) 0;
  background: var(--navy-strong);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Decorative bg: subtle grid + magenta glow */
.sec-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sec-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
}
.sec-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 25, 90, 0.18) 0%, rgba(210, 25, 90, 0.05) 40%, transparent 70%);
  filter: blur(20px);
}

.sec-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Heading */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto clamp(56px, 7vw, 88px);
  text-align: center;
  align-items: center;
}
.sec-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}
.sec-heading {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: #fff;
}
.sec-lede {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  max-width: 60ch;
}

/* 6-item grid */
.sec-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 64px);
  padding: 0;
  margin: 0 auto clamp(48px, 6vw, 72px);
  max-width: 1080px;
}
.sec-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
  position: relative;
}
.sec-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(210, 25, 90, 0.16);
  color: #ff6aa1;
  border: 1px solid rgba(210, 25, 90, 0.32);
  flex-shrink: 0;
}
.sec-item:nth-child(2) .sec-item-icon,
.sec-item:nth-child(5) .sec-item-icon {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
}
.sec-item-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: #fff;
}
.sec-item-body {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 38ch;
}

/* Footnote */
.sec-footnote {
  text-align: center;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 60ch;
  margin: 0 auto;
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 900px) {
  .sec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .sec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PRICING — Etap 5 — 3 plans + billing toggle
   ═══════════════════════════════════════════════════════════════════ */
.pricing {
  padding: clamp(80px, 11vw, 128px) 0;
  background: var(--bg);
}
.pricing-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.pricing-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
  align-items: center;
}
.pricing-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.pricing-heading {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy-strong);
}
.pricing-lede {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 56ch;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 12px;
  padding: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}
.billing-toggle-opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.billing-toggle-opt.is-active {
  background: var(--navy-strong);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.billing-toggle-opt:hover:not(.is-active) {
  color: var(--navy);
}
.billing-toggle-save {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  color: var(--success);
}
.billing-toggle-opt.is-active .billing-toggle-save {
  background: rgba(0, 179, 126, 0.25);
  color: #6dffc7;
}

/* Plans grid */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
  max-width: 1080px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(28px, 3.5vw, 40px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.plan--featured {
  background: linear-gradient(180deg, var(--navy-strong) 0%, var(--navy) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 40px -12px rgba(15, 19, 64, 0.5);
}
.plan--featured:hover {
  box-shadow: 0 24px 56px -12px rgba(15, 19, 64, 0.6);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--magenta);
  color: #fff;
  white-space: nowrap;
}

.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.012em;
  color: var(--navy-strong);
}
.plan--featured .plan-name { color: #fff; }
.plan-desc {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-muted);
}
.plan--featured .plan-desc { color: rgba(255, 255, 255, 0.65); }

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.plan--featured .plan-price { border-color: rgba(255, 255, 255, 0.1); }
.plan-price-currency {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  margin-bottom: 8px;
}
.plan--featured .plan-price-currency { color: rgba(255, 255, 255, 0.5); }
.plan-price-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy-strong);
}
.plan--featured .plan-price-value { color: #fff; }
.plan-price-per {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 6px;
  margin-left: 4px;
}
.plan--featured .plan-price-per { color: rgba(255, 255, 255, 0.55); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  flex: 1;
}
.plan-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-body);
}
.plan--featured .plan-feat { color: rgba(255, 255, 255, 0.85); }
.plan-feat svg {
  margin-top: 4px;
  min-width: 14px;
  color: var(--success);
  flex-shrink: 0;
}
.plan--featured .plan-feat svg { color: #6dffc7; }
.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.005em;
  transition: all var(--dur-fast) var(--ease-out);
  margin-top: auto;
}
.plan-cta--ghost {
  background: var(--bg-alt);
  color: var(--navy);
  border: 1px solid var(--border);
}
.plan-cta--ghost:hover {
  background: #fff;
  border-color: var(--navy);
  color: var(--navy-strong);
}
.plan-cta--primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(210, 25, 90, 0.5);
}
.plan-cta--primary:hover {
  background: var(--magenta-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -4px rgba(210, 25, 90, 0.6);
}

/* Enterprise inline CTA */
.pricing-enterprise {
  text-align: center;
  font-size: var(--fs-md);
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto;
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--border-subtle);
}
.pricing-enterprise-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  font-weight: var(--fw-semibold);
  color: var(--magenta);
  transition: gap var(--dur-fast) var(--ease-out);
}
.pricing-enterprise-link:hover { gap: 10px; }

@media (max-width: 900px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .plan--featured { order: -1; }
}

/* Pricing PAGE — extra top padding to clear sticky nav */
.pricing--page { padding-top: clamp(120px, 14vw, 168px); }

/* ═══════════════════════════════════════════════════════════════════
   FAQ — Etap 5 — accordion
   ═══════════════════════════════════════════════════════════════════ */
.faq {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg-alt);
}
.faq-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.faq-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(40px, 5vw, 56px);
  text-align: center;
  align-items: center;
}
.faq-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.faq-heading {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy-strong);
}

.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--navy-strong);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq-q:hover { color: var(--magenta); }
.faq-q-text { flex: 1; }
.faq-q-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--dur) var(--ease-out);
}
.faq-item.open .faq-q-icon { transform: rotate(180deg); color: var(--magenta); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease-out);
}
.faq-item.open .faq-a {
  max-height: 480px;
}
.faq-a p {
  padding: 0 4px 22px;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 68ch;
}

/* ═══════════════════════════════════════════════════════════════════
   FINAL CTA BAND — Etap 5 — magenta gradient
   ═══════════════════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-deep) 60%, #7a0e35 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cta-band-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.cta-band-glow--1 {
  width: 480px;
  height: 480px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, #ff5c93 0%, transparent 70%);
}
.cta-band-glow--2 {
  width: 540px;
  height: 540px;
  bottom: -220px;
  right: -160px;
  background: radial-gradient(circle, #ffb0d2 0%, transparent 70%);
  opacity: 0.35;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-band-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}
.cta-band-heading {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: #fff;
}
.cta-band-desc {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 24px;
  margin-top: 8px;
}
.btn-light {
  background: #fff;
  color: var(--magenta-deep);
  font-weight: var(--fw-bold);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.25);
}
.btn-light:hover {
  background: #fff;
  color: var(--magenta);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.3);
}
.cta-band-secondary {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.005em;
  transition: color var(--dur-fast) var(--ease-out);
}
.cta-band-secondary:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   CONTACT page — info column + form card
   ═══════════════════════════════════════════════════════════════════ */
.contact {
  padding: clamp(120px, 14vw, 168px) 0 clamp(80px, 10vw, 128px);
  background: var(--bg);
}
.contact-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.contact-heading {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy-strong);
}
.contact-lede {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 50ch;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 16px 0 0;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--magenta-soft);
  color: var(--magenta);
  flex-shrink: 0;
}
.contact-detail-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-detail-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-detail-value {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--navy-strong);
}
.contact-detail-value--link {
  color: var(--magenta);
  transition: color var(--dur-fast) var(--ease-out);
}
.contact-detail-value--link:hover { color: var(--magenta-deep); }

/* Form card */
.contact-form-wrap { width: 100%; }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}

.contact-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: 24px;
}
.contact-flash--success {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(0, 179, 126, 0.25);
}
.contact-flash--error {
  background: #fff5f5;
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
  align-items: flex-start;
}
.contact-flash--error svg { margin-top: 2px; flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--navy-strong);
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-required { color: var(--magenta); font-weight: var(--fw-bold); }

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.4;
  color: var(--navy-strong);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.form-input::placeholder { color: var(--text-subtle); }
.form-input:hover { border-color: var(--text-muted); }
.form-input:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: var(--shadow-focus);
}
.form-textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236B6F8B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════
   TOOL DETAIL page — hero, benefits, walkthrough, related, plan strip
   ═══════════════════════════════════════════════════════════════════ */

/* Tool hero */
.tool-hero {
  padding: clamp(120px, 14vw, 168px) 0 clamp(56px, 7vw, 88px);
  background: var(--bg);
  position: relative;
}
.tool-hero-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.tool-hero-content { display: flex; flex-direction: column; gap: 20px; }
.tool-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--magenta-soft);
  color: var(--magenta-deep);
  width: fit-content;
}
.tool-hero-badge-icon { display: inline-flex; width: 16px; height: 16px; }
.tool-hero-badge-icon svg { width: 16px; height: 16px; }
.tool-hero-badge-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tool-hero-heading {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy-strong);
}
.tool-hero-lede {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 56ch;
}
.tool-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.tool-hero-visual { min-width: 0; }
.tool-hero-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tool-hero-mock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-subtle);
}
.tool-hero-mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}
.tool-hero-mock-dot:nth-child(1) { background: #ff5f57; }
.tool-hero-mock-dot:nth-child(2) { background: #febc2e; }
.tool-hero-mock-dot:nth-child(3) { background: #28c840; }
.tool-hero-mock-title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.tool-hero-mock-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.tool-hero-mock-bar {
  height: 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--magenta-soft), var(--bg-alt));
}
.tool-hero-mock-bar--lg { width: 100%; background: linear-gradient(90deg, var(--magenta-soft), #fff5f9 80%); }
.tool-hero-mock-bar--md { width: 75%; }
.tool-hero-mock-bar--sm { width: 50%; }
.tool-hero-mock-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  padding: 14px 0 0;
  margin: 6px 0 0;
  border-top: 1px solid var(--border-subtle);
}
.tool-hero-mock-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.tool-hero-mock-stat-val {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  color: var(--magenta);
}
.tool-hero-mock-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .tool-hero-inner { grid-template-columns: minmax(0, 1fr); }
}

/* ── Tool features checklist + hub mock ─────────────────────────── */
.tool-features {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--surface-subtle, #fafafa);
}
.tool-features-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.tool-features-head { text-align: center; }
.tool-features-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--magenta, #c850c0);
  margin-bottom: 8px;
}
.tool-features-heading {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--navy, #0d1f3c);
  margin: 0;
}

.tool-features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px 24px;
}
.tool-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-body, #2d3748);
}
.tool-feature-check {
  flex-shrink: 0;
  color: var(--magenta, #c850c0);
}

/* Hub mock container */
.tool-features-mock {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.09);
  background: #fff;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

/* Shared mock chrome */
.hub-mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
}
.hub-mock-flow-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}
.hub-mock-dot:nth-child(1) { background: #ff5f57; }
.hub-mock-dot:nth-child(2) { background: #febc2e; }
.hub-mock-dot:nth-child(3) { background: #28c840; }
.hub-mock-title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: .02em;
}

/* Flow builder mock — Conversations */
.hub-mock-flow-canvas {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: 200px;
  background: #f9fafb;
}
.hub-mock-node {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  color: #374151;
  white-space: nowrap;
}
.hub-mock-node--start   { border-color: var(--sky, #38b2f0); color: var(--sky, #38b2f0); }
.hub-mock-node--message { border-color: var(--magenta, #c850c0); color: var(--magenta, #c850c0); }
.hub-mock-node--condition { border-color: #f59e0b; color: #f59e0b; }
.hub-mock-node--action  { border-color: #10b981; color: #10b981; font-size: 12px; }
.hub-mock-edge {
  width: 2px; height: 20px;
  background: #d1d5db;
  margin: 0 auto;
}
.hub-mock-row { display: flex; align-items: flex-start; gap: 16px; }
.hub-mock-branch { display: flex; flex-direction: column; gap: 8px; }

/* Website builder mock — Sites */
.hub-mock-builder-body {
  display: grid;
  grid-template-columns: 90px 1fr;
  min-height: 200px;
}
.hub-mock-builder-sidebar {
  background: #f3f4f6;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
  gap: 4px;
}
.hub-mock-sb-item {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #6b7280;
  cursor: default;
}
.hub-mock-sb-item--active {
  background: #fff;
  color: var(--magenta, #c850c0);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.hub-mock-builder-canvas {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f9fafb;
}
.hub-mock-canvas-hero {
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--sage, #6ecb8a) 0%, #d1fae5 100%);
  opacity: .7;
}
.hub-mock-canvas-row { display: flex; gap: 8px; }
.hub-mock-canvas-col {
  flex: 1;
  height: 40px;
  border-radius: 6px;
  background: #e5e7eb;
}

/* Ads dashboard mock */
.hub-mock-dashboard-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f9fafb;
}
.hub-mock-metrics { display: flex; gap: 16px; }
.hub-mock-metric {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.hub-mock-metric-val {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy, #0d1f3c);
}
.hub-mock-metric-label {
  font-size: 11px;
  color: #9ca3af;
}
.hub-mock-chart {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.hub-mock-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
}
.hub-mock-bar-col {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--magenta, #c850c0) 0%, #f9a8d4 100%);
  opacity: .75;
}

/* Social calendar mock */
.hub-mock-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #e5e7eb;
  padding: 0 0 16px;
}
.hub-mock-cal-head {
  background: #f9fafb;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  padding: 8px 0;
}
.hub-mock-cal-day {
  background: #fff;
  min-height: 44px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.hub-mock-cal-day--post { background: #fdf4ff; }
.hub-mock-cal-num {
  font-size: 11px;
  color: #9ca3af;
}
.hub-mock-cal-pill {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--magenta, #c850c0);
  opacity: .5;
}

/* Generic baseline tool mock */
.hub-mock-generic-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f9fafb;
}
.hub-mock-bar { height: 12px; border-radius: 6px; background: #e5e7eb; }
.hub-mock-bar--lg { width: 100%; }
.hub-mock-bar--md { width: 72%; }
.hub-mock-bar--sm { width: 48%; }

/* ── Tool benefits */
.tool-benefits {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--bg-alt);
}
.tool-benefits-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.tool-benefits-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
  align-items: center;
}
.tool-benefits-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.tool-benefits-heading {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy-strong);
}
.tool-benefits-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  padding: 0;
  margin: 0;
}
.tool-benefit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tool-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--magenta-soft);
  color: var(--magenta);
  margin-bottom: 4px;
}
.tool-benefit-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.012em;
  color: var(--navy-strong);
}
.tool-benefit-desc {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-body);
}
@media (max-width: 900px) { .tool-benefits-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }

/* Tool walkthrough — alternating splits */
.tool-walkthrough {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg);
}
.tool-walkthrough-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9vw, 112px);
}
.tool-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.tool-step--reversed .tool-step-content { order: 2; }
.tool-step--reversed .tool-step-visual { order: 1; }
.tool-step-content { display: flex; flex-direction: column; gap: 14px; }
.tool-step-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.tool-step-heading {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-strong);
}
.tool-step-desc {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 50ch;
}
.tool-step-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.tool-step-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-body);
}
.tool-step-bullets svg {
  margin-top: 4px;
  min-width: 14px;
  color: var(--success);
  flex-shrink: 0;
}
.tool-step-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tool-step-mock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-subtle);
}
.tool-step-mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}
.tool-step-mock-dot:nth-child(1) { background: #ff5f57; }
.tool-step-mock-dot:nth-child(2) { background: #febc2e; }
.tool-step-mock-dot:nth-child(3) { background: #28c840; }
.tool-step-mock-title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.tool-step-mock-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.tool-step-mock-bar { height: 12px; border-radius: var(--radius-pill); background: var(--bg-alt); }
.tool-step-mock-bar--lg { width: 100%; background: linear-gradient(90deg, var(--magenta-soft), #fff5f9); }
.tool-step-mock-bar--md { width: 75%; }
.tool-step-mock-bar--sm { width: 50%; }
@media (max-width: 900px) {
  .tool-step { grid-template-columns: minmax(0, 1fr); }
  .tool-step--reversed .tool-step-content { order: 1; }
  .tool-step--reversed .tool-step-visual { order: 2; }
}

/* Plan availability strip */
.tool-plan {
  padding: clamp(56px, 7vw, 88px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.tool-plan-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.tool-plan-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tool-plan-heading {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--navy-strong);
}
.tool-plan-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--magenta);
  background: var(--magenta-soft);
  border-radius: var(--radius-pill);
  vertical-align: middle;
}

/* Related tools */
.tool-related {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--bg);
}
.tool-related-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.tool-related-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.tool-related-heading {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--navy-strong);
}
.tool-related-lede {
  font-size: var(--fs-md);
  color: var(--text-body);
}
.tool-related-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding: 0;
  margin: 0;
}
.tool-related-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.tool-related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.tool-related-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--magenta-soft);
  color: var(--magenta);
  flex-shrink: 0;
}
.tool-related-card-icon svg { width: 20px; height: 20px; }
.tool-related-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tool-related-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--navy-strong);
}
.tool-related-card-desc {
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text-muted);
}
.tool-related-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta);
  flex-shrink: 0;
}
.tool-related-card:hover .tool-related-card-arrow { gap: 8px; }

/* ═══════════════════════════════════════════════════════════════════
   TOOLS INDEX page — 5 tool cards in grid
   ═══════════════════════════════════════════════════════════════════ */
.tools-index {
  padding: clamp(120px, 14vw, 168px) 0 clamp(72px, 9vw, 112px);
  background: var(--bg);
}
.tools-index-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.tools-index-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
  align-items: center;
}
.tools-index-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.tools-index-heading {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy-strong);
}
.tools-index-lede {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 56ch;
}
.tools-index-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
  padding: 0;
  margin: 0;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.tool-card-head { display: flex; align-items: center; gap: 14px; }
.tool-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--magenta-soft);
  color: var(--magenta);
  flex-shrink: 0;
}
.tool-card-icon svg { width: 22px; height: 22px; }
.tool-card-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tool-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.012em;
  color: var(--navy-strong);
}
.tool-card-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tool-card-desc {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-body);
}
.tool-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.tool-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text-body);
}
.tool-card-features svg {
  margin-top: 4px;
  min-width: 12px;
  color: var(--success);
  flex-shrink: 0;
}
.tool-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta);
  transition: gap var(--dur-fast) var(--ease-out);
}
.tool-card:hover .tool-card-cta { gap: 12px; }

/* ═══════════════════════════════════════════════════════════════════
   TOOLS INDEX — hub cards (4 large) + baseline section
   ═══════════════════════════════════════════════════════════════════ */

/* Hub grid — 2 columns on desktop, 1 on mobile */
.hubs-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}
@media (max-width: 768px) {
  .hubs-grid { grid-template-columns: 1fr; }
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: clamp(28px, 3.5vw, 40px);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-2xl);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.hub-card-head { display: flex; align-items: flex-start; gap: 16px; }

.hub-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}
.hub-card-icon svg { width: 24px; height: 24px; }

.hub-card-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.hub-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.015em;
  color: var(--navy-strong);
}

.hub-card-short {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

.hub-card-desc {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-body);
}

.hub-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hub-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text-body);
}
.hub-card-features svg {
  min-width: 12px;
  color: var(--success);
  flex-shrink: 0;
}
.hub-card-feature--coming { color: var(--text-muted); }
.hub-card-feature--coming svg { color: var(--text-muted); }

.coming-soon-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--tint-navy-bg);
  color: var(--tint-navy-fg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  line-height: 1.8;
}

.hub-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta);
  transition: gap var(--dur-fast) var(--ease-out);
}
.hub-card:hover .hub-card-cta { gap: 12px; }

/* Hub card — tint accent on icon + border-top on hover */
.hub-card.tint-sky .hub-card-icon    { background: var(--tint-sky-bg);     color: var(--tint-sky-fg); }
.hub-card.tint-sage .hub-card-icon   { background: var(--tint-sage-bg);    color: var(--tint-sage-fg); }
.hub-card.tint-peach .hub-card-icon  { background: var(--tint-peach-bg);   color: var(--tint-peach-fg); }
.hub-card.tint-magenta .hub-card-icon{ background: var(--tint-magenta-bg); color: var(--tint-magenta-fg); }
.hub-card.tint-navy .hub-card-icon   { background: var(--tint-navy-bg);    color: var(--tint-navy-fg); }

/* Baseline section */
.baseline-section {
  margin-top: clamp(56px, 7vw, 88px);
}

.baseline-section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 40px);
  text-align: center;
  align-items: center;
}

.baseline-section-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.baseline-section-heading {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--navy-strong);
}

.baseline-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.5vw, 16px);
}
@media (max-width: 900px) {
  .baseline-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .baseline-grid { grid-template-columns: repeat(2, 1fr); }
}

.baseline-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(18px, 2.5vw, 24px) 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.baseline-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

.baseline-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.baseline-card-icon svg { width: 20px; height: 20px; }

.baseline-card-icon.tint-sky     { background: var(--tint-sky-bg);     color: var(--tint-sky-fg); }
.baseline-card-icon.tint-sage    { background: var(--tint-sage-bg);    color: var(--tint-sage-fg); }
.baseline-card-icon.tint-peach   { background: var(--tint-peach-bg);   color: var(--tint-peach-fg); }
.baseline-card-icon.tint-magenta { background: var(--tint-magenta-bg); color: var(--tint-magenta-fg); }
.baseline-card-icon.tint-navy    { background: var(--tint-navy-bg);    color: var(--tint-navy-fg); }

.baseline-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--navy-strong);
  letter-spacing: -0.01em;
}

.baseline-card-desc {
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   PAGE (privacy / terms / generic content) — TOC + prose body
   ═══════════════════════════════════════════════════════════════════ */
.page {
  padding: clamp(120px, 14vw, 168px) 0 clamp(72px, 9vw, 112px);
  background: var(--bg);
}
.page-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

/* When no TOC, single-column body */
.page-body--standalone { max-width: 720px; margin: 0 auto; grid-column: 1 / -1; }

/* TOC sidebar — sticky */
.page-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-left: 1px solid var(--border-subtle);
  padding-left: 20px;
}
.page-toc-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.page-toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-toc-link {
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text-body);
  transition: color var(--dur-fast) var(--ease-out);
}
.page-toc-link:hover,
.page-toc-link.is-active {
  color: var(--magenta);
  font-weight: var(--fw-semibold);
}

/* Body */
.page-body { min-width: 0; max-width: 720px; }
.page-updated {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.page-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy-strong);
  margin-bottom: clamp(28px, 4vw, 40px);
}

/* Prose — generic article content (h2/h3/p/ul/ol/code/blockquote) */
.prose {
  color: var(--text-body);
  font-size: var(--fs-base);
  line-height: 1.7;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--navy-strong);
  margin-top: 48px;
  margin-bottom: 16px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.012em;
  color: var(--navy-strong);
  margin-top: 32px;
  margin-bottom: 12px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose a {
  color: var(--magenta);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-decoration-color: rgba(210, 25, 90, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.prose a:hover { text-decoration-color: var(--magenta); }
.prose ul, .prose ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.prose ul li, .prose ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.prose ul li::marker { color: var(--magenta); }
.prose ol li::marker { color: var(--text-muted); font-weight: var(--fw-semibold); }
.prose strong { color: var(--navy-strong); font-weight: var(--fw-semibold); }
.prose em { font-style: italic; color: var(--text-body); }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--navy-strong);
  border: 1px solid var(--border-subtle);
}
.prose pre {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--navy-strong);
  color: #e9eafc;
  overflow-x: auto;
  margin: 0 0 16px;
}
.prose pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}
.prose blockquote {
  margin: 0 0 16px;
  padding: 12px 20px;
  border-left: 3px solid var(--magenta);
  background: var(--magenta-tint);
  color: var(--text-body);
  font-style: italic;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

@media (max-width: 900px) {
  .page-inner { grid-template-columns: minmax(0, 1fr); }
  .page-toc {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--border-subtle);
    padding: 16px 0 0;
    padding-left: 0;
    order: 2;
  }
  .page-body { order: 1; }
}

/* ═══════════════════════════════════════════════════════════════════
   PLACEHOLDER (Etap 1) — removed in Etap 2
   ═══════════════════════════════════════════════════════════════════ */
.etap-placeholder {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-12) var(--pad-x);
  text-align: center;
}
.etap-placeholder h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-4);
  color: var(--navy);
}
.etap-placeholder .etap-sub {
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin-bottom: var(--space-7);
}
.etap-placeholder .etap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  text-align: left;
  margin-bottom: var(--space-8);
}
.etap-placeholder .etap-item {
  padding: var(--space-5);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.etap-placeholder .etap-item strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  margin-bottom: 4px;
}
.etap-placeholder .etap-item span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.etap-placeholder .etap-item.done { border-color: var(--success); background: var(--success-soft); }
.etap-placeholder .etap-item.done strong { color: var(--success); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 640px; }
  .hero-visual { max-width: 720px; margin: 0 auto; width: 100%; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: span 3; }
}

@media (max-width: 900px) {
  .sm-nav-center, .sm-nav-right { display: none; }
  .sm-nav-burger { display: flex; }

  .mock-body { grid-template-columns: 160px 1fr; min-height: 400px; }
  .mock-sidebar-label { display: none; }
  .mock-sidebar-item { grid-template-columns: 26px auto; }
  .mock-workspace-name { font-size: 0.75rem; }
}

@media (max-width: 960px) {
  .features-panel { grid-template-columns: 1fr; gap: 32px; }
  .features-panel-copy { max-width: 640px; }

  .mock-poster { grid-template-columns: 140px 1fr; }
  .mp-filter-item { font-size: 0.7rem; }
  .mp-cell { min-height: 50px; }

  .ma-body { grid-template-columns: 1fr; }
  .ma-config { border-right: none; border-bottom: 1px solid var(--border-subtle); }

  .mc-canvas { min-height: 320px; }
  .mc-node { min-width: 110px; padding: 6px 10px; }
  .mc-node-head { font-size: 0.68rem; }
  .mc-node-body { font-size: 0.62rem; }

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

  .ms-body { grid-template-columns: 1fr; }
  .ms-sidebar { border-left: none; border-top: 1px solid var(--border-subtle); flex-direction: row; gap: 20px; }

  .mad-row { grid-template-columns: minmax(0, 1.4fr) 70px repeat(3, minmax(0, 1fr)); font-size: 0.72rem; }

  .hub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hero { padding-top: 32px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .trust-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .trust-logos { gap: 14px; }

  .features-tabs {
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .features-tab { padding: 8px 12px; }
  .features-tab-label { font-size: 0.8rem; }

  .mock-poster { grid-template-columns: 1fr; }
  .mp-sidebar { flex-direction: row; gap: 14px; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .mp-storage { margin-top: 0; padding-top: 0; border-top: none; min-width: 140px; }

  .mi-grid { grid-template-columns: 1fr; }
  .mn-cards { grid-template-columns: repeat(2, 1fr); }
  .mn-chart-svg { height: 110px; }

  .ms-sidebar { display: none; }
  .mad-row { grid-template-columns: minmax(0, 1fr) 60px 1fr; padding: 8px 12px; }
  .mad-col-metric:nth-child(n+5) { display: none; }

  .hub-cards { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }

  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-main-head { padding: 10px 12px; }
  .mock-main-actions { flex-wrap: wrap; }
  .mock-calendar { min-height: 280px; }
  .mock-day-head { padding: 2px 0 6px; }
  .mock-day-num { font-size: 0.75rem; }
  .mock-day.is-today .mock-day-num { width: 20px; height: 20px; font-size: 0.625rem; }
  .mock-post-meta { padding: 3px 4px; }
  .mock-toast { right: 10px; bottom: 10px; padding: 8px 10px; }
  .mock-toast-text strong { font-size: 0.75rem; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-grid .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ───────────────────────────────────────────
   Use Cases page
   ─────────────────────────────────────────── */
.uc-hero { padding: 100px 24px 40px; text-align: center; }
.uc-hero-inner { max-width: 680px; margin: 0 auto; }
.uc-heading { font-size: 2.4rem; font-weight: 700; line-height: 1.2; color: var(--text); margin: 0 0 16px; }
.uc-lede { font-size: 1.1rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

.uc-personas { padding: 0 24px 60px; }
.uc-personas-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.uc-card {
  background: #fff; border-radius: 16px;
  border: 1px solid var(--border);
  padding: 32px; display: flex; flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.uc-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); }

.tint-border-sky:hover     { border-color: var(--tint-sky-fg); }
.tint-border-peach:hover   { border-color: var(--tint-peach-fg); }
.tint-border-sage:hover    { border-color: var(--tint-sage-fg); }
.tint-border-magenta:hover { border-color: var(--tint-magenta-fg); }

.uc-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.uc-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.uc-card-icon svg { width: 22px; height: 22px; }
.uc-card-name { font-size: 1.25rem; font-weight: 600; margin: 0; color: var(--text); }

.uc-card-desc { color: var(--text-muted); line-height: 1.6; margin: 0 0 16px; font-size: 0.95rem; }

.uc-card-bullets {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.uc-card-bullets li {
  position: relative; padding-left: 20px;
  font-size: 0.9rem; color: var(--text); line-height: 1.5;
}
.uc-card-bullets li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent, #3F4AE4);
}

.uc-card-kit { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.uc-card-kit-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 10px; display: block; }
.uc-card-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.uc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 500;
  text-decoration: none; transition: opacity 0.15s;
}
.uc-badge:hover { opacity: 0.85; }
.uc-badge-icon { display: inline-flex; width: 16px; height: 16px; }
.uc-badge-icon svg { width: 16px; height: 16px; }

.uc-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 10px 20px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: opacity 0.15s;
  align-self: flex-start;
}
.uc-card-cta:hover { opacity: 0.85; }

.btn-tint-sky     { background: var(--tint-sky-bg);     color: var(--tint-sky-fg); }
.btn-tint-peach   { background: var(--tint-peach-bg);   color: var(--tint-peach-fg); }
.btn-tint-sage    { background: var(--tint-sage-bg);    color: var(--tint-sage-fg); }
.btn-tint-magenta { background: var(--tint-magenta-bg); color: var(--tint-magenta-fg); }

/* Bottom CTA section */
.uc-bottom { padding: 0 24px 80px; text-align: center; }
.uc-bottom-inner {
  max-width: 560px; margin: 0 auto;
  background: var(--surface-raised, #F8F8F6); border-radius: 20px;
  padding: 48px 36px;
}
.uc-bottom-heading { font-size: 1.4rem; font-weight: 700; margin: 0 0 12px; color: var(--text); }
.uc-bottom-text { color: var(--text-muted); margin: 0 0 24px; line-height: 1.6; }
.uc-bottom-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 12px;
  background: var(--accent, #3F4AE4); color: #fff;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: opacity 0.15s;
}
.uc-bottom-cta:hover { opacity: 0.88; }

@media (max-width: 768px) {
  .uc-heading { font-size: 1.8rem; }
  .uc-personas-inner { grid-template-columns: 1fr; }
  .uc-bottom-inner { padding: 36px 24px; }
}

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