/* ---- Source Serif 4, self-hosted (latin + latin-ext for Romanian diacritics) ---- */
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/assets/fonts/source-serif-4-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;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/assets/fonts/source-serif-4-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #071f2b; --ink-2: #0a303e; --paper: #f3f2f2;
  --sky: #cbeeff; --sky-mid: #99e0ff; --cy: #62c5ee; --pink: #f28cc0;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: 60px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: "Source Serif 4", Georgia, serif; font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--cy); text-decoration: none; }
a:hover { color: var(--sky-mid); text-decoration: underline; text-underline-offset: 3px; }
::selection { background: rgba(98,197,238,0.3); }
:focus-visible { outline: 2px solid var(--cy); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; }
img, svg, canvas { max-width: 100%; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cy); color: var(--ink); padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------- top-right chrome (appears when the charge completes) ------- */
#chrome {
  position: fixed; z-index: 60; top: 26px; right: var(--pad);
  display: flex; align-items: center; gap: 24px;
  opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
#chrome.on { pointer-events: auto; }
.lang { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(243,242,242,0.5); }
.lang b { color: var(--cy); }
.lang a { font-size: 12px; color: rgba(243,242,242,0.7); }
.cta {
  display: inline-block; padding: 11px 22px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--cy); color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 600;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.cta:hover {
  background: var(--sky-mid); transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(98,197,238,0.6); text-decoration: none; color: var(--ink);
}

/* ---------------- brand crown ---------------------------------------------- */
#crown {
  position: fixed; z-index: 60; left: var(--pad); top: 22px;
  display: flex; align-items: center; gap: 16px; opacity: 0; pointer-events: none;
}
#crown .mark { filter: drop-shadow(0 0 16px rgba(160,225,255,0.9)); }
#crown .wm { display: grid; gap: 4px; }
#crown .nm {
  font-size: clamp(20px, 4.4vw, 27px); font-weight: 600; letter-spacing: -0.015em; color: #fff;
  text-shadow: 0 0 22px rgba(150,220,255,0.9), 0 0 60px rgba(98,197,238,0.45);
}
#crown .sb {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(203,238,255,0.72);
}

/* ---------------- the scroll stage ------------------------------------------ */
#act { position: relative; height: 340vh; }
#stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
#plasma { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#stage::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,31,43,0.9) 0%, rgba(7,31,43,0.55) 26%, rgba(7,31,43,0) 48%);
}
.layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

#cab { position: absolute; left: var(--pad); top: 50%; width: min(470px, 36vw); transform: translateY(-50%); }
#cab .cap {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(203,238,255,0.62);
}
#cab .cap i { flex: 1; height: 1px; background: rgba(98,197,238,0.25); }
.stack { display: grid; gap: 9px; }

/* ---------------- the roster cards ------------------------------------------ */
.sol {
  position: relative; display: block; width: 100%; text-align: left; opacity: 0;
  background: none; border: 0; padding: 0; font-family: inherit; color: var(--paper);
  cursor: pointer; pointer-events: none; will-change: transform, opacity;
}
.sol .row {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 15px 20px 15px 18px; border-radius: 2px;
  border: 1px solid rgba(98,197,238,0.16); border-left: 3px solid var(--tc);
  background: linear-gradient(90deg, rgba(9,42,55,0.93), rgba(9,42,55,0.72));
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.sol .no {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--tc); opacity: 0.85; flex: none; width: 22px;
}
.sol .txt { display: grid; gap: 2px; min-width: 0; }
.sol h2 {
  font-size: clamp(18px, 2.1vw, 22px); font-weight: 600; letter-spacing: -0.022em; line-height: 1.15;
}
.sol .kd {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(203,238,255,0.64);
}
.sol .go {
  margin-left: auto; flex: none; font-size: 19px; color: var(--tc);
  opacity: 0; transform: translateX(-8px); transition: opacity .22s, transform .22s;
}
.sol:hover .row, .sol:focus-visible .row {
  background: linear-gradient(90deg, rgba(98,197,238,0.22), rgba(10,48,62,0.4));
  border-color: var(--tc);
  box-shadow: 0 0 0 1px var(--tc), 0 0 26px -4px var(--tc), inset 0 0 30px -14px var(--tc);
}
.sol:hover .go, .sol:focus-visible .go { opacity: 1; transform: none; }
.sol.live { pointer-events: auto; }
.sol.zap .row { animation: zap .42s cubic-bezier(.2,.8,.3,1); }
@keyframes zap {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.95), 0 0 42px 6px var(--tc); filter: brightness(2.4); }
  35%  { filter: brightness(1.3); }
  100% { box-shadow: none; filter: none; }
}

#hint {
  position: absolute; left: var(--pad); bottom: 40px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(243,242,242,0.6);
}
#hint i { display: block; width: 46px; height: 1px; background: linear-gradient(90deg, rgba(243,242,242,0.5), rgba(243,242,242,0)); }

/* ---------------- bottom legal strip ---------------------------------------- */
#foot {
  position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
  display: flex; gap: 22px; flex-wrap: wrap; align-items: baseline;
  padding: 14px var(--pad); font-size: 12.5px; color: rgba(243,242,242,0.6);
  background: linear-gradient(180deg, rgba(7,31,43,0), rgba(7,31,43,0.85) 55%);
  opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
#foot.on { pointer-events: auto; }
#foot a { color: rgba(243,242,242,0.82); font-size: 12.5px; }
#foot a:hover { color: var(--cy); }
#foot .sp { margin-right: auto; }
#foot .flinks { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- the pop-up sheet ------------------------------------------ */
#modal {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  padding: 40px; opacity: 0; pointer-events: none;
  background: rgba(3,15,21,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity .3s ease;
}
#modal.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: relative; width: min(1000px, 100%); max-height: 88vh; overflow-y: auto;
  padding: 52px clamp(24px, 4vw, 60px) 56px; border-radius: 3px;
  border: 1px solid rgba(98,197,238,0.28); border-top: 3px solid var(--mc, var(--cy));
  background:
    radial-gradient(1100px 460px at 88% -12%, rgba(98,197,238,0.16), transparent 62%),
    linear-gradient(180deg, #0a2b39, #071f2b 62%);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,0.85), 0 0 70px -30px var(--mc, var(--cy));
  transform: translateY(22px) scale(0.985); transition: transform .34s cubic-bezier(.2,.8,.25,1);
}
#modal.on .sheet { transform: none; }
.sheet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 3px;
  background-image: linear-gradient(rgba(203,238,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(203,238,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px; opacity: 0.5;
  mask-image: linear-gradient(180deg, #000, transparent 45%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 45%);
}
.sheet > * { position: relative; }
.mclose {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 2px;
  background: none; border: 1px solid rgba(203,238,255,0.22); color: var(--paper);
  font-size: 19px; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s;
}
.mclose:hover { background: rgba(98,197,238,0.18); border-color: var(--cy); }

.midx {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mc, var(--cy));
}
.sheet h2 {
  font-size: clamp(30px, 4.4vw, 50px); font-weight: 300; letter-spacing: -0.035em;
  line-height: 1.06; margin: 12px 0 20px; max-width: 18em; text-wrap: balance;
}
.sheet .lead { font-size: 18.5px; color: rgba(243,242,242,0.82); margin: 0 0 34px; max-width: 40em; }
.sheet h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.sheet p { margin: 0 0 14px; color: rgba(243,242,242,0.8); }
.rule {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(203,238,255,0.64); margin: 0 0 16px; padding-top: 30px;
  border-top: 1px solid rgba(203,238,255,0.14);
}
.pts { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 14px; }
.pts li { display: grid; grid-template-columns: 15px 1fr; gap: 14px; color: rgba(243,242,242,0.8); }
.pts li b { color: var(--paper); font-weight: 600; }
.pts li i { width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--mc, var(--cy)); box-shadow: 0 0 12px var(--mc, var(--cy)); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.duo img { width: 100%; height: 210px; object-fit: cover; border-radius: 2px; display: block; margin-bottom: 18px; background: #071f2b; }
.eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(203,238,255,0.55); margin: 0 0 8px; }
.steps { display: grid; gap: 30px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 22px; align-items: start; }
.step > span { font-size: 27px; font-weight: 300; color: var(--mc, var(--cy)); line-height: 1; }
.qa { border-top: 1px solid rgba(203,238,255,0.14); }
.qa details { border-bottom: 1px solid rgba(203,238,255,0.14); }
.qa summary { cursor: pointer; list-style: none; padding: 19px 44px 19px 0; position: relative; font-size: 19px; font-weight: 600; letter-spacing: -0.018em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 2px;
  background: var(--mc, var(--cy)); transition: transform .3s, opacity .3s;
}
.qa summary::before { transform: translateY(-50%) rotate(90deg); }
.qa summary::after { transform: translateY(-50%); }
.qa details[open] summary::before { transform: translateY(-50%) rotate(0); opacity: 0; }
.qa details > p { margin: 0 0 22px; max-width: 44em; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border: 1px solid rgba(203,238,255,0.2); border-radius: 2px; font-size: 15px; color: rgba(243,242,242,0.75); }

/* ---------------- the form inside the sheet --------------------------------- */
#mForm { display: grid; gap: 22px; margin-top: 18px; max-width: 46em; }
#mForm .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
#mForm input[type=text], #mForm input[type=email], #mForm textarea {
  width: 100%; padding: 13px 0; font-size: 17px; font-family: inherit; color: var(--paper);
  background: transparent; border: 0; border-bottom: 1px solid rgba(243,242,242,0.26);
  caret-color: var(--cy); resize: vertical; border-radius: 0;
}
#mForm input:focus-visible, #mForm textarea:focus-visible { outline: 0; border-bottom-color: var(--cy); }
#mForm ::placeholder { color: rgba(243,242,242,0.62); opacity: 1; }
.consent-note { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(243,242,242,0.72); max-width: 40em; }
.hp { position: absolute; left: -9999px; }
#mForm button[type=submit] { justify-self: start; padding: 15px 32px; font-size: 17px; }
#mForm button:disabled { opacity: .55; cursor: progress; transform: none; }
.note { font-size: 15px; margin: 0; min-height: 1.4em; }
.note.ok { color: var(--sky-mid); }
.note.bad { color: var(--pink); }

/* ---------------- inner pages ----------------------------------------------- */
.doc { max-width: 44em; margin: 0 auto; padding: 90px var(--pad) 110px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 300; letter-spacing: -0.035em; margin: 0 0 10px; }
.doc h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 44px 0 12px; }
.doc p, .doc li { color: rgba(243,242,242,0.8); margin: 0 0 14px; }
.doc ul { padding-left: 20px; }
.doc .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cy); margin: 0 0 26px; }
.doc .todo { border-left: 2px solid var(--pink); background: rgba(242,140,192,0.08); padding: 14px 18px; margin: 24px 0; font-size: 15px; }
.doc .back { display: inline-block; margin-top: 50px; }
.mid { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--pad); }
.mid h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 300; letter-spacing: -0.035em; margin: 0 0 18px; }
.mid p { max-width: 34em; margin: 0 auto 28px; color: rgba(243,242,242,0.72); }
.mid .cta { padding: 14px 28px; }
.mid .alt { display: block; margin-top: 26px; font-size: 15px; color: rgba(243,242,242,0.5); }

/* ---------------- tablet ---------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --pad: 34px; }
  #cab { width: min(440px, 46vw); }
  .duo { grid-template-columns: 1fr; gap: 30px; }
  .sheet { padding: 48px 28px 48px; max-height: 90vh; }
}

/* ---------------- mobile ---------------------------------------------------- */
@media (max-width: 820px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  #act { height: 300vh; }
  #stage::after { background: linear-gradient(180deg, rgba(7,31,43,0.2) 0%, rgba(7,31,43,0.7) 44%, rgba(7,31,43,0.95) 72%); }
  #crown { top: 16px; gap: 10px; }
  #crown .mark { width: 30px; height: 30px; }
  #crown .sb { font-size: 8.5px; letter-spacing: 0.1em; }
  #chrome { top: 18px; gap: 14px; }
  #chrome .cta { padding: 9px 15px; font-size: 15px; }
  #cab { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: 72px; transform: none; }
  .stack { gap: 7px; }
  .sol .row { padding: 12px 14px; gap: 12px; }
  .sol .kd { display: none; }
  #hint { bottom: 42px; font-size: 10px; }
  #foot { font-size: 11px; gap: 12px; padding: 10px var(--pad); }
  #modal { padding: 0; align-items: end; }
  .sheet {
    max-height: 92vh; width: 100%; border-radius: 3px 3px 0 0;
    border-left: 0; border-right: 0; padding: 44px 20px 40px;
  }
  #mForm .pair { grid-template-columns: 1fr; }
  .step { grid-template-columns: 34px 1fr; gap: 14px; }
  .step > span { font-size: 22px; }
  .duo img { height: 170px; }
}

/* ---------------- reduced motion -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #act { height: auto; }
  #stage { position: relative; height: auto; min-height: 100vh; padding: 130px 0 90px; }
  #stage::after { display: none; }
  .layer { position: relative; inset: auto; }
  #cab { position: relative; left: auto; top: auto; bottom: auto; transform: none; margin: 0 var(--pad); width: auto; max-width: 470px; }
  .sol { opacity: 1 !important; transform: none !important; pointer-events: auto; }
  .sol.zap .row { animation: none; }
  #crown, #chrome, #foot { opacity: 1 !important; pointer-events: auto; }
  #crown { position: relative; left: auto; top: auto; margin: 0 var(--pad) 34px; }
  #hint { display: none; }
  #modal, .sheet { transition: none; }
  #modal.on .sheet { transform: none; }
}

/* ---------------- mobile deck (option B) ------------------------------------ */
.deck-ui { display: none; }

@media (max-width: 820px) {
  /* no scroll choreography on a phone: the address bar resizes the viewport
     mid-animation and momentum scrolling flies past it. The deck is driven by
     the thumb instead, and the whole thing fits one screen. */
  #act { height: 100svh; height: 100vh; }
  #stage { position: relative; }
  #hint { display: none; }

  #cab {
    left: 0; right: 0; bottom: auto; top: auto; width: auto;
    position: absolute; bottom: 26px; padding: 0 var(--pad);
  }
  #cab .cap { justify-content: center; margin-bottom: 14px; }
  #cab .cap i { display: none; }

  .stack { position: relative; display: block; height: 168px; }
  .sol {
    position: absolute; inset: 0; opacity: 0; pointer-events: none;
    transition: transform .34s cubic-bezier(.2,.8,.25,1), opacity .28s ease;
    will-change: transform, opacity;
  }
  .sol .row {
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 8px; height: 100%; padding: 20px 22px; border-left-width: 4px;
    background: linear-gradient(150deg, rgba(11,47,62,0.97), rgba(9,38,50,0.9));
  }
  .sol .no { display: none; }
  .sol .kd { display: block; font-size: 10px; color: var(--tc); opacity: 0.95; }
  .sol h2 { font-size: 25px; line-height: 1.12; }
  .sol .go { position: absolute; right: 20px; bottom: 18px; margin: 0; opacity: 0.75; transform: none; }
  .sol.live { pointer-events: auto; }

  .deck-ui { display: grid; justify-items: center; gap: 14px; margin-top: 18px; }
  .dots { display: flex; gap: 9px; }
  .dots button {
    width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(203,238,255,0.46); cursor: pointer;
    transition: background .25s, transform .25s, box-shadow .25s;
  }
  .dots button[aria-selected="true"] {
    background: var(--dc, var(--cy)); transform: scale(1.5);
    box-shadow: 0 0 12px var(--dc, var(--cy));
  }
  .deck-ui .cta { padding: 13px 30px; font-size: 16px; }
  .swipe {
    margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
    text-transform: uppercase; color: rgba(243,242,242,0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sol { transition: none; }
}

/* ---------------- legal pages ------------------------------------------------ */
.legal-top {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 52em; margin: 0 auto; padding: 24px var(--pad);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--paper); }
.brand:hover { color: var(--paper); text-decoration: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 12px var(--cy); flex: none; }
body.legal .doc { padding-top: 30px; }
.doc .tldr {
  font-size: 19px; color: var(--paper); margin: 0 0 8px;
  border-left: 2px solid var(--cy); padding: 4px 0 4px 18px;
}
.doc .cta { margin: 4px 0; }
.doc .cta:hover { color: var(--ink); }
.doc b { color: var(--paper); }
dl.biz { display: grid; grid-template-columns: max-content 1fr; gap: 9px 24px; margin: 0; }
dl.biz dt { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; padding-top: 4px; color: rgba(203,238,255,0.72); }
dl.biz dd { margin: 0; color: rgba(243,242,242,0.9); }
.legal-foot {
  max-width: 52em; margin: 0 auto; padding: 30px var(--pad) 50px;
  border-top: 1px solid rgba(203,238,255,0.14); font-size: 14px; color: rgba(243,242,242,0.62);
}
.legal-foot a { color: rgba(243,242,242,0.86); }
.legal-foot .biz-line { font-size: 13px; margin: 8px 0 0; }

@media (max-width: 820px) {
  /* the full company line lives on the Terms page; keep the strip to one row of links */
  #foot .sp { display: none; }
  #foot { justify-content: center; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  #foot .flinks { gap: 14px; justify-content: center; }
  #cab { bottom: 52px; }
  dl.biz { grid-template-columns: 1fr; gap: 2px; }
  dl.biz dd { margin-bottom: 10px; }
}

/* ---------------- case study, partners, endorsements ------------------------ */
.case {
  margin: 18px 0 8px; padding: 22px 24px; border-radius: 2px;
  border: 1px solid rgba(203,238,255,0.16); border-left: 3px solid var(--mc, var(--cy));
  background: rgba(98,197,238,0.06);
}
.case .eyebrow { margin-bottom: 6px; }
.case h3 { margin-bottom: 8px; }
.case p:last-child { margin-bottom: 0; }
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.partners li { display: flex; }
.partners a, .partners li:not(:has(a)) {
  display: flex; align-items: center; min-height: 52px; padding: 10px 18px; border-radius: 2px;
  border: 1px solid rgba(203,238,255,0.2); color: rgba(243,242,242,0.85); font-size: 15px;
}
.partners a:hover { border-color: var(--mc, var(--cy)); text-decoration: none; color: var(--paper); }
.partners img { height: 30px; width: auto; max-width: 140px; object-fit: contain; }
.quote { margin: 0 0 18px; padding: 4px 0 4px 22px; border-left: 2px solid var(--mc, var(--cy)); }
.quote p { font-size: 19px; color: var(--paper); margin: 0 0 8px; }
.quote footer { font-size: 14px; color: rgba(243,242,242,0.72); }

/* ============================================================================
   MOBILE v2 — overrides the earlier mobile rules (later rules win).
   Desktop is untouched: everything below is either hidden on desktop or sits
   inside the max-width query.
   ========================================================================= */
.sol .tz, .sol .more, .mtag, .deck-nav { display: none; }

@media (max-width: 820px) {
  /* a solid header strip so the arcs never run behind the logo or the language switch */
  body:not(.legal)::before {
    content: ""; position: fixed; left: 0; right: 0; top: 0; height: 78px; z-index: 59;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7,31,43,0.97) 0%, rgba(7,31,43,0.8) 60%, rgba(7,31,43,0) 100%);
  }
  #crown { top: max(14px, env(safe-area-inset-top)); left: var(--pad); gap: 10px; }
  #crown .mark { width: 30px; height: 30px; }
  #crown .nm { font-size: 20px; }
  #crown .sb { display: none; }             /* moves under the orb as .mtag */

  #chrome { top: max(12px, env(safe-area-inset-top)); right: var(--pad); gap: 0; }
  #chrome .cta { display: none; }           /* contact lives at the bottom now */

  /* RO / EN as a real two-segment switch with 44px-wide targets */
  #chrome .lang {
    display: inline-flex; font-size: 0; border-radius: 999px; overflow: hidden;
    border: 1px solid rgba(203,238,255,0.4); background: rgba(7,31,43,0.7);
  }
  #chrome .lang b, #chrome .lang a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 46px; height: 36px; padding: 0 12px;
    font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  }
  #chrome .lang b { background: var(--cy); color: var(--ink); }
  #chrome .lang a { color: rgba(243,242,242,0.9); }
  #chrome .lang a:hover, #chrome .lang a:active { text-decoration: none; background: rgba(98,197,238,0.18); }

  /* THE FIX: .layer ignores pointer events so the desktop canvas never blocks
     clicks. Everything in the deck inherited that, so no tap ever landed. */
  #cab { pointer-events: auto; bottom: 58px; }
  #cab .cap { display: none; }

  .mtag {
    display: block; margin: 0 0 14px; text-align: center;
    font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(203,238,255,0.72);
  }

  /* cards at 82% width so the neighbours peek in at both edges */
  .stack { height: 176px; }
  .sol { inset: 0 9%; }
  .sol .row { justify-content: flex-start; gap: 6px; padding: 18px 20px 16px; }
  .sol .kd { font-size: 10px; }
  .sol h2 { font-size: 22px; }
  .sol .tz {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: rgba(243,242,242,0.8);
  }
  .sol .more {
    display: block; margin-top: auto; font-family: var(--mono); font-size: 11px;
    letter-spacing: .12em; text-transform: uppercase; color: var(--tc);
  }
  .sol .go { display: none; }

  .deck-ui { margin-top: 14px; gap: 12px; pointer-events: auto; }
  .deck-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
  .dn {
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: none; color: var(--paper); font-size: 30px; line-height: 1;
  }
  .dn:active { background: rgba(98,197,238,0.16); }
  .dn:disabled { opacity: 0.22; cursor: default; }
  .dots { padding: 0 8px; }
  .dots button { position: relative; width: 8px; height: 8px; }
  .dots button::after { content: ""; position: absolute; inset: -16px -5px; }   /* bigger tap area */
  .deck-ui .cta { min-width: 230px; padding: 14px 34px; font-size: 17px; }
  .swipe { display: none; }

  #foot .flinks a { display: inline-block; padding: 8px 2px; }
}

/* short phones (iPhone SE, or any phone with the browser bars showing) */
@media (max-width: 820px) and (max-height: 640px) {
  .mtag { display: none; }
  .stack { height: 134px; }
  .sol .row { padding: 14px 18px 12px; }
  .sol h2 { font-size: 20px; }
  .sol .tz { -webkit-line-clamp: 1; }
  #cab { bottom: 50px; }
  .deck-ui { margin-top: 10px; gap: 8px; }
  .deck-ui .cta { padding: 12px 30px; }
}

@media (max-width: 820px) {
  /* the desktop rule's width:100% overrides `right`, pushing the card off-screen */
  .sol { width: auto; }
  .stack { height: 164px; }
  #foot { padding: 6px var(--pad) max(8px, env(safe-area-inset-bottom)); }
  #foot .flinks { gap: 12px; row-gap: 0; }
  #foot .flinks a { font-size: 12px; padding: 7px 1px; }
}

@media (max-width: 820px) {
  /* darken only behind the deck, not over the orb */
  #stage::after {
    background: linear-gradient(180deg, rgba(7,31,43,0) 0%, rgba(7,31,43,0) 44%,
                rgba(7,31,43,0.72) 62%, rgba(7,31,43,0.92) 82%);
  }
}
