

@font-face { font-family: 'CocogoosePro'; src: url('../fonts/CocogoosePro-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'CocogoosePro'; src: url('../fonts/CocogoosePro-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'CocogoosePro'; src: url('../fonts/CocogoosePro-SemiBold.otf') format('opentype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'CocogoosePro'; src: url('../fonts/CocogoosePro-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #FBFCFD;
  --paper-2: #F2F5F8;
  --paper-3: #E8EDF1;
  --line: #DCE3E9;
  --line-2: #C6D1D9;
  --ink: #0B1A23;
  --ink-2: #44555F;
  --ink-3: #6B7C87;
  --cyan: #00B2E3;
  --cyan-hover: #12BFEE;
  --cyan-deep: #00799F;
  --cyan-wash: #E3F5FB;
  --night: #0A141B;
  --amber: #F5B65A;
  --amber-wash: #FFF4E2;
  --amber-ink: #7A4A06;
  --dusk: linear-gradient(105deg, #0B1A23 0%, #122A3C 52%, #3D2B22 100%);
  --good: #13855A;

  --display: 'CocogoosePro', 'Hanken Grotesk', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --shadow-photo: 0 34px 60px -34px rgba(11, 26, 35, 0.55), 0 0 0 1px rgba(11, 26, 35, 0.06);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--masthead-h, var(--header-h)) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: var(--cyan-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1A2C37; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--paper-2); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.icon-btn:hover { background: var(--paper-3); }

.ribbon { background: var(--dusk); color: #fff; font-size: 14px; }
.ribbon-inner { display: flex; align-items: center; gap: 14px; min-height: 42px; padding-block: 6px; }
.ribbon-pill { flex: none; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 12.5px; padding: 4px 9px; border-radius: 6px; letter-spacing: .01em; }
.ribbon-name { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.ribbon-left { font: 500 12.5px var(--mono); color: rgba(255, 255, 255, .72); }
.ribbon-cta { margin-left: auto; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.ribbon-cta:hover { border-bottom-color: #fff; }
.ribbon-close { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .7); }
.ribbon-close:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.ribbon-close svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.masthead { position: sticky; top: 0; z-index: 40; }
.top { position: relative; z-index: 2; background: rgba(251, 252, 253, .96); border-bottom: 1px solid transparent; transition: border-color .2s; }

.ribbon { position: relative; z-index: 1; overflow: hidden;
  transition: max-height .5s cubic-bezier(.55, 0, .3, 1), transform .5s cubic-bezier(.55, 0, .3, 1), opacity .4s ease .1s; }
.ribbon.leaving { max-height: 0 !important; transform: translateY(-100%); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ribbon { transition: none; } }
.top.scrolled { border-bottom-color: var(--line); }
.top-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { border-radius: 8px; }
.brand-name { font: 700 17px/1 var(--display); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav-link { border: 0; background: none; padding: 8px 12px; border-radius: 8px; font: 500 15px var(--body); color: var(--ink-2); text-decoration: none; }
.nav-link:hover { color: var(--ink); background: var(--paper-2); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.signin { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink-2); }
.signin:hover { color: var(--ink); }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--paper-2); place-items: center; }
.menu-btn svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.sheet { border-top: 1px solid var(--line); background: var(--paper); }
.sheet-inner { display: grid; padding-block: 8px 16px; }
.sheet-link { display: block; text-align: left; border: 0; background: none; padding: 14px 2px; border-bottom: 1px solid var(--line); font: 600 17px var(--body); color: var(--ink); text-decoration: none; }

.hero {
  display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 4.5vw, 72px); align-items: center;
  padding-block: clamp(20px, 4.5vh, 52px) clamp(28px, 5vh, 56px);
}
.hero-copy > * { animation: rise .6s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { translate: 0 12px; } } 

.byline { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.byline img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.byline:hover { border-color: var(--line-2); color: var(--ink); }
.hero h1 { margin-top: 22px; font: 700 clamp(2.3rem, 1.35rem + 2.9vw, 3.1rem)/1.06 var(--display); letter-spacing: -.02em; }
.lede { margin-top: 18px; max-width: 34ch; font-size: clamp(17px, 16px + .3vw, 19px); color: var(--ink-2); }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.fine { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-3); }
.fine li { display: inline-flex; align-items: center; gap: 7px; }
.fine li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

.stage { min-width: 0; animation: rise .7s var(--ease) .1s both; }
.frame {
  position: relative; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--night);
  box-shadow: var(--shadow-photo); cursor: pointer; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; touch-action: pan-y;
}
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.shot-before { opacity: 0; }
.shot-next { visibility: hidden; clip-path: inset(0 100% 0 0); z-index: 2; }
.frame.peek .shot-before { opacity: 1; z-index: 3; }
.crop { position: absolute; z-index: 4; width: 22px; height: 22px; border: 0 solid rgba(255, 255, 255, .82); pointer-events: none; }
.c1 { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.c2 { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.c3 { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.c4 { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }
.scanline { position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; opacity: 0; box-shadow: 0 0 16px 3px rgba(0, 178, 227, .7); pointer-events: none; }
.frame-tag, .frame-hint {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10, 20, 27, .66); color: #fff; border-radius: 8px; pointer-events: none;
}
.frame-tag { top: 18px; left: 46px; padding: 8px 12px; font: 600 14px/1.2 var(--body); max-width: calc(100% - 92px); }
.tag-after { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.tag-before { display: none; }
.frame.peek .tag-after { display: none; }
.frame.peek .tag-before { display: inline; }
.frame.peek .tag-dot, .frame.orig .tag-dot { background: #fff; }
.tag-runs { margin-left: 10px; font: 500 11.5px var(--mono); color: rgba(255, 255, 255, .66); }
.frame-hint { right: 46px; bottom: 18px; padding: 7px 10px; font: 500 12.5px/1.2 var(--body); color: rgba(255, 255, 255, .88); transition: opacity .25s; }
.frame-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.frame.peek .frame-hint { opacity: 0; }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
.progress { position: absolute; z-index: 5; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.progress.run { animation: fill var(--dwell, 3.8s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

.stage-controls { margin-top: 16px; display: grid; gap: 14px; }
.scenes {
  position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 19, 27, .78);
}
.scene-glider {
  position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 10px;
  background: linear-gradient(180deg, rgba(0, 178, 227, .24), rgba(0, 178, 227, .08));
  box-shadow: inset 0 0 0 1px rgba(0, 178, 227, .55), 0 14px 30px -16px rgba(0, 178, 227, .9);
  transition: transform .65s var(--ease), width .65s var(--ease);
}
.scene {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 42px; padding: 0 8px;
  border: 0; border-radius: 10px; background: none; color: var(--ink-3); font: 600 14.5px var(--body); white-space: nowrap;
  transition: color .35s;
}
.scene:hover, .scene[aria-selected="true"] { color: var(--ink); }
.scene:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.scene-short { display: none; }
.scene-count { font: 500 11.5px var(--mono); color: var(--ink-3); transition: color .35s; }
.scene[aria-selected="true"] .scene-count { color: #5CD2F2; }

.reel {
  --tw: 92px; position: relative; display: flex; align-items: flex-end; gap: 16px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 8px 4px 14px; margin: -8px -4px -14px; transition: opacity .21s ease;
}
.reel::-webkit-scrollbar { display: none; }
.reel.reel-out { opacity: 0; }
.reel-group { flex: none; display: grid; gap: 9px; }
.reel-label {
  justify-self: start; display: flex; align-items: baseline; gap: 7px; white-space: nowrap;
  font: 600 11px/12px var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
}
.reel-g { color: var(--ink-3); }
.reel-g::before { content: "\00B7"; margin-right: 7px; }
.reel-n { font: 500 10.5px/12px var(--mono); letter-spacing: 0; color: var(--ink-3); }
.reel-items { display: flex; gap: 8px; }
.reel-sep { flex: none; align-self: stretch; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 30%, var(--line) 90%, transparent); }
.reel-sep.major { margin-inline: 6px; background: linear-gradient(180deg, transparent, rgba(0, 178, 227, .5) 30%, rgba(0, 178, 227, .5) 90%, transparent); }
.look {
  position: relative; flex: none; width: var(--tw); aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 9px;
  overflow: hidden; background: #131D28; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 12px 20px -14px rgba(0, 0, 0, .9);
  cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .35s var(--ease);
}
.look img {
  display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; -webkit-user-drag: none;
  filter: brightness(.66) saturate(.82); transition: opacity .6s ease, filter .45s ease;
}
.look img.on { opacity: 1; }
.look:focus-visible img, .look[aria-checked="true"] img { filter: none; }
@media (hover: hover) {
  .look:hover img { filter: none; }
  .look:not([aria-checked="true"]):hover { transform: translateY(-3px); }
}
.look:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.reel-ring {
  position: absolute; z-index: 2; left: 0; top: 0; border-radius: 13px; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 2px var(--cyan), 0 0 0 1px rgba(0, 178, 227, .16), 0 12px 28px -12px rgba(0, 178, 227, .85);
  transition: opacity .35s;
}
.reel-ring.on { opacity: 1; }
.ring-clip { position: absolute; inset: 4px; border-radius: 9px; overflow: hidden; }
.ring-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.ring-bar.run { animation: fill var(--dwell, 3.8s) linear forwards; }
.reel .enter { animation: reel-in .75s cubic-bezier(.2, .75, .25, 1) var(--d, 0ms) both; }
.reel .reel-ring.enter { animation-name: ring-in; animation-duration: .6s; }
@keyframes reel-in { from { opacity: 0; translate: 34px 0; } }
@keyframes ring-in { from { opacity: 0; scale: 1.2; } }
@media (max-width: 520px) {
  .stage-controls { margin-top: 12px; gap: 12px; }
  .scene { height: 38px; padding: 0 4px; font-size: 13.5px; }
  .scene-name, .scene-count { display: none; }
  .scene-short { display: inline; }
  .reel { --tw: 78px; gap: 12px; }
  .reel-items { gap: 6px; }
  .reel-label { font-size: 10px; letter-spacing: .07em; gap: 6px; }
  .reel-g::before { margin-right: 6px; }
}

.proof { background: var(--paper-2); border-block: 1px solid var(--line); padding-block: 22px 18px; }
.proof-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 36px; }
.live { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22B573; box-shadow: 0 0 0 0 rgba(34, 181, 115, .5); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(34, 181, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 181, 115, 0); } }
.stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 13px; color: var(--ink-3); }
.stats dd { margin: 0; font: 700 clamp(1.45rem, 1.1rem + .9vw, 1.9rem)/1.1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.last { font: 500 12.5px var(--mono); color: var(--ink-3); text-align: right; }
.facts { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14.5px; color: var(--ink-2); }
.facts b { color: var(--ink); font-weight: 700; }

.block { padding-block: clamp(56px, 9vh, 96px); }
.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.block-head { display: flex; align-items: end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vh, 40px); }
h2 { font: 700 clamp(1.8rem, 1.2rem + 1.9vw, 2.75rem)/1.08 var(--display); letter-spacing: -.018em; }
.sub { margin-top: 10px; color: var(--ink-2); }

.flows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.flow .frame { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: 0 24px 40px -30px rgba(11, 26, 35, .5), 0 0 0 1px rgba(11, 26, 35, .06); }
.flow .shot-after { transition: transform .5s var(--ease); }
.flow .frame:hover .shot-after { transform: scale(1.025); }
.flow .frame-hint { right: 12px; bottom: 12px; padding: 7px; border-radius: 50%; }
.flow-more { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font: 600 14.5px var(--body); color: var(--cyan-deep); }
.flow-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.flow-more:hover svg { transform: translateX(3px); }
.flow .frame-tag { display: none; }
.flow .frame.peek .frame-tag { display: inline-flex; top: 12px; left: 12px; }
.flow h3 { margin-top: 16px; font: 700 18px/1.25 var(--body); }
.flow p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }
.perks { margin-top: clamp(36px, 6vh, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.perk-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--cyan-wash); display: grid; place-items: center; }
.perk-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perks h3 { margin-top: 12px; font: 700 16px/1.3 var(--body); }
.perks p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }

.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.steps { margin: clamp(22px, 4vh, 34px) 0 30px; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 4px 14px; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps .n { font: 700 28px/1 var(--display); color: var(--cyan-deep); letter-spacing: -.02em; }
.steps h3 { font: 700 18px/1.3 var(--body); }
.steps p { grid-column: 2; color: var(--ink-2); font-size: 15.5px; }

.receipt {
  position: relative; margin: 10px 0 10px auto; width: min(100%, 440px); padding: 30px 28px 26px;
  background: #fff; font: 400 13.5px/1.5 var(--mono); color: var(--ink);
  transform: rotate(-1.2deg); filter: drop-shadow(0 22px 26px rgba(11, 26, 35, .14));
}
.receipt::after { content: ''; position: absolute; left: 0; right: 0; height: 10px; }
.receipt::after { bottom: -10px; background: linear-gradient(135deg, #fff 33.33%, transparent 33.33%) 0 0 / 16px 20px repeat-x, linear-gradient(225deg, #fff 33.33%, transparent 33.33%) 0 0 / 16px 20px repeat-x; }
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--ink); }
.receipt-head > span:first-child { font: 700 15px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.receipt-sub { color: var(--ink-3); font-size: 12px; }
.r-sec { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.r-row { display: flex; align-items: baseline; gap: 8px; }
.r-dots { flex: 1; min-width: 12px; border-bottom: 1.5px dotted var(--line-2); transform: translateY(-4px); }
.r-price { font-weight: 500; white-space: nowrap; }
.r-terms { color: var(--ink-3); font-size: 12px; margin: 1px 0 12px; }
.r-cut { margin: 16px 0 14px; border-top: 1.5px dashed var(--line-2); }
.r-total .r-item { font-weight: 500; }
.r-total .r-price { color: var(--cyan-deep); font-weight: 700; font-size: 15px; }
.r-checks { margin-top: 10px; display: grid; gap: 3px; color: var(--ink-2); font-size: 12.5px; }
.r-checks li::before { content: '✓  '; color: var(--good); font-weight: 700; }
.r-foot { margin-top: 16px; padding-top: 12px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 9px; font: 600 14.5px var(--body); color: var(--ink-2); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 26, 35, .12), 0 0 0 1px var(--line); }
.special { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 22px; padding: 14px 18px; border-radius: 12px; background: var(--dusk); color: #fff; font-size: 15px; }
.special-pill { background: var(--amber); color: var(--ink); font-weight: 700; font-size: 13px; padding: 4px 9px; border-radius: 6px; }
.special-left { margin-left: auto; font: 500 13px var(--mono); color: rgba(255, 255, 255, .75); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.packs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.plan-pop { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-flag { position: absolute; top: 18px; right: 18px; font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--cyan); color: var(--ink); padding: 5px 9px; border-radius: 6px; }
.plan-name { font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.plan-pop .plan-name { color: rgba(255, 255, 255, .62); }
.plan-price { margin-top: 12px; font: 700 46px/1 var(--display); letter-spacing: -.02em; }
.plan-price .cur { font-size: 26px; vertical-align: 14px; margin-right: 2px; }
.plan-price .per { font: 500 16px var(--body); color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.plan-pop .plan-price .per { color: rgba(255, 255, 255, .6); }
.plan-credits { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.plan-pop .plan-credits { color: rgba(255, 255, 255, .78); }
.plan-bonus { margin-top: 14px; padding: 9px 11px; border-radius: 9px; background: var(--amber-wash); color: var(--amber-ink); font-size: 13.5px; font-weight: 600; }
.plan-pop .plan-bonus { background: rgba(245, 182, 90, .16); color: var(--amber); }
.ticks { margin: 18px 0 22px; display: grid; gap: 8px; font-size: 15px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.ticks svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--good); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan-pop .ticks svg { stroke: var(--cyan); }
.plan-trial { margin: -6px 0 18px; font-size: 13.5px; color: var(--ink-2); padding: 10px 12px; border-radius: 9px; background: var(--cyan-wash); }
.plan-trial b { color: var(--ink); }
.plan .btn { margin-top: auto; }
.pack-credits { margin-top: 10px; font: 700 22px var(--display); letter-spacing: -.01em; }
.pack-credits s, .pack-per s { color: var(--ink-3); font-weight: 400; margin-right: 6px; }
.plan-pop .pack-credits s, .plan-pop .pack-per s { color: rgba(255, 255, 255, .5); }
.pack-credits { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pack-bonus { font: 700 12px var(--body); background: var(--amber); color: var(--ink); padding: 3px 7px; border-radius: 5px; letter-spacing: 0; }
.pack-per { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.plan-pop .pack-per { color: rgba(255, 255, 255, .78); }
.pack-note { margin: 14px 0 18px; font-size: 14px; color: var(--ink-3); }
.plan-pop .pack-note { color: rgba(255, 255, 255, .6); }
.price-switch { margin-top: 22px; color: var(--ink-2); font-size: 15.5px; }
.price-switch button { border: 0; background: none; padding: 0; font-weight: 700; color: var(--cyan-deep); text-decoration: underline; text-underline-offset: 3px; }
.price-notes { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; color: var(--ink-3); }
.refer { margin-top: clamp(28px, 5vh, 44px); display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: 22px 24px; border: 1px dashed var(--line-2); border-radius: 16px; }
.refer h3 { font: 700 19px/1.3 var(--body); }
.refer p { margin-top: 4px; color: var(--ink-2); font-size: 15px; max-width: 62ch; }

.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-story { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start; }
.headshot { width: 150px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-photo); }
.about-story h2 { font-size: clamp(1.7rem, 1.25rem + 1.2vw, 2.2rem); }
.about-story p { margin-top: 14px; color: var(--ink-2); max-width: 60ch; }
.about-story blockquote { margin: 18px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--cyan); }
.about-story blockquote p { margin: 0; color: var(--ink); font-size: 17px; }
.about-story cite { display: block; margin-top: 8px; font: 500 13px var(--body); color: var(--ink-3); font-style: normal; }
.about-story .small { font-size: 15px; }
.about-contact { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.about-contact h3 { font: 700 21px/1.25 var(--display); letter-spacing: -.01em; }
.about-contact > p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.contact-links { margin-top: 18px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.contact-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s; min-width: 0; }
.contact-card:hover { border-color: var(--ink); }
.cc-label { font-size: 12.5px; color: var(--ink-3); }
.cc-value { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-form { margin-top: 18px; display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper);
  font: 400 16px var(--body); color: var(--ink); resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 178, 227, .18); }
.contact-form .btn { justify-self: start; }
.form-status { font-size: 14px; color: var(--ink-2); min-height: 1em; }

.foot { background: var(--ink); color: rgba(255, 255, 255, .72); padding-block: 56px 26px; }
.foot-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 40px; }
.brand-light { color: #fff; }
.foot-brand p { margin-top: 14px; max-width: 34ch; font-size: 15px; }
.lang select { margin-top: 18px; appearance: none; -webkit-appearance: none; padding: 9px 36px 9px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; color: #fff; font: 500 14px var(--body); }
.lang option { color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h4 { font: 600 12.5px var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 12px; }
.foot-cols a { display: block; padding: 5px 0; color: rgba(255, 255, 255, .86); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255, 255, 255, .55); }

.dock { display: none; }

.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(11, 26, 35, .58); }
.modal[hidden] { display: none; }
.modal-panel { width: min(1180px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; background: var(--paper); border-radius: 20px; padding: 22px 24px 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); animation: pop .28s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.99); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.modal-head h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); }
.video { width: min(1000px, 100%); }
.v-tab { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 13px; font: 600 14px var(--body); color: var(--ink-2); }
.v-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.v-frame { margin-top: 16px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--night); }
.v-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 14.5px; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.rv { transition: translate .9s var(--ease), opacity .9s ease; }
.rv-wait { translate: 0 30px; opacity: 0; }
.modal-open { overflow: hidden; }

.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px); mask-image: linear-gradient(90deg, transparent, #000 44px); }
.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }

.modal-open .mock { display: none; }
.mock { position: fixed; z-index: 70; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 12px 30px -12px rgba(11, 26, 35, .35); font-size: 13px; color: var(--ink-2); }
.mock b { color: var(--ink); }
.mock button { border: 1px solid var(--line-2); background: var(--paper-2); border-radius: 8px; padding: 6px 10px; font: 600 13px var(--body); }

@media (max-width: 1100px) {
  .top-inner { gap: 18px; }
  .nav-link { padding: 8px 10px; }
  
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 18px; }
  .hero-copy { display: contents; }
  .byline { justify-self: start; order: 1; }
  .hero h1 { order: 2; margin-top: 14px; }
  .lede { order: 3; max-width: 46ch; margin-top: 12px; }
  .stage { order: 4; margin-top: 22px; }
  .cta-row { order: 5; margin-top: 22px; }
  .fine { order: 6; margin-top: 14px; }
  .flows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: 1fr; }
  .receipt { margin-inline: auto; }
  .about { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  
  .top { background: rgb(251, 252, 253); }
  .top-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand actions" "nav nav";
    height: auto; column-gap: 10px; row-gap: 0; }
  .brand { grid-area: brand; min-height: 58px; min-width: 0; }
  .brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top-actions { grid-area: actions; min-height: 58px; margin-left: 0; }
  .nav { grid-area: nav; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px;
    gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-link { padding: 6px 10px; font-size: 14.5px; white-space: nowrap; flex: none; }
  .nav-link:first-child { margin-left: -10px; }
  .menu-btn { display: grid; }
  .signin { display: none; }
}
@media (max-width: 520px) {
  .nav { gap: 0; }
  .nav-link { padding: 6px 8px; font-size: 14px; }
  .nav-link:first-child { margin-left: -8px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .top-actions { gap: 8px; }
  .top-actions .btn { padding-inline: 10px; font-size: 14px; }
  .menu-btn { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  .brand { gap: 6px; }
  .brand img { width: 26px; height: 26px; }
  .brand-name { font-size: 13.5px; }
  .top-actions .btn { padding-inline: 8px; font-size: 13px; }
  .menu-btn { width: 36px; height: 36px; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .ribbon { font-size: 13px; }
  .ribbon-inner { gap: 10px; }
  .ribbon-name { display: none; }
  .top-actions .btn { padding-inline: 12px; }
  .proof-inner { grid-template-columns: 1fr; gap: 10px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .last { text-align: left; }
  .facts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; gap: 22px; }
  .facts::-webkit-scrollbar { display: none; }
  .flows, .plans, .packs {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 12px;
  }
  .flows::-webkit-scrollbar, .plans::-webkit-scrollbar, .packs::-webkit-scrollbar { display: none; }
  .flow, .plan { flex: 0 0 84%; scroll-snap-align: start; }
  .perks { grid-template-columns: 1fr; gap: 18px; }
  .perks li { display: grid; grid-template-columns: 38px 1fr; gap: 0 14px; }
  .perks li h3 { margin-top: 0; }
  .perks li .perk-icon { grid-row: span 2; }
  .block-head { align-items: start; }
  .special-left { margin-left: 0; }
  .receipt { transform: none; }
  .about-story { grid-template-columns: 1fr; }
  .headshot { width: 120px; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { padding-bottom: calc(26px + 76px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 252, 253, .97);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .dock .btn { flex: 1; }
  .dock span { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
  body.show-dock .dock { transform: none; }
  body.show-dock .mock { bottom: 82px; }
  .modal { padding: 0; place-items: stretch; }
  .modal-panel { max-height: none; height: 100%; border-radius: 0; padding: 16px var(--gutter) calc(18px + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) {
  .ribbon-left { display: none; }
  .byline { font-size: 13px; padding: 3px 10px 3px 3px; }
  .byline img { width: 24px; height: 24px; }
  .lede { font-size: 16px; }
  .mock { left: 8px; right: 8px; bottom: 8px; justify-content: space-between; font-size: 12px; }
  .hero h1 { font-size: clamp(2.05rem, 1.2rem + 4.6vw, 2.5rem); }
  .cta-row { display: grid; }
  .cta-row .btn { width: 100%; }
  .frame-tag { left: 14px; top: 14px; max-width: calc(100% - 28px); font-size: 13px; }
  .frame-hint { right: 14px; bottom: 14px; }
  .crop { display: none; }
  .brand-name { font-size: 15px; }
  .top-inner { column-gap: 8px; }
  .top-actions { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv-wait { translate: none; opacity: 1; }
}

:root {
  color-scheme: dark;
  --paper: #0A1017;
  --paper-2: #101822;
  --paper-3: #17212D;
  --line: rgba(190, 210, 228, .10);
  --line-2: rgba(190, 210, 228, .18);
  --ink: #EEF2F6;
  --ink-2: #B5C0CC;
  --ink-3: #8794A3;
  --cyan-hover: #2CC3EE;
  --cyan-deep: #5CD2F2;
  --cyan-wash: rgba(0, 178, 227, .12);
  --night: #05090E;
  --amber-wash: rgba(245, 182, 90, .12);
  --amber-ink: #F7C77F;
  --good: #3DD08F;
  --dusk: linear-gradient(100deg, #132030 0%, #1C2A3A 46%, #43301F 100%);
  --shadow-photo: 0 44px 80px -44px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07);
  --on-cyan: #04131B;
  --on-light: #0A1017;
}
html { scrollbar-color: #2A3543 var(--paper); }
::selection { background: rgba(0, 178, 227, .38); color: #fff; }

.brand-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-sub { font: 500 10.5px/1 var(--body); letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }
.brand-light .brand-sub { color: rgba(255, 255, 255, .5); }
@media (max-width: 380px) { .brand-sub { font-size: 9.5px; letter-spacing: .04em; } }

.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -150px -40vw -90px; pointer-events: none;
  background:
    radial-gradient(36% 46% at 22% 34%, rgba(0, 178, 227, .17), transparent 72%),
    radial-gradient(30% 40% at 80% 16%, rgba(46, 96, 214, .15), transparent 70%),
    radial-gradient(44% 30% at 56% 100%, rgba(0, 178, 227, .07), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 74%, transparent 100%);
}
.band { background: linear-gradient(180deg, #0D141E 0%, #0B121A 100%); }
.proof { background: rgba(16, 24, 34, .72); }

.top { background: rgba(10, 16, 23, .80); -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px); }
@media (max-width: 940px) { .top { background: #0A1017; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.ribbon { border-block: 1px solid rgba(245, 182, 90, .16); }

.btn-cyan { color: var(--on-cyan); }
.btn-cyan:hover { background: var(--cyan-hover); }
.btn-ink { background: #EEF2F6; color: var(--on-light); }
.btn-ink:hover { background: #FFFFFF; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: rgba(238, 242, 246, .5); }
.skip { background: var(--cyan); color: var(--on-cyan); }

.flow .frame { box-shadow: 0 34px 60px -36px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07); }

.receipt { --ink: #0B1A23; --ink-2: #44555F; --ink-3: #6B7C87; --line: #DCE3E9; --line-2: #C6D1D9;
  background: #F3F5F7; color: var(--ink); filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .6)); }
.receipt::after { background: linear-gradient(135deg, #F3F5F7 33.33%, transparent 33.33%) 0 0 / 16px 20px repeat-x,
                               linear-gradient(225deg, #F3F5F7 33.33%, transparent 33.33%) 0 0 / 16px 20px repeat-x; }

.seg button[aria-selected="true"] { background: var(--paper-3); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.special { border: 1px solid rgba(245, 182, 90, .22); }
.plan { background: rgba(16, 24, 34, .86); }
.plan-pop {
  background: linear-gradient(180deg, #13212F 0%, #0E1822 100%); color: var(--ink);
  border-color: rgba(0, 178, 227, .55);
  box-shadow: 0 0 0 1px rgba(0, 178, 227, .16), 0 44px 80px -50px rgba(0, 178, 227, .55);
}

.about-contact { background: var(--paper-2); }
.contact-card:hover { border-color: var(--line-2); }
.contact-form input, .contact-form textarea { background: var(--paper-3); }

.foot { background: #060A0F; border-top: 1px solid var(--line); }

.modal { background: rgba(2, 5, 9, .76); }
.modal-panel { border: 1px solid var(--line); }

.toast { background: #EEF2F6; color: var(--on-light); }
.mock { background: var(--paper-2); border-color: var(--line-2); color: var(--ink-2); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .7); }
.mock button { background: var(--paper-3); color: var(--ink); }
@media (max-width: 820px) {
  .dock { background: rgba(10, 16, 23, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}

.hero h1 {
  background: linear-gradient(180deg, #F8FAFC 0%, #E2E7EC 52%, #AFBAC6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.grad-word {
  background: linear-gradient(135deg, #00B2E3 20%, #E6E7E8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

#aboutTitle .grad-word { background-image: linear-gradient(100deg, #00B2E3 18%, #6FCDEB 55%, #DDE7EE 100%); }
.hero .lede { max-width: 44ch; }

@media (min-width: 821px) { .facts { justify-content: center; } }

.byline {
  background: linear-gradient(180deg, rgba(0, 178, 227, .14), rgba(0, 178, 227, .06));
  border-color: rgba(0, 178, 227, .38); color: #D4EEF7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .18s, background-color .18s, color .18s;
}
.byline:hover { border-color: rgba(0, 178, 227, .7); color: #FFFFFF; }
.byline img { box-shadow: 0 0 0 1.5px rgba(0, 178, 227, .55); }

.hero::after {
  content: ""; position: absolute; z-index: -1; inset: -150px -40vw -60px; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 178, 227, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 178, 227, .10) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 58% 72% at 50% 40%, #000 38%, transparent 82%);
  mask-image: radial-gradient(ellipse 58% 72% at 50% 40%, #000 38%, transparent 82%);
  animation: arvaum-grid-drift 20s linear infinite;
}
@keyframes arvaum-grid-drift { to { background-position: -60px 60px; } }
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; } }

.watch-wrap { padding-block: 56px 8px; }
.watch-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(28px, 4vw, 52px) clamp(18px, 4vw, 56px) clamp(26px, 3vw, 40px);
  border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 30, 43, .92) 0%, rgba(12, 19, 27, .92) 100%);
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.watch-card::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(0, 178, 227, .12), transparent 70%);
}
.eyebrow { margin: 0; font: 600 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.watch-card h2 { margin-top: 14px; font: 700 clamp(1.9rem, 1.15rem + 2.6vw, 3rem)/1.08 var(--display); letter-spacing: -.02em; }
.watch-sub { margin: 12px auto 0; max-width: 48ch; color: var(--ink-2); font-size: clamp(15.5px, 15px + .3vw, 18px); }
.watch-tabs { margin-top: 26px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.watch-tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(10, 16, 23, .6); color: var(--ink-2);
  font: 600 15px var(--body); white-space: nowrap; transition: color .18s, border-color .18s, background-color .18s;
}
.watch-tri { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.watch-tab:hover { color: var(--ink); border-color: rgba(238, 242, 246, .35); }
.watch-tab[aria-selected="true"] { color: #5CD2F2; border-color: rgba(0, 178, 227, .55); background: rgba(0, 178, 227, .10); }
.watch-stage { margin-top: 26px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 2vw, 22px); }
.watch-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow-photo); }
.watch-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-poster { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.watch-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .25s, transform .5s var(--ease); }
.watch-poster:hover img { opacity: 1; transform: scale(1.015); }
.watch-play {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0, 178, 227, .94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 0 8px rgba(0, 178, 227, .18); transition: transform .2s var(--ease);
}
.watch-play::before { content: ""; margin-left: 6px; border-left: 22px solid #04131B; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.watch-poster:hover .watch-play { transform: scale(1.06); }
.watch-poster:focus-visible { outline: 2.5px solid var(--cyan); outline-offset: -4px; }
.watch-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 16px; text-align: left;
  font: 600 16px var(--body); color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .72));
}
.watch-nav {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(10, 16, 23, .7); color: var(--ink);
  transition: border-color .18s, color .18s, background-color .18s;
}
.watch-nav:hover { border-color: rgba(0, 178, 227, .6); background: rgba(0, 178, 227, .10); }
.watch-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.watch-dots { margin-top: 18px; display: flex; justify-content: center; gap: 10px; }
.watch-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(238, 242, 246, .22); transition: background-color .2s, transform .2s; }
.watch-dots span.on { background: var(--cyan); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .watch-poster img, .watch-play { transition: none; } }

@media (max-width: 820px) {
  .watch-wrap { padding-block: 36px 0; }
  .watch-card { border-radius: 18px; }
  .watch-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * clamp(18px, 4vw, 56px)); padding-inline: clamp(18px, 4vw, 56px); }
  .watch-tabs::-webkit-scrollbar { display: none; }
  .watch-tab { flex: none; padding: 9px 14px; font-size: 14px; }
  .watch-stage { grid-template-columns: minmax(0, 1fr); }
  .watch-nav { display: none; }
  .watch-frame { border-radius: 12px; }
  .watch-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; box-shadow: 0 10px 26px rgba(0, 0, 0, .5), 0 0 0 6px rgba(0, 178, 227, .18); }
  .watch-play::before { margin-left: 5px; border-left-width: 17px; border-top-width: 11px; border-bottom-width: 11px; }
  .watch-title { font-size: 14px; padding: 30px 14px 11px; }
}

main { overflow-x: clip; }

.has-grid { position: relative; isolation: isolate; }
.has-grid::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 178, 227, .085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 178, 227, .085) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 45%, #000 28%, transparent 82%);
  mask-image: radial-gradient(ellipse 62% 70% at 50% 45%, #000 28%, transparent 82%);
  animation: arvaum-grid-drift 20s linear infinite;
}
.watch-card.has-grid::after { -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 30%, transparent 85%); }
@media (prefers-reduced-motion: reduce) { .has-grid::after { animation: none; } }

.aa {
  margin-top: clamp(40px, 6vh, 64px); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3.4vw, 46px); border-radius: 24px; border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(18, 28, 40, .97), rgba(10, 17, 25, .97)) padding-box,
    linear-gradient(135deg, rgba(0, 178, 227, .7), rgba(255, 255, 255, .08) 36%, rgba(255, 255, 255, .05) 64%, rgba(0, 178, 227, .35)) border-box;
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, .9), 0 0 70px -34px rgba(0, 178, 227, .45);
}
.aa::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(46% 62% at 0% 0%, rgba(0, 178, 227, .15), transparent 72%),
              radial-gradient(40% 52% at 100% 100%, rgba(46, 96, 214, .13), transparent 72%);
}
.aa.has-grid::after { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 80%); }
.aa-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font: 600 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.aa-beta {
  font: 700 10.5px/1 var(--body); letter-spacing: .14em; color: #F3B24A; padding: 5px 8px; border-radius: 6px;
  background: rgba(243, 178, 74, .12); border: 1px solid rgba(243, 178, 74, .42);
}
.aa-title { margin-top: 16px; font: 700 clamp(2.1rem, 1.25rem + 2.6vw, 3.2rem)/1.04 var(--display); letter-spacing: -.02em; }
.aa-lede { margin-top: 14px; max-width: 40ch; font-size: clamp(16px, 15.4px + .25vw, 18px); color: var(--ink-2); }
.aa-steps { margin-top: 24px; display: grid; gap: 14px; counter-reset: aa; }
.aa-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); counter-increment: aa; }
.aa-steps li::before {
  content: counter(aa); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; margin-top: -3px;
  font: 600 13px/1 var(--mono); color: #5CD2F2; background: rgba(0, 178, 227, .12); border: 1px solid rgba(0, 178, 227, .38);
}
.aa-steps b { color: var(--ink); font-weight: 600; }
.aa-fine { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-3); }
.aa-fine li { display: inline-flex; align-items: center; gap: 8px; }
.aa-fine li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.aa-demo { min-width: 0; display: grid; gap: 14px; }
.aa-frame { border-radius: 16px; }
.aa-frame .frame-tag { left: 16px; top: 16px; }
.aa-frame .frame-hint { right: 16px; bottom: 16px; }
.aa-pip {
  position: absolute; z-index: 4; right: 16px; top: 16px; width: 27%; margin: 0; border-radius: 10px; overflow: hidden;
  box-shadow: 0 18px 34px -12px rgba(0, 0, 0, .8), 0 0 0 2px rgba(255, 255, 255, .92); pointer-events: none;
}
.aa-pip img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #131D28; }
.aa-pip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 9px 7px;
  font: 600 11.5px/1.2 var(--body); color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .72));
}
.aa-pip.in { animation: aa-pip-in .8s cubic-bezier(.2, .75, .25, 1) both; }
@keyframes aa-pip-in { from { opacity: 0; translate: 12px -12px; scale: .9; } }
.aa-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.aa-pick { display: grid; gap: 7px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; color: var(--ink-3); font: 600 13px/1.2 var(--body); cursor: pointer; transition: color .3s; }
.aa-pick img {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 9px; background: #131D28;
  filter: brightness(.66) saturate(.82); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07); transition: filter .4s, box-shadow .35s;
}
.aa-pick[aria-selected="true"] { color: var(--ink); }
.aa-pick[aria-selected="true"] img { filter: none; box-shadow: 0 0 0 2px var(--cyan), 0 10px 24px -12px rgba(0, 178, 227, .85); }
@media (hover: hover) { .aa-pick:hover { color: var(--ink); } .aa-pick:hover img { filter: none; } }
.aa-pick:focus-visible { outline: none; }
.aa-pick:focus-visible img { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 980px) {
  .aa { grid-template-columns: minmax(0, 1fr); }
  .aa-lede { max-width: 54ch; }
}
@media (max-width: 520px) {
  .aa { padding: 22px 16px 18px; border-radius: 18px; gap: 22px; }
  .aa-eyebrow { font-size: 11.5px; letter-spacing: .16em; }
  .aa-steps li { font-size: 15px; }
  .aa-frame { border-radius: 12px; }
  .aa-frame .frame-tag { left: 10px; top: 10px; font-size: 12.5px; padding: 6px 10px; }
  .aa-frame .frame-hint { right: 10px; bottom: 10px; padding: 7px; border-radius: 50%; }
  .aa-frame .frame-hint span { display: none; }
  .aa-pip { right: 10px; top: 10px; width: 32%; border-radius: 8px; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .8), 0 0 0 1.5px rgba(255, 255, 255, .92); }
  .aa-pip figcaption { font-size: 10px; padding: 12px 6px 5px; }
  .aa-picks { gap: 8px; }
  .aa-pick { font-size: 11.5px; gap: 6px; }
  .aa-pick img { border-radius: 7px; }
}

[dir="rtl"] .stage, [dir="rtl"] .aa-demo, [dir="rtl"] .watch-stage, [dir="rtl"] .g-body, [dir="rtl"] .g-cats-wrap, [dir="rtl"] .flow .frame { direction: ltr; }
[dir="rtl"] .reel-label, [dir="rtl"] .frame-tag, [dir="rtl"] .aa-pick span, [dir="rtl"] .watch-title, [dir="rtl"] .aa-pip figcaption { unicode-bidi: plaintext; }
[dir="rtl"] .btn svg, [dir="rtl"] .flow-more svg { transform: scaleX(-1); }
[dir="rtl"] .ribbon-cta [aria-hidden] { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .byline { padding: 4px 4px 4px 12px; }

.app-short { display: none; }
@media (max-width: 940px) {
  .nav { padding-bottom: 2px; }
  .nav-link { padding-block: 11px; }
  .brand, .top-actions { min-height: 54px; }
}
@media (max-width: 420px) {
  .app-long { display: none; }
  .app-short { display: inline; }
}
@media (max-width: 520px) {
  .menu-btn { width: 40px; height: 40px; }
  .top-actions .btn { min-height: 40px; }
  .ribbon-inner { min-height: 40px; padding-block: 4px; gap: 8px; }
  .ribbon-cta { position: relative; }
  .ribbon-cta::after { content: ""; position: absolute; inset: -11px -8px; }
  .ribbon-close { width: 40px; height: 40px; margin: -2px -10px -2px -2px; }
  .byline { padding-block: 5px; }
  .scene { height: 42px; }
  .flow-more { position: relative; }
  .flow-more::after { content: ""; position: absolute; inset: -11px -8px; }
  .watch-tab { padding-block: 11px; }
  .seg button { padding-block: 11px; }
  .price-switch button { position: relative; }
  .price-switch button::after { content: ""; position: absolute; inset: -9px -4px; }
  .foot-cols a { padding-block: 9px; }
  .lang select { padding-block: 11px; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .reel-label { font-size: 10.5px; }
  .aa-pip figcaption { font-size: 10.5px; }
  .aa-beta { font-size: 11px; }
  .dock .btn { white-space: normal; text-align: center; }
}
@media (max-width: 400px) {
  .dock span { display: none; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 14.5px; }
  .brand-sub { font-size: 10px; letter-spacing: .03em; }
  .menu-btn { width: 40px; height: 40px; }
  .top-actions .btn { font-size: 13.5px; }
}
@media (max-width: 340px) {
  .top-inner { column-gap: 6px; }
  .brand { gap: 6px; }
  .brand img { width: 24px; height: 24px; }
  .brand-name { font-size: 13.5px; letter-spacing: .01em; }
  .top-actions { gap: 6px; }
  .top-actions .btn { padding-inline: 10px; }
}

#frame { container-type: inline-size; }
@container (max-width: 460px) { .tag-runs { display: none; } }

@media (max-width: 520px) { .byline { position: relative; } .byline::after { content: ""; position: absolute; inset: -3px -2px; } }
.grid-still::after { animation-play-state: paused; }

@media (max-width: 940px) and (max-height: 500px) and (min-width: 600px) {
  .top-inner { display: flex; align-items: center; height: auto; min-height: 50px; gap: 12px; }
  .brand, .top-actions { min-height: 50px; }
  .brand img { width: 26px; height: 26px; }
  .brand-name { font-size: 14.5px; }
  .brand-sub { font-size: 9.5px; }
  .nav { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; gap: 0; overflow-x: auto; }
  .nav-link { padding: 10px 7px; font-size: 13.5px; }
  .nav-link:first-child { margin-left: 0; }
  .top-actions { margin-left: 0; gap: 8px; }
  .top-actions .btn { padding-inline: 10px; font-size: 13.5px; min-height: 38px; }
  .app-long { display: none; }
  .app-short { display: inline; }
  .menu-btn { width: 40px; height: 40px; }
  .ribbon-inner { min-height: 38px; padding-block: 3px; }
  .stage { width: min(100%, calc((100svh - 110px) * 1.5)); justify-self: center; }
}

.stage-controls { container-type: inline-size; }
@container (max-width: 500px) {
  .scene { padding: 0 4px; font-size: 13.5px; }
  .scene-name, .scene-count { display: none; }
  .scene-short { display: inline; }
}

[dir="rtl"] .ribbon-pill, [dir="rtl"] .ribbon-name, [dir="rtl"] .ribbon-left, [dir="rtl"] .special-pill,
[dir="rtl"] .g-name, [dir="rtl"] .g-runs, [dir="rtl"] .g-item b, [dir="rtl"] .g-item small, [dir="rtl"] .plan-name { unicode-bidi: plaintext; }

html[lang="ar"], html[lang="ur"], html[lang="hi"], html[lang="zh"] { --mono: var(--body); }

@media (max-width: 820px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}

.sheet-app { display: none; }
@media (max-width: 340px) {
  .top-app { display: none; }
  .sheet-app { display: block; }
  .hero h1 { font-size: 1.85rem; }
}
.hero h1, .aa-title, h2 { overflow-wrap: break-word; }
.ribbon-pill { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.modal-panel.gallery {
  --g-side: 300px;
  --g-chrome: 288px;
  --g-photo-h: max(300px, calc(100vh - 48px - var(--g-chrome)));
  width: min(1180px, 100%, calc(var(--g-photo-h) * 1.5 + var(--g-side) + 70px));
}
@supports (height: 100dvh) { .modal-panel.gallery { --g-photo-h: max(300px, calc(100dvh - 48px - var(--g-chrome))); } }

.g-cats-wrap { position: relative; margin-inline: -24px; border-bottom: 1px solid var(--line); }
.g-cats {
  position: relative; display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 24px; padding: 6px 24px 16px;
}
.g-cats::-webkit-scrollbar { display: none; }
.g-cat {
  position: relative; flex: none; width: 132px; height: 84px; padding: 0; border: 0; border-radius: 11px; overflow: hidden;
  background: #131D28; color: #fff; text-align: left; cursor: pointer; scroll-snap-align: start;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 14px 22px -16px rgba(0, 0, 0, .9);
  -webkit-tap-highlight-color: transparent; transition: transform .35s var(--ease), box-shadow .35s;
}
.g-cat img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  filter: brightness(.58) saturate(.82); transition: filter .4s ease, transform .7s var(--ease);
}
.g-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 9, 14, 0) 30%, rgba(4, 9, 14, .84)); pointer-events: none; }
.g-cat::before {
  content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .35s;
}
.g-cat-name {
  position: absolute; z-index: 1; left: 9px; right: 9px; bottom: 7px; font: 600 12.5px/1.22 var(--body);
  text-wrap: balance; text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.g-cat-n {
  position: absolute; z-index: 1; top: 6px; right: 6px; min-width: 22px; padding: 0 6px; border-radius: 99px;
  background: rgba(4, 9, 14, .66); font: 500 10.5px/18px var(--mono); text-align: center; color: rgba(255, 255, 255, .85);
  transition: background-color .35s, color .35s;
}
.g-cat[aria-selected="true"] { box-shadow: 0 0 0 1px rgba(0, 178, 227, .18), 0 14px 28px -14px rgba(0, 178, 227, .85); }
.g-cat[aria-selected="true"]::before { box-shadow: inset 0 0 0 2px var(--cyan); }
.g-cat[aria-selected="true"] img { filter: none; }
.g-cat[aria-selected="true"] .g-cat-n { background: var(--cyan); color: var(--on-cyan); }
@media (hover: hover) {
  .g-cat:hover img { filter: none; transform: scale(1.05); }
  .g-cat:not([aria-selected="true"]):hover { transform: translateY(-2px); }
}
.g-cat:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.slide-btn {
  position: absolute; z-index: 3; top: 6px; width: 52px; height: 84px; display: grid; place-items: center; padding: 0;
  border: 0; background: none; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.slide-prev { left: 2px; }
.slide-next { right: 2px; }
.slide-ico {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--ink);
  background: rgba(10, 16, 23, .92); border: 1px solid var(--line-2); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .9);
  transition: border-color .18s, background-color .18s, transform .18s;
}
.slide-btn:hover .slide-ico { border-color: rgba(0, 178, 227, .65); background: #0E1F2B; transform: scale(1.06); }
.slide-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.g-cats-wrap.can-prev .slide-prev, .g-cats-wrap.can-next .slide-next { opacity: 1; visibility: visible; }
@media (hover: none) { .slide-btn { display: none; } }

.g-body {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--g-side); grid-template-rows: auto auto;
  column-gap: 20px; row-gap: 14px; margin-top: 16px; align-items: center;
}
.g-frame { grid-column: 1; grid-row: 1; border-radius: 14px; }
.g-next { opacity: 0; transition: opacity .34s ease; }
.g-next.on { opacity: 1; }
.g-side { grid-column: 2; grid-row: 1; align-self: stretch; position: relative; min-height: 0; }
.g-list {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 4px; overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain; padding: 2px 6px 2px 2px; scrollbar-width: thin; scrollbar-color: #2A3543 transparent;
}
.g-list.fade-b { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--fade, 52px)), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - var(--fade, 52px)), transparent); }
.g-list.fade-t { -webkit-mask-image: linear-gradient(180deg, transparent, #000 var(--fade, 52px)); mask-image: linear-gradient(180deg, transparent, #000 var(--fade, 52px)); }
.g-list.fade-t.fade-b { -webkit-mask-image: linear-gradient(180deg, transparent, #000 var(--fade, 52px), #000 calc(100% - var(--fade, 52px)), transparent); mask-image: linear-gradient(180deg, transparent, #000 var(--fade, 52px), #000 calc(100% - var(--fade, 52px)), transparent); }
.g-item {
  flex: none; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left;
  border: 1px solid transparent; background: none; border-radius: 11px; padding: 6px; color: inherit;
  transition: background-color .2s, border-color .2s;
}
.g-item img { width: 72px; height: 48px; object-fit: cover; border-radius: 7px; background: #131D28; filter: brightness(.82); transition: filter .3s; }
.g-item b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13.5px; line-height: 1.3; font-weight: 600; color: var(--ink-2);
}
.g-item small { display: block; margin-top: 3px; font: 500 11px/1.35 var(--mono); color: var(--ink-3); }
@media (hover: hover) { .g-item:hover { background: var(--paper-2); } .g-item:hover img { filter: none; } }
.g-item[aria-selected="true"] { background: var(--paper-3); border-color: rgba(0, 178, 227, .7); }
.g-item[aria-selected="true"] img { filter: none; }
.g-item[aria-selected="true"] b { color: var(--ink); }
.g-item:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.g-list.g-in > .g-item { animation: g-in .5s cubic-bezier(.2, .75, .25, 1) calc(var(--i, 0) * 24ms) both; }
@keyframes g-in { from { opacity: 0; translate: 0 10px; } }
.g-meta { grid-column: 1; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; }
.g-meta-text { min-width: 0; display: flex; align-items: baseline; gap: 12px; margin: 0; }

.g-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15.5px var(--body); color: var(--ink); }
.g-runs { flex: 0 999 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 500 12px var(--mono); color: var(--ink-3); white-space: nowrap; }
.g-step { flex: none; display: flex; align-items: center; gap: 4px; }
.g-step-btn {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink); transition: border-color .18s, background-color .18s;
}
.g-step-btn:hover { border-color: rgba(0, 178, 227, .6); background: rgba(0, 178, 227, .1); }
.g-step-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.g-count { min-width: 64px; text-align: center; font: 500 12.5px var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.g-cta { grid-column: 2; grid-row: 2; width: 100%; justify-content: center; text-align: center; white-space: normal; }
@media (max-width: 1100px) { .modal-panel.gallery { --g-side: 264px; } }
@media (prefers-reduced-motion: reduce) { .g-cat, .g-cat img, .g-next, .slide-ico { transition: none; } .g-list.g-in > .g-item { animation: none; } }

@media (max-width: 820px), (max-width: 1100px) and (max-height: 500px) {
  #gallery { padding: 0; place-items: stretch; }
  .modal-panel.gallery {
    width: 100%; max-height: none; height: 100%; border-radius: 0;
    padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  }
  .g-cats-wrap { margin-inline: calc(-1 * var(--gutter)); }
  .g-cats { gap: 8px; padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); }
  .gallery .modal-head { margin-bottom: 10px; }
  .gallery .modal-head h2 { font-size: clamp(1.05rem, 4.5vw, 1.35rem); }
  .g-cats { padding: 4px var(--gutter) 12px; }
  .g-cat { width: 106px; height: 64px; }
  .g-cat-name { font-size: 11.5px; left: 7px; right: 7px; bottom: 5px; }
  .g-cat-n { top: 4px; right: 4px; min-width: 20px; padding: 0 5px; font-size: 10px; line-height: 16px; }
  .slide-btn { top: 4px; height: 64px; }
  .g-item b { font-size: 12.5px; }
  .g-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 10px; margin-top: 12px; }
  .g-frame, .g-side, .g-meta, .g-cta { grid-column: 1; grid-row: auto; }
  .g-frame { order: 1; }
  .g-meta { order: 2; }
  .g-side { order: 3; position: static; }
  .g-cta { order: 4; }
  .g-list { position: static; flex-direction: row; overflow-x: auto; overflow-y: hidden; gap: 8px; padding: 2px 0 4px; scrollbar-width: none; }
  .g-list::-webkit-scrollbar { display: none; }
  
  .g-item { position: relative; display: block; width: 136px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #131D28; }
  .g-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 0; filter: brightness(.74); }
  .g-item > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 8px 6px; background: linear-gradient(180deg, rgba(4, 9, 14, 0), rgba(4, 9, 14, .86)); }
  .g-item b { font-size: 12px; line-height: 1.25; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
  .g-item small { display: none; }
  .g-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
  .g-item[aria-selected="true"] { background: #131D28; }
  .g-item[aria-selected="true"]::after { box-shadow: inset 0 0 0 2px var(--cyan); }
  .g-item[aria-selected="true"] b { color: #fff; }
  .g-name { font-size: 14.5px; }
  .g-step-btn { width: 40px; height: 40px; }
  .g-count { min-width: 56px; }
}
@media (max-width: 820px) and (max-height: 599px), (max-width: 1100px) and (max-height: 500px) {
  .g-frame { width: min(100%, calc((100svh - 32px) * 1.5)); justify-self: center; }
}
@media (max-width: 820px) and (min-height: 600px) {
  .modal-panel.gallery { display: flex; flex-direction: column; overflow: hidden; }
  .gallery .modal-head, .gallery .g-cats-wrap { flex: none; }
  .gallery .g-body { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .gallery .g-frame, .gallery .g-meta, .gallery .g-cta { flex: none; }
  .gallery .g-side { flex: 1; min-height: 0; position: relative; }
  .gallery .g-list {
    position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start;
    grid-auto-rows: max-content;   
    --fade: 26px;
    gap: 10px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 8px;
  }
  .gallery .g-item { width: auto; }
}
@media (min-width: 600px) and (max-width: 820px) and (min-height: 600px) { .gallery .g-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 400px) { .g-runs { display: none; } }

