/* ============================================================================
   nebyra.css: brand tokens + page composition on top of scrollcraft.css
   Engine classes (.sc-stage, .sc-copy, [data-sc-*]) are never restyled here;
   everything below is Nebyra's own markup.
   ========================================================================== */

:root {
  /* six colour roles, from brand-guide.html: Deep, Card, White, Magenta */
  --sc-canvas:      #250841;
  --sc-surface:     #2D0A50;
  --sc-ink:         #F4EEF8;
  --sc-ink-soft:    #B9A8D4;
  --sc-accent:      #D946EF;
  --sc-accent-ink:  #1A0530;

  --sc-font-display: "Space Grotesk", system-ui, sans-serif;
  --sc-font-text:    "Inter", system-ui, sans-serif;
  --sc-font-mono:    "Space Grotesk", system-ui, sans-serif; /* labels stay inside the two families */

  --sc-shadow-color: 275 70% 4%;
  --sc-r-sm: 8px; --sc-r-md: 14px; --sc-r-lg: 24px;

  /* light-on-dark compensation: a touch more leading, a hair more tracking */
  --sc-leading-body: 1.66;
  --sc-track-normal: 0.002em;
  --sc-maxw: 78rem;

  --nb-wordmark: "Syncopate", var(--sc-font-display); /* wordmark lockup only */
  --nb-bar-h: 4.5rem;
}

body { font-weight: 400; }
.sc-display { font-weight: 600; }
.sc-display--xl { font-weight: 700; letter-spacing: -0.04em; }
.sc-lede { color: var(--sc-ink); font-weight: 400; }
.sc-body { font-size: var(--sc-t-base); }
.sc-label { font-family: var(--sc-font-display); font-weight: 600; letter-spacing: 0.14em; }
strong { font-weight: 600; color: var(--sc-ink); }

/* Robot canvas: a transparent WebGL surface over the page ground */
canvas.nb-robot { width: 100%; height: 100%; display: block; }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.9rem 1.5rem; border-radius: var(--sc-r-pill);
  background: var(--sc-accent); color: var(--sc-accent-ink);
  font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-sm);
  letter-spacing: -0.005em; line-height: 1; white-space: nowrap;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: var(--sc-e1);
  transition: transform var(--sc-d-fast) var(--sc-ease-out), box-shadow var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out);
}
.btn svg { width: 0.9em; height: 0.9em; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); box-shadow: var(--sc-e2); background: color-mix(in oklab, var(--sc-accent) 88%, white); }
}
.btn:active { transform: translateY(1px) scale(0.98); box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 3px; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn--ghost {
  background: transparent; color: var(--sc-ink);
  box-shadow: inset 0 0 0 1px var(--sc-hairline-strong);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { background: color-mix(in oklab, var(--sc-ink) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sc-ink) 40%, transparent); }
}
.btn--sm { padding: 0.65rem 1.1rem; font-size: var(--sc-t-xs); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--sc-t-base); }

.link {
  display: inline-flex; align-items: center; gap: 0.45em;
  color: var(--sc-ink); font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-sm);
  text-decoration: none; border-bottom: 1px solid var(--sc-hairline-strong); padding-bottom: 0.15em;
  transition: border-color var(--sc-d-fast) var(--sc-ease-out), color var(--sc-d-fast) var(--sc-ease-out);
}
.link svg { width: 0.85em; height: 0.85em; transition: transform var(--sc-d-fast) var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { border-color: var(--sc-accent); color: var(--sc-accent); }
  .link:hover svg { transform: translateX(3px); }
}
.link:active { opacity: 0.8; }

/* ------------------------------------------------------------ site bar -- */
.site-bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  height: var(--nb-bar-h);
  background: linear-gradient(to bottom, color-mix(in oklab, var(--sc-canvas) 86%, transparent), color-mix(in oklab, var(--sc-canvas) 40%, transparent) 70%, transparent);
}
.bar__inner {
  height: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sc-5);
}
.bar__mark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--sc-ink); }
.bar__mark img { width: 2rem; height: auto; }
.bar__mark span { font-family: var(--nb-wordmark); font-size: 0.8rem; letter-spacing: 0.34em; text-transform: uppercase; padding-left: 0.1em; }
.bar__links { display: flex; align-items: center; gap: var(--sc-6); }
.bar__links a {
  color: var(--sc-ink-soft); text-decoration: none; font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-sm);
  transition: color var(--sc-d-fast) var(--sc-ease-out);
}
.bar__links a:hover, .bar__links a[aria-current="page"] { color: var(--sc-ink); }
.bar__right { display: flex; align-items: center; gap: var(--sc-4); }
.bar__lang { display: flex; align-items: center; gap: 0.4rem; font-size: var(--sc-t-xs); font-family: var(--sc-font-display); font-weight: 600; }
.bar__lang a, .bar__lang span { color: var(--sc-ink-soft); text-decoration: none; }
.bar__lang [aria-current] { color: var(--sc-ink); }
.bar__lang i { font-style: normal; color: var(--sc-hairline-strong); }
.bar__menu {
  display: none; width: 2.5rem; height: 2.5rem; border-radius: var(--sc-r-sm);
  background: transparent; border: 1px solid var(--sc-hairline-strong); cursor: pointer; color: var(--sc-ink);
  align-items: center; justify-content: center;
}
.bar__menu:active { transform: scale(0.96); }
.bar__drop {
  position: absolute; top: calc(var(--nb-bar-h) + 0.25rem); right: var(--sc-gutter);
  min-width: 14rem; padding: 0.4rem; border-radius: var(--sc-r-md);
  background: var(--sc-surface); box-shadow: var(--sc-e3), var(--sc-edge);
  display: none; flex-direction: column;
}
.bar__drop.is-open { display: flex; }
.bar__drop a {
  padding: 0.8rem 0.9rem; border-radius: var(--sc-r-sm); text-decoration: none; color: var(--sc-ink);
  font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-base);
}
.bar__drop a:hover { background: color-mix(in oklab, var(--sc-ink) 7%, transparent); }
.bar__drop hr { margin: 0.3rem 0.5rem; }

/* ---------------------------------------------------------------- hero -- */
.hero { overflow: clip; }
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 70vmax; height: 70vmax; right: -18vmax; top: -22vmax; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--sc-accent) 22%, transparent), transparent 72%);
  opacity: 0.9;
}
.hero__glow--2 {
  width: 46vmax; height: 46vmax; right: auto; left: -20vmax; top: auto; bottom: -24vmax;
  background: radial-gradient(closest-side, color-mix(in oklab, #1E3AF5 26%, transparent), transparent 72%);
}
.hero__scene {
  position: absolute; z-index: 1; inset: 3vh 0 0 auto; width: 58%;
  will-change: transform;
}
.hero__scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 1; transition: opacity 700ms var(--sc-ease-out); }
.hero--live .hero__scene img { opacity: 0; }
.hero--fallback .hero__scene canvas { display: none; }
.hero__copy { max-width: 40rem; bottom: auto; top: 50%; translate: 0 -50%; }
.hero__copy .sc-display--xl { max-width: 11ch; }
.hero__lede { margin-top: var(--sc-5); max-width: 38ch; }
.hero__cta { display: flex; gap: var(--sc-3); flex-wrap: wrap; margin-top: var(--sc-6); }
.hero__eyebrow { display: block; margin-bottom: var(--sc-4); }
.hero__turn { max-width: 40rem; bottom: auto; top: 50%; translate: 0 -50%; }
.hero__turn .sc-display--lg { max-width: 11ch; }
.hero__turn p { margin-top: var(--sc-4); max-width: 20ch; }
.hero__scrim { display: none; }
.hero__scrim-l { z-index: 2; --sc-scrim-a: 88%; }

/* -------------------------------------------------------------- tension -- */
.tension { padding-block: calc(var(--sc-section) * 1.15); }
.tension__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--sc-7); align-items: start; }
.tension__lead { position: sticky; top: calc(var(--nb-bar-h) + var(--sc-6)); }
.tension__p {
  font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); line-height: 1.28;
  letter-spacing: -0.02em; color: var(--sc-ink); max-width: 30ch; margin: 0; text-wrap: pretty;
}
.tension__p .w { display: inline-block; opacity: 0.18; will-change: opacity; }
.tension__turn { margin-top: var(--sc-8); overflow: visible; }
.tension__turn .sc-display--xl { line-height: 1; padding-bottom: 0.12em; }
.tension__turn em { font-style: normal; color: var(--sc-accent); }
.tension__note { margin-top: var(--sc-5); max-width: 44ch; }

/* ------------------------------------------------------------------ peak -- */
.peak { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: calc(var(--nb-bar-h) + 100px + 2vh) var(--sc-gutter) 0; }
.peak__head .sc-display--lg { font-size: var(--sc-t-2xl); }
.peak__head { text-align: center; max-width: 44rem; will-change: transform; transform: translate3d(0, var(--nb-ty, 0px), 0); }
.peak__head .sc-body { margin-inline: auto; margin-top: var(--sc-4); }
.peak__persp { perspective: 1000px; width: min(100%, 66rem, calc((100vh - 24rem) * 16 / 9)); margin-top: 2.5vh; will-change: transform; transform: translate3d(0, var(--nb-ty, 0px), 0); }
.peak__card {
  transform: rotateX(var(--nb-rx, 20deg)) scale(var(--nb-sc, 1.05));
  transform-origin: 50% 50%;
  border-radius: 28px; padding: 0.55rem;
  background: var(--sc-surface);
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, var(--sc-ink) 18%, transparent),
    var(--sc-edge),
    0 9px 20px hsl(var(--sc-shadow-color) / 0.32),
    0 37px 37px hsl(var(--sc-shadow-color) / 0.28),
    0 84px 50px hsl(var(--sc-shadow-color) / 0.16),
    0 149px 60px hsl(var(--sc-shadow-color) / 0.05);
  will-change: transform;
}
.peak__screen { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 20px; background: #0d0318; }
.peak__screen video, .peak__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peak__mute {
  position: absolute; right: 0.9rem; bottom: 0.9rem; z-index: 2;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; cursor: pointer;
  background: color-mix(in oklab, var(--sc-canvas) 70%, transparent); color: var(--sc-ink);
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out);
}
.peak__mute:hover { background: var(--sc-accent); color: var(--sc-accent-ink); }
.peak__mute:active { transform: scale(0.94); }
.peak__mute svg { width: 1.05rem; height: 1.05rem; }
.peak__mute [hidden] { display: none; }
.peak__caption { position: absolute; inset-inline: var(--sc-gutter); bottom: clamp(1.25rem, 3vh, 2.5rem); z-index: 3; display: flex; align-items: center; justify-content: center; gap: var(--sc-5); flex-wrap: wrap; }
.peak__caption .sc-lede { font-size: var(--sc-t-base); max-width: 46ch; }

/* -------------------------------------------------------------- services -- */
.svc { padding-block: var(--sc-section) calc(var(--sc-section) * 0.45); }

.svc__head { max-width: 40rem; margin-bottom: var(--sc-9); }
.svc__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sc-8); align-items: center;
  padding-block: var(--sc-8); border-top: 1px solid var(--sc-hairline);
}
.svc__row:last-child { border-bottom: 1px solid var(--sc-hairline); }
.svc__row--flip .svc__media { order: -1; }
.svc__row.svc__row--full { grid-template-columns: 1fr; gap: var(--sc-7); }
.svc__row--full .svc__text { max-width: 40rem; }
.svc__row--full .svc__media { max-width: 62rem; width: 100%; }
.svc__text { max-width: 34rem; }
.svc__text .sc-label { display: block; margin-bottom: var(--sc-4); }
.svc__text .sc-body { margin-top: var(--sc-4); }
.svc__list { list-style: none; padding: 0; margin: var(--sc-5) 0 0; display: grid; gap: 0.55rem; }
.svc__list li { position: relative; padding-left: 1.15rem; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--sc-accent); }
.svc__text .link { margin-top: var(--sc-5); }
.svc__media { position: relative; }
.svc__media img { width: 100%; height: auto; border-radius: var(--sc-r-lg); box-shadow: var(--sc-e3); }
.svc__media--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.svc__media--shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.svc__media--shot::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--sc-r-lg); pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sc-ink) 14%, transparent);
}
.svc__diagram { width: 100%; height: auto; }
.svc__diagram text { font-family: var(--sc-font-display); font-weight: 600; font-size: 13px; fill: var(--sc-ink); letter-spacing: 0.02em; }
.svc__diagram .d-soft { fill: var(--sc-ink-soft); font-weight: 500; font-size: 11.5px; }
.svc__diagram .d-line { fill: none; stroke: var(--sc-ink-soft); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svc__diagram .d-acc { stroke: var(--sc-accent); }
.svc__diagram .d-box { fill: var(--sc-surface); stroke: color-mix(in oklab, var(--sc-ink) 22%, transparent); stroke-width: 1; }
.svc__diagram .d-core { fill: var(--sc-accent); }
.svc__diagram .d-draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: calc(var(--len, 400) * (1 - var(--nb-draw, 0))); }
.svc__diagram .d-pop { opacity: var(--nb-pop, 0); transition: opacity 240ms var(--sc-ease-out); }

/* ------------------------------------------------------------------- rail -- */
.rail { display: flex; align-items: stretch; gap: clamp(1rem, 2.4vw, 2rem); padding-inline: var(--sc-gutter); height: 100%; align-items: center; }
.rail__lead { flex: none; width: clamp(18rem, 32vw, 30rem); padding-right: var(--sc-6); }
.rail__lead .sc-body { margin-top: var(--sc-4); }
.item { flex: none; width: clamp(17rem, 27vw, 24rem); display: flex; flex-direction: column; gap: var(--sc-4); text-decoration: none; color: inherit; }
.item__img { border-radius: var(--sc-r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sc-surface); box-shadow: var(--sc-e2); transform-style: preserve-3d; }
.item__img img { width: 100%; height: 100%; object-fit: cover; }
.item--wide { width: clamp(22rem, 36vw, 32rem); }
.item--wide .item__img { aspect-ratio: 16 / 10; }
.item__img--top img { object-position: top; }
.item h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-lg); letter-spacing: -0.02em; line-height: 1.1; }
.item p { margin: 0.25rem 0 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.rail__end { flex: none; width: clamp(16rem, 26vw, 22rem); padding-left: var(--sc-6); }
.rail__end .sc-body { margin-top: var(--sc-4); }
.rail__end .link { margin-top: var(--sc-5); }
/* items settle in sequence as the rail is pulled; first item exempt */
@media (prefers-reduced-motion: no-preference) {
  .item:nth-child(n+3) { opacity: calc(0.55 + 0.45 * clamp(0, (var(--sc-p, 0) - var(--nb-at, 0)) * 6, 1)); }
  .item:nth-child(3) { --nb-at: 0.05; } .item:nth-child(4) { --nb-at: 0.14; } .item:nth-child(5) { --nb-at: 0.24; }
  .item:nth-child(6) { --nb-at: 0.34; } .item:nth-child(7) { --nb-at: 0.45; } .item:nth-child(8) { --nb-at: 0.56; } .item:nth-child(9) { --nb-at: 0.66; }
}
@media (prefers-reduced-motion: reduce) { .rail { height: auto; padding-block: var(--sc-6); } }

/* -------------------------------------------------------------------- faq -- */
.faq { padding-block: var(--sc-section); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--sc-8); align-items: start; }
.faq__lead { position: sticky; top: calc(var(--nb-bar-h) + var(--sc-6)); }
.faq__lead .sc-body { margin-top: var(--sc-4); }
.faq details { border-top: 1px solid var(--sc-hairline); }
.faq details:last-child { border-bottom: 1px solid var(--sc-hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sc-5);
  padding: var(--sc-5) 0; font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-lg); letter-spacing: -0.02em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 0.9rem; height: 0.9rem;
  background: linear-gradient(var(--sc-ink-soft), var(--sc-ink-soft)) center/100% 1.5px no-repeat, linear-gradient(var(--sc-ink-soft), var(--sc-ink-soft)) center/1.5px 100% no-repeat;
  transition: transform var(--sc-d-base) var(--sc-ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--sc-accent); }
.faq summary:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 4px; border-radius: var(--sc-r-sm); }
.faq__a { padding: 0 0 var(--sc-6); color: var(--sc-ink-soft); max-width: 60ch; }
.faq__a a { color: var(--sc-ink); }

/* ------------------------------------------------------------------ close -- */
.close { display: flex; flex-direction: column; justify-content: center; }
.close__inner {
  width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding: calc(var(--nb-bar-h) + 2vh) var(--sc-gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--sc-8); align-items: center; flex: 1;
}
.close__text .sc-display--lg { max-width: 12ch; }
.close__text .sc-lede { margin-top: var(--sc-5); }
.close__text .btn { margin-top: var(--sc-6); }
.close__form { display: grid; gap: var(--sc-3); }
.field {
  width: 100%; padding: 0.95rem 1.1rem; border-radius: var(--sc-r-md);
  background: color-mix(in oklab, var(--sc-ink) 5%, transparent); color: var(--sc-ink);
  border: 1px solid var(--sc-hairline-strong); outline: none;
  transition: border-color var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out);
}
.field::placeholder { color: color-mix(in oklab, var(--sc-ink-soft) 70%, transparent); }
.field:hover { border-color: color-mix(in oklab, var(--sc-ink) 34%, transparent); }
.field:focus { border-color: var(--sc-accent); background: color-mix(in oklab, var(--sc-accent) 7%, transparent); }
textarea.field { resize: vertical; min-height: 6.5rem; }
.close__legal { font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.close__legal a { color: var(--sc-ink); }
.close__ok { color: var(--sc-accent); font-weight: 500; }
.foot {
  width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding: var(--sc-5) var(--sc-gutter) var(--sc-5);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sc-4); flex-wrap: wrap;
  border-top: 1px solid var(--sc-hairline); font-size: var(--sc-t-xs); color: var(--sc-ink-soft);
}
.foot nav { display: flex; gap: var(--sc-5); }
.foot a { color: var(--sc-ink-soft); text-decoration: none; }
.foot a:hover { color: var(--sc-ink); }

/* ------------------------------------------------------------------ modal -- */
.modal {
  position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: var(--sc-5);
  background: color-mix(in oklab, #0F041C 82%, transparent);
  opacity: 0; pointer-events: none; transition: opacity var(--sc-d-base) var(--sc-ease-out);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__box {
  width: 100%; max-width: 38rem; max-height: 92vh; overflow-y: auto; scrollbar-width: none;
  background: var(--sc-surface); border-radius: var(--sc-r-lg); padding: var(--sc-7) var(--sc-6) var(--sc-6);
  box-shadow: var(--sc-e3), var(--sc-edge); position: relative;
  transform: translate3d(0, 12px, 0) scale(0.985); transition: transform var(--sc-d-slow) var(--sc-ease-out);
}
.modal__box::-webkit-scrollbar { display: none; }
.modal.is-open .modal__box { transform: none; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--sc-hairline-strong); background: transparent; color: var(--sc-ink-soft); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; line-height: 1;
}
.modal__close:hover { color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 8%, transparent); }
.modal__close:active { transform: scale(0.94); }
.modal__form { display: grid; gap: var(--sc-4); margin-top: var(--sc-6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-4); }
.form-row label, .modal__form > label { display: grid; gap: 0.4rem; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.form-row label b, .modal__form label b { color: var(--sc-accent); font-weight: 600; }
.pick { display: grid; gap: 0.4rem; }
.pick__row {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 0.95rem; border-radius: var(--sc-r-md);
  border: 1px solid var(--sc-hairline); cursor: pointer; font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-sm);
  transition: border-color var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out);
}
.pick__row:hover { border-color: var(--sc-hairline-strong); }
.pick__row:has(:checked) { border-color: var(--sc-accent); background: color-mix(in oklab, var(--sc-accent) 9%, transparent); }
.pick__row input { appearance: none; width: 1rem; height: 1rem; border-radius: 50%; border: 1.5px solid var(--sc-ink-soft); margin: 0; flex: none; display: grid; place-content: center; }
.pick__row input::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--sc-accent); transform: scale(0); transition: transform var(--sc-d-fast) var(--sc-ease-out); }
.pick__row input:checked { border-color: var(--sc-accent); }
.pick__row input:checked::before { transform: scale(1); }
.pick__row input:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.modal__ok { display: none; flex-direction: column; align-items: flex-start; gap: var(--sc-4); padding-top: var(--sc-5); }
.modal__ok.is-shown { display: flex; }
.modal__ok .tick { width: 3rem; height: 3rem; border-radius: 50%; background: color-mix(in oklab, var(--sc-accent) 18%, transparent); display: grid; place-content: center; color: var(--sc-accent); }

/* ------------------------------------------------------------------ utils -- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inapp-browser .hero__scene canvas { display: none; }
.inapp-browser .hero__scene img { display: block; }

/* ----------------------------------------------------------------- mobile -- */
@media (max-width: 1060px) {
  .bar__links { display: none; }
  .bar__menu { display: inline-flex; }
  .bar__cta { display: none; }
}
@media (max-width: 860px) {
  :root { --nb-bar-h: 4rem; }
  .hero__scene { inset: 0; width: 100%; top: 0; height: 54svh; }
  .hero__glow { right: -30vmax; top: -30vmax; }
  .hero__copy, .hero__turn { top: auto; translate: none; bottom: clamp(2rem, 6vh, 4rem); max-width: none; }
  .hero__copy .sc-display--xl { font-size: var(--sc-t-3xl); max-width: none; }
  .hero__turn .sc-display--lg { font-size: var(--sc-t-xl); }
  .hero__lede { margin-top: var(--sc-4); font-size: var(--sc-t-base); }
  .hero__scrim { display: block; background: linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 98%, transparent) 0%, color-mix(in oklab, var(--sc-canvas) 94%, transparent) 40%, color-mix(in oklab, var(--sc-canvas) 60%, transparent) 58%, transparent 72%); }
  .hero__scrim-l { display: none; }
  .hero__eyebrow { color: var(--sc-ink); }
  .tension__wrap { grid-template-columns: 1fr; gap: var(--sc-6); }
  .tension__lead { position: static; }
  .tension__p { font-size: var(--sc-t-lg); }
  .peak { padding-top: calc(var(--nb-bar-h) + 60px + 1vh); }
  .peak__persp { margin-top: 2vh; }
  .peak__card { border-radius: 18px; padding: 0.35rem; }
  .peak__screen { border-radius: 14px; }
  .peak__persp { width: 100%; }
  .peak__caption { gap: var(--sc-3); }
  .peak__caption .sc-lede { font-size: var(--sc-t-sm); }
  .svc__row, .svc__row--flip { grid-template-columns: 1fr; gap: var(--sc-5); padding-block: var(--sc-6); }
  .svc__row--flip .svc__media { order: 0; }
  .svc__head { margin-bottom: var(--sc-6); }
  .svc__media--diagram { display: none; } /* 960-unit diagram is unreadable at 350px; the list carries it */
  .rail { padding-inline: var(--sc-gutter); }
  .rail__lead { width: 76vw; }
  .item { width: 72vw; }
  .item--wide { width: 82vw; }
  .rail__end { width: 70vw; }
  .faq__wrap { grid-template-columns: 1fr; gap: var(--sc-5); }
  .faq__lead { position: static; }
  .faq summary { font-size: var(--sc-t-base); padding: var(--sc-4) 0; }
  .close__inner { grid-template-columns: 1fr; gap: var(--sc-5); padding-top: calc(var(--nb-bar-h) + 1vh); align-content: center; }
  .close__text .sc-display--lg { font-size: var(--sc-t-2xl); }
  .close__text .sc-lede { font-size: var(--sc-t-base); margin-top: var(--sc-3); }
  .close__text .btn { margin-top: var(--sc-4); }
  textarea.field { min-height: 4.5rem; }
  .foot { padding-block: var(--sc-4); }
  .foot nav { gap: var(--sc-4); }
  .form-row { grid-template-columns: 1fr; }
  .modal__box { padding: var(--sc-6) var(--sc-5) var(--sc-5); }
}
