/* ==========================================================================
   PandaLab - public design system
   White canvas, royal blue accent, Plus Jakarta Sans.

   Build notes
   -----------
   Section 2b sets a hard default size on every inline SVG. Icons in this
   codebase are drawn with a viewBox and no width/height attribute, which
   means an unstyled one expands to the full width of its container. That is
   what produced the oversized icons on the live site. The base rule below
   makes that impossible regardless of which component the icon lands in.

   Type: Plus Jakarta Sans (SIL Open Font License).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Neutrals */
  --canvas:        #ffffff;
  --canvas-deep:   #f8fafc;
  --surface:       #ffffff;
  --ink:           #0f172a;
  --ink-soft:      #475569;
  --muted:         #64748b;
  --faint:         #5f6d80;
  --line:          #e8edf5;
  --line-strong:   #e2e8f0;
  --line-soft:     #f1f5f9;

  /* Blue */
  --accent:        #2563eb;
  --accent-2:      #1d4ed8;
  --accent-wash:   #eff6ff;
  --accent-line:   #bfdbfe;
  --violet:        #6d28d9;
  --sky:           #60a5fa;

  /* Status */
  --green:         #15803d;
  --green-wash:    #dcfce7;
  --amber:         #b45309;
  --amber-wash:    #fef3c7;
  --star:          #f59e0b;

  /* Effects */
  --grad:          linear-gradient(135deg, var(--accent), var(--violet));
  --glow:          rgba(37, 99, 235, .3);
  --glow-soft:     rgba(37, 99, 235, .08);
  --masthead-bg:   rgba(255, 255, 255, .85);
  --mark-eye:      #ffffff;

  /* Product illustration palette */
  --pv-shell:      #dce5f4;
  --pv-screen:     #ffffff;
  --pv-bar:        #0f172a;
  --pv-onbar:      rgba(255, 255, 255, .5);
  --pv-dot:        rgba(255, 255, 255, .3);
  --pv-panel:      #f8fafc;
  --pv-panel2:     #eef2f9;
  --pv-line:       #dbe3f0;
  --pv-text:       #1e293b;
  --pv-muted:      #aebacd;
  --pv-accent:     #2563eb;
  --pv-accent-soft:#dbeafe;
  --pv-amber:      #d97706;

  /* Type */
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Rhythm */
  --gutter: clamp(16px, 4vw, 44px);
  --shell: 1200px;
  --measure: 68ch;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --lift:       0 8px 28px rgba(37, 99, 235, .08);
  --lift-hover: 0 14px 40px rgba(37, 99, 235, .14);
  --lift-deep:  0 20px 60px rgba(15, 23, 42, .08);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.5px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; }

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 5px; }
::selection { background: var(--accent); color: #fff; }

/* --------------------------------------------------------------------------
   2b. SVG safety net
   Every inline icon gets a real size before any component styles it. An icon
   can never inherit its container's width again.
   -------------------------------------------------------------------------- */
svg { display: block; max-width: 100%; }

.ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: middle;
}

.mark { width: 30px; height: 30px; flex: 0 0 auto; }

/* Code-drawn product illustrations always fill their panel, never overflow it. */
.pv { width: 100%; height: auto; display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }

.section { padding-block: clamp(48px, 7vw, 76px); }
.section--tight { padding-block: clamp(30px, 4.5vw, 48px); }
.section--edge { border-top: 1px solid var(--line); }
.section--tint { background: var(--canvas-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. Type
   -------------------------------------------------------------------------- */
.display    { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -1.3px; line-height: 1.1; }
.display-sm { font-size: clamp(26px, 3vw, 38px);   font-weight: 800; letter-spacing: -1px;   line-height: 1.14; }
.h2         { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.6px;  line-height: 1.2; }
.h3         { font-size: 15px; font-weight: 800; letter-spacing: -.2px; }

.lede { font-size: 15px; color: var(--ink-soft); line-height: 1.75; max-width: 52ch; }
.prose { max-width: var(--measure); }
.prose p { color: var(--ink-soft); line-height: 1.8; margin-bottom: 1.15em; }

.small { font-size: 13px; }
.tiny  { font-size: 11px; }
.dim   { color: var(--muted); }
.center { text-align: center; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 11px; font-weight: 700; letter-spacing: .2px;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--accent-2); background: var(--accent-wash);
  border-radius: 5px; padding: 4px 11px;
  margin-bottom: 14px;
}

.head { display: grid; gap: 12px 48px; margin-bottom: clamp(26px, 3.5vw, 40px); align-items: end; }
@media (min-width: 860px) { .head { grid-template-columns: 1.1fr .9fr; } }
.head__note { color: var(--ink-soft); font-size: 15px; line-height: 1.7; max-width: 46ch; }

/* --------------------------------------------------------------------------
   5. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid transparent;
  border-radius: 9px;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, transform .25s;
}
.btn .ico { width: 16px; height: 16px; }

.btn--solid {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 4px 16px var(--glow);
  will-change: transform;
}
.btn--solid:hover { background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 8px 26px var(--glow); }

.btn--line { background: #fff; border-color: var(--line-strong); color: #334155; }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }

.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: #1e293b; border-color: #1e293b; }

.btn--green { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--ghost { padding-inline: 0; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.link { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(37, 99, 235, .3); }
.link:hover { border-bottom-color: var(--accent); }

.link-row { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--accent); }
.link-row .ico { width: 15px; height: 15px; transition: transform .2s; }
.link-row:hover .ico { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. Masthead
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: var(--masthead-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.masthead.is-stuck { box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .6); }

.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.5px; }
.brand .mark { color: var(--ink); }
.brand__sub { display: block; font-size: 10.5px; font-weight: 600; color: var(--faint); letter-spacing: 0; line-height: 1.3; }

.nav { display: none; align-items: center; gap: 24px; }
@media (min-width: 980px) { .nav { display: flex; } }
.nav a { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: color .18s; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current] { color: var(--accent); }

.masthead__cta { display: none; }
@media (min-width: 980px) { .masthead__cta { display: inline-flex; } }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 10px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 9px; cursor: pointer;
}
@media (min-width: 980px) { .burger { display: none; } }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s, opacity .22s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { display: none; background: #fff; border-top: 1px solid var(--line); padding-block: 14px 22px; }
.drawer.is-open { display: block; }
@media (min-width: 980px) { .drawer, .drawer.is-open { display: none; } }
.drawer a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; font-weight: 600; }
.drawer .btn { margin-top: 16px; width: 100%; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(40px, 5.5vw, 64px) clamp(36px, 5vw, 56px); }

.aurora { position: absolute; inset: -30% -12% auto -12%; height: 150%; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(80px); }
.aurora i:nth-child(1) { width: 42vw; height: 42vw; left: 50%; top: -8%; background: radial-gradient(circle at 30% 30%, rgba(96,165,250,.42), transparent 68%); animation: drift-a 26s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; left: 66%; top: 26%; background: radial-gradient(circle at 60% 40%, rgba(124,58,237,.2), transparent 66%); animation: drift-b 32s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 28vw; height: 28vw; left: -8%; top: 32%; background: radial-gradient(circle at 50% 50%, rgba(37,99,235,.16), transparent 70%); animation: drift-c 38s ease-in-out infinite; }
@keyframes drift-a { 0%,100% { transform: none; } 50% { transform: translate3d(-6%, 5%, 0) scale(1.1); } }
@keyframes drift-b { 0%,100% { transform: scale(1.05); } 50% { transform: translate3d(7%, -6%, 0) scale(.92); } }
@keyframes drift-c { 0%,100% { transform: none; } 50% { transform: translate3d(5%, 7%, 0) scale(1.12); } }

.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 76% 60% at 50% 34%, #000 38%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 76% 60% at 50% 34%, #000 38%, transparent 100%);
}

.hero__grid { display: grid; gap: clamp(30px, 4.5vw, 48px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.02fr .98fr; } }
.hero__side { min-width: 0; }
.hero h1 { margin-bottom: 16px; }
.hero .lede { margin-bottom: 24px; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; }

.trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.trust-dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.trust-dot .ico { width: 11px; height: 11px; stroke-width: 2.8; }
.trust-dot.green { background: var(--green-wash); color: var(--green); }
.trust-dot.blue  { background: #dbeafe; color: var(--accent); }
.trust-dot.amber { background: var(--amber-wash); color: var(--amber); }

/* Hero visual: a product preview in a floating panel, capped so it never
   dominates the page on a wide monitor. */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  background: linear-gradient(145deg, #f8fafc, #eef4ff);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--lift-deep);
}
.hero__visual .pv { max-height: 340px; }
.hero__caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hero__caption strong { font-size: 13.5px; font-weight: 800; }
.hero__caption .badge { background: var(--accent); color: #fff; font-size: 9.5px; font-weight: 800; padding: 3px 8px; border-radius: 5px; letter-spacing: .3px; }

.float-badge {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: 11px; padding: 8px 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
  animation: bob 3.4s ease-in-out infinite;
}
.float-badge .ico { width: 14px; height: 14px; color: var(--accent); }
.float-badge.left  { left: -22px; top: 24%; animation-delay: -.6s; }
.float-badge.right { right: -18px; bottom: 18%; animation-delay: -1.8s; }
@media (max-width: 760px) { .float-badge { display: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* --------------------------------------------------------------------------
   8. Ticker
   -------------------------------------------------------------------------- */
.ticker { background: var(--ink); padding: 11px 0; overflow: hidden; display: flex; }
.ticker__inner { display: flex; flex-shrink: 0; animation: ticker 34s linear infinite; }
.ticker__item {
  display: flex; align-items: center; gap: 9px;
  padding: 0 26px; white-space: nowrap;
  font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .7);
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.ticker__item .ico { width: 14px; height: 14px; color: var(--sky); }
.ticker__item b { color: #fff; font-weight: 700; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker__inner { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.card {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.card:hover { border-color: var(--accent-line); box-shadow: var(--lift); transform: translateY(-2px); }
.card--link { display: block; }

.feature__ico { width: 38px; height: 38px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; margin-bottom: 14px; }
.feature__ico .ico { width: 19px; height: 19px; color: #fff; }
.feature h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

.chip { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); background: var(--canvas-deep); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--accent-2); background: var(--accent-wash); border-radius: 5px; padding: 4px 9px; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; border-radius: 20px; padding: 4px 11px 4px 9px; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--live { color: var(--green); background: var(--green-wash); }
.status--soon { color: var(--amber); background: var(--amber-wash); }

/* --------------------------------------------------------------------------
   10. Steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid; gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.step { background: #fff; padding: 26px 22px; position: relative; transition: background .2s; }
.step:hover { background: #f5f9ff; }
.step__n { position: absolute; top: 12px; right: 16px; font-size: 38px; font-weight: 900; color: #f1f5f9; line-height: 1; }
.step__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; margin-bottom: 16px; }
.step__ico .ico { width: 19px; height: 19px; color: #fff; }
.step h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

/* --------------------------------------------------------------------------
   11. Legacy script/app cards (kept so older views keep working)
   -------------------------------------------------------------------------- */
.script-grid, .app-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.script-grid > *, .app-grid > * { display: flex; }
.script-grid > * > .script, .app-grid > * > .app { flex: 1; }

.script, .app {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.script:hover, .app:hover { border-color: var(--accent-line); box-shadow: var(--lift-hover); transform: translateY(-3px); }

.script__cover, .app__cover {
  display: block;
  background: linear-gradient(145deg, #f8fafc, #eef4ff);
  border-bottom: 1px solid var(--line);
  padding: 16px 16px 0;
}
.script__cover .pv, .app__cover .pv { max-height: 210px; margin-bottom: -2px; }

.script__body, .app__body { padding: 20px; flex: 1; }
.script__body h3, .app__body h3 { font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.script__body h3 a:hover, .app__body h3 a:hover { color: var(--accent); }
.script__body > p, .app__body > p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 8px 0 0; }

.incl { margin-top: 14px; display: grid; gap: 8px; }
.incl li { display: flex; gap: 9px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }
.incl .tick { width: 15px; height: 15px; flex: none; color: var(--green); margin-top: 2px; }
.incl--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px 24px; }

.script__foot, .app__foot {
  border-top: 1px solid var(--line);
  padding: 16px 20px; background: var(--canvas-deep);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.script__price { display: flex; flex-direction: column; gap: 2px; }
.price { font-size: 24px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.price--quote { font-size: 16px; font-weight: 800; }
.script__price s { color: var(--faint); font-size: 13px; margin-left: 6px; }
.script__lic { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.script__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.script__actions .btn, .app__foot .btn { padding: 9px 15px; font-size: 12.5px; }

.app__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }

.terms-strip {
  display: grid; gap: 24px 30px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line);
}
.terms-strip .ico { width: 20px; height: 20px; color: var(--accent); margin-bottom: 12px; }
.terms-strip h3 { font-size: 14px; font-weight: 800; margin-bottom: 5px; }
.terms-strip p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

/* --------------------------------------------------------------------------
   12. Product index
   -------------------------------------------------------------------------- */
.index { display: grid; gap: clamp(24px, 4vw, 40px); align-items: start; }
@media (min-width: 1000px) { .index { grid-template-columns: 1fr 1.02fr; } }

.index__list { border-top: 1px solid var(--line); }
.index__row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  position: relative; transition: padding-left .22s;
}
.index__row::before {
  content: ''; position: absolute; left: -10px; top: 50%;
  width: 3px; height: 0; border-radius: 3px;
  background: var(--grad); transform: translateY(-50%); transition: height .22s;
}
.index__row:hover, .index__row:focus-visible, .index__row.is-active { padding-left: 14px; }
.index__row:hover::before, .index__row:focus-visible::before, .index__row.is-active::before { height: 60%; }

.index__name { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.5px; transition: color .22s; }
.index__row:hover .index__name, .index__row.is-active .index__name { color: var(--accent); }
.index__kind { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.index__tag { font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 20px; padding: 4px 10px; white-space: nowrap; }

.index__stage {
  display: none; position: sticky; top: 96px;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl); padding: 20px; box-shadow: var(--lift-deep);
}
@media (min-width: 1000px) { .index__stage { display: block; } }
.stage__art { position: relative; }
.stage__art .pv-slot { width: 100%; transition: opacity .3s; }
.stage__caption { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.stage__caption h3 { font-size: 17px; font-weight: 800; }
.stage__caption p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

.index__inline { margin-top: 14px; }
@media (min-width: 1000px) { .index__inline { display: none; } }
@media (max-width: 999px) {
  .index__row::before { display: none; }
  .index__row:hover, .index__row.is-active { padding-left: 4px; }
}

/* --------------------------------------------------------------------------
   12b. Section page header and shelf tabs
   -------------------------------------------------------------------------- */
.page-head { padding-block: clamp(18px, 2.6vw, 28px) clamp(22px, 3vw, 32px); }
.page-head__inner { display: grid; gap: 22px; align-items: end; }
@media (min-width: 900px) { .page-head__inner { grid-template-columns: 1fr auto; } }
.page-head .lede { max-width: 56ch; }

.shelf-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.shelf-tabs a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 9px;
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
  transition: border-color .2s, color .2s, background-color .2s;
}
.shelf-tabs a .ico { width: 16px; height: 16px; }
.shelf-tabs a b {
  font-size: 11px; font-weight: 800;
  background: var(--line-soft); color: var(--muted);
  border-radius: 20px; padding: 1px 7px;
}
.shelf-tabs a:hover { border-color: var(--accent-line); color: var(--accent); }
.shelf-tabs a[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }
.shelf-tabs a[aria-current] b { background: rgba(255, 255, 255, .22); color: #fff; }

/* --------------------------------------------------------------------------
   13. Shared page furniture
   -------------------------------------------------------------------------- */
.crumbs { font-size: 12.5px; color: var(--muted); font-weight: 600; padding-top: 20px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { padding-inline: 7px; opacity: .6; }

.specs {
  display: grid; gap: 16px 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px;
}
.specs dt { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.specs dd { font-size: 14px; font-weight: 700; }

.sheet { border-top: 1px solid var(--line); }
.sheet__row { display: grid; gap: 4px 28px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .sheet__row { grid-template-columns: 220px 1fr; align-items: baseline; } }
.sheet__row dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.sheet__row dd { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

.screens { display: grid; gap: 16px; }
@media (min-width: 780px) { .screens { grid-template-columns: repeat(3, 1fr); } }
.screen { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; transition: border-color .22s, box-shadow .22s; }
.screen:hover { border-color: var(--accent-line); box-shadow: var(--lift); }
.screen h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.screen p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 15px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .22s;
}
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--accent); }
.faq__a { padding: 0 4px 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.75; max-width: var(--measure); }

.related { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.related a {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.related a:hover { border-color: var(--accent-line); box-shadow: var(--lift); transform: translateY(-2px); }
.related strong { display: block; font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.related span { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   14. PRODUCT DETAIL PAGE
   Two columns: the pitch on the left, the buy box docked on the right.
   ========================================================================== */
.pdp { padding-block: 22px clamp(40px, 6vw, 64px); }
.pdp__grid { display: grid; gap: clamp(24px, 3vw, 34px); align-items: start; }
@media (min-width: 1040px) { .pdp__grid { grid-template-columns: minmax(0, 1fr) 366px; } }

.pdp__main { min-width: 0; }

.pdp__title { font-size: clamp(24px, 2.8vw, 33px); font-weight: 800; letter-spacing: -1px; line-height: 1.16; }

.pdp__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  margin-top: 12px; padding-bottom: 18px;
}
.pdp__meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pdp__meta-item .ico { width: 15px; height: 15px; color: var(--faint); }
.pdp__meta-item b { color: var(--ink); font-weight: 800; }
.pdp__meta-item--star .ico { color: var(--star); fill: var(--star); stroke: var(--star); }
.pdp__meta-item--ok .ico { color: var(--green); }

/* Cover stage */
.pdp__stage {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #f8fafc, #eef4ff);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px 20px 0;
}
.pdp__stage .pv { max-height: 420px; margin-bottom: -1px; }
.pdp__stage img { width: 100%; display: block; border-radius: 8px 8px 0 0; }
.pdp__stage--flat { padding: 0; }
.pdp__version {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .3px;
  padding: 5px 11px; border-radius: 6px;
}
.pdp__version .ico { width: 13px; height: 13px; color: var(--sky); }

.pdp__previews { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.pdp__previews .btn { min-width: 168px; }

/* --- Tabs --------------------------------------------------------------- */
.tabs { margin-top: clamp(30px, 4vw, 42px); }
.tabs__bar {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line-strong);
}
.tabs__bar::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative;
  background: none; border: 0; cursor: pointer;
  padding: 13px 16px;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .18s;
}
.tabs__tab::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .22s;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--ink); }
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__count {
  font-size: 10.5px; font-weight: 800;
  background: var(--line-soft); color: var(--muted);
  border-radius: 20px; padding: 1px 7px;
}
.tabs__tab[aria-selected="true"] .tabs__count { background: var(--accent-wash); color: var(--accent-2); }

.tabs__panel { padding-top: 26px; }
.tabs__panel[hidden] { display: none; }

.pdp-block + .pdp-block { margin-top: 34px; }
.pdp-block h3 {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--muted); margin-bottom: 14px;
}

/* --- Technical details / spec list -------------------------------------- */
.spec-list { display: grid; }
.spec-list__row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 0; border-bottom: 1px dashed var(--line-strong);
  font-size: 13px;
}
.spec-list__row:last-child { border-bottom: 0; }
.spec-list__row dt { color: var(--muted); font-weight: 600; flex: none; }
.spec-list__row i { flex: 1; border-bottom: 1px dotted var(--line-strong); position: relative; top: -3px; }
.spec-list__row dd { font-weight: 700; text-align: right; }

/* --- Feature list inside a tab ------------------------------------------ */
.pdp-features { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pdp-feature {
  display: flex; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px;
}
.pdp-feature__ico { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--accent-wash); display: grid; place-items: center; }
.pdp-feature__ico .ico { width: 17px; height: 17px; color: var(--accent); }
.pdp-feature h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.pdp-feature p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0; }

/* --- Changelog ---------------------------------------------------------- */
.changelog { display: grid; gap: 12px; }
.changelog__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.changelog__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.changelog__ver { font-size: 14px; font-weight: 800; letter-spacing: -.3px; }
.changelog__date { font-size: 12px; color: var(--muted); font-weight: 600; }
.changelog__body { font-size: 13px; color: var(--ink-soft); line-height: 1.75; white-space: pre-line; }

/* ==========================================================================
   15. BUY BOX  (licence tiers)
   ========================================================================== */
.pdp__side { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 1040px) { .pdp__side { position: sticky; top: 86px; } }

.buy {
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}
.buy__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.buy__head h2 { font-size: 15px; font-weight: 800; letter-spacing: -.3px; }
.buy__head a { font-size: 12px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.buy__head a .ico { width: 13px; height: 13px; }

.tiers { display: grid; gap: 8px; }

.tier {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 10px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 13px; cursor: pointer;
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.tier:hover { border-color: var(--accent-line); }
.tier input { position: absolute; opacity: 0; width: 0; height: 0; }
.tier__dot {
  width: 17px; height: 17px; border-radius: 50%; flex: none;
  border: 2px solid var(--line-strong); background: #fff;
  display: grid; place-items: center; transition: border-color .18s;
}
.tier__dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .18s; }
.tier.is-on { border-color: var(--accent); background: #fbfdff; box-shadow: 0 0 0 3px var(--accent-wash); }
.tier.is-on .tier__dot { border-color: var(--accent); }
.tier.is-on .tier__dot::after { transform: scale(1); }
.tier:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }

.tier__body { display: block; min-width: 0; }
.tier__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tier__name { font-size: 13.5px; font-weight: 800; letter-spacing: -.2px; }
.tier__note { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tier__price { display: block; text-align: right; flex: none; }
.tier__price s { display: block; font-size: 11.5px; color: var(--faint); line-height: 1.2; }
.tier__price b { font-size: 17px; font-weight: 900; letter-spacing: -.6px; }

.pill-save { font-size: 10px; font-weight: 800; color: var(--green); background: var(--green-wash); border-radius: 4px; padding: 2px 6px; letter-spacing: .2px; }
.pill-dark { font-size: 10px; font-weight: 800; color: #fff; background: var(--ink); border-radius: 4px; padding: 2px 6px; letter-spacing: .2px; }

.buy__extend {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 10px;
  margin-top: 12px; padding: 11px 13px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  cursor: pointer; font-size: 12.5px; font-weight: 600;
  transition: border-color .18s, background-color .18s;
}
.buy__extend:hover { border-color: var(--accent-line); }
.buy__extend.is-on { border-style: solid; border-color: var(--accent); background: #fbfdff; }
.buy__extend input { position: absolute; opacity: 0; width: 0; height: 0; }
.buy__box {
  width: 16px; height: 16px; flex: none; border-radius: 4px;
  border: 2px solid var(--line-strong); background: #fff;
  display: grid; place-items: center; transition: border-color .18s, background-color .18s;
}
.buy__box::after {
  content: ''; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0); transition: transform .18s; margin-top: -2px;
}
.buy__extend.is-on .buy__box { border-color: var(--accent); background: var(--accent); }
.buy__extend.is-on .buy__box::after { transform: rotate(-45deg) scale(1); }
.buy__extend:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.buy__extend-price { font-size: 12.5px; font-weight: 800; color: var(--green); white-space: nowrap; }
.buy__extend-price s { color: var(--faint); font-weight: 600; margin-right: 5px; }

.buy__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
}
.buy__total span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.buy__total strong { font-size: 27px; font-weight: 900; letter-spacing: -1.2px; }

.buy__cta { margin-top: 12px; width: 100%; padding-block: 13px; font-size: 14px; }

.buy__ticks { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.buy__ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.buy__ticks .ico { width: 14px; height: 14px; color: var(--green); margin-top: 2px; }

.buy__note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.6; }

.side-card {
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 18px;
}
.side-card h2 { font-size: 15px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 10px; }

.owned-banner {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--green-wash); border: 1px solid #bbf7d0;
  border-radius: var(--radius); padding: 13px 15px; margin-bottom: 14px;
}
.owned-banner .ico { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 1px; }
.owned-banner p { font-size: 12.5px; color: #14532d; line-height: 1.6; margin: 0; font-weight: 600; }

/* --------------------------------------------------------------------------
   16. Capability strip and stats
   -------------------------------------------------------------------------- */
.capability {
  display: grid; gap: 1px;
  background: var(--line-strong); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); overflow: hidden;
}
@media (min-width: 820px) { .capability { grid-template-columns: repeat(3, 1fr); } }
.capability__item { background: #fff; padding: 26px 22px; transition: background .2s; }
.capability__item:hover { background: #f5f9ff; }
.capability__item .ico { width: 22px; height: 22px; color: var(--accent); margin-bottom: 14px; }
.capability__item h3 { font-size: 16px; font-weight: 800; margin-bottom: 7px; }
.capability__item p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.capability__count { margin-top: 14px; }

.statbar { background: var(--ink); padding: 32px 0; }
.statbar__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
@media (min-width: 720px) { .statbar__inner { grid-template-columns: repeat(4, 1fr); } }
.statbar__n { font-size: 27px; font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.statbar__l { font-size: 12px; color: #94a3b8; margin-top: 3px; font-weight: 600; }

/* --------------------------------------------------------------------------
   17. Legal, contact, error
   -------------------------------------------------------------------------- */
.legal { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 980px) { .legal { grid-template-columns: 240px 1fr; } }
.legal__toc { position: sticky; top: 96px; font-size: 13px; border-left: 2px solid var(--line); padding-left: 16px; }
.legal__toc p { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); margin-bottom: 12px; }
.legal__toc a { display: block; padding: 5px 0; color: var(--muted); font-weight: 600; transition: color .18s; }
.legal__toc a:hover { color: var(--accent); }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-size: 21px; font-weight: 800; margin: 38px 0 12px; scroll-margin-top: 90px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 15px; font-weight: 800; margin: 22px 0 8px; }
.legal__body p, .legal__body li { color: var(--ink-soft); line-height: 1.8; }
.legal__body ul { margin: 0 0 1.1em; padding-left: 20px; list-style: disc; }
.legal__body li { margin-bottom: 8px; }
.legal__body strong { color: var(--ink); font-weight: 700; }
.legal__stamp {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-block: 14px; margin-bottom: 34px;
}

.callout { background: var(--accent-wash); border: 1px solid var(--accent-line); border-radius: var(--radius-lg); padding: 16px 18px; margin: 18px 0; }
.callout p { font-size: 14px; color: #1e3a8a; margin: 0; line-height: 1.7; }

.contact-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; transition: border-color .22s, box-shadow .22s, transform .22s; }
.contact-card:hover { border-color: var(--accent-line); box-shadow: var(--lift); transform: translateY(-2px); }
.contact-card__ico { width: 38px; height: 38px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; margin-bottom: 14px; }
.contact-card__ico .ico { width: 19px; height: 19px; color: #fff; }
.contact-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.contact-card a { font-size: 13.5px; font-weight: 700; color: var(--accent); word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }

.error { text-align: center; padding-block: clamp(60px, 12vw, 110px); }
.error .lede { margin-inline: auto; }
.error .actions { justify-content: center; }

/* --------------------------------------------------------------------------
   18. Closing band and footer
   -------------------------------------------------------------------------- */
.band { padding-block: clamp(36px, 5vw, 52px); }
.band__inner {
  position: relative; overflow: hidden;
  background: var(--grad);
  border-radius: var(--radius-xl);
  padding: clamp(30px, 4.5vw, 48px);
  display: grid; gap: 22px; align-items: center; color: #fff;
}
@media (min-width: 880px) { .band__inner { grid-template-columns: 1fr auto; } }
.band__inner::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.12); top: -150px; right: -60px; }
.band__inner::after  { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.09); bottom: -130px; left: 12%; }
.band .h2 { color: #fff; position: relative; z-index: 1; }
.band p { color: rgba(255,255,255,.94); position: relative; z-index: 1; }
.band .actions { position: relative; z-index: 1; }
.band .btn--solid { background: #fff; color: var(--accent-2); border-color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.band .btn--solid:hover { background: #f1f5f9; color: var(--accent-2); }
.band .btn--line { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.band .btn--line:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }

.foot { background: var(--ink); color: #94a3b8; font-size: 13.5px; --mark-eye: #0f172a; }
.foot__grid { display: grid; gap: 32px; padding-block: clamp(38px, 5vw, 52px); }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.foot .brand { color: #fff; }
.foot .brand .mark { color: #fff; }
.foot .brand__sub { color: #64748b; }
.foot__blurb { max-width: 34ch; margin-top: 14px; line-height: 1.7; }
.foot h4 { font-size: 11px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.foot li { margin-bottom: 9px; }
.foot a { transition: color .18s; }
.foot a:hover { color: var(--sky); }
.foot__base {
  border-top: 1px solid rgba(255,255,255,.09); padding-block: 18px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 12.5px; color: #94a3b8;
}

/* --------------------------------------------------------------------------
   19. Interaction layer
   -------------------------------------------------------------------------- */
.spotlight {
  position: fixed; top: 0; left: 0;
  width: 540px; height: 540px; margin: -270px 0 0 -270px;
  border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(circle closest-side, var(--glow-soft), transparent 72%);
  transition: opacity .5s; will-change: transform;
}
.spotlight.is-on { opacity: 1; }

.spot-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--glow-soft), transparent 62%);
}
.spot-card:hover::after { opacity: 1; }
.spot-card > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); }
  .js .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .7s cubic-bezier(.22,.68,.3,1) var(--d, 0s),
                transform .7s cubic-bezier(.22,.68,.3,1) var(--d, 0s);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora i, .float-badge, .eyebrow i, .ticker__inner { animation: none; }
  .spotlight { display: none; }
}
@media (hover: none) {
  .spotlight, .spot-card::after { display: none; }
}

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.stack-sm > * + * { margin-top: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media print {
  .masthead, .band, .foot, .legal__toc, .drawer, .spotlight, .aurora, .ticker { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   21. Store, account and help centre
   ========================================================================== */

/* --- Flash messages ----------------------------------------------------- */
.flash {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px; border-radius: var(--radius-lg);
  font-size: 13.5px; font-weight: 600; margin-top: 18px;
}
.flash .ico { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.flash--ok  { background: var(--green-wash); color: #14532d; }
.flash--bad { background: #fee2e2; color: #991b1b; }

/* --- Product cards, three to a row -------------------------------------- */
.product-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.product-grid > * { display: flex; min-width: 0; }
.product-grid > * > .pcard { flex: 1; }

.pcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .22s, box-shadow .22s, transform .22s;
}
.pcard:hover { border-color: var(--accent-line); box-shadow: var(--lift-hover); transform: translateY(-3px); }

.pcard__cover {
  display: block; position: relative; overflow: hidden;
  background: linear-gradient(145deg, #f8fafc, #eef4ff);
  border-bottom: 1px solid var(--line);
  padding: 16px 16px 0;
  /* A fixed aspect keeps every card in a row the same height. */
  aspect-ratio: 16 / 10;
}
.pcard__cover .pv { height: 100%; width: 100%; object-fit: contain; }
.pcard__cover img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px 8px 0 0; }
@supports not (aspect-ratio: 16 / 10) {
  .pcard__cover { aspect-ratio: auto; }
  .pcard__cover .pv { max-height: 210px; }
}

.pcard__body { padding: 20px; flex: 1; min-width: 0; }
.pcard__body h3 { font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.pcard__body h3 a:hover { color: var(--accent); }
.pcard__body > p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 8px 0 0; }

.pcard__price { display: flex; align-items: baseline; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
.pcard__price s { color: var(--faint); font-size: 14px; }
.pcard__price strong { font-size: 24px; font-weight: 900; letter-spacing: -1px; }
.save { font-size: 11px; font-weight: 800; color: var(--green); background: var(--green-wash); border-radius: 5px; padding: 3px 8px; }

.pcard__foot {
  border-top: 1px solid var(--line); padding: 15px 20px; background: var(--canvas-deep);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.pcard__foot .btn { padding: 9px 15px; font-size: 12.5px; }

/* --- Legacy buy box (checkout page) ------------------------------------- */
.buybox { background: var(--canvas-deep); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.buybox__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buybox__price s { color: var(--faint); font-size: 17px; }
.buybox__price strong { font-size: 32px; font-weight: 900; letter-spacing: -1.4px; }
.pay-error { margin-top: 12px; color: #991b1b; font-size: 13px; font-weight: 600; }

/* --- Downloads ---------------------------------------------------------- */
.import-card {
  display: grid; gap: 16px; align-items: center;
  background: var(--accent-wash); border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg); padding: 20px; margin-bottom: 22px;
}
@media (min-width: 900px) { .import-card { grid-template-columns: auto 1fr auto; } }
.import-card__ico { width: 42px; height: 42px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
.import-card__ico .ico { width: 20px; height: 20px; color: var(--accent); }
.import-card__text h3 { font-size: 15px; font-weight: 800; }
.import-card__text p { font-size: 13px; color: var(--ink-soft); margin: 4px 0 0; }
.import-card__form { display: flex; gap: 8px; flex-wrap: wrap; }
.import-card__form input {
  min-width: 220px; flex: 1; padding: 10px 14px; font: inherit; font-size: 13.5px;
  border: 1px solid var(--line-strong); border-radius: 9px; background: #fff;
}

.owned-list { display: grid; gap: 16px; }
.owned {
  display: grid; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px;
}
@media (min-width: 900px) { .owned { grid-template-columns: 52px 1fr auto; } }
.owned__badge {
  width: 52px; height: 52px; border-radius: 11px; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 20px;
}
.owned__main h3 { font-size: 17px; font-weight: 800; }
.owned__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.owned__code {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 12px; background: var(--canvas-deep);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px;
}
.owned__code-label { font-size: 10px; font-weight: 800; letter-spacing: .8px; color: var(--muted); }
.owned__code code { font-family: var(--mono); font-size: 12px; font-weight: 600; word-break: break-all; }
.copy-btn { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 2px; }
.copy-btn .ico { width: 15px; height: 15px; }
.copy-btn:hover { color: var(--accent); }
.owned__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }

.licence-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .licence-grid { grid-template-columns: 1fr 1fr; } }
.timeline { display: grid; gap: 10px; }
.timeline li { font-size: 13px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 2px; }

/* --- Forms -------------------------------------------------------------- */
.field { display: block; }
.field + .field { margin-top: 14px; }
.field > span { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; font: inherit; font-size: 14px;
  border: 1.5px solid var(--line-strong); border-radius: 9px; background: #fff; color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash);
}
.field input:disabled { background: var(--canvas-deep); color: var(--muted); }
.field textarea { resize: vertical; }
.field__hint { display: block; font-size: 11.5px; color: var(--muted); margin-top: 6px; font-weight: 500; }

.check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; margin: 10px 0; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); flex: none; }

.field-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field + .field { margin-top: 0; } }

/* --- Auth pages --------------------------------------------------------- */
.auth {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(34px, 5vw, 64px);
  background: linear-gradient(180deg, var(--accent-wash), #fff 62%);
  border-bottom: 1px solid var(--line);
}
.auth::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 100%);
}

.auth-card {
  display: grid; gap: 0;
  max-width: 940px; margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: 0 24px 70px rgba(15, 23, 42, .1);
}
@media (min-width: 860px) { .auth-card { grid-template-columns: 1fr 1.05fr; } }

.auth-card__side {
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--ink);
  color: #cbd5e1;
  --mark-eye: #0f172a;
  display: flex; flex-direction: column;
}
.auth-card__side .brand { color: #fff; margin-bottom: 26px; }
.auth-card__side .brand .mark { color: #fff; }
.auth-card__side .brand__sub { color: #64748b; }
.auth-card__side h1 { font-size: clamp(24px, 2.6vw, 31px); font-weight: 800; letter-spacing: -1px; color: #fff; margin-bottom: 12px; }
.auth-card__side p { font-size: 14px; line-height: 1.75; color: #94a3b8; }
.auth-card__side .incl { margin-top: auto; padding-top: 26px; }
.auth-card__side .incl li { color: #cbd5e1; font-size: 13px; }
.auth-card__side .incl .tick { color: #4ade80; }

.auth-card__form { padding: clamp(26px, 3.4vw, 40px); }
.auth-card__form h2 { font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.auth-card__form > p { font-size: 13.5px; color: var(--muted); margin: 6px 0 22px; }
.auth-card__form .btn { margin-top: 20px; padding-block: 13px; font-size: 14px; }
.auth-alt { font-size: 13px; color: var(--muted); text-align: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-label-row a { font-size: 11.5px; font-weight: 700; color: var(--accent); }

.pw-field { position: relative; }
.pw-toggle {
  position: absolute; right: 6px; bottom: 6px;
  background: none; border: 0; cursor: pointer;
  padding: 7px 9px; border-radius: 7px; color: var(--muted);
  font-size: 11.5px; font-weight: 700;
}
.pw-toggle:hover { color: var(--accent); background: var(--accent-wash); }
.pw-field input { padding-right: 62px; }

.auth-secure { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 16px; }
.auth-secure .ico { width: 13px; height: 13px; color: var(--green); }

/* --- Help centre -------------------------------------------------------- */
.help-hero { padding-block: clamp(38px, 5.5vw, 66px); background: linear-gradient(180deg, var(--accent-wash), #fff); border-bottom: 1px solid var(--line); }
.help-search { display: flex; align-items: center; gap: 8px; max-width: 620px; margin: 24px auto 0; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 6px 6px 6px 14px; }
.help-search .ico { width: 18px; height: 18px; color: var(--muted); flex: none; }
.help-search input { flex: 1; border: 0; outline: none; font: inherit; font-size: 14.5px; padding: 10px 4px; background: transparent; }
.help-search--inline { margin-inline: 0; }
.help-popular { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center; }
.help-popular a { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.help-popular a .ico { width: 13px; height: 13px; }

/* --- Updates ------------------------------------------------------------ */
.center-tabs { justify-content: center; }
.warnbox { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-lg); padding: 20px; }
.warnbox h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: #92400e; margin-bottom: 12px; }
.warnbox h3 .ico { width: 18px; height: 18px; }
.warnbox ul { display: grid; gap: 10px; }
.warnbox li { font-size: 13.5px; color: #78350f; line-height: 1.7; padding-left: 16px; position: relative; }
.warnbox li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: #d97706; }
.warnbox code { background: #fef3c7; padding: 1px 5px; border-radius: 4px; font-size: 12.5px; font-family: var(--mono); }

.update-note { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.update-note summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.update-note summary::-webkit-details-marker { display: none; }
.update-note__title { font-size: 16px; font-weight: 800; }
.badge-dark { background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 5px; }
.update-note__body { padding: 0 20px 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.update-note__body p { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.steps-list { display: grid; gap: 12px; margin-top: 14px; }
.steps-list li { display: flex; gap: 12px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }
.steps-list__n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-wash); color: var(--accent-2); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.filelist { background: var(--canvas-deep); border: 1px solid var(--line); border-radius: 9px; padding: 16px; font-family: var(--mono); font-size: 12px; line-height: 1.9; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }

.release-list { display: grid; gap: 10px; }
.release-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 12px 16px; }
.release-row strong { font-size: 14px; font-weight: 800; }

/* --- Tickets ------------------------------------------------------------ */
.reply { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 12px; }
.reply--staff { background: var(--accent-wash); border-color: var(--accent-line); }
.reply__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.reply__body { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }

/* --- Tables ------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .right { text-align: right; }
.table .nowrap { white-space: nowrap; display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.row--muted { opacity: .55; }
code.tiny { font-family: var(--mono); font-size: 11.5px; }

/* --- Empty state -------------------------------------------------------- */
.empty { text-align: center; padding: 56px 20px; background: var(--canvas-deep); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty .ico { width: 28px; height: 28px; color: var(--faint); margin: 0 auto 14px; }
.empty h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.empty p { font-size: 13.5px; color: var(--muted); }

/* --- User menu ---------------------------------------------------------- */
.usermenu { position: relative; }
.usermenu__btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 9px; padding: 9px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.usermenu__btn .ico { width: 16px; height: 16px; color: var(--muted); }
.usermenu__list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: #fff; border: 1px solid var(--line-strong); border-radius: 11px; box-shadow: var(--lift-deep); padding: 6px; display: none; z-index: 60; }
.usermenu__list.is-open { display: block; }
.usermenu__list a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.usermenu__list a:hover { background: var(--accent-wash); color: var(--accent); }

/* ==========================================================================
   22. Homepage FAQ
   Centred stack of accordion cards, closing on a contact prompt.
   ========================================================================== */
.faq-head { text-align: center; max-width: 620px; margin: 0 auto clamp(24px, 3.5vw, 34px); }
.faq-head .lede { margin-inline: auto; max-width: 56ch; }

.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 10px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--accent-line); }
.faq-item[open] { border-color: var(--accent-line); box-shadow: var(--lift); }

.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 15px 18px;
  font-size: 14.5px; font-weight: 700; letter-spacing: -.2px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s, border-color .22s;
}
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--accent); }

.faq-item__a {
  padding: 0 18px 18px;
  font-size: 13.5px; line-height: 1.8; color: var(--ink-soft);
  max-width: 68ch;
}

.faq-cta { text-align: center; margin-top: clamp(26px, 3.5vw, 36px); }
.faq-cta strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.faq-cta p { margin: 5px 0 16px; }
.faq-cta .actions { justify-content: center; }

/* A showcase product with no store link yet: a status pill and a short note,
   left aligned, because a lone centred sentence in an otherwise empty card
   reads as though something failed to load. */
.side-note { display: grid; gap: 10px; justify-items: start; }
.side-note p { font-size: 12.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* A pasted legal document with no headings has no contents list, so the body
   takes the full width rather than leaving a gap where the list would be. */
.legal--plain { grid-template-columns: 1fr; }

/* Pasted legal documents use ordinary HTML rather than the site's own
   classes, so the body has to style bare <ol> and <a> itself. Without these
   two rules a numbered list of deletion steps renders unnumbered (the reset
   clears list-style) and a plain <a href> is indistinguishable from text
   (the reset sets color: inherit). Both matter on a page a Play reviewer
   reads and clicks through. */
.legal__body ol { margin: 0 0 1.1em; padding-left: 22px; list-style: decimal; }
.legal__body ol li { margin-bottom: 8px; padding-left: 2px; }
.legal__body ol ol { list-style: lower-alpha; margin-top: 8px; }

.legal__body a { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(37, 99, 235, .3); }
.legal__body a:hover { border-bottom-color: var(--accent); }

/* ==========================================================================
   23. Product screenshot gallery
   ========================================================================== */
.pdp__caption {
  padding: 12px 4px 14px;
  font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.5;
}

.shots {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 14px;
}
.shots__item {
  width: 92px; height: 68px; padding: 0; flex: none;
  background: var(--canvas-deep);
  border: 2px solid var(--line-strong); border-radius: 9px;
  overflow: hidden; cursor: pointer;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.shots__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shots__item:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.shots__item.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }

/* Lightbox. Kept out of the flow until opened so it can never intercept a
   click on the page behind it. */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  background: rgba(15, 23, 42, .92);
  padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; display: block; }
.lightbox__cap { color: #cbd5e1; font-size: 13px; text-align: center; margin-top: 14px; }
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 0; cursor: pointer;
  color: #fff; font-size: 22px; line-height: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 0; cursor: pointer;
  color: #fff; font-size: 24px; line-height: 1;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
@media (max-width: 620px) { .lightbox__nav { display: none; } }

/* An uploaded screenshot is letterboxed inside the stage rather than
   stretched to its width. Phone screenshots are tall - a 720x1600 shot
   scaled to the column width is over a thousand pixels high and pushes the
   tabs and the buy box off the screen entirely. */
.pdp__stage--photo {
  display: grid; place-items: center;
  padding: 18px;
  min-height: 300px;
}
.pdp__stage--photo img {
  width: auto; max-width: 100%;
  max-height: 480px;
  border-radius: 8px;
  cursor: zoom-in;
}
.pdp__stage--photo .pdp__caption { grid-column: 1; padding-bottom: 0; }
@media (max-width: 620px) {
  .pdp__stage--photo img { max-height: 380px; }
}

/* Uploaded pictures on cards and in the hero.
   These override the earlier rules on purpose. A product card is 16:10 and
   object-fit: cover would slice the middle out of a portrait phone
   screenshot; contain letterboxes it instead, which is also how the drawn
   illustrations behave, so a shelf of mixed products stays consistent. */
.pcard__cover img { object-fit: contain; border-radius: 0; padding: 10px; }

.hero__visual img { max-height: 340px; width: auto; margin-inline: auto; border-radius: 10px; }

/* A link inside the Technical details panel. The panel's dd is bold and dark
   by default, which would make a link indistinguishable from a value. */
.spec-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; }
.spec-link .ico { width: 14px; height: 14px; }
.spec-link:hover { text-decoration: underline; }
