/* ============================================================
   PAGE PULSE — Home redesign
   Design system: light & airy, soft violet gradients,
   geometric sans (Hanken Grotesk) + mono data accents (JetBrains Mono).
   Vibe: confident, premium, "the unfair advantage."
   ============================================================ */

:root {
  /* Neutrals — warm-cool near-whites and inky violets */
  --bg:        #FBFAFE;
  --bg-2:      #F4F1FB;
  --surface:   #FFFFFF;
  --ink:       #17141F;   /* near-black, slight violet */
  --ink-soft:  #45405A;
  --muted:     #756F88;
  --faint:     #9A95AB;
  --line:      #ECE9F4;
  --line-2:    #E3DEF1;

  /* Violet brand scale */
  --v-50:  #F3EEFF;
  --v-100: #E9E0FF;
  --v-200: #D6C6FF;
  --v-300: #B79CFF;
  --v-400: #9B72FF;
  --v-500: #7C4DFF;   /* primary */
  --v-600: #6A35F0;
  --v-700: #5827CC;

  /* Brand logo gradient — violet → coral (from the Page Pulse mark) */
  --brand-grad: linear-gradient(135deg, #9F49E0 0%, #C94FAF 48%, #F46D7B 100%);

  /* Soft pastel gradient stops */
  --grad-lav:  #EBE0FF;
  --grad-peri: #DFE6FF;
  --grad-pink: #FBE2FF;
  --grad-sky:  #DEF0FF;
  --grad-mint: #DEF7EC;

  /* Semantic */
  --up:    #1FA971;
  --up-bg: #E3F7EE;
  --down:  #E5484D;
  --down-bg:#FCE9E9;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow — soft, violet-tinted, layered */
  --sh-xs: 0 1px 2px rgba(23,20,31,.05);
  --sh-sm: 0 1px 2px rgba(23,20,31,.04), 0 4px 12px -4px rgba(86,39,204,.10);
  --sh-md: 0 1px 2px rgba(23,20,31,.05), 0 12px 28px -10px rgba(86,39,204,.16);
  --sh-lg: 0 2px 6px rgba(23,20,31,.05), 0 30px 60px -22px rgba(86,39,204,.24);
  --sh-glow: 0 18px 50px -16px rgba(124,77,255,.45);

  /* Type */
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 72px 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--v-600);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--v-500);
  box-shadow: 0 0 0 4px var(--v-100);
}
.eyebrow--center { display: flex; justify-content: center; }

/* ---------- Headings scale ---------- */
.h-display { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.035em; }
.h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; }
.h2 { font-size: clamp(26px, 2.6vw, 34px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); line-height: 1.55; }
.text-grad {
  background: linear-gradient(100deg, var(--v-600) 0%, var(--v-400) 50%, #C56BFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: var(--r-pill);
  border: 1px solid transparent; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, background .18s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--v-500), var(--v-600));
  box-shadow: var(--sh-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -16px rgba(124,77,255,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { color: var(--ink); background: var(--surface); border-color: var(--line-2); box-shadow: var(--sh-xs); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--v-200); box-shadow: var(--sh-sm); }
.btn--lg { padding: 16px 28px; font-size: 16.5px; }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* ---------- Card ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,254,.72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(251,250,254,.85); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; white-space: nowrap; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand-grad);
  display: grid; place-items: center; box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255,255,255,.3);
  flex: none;
}
.brand__mark svg { width: 22px; height: 22px; }
.nav__link .ext-ic, .mobile-menu .ext-ic { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link { padding: 9px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .15s, background .15s; }
.nav__link:hover { color: var(--ink); background: var(--bg-2); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__login { font-weight: 700; font-size: 15px; color: var(--ink-soft); padding: 9px 6px; }
.nav__login:hover { color: var(--ink); }

/* ---------- Nav dropdown (Solutions For) ---------- */
.nav__item { position: relative; }
.nav__drop-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border: none; background: none; font-family: inherit; }
.nav__drop-btn .chev { width: 15px; height: 15px; transition: transform .2s; color: var(--faint); }
.nav__item:hover .nav__drop-btn, .nav__item:focus-within .nav__drop-btn { color: var(--ink); background: var(--bg-2); }
.nav__item:hover .nav__drop-btn .chev, .nav__item:focus-within .nav__drop-btn .chev { transform: rotate(180deg); }
.nav__drop { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); width: 288px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-lg); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s; z-index: 60; }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__drop-link { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 11px; transition: background .14s; }
.nav__drop-link:hover { background: var(--bg-2); }
.nav__drop-link .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--v-50); display: grid; place-items: center; flex: none; }
.nav__drop-link .ic svg { width: 19px; height: 19px; color: var(--v-600); }
.nav__drop-link .tx { min-width: 0; }
.nav__drop-link .tx b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; line-height: 1.2; }
.nav__drop-link .tx small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.nav__drop-link.is-soon { cursor: default; }
.nav__drop-link.is-soon:hover { background: none; }
.nav__drop-link.is-soon .ic { background: var(--bg-2); }
.nav__drop-link.is-soon .ic svg { color: var(--faint); }
.nav__drop-link.is-soon .tx b { color: var(--muted); }
.nav__drop .soon { display: inline-block; margin-left: 7px; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--v-600); background: var(--v-50); border: 1px solid var(--v-100); padding: 2px 7px; border-radius: var(--r-pill); vertical-align: 1px; }
.nav__drop-foot { padding: 9px 12px 5px; font-size: 12px; color: var(--faint); font-weight: 600; }
.nav__chrome { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--ink-soft); padding: 8px 13px; border: 1px solid var(--line-2); border-radius: var(--r-pill); transition: background .15s, border-color .15s; }
.nav__chrome svg { width: 17px; height: 17px; flex: none; }
.nav__chrome:hover { background: var(--bg-2); border-color: var(--line); }
.nav__chrome[aria-current] { background: var(--bg-2); border-color: var(--line); color: var(--ink); }
.mobile-menu .chrome-ic { width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); align-items: center; justify-content: center; }
.nav__burger svg { width: 20px; height: 20px; }

/* mobile menu */
.mobile-menu { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 56px 0 92px; overflow: hidden; }
.hero__bg { position: absolute; inset: -10% -10% auto -10%; height: 760px; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .85; }
.blob--1 { width: 540px; height: 540px; left: -60px; top: -120px; background: radial-gradient(circle at 30% 30%, var(--grad-lav), transparent 70%); }
.blob--2 { width: 620px; height: 620px; right: -120px; top: -180px; background: radial-gradient(circle at 60% 40%, var(--grad-peri), transparent 68%); }
.blob--3 { width: 460px; height: 460px; left: 38%; top: 40px; background: radial-gradient(circle at 50% 50%, var(--grad-pink), transparent 70%); opacity: .6; }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1.12fr; gap: 56px; align-items: center; }
.hero__copy { max-width: 560px; }
.hero h1 { margin: 20px 0 0; }
.hero__sub { margin-top: 22px; max-width: 480px; }
.hero__list { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hero__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-soft); }
.hero__list .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--v-50); display: grid; place-items: center; margin-top: 1px; }
.hero__list .tick svg { width: 13px; height: 13px; color: var(--v-600); }
.hero__cta { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; display: flex; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 15px; height: 15px; color: var(--up); }

/* ---------- Hero product visual ---------- */
.viz { position: relative; }
.viz__win {
  position: relative; z-index: 2; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.viz__bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#fff,#FBFAFE); }
.viz__dots { display: flex; gap: 6px; }
.viz__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.viz__dots i:nth-child(1){ background:#FFBDB6; } .viz__dots i:nth-child(2){ background:#FFE08A; } .viz__dots i:nth-child(3){ background:#B7E8C8; }
.viz__url { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--bg-2); padding: 5px 12px; border-radius: var(--r-pill); display: flex; align-items: center; gap: 7px; }
.viz__live { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--up); display: flex; align-items: center; gap: 6px; }
.viz__live .ping { width: 8px; height: 8px; border-radius: 50%; background: var(--up); position: relative; }
.viz__live .ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--up); animation: ping 1.8s ease-out infinite; }

.viz__body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.viz__feed { padding: 18px; border-right: 1px solid var(--line); }
.viz__chart { padding: 18px; }
.viz__h { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }

.diff { border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; margin-bottom: 10px; background: #fff; opacity: 0; transform: translateY(10px); }
.diff.show { animation: diffIn .55s cubic-bezier(.2,.7,.3,1) forwards; }
.diff__top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.diff__tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; letter-spacing: .03em; }
.diff__tag.t-h1 { background: var(--v-50); color: var(--v-600); }
.diff__tag.t-meta { background: var(--grad-sky); color: #2563B0; }
.diff__tag.t-link { background: var(--grad-mint); color: #128a5b; }
.diff__time { margin-left: auto; font-size: 11px; color: var(--faint); font-family: var(--mono); }
.diff__rows { display: flex; flex-direction: column; gap: 5px; }
.diff__line { font-size: 12.5px; padding: 4px 9px; border-radius: 7px; font-family: var(--mono); line-height: 1.4; }
.diff__line.del { background: var(--down-bg); color: #b23036; text-decoration: line-through; text-decoration-color: rgba(178,48,54,.45); }
.diff__line.add { background: var(--up-bg); color: #0f7a4f; }

.chart__metric { display: flex; align-items: baseline; gap: 10px; }
.chart__val { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.chart__delta { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--up); background: var(--up-bg); padding: 3px 9px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 4px; }
.chart__svg { margin-top: 16px; width: 100%; height: 118px; overflow: visible; }
.chart__path { fill: none; stroke: url(#vGrad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart__area { opacity: .9; }
.chart__marker { font-family: var(--mono); }
.chart__x { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 10px; color: var(--faint); }

.viz__float {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line-2);
  border-radius: 14px; box-shadow: var(--sh-md); padding: 11px 14px;
  display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 13.5px;
}
.viz__float--a { right: -22px; top: 64px; animation: floatY 5s ease-in-out infinite; }
.viz__float--b { left: -26px; bottom: 56px; animation: floatY 6s ease-in-out infinite reverse; }
.viz__float .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.viz__float .ic svg { width: 17px; height: 17px; }
.viz__float small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }

/* ---------- Logo strip ---------- */
.trust { padding: 8px 0 28px; }
.trust__label { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }
.trust__chip { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 700; font-size: 15px; opacity: .85; }
.trust__chip svg { width: 20px; height: 20px; opacity: .8; }
.trust__chip .tic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; flex: none; box-shadow: var(--sh-xs); }
.trust__chip .tic svg { width: 13px; height: 13px; opacity: 1; }

/* keyframes */
@keyframes ping { 0%{ transform: scale(1); opacity: .7;} 80%,100%{ transform: scale(3.2); opacity: 0; } }
@keyframes floatY { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }
@keyframes diffIn { to { opacity: 1; transform: translateY(0);} }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* ---------- Reveal (entrance animation) ----------
   Self-running CSS animation (no JS dependency) so above-the-fold content —
   including the LCP hero heading — is contentful at first paint instead of
   waiting opacity:0 for the footer script. Always ends visible. */
@keyframes pp-reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.reveal { animation: pp-reveal .7s cubic-bezier(.2,.7,.3,1) both; }
.reveal[data-d="1"]{ animation-delay: .07s; }
.reveal[data-d="2"]{ animation-delay: .14s; }
.reveal[data-d="3"]{ animation-delay: .21s; }
.reveal[data-d="4"]{ animation-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .diff { opacity: 1; transform: none; }
  * { animation: none !important; }
}

/* ---------- Section header ---------- */
.s-head { max-width: 660px; }
.s-head--center { margin: 0 auto; text-align: center; }
.s-head .h2 { margin-top: 16px; }
.s-head p { margin-top: 16px; }

/* ---------- MCP section ---------- */
.mcp { background: linear-gradient(180deg, #fff, #FBFAFE); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mcp__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.mcp__list { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mcp__item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.mcp__item:last-child { border-bottom: 1px solid var(--line); }
.mcp__verb { font-weight: 800; }
.mcp__item p { color: var(--ink-soft); font-size: 15.5px; }
.mcp__num { font-family: var(--mono); font-size: 13px; color: var(--v-400); font-weight: 600; flex: none; width: 24px; }

.chatcard { position: relative; }
.chatcard .viz__win { padding-bottom: 6px; }
.chat { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.chat__msg { display: flex; gap: 11px; align-items: flex-start; }
.chat__av { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; }
.chat__av.user { background: linear-gradient(150deg,#B79CFF,#7C4DFF); }
.chat__av.ai { background: #1a1a1a; }
.chat__bub { background: var(--bg-2); border-radius: 13px; border-top-left-radius: 4px; padding: 11px 14px; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.chat__msg.is-user .chat__bub { background: var(--v-50); }
.chat__insight { border: 1px solid var(--line); border-radius: 13px; padding: 13px; background: #fff; box-shadow: var(--sh-xs); }
.chat__insight .row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 5px 0; }
.chat__insight .row b { font-family: var(--mono); color: var(--up); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.typing i:nth-child(2){ animation-delay:.2s; } .typing i:nth-child(3){ animation-delay:.4s; }
@keyframes blink { 0%,60%,100%{ opacity:.3; } 30%{ opacity:1; } }

/* ---------- Feature card grids ---------- */
.cards { display: grid; gap: 20px; margin-top: 48px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.fcard { padding: 26px 24px; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--v-100); }
.fcard__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--v-50); margin-bottom: 18px; }
.fcard__ic svg { width: 23px; height: 23px; color: var(--v-600); }
.fcard h3 { font-size: 18.5px; letter-spacing: -0.02em; }
.fcard p { margin-top: 9px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.fcard__list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.fcard__list li { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.fcard__list svg { width: 14px; height: 14px; color: var(--v-400); flex: none; }

/* problem/solution accent variants */
.fcard--accent { background: linear-gradient(180deg,#fff, #FAF7FF); }

/* ---------- Split feature band (problem/solution) ---------- */
.band { background: var(--bg-2); border-radius: var(--r-xl); padding: 12px; }

/* ---------- Workflow highlight ---------- */
.flow { position: relative; overflow: hidden; background: linear-gradient(135deg, #1B1430 0%, #2A1B52 55%, #3A1E63 100%); border-radius: var(--r-xl); color: #fff; }
.flow__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 56px; position: relative; z-index: 2; }
.flow__glow { position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(155,114,255,.55), transparent 65%); filter: blur(30px); z-index: 1; }
.flow .eyebrow { color: #C9B6FF; }
.flow .eyebrow::before { background: #C9B6FF; box-shadow: 0 0 0 4px rgba(201,182,255,.18); }
.flow h2 { color: #fff; margin-top: 16px; }
.flow__meta { margin-top: 18px; display: flex; gap: 10px; }
.flow__pill { font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #E6DBFF; }
.flow__p { color: rgba(255,255,255,.78); margin-top: 18px; max-width: 420px; line-height: 1.6; }
.flow__cta { margin-top: 28px; }

.compare { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 20px; backdrop-filter: blur(4px); }
.compare__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.compare__head span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare__box { border-radius: 14px; padding: 16px; }
.compare__box.before { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.compare__box.after { background: linear-gradient(180deg, rgba(124,77,255,.22), rgba(124,77,255,.06)); border: 1px solid rgba(155,114,255,.4); }
.compare__box small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.compare__box .big { font-size: 26px; font-weight: 800; margin-top: 6px; letter-spacing: -0.02em; }
.compare__box .sub { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }
.compare__box.after .delta { color: #7DEBB4; font-family: var(--mono); font-size: 12px; font-weight: 600; margin-top: 8px; }
.compare__bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 12px; }
.compare__bars i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #B79CFF, #7C4DFF); opacity: .9; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; position: relative; }
.step { padding: 30px 26px; position: relative; }
.step__n { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--v-400); }
.step__num { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; color: var(--v-100); line-height: 1; margin: 8px 0 16px; }
.step h3 { font-size: 20px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.step__ic { position: absolute; top: 28px; right: 26px; width: 44px; height: 44px; border-radius: 12px; background: var(--v-50); display: grid; place-items: center; }
.step__ic svg { width: 22px; height: 22px; color: var(--v-600); }

/* ---------- Tracked table ---------- */
.tracked__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.ttable { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); background: #fff; }
.ttable__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); align-items: center; transition: background .15s; }
.ttable__row:first-child { border-top: none; }
.ttable__row:hover { background: var(--v-50); }
.ttable__row.head { background: var(--bg-2); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ttable__el { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 9px; }
.ttable__el .chip { font-family: var(--mono); font-size: 10px; background: var(--v-50); color: var(--v-600); padding: 2px 6px; border-radius: 5px; }
.ttable__what { color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 22px 6px; display: flex; align-items: center; gap: 18px; font-family: inherit; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.faq__q .pm { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .2s, transform .2s, border-color .2s; }
.faq__q .pm svg { width: 15px; height: 15px; transition: transform .25s; }
.faq__item.open .pm { background: var(--v-500); border-color: var(--v-500); }
.faq__item.open .pm svg { transform: rotate(45deg); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a-inner { padding: 0 6px 24px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; max-width: 680px; }
.faq__a-inner ul { margin: 12px 0; padding-left: 18px; }
.faq__a-inner li { margin: 4px 0; }

/* ---------- PRICING ---------- */
.pricing__top { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 14px; }
.beta-banner {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--v-200);
  border-radius: var(--r-pill); padding: 8px 16px 8px 16px;
  box-shadow: var(--sh-sm); font-weight: 600; font-size: 14px; color: var(--ink-soft);
}
.beta-banner b { color: var(--v-700); }
.beta-banner .tag {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .04em;
  background: linear-gradient(180deg, var(--v-500), var(--v-600)); color: #fff;
  padding: 4px 10px; border-radius: var(--r-pill); text-transform: uppercase;
}
.bill-toggle {
  display: inline-flex; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 5px; gap: 2px; position: relative;
}
.bill-toggle button {
  border: none; background: none; padding: 10px 20px; border-radius: var(--r-pill);
  font-family: inherit; font-weight: 700; font-size: 14.5px; color: var(--muted);
  cursor: pointer; transition: color .2s; position: relative; z-index: 2;
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.bill-toggle button.active { color: var(--ink); }
.bill-toggle .save {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: var(--up);
  background: var(--up-bg); padding: 2px 7px; border-radius: var(--r-pill); letter-spacing: .02em;
}
.bill-toggle__pill {
  position: absolute; top: 5px; left: 5px; bottom: 5px; border-radius: var(--r-pill);
  background: #fff; box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.4,.1,.2,1), width .3s cubic-bezier(.4,.1,.2,1); z-index: 1;
}

.free-strip {
  display: grid; grid-template-columns: 1.1fr auto; gap: 28px; align-items: center;
  padding: 26px 30px; margin-top: 8px;
  background: linear-gradient(110deg, #FAF7FF, #fff 60%);
  border: 1px solid var(--v-100);
}
.free-strip__left { display: flex; flex-direction: column; gap: 6px; }
.free-strip__name { display: flex; align-items: center; gap: 12px; }
.free-strip__name h3 { font-size: 22px; }
.free-strip__name .price { font-size: 22px; font-weight: 800; color: var(--v-700); }
.free-strip__name .pill { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--v-600); background: var(--v-50); padding: 4px 10px; border-radius: var(--r-pill); }
.free-strip__feats { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 6px; }
.free-strip__feats span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.free-strip__feats svg { width: 15px; height: 15px; color: var(--v-500); flex: none; }
.free-strip__right { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 200px; }
.free-strip__right .note { text-align: center; font-size: 12.5px; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; align-items: stretch; }
.plan {
  padding: 30px 24px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s; background: #fff;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan--pop { border: 1.5px solid var(--v-300); box-shadow: var(--sh-md); background: linear-gradient(180deg, #FCFAFF, #fff); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--v-500), var(--v-600)); color: #fff;
  padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--sh-sm);
}
.plan__name { font-size: 19px; letter-spacing: -0.02em; }
.plan__tagline { color: var(--muted); font-size: 13px; margin-top: 4px; min-height: 18px; }
.plan__pricewrap { margin-top: 18px; }
.plan__orig { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--faint); text-decoration: line-through; }
.plan__orig::after { content: "50% off"; display: inline-block; text-decoration: none; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--v-600); background: var(--v-50); padding: 2px 7px; border-radius: var(--r-pill); }
.plan__price { display: flex; align-items: baseline; gap: 2px; margin-top: 4px; }
.plan__cur { font-size: 22px; font-weight: 700; align-self: flex-start; margin-top: 8px; color: var(--ink); }
.plan__amt { font-size: 42px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); line-height: 1; }
.plan__unit { color: var(--muted); font-weight: 600; font-size: 15px; margin-left: 4px; }
.plan__sub { font-family: var(--mono); font-size: 12px; color: var(--up); min-height: 18px; margin-top: 8px; font-weight: 500; }
.plan__divider { height: 1px; background: var(--line); margin: 20px 0; }
.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.plan__list svg { width: 16px; height: 16px; color: var(--v-500); flex: none; margin-top: 1px; }
.plan__list li b { color: var(--ink); font-weight: 700; }
.plan .btn { margin-top: 24px; width: 100%; }

.pricing-foot {
  margin-top: 28px; display: flex; align-items: center; gap: 20px;
  padding: 22px 28px; border-radius: var(--r-lg);
  background: var(--bg-2); border: 1px dashed var(--line-2);
}
.pricing-foot__ic { width: 46px; height: 46px; border-radius: 13px; background: #fff; box-shadow: var(--sh-xs); display: grid; place-items: center; flex: none; }
.pricing-foot__ic svg { width: 24px; height: 24px; color: var(--v-600); }
.pricing-foot h4 { font-size: 17px; }
.pricing-foot p { color: var(--muted); font-size: 14px; margin-top: 3px; }
.pricing-foot p a { color: var(--v-600); font-weight: 700; }
.pricing-foot .btn { margin-left: auto; flex: none; }

/* ---------- Founder ---------- */
.founder { position: relative; overflow: hidden; }
.founder__card { background: linear-gradient(135deg, #FAF7FF, #F2ECFF); border: 1px solid var(--v-100); border-radius: var(--r-xl); padding: 56px; position: relative; overflow: hidden; }
.founder__grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.founder__photo { width: 220px; }
.founder__avatar { width: 150px; height: 150px; border-radius: 50%; background: linear-gradient(150deg,var(--v-200),var(--v-400)); display: grid; place-items: center; box-shadow: var(--sh-md); overflow: hidden; }
.founder__avatar span { font-size: 52px; font-weight: 800; color: #fff; }
.founder__avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder__name { margin-top: 16px; font-weight: 800; font-size: 18px; }
.founder__role { color: var(--muted); font-size: 14px; margin-top: 2px; }
.founder__connect { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--v-600); }
.founder__connect svg { width: 16px; height: 16px; }
.founder__body p { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 16px; }
.founder__body strong { color: var(--ink); }
.founder__body .big { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 22px 0 16px; }
.founder__stats { display: flex; gap: 28px; margin: 22px 0; flex-wrap: wrap; }
.founder__stat .n { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.founder__stat .l { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- Final CTA ---------- */
.finalcta { position: relative; overflow: hidden; background: linear-gradient(140deg, #2A1B52, #4A2890 60%, #6A35F0); border-radius: var(--r-xl); padding: 72px 56px; text-align: center; color: #fff; }
.finalcta__glow { position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(199,182,255,.4), transparent 55%); }
.finalcta h2 { color: #fff; font-size: clamp(30px,3.6vw,46px); position: relative; z-index: 2; }
.finalcta p { color: rgba(255,255,255,.8); margin: 18px auto 0; max-width: 520px; position: relative; z-index: 2; font-size: 18px; }
.finalcta__cta { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.finalcta__note { margin-top: 18px; font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.65); position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C9C4D6; padding: 64px 0 36px; margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .brand { color: #fff; }
.footer__brand p { margin-top: 16px; color: #908AA3; font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer__brand .btn { margin-top: 20px; }
.footer h5 { color: #fff; font-size: 13px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: #908AA3; font-size: 14.5px; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer__bottom { padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #756F88; font-size: 13.5px; flex-wrap: wrap; }
.footer__bottom a { color: #908AA3; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cards--4 { grid-template-columns: repeat(2,1fr); }
  .plans { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: 600px; }
  .mcp__grid, .flow__grid, .tracked__grid, .founder__grid { grid-template-columns: 1fr; gap: 36px; }
  .flow__grid { padding: 40px; }
  .founder__card { padding: 36px; }
  .founder__photo { width: auto; display: flex; align-items: center; gap: 20px; }
  .founder__avatar { width: 96px; height: 96px; }
  .founder__avatar span { font-size: 34px; }
  .founder__name, .founder__role { margin-top: 0; }
  .nav__links, .nav__login, .nav__chrome { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .cards--4, .cards--3, .cards--2, .steps, .plans { grid-template-columns: 1fr; }
  .free-strip { grid-template-columns: 1fr; gap: 18px; }
  .pricing-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pricing-foot .btn { margin-left: 0; width: 100%; }
  .viz__body { grid-template-columns: 1fr; }
  .viz__feed { border-right: none; border-bottom: 1px solid var(--line); }
  .compare__row { grid-template-columns: 1fr; }
  .finalcta, .flow__grid { padding: 36px 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .viz__float--a { right: 0; } .viz__float--b { left: 0; }
  .hero__note { flex-direction: column; gap: 8px; }
}

/* mobile menu panel — styles live in MOBILE NAV section below */

/* ============================================================
   WORKFLOWS PAGE
   ============================================================ */
.wf-hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.wf-hero__bg { position: absolute; inset: -20% -10% auto -10%; height: 480px; z-index: 0; pointer-events: none; }
.wf-hero__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; }
.wf-hero h1 { margin-top: 18px; font-size: clamp(38px, 5.4vw, 62px); letter-spacing: -0.035em; }
.wf-hero p { margin: 18px auto 0; max-width: 600px; }

/* filter bar */
.wf-filters { position: sticky; top: 70px; z-index: 40; background: rgba(251,250,254,.82); backdrop-filter: saturate(180%) blur(12px); border-top: 1px solid transparent; border-bottom: 1px solid var(--line); padding: 16px 0; margin-top: 24px; }
.wf-filters__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wf-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.wf-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); font-family: inherit; font-weight: 700; font-size: 14px; color: var(--ink-soft); cursor: pointer; transition: all .16s; white-space: nowrap; }
.wf-chip:hover { border-color: var(--v-200); color: var(--ink); }
.wf-chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.wf-chip[data-filter="change-impact"] .dot { background: var(--v-500); }
.wf-chip[data-filter="conversion-seo"] .dot { background: #1FA971; }
.wf-chip[data-filter="reporting"] .dot { background: #3B82F6; }
.wf-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.wf-chip .ct { font-family: var(--mono); font-size: 11px; opacity: .6; font-weight: 500; }
.wf-search { margin-left: auto; position: relative; display: flex; align-items: center; }
.wf-search svg { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--faint); pointer-events: none; }
.wf-search input { font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 11px 16px 11px 40px; width: 250px; transition: border-color .16s, box-shadow .16s; }
.wf-search input::placeholder { color: var(--faint); font-weight: 500; }
.wf-search input:focus { outline: none; border-color: var(--v-300); box-shadow: 0 0 0 4px var(--v-50); }

/* grid */
.wf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.wf-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.wf-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--v-100); }
.wf-card.is-hidden { display: none; }
.wf-card.is-soon { opacity: .92; }

.wf-thumb { position: relative; height: 172px; padding: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.wf-thumb--lav { background: linear-gradient(140deg, #F1EAFF, #E7DEFF); }
.wf-thumb--mint { background: linear-gradient(140deg, #E4F7EE, #D5F2E3); }
.wf-thumb--sky { background: linear-gradient(140deg, #E4EEFF, #D7E6FF); }
.wf-cat { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,255,255,.85); backdrop-filter: blur(4px); padding: 5px 10px; border-radius: var(--r-pill); color: var(--ink-soft); box-shadow: var(--sh-xs); }
.wf-cat .dot { width: 7px; height: 7px; border-radius: 50%; }
.wf-soon-tag { position: absolute; top: 14px; right: 14px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: rgba(23,20,31,.78); color: #fff; padding: 5px 10px; border-radius: var(--r-pill); }

/* mini visual building blocks (clean, simple) */
.mini { width: 100%; max-width: 230px; background: #fff; border-radius: 14px; box-shadow: var(--sh-sm); padding: 14px; }
.mini__h { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 10px; }
.mini__delta { font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-pill); }
.mini__delta.up { color: var(--up); background: var(--up-bg); }
.mini__delta.down { color: var(--down); background: var(--down-bg); }
.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.mini-bars i { flex: 1; border-radius: 4px 4px 0 0; }
.mini-bars.before i { background: var(--line-2); }
.mini-bars.after i { background: linear-gradient(180deg, var(--v-400), var(--v-600)); }
.mini-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-split small { font-family: var(--mono); font-size: 8.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); display: block; margin-bottom: 6px; }
.mini-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.mini-row:first-of-type { border-top: none; }
.mini-row .label { font-size: 11px; color: var(--ink-soft); font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row .track { width: 54px; height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; flex: none; }
.mini-row .track i { display: block; height: 100%; border-radius: 3px; }
.mini-row .val { font-family: var(--mono); font-size: 10px; font-weight: 600; flex: none; }
.mini-row.hot .label { color: var(--ink); }
.mini-spark { width: 100%; height: 52px; }
.mini-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.mini-chip { font-family: var(--mono); font-size: 9px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: var(--bg-2); color: var(--muted); }
.mini-stars { display: flex; gap: 3px; margin-top: 8px; }
.mini-stars svg { width: 14px; height: 14px; }
.mini-flat { display: flex; align-items: center; gap: 10px; }
.mini-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; font-weight: 600; padding: 4px 9px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--muted); }

.wf-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.wf-meta { display: flex; gap: 8px; margin-bottom: 12px; }
.wf-pill { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.wf-pill svg { width: 13px; height: 13px; }
.wf-pill + .wf-pill::before { content: "·"; margin-right: 8px; color: var(--line-2); }
.wf-body h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.wf-body p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.wf-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--v-600); transition: gap .16s; }
.wf-link svg { width: 16px; height: 16px; }
.wf-card:hover .wf-link { gap: 12px; }
.wf-link.disabled { color: var(--faint); pointer-events: none; }

.wf-empty { display: none; text-align: center; padding: 64px 0; color: var(--muted); }
.wf-empty.show { display: block; }
.wf-empty svg { width: 40px; height: 40px; color: var(--line-2); margin-bottom: 14px; }

/* request strip */
.wf-request { margin-top: 56px; }
.wf-request__card { background: linear-gradient(135deg, #2A1B52, #4A2890 65%, #6A35F0); border-radius: var(--r-xl); padding: 44px 48px; display: flex; align-items: center; gap: 32px; position: relative; overflow: hidden; }
.wf-request__glow { position: absolute; right: -80px; top: -100px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(199,182,255,.4), transparent 65%); }
.wf-request__card h3 { color: #fff; font-size: 24px; position: relative; z-index: 2; }
.wf-request__card p { color: rgba(255,255,255,.78); margin-top: 8px; position: relative; z-index: 2; max-width: 460px; }
.wf-request__card .btn { margin-left: auto; flex: none; position: relative; z-index: 2; }

@media (max-width: 980px) {
  .wf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wf-grid { grid-template-columns: 1fr; }
  .wf-filters { top: 0; }
  .wf-search { margin-left: 0; width: 100%; }
  .wf-search input { width: 100%; }
  .wf-request__card { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .wf-request__card .btn { margin-left: 0; }
}

/* ============================================================
   WORKFLOW DETAIL PAGE
   ============================================================ */
.breadcrumb { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--v-600); }
.breadcrumb svg { width: 15px; height: 15px; color: var(--faint); }
.breadcrumb .cur { color: var(--ink-soft); }

.wd-hero { position: relative; overflow: hidden; padding: 32px 0 76px; }
.wd-hero__bg { position: absolute; inset: -15% -10% auto -10%; height: 620px; z-index: 0; pointer-events: none; }
.wd-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr 1.1fr; gap: 56px; align-items: center; margin-top: 24px; }
/* Workflow detail pages have a breadcrumb above the hero — add a little more breathing room below it. */
.pp-workflow-detail .wd-hero__inner { margin-top: 40px; }
.wd-cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--r-pill); }
.wd-cat .dot { width: 8px; height: 8px; border-radius: 50%; }
.wd-cat.change-impact { background: var(--v-50); color: var(--v-700); }
.wd-cat.change-impact .dot { background: var(--v-500); }
.wd-cat.conversion-seo { background: #E4F7EE; color: #0f7a4f; }
.wd-cat.conversion-seo .dot { background: #1FA971; }
.wd-cat.reporting { background: #E4EEFF; color: #2563EB; }
.wd-cat.reporting .dot { background: #3B82F6; }
.wd-hero h1 { margin-top: 20px; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.03em; }
.wd-meta { margin-top: 20px; display: flex; gap: 16px; flex-wrap: wrap; }
.wd-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.wd-meta svg { width: 16px; height: 16px; color: var(--v-500); }
.wd-hero .lead { margin-top: 22px; max-width: 500px; }
.wd-hero__cta { margin-top: 30px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.wd-why { max-width: 760px; }
.wd-why .h2 { margin-top: 16px; }
.wd-why p { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.wd-why p + p { margin-top: 14px; }
.wd-why strong { color: var(--ink); }

.wd-steps { margin-top: 12px; display: flex; flex-direction: column; gap: 30px; }
.wd-step { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center; }
.wd-step:nth-child(even) .wd-step__text { order: 2; }
.wd-step__text { position: relative; }
.wd-step__n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(150deg, var(--v-400), var(--v-600)); color: #fff; font-weight: 800; font-size: 19px; box-shadow: var(--sh-sm); margin-bottom: 18px; }
.wd-step__n svg { width: 21px; height: 21px; }
.wd-step__text h3 { font-size: 23px; letter-spacing: -0.02em; }
.wd-step__text p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 430px; }
.wd-step__tip { margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--v-700); background: var(--v-50); padding: 8px 13px; border-radius: var(--r-pill); }
.wd-step__tip svg { width: 15px; height: 15px; flex: none; }
.wd-mock { position: relative; }
.wd-mock .viz__win { box-shadow: var(--sh-lg); }

.mk-pad { padding: 18px; }
.mk-h { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.mk-row { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 9px; background: #fff; }
.mk-row:last-child { margin-bottom: 0; }
.mk-row.sel { border-color: var(--v-300); box-shadow: 0 0 0 3px var(--v-50); }
.mk-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--v-50); display: grid; place-items: center; flex: none; }
.mk-ic svg { width: 17px; height: 17px; color: var(--v-600); }
.mk-row .nm { font-weight: 700; font-size: 13.5px; }
.mk-row .sub { font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.mk-spark { margin-left: auto; width: 70px; height: 30px; flex: none; }
.mk-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.mk-tab { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--muted); }
.mk-tab.on { background: var(--v-500); color: #fff; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-card { border: 1px solid var(--line); border-radius: 13px; padding: 14px; }
.ba-card small { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.ba-card .big { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 5px; }
.ba-card.after { background: linear-gradient(180deg, var(--v-50), #fff); border-color: var(--v-200); }
.ba-card .d { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--up); margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.mk-search { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; }
.mk-search svg { width: 15px; height: 15px; color: var(--faint); }
.mk-search span { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.mk-trow { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); font-size: 12.5px; }
.mk-trow.head { border-top: none; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); }
.mk-trow .pg { font-weight: 700; color: var(--ink); }
.mk-trow .mono { font-family: var(--mono); font-size: 11.5px; }
.mk-trow .mono.up { color: var(--up); }
.mk-diff { border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; margin-bottom: 9px; }
.mk-diff:last-child { margin-bottom: 0; }
.mk-diff__top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mk-diff__top .t { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--faint); }
.mk-tag { font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 5px; }
.mk-tag.edit { background: var(--v-50); color: var(--v-600); }
.mk-tag.add { background: var(--up-bg); color: #0f7a4f; }
.mk-tag.rem { background: var(--down-bg); color: #b23036; }
.mk-line { font-family: var(--mono); font-size: 11.5px; padding: 3px 8px; border-radius: 6px; line-height: 1.4; }
.mk-line.del { background: var(--down-bg); color: #b23036; text-decoration: line-through; }
.mk-line.ins { background: var(--up-bg); color: #0f7a4f; }

.wd-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.infocard { padding: 28px 26px; }
.infocard__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; }
.infocard__ic svg { width: 23px; height: 23px; }
.infocard h3 { font-size: 18px; letter-spacing: -0.01em; }
.infocard ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.infocard li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }
.infocard li svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--v-500); }

@media (max-width: 940px) {
  .wd-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .wd-step { grid-template-columns: 1fr; gap: 24px; }
  .wd-step:nth-child(even) .wd-step__text { order: 0; }
  .wd-info { grid-template-columns: 1fr; }
}

/* ============================================================
   BEAVER BUILDER UTILITY CLASSES
   Use these directly in BB module "Class" fields.
   No additional CSS needed in the BB editor.
   ============================================================ */

/* --- Buttons --- */
/* Usage: add class to BB Button module */
.btn-primary  { color:#fff; background:linear-gradient(180deg,var(--v-500),var(--v-600)); box-shadow:var(--sh-glow),inset 0 1px 0 rgba(255,255,255,.25); padding:13px 22px; border-radius:var(--r-pill); font-weight:700; font-size:15.5px; display:inline-flex; align-items:center; gap:9px; border:1px solid transparent; transition:transform .18s cubic-bezier(.2,.7,.3,1),box-shadow .18s; }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 24px 60px -16px rgba(124,77,255,.6),inset 0 1px 0 rgba(255,255,255,.25); }
.btn-secondary { color:var(--ink); background:var(--surface); border:1px solid var(--line-2); box-shadow:var(--sh-xs); padding:13px 22px; border-radius:var(--r-pill); font-weight:700; font-size:15.5px; display:inline-flex; align-items:center; gap:9px; transition:transform .18s cubic-bezier(.2,.7,.3,1),box-shadow .18s,border-color .18s; }
.btn-secondary:hover { transform:translateY(-2px); border-color:var(--v-200); box-shadow:var(--sh-sm); }
.btn-light { background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.28); backdrop-filter:blur(6px); padding:13px 22px; border-radius:var(--r-pill); font-weight:700; font-size:15.5px; display:inline-flex; align-items:center; gap:9px; transition:background .18s,transform .18s; }
.btn-light:hover { background:rgba(255,255,255,.22); transform:translateY(-2px); }
.btn-lg { padding:16px 28px !important; font-size:16.5px !important; }
.btn-sm { padding:9px 16px !important; font-size:14px !important; }

/* --- Nav links (BB Menu module items) --- */
.nav-link { padding:9px 14px; border-radius:var(--r-pill); font-weight:600; font-size:15px; color:var(--ink-soft); transition:color .15s,background .15s; }
.nav-link:hover { color:var(--ink); background:var(--bg-2); }
.nav-link-active { color:var(--ink); background:var(--bg-2); }

/* --- Typography --- */
.text-display { font-size:clamp(40px,6.4vw,76px); letter-spacing:-0.035em; font-weight:800; line-height:1.04; }
.text-h1      { font-size:clamp(32px,4.4vw,52px); letter-spacing:-0.03em; font-weight:800; line-height:1.04; }
.text-h2      { font-size:clamp(26px,2.6vw,34px); letter-spacing:-0.02em; font-weight:800; line-height:1.1; }
.text-lead    { font-size:clamp(17px,1.6vw,20px); color:var(--ink-soft); line-height:1.55; }
.text-body    { font-size:16px; color:var(--ink-soft); line-height:1.65; }
.text-caption { font-size:14px; color:var(--muted); line-height:1.5; }
.text-eyebrow { display:inline-flex; align-items:center; gap:8px; font-family:var(--mono); font-size:12.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--v-600); }
.text-eyebrow::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--v-500); box-shadow:0 0 0 4px var(--v-100); }
.text-grad { background:linear-gradient(100deg,var(--v-600) 0%,var(--v-400) 50%,#C56BFF 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.text-mono { font-family:var(--mono); }
.text-center { text-align:center; }
.text-white  { color:#fff; }
.text-muted  { color:var(--muted); }
.text-ink-soft { color:var(--ink-soft); }
.text-violet { color:var(--v-600); }

/* --- Backgrounds --- */
.bg-default { background:var(--bg); }
.bg-alt     { background:var(--bg-2); }
.bg-surface { background:var(--surface); }
.bg-dark    { background:var(--ink); }
.bg-violet  { background:var(--v-500); }
.bg-violet-soft { background:var(--v-50); }
.bg-grad-dark { background:linear-gradient(150deg,#2A2640,#4B2E83,#6B40C9); }

/* --- Layout --- */
.wrap   { width:100%; max-width:var(--maxw); margin:0 auto; padding:0 28px; }
.section      { padding:104px 0; position:relative; }
.section-tight { padding:72px 0; position:relative; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.flex-center { display:flex; align-items:center; justify-content:center; }
.flex-between { display:flex; align-items:center; justify-content:space-between; }
.gap-sm { gap:12px; }
.gap-md { gap:24px; }
.gap-lg { gap:40px; }

/* --- Cards --- */
.card       { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--sh-sm); }
.card-body  { padding:28px; }
.card-title { font-size:18px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.card:hover { transform:translateY(-4px); box-shadow:var(--sh-md); border-color:var(--v-100); transition:transform .2s cubic-bezier(.2,.7,.3,1),box-shadow .2s,border-color .2s; }

/* --- Icon tiles (use on BB HTML/Icon module) --- */
.icon-tile { width:46px; height:46px; border-radius:13px; background:var(--v-50); display:grid; place-items:center; flex:none; }
.icon-tile svg { width:23px; height:23px; color:var(--v-600); stroke-width:2; }

/* --- Spacing helpers --- */
.mt-xs { margin-top:8px; }   .mb-xs { margin-bottom:8px; }
.mt-sm { margin-top:16px; }  .mb-sm { margin-bottom:16px; }
.mt-md { margin-top:24px; }  .mb-md { margin-bottom:24px; }
.mt-lg { margin-top:40px; }  .mb-lg { margin-bottom:40px; }
.mt-xl { margin-top:64px; }  .mb-xl { margin-bottom:64px; }
.py-sm { padding-top:16px; padding-bottom:16px; }
.py-md { padding-top:32px; padding-bottom:32px; }
.py-lg { padding-top:64px; padding-bottom:64px; }
.py-xl { padding-top:104px; padding-bottom:104px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  padding: 72px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .brand { color: #fff; }
.footer__brand .brand__mark { background: var(--brand-grad); }
.footer__blurb {
  font-size: 14.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin: 16px 0 24px;
  max-width: 260px;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a { font-size: 14.5px; color: #908AA3; transition: color .15s; }
.footer__col ul li a:hover { color: #fff; }
.footer__bottom {
  padding: 20px 0;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; border: none; background: none;
  font-family: inherit; font-size: 18px; font-weight: 700; color: var(--ink);
  padding: 22px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__toggle {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; flex: none; transition: background .18s, border-color .18s;
}
.faq__toggle svg { width: 16px; height: 16px; transition: transform .25s; }
.faq__item.open .faq__toggle { background: var(--v-500); border-color: var(--v-500); }
.faq__item.open .faq__toggle svg { stroke: #fff; transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.2,.7,.3,1); }
.faq__item.open .faq__a { max-height: 400px; }
.faq__a p { padding: 0 0 22px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.feat-card { padding: 28px; }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--v-100); transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s, border-color .2s; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed; top: 70px; right: 0; bottom: 0; z-index: 59; /* below the nav (z-index 60) and starts under it so top links aren't covered */
  width: min(88vw, 340px);
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 44px rgba(20,16,40,.18);
}
.mobile-menu.open { display: block; }
.m-panel {
  display: flex; flex-direction: column;
  padding: 12px 22px 36px;
  height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; box-sizing: border-box;
}
/* top-level nav links + the "Solutions For" toggle button — NOT the action buttons */
.m-panel > a, .m-collapse {
  font-size: 16.5px; font-weight: 700; color: var(--ink);
  padding: 15px 4px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; width: 100%; text-align: left;
  background: none; border-top: 0; border-left: 0; border-right: 0;
  cursor: pointer; font-family: inherit; line-height: 1.2;
}
.m-panel > a:hover, .m-collapse:hover { color: var(--v-700); }
.m-chev { margin-left: auto; width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .22s; }
.m-collapse[aria-expanded="true"] .m-chev { transform: rotate(180deg); }
/* collapsible Solutions submenu — closed by default, JS adds .open */
.m-collapse-body { display: none; flex-direction: column; }
.m-collapse-body.open { display: flex; }
.mobile-menu a.m-sub {
  padding: 13px 4px 13px 20px; font-size: 15.5px; font-weight: 600;
  color: var(--ink-soft); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.mobile-menu a.m-sub:hover { color: var(--v-700); }
/* action buttons keep their own .btn styling */
.m-actions { display: flex; flex-direction: column; gap: 11px; margin-top: 24px; }
.m-actions .btn { width: 100%; justify-content: center; font-size: 16px; padding: 14px 20px; }
.m-actions .btn--primary { color: #fff; }
.m-actions .btn--ghost { color: var(--ink); }
.m-actions .btn svg, .m-chrome svg { width: 18px; height: 18px; flex: none; }
#menuBackdrop {
  display: none; position: fixed; inset: 0; z-index: 58;
  background: rgba(20,16,40,.42); backdrop-filter: blur(2px);
}
#menuBackdrop.open { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .pr-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   FORMIDABLE FORMS — site-wide styling
   ============================================================ */
.frm_forms, .frm_form_fields { font-family: var(--sans); }

/* Labels */
.frm_primary_label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em;
}
.frm_required { color: var(--v-500); margin-left: 2px; }

/* Inputs */
.frm_form_field input[type="text"],
.frm_form_field input[type="email"],
.frm_form_field input[type="tel"],
.frm_form_field input[type="number"],
.frm_form_field input[type="url"],
.frm_form_field input[type="password"],
.frm_form_field textarea,
.frm_form_field select {
  width: 100%; box-sizing: border-box;
  height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line-2); border-radius: 10px;
  background: #fff; color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  outline: none; transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.frm_form_field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.frm_form_field input:focus,
.frm_form_field textarea:focus,
.frm_form_field select:focus {
  border-color: var(--v-400);
  box-shadow: 0 0 0 3px var(--v-100);
}
.frm_form_field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 36px;
}

/* Radio / Checkbox */
.frm_radio, .frm_checkbox {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  padding: 6px 0;
}
.frm_radio input[type="radio"],
.frm_checkbox input[type="checkbox"] {
  width: 18px; height: 18px; flex: none;
  accent-color: var(--v-500);
  cursor: pointer;
}

/* Field containers */
.frm_form_field { margin-bottom: 18px; }
.frm_form_field.frm_half { width: calc(50% - 8px); display: inline-block; vertical-align: top; }
.frm_form_field.frm_half + .frm_form_field.frm_half { margin-left: 16px; }
.frm_form_field.frm_full { width: 100%; }

/* Errors */
.frm_error { color: #b23036; font-size: 13px; margin-top: 5px; font-weight: 500; }
.frm_form_field.frm_blank_field input,
.frm_form_field.frm_blank_field select,
.frm_form_field.frm_blank_field textarea { border-color: #b23036; }

/* Description */
.frm_description { font-size: 12px; color: var(--faint); margin-top: 5px; line-height: 1.5; }

/* Submit button */
.frm_submit button[type="submit"],
.frm_submit input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px; border-radius: var(--r-pill);
  background: var(--v-600); color: #fff;
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; width: 100%;
  transition: background .15s, box-shadow .15s;
  letter-spacing: -.01em;
}
.frm_submit button[type="submit"]:hover,
.frm_submit input[type="submit"]:hover {
  background: var(--v-700);
  box-shadow: var(--sh-md);
}

/* Success message */
.frm_message { 
  background: var(--up-bg); border: 1px solid var(--up);
  color: #166534; border-radius: 10px; padding: 16px 20px;
  font-size: 15px; font-weight: 500; margin-top: 16px;
}
