/* Home page (index.html and pl.html). */
/* One column for every section: 1320px of content, 40px clear of the window's edges. */
section { padding: 96px 40px; max-width: 1400px; }
.section-header { text-align: center; margin-bottom: 12px; }
.section-sub { margin: 0 auto 48px; text-align: center; max-width: 520px; }
.wrap { max-width: 1320px; margin: 0 auto; }
.tight { padding-top: 0; }
/* Glows such as the one behind the playbook window reach past the window's
   edge; clip what lies beyond it, so the page is never wider than the window. */
main { overflow-x: clip; }

/* ─── HERO ─── */
/* The window's full width, as tall as its content: the copy and the proof
   start close under the nav, and on a tall screen the next section shows
   under them instead of empty space. */
.hero {
  display: grid;
  padding: 148px 40px 96px;
  position: relative;
  overflow: hidden;
  max-width: none;
  width: 100%;
  margin: 0;
}
/* Blue field behind the headline, dot grid fading out toward the edges. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(59,130,246,0.24) 0%, rgba(59,130,246,0.06) 45%, transparent 75%),
    radial-gradient(circle, rgba(59,130,246,0.12) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 45%, black 20%, transparent 80%);
  mask-image:         radial-gradient(ellipse 85% 80% at 50% 45%, black 20%, transparent 80%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
.hero > * { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-bright);
  margin-bottom: 24px;
}
.hero-desc {
  max-width: 520px;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Copy left, the proof right: one real recording, before and after, cut to
   the game's own overlay, with the measured numbers under it and the banner
   of digits under that. The hero is the one block wider than the page's
   1320px column: on a wide screen the headline starts further left and the
   card has room to be wide and low. */
.hero-grid { width: 100%; max-width: 1560px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 820px); justify-content: space-between; gap: 36px; align-items: center; }
.hero-side { display: grid; gap: 16px; min-width: 0; }
/* A strip of 0s and 1s whose brighter digits spell the wordmark (shared.js
   draws it, and the beam of blue light that keeps crossing it). */
.hero-code { height: 150px; overflow: hidden; background: rgba(3,3,5,0.92); border: 1px solid rgba(255,255,255,0.07); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.hero-code canvas { display: block; width: 100%; height: 100%; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 0.92rem; color: var(--text-dim); }
.hero-trust strong { color: var(--text-bright); }
.hero-avatars { display: flex; flex-shrink: 0; }
.hero-avatars img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); background: var(--bg2); }
.hero-avatars img + img { margin-left: -10px; }

.hero-proof { display: block; overflow: hidden; background: rgba(12,12,16,0.72); border: 1px solid rgba(59,130,246,0.3); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(147,197,253,0.16), 0 40px 80px -40px rgba(59,130,246,0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #000; }
.hero-shots figure { position: relative; aspect-ratio: 4 / 3; }
.hero-shots img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
/* The headline number on the left, the two supporting ones as rows beside it.
   In a narrow card (a phone, a small laptop) all three stack. */
.hero-proof { container-type: inline-size; }
.hero-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); font-variant-numeric: tabular-nums; }
.hero-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 24px; border-left: 1px solid var(--border); }
.hero-stats > div + div + div { border-top: 1px solid var(--border); }
.hero-stats > .is-lead { grid-row: 1 / span 2; display: block; padding: 18px 24px 16px; border-left: 0; }
.hero-stats dt { font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); }
.hero-stats dd { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.hero-stats s { font-size: 1rem; color: var(--text-dim); text-decoration-thickness: 1.5px; }
.hero-stats svg { align-self: center; color: var(--text-dim); }
.hero-stats b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--text-bright); }
.hero-stats em { font-style: normal; font-size: 0.8125rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; color: #bfdbfe; background: rgba(59,130,246,0.18); }
.hero-stats .is-lead dt { margin-bottom: 6px; }
.hero-stats .is-lead s { font-size: 1.35rem; font-weight: 300; }
.hero-stats .is-lead b { font-size: 3rem; font-weight: 700; letter-spacing: -0.045em; color: var(--blue-bright); }
@container (max-width: 580px) {
  .hero-stats { grid-template-columns: minmax(0, 1fr); }
  .hero-stats > div { border-left: 0; border-top: 1px solid var(--border); padding-inline: 18px; }
  .hero-stats > .is-lead { grid-row: auto; border-top: 0; padding-inline: 18px; }
  .hero-proof .hero-proof-foot { padding-inline: 18px; }
}
.hero-proof-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 13px 24px 15px; border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--text-dim); }
/* The card itself is not a link: only this line leads to the other games. */
.hero-proof-foot a { font-weight: 600; color: var(--blue-bright); text-decoration: none; }
.hero-proof-foot a svg, .svc-tag a svg { display: block; }
.hero-proof-foot a span { display: inline-block; transition: translate var(--t) var(--ease-out); }
.hero-proof-foot a:hover span { translate: 3px 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-proof { animation: hero-rise 640ms var(--ease-out) 380ms both; }
  .hero-code { animation: hero-rise 640ms var(--ease-out) 460ms both; }
  .hero-trust { animation: hero-rise 560ms var(--ease-out) 520ms both; }
}
@media (max-width: 900px) {
  .hero { padding: 96px 40px 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-shots figure { aspect-ratio: 1 / 1.1; }
  .hero-code { height: 110px; }
}
@media (max-width: 600px) {
  /* A phone's hero ran to one and a half screens: lower shots and a lower strip of digits. */
  .hero { padding-inline: 20px; }
  .hero-shots figure { aspect-ratio: 4 / 3; }
  .hero-code { height: 64px; }
}

/* Hero entrance, on load. Setup: the glow comes up slowly behind. Action: the headline rises. Resolution: the sentence and the
   buttons settle in under it. Every beat starts inside 400ms; the glow then
   keeps breathing as the ambient layer. */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { transform-origin: 50% 42%; animation: hero-glow-in 1200ms var(--ease-out) both, hero-breathe 7s ease-in-out 1200ms infinite alternate; }
  .hero-title { animation: hero-rise 640ms var(--ease-out) 80ms both; }
  .hero-desc { animation: hero-rise 560ms var(--ease-out) 340ms both; }
  .hero-actions { animation: hero-rise 560ms var(--ease-out) 420ms both; }
}
@keyframes hero-glow-in { from { opacity: 0; } }
/* The breathing swells the field rather than dimming it: a second animation on
   opacity, after the fade-in, kept the glow off the compositor and a phone's
   main thread busy for as long as the hero was on screen. */
@keyframes hero-breathe { to { scale: 1.04; } }
@keyframes hero-rise { from { opacity: 0; translate: 0 22px; } }
/* The wipe and the edge travel exactly the same distance (0 to 100% of the
   line) on the same curve, so the edge is always the thing uncovering the
   letters, never trailing behind ones already shown. */
/* ─── CLIENTS ─── */
/* One strip of clients, drifting left forever. The set is in the DOM twice and the
   track moves exactly one set width, so the loop has no seam. */
/* The clients are a low strip under a smaller heading, not a section of their own size. */
.proof { padding-block: 56px 40px; }
.proof .gains-head { margin-bottom: 24px; }
.proof .section-title { font-size: clamp(1.2rem, 1.9vw, 1.55rem); }
.marquee {
  overflow: hidden;
  padding: 4px 0;
  /* Edge to edge, out of the section's centred column. */
  margin-inline: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { list-style: none; display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
/* Paused under a real pointer or keyboard focus only: a tap leaves a sticky :hover on
   phones, and a clicked card keeps focus after its tab opens, which froze the strip. */
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }
.marquee:has(:focus-visible) .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.marquee-track > li { display: flex; }
.marquee .client { width: 290px; }
.client {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(16,16,20,0.45);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color var(--t) var(--ease-out), background-color var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.client:hover { border-color: rgba(59,130,246,0.4); background: rgba(19,19,24,0.65); transform: translateY(-2px); }
.client img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--bg2); transition: scale var(--t) var(--ease-out); }
.client:hover img { scale: 1.05; }
.client-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.client-name { font-size: 0.95rem; font-weight: 600; color: var(--text-bright); }
.client-role { font-size: 0.875rem; color: var(--text-dim); }
/* One fact per piece: a fact moves to the next line whole instead of breaking after "19×". */
.client-role > span { display: inline-block; }
.client-handle { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8125rem; color: #93c5fd; }

/* ─── GAINS ─── */
.gains { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
/* Title on the left, the line under it moved to the right. */
.gains-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 48px; margin-bottom: 40px; }
.gains-head :is(.section-title, .section-sub) { margin: 0; text-align: left; }
.gains-head .section-sub { max-width: 420px; }
.gains li {
  position: relative;
  padding: 12px 12px 24px;
  background: rgba(16,16,20,0.45);
  /* Frosted a little: the photo and stars behind soften under the card. */
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
@media (prefers-reduced-transparency: reduce) {
  .gains li { background: var(--bg2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Each card opens on a small readout of what it promises: the hero's Fortnite numbers, a frame-time trace, the BIOS. */
.gain-viz { display: flex; flex-direction: column; height: 9.5rem; margin-bottom: 22px; padding: 12px 14px; background: rgba(8,8,11,0.6); border: 1px solid var(--border-bright); border-radius: 10px; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; line-height: 1.4; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.gain-viz b { font-weight: 600; color: var(--text-bright); }
.gain-viz .is-opt { color: #93c5fd; }
.gv-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.gv-label b { font-size: 0.875rem; }
.gv-bars { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; }
.gv-bars i { width: var(--w); height: 8px; border-radius: 4px; background: #3a3a44; }
.gv-bars i.is-opt { background: var(--blue-bright); }
.gv-bars b { text-align: right; }
.gv-axis { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border-bright); font-size: 0.6875rem; color: #6b6b7a; }
.gv-axis span { white-space: nowrap; }
.gv-axis span:last-child { margin-left: auto; }
.gv-spark { flex: 1; min-height: 0; width: 100%; fill: none; stroke: #6b6b7a; stroke-width: 1.25; stroke-linejoin: round; }
.gv-spark polyline { vector-effect: non-scaling-stroke; }
.gv-spark .is-opt { stroke: var(--blue-bright); stroke-width: 2; }
.gv-label + .gv-spark { margin-top: -4px; }
.gv-line { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; }
.gv-line + .gv-line { border-top: 1px solid var(--border-bright); }
.gv-line b { color: #93c5fd; font-weight: 500; }
.gv-reset { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 4px 5px 4px 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-bright); border-radius: 6px; font-family: 'Inter Display', sans-serif; color: var(--text-bright); }
.gv-reset kbd { padding: 0 6px; border: 1px solid var(--border-bright); border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; color: var(--text-dim); }
.gains h3, .gains li > p { padding-inline: 14px; }
.gains h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-bright); margin-bottom: 10px; letter-spacing: -0.01em; }
.gains li > p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }

/* ─── DEPTH ─── */
/* The one authored moment: when the table arrives, the session bar drills down
   through all four layers while the playbook bar stops at the OS. */
.depth { max-width: 1320px; margin: 0 auto; }
.depth table { width: 100%; border-collapse: collapse; }
.depth thead th { font-size: 0.8125rem; font-weight: 600; color: var(--text-dim); text-align: left; padding: 0 0 14px; }
.depth th.reach-head { text-align: center; width: 104px; }
.depth th.reach-head-session { color: var(--blue-bright); }
.depth td, .depth tbody th { padding: 22px 0; border-top: 1px solid var(--border); vertical-align: top; }
@media (min-width: 761px) { .depth tbody tr:last-child > * { border-bottom: 1px solid var(--border); } }
.depth .layer { width: 150px; padding-right: 24px; text-align: left; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-bright); letter-spacing: -0.02em; }
.depth .layer-desc { font-size: 0.92rem; color: var(--text-dim); line-height: 1.7; padding-right: 32px; }
.depth .reach { position: relative; }
.depth .reach::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
  transform-origin: top;
  transition: transform 500ms var(--ease-out);
}
.depth .reach-yes::before { background: var(--text-dim); }
.depth .reach-yes.reach-session::before { background: var(--blue-bright); }
/* The playbook's reach ends with a visible stop. */
.depth .reach-end::after { content: ''; position: absolute; bottom: -1px; left: 50%; width: 14px; height: 2px; margin-left: -7px; border-radius: 1px; background: var(--text-dim); transition: transform 260ms var(--ease-back) 380ms; }
.depth.fade-in:not(.visible) .reach-end::after { transform: scaleX(0); }
.depth .reach-no::before { width: 0; margin-left: -1px; border-left: 2px dashed var(--border-bright); border-radius: 0; }
.depth.fade-in:not(.visible) .reach-yes::before { transform: scaleY(0); }
/* Starts after the table's own reveal is under way, then drills down a row
   every 120ms. */
.depth .reach::before { transition-delay: calc(var(--reveal-delay, 0ms) + 160ms); }
.depth tbody tr:nth-child(2) .reach::before { transition-delay: calc(var(--reveal-delay, 0ms) + 280ms); }
.depth tbody tr:nth-child(3) .reach::before { transition-delay: calc(var(--reveal-delay, 0ms) + 400ms); }
.depth tbody tr:nth-child(4) .reach::before { transition-delay: calc(var(--reveal-delay, 0ms) + 520ms); }
.depth-note { margin-top: 18px; font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }

/* ─── HOW IT WORKS ─── */
/* The three steps down the left on one line, what to have ready in a glass
   card on the right. */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.flow { list-style: none; display: grid; gap: 30px; }
.flow li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; align-content: start; }
.flow li:not(:last-child)::before { content: ''; position: absolute; left: 20px; top: 48px; bottom: -22px; width: 1px; background: var(--border-bright); }
.flow .pb-n { grid-row: span 2; }
.flow h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--text-bright); margin: 7px 0 6px; letter-spacing: -0.01em; }
.flow p { max-width: 56ch; font-size: 0.95rem; color: var(--text-dim); line-height: 1.65; }

/* ─── FAQ ─── */
/* The heading and the Discord button on one row, then the questions in two
   columns of glass lists like the playbook's tools: each question is a row,
   and the open one wears the lens. */
.faq-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 32px; margin-bottom: 32px; }
.faq-intro .btn { grid-area: 1 / 2 / 3 / 3; }
.faq-intro .section-title { margin-bottom: 8px; }
.faq-intro .section-sub { margin: 0; max-width: none; text-align: left; }
.faq-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }

/* ─── SERVICES ─── */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-bottom: 40px; }
/* Under the packages: what the overclocking in them asks of the hardware. */
.hw-note { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 80px; padding: 18px 22px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.hw-note svg { flex: none; margin-top: 2px; color: var(--blue-bright); }
.hw-note strong { display: block; margin-bottom: 4px; font-size: 0.95rem; font-weight: 600; color: var(--text-bright); }
.hw-note p { font-size: 0.9rem; line-height: 1.6; color: var(--text-dim); }
.hw-note a { color: var(--text-bright); text-underline-offset: 3px; text-decoration-color: var(--border-bright); }
.hw-note a:hover { text-decoration-color: var(--blue-bright); }
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: rgba(16,16,20,0.45);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.package { --field-glow: 0.15; --field-dots: 0.17; }
/* The photo covers the right of the build card; its glow rises under the text. */
.build { --field-glow: 0.2; --field-dots: 0.18; --field-at: 30% 100%; }
.client, .gains li, .member { --field-glow: 0.2; --field-dots: 0.21; }
/* The featured package runs the field hardest, with a brighter rim and a long
   soft shadow, so it reads as the one to pick before a word of it is read.
   The orbit is its alone. */
.package-featured {
  --field-glow: 0.7;
  --field-dots: 0.22;
  border-color: rgba(59,130,246,0.3);
  box-shadow: inset 0 1px 0 rgba(147,197,253,0.16), 0 32px 64px -36px rgba(59,130,246,0.5);
}
/* Sits on the featured card's top edge, so it never crowds the name. Opaque,
   so the rim doesn't run through it; above the orbit. */
.package-badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  translate: -50% -50%;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #dbeafe;
  background: #13254a;
  border: 1px solid rgba(96,165,250,0.5);
  border-radius: 999px;
  padding: 4px 12px;
}
/* Max gets the featured card's frame in gray: the same orbit, running the other
   way and out of phase, and a badge that stays quieter than "Best value". */
.package-max { border-color: rgba(140,140,160,0.28); }
.package-max .orbit-ring > i {
  background: conic-gradient(
    transparent 0deg,
    transparent 245deg,
    rgba(140,140,160,0.14) 278deg,
    rgba(200,200,214,0.75) 312deg,
    rgba(140,140,160,0.1) 342deg,
    transparent 360deg
  );
  animation-direction: reverse;
  animation-delay: -2.75s;
}
.package-max .package-badge { color: var(--text); background: #18181d; border-color: rgba(140,140,160,0.45); }
.package-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 8px; }
.package-desc { font-size: 0.92rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 26px; max-width: 38ch; }
.package-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 3rem; font-weight: 600; color: var(--text-bright); letter-spacing: -0.045em; line-height: 1; margin-bottom: 26px; }
.package-list { list-style: none; display: grid; gap: 12px; padding-top: 24px; margin-bottom: 30px; border-top: 1px solid var(--border); }
.package-featured .package-list { border-top-color: rgba(59,130,246,0.2); }
.package-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; line-height: 1.45; color: var(--text); }
.package-list li::before {
  content: '';
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex-shrink: 0;
  background: var(--blue-bright);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}
/* Left out of this package: dimmed behind a dash, not struck through in red. */
.package-list li.no { color: var(--text-dim); }
.package-list li.no::before { background: #4c4c5a; -webkit-mask-image: var(--dash); mask-image: var(--dash); }
/* What Max takes further than Complete: the check glows. The glow is drawn
   into the image (a mask would clip a drop-shadow); the larger box and the
   negative margins keep the check itself the size and place of the others. */
.package-list li.deep::before { width: 27.5px; height: 27.5px; margin: -3.25px -6.25px -6.25px; background: var(--check-glow) center / contain no-repeat; -webkit-mask: none; mask: none; }
.package-cta { width: 100%; margin-top: auto; padding: 13px 20px; font-size: 0.9rem; }
:root {
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --check-glow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 44 44' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cfilter id='g' x='-1' y='-1' width='3' height='3'%3E%3CfeGaussianBlur stdDeviation='3'/%3E%3C/filter%3E%3Cg stroke='%233b82f6' stroke-width='6' filter='url(%23g)'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/g%3E%3Cpath d='M20 6 9 17l-5-5' stroke='%23bfdbfe' stroke-width='3'/%3E%3C/svg%3E");
  --dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* Subheads inside a section take the card titles' voice. */
.menu-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text-bright); margin-bottom: 22px; }

.build {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40%;
  /* With the grid's -40px collapsing into it, the gap above it is what it was with 44px and the grid's old 30px. */
  margin-top: 84px;
  background: rgba(16,16,20,0.45);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 0 56px -10px rgba(59,130,246,0.3);
}
/* The 16:9 photo trimmed to 3:2 from both sides; the PC sits in the middle. */
.build-img { width: 100%; height: 100%; min-height: 220px; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 50%; display: block; border-radius: 0 15px 15px 0; }
.build-text { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.build-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 6px; }
.build-desc { font-size: 0.92rem; color: var(--text-dim); line-height: 1.65; max-width: 56ch; margin-bottom: 18px; }
.build-prices { display: flex; gap: 12px; flex-wrap: wrap; }
/* The blur smears the card's dot grid away behind the two price boxes and keeps its glow. */
.build-prices p { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; padding: 12px 16px; background: rgba(255,255,255,0.02); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--border-bright); border-radius: 10px; min-width: 190px; }
.build-label { font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); }
.build-price { font-size: 1.5rem; font-weight: 600; color: var(--text-bright); letter-spacing: -0.03em; line-height: 1; }

/* What to have ready before booking: a glass card beside the steps. */
.before { padding: 6px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.07); border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.before .menu-title { margin: 0; padding: 15px 18px 13px; }
.before-list { list-style: none; }
.before-list li { position: relative; padding: 12px 18px 12px 40px; font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.06); }
.before-list li::before { content: ''; position: absolute; left: 19px; top: calc(12px + 0.8em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); }
.before-list b { font-weight: 600; color: var(--text-bright); }

/* ─── FRAME TIME ─── */
/* The chart card keeps the glow but no dots: dots behind a line chart read as data. */
.ft { position: relative; padding: 22px 24px 18px; background: rgba(16,16,20,0.45); border: 1px solid var(--border); border-radius: 16px; --field-glow: 0.12; --field-dots: 0; }
.ft-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-bottom: 18px; font-size: 0.875rem; color: var(--text-dim); }
.ft-legend p, .ft-tip p { display: flex; align-items: center; gap: 8px; }
.ft-legend strong { color: var(--text-bright); font-weight: 600; }
/* The stats refresh twice a second; a fixed width keeps the legend from twitching. */
.ft-legend [data-stat] { min-width: 24ch; font-variant-numeric: tabular-nums; }
/* The switcher, with a line on what the chosen measurement shows. */
.ft-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-bottom: 18px; }
.ft-tabs, .viewer-tabs { margin: 0; }
@media (pointer: coarse) { :is(.ft-tabs, .viewer-tabs) .bench-tab[aria-selected="true"] { touch-action: auto; } }
.ft-hint { font-size: 0.875rem; color: var(--text-dim); }
.ft-key { flex: none; width: 16px; height: 2px; border-radius: 1px; background: #7a7a8c; }
.ft-key-after { background: var(--blue-bright); }
.ft-plot { position: relative; height: 260px; touch-action: pan-y; }
.ft-plot:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 6px; border-radius: 4px; }
/* The lines, gridlines and heads are drawn on the canvas each frame; the SVG
   above it holds the axis labels and the reading under the pointer. */
.ft-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ft-plot svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; }
.ft-grid text { font-size: 0.8125rem; font-weight: 600; fill: var(--text-dim); font-variant-numeric: tabular-nums; }
.ft-cross { stroke: var(--border-bright); }
.ft-dot { fill: #7a7a8c; stroke: var(--surface); stroke-width: 2; }
.ft-dot.is-after { fill: var(--blue-bright); }
.ft-hover, .ft-tip { opacity: 0; transition: opacity var(--dur-quick) var(--ease-out); pointer-events: none; }
.ft-plot.is-active :is(.ft-hover, .ft-tip) { opacity: 1; }
.ft-tip { position: absolute; top: 0; left: 0; display: grid; gap: 4px; padding: 10px 12px; background: var(--bg2); border: 1px solid var(--border-bright); border-radius: 10px; font-size: 0.8125rem; color: var(--text-dim); white-space: nowrap; }
.ft-tip strong { color: var(--text-bright); font-weight: 600; font-variant-numeric: tabular-nums; }
.ft-note { margin-top: 14px; font-size: 0.8125rem; color: var(--text-dim); }

/* ─── RESULTS: per-game before/after ─── */
/* One switcher, like the header nav: a glass capsule with the gliding lens
   (the capsule itself is in shared.css). */
/* Picked up, the lens follows the finger at once, swells inside the row's
   padding and tints blue; only the game under it keeps its colour. */
.bench-tabs.is-dragging { transition: none; }
.bench-tabs.is-dragging::before {
  scale: 1.1 1.16;
  border-color: rgba(147,197,253,0.4);
  background: linear-gradient(180deg, rgba(96,165,250,0.26), rgba(59,130,246,0.08) 55%, rgba(59,130,246,0.16));
  box-shadow: inset 0 1px 0 rgba(191,219,254,0.45), 0 8px 22px rgba(0,0,0,0.45);
}
.bench-tabs.is-dragging .bench-tab { color: var(--text-dim); }
.bench-tabs.is-dragging .bench-tab.is-under { color: #93c5fd; }
.bench-tab {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter Display', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dim);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 15px;
  cursor: pointer;
  transition: color var(--t) var(--ease-out), background-color var(--t) var(--ease-out), border-color var(--t) var(--ease-out);
}
.bench-tab:hover { color: var(--text-bright); background: rgba(255,255,255,0.05); }
.bench-tab[aria-selected="true"] { color: var(--blue-bright); background: none; cursor: default; }
@media (pointer: coarse) {
  .bench-tab { padding-block: 11px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  /* The open game's tab is the handle for dragging the lens (shared.js):
     sideways moves from it drag, not scroll. */
  .bench-tab[aria-selected="true"] { touch-action: pan-y; }
}
.bench-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; }

/* The two recordings side by side, an equal half each, each cropped to its
   own centre so the crosshair shows in both. Beside the panel the frame
   stretches to the panel's height instead of holding 16:9; its width stays
   the column's, or a taller panel would widen it into the panel. */
.bench-video {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  align-self: stretch;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.bench-video video { width: 100%; height: 100%; min-width: 0; object-fit: cover; background: #060608; }
.bench-tag, .bench-rig {
  position: absolute;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 7px;
  padding: 5px 10px;
  pointer-events: none;
}
.bench-tag { top: 14px; left: 14px; color: var(--text-bright); background: rgba(16,16,20,0.78); border: 1px solid rgba(140,140,160,0.4); }
.bench-tag.is-opt { left: auto; right: 14px; color: #fff; background: rgba(31,91,216,0.88); border-color: rgba(147,197,253,0.45); }
.bench-rig { bottom: 14px; left: 50%; translate: -50% 0; max-width: calc(100% - 120px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); background: rgba(6,6,8,0.92); }
.bench-rig[hidden] { display: none; }
.bench-play {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(238,238,242,0.35);
  background: rgba(6,6,8,0.72);
  color: var(--text-bright);
  cursor: pointer;
}
.bench-play .icon-play, .bench-play.is-paused .icon-pause { display: none; }
.bench-play.is-paused .icon-play { display: block; }
/* Recordings start paused: the play button sits big in the middle until pressed. */
.bench-play.is-paused {
  bottom: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  translate: -50% 50%;
  color: #fff;
  background: linear-gradient(#2f6fec, #1f5bd8);
  border-color: rgba(147,197,253,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 12px 30px rgba(0,0,0,0.55);
}
.bench-play.is-paused svg { width: 22px; height: 22px; margin-left: 3px; }
/* No recordings yet: the two halves tinted stock and optimized, still split by the divider. */
.bench-empty {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-dim);
  background:
    radial-gradient(circle, rgba(59,130,246,0.16) 1px, transparent 1px) 11px 11px / 22px 22px,
    linear-gradient(90deg, rgba(140,140,160,0.07) 50%, rgba(6,6,8,0.9) 50%, rgba(6,6,8,0.9) calc(50% + 2px), rgba(59,130,246,0.1) calc(50% + 2px));
}
.bench-video.is-empty .bench-empty { display: grid; }
.bench-video.is-empty video, .bench-video.is-empty .bench-play { display: none; }

.bench-panel { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px 26px; background: rgba(16,16,20,0.45); --field-glow: 0.16; --field-dots: 0.17; border: 1px solid var(--border); border-radius: 16px; }
.bench-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bench-game { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-bright); letter-spacing: -0.02em; }
.bench-meta { margin-top: 4px; font-size: 0.875rem; color: var(--text-dim); }
.bench-meta:empty { display: none; }
.bench-legend { display: flex; gap: 18px; font-size: 0.8125rem; color: var(--text-dim); }
.bench-key { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; background: #4a4a55; vertical-align: -1px; }
.bench-key.is-opt { background: var(--blue-bright); }
.bench-metric { display: grid; gap: 7px; }
/* The panel keeps one height for every game, or the section and the photo behind
   it jump on a switch: a missing delta still takes a pill's room (so the label
   wraps the same on a narrow phone), and a game without numbers shows its note
   in the legend's place. */
.bench-label { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 600; color: var(--text); }
.bench-delta { padding: 1px 8px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; color: #bfdbfe; background: rgba(59,130,246,0.14); font-variant-numeric: tabular-nums; }
.bench-delta:empty { visibility: hidden; }
.bench-delta:empty::before { content: '−00%'; }
.bench-hint { margin-left: auto; font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); }
.bench-row { display: grid; grid-template-columns: minmax(0, 1fr) 76px; align-items: center; gap: 12px; }
.bench-track { height: 12px; border-radius: 3px; background: rgba(255,255,255,0.04); }
/* Bars grow from a square baseline to a rounded end; a game switch eases them to the new values. */
.bench-fill { display: block; width: 0; height: 100%; border-radius: 0 5px 5px 0; background: #4a4a55; transition: width 700ms var(--ease-out); }
.bench-row.is-opt .bench-fill { background: linear-gradient(90deg, #1f5bd8, var(--blue-bright)); }
.bench-value { font-size: 0.9rem; font-weight: 500; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.bench-row.is-opt .bench-value { font-weight: 600; color: var(--text-bright); }
.bench-soon { font-size: 0.8125rem; color: var(--text-dim); }
.bench-soon[hidden], .bench-panel:has(.bench-soon:not([hidden])) .bench-legend { display: none; }

/* ── Chip hero ── */
.chip-hero { display: flex; justify-content: center; margin-bottom: 26px; }
.chip-svg {
  width: 150px; height: 150px;
  overflow: visible;
  filter: drop-shadow(0 6px 22px rgba(0,0,0,0.55));
}

/* Ambient loops (this chip, the hero glow) pause while off screen; shared.js
   marks them. Painted SVG animation is not free on a phone. */
.chip-hero.is-offscreen *, .hero.is-offscreen::before { animation-play-state: paused; }

/* One authored moment: a scan crosses the die, the core answers on the same clock. */
.chip-scan { animation: chip-scan 4.4s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes chip-scan {
  0%        { transform: translateY(-20px); opacity: 0; }
  11%       { opacity: 1; }
  58%       { opacity: 1; }
  72%, 100% { transform: translateY(62px); opacity: 0; }
}
.chip-core {
  transform-origin: 80px 80px;
  animation: chip-core 4.4s ease-in-out infinite;
}
@keyframes chip-core {
  0%, 100% { opacity: 0.5;  transform: scale(0.93); }
  42%      { opacity: 0.98; transform: scale(1.05); }
}
.chip-pad { animation: chip-pad 4.4s ease-in-out infinite; }
@keyframes chip-pad {
  0%, 100% { stroke-opacity: 0.26; }
  46%      { stroke-opacity: 0.68; }
}
.chip-mark { animation: chip-mark 4.4s ease-in-out infinite; }
@keyframes chip-mark {
  0%, 100% { fill-opacity: 0.72; }
  44%      { fill-opacity: 1; }
}


/* One two-column grid, not two stacked columns. Through subgrid every group
   puts its tag, each of its rows and its note on tracks shared with the group
   beside it, so side-by-side groups line up row for row: tag with tag, row N
   with row N (as tall as the taller of the two), note with note. */
.svc-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  /* Takes back the last row's 40px group margin: the section's own padding is the gap below. */
  margin-bottom: -40px;
}
.svc-columns .svc-group {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3; /* tag, one row, note */
  min-width: 0;
  margin-bottom: 40px;
}
.svc-columns .svc-group:has(.svc-row:nth-child(2)) { grid-row: span 4; }
.svc-columns .svc-group:has(.svc-row:nth-child(3)) { grid-row: span 5; }
.svc-columns .svc-rows { display: grid; grid-template-rows: subgrid; grid-row: span 1; }
.svc-columns .svc-rows:has(> .svc-row:nth-child(2)) { grid-row: span 2; }
.svc-columns .svc-rows:has(> .svc-row:nth-child(3)) { grid-row: span 3; }

.svc-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dim);
  margin-bottom: 12px;
}
/* A group's tag can end, at the card's right edge, in a link to the page that explains the group, or in a short note. */
.svc-tag-note { margin-left: auto; text-align: right; color: var(--text); }
/* On a phone the note takes its own line under the group's name. */
@media (max-width: 600px) {
  .svc-tag:has(.svc-tag-note) { flex-wrap: wrap; row-gap: 4px; }
  .svc-tag-note { flex-basis: 100%; margin-left: 0; text-align: left; }
}
.svc-tag a { margin-left: auto; margin-block: -10px; padding-block: 10px; color: var(--text); text-decoration: none; transition: color var(--t) var(--ease-out); }
.svc-tag a:hover { color: var(--text-bright); }
.svc-tag a span, .pbx-more svg { display: inline-block; color: var(--blue-bright); transition: translate var(--t) var(--ease-out); }
.svc-tag a:hover span, .pbx-more:hover svg { translate: 3px 0; }

/* A small mono tag after the name, not "/ FLAG": in narrow rows the flag wraps under the
   name, and a line starting with a slash read as a typo. */
.svc-flag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Each group is one card carrying the field faintly; its rows sit on hairlines
   inside it. A hovered row lifts as an inset wash, and the rules either side
   of it step aside so the wash reads as one piece. */
.svc-rows {
  position: relative;
  padding: 6px;
  background: rgba(16,16,20,0.45);
  border: 1px solid var(--border);
  border-radius: 16px;
  --field-glow: 0.11;
  --field-dots: 0.15;
}
.svc-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color var(--t) var(--ease-out);
}
.svc-row + .svc-row::before {
  content: '';
  position: absolute;
  top: 0; left: 14px; right: 14px;
  height: 1px;
  background: var(--border);
  transition: opacity var(--t) var(--ease-out);
}
.svc-row:hover { background: rgba(59,130,246,0.06); }
.svc-row:hover::before, .svc-row:hover + .svc-row::before { opacity: 0; }
.svc-row:focus-visible { outline-offset: 0; border-radius: 10px; }
/* A service not open for orders yet: no hover, no arrow, "Soon" in place of the price. */
.svc-row.is-soon:hover { background: none; }
.svc-row.is-soon:hover::before, .svc-row.is-soon:hover + .svc-row::before { opacity: 1; }
.svc-row.is-soon .price { color: var(--text-dim); }
.svc-row.is-soon .svc-row-price::after { display: none; }

.svc-row-left { flex: 1; }
.svc-row-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.svc-row-detail { font-size: 0.875rem; color: var(--text-dim); line-height: 1.5; }

.svc-row:hover .price { color: #dbeafe; }
.svc-row-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.svc-row-price::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--text-dim);
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  opacity: 0.35;
  transition: opacity var(--t) var(--ease-out), background-color var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.svc-row:hover .svc-row-price::after {
  opacity: 1;
  background: var(--blue-bright);
  transform: translateX(3px);
}
.price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color var(--t) var(--ease-out);
}



/* ─── PLAYBOOK: one tool's window at a time, then the three steps on a rail ─── */
#playbook { padding-block: 96px 72px; }
.pbx { max-width: 1320px; margin: 0 auto; }
.pbx-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; color: var(--text-bright); margin-bottom: 18px; }
.pbx-title span { display: block; color: var(--text-dim); }
.pbx-sub { max-width: 62ch; font-size: 1.02rem; line-height: 1.7; color: var(--text); margin-bottom: 40px; }
/* The window at its real size on the left, cut where the column ends and
   fading out there, like the Viewer's. On the right the four tools in one
   glass list: the lens of the header nav and the games' tabs, here travelling
   up and down (shared.js sets its two edges, --y1 and --y2). */
.pbx-tools { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 10px 40px; }
.pbx-tools::before { content: ''; position: absolute; inset: -90px 400px -90px -110px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(59,130,246,0.36), transparent); }
.pbx-shots { order: -1; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to right, #000 80%, transparent), linear-gradient(#000 78%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, #000 80%, transparent), linear-gradient(#000 78%, transparent); mask-composite: intersect; }
/* Each window fills the list's height from the top left corner; the Start
   menu is smaller than that and sits in the middle. */
.pbx-shot { position: absolute; inset: 0; }
.pbx-shot.is-small { display: grid; place-items: center; }
.pbx-shot[hidden] { display: none; }
.pbx-shot img { display: block; width: auto; max-width: none; height: auto; }
/* The chosen tool's description again, for phones only (shared.js fills it). */
.pbx-note { display: none; }
/* Under the list, in its column and on its text's left edge: the link to the page that describes each tool. */
.pbx-more { grid-column: -2 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 24px; font-size: 0.9rem; font-weight: 600; color: var(--text-bright); text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .pbx-shot img { animation: vt-in 320ms var(--ease-out); }
}
/* Guide, download, first steps and the two help links: one glass bar under the
   tools, the same glass as their list. The download is its one blue cell. */
.pbx-rail { margin-top: 40px; padding: 6px; border-radius: 22px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.07); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.pbx-rail > ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.pbx-step { display: flex; align-items: center; gap: 14px; width: 100%; height: 100%; padding: 16px 18px; text-align: left; font: inherit; color: var(--text-bright); text-decoration: none; cursor: pointer; border: 1px solid transparent; border-radius: 16px; transition: background-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), transform var(--t) var(--ease-out), scale var(--dur-base) var(--ease-back); }
.pbx-step:not(.btn-book):hover { background: rgba(255,255,255,0.05); }
.pbx-step:active { scale: 0.985; }
.pbx-step > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pbx-step b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.pbx-step em { font-style: normal; font-size: 0.9rem; line-height: 1.5; color: var(--text-dim); }
.pbx-step em b { font-family: inherit; font-size: inherit; letter-spacing: 0; color: var(--text-bright); }
.pbx-step svg { flex: none; color: var(--blue-bright); transition: translate var(--t) var(--ease-out); }
a.pbx-step:hover svg { translate: 3px 0; }
.pbx-step.btn-book .pb-n { color: #fff; background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); }
.pbx-step.btn-book em, .pbx-step.btn-book em b, .pbx-step.btn-book svg { color: #fff; }
@media (max-width: 900px) {
  .pbx-tools { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* Full width here, so the glow stays inside it or the page grows sideways. */
  .pbx-tools::before { inset: -40px 0 auto; height: 380px; }
  /* A phone shows the window's corner at 70%, enough to read its headings.
     The tools are a row of names above it (shared.css), and the chosen one's
     description, which the row has no room for, is the line under the window. */
  .pbx-shots { order: 0; height: 300px; }
  .pbx-shot img { zoom: 0.7; }
  .pbx-note { display: block; font-size: 0.92rem; line-height: 1.7; color: var(--text); }
  .pbx-more { order: 1; padding-inline: 0; }
  .pbx-rail > ol { grid-template-columns: minmax(0, 1fr); }
}
.pb-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1.25rem; font-weight: 600; color: var(--blue-bright); background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3); }
/* The FAQ line and the changelog share one row: the changelog is as wide as
   the bar with its toggle at the right end, so the toggle stays where it is
   when the list opens under it. */
.pb-more { display: grid; margin-top: 6px; padding: 12px 18px 10px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; color: var(--text-dim); }
.pb-more a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--border-bright); }
.pb-more a:hover { color: var(--text-bright); text-decoration-color: var(--blue-bright); }
.pb-more > span { grid-area: 1 / 1; justify-self: start; position: relative; z-index: 1; }
.pb-more details { grid-area: 1 / 1; }
.pb-more details summary { width: fit-content; margin-left: auto; cursor: pointer; color: var(--text); }
.pb-more [data-playbook-log] { margin-top: 18px; }
/* A phone has no room for both on one row: the FAQ line, then the changelog. */
@media (max-width: 900px) {
  .pb-more { gap: 14px; }
  .pb-more > span, .pb-more details { grid-area: auto; }
  .pb-more details summary { margin-left: 0; }
}

/* ─── VIEWER ─── */
/* The window alone, portrait, close to 1:1 so its small text stays legible. */
.viewer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 572px); gap: 56px; align-items: center; }
.viewer .section-title { margin-bottom: 14px; }
.viewer-lead { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 26px; max-width: 46ch; }
.viewer-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.viewer-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }
.viewer-points li::before { content: ''; width: 7px; height: 7px; margin-top: 0.55em; border-radius: 50%; background: var(--blue-bright); flex-shrink: 0; }
/* Platform support: AMD and Intel side by side in one faint card, newest
   first, a check and the site blue for what works today, a muted "Soon"
   for what is coming. */
.compat {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 4px 0 30px;
  background: rgba(16,16,20,0.18);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  --field-glow: 0.05;
  --field-dots: 0.06;
}
.compat table { width: 100%; border-collapse: collapse; align-self: start; }
.compat table + table { border-left: 1px solid var(--border); }
.compat caption { padding: 12px 16px 8px; text-align: left; font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); }
.compat th, .compat td { padding: 9px 16px; border-top: 1px solid var(--border); font-size: 0.875rem; white-space: nowrap; }
.compat th { text-align: left; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.compat td { text-align: right; }
/* One row height for both statuses, so the two tables' rules line up. */
.compat tbody tr { height: 44px; }
.compat-yes { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #93c5fd; }
.compat-yes::before { content: ''; width: 13px; height: 13px; background: var(--blue-bright); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.compat-soon { color: var(--text-dim); }
/* Memory support spans both platforms, so it runs across the whole card. */
.compat-mem { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; margin: 0; padding: 11px 16px; border-top: 1px solid var(--border); font-size: 0.875rem; }
.compat-mem-label { margin-right: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); }
/* Side by side the two tables need ~420px; on a phone AMD sits above Intel. */
@media (max-width: 480px) {
  .compat { grid-template-columns: 1fr; }
  .compat table + table { border-left: 0; border-top: 1px solid var(--border); }
}
/* Never wider than the capture itself: upscaled, its small text goes soft. The
   explicit width keeps the lazy image's box reserved; shrink-wrapped, it took
   no room until it loaded and the page then grew under the reader. */
/* The window, with a switch above it between the AMD and the Intel view. Both
   pictures lie in one cell, the other one invisible, so the switch moves nothing. */
/* The download and, once api/viewer.php answers, the version list beside it,
   the same height as the button. */
.viewer-get { display: flex; flex-wrap: wrap; gap: 10px; }
/* Closed, it is the btn-secondary beside it; open, the same list as the order form's
   country list. Browsers without base-select (Firefox, Safari) keep their own open list. */
.viewer-pick {
  appearance: none; font: inherit; font-family: 'Inter Display', sans-serif; font-size: 0.92rem; line-height: 1.6; font-weight: 600; color: var(--text-bright); cursor: pointer; color-scheme: dark;
  padding: 13px 40px 13px 16px; border: 1px solid var(--border-bright); border-radius: 10px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
  transition: background-color var(--t) var(--ease-out), border-color var(--t) var(--ease-out);
}
.viewer-pick:hover, .viewer-pick:open { background-color: #16161c; border-color: #3a3a46; }
.viewer-pick option { background: #15151b; color: var(--text-bright); }
@supports (appearance: base-select) {
  .viewer-pick, .viewer-pick::picker(select) { appearance: base-select; }
  .viewer-pick::picker-icon { display: none; }
  .viewer-pick::picker(select) {
    margin-block: 4px; padding: 4px; border: 1px solid var(--border-bright); border-radius: 10px;
    background: #15151b; box-shadow: 0 16px 40px rgba(0,0,0,0.55); color-scheme: dark;
    /* Down whenever it fits there; Chrome's default picks whichever side has more room. */
    position-try-order: normal;
  }
  .viewer-pick option { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 7px; background: none; font-size: 0.875rem; font-weight: 500; color: var(--text); cursor: pointer; }
  .viewer-pick option:hover, .viewer-pick option:focus-visible { background: rgba(59,130,246,0.14); color: var(--text-bright); outline: none; }
  .viewer-pick option:checked { color: var(--text-bright); }
  /* The tick on the picked version, at the end of its row. */
  .viewer-pick option::checkmark { order: 1; margin-left: auto; color: var(--blue-bright); }
}
/* Before downloading the playbook: the guide on a row of its own, as wide as the row
   under it, "Download anyway" with the version list beside it, both rows' edges in line. */
#dl-dialog .dl-dialog-actions { display: grid; grid-template-columns: 1fr auto; }
#dl-dialog .dl-dialog-actions > :first-child { grid-column: 1 / -1; }
#dl-dialog .dl-dialog-actions .btn { justify-content: center; }
#dl-dialog .viewer-pick { padding-block: 8px; font-size: 0.875rem; }
/* A phone has no room for the two side by side (the list is as wide as its longest
   name, "Najnowsza (v1.4.2)"): one under the other, all three as wide as the dialog. */
@media (max-width: 480px) {
  #dl-dialog .dl-dialog-actions { grid-template-columns: minmax(0, 1fr); width: 100%; }
}
/* Under the download: the release it gives and the file's SHA-256, the whole
   hash so it can be compared character for character. */
.viewer-release { display: grid; gap: 6px; margin-top: 14px; font-size: 0.8125rem; color: var(--text-dim); }
.viewer-release[hidden] { display: none; }
/* Under the release: the two other files the install needs, each on its own button
   for a browser that stopped the downloads after the first one. */
.dl-extra { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.8125rem; line-height: 1.6; color: var(--text-dim); }
.dl-extra strong { font-weight: 600; color: var(--text); }
.dl-extra-get { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-extra-get .btn { padding: 8px 12px; font-size: 0.8125rem; }
@media (max-width: 480px) { .dl-extra-get { grid-template-columns: minmax(0, 1fr); } }
.viewer-sha { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.viewer-sha code { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--text); overflow-wrap: anywhere; }
.viewer-sha button { font: inherit; font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 6px; cursor: pointer; color: var(--text-bright); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); transition: background-color var(--t) var(--ease-out); }
.viewer-sha button:hover { background: rgba(255,255,255,0.14); }
/* The changelog dialog: every release, newest first, each with its notes, its
   own download and its hash. */
.viewer-changes { list-style: none; margin-bottom: 18px; }
.viewer-changes > li { display: grid; gap: 12px; padding: 18px 0; border-top: 1px solid var(--border); }
.viewer-changes > li:first-child { padding-top: 6px; border-top: 0; }
.viewer-change-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 0.8125rem; color: var(--text-dim); }
.viewer-change-head strong { font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; font-weight: 600; color: var(--text-bright); }
.viewer-latest { font-size: 0.75rem; font-weight: 600; color: #93c5fd; }
/* A release's notes: its sections side by side wherever there is room (three on
   the home page's playbook card, one in the narrow Viewer dialog), each kept whole,
   with the intro across the top. */
.viewer-notes { columns: 3 280px; column-gap: 44px; font-size: 0.875rem; line-height: 1.7; color: var(--text); }
.viewer-notes > div { display: grid; gap: 6px; break-inside: avoid; margin-bottom: 22px; }
.viewer-notes > div:last-child { margin-bottom: 0; }
.viewer-notes > .viewer-notes-intro { column-span: all; max-width: 78ch; }
.viewer-notes ul { display: grid; gap: 6px; padding-left: 1.1em; }
.viewer-notes li::marker { color: var(--text-dim); }
.viewer-notes h3 { font-size: 0.875rem; font-weight: 600; color: var(--text-bright); }
.viewer-notes strong { font-weight: 600; color: var(--text-bright); }
.viewer-notes a { color: var(--text-bright); text-underline-offset: 3px; text-decoration-color: var(--border-bright); }
.viewer-notes a:hover { text-decoration-color: var(--blue-bright); }
.viewer-notes code { font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; color: var(--text-bright); }
.viewer-change-get { display: grid; justify-items: start; gap: 10px; }
.viewer-change-get .viewer-sha { font-size: 0.75rem; color: var(--text-dim); }
.viewer-changes-more { font-size: 0.8125rem; }
.viewer-changes-more a { color: var(--text); }
/* 572px, the screenshots' own width: shown 1:1, the window's small text stays sharp. */
.viewer-shot { display: grid; justify-items: center; gap: 18px; width: 100%; max-width: 572px; justify-self: center; border-radius: 10px; }
.viewer-win { grid-area: 2 / 1; width: 100%; }
.viewer-win[hidden] { display: block; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .viewer-win:not([hidden]) img { animation: vt-in 320ms var(--ease-out); }
}
.viewer-shot img { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.6)); }

/* ─── TEAM ─── */
.team { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
/* Same card as the clients and What you get: translucent, with the field. The
   X link sits on the bottom edge, so all the cards line up whatever the bio length. */
.member { position: relative; display: flex; gap: 16px; padding: 20px 22px; background: rgba(16,16,20,0.45); border: 1px solid var(--border); border-radius: 16px; }
.member > div { display: flex; flex-direction: column; align-items: flex-start; }
.member img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--bg2); border: 1px solid var(--border); }
.member-name { font-size: 0.98rem; font-weight: 600; color: var(--text-bright); margin-bottom: 4px; }
.member-role { margin-left: 6px; font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); }
.member-desc { font-size: 0.875rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 8px; }
.member-x { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; padding-block: 6px; font-size: 0.8125rem; color: #93c5fd; text-decoration: none; transition: color var(--t) var(--ease-out); }
.member-x:hover { color: #dbeafe; }

/* Side by side, the cards share row tracks, so names, prices, lists and
   buttons line up across all three whatever the length of their copy. */
@media (min-width: 961px) {
  .packages { row-gap: 0; }
  .package { display: grid; grid-template-rows: subgrid; grid-row: span 5; }
  /* The featured card stands taller than its row. A subgrid's margin and
     padding count toward its edge items, so the extra padding cancels the
     negative margin and its contents stay level with the other two. */
  .package-featured { margin-block: -16px; padding-block: 48px 44px; }
}
/* Four readouts get too narrow for their labels before the other grids do. */
@media (max-width: 1100px) {
  .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  /* Three cards get too narrow side by side: one column, the featured one first. */
  .packages { grid-template-columns: minmax(0, 520px); justify-content: center; gap: 28px; }
  .hw-note { max-width: 520px; }
  .package-featured { order: -1; }
  /* The window is 560px wide; beside it on a tablet the text column was
     squeezed to a word per line. Stack them before that happens. */
  .viewer { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* Stacked, the window comes first, right under the section's name; then
     what it does, and the download at the very bottom. */
  .viewer-text { display: contents; }
  :where(.viewer-text > *) { order: 2; max-width: 560px; }
  .viewer-text > .section-title { order: 0; }
  .viewer-text > .viewer-get { justify-self: start; }
  .viewer-shot { order: 1; max-width: 440px; width: 100%; justify-self: center; margin: 14px 0 34px; }
  .bench-body { grid-template-columns: 1fr; }
  .team { grid-template-columns: minmax(0, 520px); justify-content: center; }
}
@media (max-width: 760px) {
  .packages, .svc-columns { grid-template-columns: 1fr; }
  .hw-note { max-width: none; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  /* One list on a phone: the two columns' panels meet edge to edge. */
  .faq-groups { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .faq-group:first-child { padding-bottom: 0; border-bottom: 0; border-radius: 22px 22px 0 0; }
  .faq-group:last-child { padding-top: 2px; border-top: 0; border-radius: 0 0 22px 22px; box-shadow: none; }
  .faq-intro { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .faq-intro .btn { grid-area: auto; justify-self: start; margin-top: 20px; }

  /* Depth: each layer's name sits over its description, so the Playbook and
     Session columns keep their place beside it and the bars still drill down. */
  .depth table, .depth thead, .depth tbody { display: block; }
  .depth tr { display: grid; grid-template-columns: minmax(0, 1fr) 78px 78px; }
  .depth thead th:nth-child(2) { display: none; }
  .depth th.reach-head { width: auto; font-size: 0.75rem; letter-spacing: 0.04em; }
  .depth tbody tr { border-top: 1px solid var(--border); }
  .depth tbody tr:last-child { border-bottom: 1px solid var(--border); }
  .depth td, .depth tbody th { border: 0; }
  .depth .layer { grid-column: 1; grid-row: 1; width: auto; padding: 18px 12px 6px 0; }
  .depth .layer-desc { grid-column: 1; grid-row: 2; padding: 0 12px 18px 0; }
  .depth .reach { grid-column: 2; grid-row: 1 / span 2; padding: 0; }
  .depth .reach-session { grid-column: 3; }
}
@media (max-width: 600px) {
  .package { padding: 26px 22px 24px; }
  .package-price { font-size: 2.6rem; }
  .build-text { padding: 22px; }
  /* Only a phone stacks the build card, the photo under the text: on a tablet, stacked,
     the photo ran the card's whole width and was the biggest picture on the page. */
  .build { grid-template-columns: 1fr; --field-at: 50% 50%; }
  .build-img { border-radius: 0 0 15px 15px; }
  .build-prices p { min-width: 0; flex: 1; }
  .ft { padding: 18px 16px 14px; }
  .bench-panel { padding: 20px 18px; }
  .ft-plot { height: 220px; }
  section { padding: 48px 20px; }
  .gains { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .marquee .client { width: 236px; padding: 12px 14px; gap: 12px; }
  .client img { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  /* No drift: the strip becomes a row you scroll yourself, one copy of each client. */
  .marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee-track { animation: none; }
  .marquee-track li[aria-hidden] { display: none; }
  .depth .reach::before, .depth .reach-end::after { transition: none; }
  .client:hover { transform: none; }
  .client:hover img { scale: none; }
  .chip-scan,
  .chip-core,
  .chip-pad,
  .chip-mark { animation: none; }
  .chip-core { opacity: 0.85; }
  .chip-pad { stroke-opacity: 0.5; }
  .chip-mark { fill-opacity: 1; }
}

/* ─── DISPLAY FONT ─── */
.hero-title, .package-price, .build-price, .pb-n { font-family: var(--font-display); }

/* ─── BANDS: full-bleed colour changes the rhythm between sections ─── */
/* isolation keeps the band above the fixed starfield, so stars stop at a band's edge. */
.band { position: relative; isolation: isolate; }
.band::before { content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none; }
.band-surface::before { background: #0d0d13; border-block: 1px solid rgba(255,255,255,0.05); }
/* A photo under the section at 10%, faded out top and bottom, so nothing has a hard edge. */
.bg-photo { position: relative; isolation: isolate; }
.bg-photo::after {
  content: '';
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background: url('img/services/pc.webp') 50% 40% / cover no-repeat;
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.bg-photo-b::after { background-position: 50% 70%; transform: scaleX(-1); }


/* ─── COMMUNITY: Discord and the GR1ND partner code ─── */
/* Discord and GR1ND close the Team section, under the team. */
#info .community-grid { margin-top: 64px; }
.community-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 20px; }
/* The page's glass, like the playbook's list, with the page's own buttons. */
.cm-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 36px 34px; border-radius: 22px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.07); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.cm-mark { display: flex; align-items: center; height: 56px; margin-bottom: 8px; }
.cm-mark img { display: block; height: 44px; width: auto; }
/* Discord's mark in black on a white tile, to sit with the partner's white logo. */
.cm-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #000; background: #fff; }
.cm-kicker { font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); }
.cm-card h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--text-bright); }
.cm-card p { font-size: 1rem; line-height: 1.6; color: var(--text); max-width: 42ch; }
.cm-card > .btn { margin-top: auto; }
/* The partner card: its text on the left, GR1ND's VΛIN pad on the right, the
   code and the shop link in one row under both. */
.cm-partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 250px); column-gap: 28px; align-items: start; }
.cm-partner > * { grid-column: 1; }
.cm-partner .cm-pad { grid-column: 2; grid-row: 1 / span 4; align-self: center; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(0,0,0,0.55)); }
.cm-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.cm-code { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 18px; border-radius: 11px; background: rgba(0,0,0,0.3); border: 1px dashed rgba(255,255,255,0.2); }
.cm-code span { font-family: 'JetBrains Mono', monospace; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text-bright); }
.cm-code span em { font-style: normal; color: var(--text-dim); margin-right: 8px; }
.cm-code button { font: inherit; font-size: 0.875rem; font-weight: 600; padding: 8px 14px; border-radius: 8px; cursor: pointer; color: var(--text-bright); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); transition: background-color var(--t) var(--ease-out); }
.cm-code button:hover { background: rgba(255,255,255,0.14); }
@media (max-width: 1100px) { .community-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .cm-partner { grid-template-columns: minmax(0, 1fr); }
  .cm-partner .cm-pad { grid-column: 1; grid-row: auto; max-width: 260px; margin: 8px 0 4px; }
}

/* An add-on price inside a service's description reads as part of the sentence. */
.svc-row-detail .price-unit { font-size: inherit; font-weight: inherit; }

/* After the tablet rules, which stack the cards in one centred column. */
@media (max-width: 600px) {
  /* Three full cards stacked ran over four screens: on a phone they sit in one
     row that swipes sideways, with a slice of the next card at the edge. */
  .packages { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; justify-content: start; gap: 12px; margin-inline: -20px; padding: 16px 20px 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .packages::-webkit-scrollbar { display: none; }
  .package { scroll-snap-align: start; }
}
