/* Octagon Labs — site.css (v2) */
:root {
  --ink: #0B1320;
  --ink-2: #1E2836;
  --paper: #F3F4F1;
  --white: #FFFFFF;
  --slate: #535E6E;
  --slate-2: #7A8494;
  --line: #DCDFE3;
  --line-soft: #E7E9EC;
  --signal: #21D3ED;
  --signal-ink: #0A7E9C;
  --radius: 14px;
  --wrap: 1320px;
  --gut: clamp(20px, 5vw, 64px);
  --font: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; font-feature-settings: "tnum" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal-ink); outline-offset: 3px; border-radius: 4px; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.display { font-size: clamp(46px, 7.4vw, 112px); letter-spacing: -0.05em; line-height: .94; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -0.04em; }
.h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--slate); max-width: 34em; letter-spacing: -0.005em; }
.muted { color: var(--slate); }
p { margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; font: 500 17px/1 var(--font); text-decoration: none; letter-spacing: -0.01em; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--signal); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.hdr.is-scrolled { border-bottom-color: var(--line-soft); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img:first-child { width: 34px; height: 34px; }
.brand img:last-child { width: 82px; height: auto; }
.nav { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; font-size: 16px; text-decoration: none; color: var(--slate); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--white); }
.nav a[aria-current="page"] { color: var(--ink); }
.hdr__cta { height: 44px; font-size: 16px; padding: 0 18px; }
.menu-btn { display: none; margin-left: auto; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 500 16px/1 var(--font); color: var(--ink); cursor: pointer; }
@media (max-width: 920px) {
  .nav, .hdr__cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .hdr.is-open .nav { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; margin: 0; padding: 8px var(--gut) 24px; background: var(--paper); border-bottom: 1px solid var(--line); gap: 0; }
  .hdr.is-open .nav a { padding: 16px 0; font-size: 22px; color: var(--ink); border-radius: 0; border-top: 1px solid var(--line-soft); letter-spacing: -0.02em; }
  .hdr.is-open .nav li:first-child a { border-top: 0; }
  .hdr.is-open .nav a:hover { background: transparent; }
  .hdr.is-open .nav .nav__mail { display: block; }
  .hdr.is-open .nav .nav__mail a { color: var(--signal-ink); }
}
.nav__mail { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 120px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy .lede { margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }

/* the ledger (signature) */
.ledger { position: relative; background: var(--white); border-radius: 20px; box-shadow: 0 1px 0 var(--line-soft), 0 30px 60px -30px rgba(11,19,32,.28), 0 0 0 1px var(--line-soft); padding: 26px 26px 22px; font-size: 15px; }
.ledger__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ledger__title { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.ledger__ref { color: var(--slate-2); font-size: 14px; }
.ledger table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ledger th { text-align: left; font-weight: 500; color: var(--slate-2); font-size: 13px; padding: 0 0 10px; border-bottom: 1px solid var(--line-soft); }
.ledger th.r, .ledger td.r { text-align: right; }
.ledger td { padding: 12px 0; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.ledger td:first-child { white-space: normal; padding-right: 12px; }
.ledger tbody tr { opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ledger tbody tr.in { opacity: 1; transform: none; }
.ledger tfoot td { border-bottom: 0; padding-top: 14px; font-weight: 600; }
.ledger__status { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--paper); color: var(--slate); font-size: 15px; transition: background .4s var(--ease), color .4s var(--ease); }
.ledger__status .oct { width: 26px; height: 26px; flex: none; }
.oct path { fill: none; stroke: var(--line); stroke-width: 2; transition: stroke .4s var(--ease); }
.oct .tick { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .5s .15s var(--ease); }
.ledger.is-balanced .ledger__status { background: color-mix(in srgb, var(--signal) 18%, var(--white)); color: var(--ink); }
.ledger.is-balanced .oct path.ring { stroke: var(--signal); fill: var(--signal); }
.ledger.is-balanced .oct .tick { stroke-dashoffset: 0; }
.ledger__note { margin-top: 12px; font-size: 13px; color: var(--slate-2); }

/* ---------- proof ---------- */
.proof { padding: 0 0 clamp(64px, 9vw, 128px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fact { padding: 26px 24px 8px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact__big { font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact__big small { font-size: .42em; letter-spacing: -0.01em; font-weight: 500; margin-left: 4px; color: var(--slate); }
.fact__txt { margin-top: 12px; color: var(--slate); font-size: 16px; line-height: 1.45; max-width: 18em; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

.clients { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); }
.clients__label { font-size: 16px; color: var(--slate); max-width: 14em; line-height: 1.4; }
.clients ul { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 52px); align-items: center; margin: 0; padding: 0; list-style: none; }
.clients li { display: flex; align-items: center; gap: 12px; }
.clients img { height: 44px; width: auto; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s, opacity .3s; }
.clients li:hover img { filter: none; opacity: 1; }
.clients span { font-size: 14px; color: var(--slate); line-height: 1.25; }
.clients b { display: block; color: var(--ink); font-weight: 500; }

/* ---------- section scaffolding ---------- */
.sec { padding: clamp(72px, 10vw, 144px) 0; }
.sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec__head .lede { justify-self: end; }
@media (max-width: 900px) { .sec__head { grid-template-columns: 1fr; } .sec__head .lede { justify-self: start; } }

/* ---------- process ---------- */
.process { background: var(--white); }
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.steps__list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; padding: 28px 0 28px 64px; border-top: 1px solid var(--line-soft); cursor: default; }
.step:last-child { border-bottom: 1px solid var(--line-soft); }
.step__n { position: absolute; left: 0; top: 30px; width: 40px; height: 40px; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--slate-2); font-variant-numeric: tabular-nums; }
.step__n svg { position: absolute; inset: 0; width: 40px; height: 40px; }
.step__n svg path { fill: none; stroke: var(--line); stroke-width: 1.5; transition: fill .35s var(--ease), stroke .35s var(--ease); }
.step__n span { position: relative; }
.step h3 { font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -0.03em; color: var(--slate-2); transition: color .35s var(--ease); }
.step p { margin-top: 10px; color: var(--slate); max-width: 26em; }
.step__media { display: none; }
.step.is-active h3 { color: var(--ink); }
.step.is-active .step__n { color: var(--ink); }
.step.is-active .step__n svg path { fill: var(--signal); stroke: var(--signal); }
.steps__stage { position: sticky; top: 108px; align-self: start; aspect-ratio: 4 / 3.2; border-radius: 20px; overflow: hidden; background: var(--paper); }
.steps__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.steps__stage video.is-on { opacity: 1; }
.steps__cap { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); font-size: 14px; color: var(--ink); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps__stage { display: none; }
  .step__media { display: block; margin-top: 18px; border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; background: var(--paper); }
  .step__media video { width: 100%; height: 100%; object-fit: cover; }
  .step h3 { color: var(--ink); }
}

/* ---------- modules (ledger list) ---------- */
.mods { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.mod a { display: grid; grid-template-columns: 56px minmax(0, 3fr) minmax(0, 5fr) 40px; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease), background .3s var(--ease); }
.mod__code { color: var(--slate-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.mod__name { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.mod__line { color: var(--slate); font-size: 17px; }
.mod__line b { color: var(--ink); font-weight: 500; }
.mod__go { justify-self: end; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.mod__go svg { width: 16px; height: 16px; }
.mod a:hover { padding-left: 12px; padding-right: 4px; }
.mod a:hover .mod__go { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (max-width: 760px) {
  .mod a { grid-template-columns: 1fr 40px; gap: 6px 16px; }
  .mod__code { grid-column: 1; }
  .mod__name { grid-column: 1; }
  .mod__line { grid-column: 1; }
  .mod__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

/* ---------- beyond ---------- */
.beyond { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.svc__img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.svc__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.svc ul { margin: 6px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.svc li { padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; display: flex; gap: 10px; align-items: center; }
.svc li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); flex: none; }
@media (max-width: 960px) { .beyond { grid-template-columns: 1fr; } .svc { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .svc__img { aspect-ratio: auto; min-height: 100%; } }
@media (max-width: 620px) { .svc { display: flex; } .svc__img { aspect-ratio: 16/9; } }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__media { position: sticky; top: 108px; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; background: var(--white); }
.why__media video { width: 100%; height: 100%; object-fit: cover; }
.why__list { list-style: none; margin: 40px 0 0; padding: 0; }
.why__list li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
.why__list h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.why__list p { color: var(--slate); font-size: 17px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why__media { position: relative; top: 0; aspect-ratio: 16/10; } .why__list li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- night band ---------- */
.night { background: var(--ink); color: #E8ECF1; }
.night .lede, .night .muted { color: #A3ADBB; }
.night__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.night__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #243042; border-radius: 16px; overflow: hidden; }
.night__stat { background: var(--ink); padding: 28px; }
.night__stat .fact__big { color: #fff; }
.night__stat .fact__big small { color: #A3ADBB; }
.night__stat p { margin-top: 12px; color: #A3ADBB; font-size: 16px; line-height: 1.45; }
.night__stat--sig .fact__big { color: var(--signal); }
.night h2 { color: #fff; }
.night__copy .lede { margin-top: 24px; }
@media (max-width: 900px) { .night__grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { padding: clamp(80px, 12vw, 176px) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact__mail { display: inline-block; margin-top: 40px; font-size: clamp(28px, 4.2vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; text-decoration: none; background-image: linear-gradient(var(--signal), var(--signal)); background-size: 100% 6px; background-position: 0 92%; background-repeat: no-repeat; transition: background-size .3s var(--ease); word-break: break-word; }
.contact__mail:hover { background-size: 100% 40%; }
.brief { background: var(--white); border-radius: var(--radius); padding: 28px; }
.brief h3 { font-size: 20px; letter-spacing: -0.02em; }
.brief ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: b; }
.brief li { counter-increment: b; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 16px; color: var(--slate); }
.brief li::before { content: counter(b); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 15px; color: var(--slate); }
.ftr__in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--ink); }

/* ---------- module pages ---------- */
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--slate); padding-top: clamp(28px, 4vw, 48px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.mhero { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.mhero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.mhero .display { font-size: clamp(44px, 6.6vw, 96px); }
.mfacts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.mfacts li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.mfacts span { color: var(--slate); }
.mfacts b { font-weight: 500; text-align: right; }
@media (max-width: 900px) { .mhero__grid { grid-template-columns: 1fr; } }
.window { background: var(--white); border-radius: 18px; box-shadow: 0 0 0 1px var(--line-soft), 0 40px 80px -40px rgba(11,19,32,.35); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--slate-2); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.window__bar span { margin-left: 10px; }
.window__body { padding: 18px; overflow: hidden; }
.mock-cap { margin-top: 14px; font-size: 14px; color: var(--slate-2); }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.feats li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); font-size: 18px; letter-spacing: -0.01em; display: flex; gap: 12px; align-items: baseline; }
.feats li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); transform: rotate(45deg) translateY(-2px); flex: none; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pager a { display: block; padding: 28px; border-radius: var(--radius); background: var(--white); text-decoration: none; transition: background .25s; }
.pager a:hover { background: var(--ink); color: #fff; }
.pager a:hover .muted { color: #A3ADBB; }
.pager .r { text-align: right; }
.pager b { display: block; margin-top: 6px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.cta-band { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 28px; align-items: end; justify-content: space-between; }
.cta-band h2 { color: #fff; max-width: 14em; }
.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .facts--2 { grid-template-columns: 1fr 1fr; } .facts--2 .fact:nth-child(n+3) { border-top: 0; } }
@media (max-width: 480px) { .facts--2 { grid-template-columns: 1fr; } }
.proof__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.proof__grid .clients { margin-top: 0; }
@media (max-width: 980px) { .proof__grid { grid-template-columns: 1fr; } }
.hero__aside { margin-top: 18px; font-size: 16px; color: var(--slate); }
.proof .facts--2 { max-width: 760px; }
.clients { padding-top: 28px; border-top: 1px solid var(--line); }
.clients__label { flex: 0 0 auto; }
@media (max-width: 760px) { .clients img { height: 36px; } .clients ul { gap: 18px 28px; } }
.ledger td.r, .ledger th.r { padding-left: 14px; }
@media (max-width: 520px) { .ledger { padding: 20px 18px 18px; font-size: 14px; } .ledger td { padding: 10px 0; } }
@media (max-width: 620px) { .svc__img { min-height: 0; aspect-ratio: 16 / 9; } }
.window__body.mock { background: var(--white) !important; color: inherit; font-size: 14px; }
.mock .fdesk { width: 100%; max-width: none; }
@media (max-width: 620px) { .pager { grid-template-columns: 1fr; } .pager .r { text-align: left; } }
/* app mock: sideways scroll on narrow screens */
.window__body.mock.is-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin; }
.window__body.mock.is-scroll::-webkit-scrollbar { height: 4px; }
.window__body.mock.is-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.window:has(.mock.is-scroll) { position: relative; }
.window:has(.mock.is-scroll)::after { content: "Swipe \2192"; position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(11,19,32,.82); color: #fff; font-size: 13px; font-weight: 500; pointer-events: none; transition: opacity .3s; }
.window:has(.mock.is-scrolled)::after { opacity: 0; }
/* interactive app mock: badge in the window bar */
.window__try { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #0B1320; background: #EAF3FF; border: 1px solid #CFE3FF; padding: 4px 12px 4px 10px; border-radius: 999px; white-space: nowrap; }
.window__try s { width: 8px; height: 8px; border-radius: 50%; background: #0080FF; box-shadow: 0 0 0 0 rgba(0,128,255,.5); animation: trypulse 1.8s ease-out infinite; text-decoration: none; }
@keyframes trypulse { 0% { box-shadow: 0 0 0 0 rgba(0,128,255,.55); } 100% { box-shadow: 0 0 0 9px rgba(0,128,255,0); } }
@media (max-width: 560px) { .window__try { font-size: 11.5px; padding: 3px 9px 3px 8px; } .window__bar span { display: none; } }
@media (prefers-reduced-motion: reduce) { .window__try s { animation: none; } }
.window__try em { font-style: normal; }
.window__try .t-tap { display: none; }
@media (hover: none) { .window__try .t-click { display: none; } .window__try .t-tap { display: inline; } }
