/* Landing and public pages (#182), from docs/mockups/landing.html. Same family as auth.html and dashboard.html:
   zinc neutrals, one UI accent #0d92e9, Heebo, radius .5rem, borders before shadows.
   Pass 2: one phone in the hero, the agent dashboard is a cropped snippet of the real
   capture inside a small bordered card (pass 3 drops the family snippets); line graphics from graphics-opus.html sit next
   to the copy they explain; brand files come from docs/brand/. */
@font-face{font-family:"Heebo";src:url("/static/fonts/heebo-hebrew.woff2") format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";src:url("/static/fonts/heebo-latin.woff2") format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  --radius:.5rem;
  --background:0 0% 100%;--foreground:240 10% 3.9%;
  --card:0 0% 100%;--secondary:240 4.8% 95.9%;--muted:240 4.8% 95.9%;--muted-foreground:240 3.8% 46.1%;
  --accent:240 4.8% 95.9%;--destructive:0 72% 45%;
  --border:240 5.9% 90%;--input:240 5.9% 86%;
  --r-sm:calc(var(--radius) - 4px);--r-md:calc(var(--radius) - 2px);--r-lg:var(--radius);--r-xl:calc(var(--radius) + 4px);
  --ok:142 71% 29%;--ok-bg:141 84% 93%;
  --ui:205 89% 48%;--ui-strong:205 89% 40%;--ui-soft:205 89% 96%;--ring:var(--ui);
  /* Graphic tokens (graphics-opus.html), as full colors for SVG fills and strokes */
  --g-ui:hsl(var(--ui));--g-ui-strong:hsl(var(--ui-strong));--g-ui-tint:hsl(205 89% 90%);--g-ui-soft:hsl(var(--ui-soft));--g-ui-wash:hsl(205 89% 98.4%);
  --g-ink:hsl(222 22% 20%);--g-ink-2:hsl(220 9% 46%);--g-ink-3:hsl(220 10% 72%);
  --g-hair:hsl(220 14% 90%);--g-hair-2:hsl(220 16% 94.5%);--g-page:hsl(210 20% 98.6%);
  /* Landing-only type scale on top of the portal's 14px base */
  --t-xs:12px;--t-sm:13px;--t-md:15px;--t-lg:17px;--t-xl:24px;--t-2xl:clamp(30px,7.2vw,46px);
  --wrap:1120px;--gut:20px;
}
*{box-sizing:border-box;border-color:hsl(var(--border))}
[hidden]{display:none!important}
html{font-family:"Heebo",system-ui,sans-serif;font-size:16px;-webkit-text-size-adjust:100%;overflow-x:hidden}
body{margin:0;background:hsl(var(--muted)/.5);color:hsl(var(--foreground));line-height:1.5}
a{color:inherit}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p,figure{margin:0}
svg.i{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.muted{color:hsl(var(--muted-foreground))}
bdi{unicode-bidi:isolate;white-space:nowrap}
:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}


/* Buttons: portal .btn, one size up for a public page */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border-radius:var(--r-md);border:1px solid transparent;background:hsl(var(--ui-strong));color:#fff;font-weight:500;font-size:var(--t-md);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .12s}
.btn:hover{background:hsl(205 89% 33%)}
.btn.outline{background:hsl(var(--background));color:hsl(var(--foreground));border-color:hsl(var(--input))}
.btn.ghost{background:transparent;color:hsl(var(--foreground))}
.btn.outline:hover,.btn.ghost:hover{background:hsl(var(--accent))}
.btn.sm{height:32px;padding:0 12px;font-size:var(--t-sm)}

/* Top bar: brand files from docs/brand. Mark alone on mobile, horizontal logo from 640px. */
.top{position:sticky;top:0;z-index:20;background:hsl(var(--background)/.88);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid hsl(var(--border))}
.top .wrap{display:flex;align-items:center;gap:12px;height:56px}
.brand{display:flex;align-items:center;text-decoration:none;border-radius:var(--r-md)}
.brand img{width:auto;height:26px}
.top nav{margin-inline-start:auto;display:flex;align-items:center;gap:4px}
.top nav .hide-sm{display:none}

/* Section rhythm */
.sect{padding-block:56px}
.sect-h{max-width:640px;margin-bottom:24px}
.sect-h h2{font-size:var(--t-xl);font-weight:700;letter-spacing:-.01em;line-height:1.2}
.sect-h p{margin-top:6px;font-size:var(--t-md);color:hsl(var(--muted-foreground))}

/* Portal card: header, body, footer (same as dashboard .sec) */
.sec{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--r-xl);overflow:hidden}
.sec-h{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid hsl(var(--border))}
.sec-h h3{font-size:17px;font-weight:600;display:flex;align-items:center;gap:8px}
.sec-h .end{margin-inline-start:auto}
.sec-b{padding:12px 16px}
.sec-f{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 16px;border-top:1px solid hsl(var(--border));background:hsl(var(--muted)/.45);font-size:14px;color:hsl(var(--muted-foreground))}
.pill{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:500;border-radius:999px;padding:2px 9px;background:hsl(var(--ui-soft));color:hsl(var(--ui-strong))}
.pill.ok{background:hsl(var(--ok-bg));color:hsl(var(--ok))}
.pill svg.i{width:12px;height:12px}

/* ---------- Line graphics (graphics-opus.html), scoped under .gfx ---------- */
.gfx{display:block;width:100%;height:auto;direction:rtl;overflow:visible}
.gfx text{font-family:Heebo,system-ui,sans-serif}
.gfx .l{fill:none;stroke:var(--g-ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.gfx .l2{stroke:var(--g-ink-2)}
.gfx .l3{stroke:var(--g-ink-3)}
.gfx .lh{stroke:var(--g-hair)}
.gfx .la{stroke:var(--g-ui)}
.gfx .las{stroke:var(--g-ui-strong)}
.gfx .nss{vector-effect:non-scaling-stroke}
.gfx .t-ink{fill:var(--g-ink)}
.gfx .t-2{fill:var(--g-ink-2)}
.gfx .t-3{fill:var(--g-ink-3)}
.gfx .t-ui{fill:var(--g-ui)}

/* ---------- Cropped snippets of the real screens ----------
   The capture is scaled so the crop box fills the card, then shifted so the crop's
   top-left corner sits at the card's corner. Numbers are capture pixels:
   --iw capture width, --x/--y crop origin, --cw/--ch crop size. */
.snip-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--r-xl);overflow:hidden;box-shadow:0 1px 2px rgb(0 0 0/.04),0 12px 28px -18px rgb(0 0 0/.22)}
.snip{position:relative;overflow:hidden;aspect-ratio:var(--cw)/var(--ch)}
.snip img{position:absolute;max-width:none;height:auto;width:calc(var(--iw) / var(--cw) * 100%);left:calc(var(--x) / var(--cw) * -100%);top:calc(var(--y) / var(--ch) * -100%)}
/* Dashboard: on a phone, crop to the right-hand stat card and the date column */
.snip.dash{--iw:2560;--x:1250;--y:170;--cw:822;--ch:500}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;padding-block:36px 48px;background:hsl(var(--background));border-bottom:1px solid hsl(var(--border))}
/* Graphic 1: faint tiles with filling fields, fading to white at the bottom and under the headline */
.hero-bg{position:absolute;inset:0 0 auto 0;height:min(100%,620px);pointer-events:none;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 45%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 45%,transparent 100%)}
.hero-bg svg{width:100%;height:100%}
.g1 .fv{stroke-dasharray:1;stroke-dashoffset:0;animation:g1-type 12s var(--d) infinite both linear}
.g1 .fb{animation:g1-focus 12s var(--d) infinite both}
.g1 .fc{transform-box:fill-box;transform-origin:center;animation:g1-check 12s var(--d) infinite both}
@keyframes g1-type{0%,2%{stroke-dashoffset:1;opacity:1}9%,88%{stroke-dashoffset:0;opacity:1}95%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes g1-focus{0%,1%{stroke:var(--g-hair)}3%,9%{stroke:var(--g-ui)}13%,100%{stroke:var(--g-hair)}}
@keyframes g1-check{0%,9%{opacity:0;transform:scale(.4)}12%{opacity:1;transform:scale(1)}88%{opacity:1;transform:scale(1)}95%,100%{opacity:0;transform:scale(1)}}
.hero .wrap{position:relative;z-index:1;display:grid;gap:36px;align-items:center}
.hero-copy{position:relative;isolation:isolate}
.hero-copy::before{content:"";position:absolute;z-index:-1;inset:-48px -40px;background:radial-gradient(closest-side,#fff 62%,rgb(255 255 255/0) 100%)}
.hero h1{font-size:var(--t-2xl);font-weight:800;letter-spacing:-.025em;line-height:1.05;max-width:12ch}
.hero .lead{margin-top:14px;font-size:var(--t-lg);line-height:1.6;color:hsl(var(--muted-foreground));max-width:46ch}
.hero .acts{margin-top:22px;display:flex;flex-wrap:wrap;gap:8px}
.hero .acts .btn{flex:1 1 auto}

/* The stage: the one phone (family) plus the live form card (agent), on the tiles */
.stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;padding:8px 0 0}
.phone{width:min(62vw,236px);aspect-ratio:390/844;border-radius:30px;background:hsl(var(--foreground));padding:7px;box-shadow:0 1px 2px rgb(0 0 0/.06),0 22px 44px -22px rgb(0 0 0/.4)}
.phone .scr{position:relative;width:100%;height:100%;border-radius:24px;overflow:hidden;background:hsl(var(--background))}
.phone .scr img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top}
.stage .phone .scr img{opacity:0;transition:opacity .45s ease}
.stage[data-step="0"] img[data-s="0"],.stage[data-step="1"] img[data-s="1"],.stage[data-step="2"] img[data-s="2"],
.stage[data-step="3"] img[data-s="3"],.stage[data-step="4"] img[data-s="4"]{opacity:1}

.live{position:relative;z-index:2;width:min(100%,340px);margin-top:-170px;margin-bottom:4px;box-shadow:0 1px 2px rgb(0 0 0/.04),0 12px 28px -14px rgb(0 0 0/.22)}
.live .sec-h{padding:10px 14px}
.live .sec-h h3{font-size:16px}
.live ol{list-style:none;margin:0;padding:6px 14px 10px;display:flex;flex-direction:column}
.live li{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:var(--t-sm);color:hsl(var(--muted-foreground));transition:color .3s}
.live li .dot{width:20px;height:20px;border-radius:50%;border:1.5px solid hsl(var(--input));display:grid;place-items:center;flex-shrink:0;background:hsl(var(--background));transition:background .3s,border-color .3s}
.live li .dot svg{width:12px;height:12px;stroke-width:2.4;opacity:0;transition:opacity .2s}
.live li .t{margin-inline-start:auto;font-size:var(--t-xs);font-variant-numeric:tabular-nums;opacity:0;transition:opacity .3s}
.live li.done{color:hsl(var(--foreground))}
.live li.done .dot{background:hsl(var(--ui-strong));border-color:hsl(var(--ui-strong));color:#fff}
.live li.done .dot svg{opacity:1}
.live li.done .t{opacity:1}
.live li.now{color:hsl(var(--foreground));font-weight:500}
.live li.now .dot{border-color:hsl(var(--ui));box-shadow:0 0 0 4px hsl(var(--ui)/.15)}
.live .sec-f{padding:8px 14px}
.live .sec-f .pill{margin-inline-start:auto}

/* ---------- How it works: graphic 5 (before / after) on top, then the numbered steps ---------- */
.ba{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;padding:20px 12px 16px;border-bottom:1px solid hsl(var(--border));background:linear-gradient(hsl(var(--background)),hsl(var(--muted)/.35))}
.ba figure{display:flex;flex-direction:column;align-items:center;gap:8px}
.ba figure .gfx{max-width:300px}
.ba figcaption{font-size:var(--t-sm);color:hsl(var(--muted-foreground))}
.ba .to{width:30px;height:30px;border-radius:50%;border:1px solid hsl(var(--border));background:hsl(var(--background));display:grid;place-items:center;color:hsl(var(--muted-foreground))}
.ba .to svg.i{width:14px;height:14px}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr}
.steps li{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;padding:16px;position:relative}
.steps li+li{border-top:1px solid hsl(var(--border))}
.steps .n{grid-row:span 2;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:var(--t-sm);background:hsl(var(--ui-soft));color:hsl(var(--ui-strong));font-variant-numeric:tabular-nums}
.steps h3{font-size:var(--t-md);font-weight:600;display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.steps h3 svg.i{color:hsl(var(--muted-foreground))}
.steps p{font-size:var(--t-sm);color:hsl(var(--muted-foreground));line-height:1.55}

/* ---------- What the family sees: graphic 2 (flow) ---------- */
.flow{margin:0}
.flow ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:relative}
.flow ol::before{content:"";position:absolute;top:26px;height:4px;inset-inline:10%;background:radial-gradient(circle,hsl(var(--ui)) 1.1px,transparent 1.5px) 0 0/7px 4px repeat-x}
.flow li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;position:relative}
.flow .nd{position:relative;width:56px;height:56px;border-radius:14px;border:1.5px solid var(--g-hair);background:#fff}
.flow .nd::after{content:"";position:absolute;inset:-1.5px;border-radius:inherit;border:1.5px solid var(--g-ui-tint);background:var(--g-ui-wash)}
.flow .nd svg{position:relative;z-index:1;width:100%;height:100%}
.flow .bd{position:absolute;z-index:2;top:-7px;inset-inline-end:-7px;width:18px;height:18px;border-radius:50%;background:var(--g-ui);border:2px solid #fff;display:grid;place-items:center}
.flow .bd svg{width:10px;height:10px;stroke:#fff;stroke-width:2.6}
.flow strong{font-size:var(--t-xs);font-weight:500;line-height:1.3}
.flow small{display:none;font-size:var(--t-xs);color:hsl(var(--muted-foreground))}
.flow li:nth-child(1) .nd::after,.flow li:nth-child(1) .bd{animation:fl1 8s infinite}
.flow li:nth-child(2) .nd::after,.flow li:nth-child(2) .bd{animation:fl2 8s infinite}
.flow li:nth-child(3) .nd::after,.flow li:nth-child(3) .bd{animation:fl3 8s infinite}
.flow li:nth-child(4) .nd::after,.flow li:nth-child(4) .bd{animation:fl4 8s infinite}
.flow li:nth-child(5) .nd::after,.flow li:nth-child(5) .bd{animation:fl5 8s infinite}
@keyframes fl1{0%,90%{opacity:1}96%,100%{opacity:0}}
@keyframes fl2{0%,15%{opacity:0}17.5%,90%{opacity:1}96%,100%{opacity:0}}
@keyframes fl3{0%,30.5%{opacity:0}33%,90%{opacity:1}96%,100%{opacity:0}}
@keyframes fl4{0%,46%{opacity:0}48.5%,90%{opacity:1}96%,100%{opacity:0}}
@keyframes fl5{0%,61.5%{opacity:0}64%,90%{opacity:1}96%,100%{opacity:0}}

/* ---------- What the agency gains: each point next to the thing that shows it ---------- */
.gains-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.gains-nav{display:none;gap:8px;margin-bottom:24px}
.gains-nav button{width:40px;height:40px;border-radius:50%;border:1px solid hsl(var(--border));background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--g-ink)}
.gains-nav button:hover{background:hsl(var(--muted))}
.gains-nav button:focus-visible{outline:2px solid var(--g-ui);outline-offset:2px}
.gains-nav svg{width:18px;height:18px;stroke-width:2}
#gains-prev svg{transform:scaleX(-1)}
.gains{list-style:none;margin:0 calc(var(--gut)*-1);padding:4px calc((100vw - min(88vw,400px))/2) 20px;display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}
.gains::-webkit-scrollbar{display:none}
.gains:focus-visible{outline:2px solid var(--g-ui);outline-offset:-2px}
.gains>li{flex:0 0 min(88vw,400px);scroll-snap-align:center;transition:transform .35s ease,opacity .35s ease;background:#fff;border:1px solid hsl(var(--border));border-radius:var(--r-xl);padding:20px;display:flex;flex-direction:column;gap:14px;min-width:0}
.gains>li .vis{margin:0;padding:6px}
.gains>li .vis .gfx{max-width:none}
.gains-dots{display:flex;gap:0;justify-content:center;margin-top:4px}
.gains-dots button{display:grid;place-items:center;min-width:24px;height:24px;padding:0;border:0;background:none;cursor:pointer}
.gains-dots button:focus-visible{outline:2px solid var(--g-ui);outline-offset:1px;border-radius:6px}
.gains-dots span{display:block;width:6px;height:6px;border-radius:50%;background:hsl(var(--border));transition:width .2s}
.gains-dots .on span{background:var(--g-ui);width:18px;border-radius:3px}
@media (prefers-reduced-motion:reduce){.gains{scroll-behavior:auto}}
@media (min-width:900px){
  .gains-nav{display:flex}
  /* One focused card: 72% of the track, centered, with the neighbours peeking
     smaller and dimmer. The side padding lets the first and last card center. */
  .gains{padding-inline:calc(14% + .28*var(--gut))}
  .gains>li{flex-basis:72%}
  .gains.js>li:not(.is-active){transform:scale(.85);opacity:.45}
  .gains.js>li:not(.is-active) *{animation-play-state:paused!important}
  .gains>li .vis{aspect-ratio:440/377;padding:10px}
  .gains>li .txt{font-size:var(--t-lg)}
}
/* Used by landing.js to start a card's animations again from frame 0 */
.gains .rs,.gains .rs *{animation:none!important}
/* Graphics added for the slide cards (#333): ui-blue 2px lines, green ticks */
.g-new .l{stroke:var(--g-ui);stroke-width:2}
.g-new .lok{stroke:hsl(var(--ok))}
.g-new .lw16{stroke-width:1.6}.g-new .lw18{stroke-width:1.8}
.gfx .t-ok{fill:hsl(var(--ok))}
/* Animated card graphics (#333): 8s loops, CSS only. The base state of each element is the finished frame, so reduced motion (animation:none above) shows it. Overlays that only exist for the loop start hidden. */
.g-new *{transform-box:fill-box;transform-origin:center}
@keyframes n2k1{0%,12%{opacity:0}17%,90%{opacity:1}96%,100%{opacity:0}}
.n2 .k1{animation:n2k1 8s infinite}
@keyframes n2k2{0%,24%{opacity:0}29%,90%{opacity:1}96%,100%{opacity:0}}
.n2 .k2{animation:n2k2 8s infinite}
@keyframes n2k3{0%,36%{opacity:0}41%,90%{opacity:1}96%,100%{opacity:0}}
.n2 .k3{animation:n2k3 8s infinite}
@keyframes n2k4{0%,48%{opacity:0}53%,90%{opacity:1}96%,100%{opacity:0}}
.n2 .k4{animation:n2k4 8s infinite}
@keyframes n2k5{0%,60%{opacity:0}65%,90%{opacity:1}96%,100%{opacity:0}}
.n2 .k5{animation:n2k5 8s infinite}
@keyframes n2arr{0%,8%{opacity:.3}14%,66%{opacity:1}74%,100%{opacity:.3}}
.n2 .c2-arr{animation:n2arr 8s infinite}
@keyframes n3b{0%,25%{opacity:1}35%,90%{opacity:.3}96%,100%{opacity:1}}
.n3 .c3-b{animation:n3b 8s infinite}
@keyframes n3a{0%,25%{opacity:.15}40%,90%{opacity:1}96%,100%{opacity:.15}}
.n3 .c3-a{animation:n3a 8s infinite}
@keyframes n3s{0%,55%{opacity:0}60%,90%{opacity:1}96%,100%{opacity:0}}
.n3 .c3-s{animation:n3s 8s infinite}
.n4 .c4-o1,.n4 .c4-o2,.n5 .c5-full,.n5 .c5-ok,.n6 .c6-bars rect{opacity:0}
@keyframes n4b2{0%,34%{opacity:0}38%,94%{opacity:1}98%,100%{opacity:0}}
@keyframes n4o2{0%,34%{opacity:1}38%,94%{opacity:0}98%,100%{opacity:1}}
@keyframes n4b1{0%,58%{opacity:0}62%,94%{opacity:1}98%,100%{opacity:0}}
@keyframes n4o1{0%,58%{opacity:1}62%,94%{opacity:0}98%,100%{opacity:1}}
.n4 .c4-b2{animation:n4b2 8s infinite}.n4 .c4-o2{animation:n4o2 8s infinite}.n4 .c4-b1{animation:n4b1 8s infinite}.n4 .c4-o1{animation:n4o1 8s infinite}
@keyframes n5f{0%,18%{stroke:var(--g-hair)}22%,48%{stroke:hsl(0 72% 45%)}54%,88%{stroke:hsl(var(--ok))}96%,100%{stroke:var(--g-hair)}}
@keyframes n5m{0%,18%{opacity:0}22%,48%{opacity:1}52%,100%{opacity:0}}
@keyframes n5s{0%,50%{opacity:1}54%,92%{opacity:0}96%,100%{opacity:1}}
@keyframes n5full{0%,50%{opacity:0}54%,90%{opacity:1}96%,100%{opacity:0}}
@keyframes n5ok{0%,52%{opacity:0}58%,90%{opacity:1}96%,100%{opacity:0}}
@keyframes n5btn{0%,54%{fill:var(--g-hair)}60%,90%{fill:var(--g-ui)}96%,100%{fill:var(--g-hair)}}
@keyframes n5bt{0%,54%{fill:var(--g-ink-3)}60%,90%{fill:#fff}96%,100%{fill:var(--g-ink-3)}}
.n5 .c5-f{animation:n5f 8s infinite}.n5 .c5-m{animation:n5m 8s infinite}.n5 .c5-s{animation:n5s 8s infinite}.n5 .c5-full{animation:n5full 8s infinite}.n5 .c5-ok{animation:n5ok 8s infinite}.n5 .c5-btn{animation:n5btn 8s infinite}.n5 .c5-bt{animation:n5bt 8s infinite}
@keyframes n6b1{0%,10%{opacity:0;transform:scaleX(.2)}18%,90%{opacity:1;transform:none}96%,100%{opacity:0;transform:scaleX(.2)}}
.n6 .c6-bars .b1{transform-origin:100% 50%;animation:n6b1 8s infinite}
@keyframes n6b2{0%,22%{opacity:0;transform:scaleX(.2)}30%,90%{opacity:1;transform:none}96%,100%{opacity:0;transform:scaleX(.2)}}
.n6 .c6-bars .b2{transform-origin:100% 50%;animation:n6b2 8s infinite}
@keyframes n6b3{0%,34%{opacity:0;transform:scaleX(.2)}42%,90%{opacity:1;transform:none}96%,100%{opacity:0;transform:scaleX(.2)}}
.n6 .c6-bars .b3{transform-origin:100% 50%;animation:n6b3 8s infinite}
@keyframes n6k1{0%,16%{opacity:0}21%,90%{opacity:1}96%,100%{opacity:0}}
.n6 .k1{animation:n6k1 8s infinite}
@keyframes n6k2{0%,28%{opacity:0}33%,90%{opacity:1}96%,100%{opacity:0}}
.n6 .k2{animation:n6k2 8s infinite}
@keyframes n6k3{0%,40%{opacity:0}45%,90%{opacity:1}96%,100%{opacity:0}}
.n6 .k3{animation:n6k3 8s infinite}
@keyframes n6btn{0%,52%{transform:none}56%{transform:scale(.95)}62%,100%{transform:none}}
.n6 .c6-btn{animation:n6btn 8s infinite}
@keyframes n6r{0%,52%{fill:var(--g-ui)}56%,60%{fill:var(--g-ui-strong)}66%,100%{fill:var(--g-ui)}}
.n6 .c6-btn rect{animation:n6r 8s infinite}
@keyframes n8k1{0%,18%{opacity:0}23%,90%{opacity:1}96%,100%{opacity:0}}
.n8 .k1{animation:n8k1 8s infinite}
@keyframes n8k2{0%,36%{opacity:0}41%,90%{opacity:1}96%,100%{opacity:0}}
.n8 .k2{animation:n8k2 8s infinite}
@keyframes n8c{0%,50%{opacity:.25}56%,90%{opacity:1}96%,100%{opacity:.25}}
.n8 .c8-c{animation:n8c 8s infinite}
@keyframes n8b{0%,72%{transform:none}76%{transform:scale(.96)}82%,100%{transform:none}}
.n8 .c8-btn{animation:n8b 8s infinite}
@keyframes n8r{0%,72%{fill:var(--g-ui)}76%,80%{fill:var(--g-ui-strong)}86%,100%{fill:var(--g-ui)}}
.n8 .c8-btn rect{animation:n8r 8s infinite}
.gains .txt{display:flex;gap:12px;font-size:var(--t-md);line-height:1.6;max-width:62ch}
.gains .ck{width:24px;height:24px;border-radius:50%;background:hsl(var(--ok-bg));color:hsl(var(--ok));display:grid;place-items:center;flex-shrink:0;margin-top:2px}
.gains .ck svg{width:14px;height:14px;stroke-width:2.2}
.gains b{font-weight:600}
.vis{border:1px solid hsl(var(--border));border-radius:var(--r-xl);background:hsl(var(--muted)/.55);padding:8px;display:grid;place-items:center}
.vis .gfx{max-width:440px}
/* Graphic 3: reminder chat */
.g3 .typing,.g3 .st-typing{opacity:0;animation:g3-typing 10s infinite}
.g3 .st-online{animation:g3-online 10s infinite}
.g3 .in{transform-box:fill-box;transform-origin:100% 0;animation:g3-in 10s infinite}
.g3 .out{transform-box:fill-box;transform-origin:0 0;animation:g3-out 10s infinite}
.g3 .tick{stroke:var(--g-ui);animation:g3-tick 10s infinite}
.g3 .dt{transform-box:fill-box;transform-origin:center;animation:g3-dot 1.2s infinite ease-in-out}
.g3 .dt:nth-child(2){animation-delay:.16s}.g3 .dt:nth-child(3){animation-delay:.32s}
/* Cycle starts and ends on the finished chat (both bubbles, blue ticks), so a no-JS or time-0 capture shows it */
@keyframes g3-typing{0%,62%{opacity:0}64%,72%{opacity:1}74%,100%{opacity:0}}
@keyframes g3-online{0%,62%{opacity:1}64%,72%{opacity:0}74%,100%{opacity:1}}
@keyframes g3-in{0%,55%{opacity:1;transform:none}59%{opacity:0;transform:none}59.5%,73%{opacity:0;transform:translateY(4px) scale(.97)}77%,100%{opacity:1;transform:none}}
@keyframes g3-out{0%,55%{opacity:1;transform:none}59%{opacity:0;transform:none}59.5%,81%{opacity:0;transform:translateY(4px) scale(.97)}85%,100%{opacity:1;transform:none}}
@keyframes g3-tick{0%,55%{stroke:var(--g-ui)}59%,88%{stroke:var(--g-ink-3)}91%,100%{stroke:var(--g-ui)}}
@keyframes g3-dot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}

/* ---------- Trust: the portal's fact rows, wearing graphic 6's icons ---------- */
.facts{margin:0}
.facts .row{display:grid;grid-template-columns:1fr;gap:4px 16px;padding:14px 16px}
.facts .row+.row{border-top:1px solid hsl(var(--border))}
.facts dt{display:flex;align-items:center;gap:12px;font-weight:600;font-size:var(--t-md)}
.facts dt .ic{width:44px;height:44px;flex-shrink:0}
.facts dd{margin:0;font-size:var(--t-sm);color:hsl(var(--muted-foreground));line-height:1.6;padding-inline-start:56px}
.trust .sec-f a{color:hsl(var(--ui-strong));font-weight:500;text-decoration:none}
.trust .sec-f a:hover{text-decoration:underline;text-underline-offset:3px}
/* Slot for the official AWS badge file; never redrawn */
.aws{display:inline-flex;flex-direction:column;align-items:center;line-height:1.25;padding:6px 14px;border:1.5px dashed var(--g-ink-3);border-radius:10px;color:var(--g-ink-2);font-weight:500}
.aws small{font-size:13px;font-weight:400;color:var(--g-ink-3)}

/* ---------- Closing CTA ---------- */
.cta .sec-b{padding:28px 20px;display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.cta h2{font-size:var(--t-xl);font-weight:700;letter-spacing:-.01em;line-height:1.2}
.cta p{font-size:var(--t-md);color:hsl(var(--muted-foreground));margin-top:4px}
.cta .sec-f svg.i{width:14px;height:14px}

/* ---------- Footer ---------- */
.foot{border-top:1px solid hsl(var(--border));background:hsl(var(--background));padding-block:28px 36px;font-size:var(--t-sm)}
.foot .wrap{display:grid;gap:18px}
.foot-logo{height:34px;width:auto}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 18px}
.foot nav a{color:hsl(var(--muted-foreground));text-decoration:none}
.foot nav a:hover{color:hsl(var(--foreground));text-decoration:underline;text-underline-offset:3px}
.foot .legal{color:hsl(var(--muted-foreground));font-size:var(--t-xs)}

/* ---------- Wider screens ---------- */
@media (min-width:640px){
  :root{--gut:28px}
  .brand img{width:auto;height:29px}
  .top nav .hide-sm{display:inline-flex}
  .hero .acts .btn{flex:0 0 auto}
  .ba{padding:28px 24px 20px;gap:16px}
  .steps{grid-template-columns:repeat(2,1fr)}
  .steps li:nth-child(2){border-top:0;border-inline-start:1px solid hsl(var(--border))}
  .steps li:nth-child(4){border-inline-start:1px solid hsl(var(--border))}
  .flow ol::before{top:38px}
  .flow .nd{width:80px;height:80px;border-radius:18px}
  .flow strong{font-size:var(--t-md)}
  .flow small{display:block}
    .snip.dash{--x:40;--cw:2032}
  .facts .row{grid-template-columns:minmax(220px,280px) 1fr;align-items:center}
  .facts dd{padding-inline-start:0}
  .cta .sec-b{flex-direction:row;align-items:center;justify-content:space-between;padding:28px 28px}
}
@media (min-width:960px){
  .sect{padding-block:80px}
  .hero{padding-block:64px 72px}
  .hero .wrap{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px}
  .stage{padding:24px 0 0;grid-template-columns:auto auto;justify-content:center;align-items:end;column-gap:0}
  .stage .phone{width:250px}
  .live{margin:0 -48px 40px 0;width:300px}
  .steps{grid-template-columns:repeat(4,1fr)}
  .steps li{grid-template-columns:1fr;padding:20px}
  .steps li+li{border-top:0;border-inline-start:1px solid hsl(var(--border))}
  .steps .n{grid-row:auto;margin-bottom:10px}
  /* connector between the numbers: this is a sequence */
  .steps li:not(:last-child)::after{content:"";position:absolute;top:36px;inset-inline-start:60px;inset-inline-end:-1px;height:1px;background:hsl(var(--border))}
  /* Trust: three facts side by side, icon on top */
  .facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .facts .row{grid-template-columns:1fr;align-items:start;padding:24px 20px;gap:8px}
  .facts .row+.row{border-top:0;border-inline-start:1px solid hsl(var(--border))}
  .facts dt{flex-direction:column;align-items:flex-start;gap:14px}
  .facts dt .ic{width:64px;height:64px}
  .foot .wrap{grid-template-columns:auto 1fr;align-items:start;column-gap:48px}
  .foot nav{justify-content:flex-end;padding-top:14px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important}
}

/* Classes that stand in for the mockup's inline styles (the CSP allows none) */
.g1 .d0{--d:0s}.g1 .d1{--d:1.4s}.g1 .d2{--d:2.8s}.g1 .d3{--d:4.2s}
.g1 .d4{--d:5.6s}.g1 .d5{--d:7s}.g1 .d6{--d:8.4s}.g1 .d7{--d:9.8s}
.live .sec-h .end{font-size:14px}
.live .sec-f svg.i.sm{width:13px;height:13px}
.sect.flush{padding-top:0}
.sect.alt{background:hsl(var(--background));border-block:1px solid hsl(var(--border))}
.sec-f .aws{margin-inline-start:auto}
.aws-badge{display:block;width:100px;height:auto;margin-inline-start:auto}
.cta .sec-f a{color:hsl(var(--ui-strong));font-weight:500;text-decoration:none}
.foot .legal.first{margin-top:6px;text-align:right}

/* ---------- Integrations (#329): tabs + one CRM board, scoped under #integrations ---------- */
#integrations{background:radial-gradient(90% 70% at 50% 80%,hsl(var(--ui-soft)) 0,hsl(var(--background)) 62%);border-top:1px solid hsl(var(--border))}
#integrations .ig-head{text-align:center;max-width:680px;margin:0 auto}
#integrations .ig-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;letter-spacing:.04em;color:hsl(var(--ui-strong))}
#integrations .ig-eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:hsl(var(--ui));box-shadow:0 0 10px 2px hsl(var(--ui)/.35)}
#integrations h2{margin-top:8px;font-size:var(--t-xl);font-weight:700;letter-spacing:-.01em;line-height:1.2}
#integrations .ig-head p{margin-top:6px;font-size:var(--t-md);color:hsl(var(--muted-foreground))}
#integrations .ig-tabs{margin:20px auto 14px;display:flex;justify-content:center;gap:8px;padding:4px;max-width:100%;overflow-x:auto;scrollbar-width:none}
#integrations .ig-tabs::-webkit-scrollbar{display:none}
#integrations .tab{position:relative;isolation:isolate;flex-shrink:0;display:inline-flex;align-items:center;height:42px;padding:0 16px;border-radius:999px;cursor:pointer;
  font:inherit;border:1px solid hsl(var(--border));background:hsl(var(--background));box-shadow:0 1px 2px rgb(0 0 0/.04);overflow:hidden;transition:border-color .3s,background .3s,box-shadow .3s}
#integrations .tab img{display:block;height:auto}
#integrations .tab.on{border-color:hsl(var(--ui)/.6);background:hsl(205 89% 97%);box-shadow:0 0 0 3px hsl(var(--ui)/.12)}
#integrations .tab:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}
/* the active tab fills like a loading pill over the 5s step (RTL: from the right) */
#integrations .prog{position:absolute;inset:0;z-index:-1;border-radius:inherit;background:hsl(var(--ui)/.16);transform-origin:100% 50%;transform:scaleX(0)}
#integrations .tab.on .prog{transform:scaleX(1)}
#integrations .ig-tabs.auto .tab.on .prog{animation:ig-prog 5s linear both}
@keyframes ig-prog{from{transform:scaleX(0)}to{transform:scaleX(1)}}
#integrations .ig-board{position:relative;border-radius:24px;border:1px solid hsl(var(--border));background:linear-gradient(hsl(var(--background)),var(--g-page));overflow:hidden;
  box-shadow:0 1px 2px rgb(0 0 0/.04),0 30px 70px -40px hsl(var(--ui-strong)/.35)}
#integrations .ig-foot{margin-top:12px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
#integrations .ig-more{font-size:var(--t-sm);color:hsl(var(--muted-foreground))}
#integrations .ig-pause{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;border:1px solid hsl(var(--border));background:hsl(var(--background));
  color:hsl(var(--muted-foreground));font:inherit;font-size:var(--t-xs);cursor:pointer}
#integrations .ig-pause[hidden]{display:none}
#integrations .ig-pause:hover{color:hsl(var(--foreground));border-color:hsl(var(--input))}
#integrations .ig-pause:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}
#integrations .ig-pause svg.i{width:14px;height:14px}
#integrations .ig-pause .ig-i-play,#integrations .ig-pause[aria-pressed="true"] .ig-i-pause{display:none}
#integrations .ig-pause[aria-pressed="true"] .ig-i-play{display:block}
#integrations .ig-svg{display:block;width:100%;height:auto}
#integrations .ig-svg text{font-family:"Heebo",system-ui,sans-serif}
#integrations .ig-igm{display:none}
@media (max-width:760px){
  #integrations .ig-igd{display:none}
  #integrations .ig-igm{display:block;max-width:440px;margin-inline:auto}
  #integrations .ig-board{border-radius:18px}
  #integrations .ig-tabs{justify-content:flex-start}
  #integrations .tab{height:38px;padding:0 12px}
}
/* scene states, restarted per selection by landing.js */
#integrations .crmwin{opacity:0;transform:translateX(-18px);transition:opacity .45s ease,transform .6s cubic-bezier(.2,.7,.2,1);pointer-events:none}
#integrations .crmwin.cur{opacity:1;transform:none}
#integrations .newrow,#integrations .glow,#integrations .sent{opacity:0}
#integrations .comet{stroke-dashoffset:.16;opacity:0}
#integrations .ring{transform-box:fill-box;transform-origin:center;animation:ig-spin 14s linear infinite}
#integrations .hubcore{transform-box:fill-box;transform-origin:center}
@keyframes ig-spin{to{transform:rotate(360deg)}}
#integrations .run .c1{animation:ig-comet .8s cubic-bezier(.45,0,.25,1) .25s both}
#integrations .run .c2{animation:ig-comet .7s cubic-bezier(.45,0,.25,1) 1.25s both}
#integrations .run .c1.k1{animation-delay:.31s}#integrations .run .c1.k2{animation-delay:.37s}
#integrations .run .c2.k1{animation-delay:1.31s}#integrations .run .c2.k2{animation-delay:1.37s}
@keyframes ig-comet{0%{stroke-dashoffset:.16;opacity:1}95%{opacity:1}100%{stroke-dashoffset:-1;opacity:0}}
#integrations .run .hubcore{animation:ig-hub .6s ease-out 1s both}
@keyframes ig-hub{0%,100%{transform:scale(1)}40%{transform:scale(1.25)}}
#integrations .run .sent{animation:ig-in .3s ease .1s both}
#integrations .run .idle{animation:ig-out .3s ease .1s both}
@keyframes ig-in{from{opacity:0}to{opacity:1}}
@keyframes ig-out{from{opacity:1}to{opacity:0}}
#integrations .run .cur .rows{animation:ig-shift .5s cubic-bezier(.2,.7,.2,1) 1.95s both}
#integrations .run .cur .newrow{animation:ig-land .5s cubic-bezier(.2,.7,.2,1) 1.95s both}
#integrations .run .cur .glow{animation:ig-in .5s ease 1.95s both}
@keyframes ig-shift{from{transform:none}to{transform:translateY(34px)}}
@keyframes ig-land{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
#integrations .done .sent{opacity:1}
#integrations .done .idle{opacity:0}
#integrations .done .cur .rows{transform:translateY(34px)}
#integrations .done .cur .newrow,#integrations .done .cur .glow{opacity:1}

/* ---------- Public text pages (privacy, terms, dpa, cookies, sms) ---------- */
.page{padding-block:40px 64px;background:hsl(var(--background));min-height:50vh}
.page .wrap{max-width:820px}
.prose{font-size:var(--t-md);line-height:1.7}
.prose h1{font-size:var(--t-xl);font-weight:800;letter-spacing:-.01em;line-height:1.2;margin:0 0 16px}
.prose h2{font-size:20px;font-weight:700;line-height:1.3;margin:32px 0 8px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:var(--t-lg);font-weight:600;margin:20px 0 6px}
.prose p{margin:0 0 12px}
.prose a{color:hsl(var(--ui-strong));text-underline-offset:3px}
.prose ul,.prose ol{margin:8px 0 12px;padding:0 1.2em 0 0}
.prose li+li{margin-top:6px}
.prose table{width:100%;margin-top:12px;border-collapse:collapse;font-size:var(--t-sm)}
.prose th,.prose td{border:1px solid hsl(var(--border));padding:8px 10px;vertical-align:top;text-align:right;overflow-wrap:anywhere}
.prose th{background:hsl(var(--muted));font-weight:600}
.prose hr{border:0;border-top:1px solid hsl(var(--border));margin:24px 0}
.prose .label{margin-top:20px;color:hsl(var(--muted-foreground));font-size:var(--t-sm)}
.prose .template{margin-top:8px;padding:12px 16px;border:1px solid hsl(var(--border));border-radius:var(--r-lg);background:hsl(var(--muted)/.5);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.prose .badge{display:grid;place-items:center;width:44px;height:44px;margin-bottom:14px;border-radius:50%;background:hsl(var(--ui-soft));color:hsl(var(--ui-strong))}
.prose-en{border-top:1px solid hsl(var(--border));margin-top:32px;padding-top:24px;color:hsl(var(--muted-foreground))}
.prose-en h2{color:hsl(var(--foreground))}
.sprite{position:absolute}
.page-en{padding-top:0}
.page-en .wrap{max-width:820px}

/* Brand lockup: mark + wordmark + thin divider + tagline (live text) */
.lg{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#061f31;border-radius:var(--r-md);flex:none}
.lg .bm{width:22px;height:28px;flex:none}
.lg .bw{width:73px;height:19px;flex:none}
.lg .sep{width:1px;height:20px;background:hsl(var(--input));margin-inline:5px}
.lg .tg{font-size:15px;font-weight:500;color:#061f31;white-space:nowrap}
.top .lg .sep,.top .lg .tg{display:none}
.foot .lg{gap:8px}
.foot .lg .bm{width:26px;height:34px}
.foot .lg .bw{width:87px;height:23px}
.foot .lg .sep{height:24px;margin-inline:6px}
.foot .lg .tg{font-size:16px}
.nav-new{margin-inline-start:6px;font-size:13px;font-weight:700;line-height:1;padding:3px 7px;border-radius:999px;background:hsl(var(--ui-soft));color:hsl(var(--ui-strong))}

/* Home band: automations in Surense */
.ab-sect{border-top:1px solid hsl(var(--border))}
.ab{display:grid;grid-template-columns:minmax(0,1fr)}
.ab-copy{padding:24px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ab-eyebrow{font-size:14px;font-weight:600;letter-spacing:.04em;color:hsl(var(--ui-strong))}
.ab-copy h2{font-size:var(--t-xl);font-weight:700;letter-spacing:-.01em;line-height:1.2}
.ab-copy p{font-size:var(--t-md);color:hsl(var(--muted-foreground));max-width:44ch}
.ab-copy .btn{margin-top:6px}
.ab-copy .btn svg.i,.chip svg.i{width:16px;height:16px}
.ab-rules{list-style:none;margin:0;padding:12px 16px;border-top:1px solid hsl(var(--border));background:linear-gradient(hsl(var(--background)),var(--g-page));display:flex;flex-direction:column;justify-content:center}
.ab-rules li{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);align-items:center;gap:8px;padding:8px 0}
.ab-rules li+li{border-top:1px dashed hsl(var(--border))}
.chip{display:flex;align-items:center;gap:8px;min-width:0;border-radius:var(--r-md);padding:8px 10px;font-size:var(--t-sm);line-height:1.35}
.chip.when{background:#fff;border:1px solid hsl(var(--border));color:hsl(var(--foreground))}
.chip.then{background:hsl(var(--ui-soft));border:1px solid hsl(205 80% 88%);color:hsl(var(--ui-strong))}
.ab-rules .ar{color:var(--g-ink-3);display:grid;place-items:center}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (min-width:900px){
  .top .lg .sep,.top .lg .tg{display:inline}
  .top .lg .sep{display:block}
  .ab{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
  .ab-rules{border-top:0;border-inline-start:1px solid hsl(var(--border));padding:16px 24px}
}
/* === Readability scale-up (older readers) === */
:root{--t-xs:14px;--t-sm:15px;--t-md:17px;--t-lg:19px;--t-xl:28px;--t-2xl:clamp(34px,7.6vw,52px);--muted-foreground:240 5% 34%}
html{font-size:16px}
.btn{height:50px;padding:0 22px}
.btn.sm{height:40px;font-size:15px}

