html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* The whole site: home and inner pages. Loaded after the shell sheet, so it may reset bare elements.
   Every colour is sampled from the reference captures; nothing else is used. */
@font-face{font-family:"Mona Sans";src:url(../fonts/Mona-Sans.woff2) format("woff2");font-weight:200 900;font-display:swap}
@font-face{font-family:Inter;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin-ext.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}

:root{
  --page:#f7f7f7;          /* page background */
  --sky:#badaf0;           /* top of the hero gradient */
  --ink:#161816;           /* near-black: headings, pill buttons, dark section */
  --ink-2:#2d2f2d;         /* pills on dark */
  --grey:#a6a7a7;          /* second heading tone */
  --body:#6b6c6c;          /* body copy */
  --accent:#0a84e0;        /* active link, accents */
  --blue-top:#0384df;      /* card frame gradient, top */
  --blue-bot:#5ebbfd;      /* card frame gradient, bottom */
  --green:#31c969;         /* status dots */
  --white:#fff;
  --line:#e8e8e8;
  --shadow:0 1px 2px rgba(22,24,22,.04),0 12px 40px rgba(22,24,22,.07);
  --head:"Mona Sans",Inter,system-ui,sans-serif;
  --text:Inter,system-ui,sans-serif;
  --frame:linear-gradient(180deg,var(--blue-top),var(--blue-bot));
  --ease:cubic-bezier(.22,1,.36,1);
  /* Spacing: the only vertical rhythm of the site (header, pages and footer). Phone values are in the narrow-screen block below. */
  --space-section:96px;    /* before and after every page block */
  --space-box:64px;        /* inside the closing blue block, top and bottom */
  --space-content:48px;    /* heading block to cards, list or picture */
  --space-actions:32px;    /* before buttons; before a heading inside long text */
  --space-card:24px;       /* between cards and inside them */
  --space-label:16px;      /* label to heading */
  --space-h1:24px;         /* after h1 */
  --space-h2:24px;         /* after h2 */
  --space-h3:12px;         /* after h3 and long-text headings */
  --space-p:16px;          /* between paragraphs, text to list, between stacked boxes */
  --space-item:8px;        /* between list lines, caption to code */
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
/* sky-blue to page-grey vertical gradient behind the header and the hero */
body{margin:0;background:linear-gradient(180deg,var(--sky) 0,var(--page) 520px),var(--page);color:var(--ink);font:400 16px/1.6 var(--text);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{display:block;max-width:none}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
.wrap{width:min(1240px,100% - 40px);margin:0 auto}

/* two-tone heading: dark first part, grey second part */
.h{font:500 48px/1.1 var(--head);letter-spacing:-.02em;color:var(--ink)}
.h span,.hero h1 span{color:var(--grey)}
.lead{color:var(--body);font-size:16px;line-height:1.6}

/* badge pill */
.badge{vertical-align:top;display:inline-flex;align-items:center;gap:8px;background:var(--white);border-radius:999px;padding:6px 12px 6px 10px;font:500 13px/20px var(--text);text-transform:uppercase;letter-spacing:.01em;color:var(--ink)}
.badge i{width:14px;height:16px;border-radius:4px;background:var(--frame)}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 24px;border-radius:999px;font:500 16px/1 var(--text);white-space:nowrap}
.btn.black{background:var(--ink);color:#fff}
.btn.white{background:var(--white);color:var(--ink)}
.btn svg{width:16px;height:16px}
a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* ---------- hero ---------- */
.hero{text-align:center;padding-top:var(--space-section)}
.hero .badge{height:32px;padding:0 12px 0 8px;font:500 14px/32px var(--text);text-transform:none}
.hero h1{font:500 72px/1.0 var(--head);letter-spacing:-.04em}
.hero .lead{max-width:600px;margin-inline:auto;font-size:17px;line-height:26px}
.hero .btns{display:flex;gap:12px;justify-content:center;margin-top:var(--space-actions)}
.window{position:relative;background:var(--white);box-shadow:var(--shadow);overflow:hidden}
.hero .window{margin-top:var(--space-content);border-radius:32px 32px 0 0}
.window .bar{display:flex;align-items:center;gap:8px;height:57px;padding:0 18px;border-bottom:1px solid var(--line)}
.window .bar b{width:14px;height:14px;border-radius:50%}
.window .bar b:nth-child(1){background:#ff5f57}
.window .bar b:nth-child(2){background:#febc2e}
.window .bar b:nth-child(3){background:#28c840}
.window .bar .url{margin-left:14px;border:1px solid var(--line);border-radius:8px;padding:0 14px;height:32px;font:400 13px/30px var(--text);color:var(--body)}
.window img{width:100%;height:auto}
/* soft fade at the bottom; the crop itself ends between two rows of cards */
.hero .window::after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(180deg,rgba(247,247,247,0),var(--page))}

.hero.sub h1{font-size:56px;letter-spacing:-.03em;max-width:900px;margin-left:auto;margin-right:auto}

/* ---------- strip under the hero: module icons and names ---------- */
.strip{text-align:center;padding-top:var(--space-section)}
.strip p.t{font:400 20px/28px var(--head);letter-spacing:-.02em;color:var(--ink)}
.strip ul{display:flex;justify-content:center;align-items:center;gap:56px;list-style:none;margin:var(--space-h2) 0 0;padding:0;font:600 24px/1 var(--head);letter-spacing:-.03em;color:#4f504f}
.strip li{display:flex;align-items:center;gap:10px;height:38px}
.strip svg{width:28px;height:28px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

section.s{padding-top:var(--space-section)}
.sec-head.c{text-align:center}
.sec-head.c .h{max-width:760px;margin-inline:auto}
.sec-head.c .lead{max-width:640px;margin-inline:auto}
.act{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:var(--space-actions)}
.act.left{justify-content:flex-start}

/* ---------- framed cards (blue gradient frame with white window inside) ---------- */
.frame{background:var(--frame);border-radius:24px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.win{background:var(--white);border-radius:16px;box-shadow:0 8px 24px rgba(3,60,110,.18);padding:8px}
/* the file is served at the displayed size (sizes mirrors these widths), so the image keeps its natural size */
.win img,.panel img{width:auto;height:auto;border-radius:10px}
.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-card)}
.cards3 .frame{height:305px}
.cards3 .win{width:86%;max-width:340px}
.cards3 .win img{display:block;width:100%;height:auto}
.cards3 h3,.tile h3{font:500 20px/1.3 var(--head);margin-top:var(--space-card)}
.cards3 p,.tile p{color:var(--body);font-size:14px;line-height:20px;margin-top:var(--space-h3);max-width:320px}

.split{display:grid;grid-template-columns:700px 440px;justify-content:space-between;gap:60px;align-items:center}
.split.rev{grid-template-columns:440px 700px}
.split .frame{min-height:400px;padding:32px 0}
.split .frame.tall{min-height:0;align-items:flex-end;padding:40px 0 0}
.split .frame.tall .win{border-radius:16px 16px 0 0;padding:0}
.split .frame.tall .win img{border-radius:16px 16px 0 0}
.split .lead{max-width:420px}

/* inner pages: screenshot in a window frame (traffic dots), text beside it in the same split grid */
.shot{border-radius:24px;width:100%;max-width:700px;margin:0 auto}
.shot.s{max-width:580px}
.shot.ph{max-width:340px}
.shot picture{display:block}
.shot img{width:100%;height:auto}
.product-shot{cursor:zoom-in}
.split .copy>.btn{margin-top:var(--space-actions)}
.ticks{list-style:none;margin:var(--space-p) 0 0;padding:0;max-width:440px}
.ticks li{display:flex;align-items:flex-start;gap:12px;padding:var(--space-item) 0;font-size:16px}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-card)}
.tiles.two{grid-template-columns:repeat(2,1fr)}
.tile h3{margin-top:0}
.card.ticks{margin:0}
.tile .kicker{margin-bottom:var(--space-label);font:500 13px/20px var(--text);text-transform:uppercase;letter-spacing:.01em;color:var(--accent)}
.tile .num{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin-bottom:var(--space-label);border-radius:50%;background:var(--frame);color:#fff;font:500 18px/1 var(--head)}
.rows{display:grid;gap:var(--space-section)}
.nots li{align-items:center;padding:var(--space-h3) 0;border-top:1px solid var(--line)}
.nots li:first-child{border-top:0}

/* long text (privacy, cookies, API): one narrow column in a white card */
.reading{max-width:760px;margin:0 auto}
.legal h2{font:500 24px/1.3 var(--head);letter-spacing:-.01em}
.legal p,.legal ul{color:var(--body);max-width:70ch}
.legal ul{margin-bottom:0;padding-left:22px}
.legal li+li{margin-top:var(--space-item)}
/* long-text rhythm: text blocks sit one paragraph apart, a new heading further, its text close under it */
.legal>*+*{margin:var(--space-p) 0 0}
.legal>*+h2{margin-top:var(--space-actions)}
.legal>h2+*{margin-top:var(--space-h3)}
.legal a,.q a{color:var(--accent);text-decoration:underline}
.q a{white-space:nowrap}
.code{margin-inline:0;min-width:0}
.code figcaption{margin-bottom:var(--space-item);font:500 13px/20px var(--text);color:var(--ink)}
.legal>.api-note{color:var(--ink)}
.lb{border:0;padding:0;background:transparent;max-width:96vw;max-height:96vh;overflow:visible}
.lb::backdrop{background:rgba(22,24,22,.7)}
.lb img{max-width:96vw;max-height:86vh;width:auto;border-radius:16px}
.lb button{position:absolute;top:-14px;right:-14px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:var(--ink);font-size:24px;line-height:1;cursor:pointer}
.lb .cap{margin-top:10px;color:#fff;text-align:center;font-size:14px}

/* module list window (sidebar + pane) */
.panel{display:grid;grid-template-columns:204px 1fr;background:var(--white);border-radius:16px;width:540px;max-width:calc(100% - 32px);box-shadow:0 8px 24px rgba(3,60,110,.18);overflow:hidden}
.panel .side{padding:16px;border-right:1px solid var(--line)}
.panel .side h4{margin:0 0 12px;font:500 14px/20px var(--text)}
.panel .row{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;height:38px;padding:0 10px;margin-bottom:8px;font:500 12px/1 var(--text)}
.panel .row i{width:6px;height:6px;border-radius:50%;background:var(--green);margin-left:auto}
.panel .pane{padding:8px;display:flex;align-items:center;justify-content:center}

/* step list window (housekeeping flow) */
.steps{background:var(--white);border-radius:16px;width:448px;max-width:calc(100% - 32px);padding:22px 24px;box-shadow:0 8px 24px rgba(3,60,110,.18)}
.steps h4{margin:0 0 14px;font:500 14px/20px var(--text)}
.steps li{list-style:none;display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--line)}
.steps ul{margin:0;padding:0}
.steps .c{flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--line);margin-top:2px}
.steps li.done .c{border-color:var(--green);background:radial-gradient(circle,var(--green) 0 4px,transparent 4.5px)}
.steps b{display:block;font:500 13px/18px var(--text)}
.steps small{display:block;color:var(--body);font-size:12px;line-height:18px}

/* ---------- API block: endpoint list window in the blue frame ---------- */
.endpoints{background:var(--white);border-radius:16px;width:620px;max-width:calc(100% - 32px);padding:22px 24px;box-shadow:0 8px 24px rgba(3,60,110,.18)}
.endpoints h4{margin:0 0 14px;font:500 14px/20px var(--text)}
.endpoints ul{margin:0;padding:0}
.endpoints li{list-style:none;display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}
.endpoints .m{flex:none;width:52px;text-align:center;font:600 11px/22px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;border-radius:6px;letter-spacing:.04em}
.endpoints .get{background:rgba(10,132,224,.12);color:var(--accent)}
.endpoints .post{background:rgba(49,201,105,.16);color:var(--ink)}
.endpoints b{display:block;font:500 12px/22px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere}
.endpoints small{display:block;color:var(--body);font-size:12px;line-height:18px}
.endpoints .snip,.code pre{margin:14px 0 0;padding:14px 16px;background:var(--ink);color:#fff;border-radius:10px;font:400 12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-x:auto;white-space:pre}
.code pre{margin:0}

/* ---------- roles ---------- */
.roles .center{text-align:center}
.roles .center .h{max-width:520px;margin-inline:auto}
.roles .center .lead{max-width:420px;margin-inline:auto}
.toggle{display:inline-flex;background:var(--white);border-radius:999px;padding:4px;margin-top:var(--space-actions);font:500 13px/1 var(--text)}
.toggle a,.toggle span{padding:12px 16px;border-radius:999px;color:var(--body)}
.toggle a:hover{color:var(--ink)}
.toggle .on{background:var(--accent);color:#fff}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-card)}
.plan,.card{background:var(--white);border-radius:24px;padding:var(--space-card)}
.plan{display:flex;flex-direction:column}
.plan h3{font:500 20px/1.3 var(--head)}
.plan .big{font:italic 500 40px/1.1 var(--head);letter-spacing:-.02em;margin-top:var(--space-h3)}
.plan .small{font-size:13px;line-height:20px;color:var(--body);margin-top:var(--space-h3);min-height:40px}
.plan ul{list-style:none;margin:var(--space-card) 0 var(--space-actions);padding:0;flex:1}
.plan li{display:flex;align-items:center;gap:12px;height:59px;border-top:1px solid var(--line);font-size:16px}
.plan li:first-child{border-top:0}
.ticks.no li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7' fill='none' stroke='%230a84e0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.plan li::before,.ticks li::before{content:"";flex:none;width:24px;height:24px;border-radius:50%;background:#e4f1fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5' fill='none' stroke='%230a84e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat}
/* the label may wrap: three cards at tablet width are narrower than a long label */
.plan .btn{justify-content:center;min-height:56px;height:auto;padding:8px 16px;line-height:20px;white-space:normal;text-align:center}
.plans.one{grid-template-columns:minmax(0,520px);justify-content:center}
.plan.hl .big{font-size:64px}
.end .lead a{text-decoration:underline;white-space:nowrap}
.plan.hl{background:var(--frame);color:#fff}
.plan.hl .small{color:#fff}
.plan.hl li{border-color:rgba(255,255,255,.22)}
.plan.hl li::before{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5' fill='none' stroke='%230a84e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat}
.plan .tag{align-self:flex-end;margin-top:-34px;background:rgba(255,255,255,.2);border-radius:999px;padding:0 14px;font:500 16px/38px var(--text)}

/* ---------- FAQ ---------- */
.faq{display:grid;grid-template-columns:440px 700px;justify-content:space-between;gap:60px;align-items:start}
.faq .lead{max-width:470px}
.q{background:var(--white);border-radius:16px;padding:0 20px}
.q+.q{margin-top:var(--space-p)}
.q summary{list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:66px;cursor:pointer;font:500 20px/1.3 var(--head);letter-spacing:-.01em}
.q summary::-webkit-details-marker{display:none}
.q summary::after{content:"";flex:none;width:14px;height:14px;background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,linear-gradient(currentColor,currentColor) center/2px 100% no-repeat}
.q[open] summary::after{transform:rotate(45deg)}
.q p{color:var(--body);padding:0 0 var(--space-card);max-width:640px}

/* ---------- closing call to action ---------- */
.end{position:relative;background:var(--frame);border-radius:32px;text-align:center;padding:var(--space-box) 20px;color:#fff;margin-top:var(--space-section);overflow:hidden}
.end::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);background-size:40px 40px}
.end > *{position:relative}
.end h2{font:italic 500 48px/1.1 var(--head);letter-spacing:-.02em;max-width:520px;margin:0 auto}
.end .lead{color:#fff;max-width:400px;margin-inline:auto}
.end .btns{display:flex;gap:12px;justify-content:center;margin-top:var(--space-actions)}

/* One rule for every stacked section heading, whatever follows it, so no new block can sit flush under a heading.
   Not in .split and .faq: there the heading is a grid column and the grid gap separates it from its neighbour. */
:not(.split,.faq)>.sec-head+*,.roles .center+*{margin-top:var(--space-content)}
:not(.split,.faq)>.sec-head+.act{margin-top:var(--space-actions)}

/* Text stack: label, heading and text are spaced here and nowhere else. */
.badge+h1,.badge+.h{margin-top:var(--space-label)}
h1+.lead{margin-top:var(--space-h1)}
.h+.lead,.end h2+.lead{margin-top:var(--space-h2)}
.lead+.lead{margin-top:var(--space-p)}

/* ---------- narrow screens ---------- */
/* the 700 + 440 px columns need 1200 px of container: below that the blocks stack */
@media (max-width:1239px){
  .split,.split.rev,.faq{grid-template-columns:minmax(0,1fr);gap:var(--space-content)}
  .split.rev .copy,#api .copy,.split.flip .copy{order:-1}
  .split .frame{min-height:0}
  .split .frame.tall{padding-top:32px}
}
/* the five module names need about 1000 px in one row */
@media (max-width:1099px){
  .strip ul{flex-wrap:wrap;gap:16px 40px;padding:0 20px}
}
@media (max-width:767px){
  :root{--space-section:64px;--space-box:48px;--space-content:32px;--space-actions:24px;--space-h1:16px;--space-h2:16px}
  .h{font-size:34px}
  body{background:linear-gradient(180deg,var(--sky) 0,var(--page) 460px),var(--page)}
  .hero h1{font-size:42px;letter-spacing:-.03em}
  .hero .lead{font-size:16px}
  .hero .btns{flex-direction:column;align-items:center}
  .window{border-radius:24px 24px 0 0}
  .window .bar{height:44px;padding:0 14px}
  .window .bar .url{display:none}
  .window::after{height:70px}
  .strip ul{gap:16px 28px;font-size:20px}
  .cards3,.plans,.plans.one,.tiles,.tiles.two{grid-template-columns:1fr}
  .hero.sub h1{font-size:36px}
  .cards3{gap:var(--space-content)}
  .panel{grid-template-columns:1fr}
  .panel .side{border-right:0;border-bottom:1px solid var(--line)}
  .panel .row:nth-child(n+5){display:none}
  .endpoints{padding:18px 16px}
  .endpoints .snip{font-size:11px}
  .q summary{font-size:18px}
  .end{border-radius:24px}
  .end h2{font-size:34px}
  .end .btns{flex-direction:column;align-items:center}
}

/* ---------- motion ----------
   Values follow the reference: 24 px rise, 6 px blur, 0.6 s, cubic-bezier(.22,1,.36,1), links 0.3 s.
   Hidden start states exist only when JS added .js, and never under reduced motion, so the page is always readable. */

/* hover: soft shadows live on pseudo layers and fade by opacity */
.btn.white,.plan,.card,.q,.cards3 article{position:relative}
.btn.white::after,.plan::after,.card::after,.q::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--shadow);opacity:0;pointer-events:none}
.cards3 article::before{content:"";position:absolute;top:0;left:0;right:0;height:305px;border-radius:24px;box-shadow:var(--shadow);opacity:0;pointer-events:none}
.btn.white:hover::after,.plan:hover::after,.card:hover::after,.q:hover::after,.cards3 article:hover::before{opacity:1}

@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .btn{transition:transform .25s var(--ease)}
  .btn.black:hover{transform:translateY(-2px)}
  .btn svg{transition:transform .25s var(--ease)}
  .btn.black:hover svg{transform:translate(2px,-2px)}
  .btn.white::after,.plan::after,.card::after,.q::after,.cards3 article::before{transition:opacity .3s}
  .q summary::after{transition:transform .35s var(--ease)}
  /* FAQ answer fades and slides in on open (opacity + transform only, so no layout is animated) */
  .q[open] p{animation:q-in .45s var(--ease)}
  @keyframes q-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

  .js .rv{opacity:0;transform:translateY(24px);filter:blur(6px);transition:opacity .6s var(--ease),transform .6s var(--ease),filter .6s var(--ease);transition-delay:var(--d,0ms)}
  .js .rv.rv-s{transform:translateY(14px)}
  .js .rv.in{opacity:1;transform:none;filter:none}
  /* hero window: scroll-linked scale/translate use the separate properties so they never fight the reveal transform */
  .window{transform-origin:50% 0;will-change:scale,translate}
}
/* long inline code, paths and URLs in the reading card break instead of widening the page on a 320 px phone */
.legal h2,.legal p,.legal li{overflow-wrap:anywhere}
/* on a phone the close button would hang past the screen edge: keep it inside the picture corner */
@media (max-width:600px){.lb button{top:8px;right:8px}}
