/* ==========================================================================
   Veris homepage — 01 · Hero + product tour
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); overflow-x: clip; }
.hero__title { display: flex; flex-direction: column; }
.hero__l1 { color: var(--ink); }
.hero__l2 { color: var(--mint); }
.hero__lead { margin-top: 24px; max-width: 34rem; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); }
.hero__who { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__cta > div { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__cta .btn { min-width: 230px; }
.hero__cta p { font-size: 13px; color: var(--ink-3); }
/* Home hero: two equal columns flush with the text above; each button fills its column, caption centred under it */
.hero .hero__cta { display: grid; grid-template-columns: repeat(2, 230px); gap: 14px; }
.hero .hero__cta > div { align-items: stretch; }
.hero .hero__cta .btn { min-width: 0; width: 100%; }
.hero .hero__cta p { text-align: center; text-wrap: balance; line-height: 1.45; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.has-motion [data-rise] { animation: rise 900ms var(--out) both; }
.has-motion .hero__l2 { animation-delay: 80ms; }
.has-motion .hero__lead { animation-delay: 160ms; }
.has-motion .hero__who { animation-delay: 230ms; }
.has-motion .hero__cta { animation-delay: 300ms; }

/* ---------- Stage: the window tilts up into place as you scroll to it ---------- */
.stage { position: relative; margin-top: 112px; perspective: 1800px; }
.win {
  position: relative; border-radius: var(--r-xl); background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 rgba(255,255,255,.04) inset, 0 50px 90px -40px rgba(0,0,0,.75);
  transform-origin: 50% 0%; will-change: transform;
}
.has-motion .win { transform: rotateX(var(--tilt, 0deg)) scale(var(--tscale, 1)); }

.win__bar { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.win__dots { display: flex; gap: 7px; margin-right: 10px; }
.win__dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.win__dots i:nth-child(2) { background: #FEBC2E; } .win__dots i:nth-child(3) { background: #28C840; }
.win__tab { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 10px; font: 600 13px/1 var(--f-body); color: var(--ink-2); }
.win__tab svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.win__tab.is-on { background: var(--bg-3); color: var(--ink); }
.win__sim { margin-left: auto; font: 500 11.5px/1 var(--f-mono); color: var(--ink-3); }

.win__body { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 560px; }
.pane { position: relative; min-width: 0; }
.pane--app {
  display: grid; place-items: center end; padding: 36px 40px 36px 24px; border-right: 1px solid var(--line);
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px;
  border-bottom-left-radius: 0;
}

/* ---------- Phone (flat, friendly) ---------- */
.phone {
  position: relative; width: 272px; height: 500px; border-radius: 40px; padding: 14px 14px 18px;
  background: var(--screen); color: var(--screen-ink);
  box-shadow: 0 0 0 9px #0D0E10, 0 0 0 10px #34353B, 0 30px 50px -20px rgba(0,0,0,.8);
  overflow: hidden;
}
.phone__top { display: flex; justify-content: space-between; align-items: center; padding: 10px 6px 0; font: 700 14px/1 var(--f-display); letter-spacing: -.01em; }
.phone__lock { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--screen-line); }
.phone__lock svg { width: 13px; height: 13px; fill: none; stroke: var(--screen-ink); stroke-width: 1.7; stroke-linecap: round; }
.phone__steps { display: flex; gap: 5px; margin: 14px 6px 0; }
.phone__steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--screen-line); transition: background-color 300ms; }
.phone__steps i.is-on { background: var(--screen-ink); }

.view { position: absolute; inset: 66px 20px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity 320ms var(--out), transform 520ms var(--out), visibility 0s linear 520ms; }
.view.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.view.is-past { transform: translateX(-24px); }
.view__h { margin-top: 22px; font: 700 19px/1.2 var(--f-display); letter-spacing: -.02em; }
.view__p { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--screen-mute); }

/* view 1 · scan */
.scanbox { position: relative; width: 100%; margin-top: 18px; padding: 12px; border-radius: 18px; background: #E9E6DE; }
.idc { position: relative; aspect-ratio: 1.58; border-radius: 10px; padding: 9% 8% 7%; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #EEF1EF, #DCE2DF 60%, #D2D9D5); color: #22302B; box-shadow: 0 8px 18px -10px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.05); transform: rotate(-3deg) scale(.96); transition: transform 600ms var(--spring); }
.view.is-on .idc { transform: none; transition-delay: 200ms; }
.idc__hd { display: flex; justify-content: space-between; align-items: center; font: 800 7.5px/1 var(--f-display); letter-spacing: .06em; }
.idc__hd em { font: 700 6.5px/1 var(--f-mono); font-style: normal; color: #55605B; border: 1px solid currentColor; padding: 2px 3px; border-radius: 3px; }
.idc__bd { display: flex; align-items: center; gap: 9%; }
.idc__ph { width: 31%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; border-radius: 5px; }
.idc__ln { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.idc__ln i { font: 600 8.5px/1.25 var(--f-mono); font-style: normal; padding: 1px 4px; margin-left: -4px; border-radius: 4px; transition: background-color 200ms, color 200ms, transform 300ms var(--spring); }
.idc__ln i.is-hit { background: var(--screen-ink); color: var(--mint); transform: scale(1.06); }
.idc__ft { display: flex; gap: 6px; }
.idc__ft i { height: 3px; flex: 1; border-radius: 2px; background: rgba(34,48,43,.16); }
.idc__ft i:last-child { flex: .45; }
.scanbox__line { position: absolute; left: 10px; right: 10px; top: 12px; height: 3px; border-radius: 3px; background: #0A8F75; box-shadow: 0 0 0 1px rgba(255,255,255,.6); opacity: 0; }
.view.is-scanning .scanbox__line { animation: scanline 1.4s var(--inout) 1 forwards; }
@keyframes scanline { 0% { opacity: 1; transform: translateY(0); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateY(132px); } }
.cnr { position: absolute; width: 18px; height: 18px; border: 0 solid var(--screen-ink); }
.cnr:nth-of-type(2) { left: 4px; top: 4px; border-width: 3px 0 0 3px; border-top-left-radius: 9px; }
.cnr:nth-of-type(3) { right: 4px; top: 4px; border-width: 3px 3px 0 0; border-top-right-radius: 9px; }
.cnr:nth-of-type(4) { right: 4px; bottom: 4px; border-width: 0 3px 3px 0; border-bottom-right-radius: 9px; }
.cnr:nth-of-type(5) { left: 4px; bottom: 4px; border-width: 0 0 3px 3px; border-bottom-left-radius: 9px; }

/* view 2 · capture */
.oval { position: relative; width: 176px; height: 220px; margin-top: 14px; }

/* view 3 · verifying */
.spin { position: relative; width: 84px; height: 84px; margin-top: 70px; }
.spin svg { width: 100%; height: 100%; fill: none; stroke-width: 5; stroke-linecap: round; }
.spin circle { stroke: var(--screen-line); }
.spin path { stroke: #0A8F75; transform-origin: 50% 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin__ok { position: absolute; inset: 0; padding: 18px; border-radius: 50%; background: var(--mint); stroke: var(--mint-ink) !important; stroke-width: 3 !important; opacity: 0; transform: scale(.5); transition: opacity 200ms, transform 450ms var(--spring); }
.view.is-done .spin__ok { opacity: 1; transform: none; }

/* view 4 · compare */
.pair { display: flex; align-items: center; gap: 10px; margin-top: 34px; }
.pair > div { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform 600ms var(--spring); }
.pair img { width: 82px; height: 100px; object-fit: cover; object-position: center 30%; border-radius: 14px; }
.pair small { font: 600 11px/1 var(--f-body); color: var(--screen-mute); }
.pair__vs svg { width: 22px; height: 22px; fill: none; stroke: var(--screen-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.view.is-matching .pair > div:first-child { transform: translateX(10px) rotate(-3deg); }
.view.is-matching .pair > div:last-child { transform: translateX(-10px) rotate(3deg); }
.meter { position: relative; width: 100%; height: 10px; margin-top: 28px; border-radius: 10px; background: var(--screen-line); }
.meter b { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 10px; background: #0A8F75; transition: width 1.4s var(--out); }
.meter i { position: absolute; top: -5px; bottom: -5px; width: 3px; border-radius: 3px; background: var(--screen-ink); }

/* view 5 · done */
.yay { width: 96px; height: 96px; margin-top: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); box-shadow: 0 6px 0 var(--mint-lip); transform: scale(.4) rotate(-20deg); transition: transform 700ms var(--spring); }
.view.is-on .yay { transform: none; }
.yay svg, .spin__ok { fill: none; stroke: var(--mint-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.yay svg { width: 44px; }
.yay__btn { margin-top: auto; width: 100%; pointer-events: none; }

/* ---------- Backend pane ---------- */
.pane--api { display: flex; flex-direction: column; padding: 18px 20px 20px; gap: 14px; }
.api__hd { display: flex; align-items: center; justify-content: space-between; font: 500 12.5px/1 var(--f-mono); color: var(--ink-2); }
.api__live { display: inline-flex; align-items: center; gap: 7px; font: 500 11.5px/1 var(--f-mono); color: var(--ink-3); }
.api__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: dot-pulse 2s ease-in-out infinite; }
.log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-height: 172px; }
.log li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-3); font: 500 12.5px/1.35 var(--f-mono); animation: logIn 500ms var(--spring) both; }
.log li .t { font: 700 10.5px/1 var(--f-mono); padding: 4px 6px; border-radius: 6px; }
.log li .m { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log li .s { color: var(--ink-2); font-size: 11px; white-space: nowrap; }
.log li .t { background: var(--bg-4); color: var(--ink-2); }
.log li:last-child .t { background: rgba(46,255,213,.12); color: var(--mint); }
@keyframes logIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.code { flex: 1; display: flex; flex-direction: column; border-radius: var(--r-md); background: #0B1C17; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.code__hd { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font: 600 12px/1 var(--f-mono); }
.code__src { color: var(--ink-3); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.code pre { margin: 0; padding: 14px; font: 400 12.5px/1.7 var(--f-mono); color: var(--ink-2); white-space: pre; overflow: hidden; }
.code pre .k { color: #9EEFDD; } .code pre .v { color: var(--ink); } .code pre .n { color: #7FE9D3; } .code pre .c { color: var(--ink-3); }
.code pre .kw { color: var(--ink-2); } .code pre .fn { color: var(--mint); }
.code pre .ln { display: block; animation: lnIn 360ms var(--out) both; }
@keyframes lnIn { from { opacity: 0; transform: translateX(-6px); } }

/* ---------- Coach mark ---------- */
.tip {
  position: absolute; z-index: 5; left: 22px; top: 44px; width: 236px; padding: 18px 18px 16px; border-radius: var(--r-lg);
  background: var(--offwhite); color: var(--inkblack); box-shadow: 0 5px 0 rgba(0,0,0,.45), 0 30px 60px -20px rgba(0,0,0,.7);
  transition: opacity 250ms;
}
.tip::before { content: ""; position: absolute; width: 16px; height: 16px; background: var(--offwhite); border-radius: 3px; transform: rotate(45deg); }
.tip[data-side="left"]::before  { left: -6px; top: 32px; }
.tip[data-side="right"]::before { right: -6px; top: 32px; }
.tip__n { font: 600 11.5px/1 var(--f-mono); color: var(--sage); }
.tip__n span { color: var(--inkblack); }
.tip__h { margin-top: 8px; font: 700 20px/1.15 var(--f-display); letter-spacing: -.02em; }
.tip__p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #3B4842; }
.tip__ft { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.tip__skip { border: 0; background: none; padding: 6px 0; font: 600 13px/1 var(--f-body); color: var(--sage); cursor: pointer; }
.tip__skip:hover { color: var(--inkblack); }
.tip.is-hidden { display: none; }

/* Without JavaScript: show the first screen, hide the tour controls */
html:not(.js) .view[data-view="1"] { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .tip, html:not(.js) .dock, html:not(.js) .pane--api { display: none; }
html:not(.js) .win__body { grid-template-columns: 1fr; }

/* ---------- Dock ---------- */
.dock { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.dock::-webkit-scrollbar { display: none; }
.dock__s {
  flex: 1 0 auto; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 14px 0 8px; border-radius: 16px;
  border: 1.5px dashed var(--line-2); background: transparent; font: 650 13.5px/1 var(--f-body); color: var(--ink-2); cursor: pointer; white-space: nowrap;
  transition: background-color 200ms, border-color 200ms, color 200ms, transform 220ms var(--spring);
}
.dock__s:hover { color: var(--ink); border-color: var(--ink-3); }
.dock__s:active { transform: scale(.96); }
.dock__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-3); color: var(--ink-2); transition: background-color 200ms, color 200ms, transform 400ms var(--spring); }
.dock__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dock__s.is-done .dock__ic, .dock__s[aria-current="step"] .dock__ic { color: var(--ink-c); background: var(--bg-c); }
.dock__ic { --bg-c: var(--mint); --ink-c: var(--mint-ink); }
.dock__s.is-done .dock__ic { --bg-c: rgba(46,255,213,.12); --ink-c: var(--mint); }
.dock__s[aria-current="step"] { border-style: solid; border-color: transparent; background: var(--bg-3); color: var(--ink); }
.dock__s[aria-current="step"] .dock__ic { transform: rotate(-6deg) scale(1.06); }
.dock__count { padding: 0 8px 0 6px; font: 600 13px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; }
.dock__count b { color: var(--ink); font-weight: 600; }
.dock__replay { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--bg-3); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: transform 400ms var(--spring), color 150ms; }
.dock__replay svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hand-drawn notes ---------- */
.note { position: absolute; top: -66px; z-index: 2; color: var(--ink-2); font-size: 23px; line-height: 1; pointer-events: none; transform: rotate(-4deg); }
.note svg { position: absolute; width: 80px; height: 62px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note--l { left: calc(var(--gutter) + 8%); }
.note--l svg { left: 100%; top: 14px; }
.note--r { right: calc(var(--gutter) + 6%); text-align: right; transform: rotate(3deg); }
.note--r svg { right: 100%; top: 14px; }

.next { padding-block: 120px; }
.next p { font: 400 12.5px/1.6 var(--f-mono); color: var(--ink-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .note { display: none; }
  .win__body { grid-template-columns: 1fr; }
  .pane--app { border-right: 0; border-bottom: 1px solid var(--line); place-items: center; padding: 32px 16px; }
  .tip { position: relative; left: auto !important; top: auto !important; width: auto; margin: 0 16px 16px; order: -1; }
  .tip::before { display: none; }
  .win__body { display: flex; flex-direction: column; }
  .pane--app { order: 1; } .pane--api { order: 2; }
  .tip { order: 0; margin-top: 16px; }
}
@media (max-width: 600px) {
  .hero__cta > div { width: 100%; }
  .hero__cta .btn { width: 100%; min-width: 0; }
  .hero .hero__cta { grid-template-columns: 1fr; }
  .hero__who { gap: 8px; }
  .chip { height: 32px; padding: 0 12px; font-size: 13.5px; }
  .stage { margin-top: 48px; padding-inline: 10px; }
  .win { border-radius: 22px; }
  .win__tab:not(.is-on), .win__sim { display: none; }
  .win__bar::after { content: "illustrative"; margin-left: auto; font: 500 10.5px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; }
  .log { min-height: 0; }
  .hero__cta p { text-align: center; }
  .phone { width: 248px; height: 470px; }
  .pane--app { padding: 28px 12px; }
  .pane--api { padding: 14px; }
  .log li { font-size: 11.5px; }
  .code pre { font-size: 11px; }
  .dock__s { height: 48px; font-size: 12.5px; }
}

/* ==========================================================================
   02 · The platform — solid product cards that press in and reveal notes
   ========================================================================== */
.plat { padding-block: clamp(96px, 12vw, 160px) 40px; }
.plat__hd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.plat__hd .title span { color: var(--ink-3); }
.plat__lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 30rem; }
.plat__fine { margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.plat__fine a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card--capture  { grid-column: span 7; }
.card--scan     { grid-column: span 5; }
.card--compare  { grid-column: span 5; }
.card--together { grid-column: span 7; }

.card {
  --c: var(--bg-2); --k: var(--ink);
  position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 28px;
  border-radius: var(--r-xl); background: var(--c); color: var(--k); text-decoration: none; overflow: hidden;
  transition: transform 320ms var(--out), box-shadow 320ms var(--out);
}
a.card:active { transform: scale(.95); }
/* Light product card (Soft Off-White). Mint is kept for accents, never for a whole surface */
.card--light { --c: var(--offwhite); --k: var(--inkblack); }
.card--light .card__p { color: var(--sage); }
.card--light .card__kind { color: var(--sage); }
.card--palemint { --c: var(--palemint); --k: var(--inkblack); }
.card--palemint .card__p { color: var(--sage); }
.card--forest { --c: var(--forest); --k: var(--offwhite); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.card--forest .card__p { color: var(--ink-2); }
.card--line  { --c: transparent;  --k: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.card--line .card__p { color: var(--ink-2); }
.card__kind { align-self: flex-end; font: 700 15px/1 var(--f-display); letter-spacing: -.01em; }
.card__art { position: relative; flex: 1; display: grid; place-items: center; min-height: 260px; margin: 8px 0 20px; }
.card__bd { position: relative; }
.card__name { font: 700 clamp(28px, 2.6vw, 34px)/1.05 var(--f-display); letter-spacing: -.03em; }
.card__p { margin-top: 10px; max-width: 30rem; font-size: 16px; line-height: 1.55; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.tags li { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: var(--rf); border: 1.5px solid currentColor; font: 650 12px/1 var(--f-body); letter-spacing: .02em; text-transform: uppercase; }
.card__go { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 700 15px/1 var(--f-display); }
.card__go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--spring); }

/* Hand-drawn notes, hidden until hover (always shown on touch, see below) */
.card__note { position: absolute; inset: 0 0 auto 0; height: 360px; pointer-events: none; opacity: 0; transition: opacity 280ms var(--out); }
.card__note svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.card__note path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.card__note .hand { position: absolute; font-size: 22px; line-height: 1.02; }
.card__note .n1 { left: 28px; top: 64px; transform: rotate(-4deg); }
.card__note .n2 { right: 28px; top: 268px; text-align: right; transform: rotate(3deg); }
.card--scan .card__note .n2 { right: auto; left: 24px; top: 272px; text-align: left; transform: rotate(-3deg); }

@media (hover: hover) and (pointer: fine) {
  a.card:hover { transform: scale(.97); }
  a.card:active { transform: scale(.95); }
  a.card:hover .card__note { opacity: 1; }
  a.card:hover .card__note path { stroke-dashoffset: 0; transition: stroke-dashoffset 600ms var(--out) 80ms; }
  a.card:hover .card__note .d1h, a.card:hover .card__note .d2h { transition-delay: 420ms; transition-duration: 260ms; }
  a.card:hover .card__go svg { transform: translateX(5px); }
}
/* Touch: no hover. The notes leave the overlay and sit around the illustration, as on desktop:
   the first above it pointing down, the second below it pointing up (arrows drawn in CSS) */
@media (hover: none) {
  .card__note { display: contents; }
  .card__note svg { display: none; }
  .card__note br { display: none; }
  .card__kind { order: 0; } .card__note .n1 { order: 1; } .card__art { order: 2; } .card__note .n2 { order: 3; } .card__bd { order: 4; } .card__go { order: 5; }
  .card__note .hand, .card--scan .card__note .n2 { position: relative; inset: auto; transform: none; font-size: 19px; max-width: calc(100% - 52px); }
  .card__note .n1 { align-self: flex-start; margin: 10px 0 0; text-align: left; transform: rotate(-2deg); }
  .card__note .n2, .card--scan .card__note .n2 { align-self: flex-end; margin: 26px 0 20px; text-align: right; transform: rotate(-2deg); }
  .card__note .hand::after { content: ""; position: absolute; width: 40px; height: 34px; background: currentColor; }
  .card__note .n1::after { left: calc(100% + 2px); top: 40%; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M33 3c-1 13-9 22-26 26'/%3E%3Cpath d='M16 30.5L7 29l3.5-8.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M33 3c-1 13-9 22-26 26'/%3E%3Cpath d='M16 30.5L7 29l3.5-8.5'/%3E%3C/svg%3E") center / contain no-repeat; }
  .card__note .n2::after { right: calc(100% + 2px); bottom: 40%; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 31c1-12 10-21 27-24'/%3E%3Cpath d='M24 2.5l8.5 4.5-5.5 8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 31c1-12 10-21 27-24'/%3E%3Cpath d='M24 2.5l8.5 4.5-5.5 8'/%3E%3C/svg%3E") center / contain no-repeat; scale: -1 1; }
  .card__art { margin-top: 0; }
}

/* Capture art */
.cap { position: relative; width: 190px; height: 232px; transition: transform 500ms var(--spring); }
.cap__ticks { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); overflow: visible; }
.cap__ticks line { stroke: var(--mint-lip); stroke-width: 4; stroke-linecap: round; }
.cap__face { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 50%; object-fit: cover; object-position: center 32%; box-shadow: 0 0 0 4px var(--inkblack); }
.cap__ok { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 13px; border-radius: var(--rf); background: var(--inkblack); color: var(--mint); font: 700 12.5px/1 var(--f-body); transition: transform 500ms var(--spring); }
.cap__ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.cap__sig { position: absolute; right: -78px; top: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 7px 8px; border-radius: 12px; background: #fff; color: var(--mint-ink); box-shadow: 0 4px 0 rgba(0,58,48,.25); font: 700 12.5px/1 var(--f-body); transform: rotate(6deg); transition: transform 500ms var(--spring); }
.cap__sig svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) {
  a.card:hover .cap__ok { transform: translateX(-50%) translateY(-4px) scale(1.06); }
  a.card:hover .cap__sig { transform: rotate(-4deg) translateY(-6px); }
}

/* Scan art */
.docs { position: relative; width: 300px; height: 220px; }
.doc { position: absolute; left: 40px; top: 30px; width: 200px; height: 126px; padding: 12px 14px; border-radius: 12px; background: #FFFFFF; color: #22302B; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 24px -12px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 6px; transition: transform 520ms var(--spring); }
.doc b { font: 800 9px/1 var(--f-display); letter-spacing: .08em; }
.doc > i { display: block; height: 5px; border-radius: 3px; background: rgba(34,48,43,.12); }
.doc > i:nth-of-type(2) { width: 70%; } .doc > i:nth-of-type(3) { width: 45%; }
.doc em { margin-top: auto; align-self: flex-start; font: 700 7px/1 var(--f-mono); font-style: normal; color: #55605B; border: 1px solid currentColor; padding: 2px 4px; border-radius: 3px; }
.doc--c { transform: rotate(-12deg) translate(-26px, -6px); background: #E4E8E6; }
.doc--b { transform: rotate(7deg) translate(30px, -14px); background: #EDF0EE; }
.doc--a { transform: rotate(-2deg) translate(4px, 22px); }
.doc__row { display: flex; gap: 10px; align-items: center; }
.doc__row img { width: 46px; height: 58px; object-fit: cover; object-position: center 30%; border-radius: 6px; flex: none; }
.doc__row span { display: flex; flex-direction: column; gap: 4px; }
.doc__row i { font: 600 9.5px/1.2 var(--f-mono); font-style: normal; padding: 1px 4px; margin-left: -4px; border-radius: 4px; }
.doc__row i.hl { background: var(--paper-ink); color: var(--mint); }
.docs__json { position: absolute; right: -6px; bottom: -6px; padding: 10px 12px; border-radius: 12px; background: var(--paper-ink); color: var(--ink-2); font: 500 10.5px/1.5 var(--f-mono); box-shadow: 0 4px 0 rgba(0,0,0,.2); transform: rotate(3deg); transition: transform 500ms var(--spring); }
.docs__json span { display: block; color: var(--mint); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  a.card:hover .doc--c { transform: rotate(-18deg) translate(-56px, -10px); }
  a.card:hover .doc--b { transform: rotate(12deg) translate(60px, -22px); }
  a.card:hover .doc--a { transform: rotate(0deg) translate(4px, 16px) scale(1.04); }
  a.card:hover .docs__json { transform: rotate(-2deg) translateY(-6px); }
}

/* Compare art */
.venn { position: relative; width: 280px; height: 200px; }
.venn > span:not(.venn__score) { position: absolute; top: 10px; width: 160px; height: 160px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1.5px var(--line-2), 0 20px 40px -20px rgba(0,0,0,.7); transition: transform 520ms var(--spring); }
.venn img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.venn__a { left: 0; transform: rotate(-4deg); }

.venn__b { right: 0; transform: rotate(4deg); }
.venn__score { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; padding: 10px 16px 9px; border-radius: 16px; background: var(--bg); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 10.5px/1 var(--f-mono); letter-spacing: .04em; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.venn__score b { font: 700 28px/1 var(--f-display); color: var(--mint); letter-spacing: -.03em; margin-bottom: 4px; }
@media (hover: hover) and (pointer: fine) {
  a.card:hover .venn__a { transform: translateX(22px) rotate(0); }
  a.card:hover .venn__b { transform: translateX(-22px) rotate(0); }
}

/* Touch: there is no hover, so the card scrolled to the middle of the screen plays the same moment
   (home.js adds .is-focus). The notes stay in the flow and light up with it. */
@media (hover: none) {
  .has-motion a.card { transition: transform 500ms var(--out), box-shadow 320ms var(--out); }
  .has-motion a.card.is-focus { transform: scale(.98); }
  .has-motion .card__note .hand { opacity: .35; translate: 0 6px; transition: opacity 400ms var(--out), translate 500ms var(--out); }
  .has-motion a.card.is-focus .card__note .hand { opacity: 1; translate: none; }
  .has-motion a.card.is-focus .card__note .n2 { transition-delay: 120ms; }
  a.card.is-focus .card__go svg { transform: translateX(5px); }
  /* the arrows draw in from the note towards the illustration */
  .has-motion .card__note .n1::after { clip-path: inset(0 0 100% 0); transition: clip-path 560ms var(--out) 160ms; }
  .has-motion .card__note .n2::after { clip-path: inset(100% 0 0 0); transition: clip-path 560ms var(--out) 340ms; }
  .has-motion a.card.is-focus .card__note .hand::after { clip-path: inset(0); }
  a.card.is-focus .cap__ok { transform: translateX(-50%) translateY(-4px) scale(1.06); }
  a.card.is-focus .cap__sig { transform: rotate(-4deg) translateY(-6px); }
  a.card.is-focus .doc--c { transform: rotate(-18deg) translate(-56px, -10px); }
  a.card.is-focus .doc--b { transform: rotate(12deg) translate(60px, -22px); }
  a.card.is-focus .doc--a { transform: rotate(0deg) translate(4px, 16px) scale(1.04); }
  a.card.is-focus .docs__json { transform: rotate(-2deg) translateY(-6px); }
  a.card.is-focus .venn__a { transform: translateX(22px) rotate(0); }
  a.card.is-focus .venn__b { transform: translateX(-22px) rotate(0); }
}

/* Together card */
.card--together { min-height: 0; }
.card--together .card__kind { color: var(--ink-3); font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.flow { display: flex; align-items: center; gap: 0; margin: 28px 0 32px; }
.flow__n { flex: none; height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: var(--rf); font: 700 16px/1 var(--f-display); letter-spacing: -.01em; }
.flow__n { background: var(--bg-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 4px 0 rgba(0,0,0,.4); }

.flow__n--key { background: var(--mint); color: var(--mint-ink); box-shadow: 0 4px 0 var(--mint-lip); }
.flow__l { position: relative; flex: 1; height: 2px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flowR 1.2s linear infinite; }
.flow__l::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--ink-3); border-right: 0; }
.flow__l--r { animation-name: flowL; }
.flow__l--r::after { right: auto; left: -2px; border-left: 0; border-right: 7px solid var(--ink-3); }
.flow__l em { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); font: 600 19px/1 var(--f-hand); font-style: normal; color: var(--ink-2); white-space: nowrap; }
@keyframes flowR { to { background-position: 24px 0; } }
@keyframes flowL { to { background-position: -24px 0; } }
.snip { margin: 24px 0 0; padding: 16px 18px; border-radius: var(--r-md); background: #121315; box-shadow: inset 0 0 0 1px var(--line); font: 400 12.5px/1.7 var(--f-mono); color: var(--ink-2); white-space: pre; overflow-x: auto; }
.snip { scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent; }
.snip .c { color: var(--ink-3); } .snip .kw { color: var(--ink-2); } .snip .fn { color: var(--mint); } .snip .v { color: var(--mint); }

@media (max-width: 1020px) {
  .plat__hd { grid-template-columns: 1fr; }
  .card--capture, .card--scan, .card--compare, .card--together { grid-column: span 12; }
  .card { min-height: 520px; }
  .card--together { min-height: 0; }
}
@media (max-width: 600px) {
  .bento { gap: 14px; }
  .card { padding: 22px; min-height: 0; border-radius: 22px; }
  .card__art { min-height: 250px; transform: scale(.9); }
  .cap__sig { right: -58px; }
  .flow__n { height: 38px; padding: 0 12px; font-size: 14px; }
  .flow__l { margin: 0 6px; }
  .flow__l em { display: none; }
  .snip { font-size: 11px; }
}

/* Keyboard focus reveals the same notes as hover */
a.card:focus-visible { outline-offset: 4px; border-radius: var(--r-xl); }
a.card:focus-visible .card__note { opacity: 1; }
a.card:focus-visible .card__note path { stroke-dashoffset: 0; transition: stroke-dashoffset 600ms var(--out) 80ms; }

/* ID-photo treatment: the same portrait, printed on a card */
.ph-print { filter: grayscale(.45) contrast(1.06) brightness(1.03) sepia(.06); }

/* ---------- Capture screen, modelled on the real Veris Capture UI ---------- */
.view--cap { inset: 64px 14px 14px; }
.cap2__pill { position: relative; z-index: 3; margin-top: 10px; margin-bottom: -18px; padding: 11px 18px; border-radius: 14px; background: var(--inkblack); color: #fff; font: 700 13.5px/1 var(--f-body); box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); transition: background-color 300ms, color 300ms; }
.view.is-passed .cap2__pill { background: var(--mint); color: var(--inkblack); }
.cap2 { position: relative; width: 196px; height: 246px; flex: none; }
.cap2__img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); border-radius: 50%; object-fit: cover; object-position: center 35%; }
.cap2__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cap2__trk, .cap2__prog { fill: none; stroke-width: 5; }
.cap2__trk { stroke: var(--hairline); }
.cap2__prog { stroke: #0A8F75; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.view.is-capturing .cap2__prog { transition: stroke-dashoffset 1.7s var(--inout); stroke-dashoffset: 0; }
.cap2__ok { position: absolute; right: 4px; bottom: 24px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); box-shadow: 0 0 0 4px var(--offwhite); opacity: 0; transform: scale(.5); transition: opacity 200ms var(--out), transform 420ms var(--spring); }
.view.is-passed .cap2__ok { opacity: 1; transform: none; }
.cap2__ok svg { width: 18px; fill: none; stroke: var(--inkblack); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cap2__ft { margin-top: auto; width: 100%; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
.cap2__spk { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 10px rgba(23,33,29,.10); }
.cap2__spk svg { width: 18px; fill: none; stroke: var(--inkblack); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cap2__by { justify-self: center; display: inline-flex; align-items: center; gap: 4px; font: 500 11.5px/1 var(--f-body); color: var(--sage); }
.cap2__by b { font: 800 13px/1 'Outfit', sans-serif; letter-spacing: -.03em; color: var(--inkblack); }
.cap2__by i { width: 5px; height: 5px; border-radius: 50%; background: #0A8F75; }

/* ==========================================================================
   Shared section header
   ========================================================================== */
.sec-hd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.sec-hd .title span { color: var(--ink-3); }
.sec-hd__lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 30rem; }
.pc { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; margin-right: 6px; border-radius: var(--rf); background: rgba(46,255,213,.12); color: var(--mint); font: 650 12px/1 var(--f-body); white-space: nowrap; }

/* ==========================================================================
   03 · Use cases — photographic persona bento; each card opens its case file in a dialog
   ========================================================================== */
.uses { padding-block: clamp(96px, 12vw, 160px) 0; }
.pgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.pcard--7 { grid-column: span 7; }
.pcard--5 { grid-column: span 5; }
.pcard {
  position: relative; height: 560px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: var(--bg-2); color: var(--offwhite);
  transition: transform 600ms var(--out), box-shadow 300ms var(--out);
}
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--out); }
.pcard--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16,37,31,0) 38%, rgba(16,37,31,.45) 62%, rgba(16,37,31,.9) 100%); }
#pc-3 .pcard__img { object-position: 30% 50%; }
#pc-2 .pcard__img { object-position: 40% 30%; }

.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 32px 26px; }
.pcard__k { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(247,250,248,.78); }
.pcard__t { margin-top: 12px; max-width: 17ch; font: 700 clamp(26px, 2.5vw, 36px)/1.06 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.pcard__ft { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(247,250,248,.2); }
.pcard__uses { font: 500 13px/1.3 var(--f-body); color: rgba(247,250,248,.82); }
.pcard__more { display: inline-flex; align-items: center; gap: 12px; flex: none; font: 600 14px/1 var(--f-body); }
.pcard__plus { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--offwhite); transition: transform 400ms var(--spring), background-color 200ms; }
.pcard__plus i { position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--inkblack); }
.pcard__plus i + i { transform: rotate(90deg); }
.pcard.is-open .pcard__plus { transform: rotate(45deg); background: var(--mint); }

.pcard__hit { position: absolute; inset: 0; z-index: 3; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.pcard__hit:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* Product moment: a small glass result that slides in on hover */
.pcard__moment { position: absolute; top: 24px; right: 24px; z-index: 2; opacity: 0; transform: translateY(-10px) scale(.97); transition: opacity 350ms var(--out), transform 600ms var(--spring); }
.mo { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(247,250,248,.94); color: var(--inkblack); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 48px -20px rgba(0,0,0,.65); }
.mo img { width: 42px; height: 50px; object-fit: cover; object-position: center 30%; border-radius: 12px; }
.mo b { display: block; font: 700 14.5px/1.2 var(--f-display); letter-spacing: -.01em; }
.mo small { display: block; margin-top: 3px; font: 500 12px/1.2 var(--f-body); color: var(--sage); }
.mo > i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); }
.mo svg { width: 14px; fill: none; stroke: var(--inkblack); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mo__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--inkblack); }
.mo__ic svg { width: 18px; stroke: var(--mint); stroke-width: 2.2; }
.mo--code { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 16px; background: rgba(11,28,23,.92); color: #9EEFDD; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 24px 48px -20px rgba(0,0,0,.65); }
.mo--code code { font: 500 13px/1 var(--f-mono); }
.mo--code small { font: 500 12px/1 var(--f-mono); color: var(--mint); margin: 0; }

@media (hover: hover) and (pointer: fine) {
  .pcard:hover { transform: scale(.985); }
  .pcard:hover .pcard__img { transform: scale(1.06); }
  .pcard:hover .pcard__moment, .pcard.is-open .pcard__moment { opacity: 1; transform: none; }
  .pcard:hover .pcard__plus { transform: scale(1.1); }
  .pcard.is-open:hover .pcard__plus { transform: rotate(45deg) scale(1.1); }
}
@media (hover: none) { .pcard__moment { opacity: 1; transform: none; } }
.pcard.is-open { box-shadow: 0 0 0 2px var(--mint); }

/* Designed cards (no photo) */
.pcard--made .pcard__art { position: absolute; inset: 0 0 auto 0; height: 62%; display: grid; place-items: center; }
.pcard--mint-pale { background: var(--palemint); color: var(--inkblack); }
.pcard--mint-pale .pcard__k, .pcard--mint-pale .pcard__uses { color: var(--sage); }
.pcard--mint-pale .pcard__ft { border-top-color: var(--hairline); }
.pcard--mint-pale .pcard__plus { background: var(--inkblack); }
.pcard--mint-pale .pcard__plus i { background: var(--offwhite); }
.pcard--forest { background: radial-gradient(120% 90% at 80% 0%, #1B3A33, var(--forest) 60%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }

/* Nigeria: fanned specimen documents */
.mk-docs { position: relative; width: 380px; height: 230px; }
.mk-doc { position: absolute; left: 70px; top: 30px; width: 236px; height: 148px; padding: 14px 16px; border-radius: 14px; display: flex; flex-direction: column; gap: 7px; background: #fff; color: var(--inkblack); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 34px -16px rgba(16,37,31,.35); transition: transform 700ms var(--spring); }
.mk-doc b { font: 800 9.5px/1 var(--f-display); letter-spacing: .08em; }
.mk-doc > i { height: 6px; border-radius: 3px; background: rgba(23,33,29,.1); }
.mk-doc > i:nth-of-type(2) { width: 62%; }
.mk-doc em { margin-top: auto; align-self: flex-start; padding: 2px 5px; border-radius: 3px; border: 1px solid currentColor; color: #55605B; font: 700 7.5px/1 var(--f-mono); font-style: normal; }
.mk-doc--3 { transform: rotate(-11deg) translate(-40px, -6px); background: #E3EAE6; }
.mk-doc--2 { transform: rotate(8deg) translate(44px, -14px); background: #EFF4F1; }
.mk-doc--1 { transform: rotate(-2deg) translate(0, 22px); }
.mk-doc__r { display: flex; gap: 12px; align-items: center; }
.mk-doc__r img { width: 52px; height: 66px; object-fit: cover; object-position: center 30%; border-radius: 7px; }
.mk-doc__r span { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mk-doc__r i { height: 7px; border-radius: 3px; background: rgba(23,33,29,.12); }
.mk-doc__r i.hl { background: var(--inkblack); width: 70%; }
.mk-doc__r i.hl + i.hl { width: 55%; }
.mk-json { position: absolute; right: 0; bottom: 0; padding: 11px 14px; border-radius: 14px; background: var(--inkblack); color: var(--ink-2); font: 500 11.5px/1.5 var(--f-mono); box-shadow: 0 16px 32px -16px rgba(0,0,0,.6); transform: rotate(3deg); transition: transform 600ms var(--spring); }
.mk-json b { display: block; font-weight: 600; color: var(--mint); }

/* Startups: adoption steps */
.mk-steps { list-style: none; margin: 0; padding: 0; width: min(320px, 80%); display: flex; flex-direction: column; gap: 10px; position: relative; }
.mk-steps::before { content: ""; position: absolute; left: 15px; top: 22px; bottom: 22px; width: 2px; background: repeating-linear-gradient(180deg, var(--ink-3) 0 5px, transparent 5px 10px); }
.mk-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 12px 16px 12px 40px; border-radius: 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); transition: transform 500ms var(--spring), background-color 300ms; }
.mk-steps li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--forest); box-shadow: inset 0 0 0 2px var(--ink-3); }
.mk-steps li.is-on { background: var(--offwhite); color: var(--inkblack); box-shadow: none; }
.mk-steps li.is-on::before { background: var(--mint); box-shadow: 0 0 0 4px rgba(46,255,213,.2); }
.mk-steps span { grid-column: 1 / -1; font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mk-steps li.is-on span { color: var(--sage); }
.mk-steps b { margin-top: 6px; font: 700 17px/1.1 var(--f-display); letter-spacing: -.01em; }
.mk-steps small { margin-top: 6px; align-self: end; font-size: 13px; color: var(--ink-2); text-align: right; }
.mk-steps li.is-on small { color: var(--sage); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .mk-doc--3 { transform: rotate(-17deg) translate(-70px, -10px); }
  .pcard:hover .mk-doc--2 { transform: rotate(13deg) translate(74px, -22px); }
  .pcard:hover .mk-doc--1 { transform: rotate(0) translate(0, 14px) scale(1.04); }
  .pcard:hover .mk-json { transform: rotate(-2deg) translateY(-6px); }
  .pcard:hover .mk-steps li:nth-child(2) { transform: translateX(8px); }
  .pcard:hover .mk-steps li:nth-child(3) { transform: translateX(16px); }
}

.uses__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font: 600 14.5px/1 var(--f-body); color: var(--mint); text-decoration: none; }
.uses__all svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--spring); }

/* ==========================================================================
   Use case dialog: the card's photo grows into a full case file
   ========================================================================== */
html.is-locked { overflow: hidden; }
.case { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.case[open] { display: grid; place-items: center; }
.case::backdrop { background: transparent; }
.case__scrim { position: absolute; inset: 0; background: rgba(10,13,12,.72); -webkit-backdrop-filter: blur(10px) saturate(.9); backdrop-filter: blur(10px) saturate(.9); opacity: 0; transition: opacity 300ms var(--out); }
.case.is-in .case__scrim { opacity: 1; }

.case__panel {
  --bg-2: var(--forest); --bg-3: var(--forest-3); --bg-4: var(--forest-4); --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14); --ink: #F7FAF8; --ink-2: #B9CCC4; --ink-3: #8FA59C;
  position: relative; z-index: 1; width: min(1080px, calc(100vw - 48px)); height: min(860px, calc(100dvh - 48px));
  border-radius: var(--r-xl); overflow: hidden; background: var(--forest); box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 60px 120px -40px rgba(0,0,0,.85);
  opacity: 0; transform: translateY(14px); transition: opacity 280ms var(--out), transform 450ms var(--drawer);
}
.case.is-in .case__panel { opacity: 1; transform: none; }
.case__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--forest-4) transparent; }

/* Controls float over the photo, and stay put while the file scrolls */
.case__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 0 28px; pointer-events: none; }
.case__bar > * { pointer-events: auto; }
.case__count { padding: 8px 12px; border-radius: var(--rf); background: rgba(16,37,31,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 12px/1 var(--f-mono); letter-spacing: .06em; color: rgba(247,250,248,.75); }
.case__count b { font-weight: 600; color: var(--offwhite); }
.case__nav { display: flex; gap: 8px; }
.case__btn { width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(16,37,31,.55); color: var(--offwhite); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background-color 200ms, transform 300ms var(--spring); }
.case__btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.case__btn:active { transform: scale(.94); }
.case__x { background: var(--offwhite); color: var(--inkblack); box-shadow: none; }
.case__x:hover { background: #fff; }

/* Hero: the same photograph as the card, now wide */
.case__hero { position: relative; height: 380px; overflow: hidden; isolation: isolate; color: var(--offwhite); }
.case__media { position: absolute; inset: 0; }
.case__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__media .pcard__art { position: absolute; inset: 0; height: auto; padding-bottom: 120px; display: grid; place-items: center; }
.case__hero.is-made .case__media .pcard__art { left: 46%; padding-bottom: 0; }
.case__hero.is-made .case__hd { max-width: 54%; }
.case__hero.is-made .case__t { font-size: clamp(28px, 3vw, 40px); }
.case__hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(16,37,31,.35) 0%, rgba(16,37,31,0) 30%, rgba(16,37,31,.55) 66%, var(--forest) 100%); }
.case__hero.is-made::after { background: linear-gradient(180deg, transparent 55%, var(--forest) 100%); }
.case__hero.is-pale { color: var(--inkblack); }
.case__hero.is-pale .case__media { background: var(--palemint); }
.case__hero.is-pale::after { display: none; }
.case__hero.is-forest .case__media { background: radial-gradient(120% 90% at 80% 0%, #1B3A33, var(--forest) 60%); }
.case__hd { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 clamp(24px, 4vw, 48px) 30px; }
.case__k { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.case__t { margin-top: 12px; max-width: 22ch; font: 700 clamp(30px, 3.6vw, 46px)/1.04 var(--f-display); letter-spacing: -.035em; text-wrap: balance; }
.case__uses { margin-top: 14px; font: 500 14px/1.3 var(--f-body); opacity: .82; }

/* Body */
.case__body { position: relative; padding: 36px clamp(24px, 4vw, 48px) 40px; }
.case__story[hidden] { display: none; }
.case__story { display: grid; gap: 32px; }
.case.is-swapping .case__story, .case.is-swapping .case__hd { opacity: 0; transform: translateY(6px); filter: blur(2px); }
.case__story, .case__hd { transition: opacity 200ms var(--out), transform 300ms var(--out), filter 200ms var(--out); }
.case.is-instant .case__story, .case.is-instant .case__hd { transition: none; }
.case__cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px 56px; }
.case__lbl { margin-bottom: 14px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.case__q { font: 600 clamp(19px, 1.8vw, 23px)/1.4 var(--f-display); letter-spacing: -.015em; color: var(--ink); text-wrap: pretty; }
/* pills share one column, so the descriptions line up */
.case__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 12px; align-items: baseline; }
.case__steps li { display: contents; }
.case__steps .pc { justify-self: start; margin: 0; }
.case__steps p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.case__viz { padding-top: 28px; border-top: 1px solid var(--line); }
.case__ft { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 4px; }
.case__sec { font: 600 14px/1 var(--f-body); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.case__sec:hover { border-color: var(--ink); }
.case__nextl { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 0; cursor: pointer; font: 600 14px/1 var(--f-body); color: var(--ink-2); }
.case__nextl svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--spring); }
.case__nextl:hover { color: var(--ink); }
.case__nextl span { color: var(--ink); }

/* The morphing photo (lives inside the dialog, so it sits in the top layer) */
.case__ghost { position: fixed; z-index: 10; overflow: hidden; pointer-events: none; will-change: left, top, width, height; }
.case__ghost > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__ghost .pcard__art { position: absolute; inset: 0; display: grid; place-items: center; }
.case.is-morphing .case__media { visibility: hidden; }

.viz { display: flex; margin: 0; padding: 0; list-style: none; }

/* Developers: the four result states */
.states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.st { padding: 18px 20px; border-radius: var(--r-md); background: var(--forest-3); box-shadow: inset 0 0 0 1px var(--line); }
.st > code { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #0B1C17; color: var(--ink); font: 600 13px/1 var(--f-mono); }
.st--ok > code { background: var(--mint); color: var(--inkblack); }
.st p { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.st p code { font: 500 12.5px/1 var(--f-mono); color: var(--ink); }

/* 01 · Journey: five equal steps */
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.jn { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--r-md); background: var(--forest-3); box-shadow: inset 0 0 0 1px var(--line); }
.jn:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: translateY(-50%) rotate(45deg); }
.jn--app { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.jn__n { font: 500 11px/1 var(--f-mono); color: var(--ink-3); }
.jn__o { margin-top: 6px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.jn--app .jn__o { color: var(--ink-3); }
.jn > b { font: 700 15px/1.2 var(--f-display); letter-spacing: -.01em; }
.jn__v { margin-top: 12px; height: 84px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.jv-form { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 10px; background: var(--offwhite); }
.jv-form i { height: 9px; border-radius: 3px; background: var(--hairline); }
.jv-form i:nth-child(2) { width: 70%; }
.jv-form em { margin-top: 2px; padding: 6px; border-radius: 6px; background: var(--inkblack); color: var(--offwhite); font: 600 10px/1 var(--f-body); font-style: normal; text-align: center; }
.jv-id { gap: 8px; padding: 8px 10px; background: #E9EEEB; }
.jv-id img { width: 44px; height: 58px; object-fit: cover; object-position: center 30%; border-radius: 5px; }
.jv-id span { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.jv-id i { height: 5px; border-radius: 3px; background: rgba(23,33,29,.22); }
.jv-id i:nth-child(2) { width: 75%; } .jv-id i:nth-child(3) { width: 50%; }
.jv-face img { width: 58px; height: 72px; object-fit: cover; object-position: center 30%; border-radius: 50%; box-shadow: 0 0 0 2px var(--forest-3), 0 0 0 4px var(--mint); }
.jv-score { flex-direction: column; gap: 6px; }
.jv-score b { font: 700 28px/1 var(--f-display); letter-spacing: -.03em; color: var(--mint); }
.jv-score small, .jv-done { font: 500 11.5px/1 var(--f-mono); color: var(--ink-2); }
.jv-done { flex-direction: column; gap: 8px; }
.jv-done i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); }
.jv-done svg { width: 18px; fill: none; stroke: var(--inkblack); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* 02 · Outcomes table */
.outcomes { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.oc { display: grid; grid-template-columns: 96px minmax(0, 1fr) 52px 148px; align-items: center; gap: 18px; padding: 12px 16px; border-radius: var(--r-md); background: var(--forest-3); box-shadow: inset 0 0 0 1px var(--line); }
.oc--hd { padding-block: 0 2px; background: none; box-shadow: none; font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.oc--hd span:nth-child(2) { grid-column: 2 / 4; }
.oc--hd span:nth-child(3) { grid-column: 4; }
.oc__p { display: flex; }
.oc__p img { width: 42px; height: 52px; object-fit: cover; object-position: center 30%; border-radius: 8px; box-shadow: 0 0 0 2px var(--forest-3); }
.oc__p img + img { margin-left: -8px; }
.oc__bar { position: relative; height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); }
.oc__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: var(--ink-3); }
.oc:nth-child(2) .oc__bar i { background: var(--mint); }
.oc__bar u { position: absolute; top: -5px; bottom: -5px; width: 2px; border-radius: 2px; background: var(--offwhite); }
.oc > b { font: 700 18px/1 var(--f-display); text-align: right; font-variant-numeric: tabular-nums; }
.oc__r { justify-self: start; padding: 7px 11px; border-radius: var(--rf); font: 600 12px/1 var(--f-mono); }
.oc__r--ok { background: rgba(46,255,213,.14); color: var(--mint); }
.oc__r--mid { background: rgba(255,188,46,.14); color: var(--warn); }
.oc__r--no { background: rgba(224,85,85,.16); color: #FF9A9A; }
.oc__note { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.oc__note i { width: 2px; height: 14px; border-radius: 2px; background: var(--offwhite); }
.oc__note code { font: 500 12px/1 var(--f-mono); color: var(--ink-2); }

/* 03 · Developers */
.devs__copy { height: 34px; padding: 0 14px; border: 0; border-radius: var(--rf); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 13px/1 var(--f-body); color: var(--ink-2); cursor: pointer; transition: background-color 150ms, color 150ms, box-shadow 150ms; }
.devs__copy:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.devs__copy { display: inline-flex; align-items: center; gap: 7px; }
.devs__copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.devs__copy.is-copied { color: var(--mint); box-shadow: inset 0 0 0 1px rgba(46,255,213,.4); }

/* 04 · Path: a timeline of adoption */
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; position: relative; padding-top: 30px; }
.path::before { content: ""; position: absolute; top: 5px; left: 26px; right: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 5px, transparent 5px 10px); }
.path__s { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.path__s::before { content: ""; position: absolute; top: -31px; left: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--forest); box-shadow: inset 0 0 0 2px var(--ink-3); }
.path__s.is-now::before { background: var(--mint); box-shadow: 0 0 0 4px rgba(46,255,213,.18); }
.path__w { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.path__s b { margin-top: 4px; font: 700 18px/1.25 var(--f-display); letter-spacing: -.015em; }
.path__s p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.path__s code { margin-top: auto; align-self: flex-start; padding: 7px 10px; border-radius: 8px; background: #0B1C17; color: #9EEFDD; font: 500 12px/1 var(--f-mono); }
.path__s.is-now { background: var(--offwhite); color: var(--inkblack); box-shadow: none; }
.path__s.is-now .path__w { color: var(--sage); }
.path__s.is-now p { color: var(--sage); }
.path__s.is-now code { background: var(--palemint); color: var(--inkblack); }

/* 05 · Checks */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: center; }
.checks li { position: relative; padding: 18px 18px 18px 52px; border-radius: var(--r-md); background: var(--forest-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.checks li b { display: block; margin-bottom: 4px; font: 700 16px/1.3 var(--f-display); letter-spacing: -.01em; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317211D' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* 06 · Documents */
.ngdocs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-content: center; }
.ngdocs li { display: flex; flex-direction: column; gap: 12px; min-height: 108px; padding: 16px; border-radius: var(--r-md); background: var(--offwhite); color: var(--inkblack); }
.ngdocs b { font: 700 15px/1.25 var(--f-display); letter-spacing: -.01em; }
.ngdocs code { margin-top: auto; font: 500 11px/1.5 var(--f-mono); color: var(--sage); overflow-wrap: anywhere; }
.ngdocs .ngdocs__auto { background: transparent; color: var(--ink); border: 1.5px dashed var(--line-2); }
.ngdocs .ngdocs__auto code { color: var(--mint); }



/* ==========================================================================
   04 · Privacy — one sentence that lights up as you read it.
   Tactile tokens in the sentence open the detail behind each claim.
   ========================================================================== */
.priv { padding-block: clamp(96px, 12vw, 160px) 0; overflow-x: clip; } /* closed info cards sit off the edge until opened; never let them widen the page */
.priv__title { margin-bottom: clamp(36px, 5vw, 64px); }
.priv__title span { color: var(--ink-3); }
.say { max-width: 22em; font: 600 clamp(27px, 3.7vw, 50px)/1.42 var(--f-display); letter-spacing: -.025em; color: var(--ink); text-wrap: pretty; }
.say .w { transition: color 500ms var(--out); }
.has-motion .say .w:not(.is-lit) { color: rgba(242,240,235,.16); }
.has-motion .say .tk:not(.is-lit), .has-motion .say .tokw:not(.is-lit) .tok { opacity: .22; transform: translateY(.06em) scale(.94); }

/* little pictures inside the sentence */
.tk { display: inline-block; vertical-align: -.12em; height: 1em; transition: opacity 400ms var(--out), transform 400ms var(--out); }
.tk--face img { width: .8em; height: 1em; object-fit: cover; object-position: center 28%; border-radius: .26em; box-shadow: 0 0 0 .05em var(--bg), 0 0 0 .1em rgba(46,255,213,.7); }
.tk--doc { width: 1.42em; padding: .14em .14em; border-radius: .2em; background: #E9EEEB; display: inline-flex; align-items: center; gap: .1em; vertical-align: -.12em; }
.tk--doc img { width: .52em; height: .68em; border-radius: .08em; object-fit: cover; object-position: center 30%; }
.tk--doc i { flex: 1; height: .12em; border-radius: .1em; background: rgba(23,33,29,.28); box-shadow: 0 .2em 0 rgba(23,33,29,.16); }

/* tactile tokens: the claim you can press */
.tokw { position: relative; display: inline-block; white-space: nowrap; }
.tok {
  display: inline-flex; align-items: center; gap: .24em; height: 1.1em; padding: 0 .4em 0 .12em; margin: 0 .02em; vertical-align: -.14em;
  border: 0; border-radius: var(--rf); background: var(--bg-3); color: var(--ink); cursor: help;
  font: inherit; letter-spacing: inherit; line-height: 1;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 .09em 0 #0E0F11;
  transition: opacity 400ms var(--out), transform 300ms var(--out), box-shadow 160ms var(--out), background-color 160ms;
}
.tok__ic { width: .9em; height: .9em; border-radius: 50%; display: grid; place-items: center; background: var(--forest-3); }
.tok__ic svg { width: .56em; height: .56em; fill: none; stroke: var(--mint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tok__ic--txt { font: 600 .42em/1 var(--f-mono); color: var(--mint); width: 2.15em; height: 2.15em; }
.tok__pair { display: inline-flex; padding-left: .04em; }
.tok__pair img { width: .62em; height: .8em; object-fit: cover; object-position: center 30%; border-radius: .18em; box-shadow: 0 0 0 .05em var(--bg-3); }
.tok__pair img + img { margin-left: -.18em; }
.tok--mint { background: var(--mint); color: var(--mint-ink); box-shadow: 0 .09em 0 var(--mint-lip); }
.tok--mint .tok__ic { background: var(--mint-ink); }
@media (hover: hover) and (pointer: fine) {
  .tokw.is-lit .tok:hover { transform: translateY(-.05em); box-shadow: inset 0 0 0 1px var(--ink-3), 0 .14em 0 #0E0F11; }
  .tokw.is-lit .tok--mint:hover { box-shadow: 0 .14em 0 var(--mint-lip); }
}
.tok:active { transform: translateY(.07em) !important; box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 #0E0F11; }
.tok:focus-visible { outline-offset: 4px; border-radius: var(--rf); }

/* the detail card behind a token */
.ptip {
  position: absolute; left: calc(50% + var(--shift, 0px)); bottom: calc(100% + 14px); z-index: 20; width: min(330px, calc(100vw - 32px)); /* the edge clamp moves it with left, so it never slides sideways */ padding: 16px 18px 17px;
  border-radius: 18px; background: var(--offwhite); color: var(--inkblack); white-space: normal; text-align: left;
  font: 400 14.5px/1.5 var(--f-body); letter-spacing: 0;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.04);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 6px) scale(.97); transform-origin: calc(50% - var(--shift, 0px)) 100%;
  transition: opacity 120ms var(--out), transform 120ms var(--out), visibility 0s 120ms;
}
.ptip::after { content: ""; position: absolute; left: calc(50% - var(--shift, 0px)); top: 100%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 0 0 4px 0; background: var(--offwhite); transform: rotate(45deg); }
.ptip b { display: block; margin-bottom: 5px; font: 700 15.5px/1.3 var(--f-display); letter-spacing: -.01em; }
.ptip code { display: block; margin: 10px 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--inkblack); color: #9EEFDD; font: 500 12px/1.65 var(--f-mono); }
.ptip code span { display: block; }
.tokw.is-open .ptip, .tokw.is-lit:hover .ptip, .tokw:focus-within .ptip { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity 180ms var(--out), transform 180ms var(--out), visibility 0s; }
.tokw.is-lit:hover .ptip { transition-delay: 150ms; } /* a beat before the first one, so passing the pointer over doesn't flash cards */
.say.is-warm .ptip { transition-duration: 0ms !important; transition-delay: 0ms !important; } /* once one is open, the next opens instantly */
.ptip.is-below { bottom: auto; top: calc(100% + 14px); transform-origin: calc(50% - var(--shift, 0px)) 0; }
.ptip.is-below::after { top: auto; bottom: 100%; margin: 0 0 -7px -7px; border-radius: 4px 0 0 0; }

.priv__ft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: clamp(44px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--line); }
.priv__ft p { max-width: 38rem; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.priv__links { display: flex; gap: 8px; }
.priv__links a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--rf); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font: 600 14px/1 var(--f-body); color: var(--ink); text-decoration: none; transition: box-shadow 150ms, transform 300ms var(--spring); }

/* ==========================================================================
   05 · Developers — three steps, four platforms, one editor
   ========================================================================== */
.dev { padding-block: clamp(96px, 12vw, 160px) 0; }
.ide { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: var(--r-xl); background: var(--forest); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 50px 100px -50px rgba(0,0,0,.8); }
.ide__steps { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 6px 14px 8px; }
.ide__steps button { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 18px 18px 14px; border: 0; border-radius: 18px; background: transparent; text-align: left; color: var(--ink-2); cursor: pointer; transition: background-color 250ms, box-shadow 250ms; }
.ide__steps button:hover { background: rgba(255,255,255,.03); }
.ide__steps button[aria-selected="true"] { background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 1px var(--line); }
.ide__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 12px/1 var(--f-mono); color: var(--ink-3); transition: background-color 300ms, color 300ms, box-shadow 300ms; }
[aria-selected="true"] > .ide__n { background: var(--mint); color: var(--inkblack); box-shadow: 0 0 0 5px rgba(46,255,213,.14); }
.ide__steps b { display: block; margin-top: 5px; font: 700 17px/1.2 var(--f-display); letter-spacing: -.01em; color: var(--ink); }
.ide__steps small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; }
.ide__rail { position: absolute; z-index: 0; left: 37px; top: 52px; bottom: 52px; width: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.ide__rail i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: var(--mint); transition: height 600ms var(--out); }

.ide__win { display: flex; flex-direction: column; min-width: 0; min-height: 500px; border-radius: 20px; background: #0B1C17; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ide__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--line); }
.ide__plats { display: flex; flex-wrap: wrap; gap: 6px; }
.ide__plats button { height: 34px; padding: 0 14px; border: 0; border-radius: var(--rf); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 13px/1 var(--f-body); color: var(--ink-2); cursor: pointer; transition: background-color 150ms, color 150ms, box-shadow 150ms, opacity 200ms; }
.ide__plats button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.ide__plats button[aria-pressed="true"] { background: var(--offwhite); color: var(--inkblack); box-shadow: none; }
.ide__plats.is-off button { opacity: .38; pointer-events: none; }
.ide__file { margin-left: auto; font: 500 12px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; }
.ide__bar .devs__copy { height: 34px; padding: 0 14px; border: 0; border-radius: var(--rf); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 13px/1 var(--f-body); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.ide__bar .devs__copy:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.ide__bar .devs__copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.ide__bar .devs__copy.is-copied { color: var(--mint); box-shadow: inset 0 0 0 1px rgba(46,255,213,.4); }
.ide__code { position: relative; flex: 1; min-height: 0; }
.ide__pre { margin: 0; padding: 24px 26px; font: 400 13.5px/1.78 var(--f-mono); color: var(--ink-2); white-space: pre; overflow-x: auto; tab-size: 4; scrollbar-width: thin; scrollbar-color: var(--forest-4) transparent; counter-reset: ln; }
.ide__pre[hidden] { display: none; }
.ide__pre .c { color: #6F8A80; } .ide__pre .kw { color: #C9D7D1; font-style: italic; } .ide__pre .fn { color: var(--mint); } .ide__pre .v { color: #9EEFDD; }
/* Lines: numbered, typed in one after another, key lines carry a note */
.ide__pre { padding: 20px 0 22px; counter-reset: ln; }
.ide__pre code { display: block; min-width: max-content; }
.ide__pre .ln { position: relative; display: block; padding: 0 28px 0 62px; min-height: 1.78em; }
.ide__pre .ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 40px; text-align: right; color: rgba(143,165,156,.38); font-size: 12px; }
.ide__pre .ln.is-key { background: linear-gradient(90deg, rgba(46,255,213,.08), rgba(46,255,213,.02) 70%, transparent); box-shadow: inset 2px 0 0 var(--mint); }
.ide__pre .ln.is-key::before { color: var(--mint); }
.ln__note { display: inline-flex; align-items: center; gap: 6px; margin-left: 18px; padding: 3px 9px; border-radius: var(--rf); background: rgba(46,255,213,.12); color: var(--mint); font: 500 11.5px/1.5 var(--f-mono); font-style: normal; vertical-align: 1px; white-space: nowrap; }
.ln__note::before { content: "←"; }
/* typing: each line is revealed character by character (steps), then the note pops in */
.has-motion .ide__pre.is-typing .ln { clip-path: inset(0 100% 0 0); animation: type var(--d, 300ms) steps(var(--c, 20), end) var(--t, 0ms) forwards; }
.has-motion .ide__pre.is-typing .ln__note { opacity: 0; transform: translateX(-6px); animation: note 420ms var(--out) calc(var(--t, 0ms) + var(--d, 300ms) + 120ms) forwards; }
.has-motion .ide__pre.is-typing .ln.is-key { background-size: 0 100%; background-repeat: no-repeat; animation: type var(--d, 300ms) steps(var(--c, 20), end) var(--t, 0ms) forwards, keyin 600ms var(--out) calc(var(--t, 0ms) + var(--d, 300ms)) forwards; }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
@keyframes note { to { opacity: 1; transform: none; } }
@keyframes keyin { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
.ide__caret { display: inline-block; width: .55em; height: 1.15em; margin-left: 2px; vertical-align: -.2em; border-radius: 2px; background: var(--mint); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Run strip: a short "running" beat, then the result lands */
.ide__running { color: var(--ink-2) !important; font-family: var(--f-mono) !important; font-size: 12.5px !important; }
.ide__running span { color: var(--ink-2) !important; font-weight: 500 !important; }
.ide__spin { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); border-top: 2px solid var(--mint); animation: spin 800ms linear infinite; box-sizing: border-box; }
@keyframes spin { to { transform: rotate(360deg); } }
.has-motion .ide__out p.is-landed > * { animation: land 520ms var(--spring) both; }
.has-motion .ide__out p.is-landed > :nth-child(2) { animation-delay: 70ms; } .has-motion .ide__out p.is-landed > :nth-child(3) { animation-delay: 140ms; }
.has-motion .ide__out p.is-landed > :nth-child(4) { animation-delay: 210ms; } .has-motion .ide__out p.is-landed > :nth-child(5) { animation-delay: 280ms; } .has-motion .ide__out p.is-landed > :nth-child(6) { animation-delay: 350ms; }
@keyframes land { from { opacity: 0; transform: translateY(6px) scale(.96); } }

/* Autoplay: the active step fills while it waits for the next one */
.ide__prog { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.ide.is-auto [aria-selected="true"] > .ide__prog { opacity: .7; animation: prog var(--dwell, 7000ms) linear forwards; }
.ide.is-auto.is-paused [aria-selected="true"] > .ide__prog { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }
.has-motion .ide__pre.is-in { animation: codein 520ms var(--out) both; }
@keyframes codein { from { opacity: 0; transform: translateY(8px); } }
.ide__out { border-top: 1px solid var(--line); padding: 14px 18px; min-height: 58px; display: flex; align-items: center; }
.ide__out p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.ide__out p[hidden] { display: none; }
.ide__out code { padding: 6px 9px; border-radius: 7px; background: var(--forest-3); color: var(--ink); font: 500 12.5px/1 var(--f-mono); }
.ide__out code.ok { background: var(--mint); color: var(--inkblack); font-weight: 600; }
.ide__out em { font-style: normal; color: var(--ink-3); margin-left: 4px; }
.ide__out span { color: var(--ink); font-weight: 600; }
.ide__arrow { font-family: var(--f-mono); color: var(--mint) !important; }
.ide__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(46,255,213,.16); }

.guar { list-style: none; margin: 44px 0 0; padding: 32px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); }
.guar b { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 700 16.5px/1.3 var(--f-display); letter-spacing: -.01em; }
.guar b::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.guar span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.dev__links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 32px; }
.dev__links a { display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px/1 var(--f-body); color: var(--ink); text-decoration: none; }
.dev__links a:first-child { color: var(--mint); }
.dev__links svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--spring); }

/* ==========================================================================
   06 · Blog (three latest posts in the page; the live feed swaps in newer ones)
   ========================================================================== */
.blog { padding-block: clamp(96px, 12vw, 160px) 0; }
.blog[hidden] { display: none; }
.blog__hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.blog__hd .uses__all { margin-top: 0; }
.blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcard { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform 600ms var(--out); }
.bcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--out); }
.bcard__img--none { display: flex; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(80% 90% at 100% 0%, rgba(46,255,213,.1), transparent 60%), var(--forest); }
.bcard__img--none span { font: 800 34px/1 'Outfit', sans-serif; letter-spacing: -.03em; color: rgba(247,250,248,.9); }
.bcard__img--none i { width: 12px; height: 12px; border-radius: 50%; background: var(--mint); }
/* Posts whose cover was lost: a branded cover that names the topic */
.bcard__img--topic { position: relative; display: flex; align-items: flex-end; padding: 20px 22px; background: radial-gradient(90% 100% at 100% 0%, rgba(46,255,213,.12), transparent 60%), radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 18px 18px, var(--forest); }
.bcard:nth-child(2) .bcard__img--topic { background: radial-gradient(90% 100% at 0% 0%, rgba(46,255,213,.1), transparent 60%), radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 18px 18px, var(--forest); }
.bcard:nth-child(3) .bcard__img--topic { background: radial-gradient(90% 100% at 50% 100%, rgba(46,255,213,.1), transparent 60%), radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 18px 18px, var(--forest); }
.bcard__img--topic b { font: 700 clamp(26px, 2.6vw, 34px)/1 var(--f-display); letter-spacing: -.03em; color: var(--offwhite); }
.bcard__logo { position: absolute; top: 18px; left: 22px; display: inline-flex; align-items: center; gap: 4px; font: 800 15px/1 'Outfit', sans-serif; letter-spacing: -.03em; color: rgba(247,250,248,.7); }
.bcard__logo i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.bcard__in { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.bcard__meta { font: 500 12px/1 var(--f-mono); letter-spacing: .04em; color: var(--ink-3); }
.bcard h3 { margin: 14px 0 10px; font: 700 20px/1.22 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.bcard h3 a { text-decoration: none; }
.bcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bcard p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.bcard__tags span { padding: 5px 10px; border-radius: var(--rf); background: var(--bg-3); font-size: 12px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .bcard:hover { transform: scale(.985); }
  .bcard:hover .bcard__img img { transform: scale(1.05); }
}
.bcard:focus-within { box-shadow: inset 0 0 0 2px var(--mint); }
.bcard h3 a:focus-visible { outline: none; }

/* ==========================================================================
   07 · Get started
   ========================================================================== */
.go { padding-block: clamp(96px, 12vw, 160px) 0; }
.go__panel {
  --bg-2: var(--forest); --bg-3: var(--forest-3); --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14); --ink: #F7FAF8; --ink-2: #B9CCC4; --ink-3: #8FA59C;
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center;
  padding: clamp(32px, 5.5vw, 76px); border-radius: 32px; overflow: hidden; isolation: isolate; color: var(--ink);
  background: radial-gradient(80% 90% at 100% 0%, rgba(46,255,213,.12), transparent 60%), radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 22px 22px, var(--forest);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.go__t span { color: var(--mint); }
.go__lead { margin-top: 22px; max-width: 30rem; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.go__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.go__cta .btn:not(.btn--mint) { --b: var(--forest-3); --lip: #081410; }
.go__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.go__steps > li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.go__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 12px/1 var(--f-mono); color: var(--ink-3); }
.go__steps b { display: block; margin-top: 4px; font: 700 17px/1.2 var(--f-display); letter-spacing: -.01em; }
.go__steps small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.go__steps > li.go__key { background: var(--offwhite); color: var(--inkblack); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); transform: translateX(-18px); }
.go__key .go__n { background: var(--mint); color: var(--inkblack); box-shadow: none; }
.go__key small { color: var(--sage); }
.go__kb { min-width: 0; flex: 1; }
.go__keyv { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.go__keyv code { display: inline-flex; align-items: center; min-width: 0; padding: 10px 12px; border-radius: 10px; background: var(--palemint); font: 500 13px/1 var(--f-mono); color: var(--inkblack); white-space: nowrap; overflow: hidden; }
.go__keyv code i { flex: none; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: var(--inkblack); }
.go__keyv em { font: 600 10.5px/1 var(--f-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); white-space: nowrap; }
.has-motion .go:not(.is-in) .go__keyv code i { opacity: 0; transform: scale(.6); }
.go__keyv code i { transition: opacity 200ms, transform 400ms var(--spring); }
.go__keyv code i:nth-child(2) { transition-delay: 80ms; } .go__keyv code i:nth-child(3) { transition-delay: 160ms; } .go__keyv code i:nth-child(4) { transition-delay: 240ms; }
.go__keyv code i:nth-child(5) { transition-delay: 320ms; } .go__keyv code i:nth-child(6) { transition-delay: 400ms; } .go__keyv code i:nth-child(7) { transition-delay: 480ms; } .go__keyv code i:nth-child(8) { transition-delay: 560ms; }

/* ==========================================================================
   08 · FAQ
   ========================================================================== */
.faq { padding-block: clamp(96px, 12vw, 160px) 0; }
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq__hd { position: sticky; top: 112px; }
.faq__hd .title span { color: var(--ink-3); }
.faq__hd p { margin-top: 22px; max-width: 24rem; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.faq__hd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color 150ms, color 150ms; }
.faq__hd a:hover { color: var(--mint); border-color: rgba(46,255,213,.5); }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__q { border-radius: 22px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 250ms, box-shadow 250ms; interpolate-size: allow-keywords; }
.faq__q[open] { background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.faq__q summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 22px 26px; cursor: pointer; list-style: none; font: 650 17.5px/1.35 var(--f-display); letter-spacing: -.01em; border-radius: inherit; }
.faq__q summary::-webkit-details-marker { display: none; }
.faq__q summary:focus-visible { outline-offset: -2px; }
.faq__pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-4); box-shadow: none; transition: transform 250ms var(--out), background-color 200ms, box-shadow 200ms; }
.faq__pm i { position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform 250ms var(--out), background-color 200ms; }
.faq__pm i + i { transform: rotate(90deg); }
.faq__q[open] .faq__pm { background: var(--mint); transform: rotate(180deg); }
.faq__q[open] .faq__pm i { background: var(--mint-ink); }
.faq__q[open] .faq__pm i + i { transform: rotate(0); }
@media (hover: hover) and (pointer: fine) {
  .faq__q:not([open]):hover { box-shadow: inset 0 0 0 1px var(--line-2); }
  .faq__q:not([open]):hover .faq__pm { background: var(--bg-3); }
}
.faq__q summary:active .faq__pm { transform: scale(.94); }
.faq__a { padding: 0 26px 24px; }
.faq__a p { max-width: 40rem; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.faq__a code { font: 500 13.5px/1 var(--f-mono); color: var(--ink); }
.faq__a a { color: var(--mint); text-decoration: none; }
/* smooth open where the browser supports animating details */
.has-motion .faq__q::details-content { block-size: 0; overflow: clip; transition: block-size 300ms var(--out), content-visibility 300ms allow-discrete; }
.has-motion .faq__q[open]::details-content { block-size: auto; }

/* ==========================================================================
   Footer — one Deep Forest band: brand and two actions, one row of links, the small print
   ========================================================================== */
.foot {
  --line: rgba(247,250,248,.1); --ink: #F7FAF8; --ink-2: #B9CCC4; --ink-3: #8FA59C;
  margin-top: clamp(96px, 12vw, 160px); padding: clamp(48px, 6vw, 72px) 0 28px; background: var(--forest); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(46,255,213,.12);
}
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.foot__brand .logo { font-size: 26px; color: var(--ink); }
.foot__brand p { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }
.foot__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.foot__talk { --b: var(--forest-3); --t: var(--ink); --lip: #081410; }

.foot__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot__links a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--rf); background: rgba(247,250,248,.05); box-shadow: inset 0 0 0 1px var(--line); font: 500 14px/1 var(--f-body); color: var(--ink-2); text-decoration: none; transition: color 160ms var(--out), background-color 160ms var(--out), transform 160ms var(--out); }
.foot__links a:hover { color: var(--ink); background: rgba(247,250,248,.09); }
.foot__links a:active { transform: scale(.97); }

.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 40px; }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13px; color: var(--ink-3); }
.foot__legal a { color: var(--ink-2); text-decoration: none; transition: color 150ms var(--out); }
.foot__legal a:hover { color: var(--mint); }
.foot__ai { flex-basis: 100%; font-size: 12px; color: rgba(143,165,156,.75); }
.foot__end { display: flex; align-items: center; gap: 14px; }
.foot__mailbar { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 14px; border-radius: var(--rf); background: rgba(0,0,0,.18); box-shadow: inset 0 0 0 1px var(--line); }
.foot__mailbar a { font: 500 13px/1 var(--f-mono); color: var(--ink); text-decoration: none; }
.foot__mailbar a:hover { color: var(--mint); }
.foot__copy { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 0; border-radius: var(--rf); background: var(--forest-3); font: 600 12.5px/1 var(--f-body); color: var(--ink-2); cursor: pointer; transition: color 150ms var(--out), transform 160ms var(--out); }
.foot__copy:hover { color: var(--ink); }
.foot__copy:active { transform: scale(.96); }
.foot__copy svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.foot__copy.is-copied { color: var(--mint); }
.foot__social { display: flex; gap: 6px; }
.foot__social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: color 150ms var(--out), background-color 150ms var(--out), transform 160ms var(--out); }
.foot__social a:hover { color: var(--mint); background: rgba(247,250,248,.06); }
.foot__social a:active { transform: scale(.94); }
.foot__social svg { width: 16px; height: 16px; fill: currentColor; }

/* ==========================================================================
   Responsive (03 → footer)
   ========================================================================== */
@media (max-width: 1180px) {
  .case .journey { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .case .jn { padding: 12px 10px; }
  .case .jn > b { font-size: 14px; }
  .ngdocs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .sec-hd { grid-template-columns: 1fr; }
  .pcard--7, .pcard--5 { grid-column: span 12; }
  .pcard { height: 500px; }
  .case__cols { grid-template-columns: 1fr; gap: 28px; }
  .case .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case .jn:nth-child(3)::after { display: none; }
  .checks { grid-template-columns: 1fr; }
  .ide { grid-template-columns: 1fr; }
  .ide__steps { flex-direction: row; overflow-x: auto; padding: 6px; scrollbar-width: none; }
  .ide__steps button { flex: 1 0 220px; }
  .ide__steps small { display: none; }
  .ide__rail { display: none; }
  .guar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog__grid > :nth-child(3) { display: none; }
  .go__panel { grid-template-columns: 1fr; }
  .go__steps > li.go__key { transform: none; }
  .faq__in { grid-template-columns: 1fr; }
  .faq__hd { position: static; }
  .ln__note { display: none; }
}
@media (max-width: 720px) {
  .pgrid { gap: 14px; }
  .pcard { height: 460px; border-radius: 22px; }
  .pcard__body { padding: 22px; }
  .pcard__moment { top: 16px; right: 16px; left: 16px; display: flex; justify-content: flex-end; }
  .pcard__ft { flex-wrap: wrap; }
  .mk-docs { transform: scale(.82); }

  /* the dialog becomes a full-height sheet */
  .case__panel { width: 100%; height: calc(100dvh - 12px); align-self: end; border-radius: 24px 24px 0 0; transform: translateY(40px); }
  .case[open] { place-items: end center; }
  .case__bar { padding: 12px 12px 0 16px; }
  .case__hero { height: 300px; }
  .case__hero.is-made { height: 400px; }
  .case__hero.is-made .case__media .pcard__art { left: 0; padding-bottom: 150px; }
  .case__hero.is-made .case__hd { max-width: none; }
  .case__media .mk-docs { transform: scale(.72); }
  .case__body { padding: 28px 20px 36px; }
  .case__nextl { margin-left: 0; }
  .case .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .case .jn::after { display: none; }
  .case .jn:last-child { grid-column: 1 / -1; }
  .states { grid-template-columns: 1fr; }
  .oc { grid-template-columns: 82px minmax(0, 1fr) 44px; gap: 12px; }
  .oc--hd span:nth-child(3) { display: none; }
  .oc__r { grid-column: 2 / 4; }
  .path { grid-template-columns: 1fr; padding-top: 0; padding-left: 26px; }
  .path::before { top: 10px; bottom: 10px; left: 5px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink-3) 0 5px, transparent 5px 10px); }
  .path__s::before { top: 22px; left: -27px; }
  .ngdocs { grid-template-columns: repeat(2, minmax(0, 1fr)); }


  .ide { padding: 6px; border-radius: 22px; }
  .ide__steps button { flex-basis: 200px; padding: 14px; }
  .ide__win { min-height: 0; border-radius: 16px; }
  .ide__file { display: none; }
  .ide__bar .devs__copy { margin-left: auto; }
  .ide__plats button { padding: 0 11px; }
  .ide__pre { padding: 18px; font-size: 12px; }
  .guar { grid-template-columns: 1fr; gap: 22px; }
  .blog__grid { grid-template-columns: 1fr; }
  .blog__grid > :nth-child(3) { display: flex; }
  .go__panel { padding: 28px 20px; border-radius: 24px; gap: 32px; }
  .go__keyv { flex-wrap: wrap; }
  .say { font-size: 27px; line-height: 1.36; }
  .priv__ft { flex-direction: column; align-items: flex-start; }
  .faq__q summary { padding: 18px 16px 18px 20px; font-size: 16px; }
  .faq__a { padding: 0 20px 20px; }
  .ide__pre .ln { padding: 0 18px 0 44px; }
  .ide__pre .ln::before { width: 28px; font-size: 11px; }
}

/* Without JavaScript: cards link to their pages, the editor shows step one, the map is drawn */
html:not(.js) .ide__plats, html:not(.js) .devs__copy { display: none; }
html:not(.js) .ide__steps button { pointer-events: none; }

/* Hover movement only for real pointers (touch would fire it on tap) */
@media (hover: hover) and (pointer: fine) {
  .dock__replay:hover { color: var(--ink); transform: rotate(-90deg); }
  .uses__all:hover svg { transform: translateX(4px); }
  .case__btn:hover { background: rgba(16,37,31,.8); transform: scale(1.04); }
  .case__nextl:hover svg { transform: translateX(4px); }
  .priv__links a:hover { box-shadow: inset 0 0 0 1px var(--ink-3); transform: translateY(-2px); }
  .dev__links a:hover svg { transform: translate(2px, -2px); }
}

/* Press feedback: anything you can press answers the press */
.pcard, .bcard { transition: transform 600ms var(--out), box-shadow 300ms var(--out); }
.pcard:has(.pcard__hit:active), .bcard:has(a:active) { transform: scale(.975) !important; transition-duration: 160ms; }
.ide__steps button, .ide__plats button, .devs__copy, .foot__copy, .priv__links a, .case__nextl, .uses__all, .dev__links a, .case__sec, .faq__q summary { transition-property: transform, background-color, color, box-shadow, opacity; transition-duration: 160ms; transition-timing-function: var(--out); }
.ide__steps button:active, .ide__plats button:active, .devs__copy:active, .priv__links a:active, .case__nextl:active, .uses__all:active, .dev__links a:active, .case__sec:active { transform: scale(.97); }
.faq__q summary:active { transform: scale(.99); }

/* Copy buttons: the icon morphs to a check, blurred through the swap */
.devs__copy .ic-wrap, .foot__copy .ic-wrap { position: relative; width: 14px; height: 14px; display: inline-grid; }
.ic-wrap svg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; transition: opacity 200ms var(--out), transform 200ms var(--out), filter 200ms var(--out); }
.ic-wrap .ic-ok { opacity: 0; transform: scale(.6); filter: blur(2px); fill: none; stroke: var(--mint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.is-copied .ic-wrap .ic-copy { opacity: 0; transform: scale(.6); filter: blur(2px); }
.is-copied .ic-wrap .ic-ok { opacity: 1; transform: none; filter: none; }

@media (max-width: 720px) {
  .foot__cta, .foot__cta .btn { width: 100%; }
  .foot__end { flex-wrap: wrap; }
}

/* ==========================================================================
   Phones and touch
   ========================================================================== */
/* Sections below the first screen skip rendering until they come near the viewport.
   `auto` remembers the real height once seen, so the scrollbar doesn't jump. */
#platform, #use-cases, #developers, #blog, #get-started, #faq { content-visibility: auto; contain-intrinsic-size: auto 1100px; }

.foot { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.case__body { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

/* Swipe rows: use cases and blog posts become one row you swipe through, not a 3,000px stack */
.rowdots { display: none; }
@media (max-width: 720px) {
  .pgrid, .blog__grid {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .pgrid::-webkit-scrollbar, .blog__grid::-webkit-scrollbar { display: none; }
  .pgrid > .pcard { flex: 0 0 86%; height: 460px; scroll-snap-align: start; }
  .blog__grid > .bcard { flex: 0 0 84%; scroll-snap-align: start; }
  .rowdots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .rowdots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width 200ms var(--out), background-color 200ms var(--out); }
  .rowdots i.is-on { width: 18px; background: var(--mint); }
  .uses .sec-hd, .blog__hd { margin-bottom: 28px; }
}

/* Touch: every target at least 44px tall. Inline links grow their hit area with padding, so text doesn't move */
@media (pointer: coarse) {
  .chip { position: relative; }
  .chip::after { content: ""; position: absolute; inset: -5px -2px; }
  .ide__plats button, .ide__bar .devs__copy, .priv__links a, .foot__links a, .foot__social a, .case__btn { min-height: 44px; min-width: 44px; }
  .foot__copy { height: 40px; }
  .btn--sm { height: 44px; }
  .plat__fine a { padding-block: 13px; }
  .tok { position: relative; }
  .tok::after { content: ""; position: absolute; inset: -9px -4px; }
  .uses__all, .dev__links a, .case__sec, .case__nextl, .tip__skip { padding-block: 14px; margin-block: -14px; }
  .faq__hd a, .faq__a a, .foot__legal a, .foot__mailbar a { padding-block: 12px; }
  .logo { padding-block: 7px; }
}

/* Walkthrough pause: auto-advancing content needs a way to stop it */
.ide { position: relative; }
.ide__pause { position: absolute; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: var(--rf); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 12.5px/1 var(--f-body); color: var(--ink-2); cursor: pointer; transition: color 160ms var(--out), box-shadow 160ms var(--out), transform 160ms var(--out); }
.ide__pause[hidden] { display: none; }
.ide__pause:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.ide__pause:active { transform: scale(.97); }
.ide__pause svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ide__pause .i-play { display: none; fill: currentColor; stroke: none; }
.ide__pause[aria-pressed="true"] .i-pause { display: none; }
.ide__pause[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 1020px) { .ide__pause { position: static; justify-self: start; margin: 4px 0 6px 6px; } }
@media (pointer: coarse) { .ide__pause { height: 44px; } }

/* ==========================================================================
   01b · Customers — one row, divided by hairlines: logo, then the industry
   ========================================================================== */
.proof { padding-top: clamp(72px, 9vw, 120px); }
.proof__t { text-align: center; font: 500 12px/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-wrap: balance; }
.proof__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.proof__co { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 132px; padding: 24px 16px; }
.proof__co + .proof__co { box-shadow: inset 1px 0 0 var(--line); }
.proof__logo { display: inline-flex; align-items: center; gap: 12px; opacity: .78; transition: opacity 200ms var(--out); }
.proof__mk { width: auto; height: 34px; }
.proof__name { font: 700 24px/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.proof__k { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .proof__co:hover .proof__logo { opacity: 1; } }
@media (max-width: 720px) {
  .proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__co { min-height: 112px; }
  .proof__co:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .proof__co:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
  .proof__name { font-size: 20px; }
  .proof__mk { height: 28px; }
}



