/* ================================================================
   Devlogify — stylesheet
   Single dark theme (ink + teal). Rebuilt clean, no external chunk
   dependency. Everything below is self-contained.
   ================================================================ */

:root{
  --ink:#080B11; --ink-alt:#0A0E16; --ink2:#0F141D; --ink3:#111827; --ink4:#1a2332;
  --teal:#2BE8C6; --teal-deep:#0FB89B; --teal-ink:#062B25;
  --paper:#F7F8F5; --steel:#697082; --mist:#DEE0DA;
  --line:rgba(255,255,255,.09); --line-soft:rgba(255,255,255,.07);
  --radius:12px;
  --font-display:'Space Grotesk',sans-serif;
  --font-body:'Inter',sans-serif;
  --font-mono:'JetBrains Mono',monospace;
}

*,*::before,*::after{box-sizing:border-box}
/* Lenis drives smooth scroll via JS (matching SM), not CSS — leaving
   scroll-behavior:smooth here would fight it. Native "auto" is also the
   correct fallback if Lenis fails to load or JS is disabled. */
html{scroll-behavior:auto}
body{
  margin:0; background:var(--ink); color:var(--paper);
  font-family:var(--font-body); -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
img{max-width:100%}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{font-family:var(--font-display);letter-spacing:-.02em;margin:0}
p{margin:0}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:16px;top:-48px;z-index:100;background:var(--paper);color:var(--ink);padding:10px 16px;border-radius:8px;font-size:13px;font-weight:600;transition:top .2s}
.skip-link:focus{top:16px}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{
  outline:2px solid var(--teal-deep);outline-offset:3px;border-radius:6px;
}

/* ============ shared bits ============ */
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;font-family:var(--font-mono);
  font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--steel);
  margin-bottom:20px;
}
.eyebrow__dot{width:5px;height:5px;border-radius:50%;background:var(--teal-deep);flex:none}
.bracket{position:relative;--mark:var(--teal)}
.bracket::before,.bracket::after{font-family:var(--font-mono);color:var(--teal-deep);font-weight:400;text-shadow:0 0 8px rgba(15,184,155,.28)}
.bracket::before{content:"[";margin-right:.12em}
.bracket::after{content:"]";margin-left:.12em}
/* stronger glow in the hero, where the bracket wraps the animated word */
.hero .bracket::before,.hero .bracket::after{text-shadow:0 0 14px rgba(43,232,198,.55)}

.h2{font-size:clamp(28px,4vw,52px);font-weight:600;letter-spacing:-.03em;line-height:1.04;color:var(--paper);margin:0 0 14px}
.lede{font-size:clamp(14px,1.2vw,17px);line-height:1.6;color:var(--steel);max-width:560px;margin:0 0 56px}
.lede--center{max-width:560px;margin-inline:auto}

.section{padding:110px 24px;border-top:1px solid var(--line-soft)}
@media (max-width:768px){.section{padding:72px 24px}}
@media (max-width:480px){.section{padding:56px 24px}}
/* a very subtle wash on alternating sections so a long single-page
   scroll reads as distinct chapters rather than one flat black page.
   Card backgrounds (--ink2) stay a full step lighter than this, so
   cards still stand out clearly on top of it either way. */
.section--alt{background:var(--ink-alt)}
.section__inner{max-width:1100px;margin:0 auto}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:999px;font-family:var(--font-body);font-size:14px;font-weight:600;
  padding:13px 24px;border:1.5px solid transparent;white-space:nowrap;
  transition:background .22s ease,color .22s ease,border-color .22s ease,transform .18s ease,box-shadow .22s ease;
}
/* Hover matches SocialMagnum's actual .smx-cta/.smx-nav__cta behavior
   (pulled from their live CSS): color never changes on hover, only a
   1px lift plus a deepened shadow. */
.btn--cta{background:var(--teal);color:var(--teal-ink);border-color:var(--teal);box-shadow:0 12px 30px -6px rgba(43,232,198,.5)}
.btn--cta:hover{transform:translateY(-1px);box-shadow:0 16px 36px -6px rgba(43,232,198,.6)}
.btn--ghost{background:transparent;color:var(--paper);border-color:rgba(255,255,255,.32)}
.btn--ghost:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.5);transform:translateY(-2px)}
.btn--outline{background:transparent;color:var(--paper);border-color:rgba(255,255,255,.18);width:100%}
.btn--outline:hover{border-color:var(--teal-deep);color:var(--teal-deep)}
.btn__arrow{transition:transform .2s ease}
.btn:hover .btn__arrow{transform:translateX(3px)}

.badge-pill{
  display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;
  padding:6px 14px;font-family:var(--font-mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--steel);margin-bottom:18px;background:rgba(255,255,255,.02);
}

/* ============ reveal-on-scroll ============ */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
.reveal.in{opacity:1;transform:none}
.dv-sec{opacity:0;transform:translateY(20px);transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1)}
.dv-sec.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal,.dv-sec{opacity:1!important;transform:none!important;transition:none!important}
}

/* ================================================================
   NAV
   ================================================================ */
.nav{position:fixed;inset:0 0 auto;z-index:60;padding:0}
.nav__inner{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;
  width:100%;max-width:1180px;margin:0 auto;padding:15px 24px;
  transition:max-width .4s cubic-bezier(.22,1,.36,1),margin-top .38s cubic-bezier(.22,1,.36,1),padding .35s ease;
}
.nav__glass{
  position:absolute;inset:0;z-index:0;border-radius:999px;pointer-events:none;
  background:rgba(10,15,26,.95);border:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(12px) saturate(140%);box-shadow:0 2px 24px rgba(0,0,0,.35);
}
.nav.is-scrolled .nav__inner{max-width:min(960px,calc(100% - 24px));margin-top:11px;padding:9px 18px 9px 20px}

.nav__brand{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;color:#fff}
.nav__brand-text{font-family:var(--font-display);font-weight:600;font-size:18px;letter-spacing:-.02em}
.nav__right{position:relative;z-index:1;display:flex;align-items:center;gap:22px}
.nav__links{display:flex;align-items:center;gap:20px}
/* Replicates SocialMagnum's real nav-link hover: not a color/underline
   change, but a vertical "roll" — a duplicate of the label sits directly
   below, hidden; on hover the visible copy slides up and out while the
   duplicate slides up into view from below. Pulled from their live
   markup (stacked spans + group-hover:-translate-y-full / translate-y-0). */
.nav__links a{
  font-family:var(--font-mono);font-size:12px;text-transform:uppercase;letter-spacing:.16em;
  color:rgba(255,255,255,.8);font-weight:500;
}
.nav__links a .roll{position:relative;display:block;overflow:hidden;line-height:1.3}
.nav__links a .roll span{display:block;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.nav__links a .roll span:last-child{position:absolute;inset:0;transform:translateY(100%)}
.nav__links a:hover .roll span:first-child{transform:translateY(-100%)}
.nav__links a:hover .roll span:last-child{transform:translateY(0)}
.nav__cta{height:44px;padding:0 20px;box-shadow:0 6px 18px rgba(43,232,198,.32);transition:height .3s ease,background .22s ease,transform .18s ease,box-shadow .22s ease}
.nav__cta:hover{box-shadow:0 10px 26px rgba(43,232,198,.42)}
.nav.is-scrolled .nav__cta{height:38px}
/* Sign in — the route back to the app for existing customers. It sits OUTSIDE
   .nav__links (which is display:none below 1023px), so it needs its own
   breakpoint rule or it survives into mobile and crowds the hamburger. The
   mobile menu carries its own copy. */
.nav__signin{
  font-family:var(--font-mono);font-size:12px;text-transform:uppercase;letter-spacing:.16em;
  color:rgba(255,255,255,.8);font-weight:500;margin-right:16px;white-space:nowrap;
  transition:color .22s ease;
}
.nav__signin:hover{color:var(--teal)}

.nav__toggle{position:relative;display:none;width:44px;height:44px;flex:none;place-items:center}
.nav__toggle span{position:absolute;display:block;width:19px;height:1.5px;border-radius:99px;background:#fff;transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .3s ease}
.nav__toggle span:nth-child(1){transform:translateY(-6px)}
.nav__toggle span:nth-child(3){transform:translateY(6px)}
.nav.is-open .nav__toggle span:nth-child(1){transform:translateY(0) rotate(45deg)}
.nav.is-open .nav__toggle span:nth-child(2){opacity:0}
.nav.is-open .nav__toggle span:nth-child(3){transform:translateY(0) rotate(-45deg)}

/* below ~340px, the "Get a quote" pill + hamburger toggle no longer both
   fit the nav bar; the mobile menu already repeats this CTA
   (.mobile-menu__cta), so drop the duplicate rather than let it overflow */
@media (max-width:340px){
  .nav__cta{display:none}
}
@media (max-width:1023px){
  .nav__links{display:none}
  .nav__signin{display:none}
  .nav__toggle{display:grid}
  .nav__inner{padding:12px 16px}
  .nav.is-scrolled .nav__inner{max-width:calc(100% - 20px);padding:6px 10px 6px 16px}
}

/* mobile menu panel */
.mobile-menu{
  position:fixed;inset:0;z-index:55;display:flex;flex-direction:column;overflow-y:auto;
  background:#0b0b0c;padding:96px 24px 32px;opacity:0;pointer-events:none;transition:opacity .3s ease;
}
.mobile-menu.is-open{opacity:1;pointer-events:auto}
.mobile-menu__links{display:flex;flex-direction:column}
.mobile-menu__links a{
  border-bottom:1px solid rgba(255,255,255,.1);padding:18px 0;font-family:var(--font-display);
  font-size:26px;font-weight:600;letter-spacing:-.02em;color:#fff;
}
.mobile-menu__links a:first-child{border-top:1px solid rgba(255,255,255,.1)}
.mobile-menu__cta{margin-top:auto;padding-top:24px;text-align:center}

/* ================================================================
   HERO
   ================================================================ */
.hero{
  position:relative;overflow:hidden;text-align:center;background:var(--ink);color:var(--paper);
  min-height:100svh;display:flex;flex-direction:column;justify-content:center;
  padding:160px 24px 80px;
}
.hero::before{
  content:'';position:absolute;inset:-28px;pointer-events:none;z-index:0;
  background-image:radial-gradient(circle,rgba(43,232,198,.06) 1px,transparent 1px);
  background-size:28px 28px;animation:dvDrift 28s linear infinite;
}
@keyframes dvDrift{from{background-position:0 0}to{background-position:28px 28px}}
.hero__bg{
  position:absolute;inset:0 0 auto;height:50%;z-index:0;pointer-events:none;
  background:radial-gradient(62% 44% at 50% 22%,rgba(43,232,198,.22),transparent 68%);
}
.hero__inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;max-width:820px;margin:0 auto;width:100%}

.h1{
  display:flex;flex-direction:column;align-items:center;gap:.35em;
  font-size:clamp(38px,6vw,86px);line-height:.97;letter-spacing:-.045em;font-weight:600;
  white-space:nowrap;margin:0;
}
/* column-gap, not a margin on the child. Flex drops the whitespace between
   the text run and the bracketed span, so the gap has to be declared — but
   a margin also indents the span when the row wraps onto two lines, which
   is exactly what happens on a phone. column-gap spaces items that share a
   line and adds nothing to the start of a wrapped one. */
.h1 span{display:flex;align-items:baseline;white-space:nowrap;column-gap:.28em}

/* No left margin by default. The markup already puts a real space before
   this span, so a margin on top of it is a second space — and worse, when
   the heading wraps and the bracketed phrase starts a line, that margin
   does not collapse the way the space does. It becomes a phantom indent,
   which is why the bracketed row of every h2 sat ~14px right of the line
   above it on a phone. */
.cycle{position:relative;display:inline-block;vertical-align:baseline;text-align:left;margin-left:0}
/* The .h1 rows get their spacing from column-gap on the flex row instead
   (see .h1 span below) — nothing extra is needed on the child. */
.cycle__inner{display:inline-block;overflow:visible;white-space:nowrap;transition:width .45s cubic-bezier(.22,1,.36,1)}
.cycle__ghost{position:absolute;left:0;top:0;visibility:hidden;white-space:pre;pointer-events:none}
.cycle__word{display:inline-block;transition:opacity .28s ease,transform .28s ease}

.cta-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:center;margin-top:36px}
.sub{max-width:46ch;color:var(--steel);margin-top:26px;font-size:clamp(15px,1.35vw,18px);line-height:1.55}
.sub strong{color:var(--paper);font-weight:600}

.flow-wrap{width:100%;max-width:680px;margin-top:110px}
.flow-card{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px 20px}
.flow-card svg{display:block;width:100%;height:auto;min-height:200px}
@keyframes dvFlowH{0%{transform:translateX(0);opacity:0}8%{opacity:1}46%{transform:translateX(470px);opacity:.9}54%{transform:translateX(470px);opacity:0}100%{transform:translateX(0);opacity:0}}
.flow-node{animation:dvFlowH 4.6s cubic-bezier(.5,0,.5,1) 1.2s infinite}
@keyframes dvRise{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.bars rect{transform-origin:center bottom;animation:dvRise .7s cubic-bezier(.16,1,.3,1) both}
.bars rect:nth-child(1){animation-delay:0ms}.bars rect:nth-child(2){animation-delay:70ms}.bars rect:nth-child(3){animation-delay:140ms}.bars rect:nth-child(4){animation-delay:210ms}

@media (prefers-reduced-motion:reduce){
  .hero::before,.flow-node,.bars rect{animation:none!important}
}
@media (max-width:600px){
  .hero{padding-top:110px}
  .cta-row{flex-direction:column;width:100%}
  .cta-row .btn{width:100%}
  /* 110px of air between the copy and the diagram is a desktop rhythm. On a
     phone it is most of a screen height of nothing, and it pushes the first
     piece of proof below two scrolls. */
  .flow-wrap{margin-top:52px}
  .sub{margin-top:20px}
  .cta-row{margin-top:28px}
}
@media (max-width:480px){
  /* the longest cycling words ("Automate workflows/repetition") no longer
     fit on one line at any legible size on very narrow phones — let each
     headline row wrap onto two lines instead of clipping against
     .hero's overflow:hidden */
  .h1{font-size:clamp(30px,9vw,86px);white-space:normal}
  .h1 span{white-space:normal;flex-wrap:wrap;row-gap:.08em}
}

/* ================================================================
   RESULTS / STATS BAND
   ================================================================ */
.stats{background:var(--ink);padding:64px 24px;border-bottom:1px solid var(--line-soft)}
.stats__grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line-soft);border-radius:var(--radius);overflow:hidden}
.stat-block{background:var(--ink2);padding:28px 20px;text-align:center}
.stat-block__num{
  font-family:var(--font-display);font-weight:700;font-size:clamp(30px,3.6vw,44px);letter-spacing:-.03em;line-height:1;
  background:linear-gradient(135deg,#00e5b4,#00b4d8);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.stat-block__label{margin-top:10px;font-size:13px;line-height:1.4;color:var(--steel)}
@media (max-width:700px){.stats__grid{grid-template-columns:1fr 1fr}}

/* ================================================================
   SERVICE / CONTENT CARD GRIDS
   ================================================================ */
.svc-group{margin-bottom:56px}
.svc-group--last{margin-bottom:0}
.svc-group__head{display:flex;align-items:center;gap:12px;margin-bottom:24px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.svc-group__head span{font-family:var(--font-mono);font-size:9.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--teal-deep)}

.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1px;background:var(--line-soft);border-radius:var(--radius);overflow:hidden}
.card{
  background:var(--ink2);padding:24px;border-top:2px solid rgba(43,232,198,.35);opacity:0;
  /* the stagger delay only ever applies to this entrance fade — hover's
     background/transform/box-shadow below have no delay of their own,
     so a card near the end of a grid never feels laggy to hover just
     because it faded in late */
  transition:opacity .4s ease var(--stagger,0s),background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.dv-sec.in .card{opacity:1}
.card:hover{background:#0d1520;transform:translateY(-3px);box-shadow:0 14px 28px -16px rgba(0,0,0,.5)}
.card__icon{width:22px;height:22px;margin-bottom:10px;color:var(--teal-deep);transition:color .2s ease}
.card__icon svg{display:block;width:100%;height:100%}
.card:hover .card__icon{color:var(--teal)}
.card h4{font-size:15px;font-weight:600;color:var(--paper);margin:0 0 8px;letter-spacing:-.01em}
.card p{font-size:13.5px;line-height:1.6;color:var(--steel);margin:0}

.tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));gap:1px;background:var(--line-soft);border-radius:var(--radius);overflow:hidden}

/* staggered entrance: each card/tile fades in ~55ms after the previous
   one, instead of a whole grid appearing as one flat block */
.card-grid>.card:nth-child(1),.tile-grid>.tile:nth-child(1){--stagger:0s}
.card-grid>.card:nth-child(2),.tile-grid>.tile:nth-child(2){--stagger:.035s}
.card-grid>.card:nth-child(3),.tile-grid>.tile:nth-child(3){--stagger:.07s}
.card-grid>.card:nth-child(4),.tile-grid>.tile:nth-child(4){--stagger:.105s}
.card-grid>.card:nth-child(5),.tile-grid>.tile:nth-child(5){--stagger:.14s}
.card-grid>.card:nth-child(6),.tile-grid>.tile:nth-child(6){--stagger:.175s}
.tile-grid>.tile:nth-child(7){--stagger:.21s}
.tile-grid>.tile:nth-child(8){--stagger:.245s}
.tile-grid>.tile:nth-child(9){--stagger:.28s}
.tile-grid>.tile:nth-child(10){--stagger:.315s}
.tile-grid>.tile:nth-child(11){--stagger:.35s}
.tile-grid>.tile:nth-child(12){--stagger:.385s}
@media (prefers-reduced-motion:reduce){
  .card-grid>.card,.tile-grid>.tile{--stagger:0s!important}
}
.tile{
  background:var(--ink2);padding:22px 18px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;
  border-left:3px solid transparent;opacity:0;
  transition:opacity .4s ease var(--stagger,0s),background .2s ease,border-left-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.dv-sec.in .tile{opacity:1}
.tile:hover{background:#0d1520;border-left-color:var(--teal-deep);transform:translateY(-3px);box-shadow:0 14px 28px -16px rgba(0,0,0,.5)}
.tile__icon{width:26px;height:26px;display:inline-flex;color:var(--teal-deep);transition:color .2s ease}
.tile__icon svg{display:block;width:100%;height:100%}
.tile:hover .tile__icon{color:var(--teal)}
.tile span:last-child{font-family:var(--font-display);font-size:14px;font-weight:500;color:var(--paper);line-height:1.3}

.card-grid--why{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.card--why{position:relative;padding:28px 26px;border-top:0}
.card--why h3{font-size:16px;font-weight:600;color:var(--teal-deep);margin:0 0 10px;letter-spacing:-.01em}
.card--why p{font-size:14px;line-height:1.65;color:var(--steel)}
.card--why .card__icon{width:26px;height:26px;margin-bottom:14px}
.card__num{position:absolute;top:12px;right:16px;font-family:var(--font-display);font-size:52px;font-weight:700;color:rgba(247,248,245,.06);line-height:1;pointer-events:none;user-select:none;z-index:0}


/* ================================================================
   HOW IT WORKS (sticky tour)
   ================================================================ */
.hiw{background:var(--ink);border-top:1px solid var(--line-soft);padding:110px 0}
.hiw__inner{max-width:1200px;margin:0 auto;padding:0 24px}
.hiw__head{text-align:center;margin-bottom:58px}
.hiw__head .h2{margin:20px auto 0}
.hiw__head em{font-style:normal;background:linear-gradient(135deg,#00e5b4,#00b4d8);-webkit-background-clip:text;background-clip:text;color:transparent}

.hiw__grid{display:grid;grid-template-columns:7fr 5fr;align-items:start;gap:64px}
.hiw__sticky{position:sticky;top:0;align-self:start;height:100svh;min-height:480px;display:flex;align-items:center;min-width:0}
.hiw__browser{width:100%;background:#111827;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.hiw__bar{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#0a0f1a;border-bottom:1px solid rgba(255,255,255,.08)}
.hiw__light{width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.18)}
.hiw__light--r{background:#ff5f57}.hiw__light--y{background:#febc2e}.hiw__light--g{background:#28c840}
.hiw__url{flex:1;min-width:0;margin-left:10px;text-align:center;font-family:var(--font-mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.4);background:rgba(255,255,255,.06);border-radius:999px;padding:4px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.hiw__screens{position:relative;width:100%;min-height:300px;aspect-ratio:16/10}
.hiw__shot{position:absolute;inset:0;opacity:0;transform:translateY(6px);transition:opacity .26s ease,transform .26s cubic-bezier(.16,1,.3,1)}
.hiw__shot.hiw--on{opacity:1;transform:none}
.hiw__img{width:100%;height:100%;min-height:300px;background:#111827;padding:28px;display:flex;flex-direction:column;gap:14px;font-family:var(--font-mono);font-size:10.5px}
.hiw__tag{font-family:var(--font-mono);font-size:9px;letter-spacing:.15em;color:#00e5b4;text-transform:uppercase}

.hiw__panel{background:#1a2332;border-radius:8px;padding:18px;display:flex;flex-direction:column;gap:12px}
.hiw__panel-head{display:flex;justify-content:space-between;align-items:center}
.hiw__panel-head span:first-child{font-family:var(--font-display);font-size:13px;font-weight:600;color:#f0f4f8}
.hiw__badge{background:#00e5b4;color:#062B25;font-family:var(--font-mono);font-size:9px;padding:3px 10px;border-radius:99px;font-weight:600}
.hiw__panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hiw__panel-grid--2{margin-bottom:8px}
.hiw__stat{background:#0a0f1a;border-radius:6px;padding:10px}
.hiw__stat-label{font-family:var(--font-mono);font-size:8px;color:#697082;letter-spacing:.1em;margin-bottom:4px}
.hiw__stat-val{font-family:var(--font-body);font-size:11px;color:#f0f4f8}
.hiw__stat-val--teal{color:#00e5b4}
.hiw__stat-big{font-family:var(--font-display);font-size:24px;font-weight:700;color:#f0f4f8}
.hiw__stat-big--teal{background:linear-gradient(135deg,#00e5b4,#00b4d8);-webkit-background-clip:text;background-clip:text;color:transparent}

.hiw__rows{display:flex;flex-direction:column;gap:10px}
.hiw__row{background:#1a2332;border-radius:8px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.hiw__row-title{font-family:var(--font-display);font-size:12px;font-weight:600;color:#f0f4f8;margin-bottom:4px}
.hiw__row-sub{font-family:var(--font-mono);font-size:9px;color:#697082}
.hiw__bar100{width:80px;height:5px;background:#0a0f1a;border-radius:99px;overflow:hidden;flex:none}
.hiw__bar100 i{display:block;height:100%;background:#00e5b4;border-radius:99px}

.hiw__chat{display:flex;flex-direction:column;gap:10px;flex:1}
.bubble{border-radius:0 10px 10px 10px;padding:10px 14px;max-width:80%;font-size:11px;line-height:1.5}
.bubble--in{align-self:flex-start;background:#1a2332;color:#f0f4f8}
.bubble--out{align-self:flex-end;background:#00e5b4;color:#062B25;border-radius:10px 0 10px 10px}

.hiw__metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-bottom:4px}
.hiw__metric{background:#1a2332;border-radius:6px;padding:10px;text-align:center}
.hiw__metric-label{font-family:var(--font-mono);font-size:8px;color:#697082;margin-bottom:4px}
.hiw__metric-val{font-family:var(--font-display);font-size:18px;font-weight:700;color:#f0f4f8}
.hiw__metric-val--teal{background:linear-gradient(135deg,#00e5b4,#00b4d8);-webkit-background-clip:text;background-clip:text;color:transparent}
.hiw__activity{background:#1a2332;border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:8px}
.hiw__bars{display:flex;align-items:flex-end;gap:4px;height:56px}
.hiw__bars i{flex:1;background:#00e5b4;border-radius:2px 2px 0 0;display:block}

.hiw__channels{background:#1a2332;border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:8px}
.hiw__channel{display:flex;align-items:center;gap:8px}
.hiw__channel span{font-size:10px;color:#f0f4f8;width:64px;flex:none}
.hiw__channel .hiw__bar100{flex:1;width:auto}
.hiw__channel b{font-family:var(--font-mono);font-size:9px;color:#00e5b4;font-weight:400}

.hiw__steps{position:relative;display:flex;flex-direction:column;padding-left:34px}
.hiw__rail{position:absolute;top:6vh;bottom:10vh;left:0;width:3px;background:rgba(255,255,255,.08);border-radius:2px;overflow:hidden}
.hiw__railfill{position:absolute;top:0;left:0;width:100%;height:0;background:#00e5b4;border-radius:2px}
.hiw__step{cursor:pointer;opacity:.3;padding:19vh 0;border-left:3px solid transparent;padding-left:18px;transition:opacity .45s ease}
.hiw__step:first-child{padding-top:5vh}
.hiw__step:last-child{padding-bottom:30vh}
.hiw__step.hiw--on{opacity:1;border-left-color:var(--teal-deep)}
.hiw__step:hover{opacity:.85}
.hiw__n{font-family:var(--font-mono);letter-spacing:.1em;color:#697082;font-size:12.5px}
.hiw__step.hiw--on .hiw__n{color:var(--teal-deep)}
.hiw__step h3{font-size:max(26px,min(2.9vw,40px));font-weight:600;letter-spacing:-.035em;line-height:1.05;color:var(--paper);margin:10px 0 12px;display:inline-block;border-bottom:2px solid transparent;padding-bottom:2px;transition:border-color .25s ease}
.hiw__step.hiw--on h3{border-bottom-color:var(--teal-deep)}
.hiw__step p{color:var(--steel);max-width:34ch;font-size:15.5px;line-height:1.6;margin:0}

@media (max-width:900px){
  .hiw__grid{grid-template-columns:1fr;gap:34px}
  .hiw__sticky{position:relative;top:0;height:auto;min-height:0;display:block}
  .hiw__step{padding:42px 0}
  .hiw__step:first-child{padding-top:8px}
  .hiw__step:last-child{padding-bottom:16px}
  .hiw__rail{top:0;bottom:0}
  .hiw__screens{min-height:260px}
  /* The sticky pin-and-swap only works because the mockup shares the
     viewport with the steps scrolling past it in a side column. Single-
     column mobile has no side column, so the mockup scrolls away after
     the first step and the JS-driven swap keeps changing a screen no one
     can see (worse: scroll back up and it may show a later step's screen
     next to the first step's text). Freeze it on the Discovery Brief as
     a static "here's the product" preview instead of faking a sync it
     can't deliver. Step text keeps its own scroll-spotlight dimming
     unchanged below — only the mockup is frozen. */
  .hiw__shot{transition:none}
  .hiw__shot:not([data-i="0"]){display:none}
  .hiw__shot[data-i="0"]{opacity:1;transform:none}
}

/* ================================================================
   PRICING
   ================================================================ */
.pricing{background:var(--ink)}
.pricing__head{text-align:center;max-width:700px;margin:0 auto 44px}
.pricing__head .h2{margin-top:5px}
.tier-grid{display:grid;gap:16px;grid-template-columns:repeat(4,1fr)}
.tier{position:relative;display:flex;flex-direction:column;background:var(--ink2);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.tier--pop{border-left:3px solid var(--teal-deep);box-shadow:0 0 44px -8px rgba(15,184,155,.18)}
.tier:hover{border-color:rgba(15,184,155,.55);box-shadow:0 0 0 1px rgba(15,184,155,.18),0 0 22px rgba(15,184,155,.07);transform:translateY(-3px)}
.tier--pop:hover{box-shadow:0 0 0 1px rgba(15,184,155,.4),0 0 44px -8px rgba(15,184,155,.24)}
.tier{transition:border-color .25s ease,box-shadow .25s ease,transform .2s ease}
.tier__flag{align-self:flex-start;margin-bottom:12px;padding:4px 10px;border-radius:999px;background:var(--teal-deep);color:var(--teal-ink);font-family:var(--font-mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase}
.tier h3{font-size:16.5px;font-weight:600;letter-spacing:-.02em;color:var(--paper)}
.tier__sub{margin-top:4px;font-size:12.5px;line-height:1.4;color:var(--steel)}
.tier__price{margin-top:14px;font-family:var(--font-display);font-weight:600;font-size:21px;letter-spacing:-.03em;color:var(--paper)}
/* the recommended tier's price gets the same gradient treatment as
   "live in days." in the how-it-works heading — used sparingly, only
   here and on the how-it-works section's own stat numbers, so it keeps
   reading as "look here" rather than becoming the default accent */
.tier--pop .tier__price{background:linear-gradient(135deg,#00e5b4,#00b4d8);-webkit-background-clip:text;background-clip:text;color:transparent}
.tier__note{margin-top:4px;font-size:11px;color:var(--paper)}
.tier__list{display:flex;flex-direction:column;gap:8px;margin:16px 0 0}
.tier__list li{position:relative;padding-left:20px;font-size:13px;line-height:1.5;color:var(--steel)}
.tier__list li::before{content:'';position:absolute;left:0;top:6px;width:10px;height:6px;border-left:1.8px solid var(--teal-deep);border-bottom:1.8px solid var(--teal-deep);transform:rotate(-45deg)}
.tier .btn{margin-top:auto;padding-top:16px}
.pricing__footnote{margin-top:24px;text-align:center;font-size:12px;color:var(--steel)}

@media (max-width:980px){.tier-grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.tier-grid{grid-template-columns:1fr}}

/* ================================================================
   CONTACT + FAQ
   ================================================================ */
.dz{background:#0a0f1a;color:var(--paper);position:relative;overflow:hidden}
.dz::before{
  content:'';position:absolute;top:-80px;left:50%;transform:translateX(-50%);
  width:600px;height:300px;border-radius:50%;pointer-events:none;z-index:0;
  background:radial-gradient(ellipse,rgba(43,232,198,.13) 0%,transparent 70%);
}
.dz__comm{position:relative;z-index:1;padding:80px 24px 24px;text-align:center}
.dz__title{font-size:clamp(28px,3.8vw,50px);font-weight:700;letter-spacing:-.03em;color:#fff;margin:0}
.dz__sub{max-width:76ch;margin:18px auto 40px;font-size:15.5px;line-height:1.5;color:rgba(255,255,255,.65)}

.dz__form{max-width:620px;margin:0 auto 36px;display:flex;flex-direction:column;gap:12px;text-align:left}
.dz__form-row{display:flex;gap:12px;flex-wrap:wrap}
.dz__form input,.dz__form textarea{
  flex:1 1 200px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.14);
  border-radius:8px;padding:12px 14px;color:#fff;font-family:var(--font-body);font-size:14px;
  transition:border-color .2s ease,background .2s ease;
}
.dz__form input::placeholder,.dz__form textarea::placeholder{color:rgba(255,255,255,.4)}
.dz__form input:focus,.dz__form textarea:focus{outline:none;border-color:var(--teal-deep);background:rgba(255,255,255,.06)}
.dz__form textarea{resize:vertical;min-height:100px}
.dz__form-foot{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
.dz__form-status{font-size:13px;color:var(--teal)}
.dz__form-status[data-state="error"]{color:#ff6a70}
/* The handoff state is deliberately not teal. Teal reads as "sent", and at
   this point we do not know that — only that the browser was asked to open
   a mail client. */
.dz__form-status[data-state="handoff"]{color:rgba(255,255,255,.62)}

.dz__form-fallback{
  border:1px solid rgba(255,255,255,.14);border-radius:12px;
  background:rgba(255,255,255,.03);padding:16px 18px;
  display:flex;flex-direction:column;gap:12px;
}
/* An author `display` beats the UA stylesheet's [hidden]{display:none} no
   matter how specific that rule looks, so the attribute needs restating
   here or the block renders on page load. */
.dz__form-fallback[hidden]{display:none}
.dz__form-fallback-lead{margin:0;font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.62)}
.dz__form-fallback-lead b{color:#fff;font-weight:600}
.dz__form-fallback-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dz__form-fallback-addr{
  font-family:var(--font-mono);font-size:13px;color:var(--teal-deep);
  background:rgba(15,184,155,.09);border-radius:7px;padding:7px 11px;
  user-select:all;word-break:break-all;
}
/* Smaller than the page's primary buttons — these are an escape hatch, not
   the path we are steering people down. */
.dz__copy{font-size:12.5px;padding:7px 13px}

.dz__panel{max-width:760px;margin:0 auto;background:#111827;border:1px solid rgba(255,255,255,.09);border-radius:20px;overflow:hidden;text-align:left}
.dz__row{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px 22px;border-bottom:1px solid rgba(255,255,255,.09);transition:background .18s ease}
.dz__row:last-child{border-bottom:0}
.dz__row:hover{background:rgba(15,184,155,.06)}
.dz__row-text{display:block;font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.6)}
.dz__row-text b{display:block;font-family:var(--font-display);font-weight:600;font-size:15.5px;color:#fff;margin-bottom:3px}
.dz__row-end{font-family:var(--font-mono);font-size:12px;color:var(--teal-deep);white-space:nowrap}

.dz__faq{position:relative;z-index:1;padding:100px 24px 110px}
.dz__faq-grid{display:grid;grid-template-columns:.7fr 1.3fr;align-items:start;gap:60px;max-width:1200px;margin:0 auto}
.dz__faq-title{font-size:clamp(34px,4.6vw,64px);font-weight:600;letter-spacing:-.035em;line-height:1;color:#fff;margin:0}
.dz__faq-aside .btn{margin-top:24px}
.dz__faq-list{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:20px;display:flex;flex-direction:column;overflow:hidden}
.faq-item{border-bottom:1px solid rgba(255,255,255,.1);transition:background .18s ease}
.faq-item:last-child{border-bottom:0}
.faq-item:hover{background:rgba(255,255,255,.03)}
.faq-item.is-open{background:rgba(255,255,255,.04)}
.faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:21px 24px;text-align:left;font-family:var(--font-body);font-size:15.5px;font-weight:600;color:#f5f5f7;transition:color .2s ease}
.faq-q:hover{color:var(--teal-deep)}
.faq-icon{position:relative;width:26px;height:26px;flex:none;border:1px solid var(--mist);border-radius:999px;transition:transform .3s cubic-bezier(.22,1,.36,1),color .2s ease,border-color .2s ease}
.faq-icon::before,.faq-icon::after{content:'';position:absolute;top:50%;left:50%;background:currentColor;transform:translate(-50%,-50%)}
.faq-icon::before{width:10px;height:1.4px}
.faq-icon::after{width:1.4px;height:10px}
.is-open .faq-icon{color:var(--teal-deep);border-color:rgba(15,184,155,.45);transform:rotate(45deg)}
.faq-a-wrap{height:0;opacity:0;overflow:hidden;transition:height .35s cubic-bezier(.16,1,.3,1),opacity .3s ease}
.faq-a-wrap p{margin:0;padding:0 24px 22px;max-width:64ch;font-size:14px;line-height:1.65;color:rgba(255,255,255,.65)}

@media (max-width:900px){
  .dz__comm,.dz__faq{padding-top:64px;padding-bottom:64px}
  .dz__faq-grid{grid-template-columns:1fr;gap:40px}
  .dz__row-end{white-space:normal}
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer{background:#0a0f1a;border-top:1px solid rgba(255,255,255,.08);padding:56px 24px}
.footer__inner{max-width:1200px;margin:0 auto}
.footer__grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:32px 40px}
.footer__brand p{margin-top:16px;max-width:36ch;font-size:14px;line-height:1.55;color:rgba(255,255,255,.7)}
.footer__logo{display:inline-flex;align-items:center;gap:.5em;font-family:var(--font-display);font-weight:600;font-size:18px;letter-spacing:-.02em;color:#fff}
.footer__col h3{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.4)}
.footer__col ul{margin-top:16px;display:flex;flex-direction:column;gap:10px}
.footer__col a{font-size:14px;line-height:1.4;color:rgba(255,255,255,.7);transition:color .2s ease}
.footer__col a:hover{color:var(--teal)}
.footer__bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:40px;padding-top:32px;border-top:1px solid rgba(255,255,255,.08)}
.footer__wordmark{display:inline-flex;align-items:center;gap:.5em;font-family:var(--font-display);font-weight:600;font-size:17px;letter-spacing:-.02em;color:#fff}
.footer__bottom p{font-size:13px;color:rgba(255,255,255,.7)}
@media (max-width:768px){
  .footer__grid{grid-template-columns:1fr 1fr;gap:32px 24px}
  .footer__brand{grid-column:1/-1}
}

/* ================================================================
   PHONE
   ================================================================
   Written against a measured 375px viewport rather than by eye. Each
   rule below fixes something that was counted: 26 tap targets under
   44px, 23 text nodes under 13px, form fields at 14px, and a hero
   diagram whose labels landed at roughly 2px on screen.
   ================================================================ */
@media (max-width:600px){

  /* --- Form fields -------------------------------------------------
     iOS Safari zooms the whole page in when a focused field's text is
     under 16px, and does not zoom back out on blur. The visitor is then
     stranded on a page wider than the screen, mid-enquiry. 16px is the
     threshold, so this is a fixed number, not a preference. */
  .dz__form input,
  .dz__form textarea{font-size:16px;padding:13px 14px}

  /* --- Tap targets -------------------------------------------------
     All 22 footer links rendered 17px tall. Padding rather than
     font-size keeps the visual weight of the footer while giving each
     link a reachable box; the negative inline margin stops that padding
     from shifting the text off its left alignment. */
  .footer__col ul{gap:2px}
  .footer__col a{display:block;padding:13px 8px;margin-inline:-8px;line-height:1.35}
  .footer__bottom{gap:12px}
  .footer__bottom a{display:inline-block;padding:14px 10px;margin-inline:-10px}

  /* --- Small type --------------------------------------------------
     Eyebrows sat at 10.5px. They are uppercase and letter-spaced, which
     is where legibility is lost first on a phone. */
  .eyebrow{font-size:12px}
  .footer__col h3{font-size:12px}
  .stat-block__label{font-size:13.5px}
  /* Mono, uppercase and letter-spaced at 9-9.5px. That combination is
     already near the floor on a desktop monitor; on a phone held at arm's
     length it is texture. Easing the tracking as well, since letter-spacing
     costs more legibility than size at these sizes. */
  .svc-group__head span{font-size:11.5px;letter-spacing:.13em}
  .hiw__tag{font-size:11px;letter-spacing:.1em}
  .hiw__url{font-size:11px;letter-spacing:.09em}
  /* The "how it works" panels are mock console UI, where small type is part
     of the illusion — but 8-9px carries real sentences here ("847 records
     indexed", "Ready to build"), so they have to survive being read on a
     phone. Nudged, not normalised: they should still look like a dense
     interface. */
  .hiw__badge{font-size:10.5px}
  .hiw__row-title{font-size:13.5px}
  .hiw__row-sub{font-size:11px}
  .hiw__stat-label,.hiw__metric-label{font-size:10px;letter-spacing:.07em}

  /* --- Hero diagram ------------------------------------------------
     The SVG is a 920-wide viewBox at width:100%. Inside a 375px screen
     that is a 0.31 scale, so its 6.5-7px labels render around 2px and
     the whole thing reads as texture rather than a diagram.
     Giving it a floor width and letting the CARD scroll keeps the
     detail for anyone who wants it, and keeps the overflow inside this
     element — the page body still never scrolls sideways. */
  .flow-card{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:18px 16px}
  .flow-card svg{min-width:560px}
}
