/* ==========================================================================
   VELMO - base system (every page)

   The grammar is pop.site's, measured live at 1440px on 2026-09-24:
   display 69px / weight 500 / line-height .9 / tracking -0.057em,
   subheads 21px / 500 / #545454, body 15px / 500, cards 10px radius with a
   0.7px rgba(34,34,34,.1) hairline and 20px padding, image wells 8px radius,
   sections 80px 24px with a 60px head-to-content gap, 1000px content column,
   pill CTAs (26px radius) carrying the only saturated colour on screen.

   Two deliberate departures, both forced by the product:
   - Satoshi has no Cyrillic. Onest (OFL, self-hosted) is the closest
     geometric grotesk that does, so tracking is eased from -0.057em to
     -0.05em for the wider Cyrillic set and line-height opened to .95.
   - pop.site's single accent is blue. Velmo's is the violet of its own logo
     kit (#7C4FF0), used exactly where pop.site uses blue: the primary CTA,
     active states and one full-bleed colour band.

   No inline styles anywhere: the CSP is style-src 'self'.
   ========================================================================== */

@font-face{font-family:"Onest";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(../fonts/onest-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Onest";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(../fonts/onest-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Onest";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(../fonts/onest-latin-wght-normal.woff2) format("woff2");
  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{
  /* ink */
  --ink:#171717;          /* text, pop.site charcoal */
  --ink-2:#545454;        /* subheads */
  --ink-3:#6e6e73;        /* meta, footer labels */
  --ink-4:#9a9aa0;        /* muted list items */
  --deep:#0F0F14;         /* logo-kit ink: the dark plane */
  --paper:#ffffff;
  --paper-2:#FAFAF9;      /* logo-kit paper, the white wordmark */
  --soft:#fafafc;         /* faq rows, panels */
  --soft-2:#f5f5f7;       /* image wells */
  --line:rgba(34,34,34,.10);
  --line-2:rgba(34,34,34,.06);
  --line-3:rgba(34,34,34,.16);

  /* violet, straight from the logo kit */
  --v-100:#F3EFFF;        /* wash */
  --v-200:#C8B4FF;
  --v-400:#9E79F8;
  --v-600:#7C4FF0;        /* the accent */
  --v-700:#6A37E6;
  --v-800:#5527C4;
  --grad-cta:linear-gradient(110deg,#9A74FF 0%,#7C4FF0 100%);
  --grad-cta-h:linear-gradient(110deg,#8E66FF 0%,#6A37E6 100%);

  --ok:#2E9E5B;
  --warn:#D9822B;

  --font:"Onest",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

  /* type scale */
  --d1:clamp(2.5rem,1.05rem + 4.15vw,4.3125rem);   /* 40 -> 69px */
  --d-track:-.05em;
  --t-sub:clamp(1.0625rem,.95rem + .5vw,1.3125rem);/* 17 -> 21px */
  --t-card:1.3125rem;                              /* 21px */

  /* geometry */
  --r-card:10px;
  --r-img:8px;
  --r-btn:26px;
  --r-item:10px;
  --r-panel:26px;
  --wrap:1000px;
  --wrap-wide:1200px;
  --gut:24px;
  --sec-y:clamp(64px,7vw,96px);

  --ease:cubic-bezier(.22,1,.36,1);
  --ease-io:cubic-bezier(.65,0,.35,1);
}

/* ---------------------------------------------------------------- reset */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:88px;}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);
  font-size:15px;line-height:1.45;font-weight:450;letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;overflow-x:hidden;}
img,svg,video{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button,input{font:inherit;color:inherit;letter-spacing:inherit;}
button{cursor:pointer;background:none;border:0;padding:0;}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure{margin:0;}
ul,ol{padding:0;list-style:none;}
[hidden]{display:none !important;}
::selection{background:var(--v-200);color:var(--deep);}
:focus-visible{outline:2px solid var(--v-600);outline-offset:3px;border-radius:6px;}

.sr-only{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.skip{position:fixed;left:16px;top:-60px;z-index:200;padding:10px 16px;border-radius:var(--r-item);
  background:var(--ink);color:#fff;font-weight:500;transition:top .2s var(--ease);}
.skip:focus{top:16px;}

.wrap{width:100%;max-width:calc(var(--wrap) + 2*var(--gut));margin:0 auto;padding-inline:var(--gut);}
.wrap--wide{max-width:calc(var(--wrap-wide) + 2*var(--gut));}
.sec{padding-block:var(--sec-y);position:relative;}

/* ---------------------------------------------------------------- type */
.d1,.d2{font-weight:500;font-size:var(--d1);line-height:.95;letter-spacing:var(--d-track);
  color:var(--ink);text-wrap:balance;}
.d3{font-weight:500;font-size:clamp(1.75rem,1.2rem + 1.6vw,2.5rem);line-height:1.02;letter-spacing:-.04em;text-wrap:balance;}
.lead{font-size:var(--t-sub);line-height:1.4;font-weight:500;letter-spacing:-.025em;color:var(--ink-2);text-wrap:balance;}
.t-card{font-size:var(--t-card);line-height:1.3;font-weight:500;letter-spacing:-.03em;color:var(--ink);}
.muted{color:var(--ink-2);}

/* section head: badge, display line, subhead - always centred */
.shead{display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px;
  max-width:900px;margin:0 auto 60px;}
.shead .lead{max-width:620px;}

/* the small pill above every display line (pop.site "Powerful Site Sections") */
.badge{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 6px;border-radius:10px;
  background:rgba(255,255,255,.7);border:1px solid var(--line);
  font-size:14px;line-height:1.3;font-weight:500;letter-spacing:-.02em;color:var(--ink);white-space:nowrap;}
.badge__icon{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:var(--v-100);flex:none;}
.badge__icon svg{width:16px;height:16px;}
.badge--glass{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);color:#fff;}
.badge--glass .badge__icon{background:rgba(255,255,255,.16);}

/* ---------------------------------------------------------------- buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 26px;
  border-radius:var(--r-btn);font-size:16px;line-height:1;font-weight:500;letter-spacing:-.02em;white-space:nowrap;
  transition:transform .25s var(--ease),background-color .2s,color .2s,border-color .2s,box-shadow .25s var(--ease);
  -webkit-tap-highlight-color:transparent;}
.btn svg{width:18px;height:18px;flex:none;}
.btn:active{transform:scale(.97);}
.btn--cta{color:#fff;background:var(--grad-cta);box-shadow:inset 0 1px 0 rgba(255,255,255,.22);}
.btn--cta:hover{background:var(--grad-cta-h);}
.btn--ink{color:#fff;background:var(--ink);}
.btn--ink:hover{background:#000;}
.btn--ghost{color:var(--ink);background:var(--paper);border:1px solid var(--line-3);}
.btn--ghost:hover{border-color:var(--ink);}
.btn--white{color:var(--ink);background:#fff;}
.btn--white:hover{background:var(--paper-2);}
.btn--lg{height:56px;padding:0 32px;font-size:17px;border-radius:30px;}
.btn--sm{height:40px;padding:0 20px;font-size:15px;}
.btn--block{width:100%;}

/* the tiny Velmo face used as an icon (badges, cookie card) */
.vm-face{display:block;overflow:visible;}
.vm-face .eyes{transition:transform .4s var(--ease);}
.vm-face .eye{transform-box:fill-box;transform-origin:center;}
.vm-face.is-blink .eye{animation:blink .24s ease-in-out;}
@keyframes blink{45%,55%{transform:scaleY(.08)}}

/* ==========================================================================
   HAT - logo hard left, the island hard right (the founder kept this one
   from the previous site; only type and colour follow the new system)
   ========================================================================== */
.hat{position:fixed;top:14px;left:0;right:0;z-index:70;pointer-events:none;}
.hat-in{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-inline:var(--gut);}
.brand{pointer-events:auto;display:inline-flex;align-items:center;gap:9px;color:var(--deep);
  transition:color .35s var(--ease);height:48px;}
.brand .vm-face{width:30px;height:30px;}
.brand__word{width:81px;height:22px;fill:currentColor;}
.hat.on-dark .brand{color:var(--paper-2);}

.island{pointer-events:auto;display:flex;align-items:center;gap:2px;padding:5px;border-radius:14px;
  background:rgba(255,255,255,.78);border:1px solid var(--line);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);}
.island__link{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 13px;border-radius:var(--r-item);
  font-size:15px;font-weight:500;letter-spacing:-.02em;color:var(--ink);transition:background-color .15s,color .15s;}
.island__link:hover,.res.open>.island__link{background:rgba(23,23,23,.06);}
.island__link svg{width:9px;height:9px;transition:transform .2s var(--ease);}
.res.open>.island__link svg{transform:rotate(180deg);}
.island__link.is-current,.res.is-current>.island__link{background:var(--v-100);color:var(--v-700);}
.island__cta{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 16px;margin-left:4px;border-radius:var(--r-item);
  background:var(--ink);color:#fff;font-size:15px;font-weight:500;letter-spacing:-.02em;transition:background-color .15s;}
.island__cta:hover{background:#000;}
.island__cta svg{width:15px;height:15px;}

.res{position:relative;}
.res-menu{position:absolute;top:calc(100% + 10px);right:0;min-width:236px;display:flex;flex-direction:column;padding:6px;
  border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:0 2px 8px rgba(0,0,0,.08);
  opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .18s,transform .18s var(--ease),visibility .18s;}
.res.open .res-menu{opacity:1;visibility:visible;transform:none;}
.res-menu a{padding:9px 12px;border-radius:var(--r-item);font-size:14.5px;font-weight:500;letter-spacing:-.015em;color:var(--ink-2);transition:background-color .14s,color .14s;}
.res-menu a:hover{background:var(--soft-2);color:var(--ink);}
.res-menu a.is-current{background:var(--v-100);color:var(--v-700);}

.burger{pointer-events:auto;display:none;position:relative;width:44px;height:44px;border-radius:12px;
  background:rgba(255,255,255,.82);border:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);}
.burger span,.burger::before,.burger::after{content:"";position:absolute;left:13px;right:13px;height:1.5px;background:var(--ink);
  transition:transform .22s var(--ease),opacity .22s;}
.burger span{top:calc(50% - .75px);}
.burger::before{top:15px;}
.burger::after{bottom:15px;}
body.nav-open .burger span{opacity:0;}
body.nav-open .burger::before{transform:translateY(6px) rotate(45deg);}
body.nav-open .burger::after{transform:translateY(-6px) rotate(-45deg);}

@media (max-width:860px){
  /* on a phone the floating logo would sit on top of copy: give the hat a bar once the page moves */
  .hat::before{content:"";position:absolute;left:0;right:0;top:-14px;height:76px;pointer-events:none;opacity:0;
    background:rgba(255,255,255,.86);border-bottom:1px solid var(--line-2);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:opacity .25s,background-color .3s;}
  .hat.is-scrolled::before{opacity:1;}
  .hat.on-dark::before{background:rgba(15,15,20,.72);border-color:rgba(255,255,255,.08);}
  .hat-in{position:relative;}
  .burger{display:block;}
  .island{position:fixed;left:var(--gut);right:var(--gut);top:70px;flex-direction:column;align-items:stretch;gap:2px;padding:8px;
    border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 2px 8px rgba(0,0,0,.08);
    opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s,transform .2s var(--ease),visibility .2s;}
  body.nav-open .island{opacity:1;visibility:visible;transform:none;}
  .island__link{height:46px;justify-content:space-between;font-size:16px;}
  .island__cta{height:48px;justify-content:center;margin:6px 0 0;font-size:16px;}
  .res-menu{position:static;min-width:0;box-shadow:none;border:0;padding:0 0 4px 8px;opacity:1;visibility:visible;transform:none;display:none;}
  .res.open .res-menu{display:flex;}
}

/* ==========================================================================
   FOOTER - pop.site's quiet columns, then the big violet face
   ========================================================================== */
.foot{padding-top:clamp(72px,9vw,112px);background:var(--paper);overflow:hidden;}
.foot__grid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:32px 24px;}
.foot__brand{display:flex;flex-direction:column;align-items:flex-start;gap:14px;}
.foot__brand .brand{height:auto;pointer-events:auto;}
.foot__tag{font-size:13px;color:var(--ink-3);letter-spacing:-.01em;max-width:240px;}
.foot__made{font-size:13px;color:var(--ink-3);}
.foot__made a{color:var(--ink);border-bottom:1px solid var(--line-3);}
.foot__made a:hover{border-color:var(--ink);}
.backed{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px dashed var(--line-3);
  font-size:12.5px;color:var(--ink-3);transition:border-color .2s,color .2s;}
.backed b{font-weight:500;color:var(--ink);}
.backed:hover{border-color:var(--v-600);color:var(--ink);}
.foot__col{display:flex;flex-direction:column;align-items:flex-start;gap:11px;}
.foot__col h4{font-size:13px;font-weight:450;color:var(--ink-3);letter-spacing:-.01em;margin-bottom:3px;}
.foot__col a{font-size:14px;font-weight:450;letter-spacing:-.015em;color:var(--ink);transition:color .15s;}
.foot__col a:hover{color:var(--v-700);}
.foot__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;
  margin-top:56px;padding-top:20px;border-top:1px solid var(--line-2);font-size:13px;color:var(--ink-3);}
.foot__bar a{color:var(--ink-3);transition:color .15s;}
.foot__bar a:hover{color:var(--ink);}
.foot__ai{display:inline-flex;align-items:center;gap:6px;}
.foot__ai code{font:500 12px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:4px 6px;border-radius:6px;background:var(--soft-2);color:var(--ink);}

.lang{display:inline-flex;padding:3px;border-radius:10px;background:var(--soft-2);}
.lang button{height:28px;padding:0 11px;border-radius:8px;font-size:12.5px;font-weight:500;color:var(--ink-3);transition:background-color .15s,color .15s;}
.lang button[aria-current="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.06);}

/* the giant mark: vector face + traced wordmark, so it stays sharp at 1800px */
.bigmark{display:flex;align-items:center;justify-content:center;gap:clamp(12px,3.4vw,58px);
  margin:clamp(28px,4vw,56px) auto 0;padding:0 var(--gut);max-width:1440px;color:var(--deep);
  transform:translateY(10%);}
.bigmark .vm-face{width:clamp(88px,22vw,318px);height:auto;flex:none;}
.bigmark__word{width:clamp(236px,58vw,850px);height:auto;aspect-ratio:669/178;fill:currentColor;flex:none;}

@media (max-width:980px){
  .foot__grid{grid-template-columns:repeat(2,1fr);}
  .foot__brand{grid-column:1/-1;}
}

/* ==========================================================================
   MODAL - "the bot is not open yet" + waitlist
   ========================================================================== */
.modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:20px;}
.modal__backdrop{position:absolute;inset:0;background:rgba(15,15,20,.42);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  animation:fadeIn .25s var(--ease) both;}
.modal__panel{position:relative;width:min(540px,100%);max-height:calc(100svh - 40px);overflow:auto;padding:36px 32px 30px;border-radius:var(--r-panel);
  background:#fff;border:1px solid var(--line);box-shadow:0 30px 80px -30px rgba(15,15,20,.45);text-align:center;
  animation:popIn .38s var(--ease) both;}
.modal__x{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;
  color:var(--ink-3);background:var(--soft-2);transition:background-color .15s,color .15s;}
.modal__x:hover{background:#ececf0;color:var(--ink);}
.modal__x svg{width:14px;height:14px;}
.modal__face{width:64px;height:64px;margin:0 auto 18px;}
.modal__title{font-size:clamp(1.9rem,1.4rem + 1.6vw,2.6rem);font-weight:500;line-height:1;letter-spacing:-.045em;margin:14px 0 14px;}
.modal__body{font-size:15.5px;line-height:1.5;color:var(--ink-2);max-width:420px;margin:0 auto;}
.modal__body p+p{margin-top:10px;}

/* pop.site's claim form: one white pill, borderless input inside */
.claim{display:flex;align-items:center;gap:6px;margin:26px auto 0;padding:5px 5px 5px 18px;max-width:440px;
  border-radius:30px;border:1px solid var(--ink);background:#fff;transition:box-shadow .2s;}
.claim:focus-within{box-shadow:0 0 0 4px var(--v-100);}
.claim input{flex:1;min-width:0;height:42px;border:0;outline:0;background:transparent;font-size:15.5px;font-weight:450;color:var(--ink);}
.claim input::placeholder{color:#a3a3a8;}
.claim .btn{height:42px;padding:0 20px;font-size:15px;}
.claim[aria-invalid="true"],.claim.bad{border-color:#D14343;}
.wl-msg{min-height:22px;margin-top:12px;font-size:14px;color:var(--ink-2);}
.wl-msg.bad{color:#C23A3A;}
.wl.done .claim{opacity:.55;pointer-events:none;}
.wl-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}

@keyframes fadeIn{from{opacity:0}}
@keyframes popIn{from{opacity:0;transform:translateY(14px) scale(.98)}}

/* ==========================================================================
   COOKIE CARD - bottom-right, pop.site's one permitted floating shadow
   ========================================================================== */
.cookie{position:fixed;right:16px;bottom:16px;z-index:110;width:min(400px,calc(100vw - 32px));padding:18px 18px 16px;
  border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 2px 8px rgba(0,0,0,.08);
  transform:translateY(calc(100% + 24px));opacity:0;transition:transform .5s var(--ease),opacity .4s;}
.cookie.is-in{transform:none;opacity:1;}
.cookie__head{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.cookie__head .vm-face{width:26px;height:26px;}
.cookie__title{font-size:15px;font-weight:500;letter-spacing:-.02em;}
.cookie__text{font-size:13.5px;line-height:1.5;color:var(--ink-2);}
.cookie__text a{color:var(--ink);border-bottom:1px solid var(--line-3);}
.cookie__text a:hover{border-color:var(--ink);}
.cookie__row{display:flex;gap:8px;margin-top:14px;}
.cookie__row .btn{flex:1;height:40px;font-size:14.5px;padding:0 14px;}

/* ---------------------------------------------------------------- toast */
.toast{position:fixed;left:50%;bottom:24px;z-index:130;transform:translate(-50%,20px);opacity:0;pointer-events:none;
  padding:10px 16px;border-radius:12px;background:var(--ink);color:#fff;font-size:14px;font-weight:500;
  transition:opacity .2s,transform .3s var(--ease);}
.toast.show{opacity:1;transform:translate(-50%,0);}

/* ---------------------------------------------------------------- reveal */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .8s var(--ease),transform .9s var(--ease);}
.reveal.in{opacity:1;transform:none;}
.reveal.rd1{transition-delay:.08s;}
.reveal.rd2{transition-delay:.16s;}
.reveal.rd3{transition-delay:.24s;}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;}
  .reveal{opacity:1;transform:none;}
}
