/* The landing page — dark enterprise redesign.
 *
 * Its own stylesheet, not the app's. The app's CSS is 1700 lines of tool — panes, scroll
 * containers, a reader — and none of it is what a page that has to sell the tool needs.
 *
 * The design language is the one in the reference: near-black navy rather than black, one
 * blue-to-violet gradient used sparingly, cards that are a translucent surface with a
 * hairline rather than a glow. It has to read as secure and expensive, which mostly means
 * restraint — no floating particles, no neon, no second accent.
 *
 * Inter is self-hosted from /fonts. No external CDN: a front door that waits on
 * fonts.googleapis.com is a front door that is sometimes slow for reasons nobody here can
 * fix — and a font request to Google from a German site is its own legal argument.
 *
 * The imprint and the privacy notice share this file, so the class vocabulary it defines
 * (.wrap, .nav, .btn, .legal, .todo, footer) has to keep working for them.
 */

@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

/* Every value in this block was sampled out of the reference render rather than picked by
 * eye: the page ground is #060a14, a card is #0b0f1a, a card's edge resolves to #111622
 * over it, and the filled button is dominated by #5b49d8 — a violet, not the blue the
 * first pass used. Matching them is what took the "washed out" look off the page: the
 * greys were a few points too light and a few too blue, and that adds up over a whole
 * screen. */
:root {
  --bg: #060a14;
  --bg-2: #04070f;
  --card: #0b0f1a;
  --card-2: #10141f;
  --ink: #f9fafb;
  --ink-soft: #98a3b5;
  --ink-faint: #5d6a80;
  --line: rgba(255, 255, 255, .06);
  --line-strong: rgba(255, 255, 255, .14);
  --blue: #4a6ef0;
  --blue-bright: #4d8cff;
  --violet: #6248dd;
  --cyan: #43b8ff;
  --grad: linear-gradient(100deg, #4a6ef0 0%, #6248dd 100%);
  --grad-text: linear-gradient(95deg, #6ea8ff 0%, #6d55e8 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 48px -24px rgba(0, 0, 0, .85);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 20px;
  --wrap: 1600px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* A hint of a light source, and no more than a hint. The first version put two big
 * radial washes over the top thousand points of the page, which lifted every black on the
 * first screen — that is what "washed out" was. The photograph is the light now. */
body::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 900px; pointer-events: none; z-index: 0;
  background: radial-gradient(1100px 560px at 74% -12%, rgba(74, 110, 240, .07), transparent 60%);
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Wide on purpose. At 1320 the page sat in a column in the middle of a big monitor with
 * dark on both sides, which reads as a page that did not fit rather than as a page that
 * was designed — 92vw lets it breathe on a laptop and the cap keeps a line of body text
 * from running past what an eye can track. */
.wrap { width: 100%; max-width: min(var(--wrap), 92vw); margin: 0 auto; padding: 0 40px; }
@media (max-width: 1100px) { .wrap { max-width: 100%; padding: 0 32px; } }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---------- header ---------- */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 9, 20, .72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.stuck { border-bottom-color: var(--line); background: rgba(5, 9, 20, .9); }
.nav-in { display: flex; align-items: center; gap: 26px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand svg, .brand .brandmark { width: 44px; height: 44px; flex: none; display: block; }
/* Two lines, as the logo artwork sets them: KISS large, MY SCRIPT under it in a smaller
 * size with more tracking, so both lines end up about the same width. */
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b { font-size: 20px; font-weight: 800; letter-spacing: .01em; }
.brand .word span { font-size: 10.5px; font-weight: 800; letter-spacing: .125em; color: var(--ink); }

.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 8px; transition: color .18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-right .login { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.nav-right .login:hover { color: var(--ink); }

.menu-btn {
  display: none; background: none; border: 1px solid var(--line); color: var(--ink);
  width: 42px; height: 38px; border-radius: 9px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 18px; height: 18px; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-right .login { display: none; }
  .nav.open .nav-links {
    display: flex; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 14px 24px 22px; gap: 2px; margin: 0;
  }
  .nav.open .nav-links a { padding: 12px 4px; font-size: 16px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 12px 22px; border-radius: 11px; border: 1px solid transparent;
  transition: transform .15s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background-image: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -12px rgba(66, 120, 255, .75);
}
.btn-primary:hover { box-shadow: 0 14px 34px -12px rgba(66, 120, 255, .9); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn-outline:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .05); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.play {
  width: 22px; height: 22px; border-radius: 99px; border: 1px solid var(--line-strong);
  display: grid; place-items: center;
}
.play svg { width: 9px; height: 9px; }

/* ---------- typography helpers ---------- */

.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: #8fa6d8;
}
.eyebrow.pill {
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  border-radius: 99px; padding: 7px 15px;
}
/* The hero heading breaks where the copy says it breaks, so it needs no measure of its
 * own — a max-width on top of the <br>s is what turned three lines into five. */
h1 {
  font-size: clamp(36px, 4.3vw, 60px); line-height: 1.06; letter-spacing: -.035em;
  font-weight: 800; margin: 24px 0 0;
}
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin: 0; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 7px; }
.grad {
  background-image: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lede { font-size: 18.5px; color: var(--ink-soft); max-width: 52ch; margin: 26px 0 0; }
p { margin: 0 0 14px; }

section { padding: 120px 0; }
.divide { border-top: 1px solid var(--line); }
.section-head { text-align: center; max-width: 64ch; margin: 0 auto 68px; }
.section-head h2 { margin: 18px 0 16px; }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0 auto; max-width: 46ch; }

/* ---------- hero ---------- */

.hero { padding: 78px 0 104px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 76px; align-items: center; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero .fineprint { margin-top: 18px; font-size: 13.5px; color: var(--ink-faint); }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  h1 { max-width: 16ch; }
}


/* ---------- the product mockup ---------- */

/* The panel is the one object on the page that has to look like a thing sitting in front
 * of the page rather than a shape drawn on it. Three parts do that, and all three are in
 * the reference:
 *
 * The INSIDE is nearly black. Only the top eighth catches any light at all — a dark card
 * with an even fill reads as paint, a dark card with a falloff reads as a surface.
 *
 * The EDGE is a hairline that is itself a gradient, bright at the top left and almost gone
 * at the bottom right. That is drawn with a masked ::after rather than a border, because a
 * border can only be one colour.
 *
 * And it CASTS. Two stacked shadows, a tight one for contact and a very wide soft one for
 * the room, plus a faint blue bloom so the panel sits in the page's light rather than on
 * top of it. */
.ui {
  position: relative;
  background:
    radial-gradient(100% 62% at 8% 0%, rgba(90, 120, 235, .13), transparent 60%),
    linear-gradient(168deg, #10172a 0%, #080d18 26%, #04070d 62%, #03050b 100%);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .13),
    0 1px 2px rgba(0, 0, 0, .7),
    0 26px 50px -22px rgba(0, 0, 0, .92),
    0 70px 130px -60px rgba(0, 0, 0, 1),
    0 0 90px -30px rgba(74, 110, 240, .35);
  overflow: hidden;
}
.ui::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .07) 34%, rgba(255, 255, 255, .02) 62%, rgba(255, 255, 255, .09) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none; z-index: 3;
}
.ui-bar {
  display: flex; align-items: center; gap: 14px; padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 12.5px; color: var(--ink-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), transparent);
}
.ui-bar .crumb { color: var(--ink-faint); }
.ui-bar .crumb b { color: var(--ink); font-weight: 600; }
.ui-bar .right { margin-left: auto; display: flex; gap: 10px; opacity: .5; }
.ui-body { display: grid; grid-template-columns: 168px minmax(0, 1fr); }
.ui-side { border-right: 1px solid rgba(255, 255, 255, .06); padding: 16px 12px; }
.ui-side .grp { font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-faint); margin: 16px 0 8px 8px; }
.ui-side .item {
  display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-soft);
  padding: 7px 9px; border-radius: 8px;
}
.ui-side .item.on { background: rgba(66, 120, 255, .13); color: var(--ink); }
.ui-side .item i { width: 13px; height: 13px; display: inline-block; opacity: .8; }
.ui-side .import {
  display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 10px; color: var(--ink);
}
.ui-main { padding: 18px 20px 22px; }
.ui-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.ui-tabs span { font-size: 12.5px; color: var(--ink-soft); padding-bottom: 11px; }
.ui-tabs span.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); }
.ui-h { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
/* The reference frames the summary — heading and figures together — inside its own panel
 * rather than letting the cards float on the body. */
.ui-group {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 45%), rgba(9, 13, 22, .6);
  border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 14px 15px; margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ui-group .metrics { margin-bottom: 0; }

.metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 20px; }
.metric {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 55%), #070b14;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px 12px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 6px 14px -10px rgba(0, 0, 0, .9);
}
.metric i { display: block; font-style: normal; font-size: 9.5px; color: var(--ink-faint); letter-spacing: .05em; }
.metric b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.025em; margin-top: 3px; }
.metric u { display: block; height: 2px; border-radius: 2px; margin-top: 9px; background: var(--grad); }
@media (max-width: 620px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

.ui-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 40%), rgba(9, 13, 22, .72);
  border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 14px 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.donut-row { display: flex; align-items: center; gap: 18px; }
.donut {
  width: 108px; height: 108px; border-radius: 99px; flex: none; display: grid; place-items: center;
  /* The chart is a conic gradient, so the numbers below it are real text. */
  background: conic-gradient(#4278ff 0 42%, #7657ff 42% 63%, #43b8ff 63% 78%, #2b3a56 78% 90%, #1b2436 90% 100%);
  position: relative;
}
.donut::after {
  content: ''; position: absolute; inset: 15px; border-radius: 99px; background: var(--card);
}
.donut b { position: relative; z-index: 1; font-size: 19px; font-weight: 700; text-align: center; line-height: 1.1; }
.donut b small { display: block; font-size: 9px; font-weight: 500; color: var(--ink-faint); }
.legend { display: grid; gap: 7px; font-size: 11.5px; color: var(--ink-soft); min-width: 0; }
.legend div { display: flex; align-items: center; gap: 8px; }
.legend em { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.legend span { margin-left: auto; color: var(--ink-faint); }

.feed { display: grid; gap: 12px; }
.feed div { display: flex; gap: 10px; font-size: 11.5px; align-items: flex-start; }
.feed .dot {
  width: 17px; height: 17px; border-radius: 99px; flex: none; margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, .16); position: relative;
  box-shadow: 0 0 12px -4px rgba(109, 160, 255, .6);
}
.feed .dot::after {
  content: ''; position: absolute; inset: 5px; border-radius: 99px; background: #6da0ff;
}
.feed b { display: block; font-weight: 500; color: var(--ink); }
.feed i { font-style: normal; color: var(--ink-faint); font-size: 10.5px; }

.enc {
  display: flex; align-items: center; gap: 13px; margin: 14px 20px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 55%), #070b14;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 13px; padding: 13px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 10px 22px -14px rgba(0, 0, 0, .9);
}
.enc .ic {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(77, 140, 255, .22), rgba(77, 140, 255, .08));
  color: #7cc2ff; border: 1px solid rgba(77, 140, 255, .3);
  box-shadow: 0 0 26px -8px rgba(77, 140, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.enc .ic svg { width: 19px; height: 19px; }
.enc b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #a9bde8; }
.enc span { font-size: 12.5px; color: var(--ink-soft); }

@media (max-width: 760px) {
  .ui-body { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .ui-cols { grid-template-columns: 1fr; }
}

/* ---------- security ---------- */

.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.sec {
  text-align: center; padding: 8px 26px;
  border-left: 1px solid var(--line);
}
.sec:first-child { border-left: 0; }
.sec .ic {
  width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(98, 72, 221, .2), rgba(98, 72, 221, .08));
  color: #b0a0ff; border: 1px solid rgba(118, 87, 255, .3);
  box-shadow: 0 0 26px -8px rgba(98, 72, 221, .85), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.sec .ic svg { width: 21px; height: 21px; }
.sec p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) {
  .sec-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 0; }
  .sec:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .sec-grid { grid-template-columns: 1fr; }
  .sec { border-left: 0; }
}

/* ---------- workflow ---------- */

.work { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.work h2 { margin-bottom: 20px; }
.work .lede { margin-top: 0; font-size: 17px; }
.feat { display: flex; gap: 14px; margin-bottom: 30px; }
.feat .ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(74, 110, 240, .2), rgba(74, 110, 240, .07));
  color: #8fb0ff; border: 1px solid rgba(74, 110, 240, .28);
  box-shadow: 0 0 20px -8px rgba(74, 110, 240, .8), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.feat .ic svg { width: 16px; height: 16px; }
.feat p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
@media (max-width: 1080px) { .work { grid-template-columns: 1fr; gap: 44px; } }

.list-tabs { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-faint); margin-bottom: 4px; padding: 0 2px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.list-tabs span.on { color: var(--ink); font-weight: 600; }
.row {
  display: flex; align-items: center; gap: 11px; padding: 11px 8px; border-radius: 9px;
  font-size: 13.5px; transition: background .15s ease;
}
.row:hover { background: rgba(255, 255, 255, .03); }
.row .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; font-size: 11px; }
.row .kind { margin-left: auto; font-size: 12px; color: var(--ink-faint); }

/* ---------- the flow ---------- */

.flow { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; }
.flow li { display: grid; grid-template-columns: 54px 1fr; gap: 22px; position: relative; padding-bottom: 30px; }
.flow li:last-child { padding-bottom: 0; }
.flow li:not(:last-child)::before {
  content: ''; position: absolute; left: 26px; top: 54px; bottom: 6px; width: 1px; background: var(--line);
}
.flow-n {
  width: 54px; height: 54px; border-radius: 99px; display: grid; place-items: center;
  background: var(--card-2); border: 1px solid var(--line);
  font-size: 17px; font-weight: 700; color: #8fb0ff; position: relative; z-index: 1;
}
.flow h3 { margin-top: 14px; font-size: 18px; }
.flow p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.flow code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: rgba(255,255,255,.06); border-radius: 5px; padding: 1px 5px; }
@media (max-width: 560px) {
  .flow li { grid-template-columns: 40px 1fr; gap: 16px; }
  .flow-n { width: 40px; height: 40px; font-size: 15px; }
  .flow li:not(:last-child)::before { left: 20px; top: 44px; }
}

/* ---------- cards, grids ---------- */

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, 0) 42%), var(--card);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
  padding: 26px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.card .ic {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(74, 110, 240, .18), rgba(74, 110, 240, .06));
  color: #8fb0ff; border: 1px solid rgba(74, 110, 240, .24);
  box-shadow: 0 0 22px -9px rgba(74, 110, 240, .8), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.card .ic svg { width: 18px; height: 18px; }

/* exports mockups */
.sheet { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 20px; }
.sheet-row { display: grid; grid-template-columns: 1.4fr 1fr .6fr .6fr; gap: 8px; font-size: 11.5px; padding: 6px 2px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.sheet-row:last-child { border-bottom: 0; }
.sheet-row.h { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.pdfmock { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.pdfmock .pill { display: inline-block; border: 1px solid rgba(66,120,255,.3); background: rgba(66,120,255,.1); color: #8fb0ff; font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.pdfmock .t { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 12px; }
.pdfmock .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.pdfmock .tile { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 9px; padding: 9px; }
.pdfmock .tile b { display: block; font-size: 15px; }
.pdfmock .tile i { font-style: normal; font-size: 7.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.pdfmock .tile.lead { background: rgba(66,120,255,.12); border-color: rgba(66,120,255,.25); }


/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; }
.plan.featured { border-color: rgba(66, 120, 255, .45); background: linear-gradient(180deg, rgba(66,120,255,.09), rgba(12,19,33,.9) 55%); }
.plan .flag {
  position: absolute; top: -11px; left: 24px; background-image: var(--grad); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 99px;
}
.plan .name { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.plan .price { font-size: 32px; font-weight: 800; letter-spacing: -.035em; margin: 8px 0 0; }
.plan .price .per { font-size: 13.5px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 0; }
.plan li { font-size: 14px; color: var(--ink-soft); padding-left: 24px; position: relative; margin-bottom: 10px; }
.plan li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 13px; height: 7px;
  border-left: 2px solid #6f9bff; border-bottom: 2px solid #6f9bff; transform: rotate(-45deg);
}

/* ---------- faq ---------- */

.faq { max-width: 820px; margin: 0 auto; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 22px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; align-items: center; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; margin-left: auto; font-size: 21px; font-weight: 400; color: var(--ink-faint); }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; font-size: 15.5px; color: var(--ink-soft); }

/* ---------- final cta ---------- */

.final { text-align: center; padding: 130px 0; background: linear-gradient(180deg, transparent, rgba(66, 120, 255, .06) 55%, transparent); }
.final h2 { max-width: 20ch; margin: 0 auto 20px; }
.final p { color: var(--ink-soft); font-size: 18px; max-width: 52ch; margin: 0 auto 34px; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); padding: 66px 0 40px; background: var(--bg-2); }
.foot { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 900px) { .foot { grid-template-columns: repeat(2, 1fr); gap: 34px; } }
.foot p { font-size: 14px; color: var(--ink-faint); max-width: 32ch; margin: 18px 0 20px; }
.foot h4 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #8fa6d8; margin: 4px 0 16px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 11px; }
.foot a { font-size: 14.5px; color: var(--ink-soft); }
.foot a:hover { color: var(--ink); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft);
}
.socials a:hover { border-color: var(--line-strong); color: var(--ink); }
.socials svg { width: 15px; height: 15px; }
.foot-bottom {
  margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-faint);
}
.foot-bottom .right { margin-left: auto; display: flex; gap: 18px; }

/* ---------- the legal pages ---------- */
/*
 * Imprint and privacy notice share this stylesheet, so they look like the same company as
 * the front door. They get their own narrow measure and no decoration: nobody skims one of
 * these, they look something up in it.
 */

.legal { max-width: 780px; margin: 0 auto; padding: 56px 32px 110px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 42px); letter-spacing: -.03em; max-width: none; margin: 0 0 10px; }
.legal .updated { color: var(--ink-faint); font-size: 14.5px; margin-bottom: 38px; }
.legal h2 { font-size: 22px; letter-spacing: -.015em; margin: 42px 0 12px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: #8fb0ff; text-decoration: underline; text-underline-offset: 3px; }
.legal dl { margin: 0 0 18px; }
.legal dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 18px; }
.legal dd { margin: 4px 0 0; font-size: 16.5px; color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.legal th { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

/* A value the operator still has to fill in. Loud on purpose: a legal page that goes live
 * with a placeholder in it is worse than one that is obviously unfinished. */
.todo {
  background: #4a3a10; color: #ffd98a; border-radius: 6px; padding: 1px 8px;
  font-weight: 600; font-size: .93em; box-shadow: inset 0 0 0 1px #7a6320;
}
.draft {
  background: rgba(245, 185, 59, .08); border: 1px solid rgba(245, 185, 59, .3);
  border-radius: var(--r-sm); padding: 18px 22px; margin-bottom: 34px;
}
.draft p { margin: 0; color: #f0cd8a; font-size: 15px; }

/* A sample figure or a placeholder logo, marked in the markup so it cannot be published by
 * accident. Invisible on the page — the marking that matters is in the source. */
[data-placeholder] { position: relative; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .row { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- small screens: nothing may force the page wider than the phone ----------
 *
 * The first mobile render scrolled sideways: a flex row of two buttons came to about 434
 * points on a 430-point screen, and once one element is wider than the viewport every
 * section inherits the overflow. These are the guards — children of a grid may shrink,
 * rows of tabs scroll inside themselves rather than pushing the page, and the two hero
 * buttons go full width instead of competing for one line.
 */

@media (max-width: 560px) {
  /* The bar is brand + demo button + burger, and on a narrow phone those three cannot
   * share one line without making the whole document wider than the screen. The demo
   * button is in the menu and twice more on the page, so it is the one that goes. */
  .nav-right .btn { display: none; }
  .nav-in { gap: 14px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .eyebrow.pill { font-size: 10.5px; letter-spacing: .12em; }
  h1 { font-size: clamp(32px, 9vw, 42px); }
  section { padding: 82px 0; }
  .final { padding: 92px 0; }
  .ui-main { padding: 14px 14px 18px; }
  .enc { margin: 12px 14px 16px; padding: 12px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-bottom { flex-direction: column; gap: 10px; }
  .foot-bottom .right { margin-left: 0; }
}

/* A row of tabs is allowed to be wider than its card — it may scroll inside it, it may not
 * make the page scroll. */
.ui-tabs, .list-tabs { overflow-x: auto; scrollbar-width: none; }
.ui-tabs::-webkit-scrollbar, .list-tabs::-webkit-scrollbar { display: none; }
.ui-tabs span, .list-tabs span { white-space: nowrap; }

/* Anything in a grid or a flex row may shrink below its content width. Without this, one
 * long word in a card is enough to widen the whole layout. */
.hero-grid > *, .work > *, .grid > *, .plans > *, .ui-cols > *, .ui-body > * { min-width: 0; }
.card, .panel, .ui, .metric { max-width: 100%; }
.row { min-width: 0; }
.row .kind { white-space: nowrap; }

/* ---------- section backgrounds and the parallax ----------
 *
 * A photograph behind a section has one job here: to make the page feel like it belongs to
 * a film production rather than to a generic SaaS template. It must never fight the text,
 * so every plate is laid down under an almost-opaque scrim and faded out at both edges —
 * what is left is a suggestion of a room, not a picture you read.
 *
 * The movement is a transform on the layer, driven by one rAF-throttled scroll handler, and
 * it is small on purpose: 12 per cent of the scrolled distance. Anything more and text
 * starts to swim. `background-attachment: fixed` was the alternative and is rejected — it
 * repaints the whole layer on every frame, and iOS has never supported it properly.
 */

.bg-section { position: relative; isolation: isolate; overflow: hidden; }
/* The plate is darkened with a FILTER rather than by putting grey on top of it. A veil
 * lifts the blacks — the shadows in the photograph stop being black and the whole section
 * goes milky. brightness+contrast keeps the blacks at zero and takes the midtones down,
 * which is what a colourist would do to the same frame. */
.bg-layer {
  position: absolute; left: 0; right: 0; top: -14%; height: 128%;
  z-index: -2; pointer-events: none;
  background-size: cover; background-position: center;
  filter: brightness(.72) contrast(1.18) saturate(.95);
  will-change: transform;
}
/* The scrim: dark enough that body text keeps its contrast over the brightest part of any
 * plate, and gradients at top and bottom so a section does not end in a hard edge. */
.bg-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(6, 10, 20, .25) 22%, rgba(6, 10, 20, .25) 78%, var(--bg) 100%),
    radial-gradient(58% 52% at 50% 50%, rgba(6, 10, 20, .58), transparent 78%);
}
/* The hero carries the real photograph, so it is allowed to be present — the first pass
 * put it under so much scrim that it read as noise, which is the worst of both worlds: the
 * cost of an image and the effect of none.
 *
 * The scrim is asymmetric instead: heavy on the left where the headline sits, light on the
 * right where the only thing over the picture is an opaque card. */
.hero .bg-layer { opacity: 1; filter: brightness(.66) contrast(1.28) saturate(.95); }
.hero::before {
  background:
    linear-gradient(180deg, rgba(6, 10, 20, .12) 0%, rgba(6, 10, 20, .3) 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6, 10, 20, .62) 0%, rgba(6, 10, 20, .3) 38%, transparent 62%, rgba(6, 10, 20, .35) 100%);
}
.bg-section .bg-layer { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .bg-layer { transform: none !important; }
}
@media (max-width: 700px) {
  /* On a phone the plate is mostly hidden behind the scrim anyway, and moving it costs a
   * repaint on a device that has less to spare. */
  .bg-layer { transform: none !important; opacity: .3; }
}

/* The vault plate is a busy frame at both edges — the door on the left, the racks on the
 * right — and the four security columns sit exactly there. Rather than darkening the whole
 * photograph back down, the row carries its own soft ground: a wide, very diffuse dark
 * shape behind the text only. The picture stays bright where nothing is written on it. */
.sec-grid {
  position: relative;
  padding: 30px 0 14px;
}
.sec-grid::before {
  content: ''; position: absolute; inset: -20px -6% 0;
  background: radial-gradient(62% 78% at 50% 46%, rgba(4, 7, 14, .88), rgba(4, 7, 14, .55) 62%, transparent 100%);
  z-index: -1; pointer-events: none;
}
/* Same idea for the two sections whose copy is centred over a lit plate. */
.final .wrap, #studios .section-head { position: relative; }
.final .wrap::before, #studios .section-head::before {
  content: ''; position: absolute; inset: -40px -8%;
  background: radial-gradient(58% 74% at 50% 50%, rgba(4, 7, 14, .85), rgba(4, 7, 14, .5) 60%, transparent 100%);
  z-index: -1; pointer-events: none;
}

/* The studios section is nearly filled by six cards, so a plate scaled to cover it is
 * blown up four times and then hidden behind them. This one is a wide, short banner —
 * 2200 by 733 — so it is laid in at full width across the top of the section instead,
 * where the heading is, and the section fades to black under the cards. */
#studios .bg-layer {
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  filter: brightness(.82) contrast(1.18) saturate(1);
}
#studios.bg-section::before {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(6, 10, 20, .22) 14%, rgba(6, 10, 20, .78) 46%, var(--bg) 72%),
    radial-gradient(60% 40% at 50% 18%, rgba(6, 10, 20, .55), transparent 80%);
}

/* The security icons carry no box. In the reference they are bare outlines at roughly
 * twice this size with a soft bloom around the stroke — a framed icon reads as a button,
 * and four buttons in a row is not what that section is saying. The glow is a drop-shadow
 * on the stroke itself rather than a box-shadow, so it follows the shape instead of
 * outlining a rectangle that is no longer there. */
.sec .ic {
  width: auto; height: auto; margin: 0 auto 22px;
  background: none; border: 0; box-shadow: none;
  color: #8f7dff;
}
.sec .ic svg {
  width: 44px; height: 44px; stroke-width: 1.5;
  filter: drop-shadow(0 0 16px rgba(124, 100, 245, .65)) drop-shadow(0 0 3px rgba(124, 100, 245, .5));
}

/* ---------- a touch out of focus ----------
 *
 * A few points of blur on every plate. The photographs are backgrounds, and a background
 * that is perfectly sharp competes with the type in front of it — this is the same reason
 * a DoP racks focus to the actor rather than the wall behind him. It is small: 3–4 points
 * on an image laid in at 2200, which reads as depth rather than as an effect.
 *
 * The layer is also widened past the section on both sides, because a blur samples beyond
 * its own edges and would otherwise fade to transparent exactly at the left and right of
 * the screen. The overflow is clipped by the section.
 */
.bg-layer { left: -3%; right: -3%; filter: brightness(.72) contrast(1.18) saturate(.95) blur(4px); }
.hero .bg-layer { filter: brightness(.66) contrast(1.28) saturate(.95) blur(3px); }
#studios .bg-layer { filter: brightness(.82) contrast(1.18) saturate(1) blur(4px); }

/* Four times the size it started at. At this size the stroke carries the section on its
 * own, so the bloom comes down a little — a big shape needs less help than a small one. */
.sec .ic svg {
  width: 84px; height: 84px; stroke-width: 1.2;
  filter: drop-shadow(0 0 24px rgba(124, 100, 245, .55)) drop-shadow(0 0 5px rgba(124, 100, 245, .38));
}
.sec .ic { margin-bottom: 26px; }
@media (max-width: 900px) { .sec .ic svg { width: 68px; height: 68px; } }

/* ---------- no rules across the page ----------
 *
 * The section dividers are gone. On a dark page a full-width hairline reads as a seam
 * where the layout was assembled — and once the plates arrived, several of them cut
 * straight across a photograph. What separates the sections now is what should: the
 * spacing between them, and the light in the plates changing from one to the next.
 *
 * The footer keeps its separation, but from its own darker ground rather than from a line.
 */
.divide { border-top: 0; }
footer { border-top: 0; }
.foot-bottom { border-top: 0; margin-top: 46px; padding-top: 0; }

/* Reported as too much: the blur comes down by 70 per cent. At four points the plates had
 * stopped being photographs of anything; a little over one is the amount that still says
 * "behind" without softening the subject away. */
.bg-layer { filter: brightness(.72) contrast(1.18) saturate(.95) blur(1.2px); }
.hero .bg-layer { filter: brightness(.66) contrast(1.28) saturate(.95) blur(0.9px); }
#studios .bg-layer { filter: brightness(.82) contrast(1.18) saturate(1) blur(1.2px); }

/* ---------- the blur, halfway ----------
 * Four points was too much, one was too little. This is the middle of the two. */
.bg-layer { filter: brightness(.72) contrast(1.18) saturate(.95) blur(2.6px); }
.hero .bg-layer { filter: brightness(.66) contrast(1.28) saturate(.95) blur(2px); }
#studios .bg-layer { filter: brightness(.82) contrast(1.18) saturate(1) blur(2.6px); }

/* ---------- things arrive ----------
 *
 * One rule for everything that fades in, and it is deliberately small: fourteen points of
 * travel and six tenths of a second. Copy that flies in from the side is a demo; copy that
 * settles is a page. Nothing moves twice — the observer unhooks each element once it has
 * arrived, so scrolling back up does not replay the site.
 */
[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .7, .3, 1);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- the donut draws itself ---------- */
.donut { position: relative; background: none; }
.donut::after { display: none; }
.donut .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.donut .ring circle { fill: none; stroke-width: 13; }
.donut .ring .track { stroke: rgba(255, 255, 255, .05); }
.donut .ring .seg {
  stroke-dasharray: 0 999;
  transition: stroke-dasharray 1.1s cubic-bezier(.3, .8, .3, 1);
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .donut .ring .seg { transition: none; }
}

/* The blur, third attempt. 4.0 was too much, 1.2 too sharp, 2.6 too much again — so 1.8,
 * with the hero a touch under it as always. */
.bg-layer { filter: brightness(.72) contrast(1.18) saturate(.95) blur(1.8px); }
.hero .bg-layer { filter: brightness(.66) contrast(1.28) saturate(.95) blur(1.4px); }
#studios .bg-layer { filter: brightness(.82) contrast(1.18) saturate(1) blur(1.8px); }

/* The product section shows the far side of the same frame the closing CTA uses — the
 * depth behind the desk rather than the pages on it — and its copy sits left with an
 * opaque card on the right, so the ground is weighted to the left. */
#product .bg-layer { background-position: 78% center; }
#product.bg-section::before {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(6, 10, 20, .3) 20%, rgba(6, 10, 20, .3) 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6, 10, 20, .78) 0%, rgba(6, 10, 20, .55) 40%, rgba(6, 10, 20, .25) 100%);
}

/* The how-it-works plate is lit at both edges and empty in the middle, and the five steps
 * run down a 820-point column in that middle. So the scrim is a soft column rather than a
 * flat wash: dark where the list is, out of the way where the picture is. */
/* Laid in at full width rather than scaled to cover, for the same reason as the studios
 * plate: the section is fourteen hundred points tall, and covering it blows a 2200-wide
 * frame up until both the hand and the desk are outside the crop. At full width the whole
 * frame reads across the top, where the heading is, and the list below it runs on black. */
#how .bg-layer {
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
}
#how.bg-section::before {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(6, 10, 20, .2) 10%, rgba(6, 10, 20, .72) 42%, var(--bg) 66%),
    linear-gradient(90deg, transparent 0%, rgba(6, 10, 20, .7) 28%, rgba(6, 10, 20, .7) 72%, transparent 100%);
}

/* ---------- language menu ---------- */

/* A globe and the current language in the footer's bottom row — where Stripe,
 * Apple and Notion keep theirs, because someone who wants another language goes
 * looking for it and "looking" means the footer. Real links to real pages, and a
 * <details> so it works without a line of script; it opens UPWARD, being at the
 * bottom of the document. */
/* The FAQ styles bare <details> as a card with a +/– marker; this one is a menu,
   not an accordion, so every piece of that costume comes off again. */
.lang-menu {
  position: relative; display: inline-block;
  background: none; border: 0; border-radius: 0; padding: 0; margin: 0;
}
.lang-menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink-faint); font-size: 13.5px; font-weight: 500;
}
.lang-menu summary::after { content: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { color: var(--ink-soft); }
.lang-menu summary svg { width: 15px; height: 15px; }
.lang-pop {
  position: absolute; right: 0; bottom: calc(100% + 10px);
  display: flex; flex-direction: column; min-width: 150px;
  background: var(--card); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); padding: 6px; box-shadow: var(--shadow);
  z-index: 70;
}
.lang-pop a {
  padding: 8px 12px; border-radius: 7px;
  font-size: 14px; color: var(--ink-soft);
}
.lang-pop a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.lang-pop a.on { color: var(--ink); font-weight: 600; }
.lang-pop a.on::after { content: " ✓"; color: var(--blue-bright); }
