/* ═══════════════════════════════════════════════════════════
   Cloud Policy Preferences — site styles
   Dark violet-biased ground, one hot accent (the brand violet),
   amber for the playful marks, oversized geometric type, and
   light panels to break the rhythm.
   Single committed dark identity: every colour is explicit.
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/outfit-var-latin.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+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plusjakartasans-var-latin.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+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #110f18;
  --ground-2: #171326;
  --surface: #1c1729;
  --surface-2: #221c33;
  --line: #2e2643;
  --ink: #f5f2fa;
  --ink-2: #b3aac6;
  --ink-3: #837a99;

  --violet: #8e2cb8;
  --violet-hot: #a63bd2;
  --violet-deep: #6d1a8f;
  --violet-tile: #2d1840;
  --violet-text: #d09bea;

  --amber: #ffb300;
  --amber-tile: #3a2b06;
  --amber-text: #ffc85a;

  /* light panels */
  --paper: #f4f2ee;
  --paper-ink: #17131f;
  --paper-ink-2: #56506a;
  --paper-line: #ddd8d0;

  --shadow-s: 0 2px 6px rgba(0, 0, 0, 0.45), 0 16px 34px -24px rgba(0, 0, 0, 0.9);
  --shadow-l: 0 8px 20px rgba(0, 0, 0, 0.5), 0 50px 80px -50px rgba(0, 0, 0, 1);

  --display: 'Outfit', 'Segoe UI', sans-serif;
  --body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The header is sticky, so anchored sections need room above them */
section[id], .setup-step, .anchor-alias { scroll-margin-top: 150px; }

/* Targets kept for links to the previous version of this site */
.anchor-alias { display: block; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height:auto is required: the img tags carry width/height attributes for layout
   stability, and without it the intrinsic height wins while the width shrinks */
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.035em; text-wrap: balance; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 30px; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--violet); color: #fff;
  padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip:focus { left: 0; }

:where(a, button):focus-visible { outline: 3px solid var(--violet-text); outline-offset: 3px; border-radius: 4px; }

/* Grain — a faint tooth over the flat grounds */
.grain { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.22; background-image: url('/assets/grain.svg');
}
.grain > * { position: relative; z-index: 2; }

/* Every decorative mark on the site is a cloud silhouette */
.cloud, .other-card::after, .stat:nth-child(3)::after {
  -webkit-mask-image: url('/assets/cloud.svg'); mask-image: url('/assets/cloud.svg');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.cloud { position: absolute; z-index: 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--violet); color: #fff; text-decoration: none;
  border: 0; border-radius: 999px; padding: 15px 26px;
  font-family: var(--body); font-size: 16px; font-weight: 700; cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}
.btn:hover { background: var(--violet-hot); transform: translateY(-1px); }
.btn.pale { background: #fff; color: var(--paper-ink); }
.btn.pale:hover { background: #f0e9f5; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.line:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--violet); }
.btn.sm { padding: 11px 20px; font-size: 15px; }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; font-size: 16px; color: var(--ink);
  border-bottom: 2px solid var(--amber); padding-bottom: 2px;
}
.btn-text:hover { color: var(--amber-text); }

/* ── Header: nav + announcement banner ───────────────────── */
.site-head { position: sticky; top: 0; z-index: 60; }

.nav {
  background: rgba(17, 15, 24, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 38, 67, 0.7);
}
.nav-in { display: flex; align-items: center; gap: 30px; padding: 14px 30px; max-width: 1240px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; }
.brand img { width: 36px; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--violet-text); }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line);
  border-radius: 9px; padding: 8px 10px; color: var(--ink); cursor: pointer;
}

.banner {
  background: rgba(142, 44, 184, 0.22);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(166, 59, 210, 0.3);
  color: var(--ink);
}
.banner-in {
  max-width: 1240px; margin: 0 auto; padding: 10px 30px;
  display: flex; align-items: center; gap: 14px; font-size: 14.5px;
}
.banner .tag {
  font-family: var(--display); font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-text);
  border: 1px solid rgba(255, 200, 90, 0.4); border-radius: 999px; padding: 3px 11px;
  white-space: nowrap;
}
.banner p { margin: 0; }
.banner b { font-weight: 700; }
.banner .close {
  margin-left: auto; background: transparent; border: 0; color: var(--ink-2);
  cursor: pointer; padding: 4px 6px; line-height: 1; border-radius: 6px; font-size: 18px;
}
.banner .close:hover { color: var(--ink); background: rgba(255, 255, 255, 0.08); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 70px 0 20px; position: relative; overflow: hidden; }
.glow {
  position: absolute; z-index: 0; border-radius: 50%;
  width: 760px; height: 560px; top: -280px; right: -180px;
  background: radial-gradient(closest-side, rgba(142, 44, 184, 0.55), rgba(142, 44, 184, 0) 100%);
  filter: blur(10px);
}
.cloud.c-amber { width: 180px; height: 90px; background: var(--amber); top: 244px; right: 116px; }
.cloud.c-violet { width: 108px; height: 54px; background: var(--violet-hot); top: 66px; right: 356px; }
.cloud.c-tile { width: 250px; height: 125px; background: var(--violet-tile); left: -78px; bottom: 22px; }

.hero .wrap { position: relative; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px 7px 8px; font-size: 14px; font-weight: 600; margin-bottom: 26px;
}
.badge i {
  width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: #2a1d00;
  display: grid; place-items: center; font-size: 13px; font-style: normal;
}
.hero h1 {
  font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; line-height: 0.94;
  max-width: 17ch; margin-bottom: 22px;
}
.hero h1 .hl { color: var(--violet-text); }
.hero-sub { font-size: 20px; color: var(--ink-2); max-width: 54ch; margin: 0 0 30px; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-note { font-size: 14.5px; color: var(--ink-3); }
.live-stats { font-size: 14.5px; color: var(--ink-3); margin-top: 18px; }
.live-stats b { color: var(--violet-text); font-family: var(--display); font-weight: 800; font-size: 17px; }

/* ── Rotating showcase ───────────────────────────────────── */
.showcase { padding: 54px 0 88px; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.chips button {
  font-family: var(--body); font-size: 14.5px; font-weight: 600; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; color: var(--ink-2); transition: all 0.16s ease;
}
.chips button:hover { border-color: var(--violet); color: var(--ink); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: var(--ground); }

.stage { display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 46px; align-items: center; }
.frame { position: relative; display: flex; }
.frame::before {
  content: ""; position: absolute; z-index: 0;
  inset: 12% -9% -14% -9%;
  background:
    radial-gradient(55% 58% at 42% 62%, rgba(166, 59, 210, 0.85) 0%, rgba(166, 59, 210, 0) 72%),
    radial-gradient(45% 50% at 72% 78%, rgba(90, 60, 230, 0.55) 0%, rgba(90, 60, 230, 0) 74%);
  filter: blur(52px); pointer-events: none;
}
.shotwrap {
  position: relative; z-index: 1; flex: 1; display: flex;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 20px; padding: 10px; box-shadow: var(--shadow-l);
}
.shotwrap img {
  border-radius: 13px; width: 100%; height: auto;
  aspect-ratio: 2552 / 1308; object-fit: cover; object-position: top center;
}
.stage-copy { display: flex; flex-direction: column; justify-content: center; }
.rot { display: grid; }
.frame .rot { flex: 1; }
.frame .rot > [data-s] { display: flex; }
.rot > [data-s] {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.rot > [data-s].on { opacity: 1; visibility: visible; transform: none; }

.kicker {
  font-family: var(--display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-text); margin-bottom: 14px;
}
.stage-copy h2 { font-size: clamp(28px, 3.3vw, 40px); font-weight: 800; line-height: 1.04; margin-bottom: 14px; }
.stage-copy p { color: var(--ink-2); font-size: 17.5px; margin: 0 0 22px; }
.stage-copy ul { list-style: none; margin: 0 0 26px; display: grid; gap: 12px; }
.stage-copy li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; font-weight: 500; }
.stage-copy li i {
  width: 22px; height: 22px; border-radius: 50%; background: var(--violet-tile); color: var(--violet-text);
  display: grid; place-items: center; margin-top: 2px;
}
.ticker { display: flex; align-items: center; gap: 12px; }
.ticker .dots { display: flex; gap: 7px; }
.ticker .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: all 0.2s ease; }
.ticker .dots span.on { background: var(--violet-text); width: 26px; border-radius: 999px; }
.ticker .lbl { font-size: 14px; color: var(--ink-3); font-weight: 500; }

/* ── Works-with strip ────────────────────────────────────── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--ground-2); }
.strip .wrap { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; justify-content: center; }
.strip .lead { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.strip .item { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink-2); }
.strip .item svg { color: var(--violet-text); }

/* ── Stat trio ───────────────────────────────────────────── */
.stats { padding: 92px 0 70px; }
.stats h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.02; max-width: 19ch; margin-bottom: 40px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 28px 26px; position: relative; overflow: hidden; box-shadow: var(--shadow-s);
}
.stat:nth-child(2) { background: var(--violet); border-color: var(--violet); }
.stat:nth-child(2) p { color: #e7d3f1; }
.stat:nth-child(3)::after {
  content: ""; position: absolute; width: 210px; height: 105px;
  background: var(--amber-tile); right: -46px; bottom: -26px;
}
.stat .n { font-family: var(--display); font-size: 60px; font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; margin-bottom: 12px; }
.stat:nth-child(1) .n { color: var(--violet-text); }
.stat:nth-child(2) .n { color: var(--amber); }
.stat:nth-child(3) .n { color: var(--amber-text); }
.stat h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; position: relative; }
.stat p { font-size: 15.5px; color: var(--ink-2); margin: 0; position: relative; }

/* ── Section heads and feature cards ─────────────────────── */
.features { padding: 76px 0 90px; }
.sec-head { max-width: 62ch; margin-bottom: 42px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.02; margin-bottom: 14px; }
.sec-head p { font-size: 18.5px; color: var(--ink-2); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--violet); box-shadow: var(--shadow-l); }
.card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--violet-tile); color: var(--violet-text); margin-bottom: 18px;
}
.card:nth-child(4n+2) .ico { background: var(--amber-tile); color: var(--amber-text); }
.card:nth-child(4n+3) .ico { background: #fff; color: var(--paper-ink); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 16px; color: var(--ink-2); margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 4px 24px; transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--violet); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative;
  font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--violet-text); border-bottom: 2.5px solid var(--violet-text);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--violet-text); }
.faq p { font-size: 16.5px; color: var(--ink-2); margin: 0; padding: 0 0 22px; max-width: 74ch; }

/* ── Light inset panel — the contrast break ──────────────── */
.panel-band { padding: 0 0 90px; }
.panel {
  background: var(--paper); color: var(--paper-ink); border-radius: 34px;
  padding: 62px 56px; position: relative; overflow: hidden;
}
/* Clipped clouds keep their bumpy top and lose the flat bottom, never the reverse */
.panel .cloud.p-pale { width: 400px; height: 200px; background: #e7dcf0; bottom: -58px; left: -66px; }
.panel .cloud.p-amber { width: 160px; height: 80px; background: var(--amber); right: 48px; top: 34px; }
.panel .duo { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.panel .kicker { color: var(--violet-deep); }
.panel h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.03; margin-bottom: 16px; }
.panel .lede { font-size: 18px; color: var(--paper-ink-2); margin: 0 0 26px; max-width: 46ch; }
.layers { display: grid; gap: 2px; }
.layer { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--paper-line); }
.layer:last-child { border-bottom: 0; }
.layer .n { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--violet-deep); }
.layer b { font-size: 16.5px; font-weight: 700; display: block; margin-bottom: 3px; }
.layer span { font-size: 15px; color: var(--paper-ink-2); }

/* ── Steps ───────────────────────────────────────────────── */
.steps { padding: 6px 0 96px; }
.steprow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; }
.step .n {
  width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: #2a1d00;
  font-family: var(--display); font-weight: 800; font-size: 18px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step .t { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--violet-text); margin-bottom: 6px; }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* ── Split detail ────────────────────────────────────────── */
.detail { padding: 0 0 96px; }
.detail .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.detail .duo + .duo { margin-top: 88px; }
.detail .duo.flip > :first-child { order: 2; }
.detail h2 { font-size: clamp(27px, 3.3vw, 40px); font-weight: 800; line-height: 1.05; margin-bottom: 14px; }
.detail p { font-size: 17.5px; color: var(--ink-2); margin: 0 0 20px; }
.pillrow { display: flex; flex-wrap: wrap; gap: 10px; }
.pillrow span {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 15.5px; font-weight: 600;
}
.plain-frame {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-l);
  background: var(--surface-2); border: 1px solid var(--line); padding: 10px;
}
.plain-frame img { border-radius: 13px; }

/* ── Closing CTA ─────────────────────────────────────────── */
.closer { padding: 0 0 90px; }
.closer-inner {
  background: linear-gradient(140deg, var(--violet-deep) 0%, var(--violet-hot) 100%);
  color: #fff; border-radius: 34px; padding: 76px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.closer-inner .cloud.c-white { width: 330px; height: 165px; background: rgba(255, 255, 255, 0.12); left: -66px; bottom: -40px; }
.closer-inner .cloud.c-amber2 { width: 170px; height: 85px; background: var(--amber); right: 58px; top: 40px; }
.closer-inner h2 { font-size: clamp(34px, 5.4vw, 68px); font-weight: 800; line-height: 0.98; margin: 0 auto 18px; max-width: 16ch; color: #fff; position: relative; z-index: 2; }
.closer-inner p { font-size: 19px; color: #eddcf5; margin: 0 auto 30px; max-width: 48ch; position: relative; z-index: 2; }
.closer-inner .btn { position: relative; z-index: 2; }

/* ── Footer ──────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); padding: 34px 0 46px; }
.site-foot .wrap { display: flex; gap: 22px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.site-foot .fbrand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; }
.site-foot .fbrand img { width: 28px; }
.site-foot .flinks { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--violet-text); }
.site-foot small { color: var(--ink-3); font-size: 14px; }

/* ═══ About page ═════════════════════════════════════════════ */
.page-hero { padding: 74px 0 54px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; line-height: 0.98; max-width: 16ch; margin-bottom: 20px; }
.page-hero h1 .hl { color: var(--violet-text); }
.page-hero .lede { font-size: 20px; color: var(--ink-2); max-width: 58ch; }
.page-hero .cloud.c-violet { top: 120px; right: 300px; }

.about-body { padding: 22px 0 90px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; align-items: start; }
.prose h2 { font-size: clamp(24px, 2.9vw, 33px); font-weight: 800; margin: 34px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 18px; color: var(--ink-2); margin: 0 0 18px; max-width: 66ch; }

.isnt { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.isnt .card { padding: 24px 24px 20px; }
.isnt .ico {
  width: 34px; height: 34px; border-radius: 11px; font-size: 17px; font-weight: 700;
  background: var(--violet-tile); color: var(--violet-text); margin-bottom: 14px;
}
.isnt .ico.alt { background: var(--amber-tile); color: var(--amber-text); }
.isnt h3 { font-size: 18px; margin-bottom: 10px; }
.isnt ul { list-style: none; display: grid; gap: 10px; }
.isnt li { font-size: 15px; color: var(--ink-2); padding-left: 16px; position: relative; }
.isnt li::before { content: "·"; position: absolute; left: 3px; color: var(--violet-text); font-weight: 700; }

.facts {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 24px; position: sticky; top: 130px;
}
.facts h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.facts dl { margin: 0 0 20px; }
.facts dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-size: 14.5px; color: var(--ink-3); }
.facts dd { font-size: 14.5px; font-weight: 600; text-align: right; }

.tablewrap { overflow-x: auto; margin: 26px 0 16px; }
table.gap { border-collapse: collapse; width: 100%; min-width: 660px; font-size: 15.5px; }
table.gap th, table.gap td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--paper-line); }
table.gap th { font-family: var(--display); font-size: 13.5px; font-weight: 700; color: var(--paper-ink-2); }
table.gap th:not(:first-child), table.gap td:not(:first-child) { text-align: center; width: 21%; }
table.gap tbody tr:last-child td { border-bottom: 0; }
table.gap td:first-child { font-weight: 600; }
table.gap .yes { color: var(--violet-deep); font-weight: 700; }
table.gap .no { color: #a8a0b4; font-weight: 600; }
table.gap tr td:last-child { background: rgba(142, 44, 184, 0.07); }
.panel .foot { font-size: 14.5px; color: var(--paper-ink-2); margin: 0; max-width: 82ch; }

.author { padding: 0 0 84px; }
.author-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 30px;
  padding: 40px 42px; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 34px; align-items: start;
}
.avatar {
  width: 132px; height: 132px; border-radius: 28px;
  background: linear-gradient(140deg, var(--violet-deep), var(--violet-hot));
  display: grid; place-items: center; padding: 18px;
}
.author h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; margin-bottom: 4px; }
.author .role { font-size: 16.5px; color: var(--amber-text); font-weight: 600; margin: 0 0 16px; }
.author p { font-size: 17px; color: var(--ink-2); margin: 0 0 22px; max-width: 64ch; }
.author-links { display: flex; gap: 12px; flex-wrap: wrap; }

.other { margin-top: 34px; }
.other .kicker { color: var(--ink-3); }
.other-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 28px; align-items: center;
  text-decoration: none; color: var(--paper-ink);
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: 26px; padding: 28px 32px;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.other-card::after {
  content: ""; position: absolute; width: 270px; height: 135px;
  background: #e7dcf0; right: -48px; bottom: -46px; z-index: 0;
}
.other-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.9); }
.other-logo {
  position: relative; z-index: 1;
  width: 104px; height: 104px; border-radius: 24px; padding: 14px;
  background: linear-gradient(140deg, #0f2440, #17456d); display: grid; place-items: center;
}
.other-body { display: block; position: relative; z-index: 1; }
.other-title { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.03em; }
.other-card:hover .other-title { color: var(--violet-deep); }
.other-desc { display: block; color: var(--paper-ink-2); font-size: 15.5px; margin: 7px 0 16px; max-width: 68ch; }
.other-stats { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--paper-ink-2); }
.other-stats > span { display: inline-flex; align-items: baseline; gap: 7px; }
.other-stats b { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--violet-deep); letter-spacing: -0.03em; }
.other-stats > span:first-child b { font-size: 27px; }

.fineprint { font-size: 13.5px; color: var(--ink-3); margin: 26px 4px 0; max-width: 92ch; }

/* ═══ Setup page ═════════════════════════════════════════════ */
.setup-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 54px; align-items: start; padding: 10px 0 90px; }
.toc { position: sticky; top: 130px; border-left: 2px solid var(--line); padding-left: 20px; }
.toc h3 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 3px; counter-reset: toc; }
.toc a {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: baseline;
  text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 7px 8px; border-radius: 9px;
}
.toc a::before {
  counter-increment: toc; content: counter(toc);
  font-family: var(--display); font-weight: 700; font-size: 12.5px; color: var(--violet-text);
}
.toc a:hover { background: var(--surface); color: var(--ink); }
.toc a.on { background: var(--violet-tile); color: var(--ink); font-weight: 600; }
.toc .need { margin-top: 22px; font-size: 14px; color: var(--ink-3); }
.toc .need b { display: block; color: var(--ink-2); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.toc .need li { list-style: none; padding: 4px 0; }

.setup-step { padding-bottom: 56px; scroll-margin-top: 150px; }
.setup-step + .setup-step { border-top: 1px solid var(--line); padding-top: 46px; }
.step-head { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 18px; }
.step-num {
  width: 52px; height: 52px; border-radius: 16px; background: var(--violet); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 22px; display: grid; place-items: center;
}
.setup-step h2 { font-size: clamp(24px, 2.9vw, 32px); font-weight: 800; margin-bottom: 6px; }
.step-time { font-size: 14px; color: var(--amber-text); font-weight: 600; font-family: var(--display); letter-spacing: 0.04em; }
.setup-step p { font-size: 17px; color: var(--ink-2); margin: 0 0 16px; max-width: 72ch; }
.setup-step ul.checks { list-style: none; display: grid; gap: 10px; margin: 0 0 20px; }
.setup-step ul.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; color: var(--ink-2); }
.setup-step ul.checks i {
  width: 20px; height: 20px; border-radius: 50%; background: var(--violet-tile); color: var(--violet-text);
  display: grid; place-items: center; margin-top: 3px;
}
.callout {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px;
  background: var(--amber-tile); border: 1px solid rgba(255, 179, 0, 0.3);
  border-radius: 16px; padding: 18px 20px; margin: 4px 0 22px;
}
.callout .ico { color: var(--amber); }
.callout b { display: block; font-size: 15.5px; margin-bottom: 4px; color: var(--ink); }
.callout p { font-size: 15px; margin: 0; color: var(--ink-2); }

/* Generated interface illustrations */
.mock {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--surface-2); box-shadow: var(--shadow-l); margin: 4px 0 12px;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3350; display: block; }
.mock-bar span { font-size: 12px; color: var(--ink-3); margin-left: 8px; font-family: var(--display); letter-spacing: 0.02em; }
.mock-body { padding: 22px 24px; }
.mock-cap { font-size: 13.5px; color: var(--ink-3); margin: 0 0 26px; }
.mock-cap b { color: var(--ink-2); font-weight: 600; }

.m-app { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.m-app .logo { width: 44px; height: 44px; border-radius: 12px; background: var(--violet-tile); display: grid; place-items: center; padding: 7px; }
.m-app b { display: block; font-size: 16px; font-family: var(--display); font-weight: 700; }
.m-app small { font-size: 13px; color: var(--ink-3); }
.m-perm { display: grid; grid-template-columns: 22px 1fr; gap: 13px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.m-perm:last-of-type { border-bottom: 0; }
.m-perm .tick { color: var(--violet-text); margin-top: 3px; }
.m-perm b { font-size: 14.5px; font-family: var(--display); font-weight: 700; }
.m-perm span { display: block; font-size: 13.5px; color: var(--ink-3); }
.m-actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.m-btn { border-radius: 8px; padding: 9px 18px; font-size: 14px; font-weight: 700; font-family: var(--body); }
.m-btn.primary { background: var(--violet); color: #fff; }
.m-btn.ghost { border: 1px solid var(--line); color: var(--ink-2); }
.m-note { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }

.m-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.m-card + .m-card { margin-top: 12px; }
.m-cardhead { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.m-cardhead .ico { width: 32px; height: 32px; border-radius: 10px; background: var(--violet-tile); color: var(--violet-text); display: grid; place-items: center; }
.m-cardhead b { font-size: 15px; font-family: var(--display); font-weight: 700; }
.m-cardhead small { display: block; font-size: 11.5px; color: var(--ink-3); }
.m-pill {
  margin-left: auto; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 11px;
  background: var(--violet-tile); color: var(--violet-text);
}
.m-pill.warn { background: var(--amber-tile); color: var(--amber-text); }
.m-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.m-row b { font-size: 14px; display: block; }
.m-row span { font-size: 13px; color: var(--ink-3); }
.m-row .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.m-toggle { width: 40px; height: 21px; border-radius: 999px; background: var(--violet); position: relative; flex-shrink: 0; }
.m-toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }
.m-toggle.off { background: #4a4260; }
.m-toggle.off::after { right: auto; left: 3px; }
.m-code {
  font-family: 'Consolas', 'Cascadia Code', monospace; font-size: 13.5px; letter-spacing: 0.06em;
  background: var(--ground); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--ink);
}
.m-ghostbtn { border: 1px solid var(--line); border-radius: 7px; padding: 7px 13px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

.m-field { margin-bottom: 12px; }
.m-field label { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 6px; font-weight: 600; }
.m-field .box {
  border: 1px solid var(--line); background: var(--ground); border-radius: 9px;
  padding: 10px 13px; font-size: 14px; display: flex; align-items: center; gap: 10px;
}
.m-field .box .muted { color: var(--ink-3); }
.m-field .box .chev { margin-left: auto; color: var(--ink-3); }
.m-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.step-shot { position: relative; }

.setup-cta { border-top: 1px solid var(--line); padding-top: 44px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1040px) {
  .stage, .panel .duo, .detail .duo, .about-grid, .isnt, .setup-layout { grid-template-columns: minmax(0, 1fr); }
  .detail .duo.flip > :first-child { order: 0; }
  .facts, .toc { position: static; }
  .toc { border-left: 0; padding-left: 0; }
  .author-card { grid-template-columns: minmax(0, 1fr); padding: 30px; }
  .avatar { width: 104px; height: 104px; border-radius: 22px; }
  .other-card { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .stat-row, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steprow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cloud.c-amber, .cloud.c-violet, .cloud.c-tile { display: none; }
  .panel, .closer-inner { padding: 44px 30px; }
}

@media (max-width: 780px) {
  .stat-row, .cards, .steprow, .m-two { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ground-2); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 30px; }
  .nav { position: relative; }
  .banner-in { font-size: 13.5px; padding: 9px 20px; gap: 10px; }
  .banner .tag { display: none; }
}

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

/* ═══ Notifications page — the user toast ════════════════════ */
.toast-stage {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); min-height: 520px;
  background:
    radial-gradient(120% 90% at 20% 10%, #21304d 0%, transparent 60%),
    radial-gradient(100% 80% at 80% 70%, #3a2350 0%, transparent 65%),
    linear-gradient(160deg, #0d1220 0%, #161326 100%);
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 0 22px 66px;
}
.toast-stage .taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46px;
  background: rgba(12, 12, 18, 0.86); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.toast-stage .taskbar i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); display: block; }
.toast-stage .taskbar .clock { position: absolute; right: 16px; font-size: 11.5px; color: #b9c0d0; font-variant-numeric: tabular-nums; }

.toast {
  font-family: 'Segoe UI', var(--body);
  background: #17131f; border: 1px solid #322a45; border-radius: 12px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
  overflow: hidden; position: relative;
}
.toast .accent { height: 4px; background: linear-gradient(90deg, var(--brand, #8e2cb8), var(--brand2, #a63bd2)); }
.toast .t-logo { background: #fff; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.toast .t-close {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px;
  border-radius: 7px; border: 0; background: transparent; color: #8f87a3;
  font-size: 15px; line-height: 1; cursor: pointer;
}
.toast .t-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.toast .t-bar { height: 5px; border-radius: 999px; background: #2b2440; overflow: hidden; }
.toast .t-bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand, #8e2cb8); transition: width 0.45s cubic-bezier(0.3, 0.8, 0.3, 1); }
.toast .t-steps { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.toast .t-steps li { display: grid; grid-template-columns: 17px 1fr; gap: 9px; align-items: center; font-size: 12.5px; color: #766e88; }
.toast .t-steps li.done { color: #a49bb8; }
.toast .t-steps li.now { color: #f0ecf6; font-weight: 600; }
.toast .t-steps .mark { width: 15px; height: 15px; border-radius: 50%; border: 1.6px solid #3b3352; display: grid; place-items: center; }
.toast .t-steps li.done .mark { background: #4ec78a; border-color: #4ec78a; }
.toast .t-steps li.now .mark { border-color: var(--brand, #8e2cb8); border-width: 3px; }
.toast .t-org { font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: #8f87a3; font-weight: 700; }
.toast .t-now { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.toast .t-now b { font-size: 14.5px; color: #fff; font-weight: 600; }
.toast .t-now span { margin-left: auto; font-size: 12px; color: #8f87a3; font-variant-numeric: tabular-nums; }

.toast.full { width: 400px; }
.toast.full .t-pad { padding: 20px 22px 22px; }
.toast.full .t-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.toast.full .t-logo { width: 48px; height: 48px; padding: 6px; }
.toast.full .t-logo img { width: 100%; }
.toast.full h3 { font-family: 'Segoe UI', var(--display); font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.toast.full .t-msg { font-size: 13.5px; color: #b3aac6; margin: 0 0 16px; }
.toast.full .t-list { margin: 16px 0 0; padding-top: 15px; border-top: 1px solid #2b2440; }
.toast.full .t-dismiss {
  width: 100%; margin-top: 18px; border: 1px solid #3b3352; background: #241d33; color: #e6e1f0;
  border-radius: 8px; padding: 11px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.toast.full .t-dismiss:hover { background: #2c2440; border-color: var(--brand, #8e2cb8); }

.toast.compact { width: 560px; max-width: 100%; }
.toast.compact .t-pad { padding: 15px 44px 16px 17px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.toast.compact .t-logo { width: 40px; height: 40px; padding: 5px; }
.toast.compact .t-logo img { width: 100%; }
.toast.compact .t-org { margin-bottom: 3px; }
.toast.compact .t-now b { font-size: 14px; }

.toast-controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.toast-controls .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button {
  border: 0; background: transparent; border-radius: 999px; padding: 8px 16px;
  font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.seg button.on { background: var(--violet); color: #fff; }
.swatches { display: flex; gap: 7px; align-items: center; }
.swatch { width: 26px; height: 26px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; padding: 0; }
.swatch.on { border-color: #fff; }

.style-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.style-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.style-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.style-card > p { font-size: 15.5px; color: var(--ink-2); margin: 0 0 20px; }
.style-card .holder { display: flex; justify-content: center; padding: 20px; background: var(--ground); border-radius: 16px; overflow-x: auto; }
.style-card ul { list-style: none; display: grid; gap: 9px; margin: 20px 0 0; }
.style-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.style-card li svg { color: var(--violet-text); margin-top: 4px; }

@media (max-width: 1040px) {
  .style-compare { grid-template-columns: minmax(0, 1fr); }
  .toast-stage { padding: 0 12px 60px; min-height: 460px; }
}

/* Coming-soon notice on the Notifications page */
.soon {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start;
  background: rgba(255, 179, 0, 0.07); border: 1px solid rgba(255, 179, 0, 0.32);
  border-radius: 20px; padding: 22px 26px; margin: 6px 0 30px;
}
.soon .ico {
  width: 52px; height: 52px; border-radius: 15px; background: var(--amber-tile);
  color: var(--amber); display: grid; place-items: center;
}
.soon h2 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.soon p { margin: 0; font-size: 15.5px; color: var(--ink-2); max-width: 84ch; }
.soon p + p { margin-top: 8px; }
.soon b { color: var(--ink); }
@media (max-width: 700px) { .soon { grid-template-columns: minmax(0, 1fr); } }

/* ── Trusted by — live organisation count ────────────────── */
.trusted { padding: 74px 0 10px; }
.trusted-inner {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 28px;
  background:
    radial-gradient(90% 140% at 12% 20%, rgba(142, 44, 184, 0.30) 0%, transparent 62%),
    linear-gradient(150deg, var(--surface) 0%, var(--ground-2) 100%);
  padding: 46px 52px;
  display: flex; align-items: center; gap: 44px; flex-wrap: wrap;
}
.trusted-inner .cloud.t-cloud { width: 300px; height: 150px; background: rgba(255, 255, 255, 0.05); right: -50px; bottom: -46px; }
.trusted-copy { position: relative; z-index: 2; }
.trusted h2 {
  font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; line-height: 1.02;
  margin-bottom: 10px; letter-spacing: -0.04em;
}
.trusted h2 .count { color: var(--violet-text); font-variant-numeric: tabular-nums; }
.trusted p { margin: 0; font-size: 17.5px; color: var(--ink-2); max-width: 52ch; }
.trusted-side { position: relative; z-index: 2; margin-left: auto; display: flex; gap: 34px; flex-wrap: wrap; }
.trusted-stat { display: flex; flex-direction: column; gap: 2px; }
.trusted-stat b {
  font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -0.04em;
  color: var(--amber-text); font-variant-numeric: tabular-nums; line-height: 1;
}
.trusted-stat span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

@media (max-width: 1040px) {
  .trusted-inner { padding: 34px 28px; gap: 28px; }
  .trusted-side { margin-left: 0; }
}
