/* WisemanLabs marketing site — shared by index.html and tools/*.html.
   Light, clean, one geometric family (Urbanist). Motion lives in site.js. */
:root {
  --bg: #ffffff;
  --paper: #f7f8fc;
  --ink: #161a2e;
  --ink-soft: #545a73;
  --ink-faint: #9095ab;
  --line: #e9ebf3;
  --line-strong: #dfe2ee;
  --violet: #2f6feb;
  --teal: #0d9488;
  --teal-deep: #0b7a70;
  --blue: #3b6ff6;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Reading text: the Microsoft Learn stack (Segoe UI / system UI font). */
  --read: 'Segoe UI', 'Segoe UI Variable Text', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Roboto, Arial, sans-serif;
  --gutter: clamp(18px, 4.5vw, 56px);
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font: 500 1.05rem/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
/* Urbanist for headings, menus and buttons; paragraphs and fields read in the system face. */
p, li, dd, .facts .v, .field input, .field textarea { font-family: var(--read); font-weight: 400; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
/* Accent line in headings: solid brand blue (no gradient text). */
.grad-text { color: #2f6feb; }

/* ---- Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; white-space: nowrap;
  padding: 1rem 2.1rem; border: 0; border-radius: 999px; font: 600 1.05rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary { color: #fff; background: var(--teal); box-shadow: 0 14px 30px -14px rgba(13, 148, 136, .7); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(13, 148, 136, .8); }
.btn-ghost { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-faint); }
.btn svg { width: 18px; height: 18px; }

/* ---- Header ------------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 1px 0 var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; font-size: 1.45rem; letter-spacing: -0.03em; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 2.4rem; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 1rem; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 1.4rem; }
.nav-end .signin { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.nav-end .btn { padding: .85rem 1.7rem; font-size: 1rem; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background .2s, box-shadow .2s, transform .3s var(--ease); }
.menu-btn svg { width: 20px; height: 20px; fill: currentColor; transition: transform .45s var(--ease); }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(90deg); }
.mobile-menu {
  position: absolute; top: calc(100% - 4px); right: var(--gutter); width: min(300px, calc(100vw - 2 * var(--gutter)));
  display: grid; gap: 2px; padding: 10px; border-radius: 22px; background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid var(--line); box-shadow: 0 30px 70px -28px rgba(22, 26, 46, .4);
  transform-origin: top right; animation: menu-in .4s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: .8rem 1rem; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 1.05rem; color: var(--ink); animation: menu-item .45s var(--ease-out) both; }
.mobile-menu > a:nth-child(2) { animation-delay: 30ms; } .mobile-menu > a:nth-child(3) { animation-delay: 60ms; }
.mobile-menu > a:nth-child(4) { animation-delay: 90ms; } .mobile-menu > a:nth-child(5) { animation-delay: 120ms; }
.mobile-menu > a:hover, .mobile-menu > a:focus-visible { background: var(--paper); }
.mobile-menu > a[aria-current="page"] { color: var(--teal); }
.mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 2px 2px; margin-top: 6px; border-top: 1px solid var(--line); }
.mm-actions .btn { padding: .8rem 1rem; font-size: .95rem; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.94); filter: blur(6px); } }
@keyframes menu-item { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }
/* Below 1080px the full nav doesn't fit beside the actions: use the ⋯ menu. */
@media (max-width: 1079px) {
  .nav { grid-template-columns: 1fr auto; height: 72px; }
  .nav-links, .nav-end .signin, .nav-end > .btn { display: none; }
  .menu-btn { display: grid; }
}
@media (min-width: 1080px) { .mobile-menu { display: none !important; } }
@media (max-width: 420px) { .brand { font-size: 1.25rem; } .brand img { height: 34px; } }

/* ---- Hero ------------------------------------------------------------------------ */
.hero { position: relative; padding: clamp(140px, 17vw, 190px) 0 clamp(40px, 6vw, 72px); text-align: center; isolation: isolate; }
/* Faint blueprint grid that fades out from the middle. */
.gridbg {
  position: absolute; inset: 0 0 -30%; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 15%, transparent 72%);
}
.dots { display: flex; justify-content: center; gap: 14px; margin-bottom: 1.8rem; }
.dots i { width: 15px; height: 15px; border-radius: 50%; }
.dots i:nth-child(1) { background: #4f7cf7; }
.dots i:nth-child(2) { background: #34b46a; }
.dots i:nth-child(3) { background: #f6c343; }
.dots i:nth-child(4) { background: #ec5b52; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero h1 .grad-text, .cta h2 .grad-text, .js .hero h1 .grad-text.w, .js .cta h2 .grad-text.w { display: block; text-wrap: balance; }
.hero .sub { max-width: 40rem; margin: 1.6rem auto 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.4rem; }

/* ---- Zoho-style tool tiles ------------------------------------------------------- */
.tile {
  --a: #64748b; --b: #1e293b;
  position: relative; display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(155deg, var(--a), var(--b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 6px rgba(0, 0, 0, .12), 0 10px 22px -12px var(--b);
}
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 55%); }
.tile svg { position: relative; z-index: 1; width: 52%; height: 52%; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile.lg { width: 76px; height: 76px; border-radius: 22px; }
.tile.xl { width: 96px; height: 96px; border-radius: 28px; }
.tile.sm { width: 40px; height: 40px; border-radius: 12px; }

/* ---- Bento of tools -------------------------------------------------------------- */
.bento-wrap { position: relative; padding-bottom: clamp(70px, 9vw, 120px); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(196px, auto); gap: 18px; }
.bento + .bento { margin-top: 18px; }
.card {
  position: relative; display: flex; gap: 1.2rem; padding: 30px 30px 28px; border-radius: var(--radius);
  background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card::before {
  /* A soft wash of the tool's colour that blooms on hover. */
  content: ''; position: absolute; inset: auto -30% -60% auto; width: 75%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--a) 30%, transparent), transparent 70%);
  opacity: 0; transform: scale(.6); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--a) 45%, var(--line)); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--b) 60%, transparent); }
.card:hover::before { opacity: 1; transform: none; }
.card .tile { transition: transform .6s var(--ease); }
.card:hover .tile { transform: translateY(-3px) rotate(-6deg) scale(1.05); }
.card h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; }
.card h3 .who { display: inline-block; margin-left: .5rem; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: 0; vertical-align: .3em; color: var(--b); background: color-mix(in srgb, var(--a) 16%, #fff); }
.card p { margin-top: .55rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.card .go { position: absolute; right: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--b); background: color-mix(in srgb, var(--a) 14%, #fff); opacity: 0; transform: translate(-6px, 6px) scale(.8); transition: all .45s var(--ease); }
.card .go svg { width: 16px; height: 16px; }
.card:hover .go { opacity: 1; transform: none; }
/* Tall cards: tile at the top, words at the bottom. Short cards: side by side. */
.card.tall { grid-row: span 2; flex-direction: column; justify-content: space-between; }
.card.tall .tile { width: 76px; height: 76px; border-radius: 22px; }
.card.short { align-items: flex-start; }
.card.short .body { padding-top: .2rem; }
.card.wide { grid-column: span 2; }
.card.mentor { border: 2px dashed var(--line-strong); background: var(--paper); flex-direction: column; justify-content: space-between; }
.mentor-art { display: flex; align-items: center; gap: 18px; padding-top: 6px; }
.mentor-art img.mark { flex: none; height: 132px; width: auto; filter: drop-shadow(0 18px 26px rgba(22, 26, 46, .16)); }
.mentor-art .chips { display: grid; gap: 10px; min-width: 0; }
.mentor-art .chip { padding: .65rem .95rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 34px -20px rgba(22, 26, 46, .35); font-size: .9rem; line-height: 1.4; color: var(--ink-soft); }
.mentor-art .chip b { display: block; color: var(--ink); font-weight: 700; }
.mentor-art .c1 { border-bottom-left-radius: 4px; margin-right: 18px; }
.mentor-art .c2 { border-bottom-right-radius: 4px; margin-left: 18px; background: var(--ink); color: #dfe1f0; border-color: transparent; }
.mentor-art .c2 b { color: #fff; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .bento + .bento { margin-top: 12px; }
  .card, .card.tall { grid-row: auto; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 1rem; padding: 20px; border-radius: 20px; }
  .card.tall .tile, .card .tile { width: 48px; height: 48px; border-radius: 14px; }
  .card h3 { font-size: 1.25rem; }
  .card p { font-size: .95rem; }
  .card .go { display: none; }
  .card.mentor { flex-direction: column; }
  .mentor-art img.mark { height: 104px; }
}

/* ---- Section scaffolding --------------------------------------------------------- */
.section { padding: clamp(64px, 11vw, 150px) 0; position: relative; }
@media (max-width: 640px) {
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero .actions .btn, .cta .actions .btn, .tool-hero .actions .btn { flex: 1 1 100%; }
  .head h2 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .tool-hero { padding-top: 104px; }
  .tool-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .tool-hero .tile.xl { width: 76px; height: 76px; border-radius: 22px; }
  .cta-card { border-radius: 24px; }
  .next { gap: 1rem; border-radius: 22px; }
  .next .tile.lg { width: 52px; height: 52px; border-radius: 15px; }
  .next .arrow { width: 44px; height: 44px; }
  .feature h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .feature p { font-size: 1rem; }
}
.section.tint { background: var(--paper); }
.head { text-align: center; max-width: 46rem; margin: 0 auto clamp(48px, 6vw, 80px); }
.head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.06; letter-spacing: -0.03em; }
.head p { margin-top: 1.1rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.3vw, 1.18rem); }
.frame { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(22, 26, 46, .04), 0 40px 80px -40px rgba(22, 26, 46, .35); }

/* Mentor showcase */
.showcase { position: relative; max-width: 1080px; margin-inline: auto; }
.showcase .bubbles { position: absolute; right: clamp(-28px, -2vw, 0px); bottom: clamp(-40px, -4vw, -20px); width: min(380px, 44%); display: grid; gap: .7rem; }
.bubble { padding: .95rem 1.15rem; border-radius: 20px; font-size: .98rem; line-height: 1.5; box-shadow: 0 24px 50px -24px rgba(22, 26, 46, .45); }
.bubble.me { justify-self: end; max-width: 88%; background: #fff; border: 1px solid var(--line); border-bottom-right-radius: 6px; }
.bubble.wm { background: var(--ink); color: #dfe1f0; border-bottom-left-radius: 6px; display: grid; grid-template-columns: auto 1fr; gap: .8rem; }
.bubble.wm img { height: 40px; width: auto; filter: invert(1) brightness(1.8); }
.bubble.wm b { display: block; color: #fff; }
.typed::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: #a5b4fc; animation: blink 1s steps(1) infinite; }
.typed.done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 760px) { .showcase .bubbles { position: static; width: 100%; margin-top: 1.2rem; transform: none !important; } }

/* Flow: five connected steps. The line runs from the first circle to the
   last (--a0 / --len, measured in site.js), fills as you scroll, and each
   step lights up when the fill reaches it. */
.flow { --p: 0; --a0: 28px; --len: calc(100% - 56px); position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.flow::before, .flow::after { content: ''; position: absolute; left: var(--a0); width: var(--len); top: 27px; height: 2px; border-radius: 2px; }
.flow::before { background: var(--line-strong); }
.flow::after { background: var(--teal); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.flow li { position: relative; z-index: 1; }
.flow .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; background: #fff; color: var(--ink-faint); box-shadow: inset 0 0 0 2px var(--line-strong); transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.flow li.on .n { color: var(--teal-deep); background: #e3f4f1; box-shadow: inset 0 0 0 2px #7ccfc3, 0 0 0 6px rgba(13, 148, 136, .08); transform: scale(1.04); }
.flow h3 { margin-top: 1.3rem; font-size: 1.25rem; letter-spacing: -0.015em; }
.flow p { margin-top: .45rem; color: var(--ink-soft); font-size: .97rem; line-height: 1.55; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 2rem; padding-left: 76px; }
  .flow::before, .flow::after { left: 27px; top: var(--a0); width: 2px; height: var(--len); }
  .flow::after { transform-origin: 50% 0; transform: scaleY(var(--p)); }
  .flow .n { position: absolute; left: -76px; top: 0; }
  .flow h3 { margin-top: .6rem; }
}

/* Closing call to action */
.cta { text-align: center; }
.cta-card { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 80px); border-radius: 36px; background: var(--paper); border: 1.5px solid var(--line); isolation: isolate; }
.cta-card .gridbg { inset: 0; mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%); }
.cta h2 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; }
.cta p { max-width: 36rem; margin: 1.2rem auto 0; color: var(--ink-soft); }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.2rem; }

.site-footer { padding: 2.4rem 0 3rem; color: var(--ink-faint); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 2rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---- Tool pages ------------------------------------------------------------------ */
.tool-hero { position: relative; padding: clamp(130px, 15vw, 170px) 0 clamp(40px, 5vw, 64px); text-align: center; isolation: isolate; }
.tool-hero .glow { position: absolute; z-index: -1; left: 50%; top: 30%; width: min(900px, 90vw); aspect-ratio: 1.8; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 28%, transparent), transparent); filter: blur(10px); pointer-events: none; }
.crumb { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem .45rem .5rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: .9rem; color: var(--ink-soft); text-decoration: none; }
.crumb .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--a) 18%, #fff); color: var(--b); }
.crumb .dot svg { width: 13px; height: 13px; }
.tool-hero .tile { margin: 2rem auto 0; }
.tool-hero h1 { margin-top: 1.6rem; font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -0.04em; }
.tool-hero .tagline { margin-top: .9rem; font-size: clamp(1.25rem, 2.2vw, 1.8rem); font-weight: 600; letter-spacing: -0.02em; color: var(--b); }
.tool-hero .sub { max-width: 42rem; margin: 1.2rem auto 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.3vw, 1.18rem); }
.tool-hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.2rem; }

/* The hero screenshot widens towards full-bleed as you scroll (scrubbed). */
.expand { --p: 0; width: calc(84% + 16% * var(--p)); margin: 0 auto; border-radius: calc(30px - 12px * var(--p)); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 50px 100px -50px color-mix(in srgb, var(--b) 55%, rgba(22, 26, 46, .4)); }
@media (max-width: 760px) { .expand { width: 100%; border-radius: 16px; } }

.tool-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.aside { position: sticky; top: 112px; }
.aside .row1 { display: flex; align-items: center; gap: .9rem; }
.aside h2 { font-size: 1.9rem; letter-spacing: -0.03em; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.tags span { padding: .38rem .8rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--b); background: color-mix(in srgb, var(--a) 14%, #fff); }
.aside p { margin-top: 1.2rem; color: var(--ink-soft); }
.aside .btn { margin-top: 1.6rem; }
.facts { margin: 2.4rem 0 0; padding: 0; list-style: none; border-top: 1.5px solid var(--line); }
.facts li { padding: 1rem 0; border-bottom: 1.5px solid var(--line); }
.facts dt, .facts .k { font-size: .85rem; font-weight: 600; color: var(--b); }
.facts .v { margin-top: .2rem; font-size: .98rem; color: var(--ink); }
.facts .v a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.facts .v a:hover { text-decoration-color: var(--b); }
.feature + .feature { margin-top: clamp(64px, 8vw, 110px); }
.feature .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 700; color: var(--b); background: color-mix(in srgb, var(--a) 14%, #fff); }
.feature h2 { margin-top: 1.1rem; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 16em; }
.feature p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 38em; }
.feature .frame { margin-top: 2rem; }
@media (max-width: 900px) { .tool-body { grid-template-columns: 1fr; } .aside { position: static; } }

/* Next tool */
.next { display: flex; align-items: center; gap: 1.4rem; padding: clamp(28px, 4vw, 44px); border-radius: 32px; border: 1.5px solid var(--line); text-decoration: none; background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.next:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a) 45%, var(--line)); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--b) 60%, transparent); }
.next .k { font-size: .95rem; color: var(--ink-faint); font-weight: 600; }
.next .t { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.next .arrow { margin-left: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--b); flex: none; transition: transform .5s var(--ease); }
.next:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.next .arrow svg { width: 22px; height: 22px; }

/* ---- Book a demo dialog ------------------------------------------------------- */
.demo-dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(22, 26, 46, .45); overflow: auto; }
.demo-dialog::backdrop { background: rgba(22, 26, 46, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.demo-dialog[open] { animation: dlg-in .5s var(--ease-out); }
.demo-dialog[open]::backdrop { animation: fade .4s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.97); filter: blur(6px); } }
@keyframes fade { from { opacity: 0; } }
.demo-inner { position: relative; padding: clamp(24px, 5vw, 36px); }
.demo-close { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; }
.demo-close:hover { color: var(--ink); background: var(--line); }
.demo-close svg { width: 18px; height: 18px; }
.demo-dialog h2 { font-size: clamp(1.7rem, 5vw, 2.1rem); letter-spacing: -0.03em; padding-right: 40px; }
.demo-dialog .lead { margin-top: .5rem; color: var(--ink-soft); font-size: 1rem; }
.demo-form { display: grid; gap: 1rem; margin-top: 1.6rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--ink-faint); }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font: 500 1rem/1.4 var(--font); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13, 148, 136, .14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e5484d; }
.field .err { margin-top: .35rem; font-size: .85rem; color: #d93f45; min-height: 0; }
.demo-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .btn { width: 100%; margin-top: .4rem; }
.demo-form .btn[disabled] { opacity: .65; pointer-events: none; }
.demo-form .form-err { padding: .75rem 1rem; border-radius: 12px; background: #fdeced; color: #c4343a; font-size: .92rem; }
.demo-form .fine { font-size: .82rem; color: var(--ink-faint); text-align: center; }
.demo-done { text-align: center; padding: 1rem 0 .5rem; }
.demo-done .check { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #e8f7ee; }
.demo-done .check svg { width: 36px; height: 36px; stroke: #1f9d63; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.demo-done h2 { margin-top: 1.2rem; padding: 0; }
.demo-done p { margin-top: .6rem; color: var(--ink-soft); }
.demo-done .btn { margin-top: 1.6rem; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---- Motion (dopamine-style): blur → sharp ------------------------------------ */
.js [data-blur] {
  opacity: 0; filter: blur(14px); transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease-out), filter 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.js [data-blur].in { opacity: 1; filter: none; transform: none; }
/* Headings: each word sharpens in turn. */
.js [data-words] .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translate3d(0, .35em, 0); transition: opacity .9s var(--ease-out), filter 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0ms) + var(--w) * 60ms); }
.js [data-words].in .w { opacity: 1; filter: none; transform: none; }
[data-speed] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* Page transitions: the page dissolves out, the next one blurs in. */
.veil {
  /* Frosts only what's on screen (cheap), tinted with the destination's colour. */
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--veil, #2f6feb) 14%, rgba(255, 255, 255, .7)), rgba(255, 255, 255, .92) 70%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: opacity .45s var(--ease);
}
html.leaving .veil { opacity: 1; }
html.leaving main { transform: scale(.985); transition: transform .6s var(--ease); }
html.js body { animation: page-in .6s var(--ease-out) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-blur], .js [data-words] .w { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  [data-speed] { transform: none !important; }
  .expand { --p: 1 !important; }
  .flow { --p: 1 !important; }
  html.js body { animation: none; }
  html.leaving main { transform: none; }
  .card, .card .tile, .next, .btn { transition: none; }
  .mobile-menu, .mobile-menu > a, .menu-btn svg { animation: none; transition: none; }
  .typed::after { display: none; }
}
