:root {
  color-scheme: dark;
  --rat-red: #e10f21;
  --rat-red-deep: #c80a1b;
  --deep-black: #010102;
  --graphite: #101318;
  --graphite-2: #171b21;
  --bone-white: #f1ece1;
  --fog-gray: #b8c2cc;
  --muted: #8f98a3;
  --line: rgba(184, 194, 204, 0.2);
  --line-strong: rgba(184, 194, 204, 0.34);
  --card: rgba(16, 19, 24, 0.76);
  --card-solid: #101318;
  --coal: #080a0d;
  --electric-lime: #d2ff1f;
  --paper-white: #f7f3ed;
  --light-panel: #f1ece1;
  --shadow-red: 0 0 28px rgba(225, 15, 33, 0.22);
  --shadow-card: 0 16px 50px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1200px;
  --gutter: clamp(16px, 2vw, 32px);
  --card-icon-size: 110.4px;
  --card-icon-art-size: calc(var(--card-icon-size) - 10px);
  --font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --catalog-coming-soon: "Coming soon";
  --catalog-more-products: "More products in development";
}

/* Publishing / approved editorial direction. Shared header and footer stay untouched. */
.publishing-page {
  zoom: 1.25;
  --publishing-red: #ff002d;
  --publishing-text: #c5cbd0;
  --publishing-icon-size: 44px;
  --publishing-gutter: 116px;
  background: #000;
  color: var(--publishing-text);
  font-size: 18px;
  line-height: 1.35;
}
.publishing-page h1, .publishing-page h2, .publishing-page h3 { color: #f5f5f5; }
.publishing-page > .container, .publishing-page > section > .container { width: min(var(--max), calc(100% - var(--publishing-gutter) * 2)); padding-inline: 0; }
.publishing-page h2 { font-size: clamp(1.65rem, 3vw, 2.1rem); line-height: 1.2; margin: 0; }
.publishing-page h3 { font-size: 1.2rem; line-height: 1.4; margin: 0; }
.publishing-page p { margin: 0; }
.publishing-icon { flex: none; width: var(--publishing-icon-size, 44px); height: var(--publishing-icon-size, 44px); color: var(--publishing-red, #ff002d); }
.publishing-hero { isolation: isolate; overflow: clip; border-bottom: 1px solid #1e2226; background: radial-gradient(ellipse at 5% 100%, #2b0009 0, transparent 48%), #000; }
.publishing-hero__inner { --publishing-copy-width: clamp(53.488372%, calc(100% - (100vw - 780px) * 1.5), 100%); display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: 32px 24px; position: relative; overflow: clip; }
.publishing-hero__copy { grid-area: 1 / 1; position: relative; min-width: 0; width: var(--publishing-copy-width); z-index: 2; text-shadow: 0 2px 4px #000, 0 0 12px #000, 0 0 24px #000, 0 0 36px #000; }
.publishing-hero__copy .button { text-shadow: none; }
.publishing-hero__copy > :is(h1, p) { text-shadow: 0 1px 2px #000, 0 0 4px #000, 0 0 4px #000, 0 0 8px #000, 0 0 16px #000, 0 0 24px #000, 0 0 36px #000; }
.publishing-page .publishing-hero h1 { font-size: clamp(2.6rem, 4.6vw, 3.25rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 750; max-width: 580px; margin: 0 0 20px; }
.publishing-page:lang(ru) .publishing-hero h1 span { max-width: 7.2em; }
.publishing-hero h1 span { display: block; color: var(--publishing-red); }
.publishing-lead { max-width: 640px; }
.publishing-page .publishing-scope { margin-top: 10px; max-width: 100%; font-size: 15px; }
.publishing-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.publishing-page .button { font-size: 16px; gap: 14px; min-height: 54px; border-radius: 5px; padding: 14px 24px; }
.publishing-page .button--primary { background: #ff002d; border-color: #ff002d; color: #fff; box-shadow: none; }
.publishing-page .button--primary:hover { background: #d90025; border-color: #d90025; }
.publishing-page .button:not(.button--primary) { background: #000; border-color: #b60020; color: #f5f5f5; }
.publishing-page .button .publishing-icon { width: 20px; height: 20px; color: inherit; }
.publishing-hero__art { grid-area: 1 / 1; position: relative; z-index: 1; width: 100%; min-width: 0; min-height: 0; margin: 0; justify-self: end; align-self: stretch; overflow: clip; mix-blend-mode: screen; pointer-events: none; }
/* The picture is the row-sized clipping frame. Preserve the original desktop
   raster scale/anchor inside it, then continuously bring that anchor inside on
   narrow screens. The right-aligned subject must not reserve layout space. */
.publishing-hero__art img { position: absolute; top: 0; right: clamp(-12.55814%, calc((780px - 100vw) * .47), 0px); object-fit: cover; object-position: 74% calc(50% - clamp(0px, calc((100vw - 780px) / 16), 20px)); }
/* Blend the whole picture against the hero's explicit, isolated backdrop.
   Keeping blending off the replaced img avoids relying on its compositing
   across the picture/grid ancestors when mobile browsers change image layers. */
.publishing-hero__art img { display: block; width: clamp(76.744186%, calc(100% - (100vw - 780px) * .75), 100%); max-width: none; height: 100%; }
.publishing-heading { display: flex; align-items: center; gap: 32px; min-width: 0; }
.publishing-heading > span { flex: 1; min-width: 40px; height: 1px; background: var(--publishing-red); }
.publishing-services { padding-block: 30px 26px; }
.publishing-services__heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr); align-items: center; gap: 32px; margin-bottom: 18px; }
.publishing-services__heading > p { font-size: 15px; }
.publishing-service { display: grid; grid-template-columns: 64px minmax(0, .72fr) minmax(0, 1.35fr); align-items: center; gap: 24px; padding-block: 12px; border-bottom: 1px solid #2a2e31; }
.publishing-service:last-child { border-bottom: none; }
.publishing-service p { border-left: 1px solid #343a3f; padding-left: 32px; font-size: 16.5px; }
.publishing-process { background: #000; border-bottom: 1px solid #202428; padding-block: 32px; scroll-margin-top: 120px; }
.publishing-page .publishing-requirements { border-top: 1px solid #ac001d; padding-top: 16px; font-size: 16px; }
.publishing-terms { padding-block: 28px 10px; }
.publishing-term-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 22px 0; margin: 0; gap: 24px; border-top: 1px solid #272b2e; }
.publishing-term-list > li { display: flex; align-items: start; gap: 12px; }
.publishing-term-list p { font-size: 14px; margin-top: 6px; }
.publishing-term-list .publishing-icon { width: 32px; height: 32px; }
.publishing-page .publishing-term-list h3 { font-size: 14px; }
.publishing-exclusions { border-block: 1px solid #272b2e; }
.publishing-exclusions summary { display: flex; align-items: center; gap: 36px; padding: 10px 8px; cursor: pointer; list-style: none; color: #f5f5f5; }
.publishing-exclusions summary::-webkit-details-marker { display: none; }
.publishing-exclusions summary > span { flex: 1; }
.publishing-exclusions .publishing-chevron { color: #f5f5f5; width: 24px; height: 24px; transition: transform .18s ease; }
.publishing-exclusions[open] .publishing-chevron { transform: rotate(180deg); }
.publishing-exclusions > ul { margin: 4px 0 28px 64px; padding-left: 22px; columns: 2; column-gap: 40px; }
.publishing-exclusions li { margin: 0 0 10px; break-inside: avoid; }
.publishing-contact { position: relative; isolation: isolate; overflow: clip; padding-block: 34px 28px; border-bottom: 1px solid #202428; background: #000; }
.publishing-contact .container { position: relative; z-index: 1; }
.publishing-contact .publishing-heading { max-width: 870px; }
.publishing-contact p { max-width: 790px; margin: 16px 0 24px; font-size: 17px; }
/* Keep the artwork aligned with the content column, including on ultrawide screens. */
.publishing-contact__cube { --cube-reference-size: 440px; --cube-size: 660px; --cube-bottom: -70px; position: absolute; z-index: 0; width: var(--cube-size); height: var(--cube-size); right: calc(max(var(--publishing-gutter), calc((100% - var(--max)) / 2)) + var(--cube-reference-size) * .3827751196 - var(--cube-size) * .6108452951); bottom: calc(var(--cube-bottom) + var(--cube-reference-size) * .4800637959 - var(--cube-size) * .6291866029); pointer-events: none; }
/* The old crop contains the LEFT illuminated corner, not the front centre.
   Register (488,465) in the full 1254px source to the old (774,652) corner.
   The matching diagonal was 480px wide in the crop and 320px in the full art:
   scale = 1.5. The new right face extends beyond the content column instead
   of pulling the original corner towards the text. Only the viewport clips it.
   Use the final raster size directly, not an enlarged compositor transform.
   Each offset is referenceSize * (1 - oldCorner) - size * (1 - newCorner). */
.publishing-contact__cube { -webkit-mask-image: linear-gradient(to bottom, #000 48%, transparent 67%); mask-image: linear-gradient(to bottom, #000 48%, transparent 67%); }
.publishing-page .translation-notice-section { padding-block: 18px; }
.publishing-page .translation-notice { padding: 0; background: none; border: none; }
.publishing-page .translation-notice p { font-size: 14px; }
.publishing-catalog-link { margin: 12px 0 0; }
/* Editorial publishing page: open sections, shared disclosure rows, real store links. */
.publishing-page .publishing-lead { font-size: 17px; max-width: 550px; }
.publishing-page .publishing-region { font-size: 15px; font-weight: 600; margin-top: 16px; }
.publishing-section, .publishing-band { padding-block: 28px; }
.publishing-band { background: #0b0f12; }
.publishing-page h2[id] { scroll-margin-top: 120px; }
.publishing-build-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.publishing-build-modes > div { display: flex; align-items: start; gap: 18px; }
.publishing-build-modes > div + div { border-left: 1px solid #343a3f; padding-left: 32px; }
.publishing-page .publishing-build-modes h3 { font-size: 17px; }
.publishing-build-modes p { font-size: 16px; margin-top: 5px; }
/* Shared across every linear process: icon and all copy inside one rectangular node. */
.publishing-flow { --flow-gap: 36px; --flow-arrow-size: 24px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--flow-gap); list-style: none; padding: 0; margin: 0; width: 100%; }
.publishing-flow--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.publishing-flow--5 { grid-template-columns: repeat(5,minmax(0,1fr)); }
.publishing-flow > li { display: grid; position: relative; min-width: 0; }
.publishing-flow__card { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; padding: 20px 16px; border: 1px solid #453039; border-radius: 5px; background: #101318; text-align: center; }
.publishing-flow .publishing-flow__icon { flex: none; width: 32px; height: 32px; object-fit: contain; color: var(--rat-red); }
.publishing-flow__copy { min-width: 0; width: 100%; overflow-wrap: anywhere; }
.publishing-flow__label { display: block; color: #f5f5f5; font-size: 15px; font-weight: 600; line-height: 1.45; }
.publishing-page .publishing-flow h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.publishing-page .publishing-flow p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; }
.publishing-flow .publishing-flow__connector { position: absolute; right: calc(var(--flow-gap) / -2); top: 50%; width: var(--flow-arrow-size); height: var(--flow-arrow-size); transform: translate(50%,-50%); color: var(--rat-red); stroke-width: 2; pointer-events: none; }
.publishing-steps { margin-top: 28px; }
.publishing-pipeline, .publishing-store__route { container-type: inline-size; }
.publishing-route { --flow-safe-zone: clamp(10px,1cqi,12px); --flow-gap: calc(var(--flow-arrow-size) + 8px); --flow-arrow-size: clamp(20px,2cqi,24px); display: flex; }
.publishing-route > li { flex: 1 1 auto; }
.publishing-route .publishing-flow__card { flex-direction: row; align-items: center; justify-content: center; gap: var(--flow-safe-zone); padding: var(--flow-safe-zone); text-align: left; }
.publishing-route .publishing-flow__copy { width: auto; }
.publishing-route .publishing-flow__icon { width: clamp(22px,2.5cqi,28px); height: clamp(22px,2.5cqi,28px); }
.publishing-route .publishing-flow__label { font-size: clamp(14px,1.5cqi,16px); line-height: 1.35; font-weight: 500; }
.publishing-pipeline { padding: 20px 0; }
.publishing-store-list { border: 1px solid #343a3f; border-radius: 5px; }
.publishing-store { position: relative; }
.publishing-store + .publishing-store { border-top: 1px solid #343a3f; }
.publishing-store summary { display: grid; grid-template-columns: 44px minmax(0,1fr) auto 24px; gap: 20px; align-items: center; cursor: pointer; list-style: none; padding: 18px 20px; min-height: 88px; }
.publishing-store summary::-webkit-details-marker, .publishing-faq summary::-webkit-details-marker { display: none; }
.publishing-store__logo { width: 44px; height: 44px; object-fit: contain; flex: none; }
.publishing-store__name { min-width: 0; display: grid; gap: 3px; }
.publishing-store__name strong { font-size: 20px; color: #f5f5f5; }
.publishing-store__name > span { font-size: 14px; }
.publishing-store__proof { display: flex; align-items: center; gap: 4px; min-height: 44px; max-width: 176px; color: #ff3554; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.publishing-store__proof .publishing-icon { width: 16px; height: 16px; color: inherit; }
.publishing-store summary > .publishing-chevron { width: 24px; height: 24px; color: #c5cbd0; transition: transform .18s ease; }
.publishing-store details[open] summary > .publishing-chevron, .publishing-faq details[open] .publishing-chevron { transform: rotate(180deg); }
.publishing-store__body { border-left: 2px solid var(--publishing-red); margin: 0 28px 20px; padding: 4px 0 0 28px; }
.publishing-store__route { display: grid; gap: 12px; }
.publishing-page .publishing-store__route h3 { font-size: 16px; }
.publishing-store__roles { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-block: 24px; }
.publishing-store__roles > div + div { border-left: 1px solid #343a3f; padding-left: 32px; }
.publishing-page h4 { margin: 0 0 10px; color: #f5f5f5; font-size: 17px; }
.publishing-bullets { padding-left: 20px; margin: 10px 0 0; }
.publishing-bullets li { margin-block: 7px; font-size: 16px; }
.publishing-bullets li::marker { color: var(--publishing-red); }
.publishing-store__transfer { padding-top: 18px; border-top: 1px solid #343a3f; }
.publishing-page .publishing-store__note { margin: 0 0 20px; font-size: 15px; }
.publishing-comparison__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; }
.publishing-comparison__columns > div + div { border-left: 1px solid #343a3f; padding-left: 40px; }
.publishing-comparison__columns .publishing-bullets li::marker { color: #b8c2cc; }
.publishing-page .publishing-comparison__ours h3 { color: var(--publishing-red); }
.publishing-comparison__ours ul { list-style: none; padding: 0; margin: 10px 0 0; }
.publishing-comparison__ours li { display: flex; align-items: center; gap: 10px; margin-block: 7px; font-size: 16px; }
.publishing-comparison__ours .publishing-icon { width: 20px; height: 20px; }
.publishing-money__flow { margin: 32px 0; }
.publishing-page .publishing-money h3 { font-size: 17px; margin-bottom: 8px; }
.publishing-money p { font-size: 15px; }
.publishing-money__notes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; border-top: 1px solid #343a3f; padding-top: 25px; }
.publishing-money__notes > div { display: flex; gap: 18px; }
.publishing-money__notes > div + div { border-left: 1px solid #343a3f; padding-left: 24px; }
.publishing-money__notes .publishing-icon { width: 36px; height: 36px; }
.publishing-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 26px; }
.publishing-prices > div + div { border-left: 1px solid #343a3f; padding-left: 48px; }
.publishing-page .publishing-price { font-size: clamp(2.6rem,5.7vw,4.5rem); font-weight: 700; line-height: 1.1; color: var(--publishing-red); margin-bottom: 12px; }
.publishing-prices h3 { margin-bottom: 6px; }
.publishing-prices p:not(.publishing-price) { font-size: 17px; max-width: 470px; }
.publishing-page .publishing-extras { margin: 26px 0 20px; font-size: 14px; text-align: center; }
.publishing-exclusions { border: 1px solid #343a3f; border-radius: 5px; margin-bottom: 22px; }
.publishing-exclusions summary { gap: 16px; font-size: 16px; padding: 12px 16px; }
.publishing-exclusions summary > .publishing-icon:first-child { width: 32px; height: 32px; }
.publishing-faq .publishing-heading { margin-bottom: 18px; }
.publishing-faq details { border-bottom: 1px solid #343a3f; }
.publishing-faq summary { display: flex; gap: 20px; align-items: center; list-style: none; cursor: pointer; padding: 18px 0; font-size: 18px; }
.publishing-faq summary > span { flex: 1; }
.publishing-faq summary .publishing-icon { width: 32px; height: 32px; }
.publishing-faq summary .publishing-chevron { width: 24px; height: 24px; color: #c5cbd0; transition: transform .18s ease; }
.publishing-faq details > p { margin: 0 52px 24px; font-size: 17px; max-width: 850px; }
.publishing-contact { padding-block: 38px 80px; }
.publishing-contact .publishing-actions { margin-top: 0; }
@media (max-width: 1100px) and (min-width: 781px) {
  .publishing-page { --publishing-gutter: 40px; }
  .publishing-contact__cube { --cube-bottom: -145px; }
  .publishing-term-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1100px) {
  .publishing-hero { overflow-x: clip; overflow-y: visible; }
  .publishing-page .publishing-hero > .container { width: calc(100% - clamp(16px, calc(31.25vw - 227.75px), 116px) * 2); }
  .publishing-hero__inner { grid-template-columns: minmax(0, var(--publishing-copy-width)) minmax(0, 1fr); padding-top: clamp(32px, calc(59.5px - 2.5vw), 40px); overflow-x: clip; overflow-y: visible; }
  .publishing-hero__copy { display: contents; }
  .publishing-hero__copy > * { grid-column: 1; position: relative; z-index: 2; min-width: 0; }
  .publishing-hero__copy > .section-kicker { grid-row: 1; }
  .publishing-page .publishing-hero h1 { grid-row: 2; }
  /* Only h1 defines the artwork row. Its existing 20px bottom margin remains
     outside the image, preserving the original gap before the description. */
  .publishing-hero__art { grid-column: 1 / -1; grid-row: 2; margin-bottom: 20px; container-type: size; --publishing-art-base-width: min(100cqw, 150cqh); overflow-x: clip; overflow-y: visible; }
  /* Restore the fitted image first, then enlarge about its own centre.
     The fitted raster width keeps the anchor on the image, not the full row. */
  .publishing-hero__art img { width: calc(var(--publishing-art-base-width) * 1.8); max-width: none; right: calc(var(--publishing-art-base-width) * -.4); top: -40%; height: 180%; object-fit: contain; object-position: center; }
}
@media (min-width: 781px) and (max-width: 1100px) {
  .publishing-page .publishing-hero h1 { font-size: clamp(3.1625rem, calc(74.6625px - 2.1875vw), 3.6rem); }
}
@media (max-width: 1000px) {
  .publishing-flow { grid-template-columns: minmax(0,1fr); }
  .publishing-route { flex-direction: column; }
  .publishing-flow__card { flex-direction: row; align-items: flex-start; padding: 18px; text-align: left; }
  .publishing-route .publishing-flow__card { align-items: center; justify-content: flex-start; }
  .publishing-flow .publishing-flow__connector { right: auto; left: 50%; top: auto; bottom: calc(var(--flow-gap) / -2); transform: translate(-50%,50%) rotate(90deg); }
}
@media (max-width: 780px) {
  .publishing-page { --publishing-gutter: var(--gutter); }
  .publishing-page .publishing-hero h1 { font-size: clamp(2.35rem, 7.5vw, 3.6rem); max-width: 700px; overflow-wrap: break-word; }
  .publishing-page .publishing-scope { width: auto; max-width: 100%; }
  .publishing-services__heading { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .publishing-service { grid-template-columns: 44px minmax(0, 1fr); gap: 12px 22px; }
  .publishing-service > .publishing-icon { grid-row: span 2; align-self: start; }
  .publishing-service p { grid-column: 2; border-left: none; padding: 0; }
  .publishing-exclusions > ul { columns: auto; margin-left: 30px; }
  /* Artwork stays behind the content; never reserve a separate row for it. */
  .publishing-contact { padding-bottom: 38px; }
  .publishing-contact__cube { --cube-reference-size: 280px; --cube-size: 263.2px; --cube-bottom: -65px; }
  .publishing-heading { gap: 16px; }
  .publishing-heading > span { min-width: 18px; }
  .publishing-build-modes, .publishing-store__roles, .publishing-comparison__columns, .publishing-prices, .publishing-money__notes { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .publishing-build-modes > div + div, .publishing-store__roles > div + div, .publishing-comparison__columns > div + div, .publishing-prices > div + div, .publishing-money__notes > div + div { border-left: none; padding-left: 0; }
  .publishing-store summary { grid-template-columns: 36px minmax(0,1fr) 24px; padding: 20px 16px 12px; gap: 8px 14px; align-items: start; }
  .publishing-store__logo { width: 36px; height: 36px; grid-column: 1; grid-row: 1; }
  .publishing-store__name { display: contents; }
  .publishing-store__name strong { grid-column: 2; grid-row: 1; align-self: center; }
  .publishing-store__name > span { grid-column: 1 / -1; grid-row: 2; font-size: 14px; line-height: 1.45; }
  .publishing-store__proof { grid-column: 1 / -1; grid-row: 3; width: fit-content; max-width: 100%; font-size: 14px; }
  .publishing-store summary > .publishing-chevron { grid-column: 3; grid-row: 1; align-self: center; }
  .publishing-store__body { margin: 0 16px 20px; padding-left: 16px; }
  .publishing-store__route { gap: 20px; }
  .publishing-money__notes { padding-top: 24px; }
  .publishing-term-list { grid-template-columns: 1fr 1fr; }
  .publishing-faq summary { font-size: 17px; gap: 12px; }
  .publishing-faq details > p { margin-inline: 0; }
  .publishing-page .publishing-extras { text-align: left; }
}
@media (max-width: 480px) {
  .publishing-term-list { grid-template-columns: 1fr; }
  .publishing-page .button { padding-inline: 18px; }
}
@media (max-width: 360px) {
  /* Preserve both header controls on narrow publishing screens, including
     desktop mobile previews with a non-overlay scrollbar. */
  body:has(.publishing-page) .site-header .language-switcher__button { width: 112px; min-width: 112px; grid-template-columns: 30px minmax(0,1fr) 12px; padding-inline: 8px; }
  body:has(.publishing-page) .site-header .language-switcher__menu { left: -96px; right: auto; width: calc(100vw - 40px); }
}
@media (prefers-reduced-motion: reduce) { .publishing-exclusions .publishing-chevron { transition: none; } }
@media (prefers-reduced-motion: reduce) { .publishing-store .publishing-chevron, .publishing-faq .publishing-chevron { transition: none; } }

html[lang="ru"] { --catalog-coming-soon: "Скоро"; --catalog-more-products: "Новые продукты в разработке"; }
html[lang="de"] { --catalog-coming-soon: "Demnächst"; --catalog-more-products: "Weitere Produkte in Entwicklung"; }
html[lang="es-MX"] { --catalog-coming-soon: "Próximamente"; --catalog-more-products: "Más productos en desarrollo"; }
html[lang="fr"] { --catalog-coming-soon: "Bientôt"; --catalog-more-products: "D’autres produits en préparation"; }
html[lang="it"] { --catalog-coming-soon: "Prossimamente"; --catalog-more-products: "Altri prodotti in sviluppo"; }
html[lang="ja"] { --catalog-coming-soon: "近日公開"; --catalog-more-products: "新しい製品を開発中です"; }
html[lang="ko"] { --catalog-coming-soon: "출시 예정"; --catalog-more-products: "새로운 제품을 개발 중입니다"; }
html[lang="pl"] { --catalog-coming-soon: "Wkrótce"; --catalog-more-products: "Kolejne produkty są w przygotowaniu"; }
html[lang="pt-BR"] { --catalog-coming-soon: "Em breve"; --catalog-more-products: "Mais produtos em desenvolvimento"; }
html[lang="tr"] { --catalog-coming-soon: "Yakında"; --catalog-more-products: "Yeni ürünler geliştiriliyor"; }
html[lang="zh-Hant"] { --catalog-coming-soon: "即將推出"; --catalog-more-products: "更多產品正在開發中"; }
html[lang="zh-Hans"] { --catalog-coming-soon: "即将推出"; --catalog-more-products: "更多产品正在开发中"; }

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--deep-black);
  scroll-behavior: smooth;
  zoom: 0.8;
}

html:has(#open-source-products:target) {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone-white);
  background:
    radial-gradient(circle at 6% 18%, rgba(225, 15, 33, 0.18), transparent 26rem),
    linear-gradient(180deg, #030304 0%, var(--deep-black) 42%, #000 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(184, 194, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 194, 204, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 62% 14%, black 0 19rem, transparent 34rem);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--bone-white);
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--rat-red);
  outline-offset: 4px;
}

.page-shell {
  display: flex;
  min-height: 125vh;
  min-height: 125dvh;
  flex-direction: column;
}

.page-shell > main {
  flex: 1 0 auto;
}

.page-shell--not-found {
  min-height: 125vh;
  min-height: 125dvh;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--max) + (var(--gutter) * 2));
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  zoom: 1.25;
  border-bottom: 1px solid var(--line);
  background: rgba(1, 1, 2, 0.9);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.site-header .site-header__inner {
  max-width: calc(var(--max) + (var(--gutter) * 2));
  padding-inline: var(--gutter);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 0;
}

.logo img {
  width: 104px;
}

.language-switcher {
  --locale-flag-base: #0b0d11;
  --locale-flag-image: none;
  position: relative;
  z-index: 30;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  /* Keep the locale control at the beginning of the navigation group. */
  order: 2;
  margin-left: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 19, 24, 0.72);
}

.language-switcher > a,
.language-switcher > span {
  display: inline-grid;
  min-width: 38px;
  min-height: 34px;
  place-items: center;
  border-radius: 6px;
  color: var(--fog-gray);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  background-color: var(--locale-flag-base);
  background-image:
    linear-gradient(180deg, rgba(5, 6, 8, 0.22), rgba(5, 6, 8, 0.38)),
    var(--locale-flag-image);
  background-origin: border-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%, cover;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.language-switcher > a:hover,
.language-switcher > span[aria-current="true"] {
  color: var(--bone-white);
  background-color: var(--locale-flag-base);
  background-image:
    linear-gradient(180deg, rgba(5, 6, 8, 0.08), rgba(5, 6, 8, 0.18)),
    var(--locale-flag-image);
}

.language-switcher > span[aria-current="true"] {
  color: var(--bone-white);
}

.language-switcher--menu {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.language-switcher__button {
  display: inline-grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  width: 156px;
  min-width: 156px;
  min-height: 44px;
  /* Match the icon's horizontal inset to its centered vertical inset. */
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(22, 25, 31, 0.94), rgba(11, 13, 17, 0.94)),
    var(--coal);
  color: var(--bone-white);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.language-switcher__button::before {
  display: block;
  width: 34px;
  height: 26px;
  border: 1px solid rgba(5, 6, 8, 0.9);
  border-radius: 5px;
  content: "";
  background-color: var(--locale-flag-base);
  background-image:
    linear-gradient(180deg, rgba(5, 6, 8, 0.12), rgba(5, 6, 8, 0.22)),
    var(--locale-flag-image);
  background-origin: border-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%, cover;
  box-shadow: 0 0 12px rgba(225, 15, 33, 0.12);
  justify-self: center;
}

.language-switcher__button:hover,
.language-switcher.is-open .language-switcher__button {
  border-color: rgba(255, 16, 37, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 16, 37, 0.18), 0 10px 28px rgba(0, 0, 0, 0.35);
}

.language-switcher__current {
  color: var(--bone-white);
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
  text-align: center;
  justify-self: center;
}

.language-switcher__chevron {
  display: block;
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-inline: 4px solid transparent;
  border-top: 5px solid var(--fog-gray);
  justify-self: center;
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(58px, 1fr));
  gap: 7px;
  width: min(304px, calc(100vw - 32px));
  padding: 9px;
  border: 1px solid rgba(133, 143, 158, 0.36);
  border-radius: 10px;
  background:
    radial-gradient(circle at 20% 0%, rgba(225, 15, 33, 0.15), transparent 38%),
    linear-gradient(180deg, rgba(16, 19, 24, 0.98), rgba(5, 6, 8, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 16, 37, 0.08);
}

.language-switcher__menu[hidden] {
  display: none;
}

.language-switcher .language-switcher__option {
  display: inline-grid;
  min-width: 0;
  min-height: 42px;
  place-items: center;
  padding: 7px 8px;
  border: 1px solid rgba(5, 6, 8, 0.9);
  border-radius: 7px;
  background-color: var(--locale-flag-base);
  background-image:
    linear-gradient(180deg, rgba(5, 6, 8, 0.16), rgba(5, 6, 8, 0.32)),
    var(--locale-flag-image);
  background-origin: border-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%, cover;
  color: var(--fog-gray);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.language-switcher .language-switcher__option:hover {
  color: var(--bone-white);
  border-color: rgba(255, 16, 37, 0.7);
  background-color: var(--locale-flag-base);
  background-image:
    linear-gradient(180deg, rgba(5, 6, 8, 0.1), rgba(5, 6, 8, 0.24)),
    var(--locale-flag-image);
}

.language-switcher .language-switcher__option.is-current {
  color: var(--bone-white);
  border-color: rgba(255, 16, 37, 0.82);
  background-color: var(--locale-flag-base);
  background-image:
    linear-gradient(180deg, rgba(5, 6, 8, 0.08), rgba(5, 6, 8, 0.18)),
    var(--locale-flag-image);
}

.language-switcher > a[hreflang="en"],
.language-switcher > span[data-language="en"],
.language-switcher__button[data-language="en"],
.language-switcher .language-switcher__option[hreflang="en"] {
  --locale-flag-base: #172337;
  --locale-flag-image: url("/assets/img/locale-flags/en.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="ru"],
.language-switcher > span[data-language="ru"],
.language-switcher__button[data-language="ru"],
.language-switcher .language-switcher__option[hreflang="ru"] {
  --locale-flag-base: #f5f1e8;
  /* Extend the tricolour through the WebP's transparent artboard margins. */
  --locale-flag-image:
    url("/assets/img/locale-flags/ru.webp?v=20260817-canonical-artboards"),
    linear-gradient(#fbfcfe 0 33.33%, #0642b0 33.33% 66.66%, #d52a1e 66.66%);
}

.language-switcher > a[hreflang="de"],
.language-switcher > span[data-language="de"],
.language-switcher__button[data-language="de"],
.language-switcher .language-switcher__option[hreflang="de"] {
  --locale-flag-base: #030405;
  --locale-flag-image: url("/assets/img/locale-flags/de.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="es-mx"],
.language-switcher > span[data-language="es-mx"],
.language-switcher__button[data-language="es-mx"],
.language-switcher .language-switcher__option[hreflang="es-mx"] {
  --locale-flag-base: #143b2b;
  --locale-flag-image: url("/assets/img/locale-flags/es-mx.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="fr"],
.language-switcher > span[data-language="fr"],
.language-switcher__button[data-language="fr"],
.language-switcher .language-switcher__option[hreflang="fr"] {
  --locale-flag-base: #172337;
  --locale-flag-image: url("/assets/img/locale-flags/fr.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="it"],
.language-switcher > span[data-language="it"],
.language-switcher__button[data-language="it"],
.language-switcher .language-switcher__option[hreflang="it"] {
  --locale-flag-base: #143b2b;
  --locale-flag-image: url("/assets/img/locale-flags/it.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="ja"],
.language-switcher > span[data-language="ja"],
.language-switcher__button[data-language="ja"],
.language-switcher .language-switcher__option[hreflang="ja"] {
  --locale-flag-base: #f5f1e8;
  --locale-flag-image: url("/assets/img/locale-flags/ja.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="ko"],
.language-switcher > span[data-language="ko"],
.language-switcher__button[data-language="ko"],
.language-switcher .language-switcher__option[hreflang="ko"] {
  --locale-flag-base: #f5f1e8;
  --locale-flag-image: url("/assets/img/locale-flags/ko.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="pl"],
.language-switcher > span[data-language="pl"],
.language-switcher__button[data-language="pl"],
.language-switcher .language-switcher__option[hreflang="pl"] {
  --locale-flag-base: #f5f1e8;
  --locale-flag-image: url("/assets/img/locale-flags/pl.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="pt-br"],
.language-switcher > span[data-language="pt-br"],
.language-switcher__button[data-language="pt-br"],
.language-switcher .language-switcher__option[hreflang="pt-br"] {
  --locale-flag-base: #143b2b;
  --locale-flag-image: url("/assets/img/locale-flags/pt-br.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="tr"],
.language-switcher > span[data-language="tr"],
.language-switcher__button[data-language="tr"],
.language-switcher .language-switcher__option[hreflang="tr"] {
  --locale-flag-base: #b90d1c;
  --locale-flag-image: url("/assets/img/locale-flags/tr.webp?v=20260817-canonical-artboards");
}

.language-switcher > a[hreflang="zh-hans"],
.language-switcher > span[data-language="zh-hans"],
.language-switcher__button[data-language="zh-hans"],
.language-switcher .language-switcher__option[hreflang="zh-hans"] {
  --locale-flag-base: #de2910;
  --locale-flag-image: url("/assets/img/locale-flags/zh-hans.svg?v=20260909");
}

.language-switcher > a[hreflang="zh-hant"],
.language-switcher > span[data-language="zh-hant"],
.language-switcher__button[data-language="zh-hant"],
.language-switcher .language-switcher__option[hreflang="zh-hant"] {
  --locale-flag-base: #b90d1c;
  --locale-flag-image: url("/assets/img/locale-flags/zh-hant.webp?v=20260817-canonical-artboards");
}

.site-nav {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  order: 3;
  margin-left: auto;
  gap: 6px;
  color: var(--bone-white);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 8px clamp(8px, 1.2vw, 14px);
  color: var(--bone-white);
  font-size: 0.96rem;
  font-weight: 650;
  text-align: center;
  white-space: nowrap;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--rat-red);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--rat-red);
}

.site-nav .button {
  min-width: 0;
  padding-inline: clamp(14px, 1.6vw, 22px);
}

.menu-toggle {
  display: none;
  order: 4;
  margin-left: auto;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--bone-white);
  background: rgba(16, 19, 24, 0.72);
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] {
  color: var(--rat-red);
  border-color: rgba(225, 15, 33, 0.7);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  padding-block: 44px;
}

.section--tight {
  padding-block: 32px;
}

.publishing-page .section-kicker,
.section-kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--rat-red);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stack > :is(.section-kicker, .eyebrow),
.stack--large > :is(.section-kicker, .eyebrow),
.hero-copy > :is(.section-kicker, .eyebrow) {
  margin-bottom: 0;
}

.stack > h2,
.stack--large > h2,
.hero-copy > h2 {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  color: var(--bone-white);
}

h1 {
  max-width: 700px;
  font-size: clamp(3rem, 5vw, 4.45rem);
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

h3 {
  font-size: clamp(1.22rem, 1.65vw, 1.55rem);
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

p {
  margin: 0;
}

.lead {
  max-width: 620px;
  color: var(--fog-gray);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.muted {
  color: var(--fog-gray);
}

.fine {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--rat-red), transparent);
  box-shadow: var(--shadow-red);
}

.hero__inner {
  isolation: isolate;
  display: grid;
  min-height: 470px;
  align-items: center;
  gap: 44px;
  padding-block: 56px;
}

.hero__inner > *,
.product-feature > *,
.product-card > *,
.split > * {
  min-width: 0;
}

.hero--split .hero__inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.hero--split.hero--illustrated .hero__inner {
  grid-template-columns: minmax(380px, 0.9fr) minmax(500px, 1.1fr);
}

.hero--split.hero--publishing .hero__inner {
  grid-template-columns: minmax(0, 1fr);
}

.hero--publishing .hero-copy,
.hero--publishing .hero-visual {
  grid-area: 1 / 1;
}

.hero--publishing .hero-copy {
  width: max(52%, 600px);
  justify-self: start;
  isolation: isolate;
}

.hero--publishing .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20px -120px -20px -20px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.51) 64%,
    rgba(0, 0, 0, 0.21) 84%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero--publishing .hero-visual {
  width: max(62%, 720px);
  justify-self: end;
}

.hero--publishing h1 {
  font-size: clamp(2.8rem, 4.2vw, 3.75rem);
  text-wrap: balance;
}

.hero--product-app .hero__inner {
  --hero-app-min-height: clamp(560px, calc(100svh - 172px), 680px);
  min-height: var(--hero-app-min-height);
  align-items: center;
}

.hero--product-app h1 {
  font-size: clamp(2.8rem, 4.2vw, 3.8rem);
}

.hero--illustrated h1 {
  font-size: clamp(2.7rem, 3.8vw, 3.2rem);
}

.hero--illustrated h1.heading--long-word {
  font-size: clamp(2.05rem, 3.2vw, 3rem);
}

.hero--product-app .hero-copy {
  display: grid;
  align-self: center;
  align-content: center;
}

.hero--home .hero__inner {
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1fr);
}

.hero-lockup {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.hero-lockup img {
  width: min(430px, 100%);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 34px rgba(225, 15, 33, 0.18));
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 230px;
  align-self: center;
}

.hero-visual--illustrated {
  display: grid;
  min-height: clamp(360px, 30vw, 520px);
  align-items: center;
  justify-items: end;
}

.hero-visual img {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
}

.hero-visual--illustrated img {
  width: min(100%, 1040px);
  max-height: none;
}

.hero-visual--app-preview {
  display: grid;
  min-width: 0;
  gap: 12px;
  justify-items: stretch;
  overflow: hidden;
}

.hero--product-app .hero-visual--app-preview {
  align-self: center;
  min-height: 0;
  height: auto;
  grid-template-rows: auto auto;
  padding-top: 2px;
}

.hero-visual--app-preview .section-kicker {
  margin: 0;
}

.screenshot-rail--hero {
  grid-auto-columns: minmax(260px, 320px);
  gap: 18px;
  padding: 0;
}

.hero--product-app .screenshot-rail--hero {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: var(--hero-screenshot-gap);
  height: auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  user-select: none;
  cursor: grab;
}

.hero--product-app .screenshot-rail--hero.is-pointer-dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
}

.hero--product-app .screenshot-rail--hero img {
  -webkit-user-drag: none;
}

.screenshot-rail-frame {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
  padding: 20px 20px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at 64% 42%, rgba(213, 255, 29, 0.1), transparent 18rem),
    linear-gradient(135deg, rgba(225, 15, 33, 0.12), transparent 34%),
    #050608;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 18px 45px rgba(0, 0, 0, 0.34);
}

.hero--product-app .screenshot-rail-frame {
  --hero-screenshot-gap: clamp(12px, 2cqi, 18px);
  --hero-screenshot-card-width: clamp(170px, 62cqi, 220px);

  container-type: inline-size;
  grid-template-rows: auto auto;
  gap: 12px;
  height: auto;
  min-height: 0;
  align-self: center;
}

.screenshot-rail--hero .screenshot-card img {
  max-height: 560px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 20px 52px rgba(0, 0, 0, 0.42);
}

.hero--product-app .screenshot-rail--hero .screenshot-card img {
  width: 100%;
  height: auto;
  max-height: none;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.rlc-product-logo {
  width: min(430px, 100%);
  height: auto;
  filter: drop-shadow(0 0 22px rgba(225, 15, 33, 0.18));
}

.rlc-wordmark {
  display: block;
  width: min(320px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(225, 15, 33, 0.16));
}

.rlc-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  min-width: 0;
}

.rlc-title .rlc-wordmark {
  width: min(360px, 100%);
  min-width: 0;
}

.rlc-title__suffix {
  color: var(--bone-white);
}

.light-panel .rlc-title__suffix {
  color: var(--graphite);
}

.light-panel .rlc-title .rlc-wordmark {
  width: min(390px, 100%);
  border: 1px solid rgba(16, 19, 24, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  background:
    radial-gradient(circle at 24% 50%, rgba(225, 15, 33, 0.12), transparent 46%),
    linear-gradient(145deg, #11151a, #050607);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.rlc-support-card-logo {
  width: min(380px, 100%);
  max-height: 200px;
  object-fit: contain;
  align-self: center;
  filter: drop-shadow(0 0 22px rgba(225, 15, 33, 0.18));
}

.rlc-support-card-logo ~ .button {
  align-self: end;
  min-height: 64px;
  padding: 14px 24px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: 100%;
  gap: 18px;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-copy > * {
  min-width: 0;
  max-width: 100%;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--rat-red);
  border-radius: 6px;
  padding: 10px 22px;
  color: var(--bone-white);
  font-size: 0.96rem;
  font-weight: 800;
  text-align: center;
  background: rgba(16, 19, 24, 0.44);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: #ff2a3a;
  color: #fff;
  background: rgba(225, 15, 33, 0.08);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rat-red), #f51428);
  box-shadow: 0 12px 34px rgba(225, 15, 33, 0.22);
}

.button--primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #f51428, var(--rat-red-deep));
}

.button--ghost {
  border-color: var(--line-strong);
}

.card,
.product-card,
.product-feature,
.notice,
.legal-block,
.feature-card,
.asset-card,
.term-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.card,
.product-card,
.product-feature,
.asset-card {
  background:
    linear-gradient(145deg, rgba(184, 194, 204, 0.08), transparent 42%),
    var(--card);
  box-shadow: var(--shadow-card);
}

.notice,
.legal-block,
.feature-card,
.term-card {
  background: var(--card);
  box-shadow: none;
}

.card,
.notice,
.legal-block {
  padding: 32px;
}

.translation-notice-section {
  padding-top: 0;
}

.translation-notice {
  padding: 28px 32px;
}

.translation-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
}

.product-feature__copy {
  display: grid;
  gap: 14px;
}

.product-feature .platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.product-feature .platform {
  min-width: 0;
  justify-content: center;
  text-align: center;
}

.product-feature .cta-row,
.product-feature .cta-row .button {
  width: 100%;
}

.product-feature .cta-row {
  display: grid;
}

.product-feature__visual {
  min-height: 280px;
}

.product-feature__visual--screenshots {
  display: grid;
  align-self: stretch;
  min-height: 0;
}

.product-feature__screenshot-slot {
  --screenshot-pad: clamp(18px, 2.2vw, 30px);

  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: auto;
  padding: var(--screenshot-pad);
  justify-self: stretch;
  background:
    radial-gradient(circle at 50% 54%, rgba(220, 255, 25, 0.10), transparent 38%),
    linear-gradient(rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    #07090c;
  background-size: auto, 22px 22px, 22px 22px, auto;
}

.product-feature__visual img,
.product-feature__visual picture,
.card > img:first-child,
.card > picture:first-child {
  width: 100%;
  border-radius: 6px;
}

.product-grid,
.card-grid,
.feature-grid {
  display: grid;
  gap: 22px;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rlc-details-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  column-gap: 22px;
}

.rlc-details-layout > * {
  min-width: 0;
}

.rlc-details-layout :where(h2, h3, p, li, a, strong, span) {
  overflow-wrap: anywhere;
}

.rlc-details-layout__store,
.rlc-details-layout > :not(.rlc-details-layout__about):not(.rlc-details-layout__workflow) {
  grid-column: 1 / -1;
}

.rlc-details-layout__store {
  grid-row: 1;
}

/* Release information uses the same cards, image viewer and action primitives. */
.rlc-store-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.rlc-store-links .rlc-store-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  white-space: normal;
  text-align: left;
  overflow-wrap: anywhere;
}

.rlc-store-link span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
}

.rlc-store-links--compact {
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  margin-block: 12px;
}

.rlc-release-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
  padding-left: 22px;
  line-height: 1.65;
}

.rlc-release-features li::marker { color: var(--electric-lime); }
.rlc-downloads .qr-grid { grid-template-columns: minmax(0, 190px); }
@media (max-width: 640px) {
  .rlc-store-links:not(.rlc-store-links--compact),
  .rlc-release-features { grid-template-columns: minmax(0, 1fr); }
}

.rlc-details-layout__about {
  grid-column: 1;
  grid-row: 2;
}

.rlc-details-layout__workflow {
  grid-column: 2;
  grid-row: 2;
}

.rlc-details-layout__about,
.rlc-details-layout__workflow {
  height: 100%;
}

.product-grid--three,
.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.build-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}

.feature-grid:not(.build-grid) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.product-grid + .stack,
.product-grid + .section-kicker {
  margin-top: 18px;
}

.feature-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--five {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.card-grid--five > :nth-child(-n + 3) {
  grid-column: span 2;
}

.card-grid--five > :nth-child(4) {
  grid-column: 2 / span 2;
}

.card-grid--five > :nth-child(5) {
  grid-column: 4 / span 2;
}

.card-grid--five .feature-card {
  justify-items: center;
  text-align: center;
}

.card-grid--five .feature-card > * {
  min-width: 0;
  max-width: 100%;
}

.product-card {
  padding: 24px;
}

.product-card--wide {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-areas:
    "media body"
    "primary body"
    "platforms platforms"
    "actions actions";
  column-gap: 24px;
  row-gap: 18px;
  max-width: 590px;
  align-items: start;
}

.stack.catalog-section {
  container-name: catalog-section;
  container-type: inline-size;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 22px;
}

.catalog-section > :first-child,
.catalog-section > .product-grid {
  grid-column: 1 / -1;
}

.open-source-products {
  scroll-margin-top: 120px;
}

.stack.catalog-projects .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.products-catalog .catalog-card {
  min-width: 0;
}

.catalog-projects .card--icon-split {
  padding: 24px;
}

.catalog-projects {
  --card-icon-size: 132.48px;
}

.product-card__media,
.icon-tile {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    #07090c;
  background-size: 20px 20px;
}

.product-card__media {
  aspect-ratio: 1 / 1;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__media--logo {
  padding: 20px;
}

.product-card__media--screenshots {
  padding: 12px;
}

@media (min-width: 901px) {
  .products-catalog .product-card--wide .product-card__primary-action .button {
    min-height: 60px;
  }
}

.product-card__media.product-feature__screenshot-slot {
  aspect-ratio: 16 / 9;
}

.products-catalog .product-card__media--screenshots,
.product-feature__screenshot-slot {
  visibility: hidden;
  opacity: 0;
}

.products-catalog .product-card__media--screenshots[data-gallery-ready="true"],
.product-feature__screenshot-slot[data-gallery-ready="true"] {
  visibility: visible;
  opacity: 1;
  transition: opacity 160ms ease;
}

.product-card-screenshots {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.product-card-screenshots img {
  width: auto;
  height: 76%;
  max-height: 100%;
  min-width: 0;
  border: 1px solid rgba(184, 194, 204, 0.22);
  border-radius: 8px;
  object-fit: contain;
  background: #07090c;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.product-card-screenshots img:nth-child(1),
.product-card-screenshots img:nth-child(3) {
  height: 60%;
  opacity: 0.86;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] {
  position: relative;
  isolation: isolate;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots {
  position: relative;
  display: block;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: auto;
  height: 72%;
  max-width: 58%;
  max-height: 92%;
  opacity: 0.82;
  object-fit: contain;
  pointer-events: auto;
  -webkit-user-drag: none;
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(0.78);
  transition:
    left 360ms cubic-bezier(0.22, 0.72, 0.24, 1),
    height 360ms cubic-bezier(0.22, 0.72, 0.24, 1),
    max-width 360ms cubic-bezier(0.22, 0.72, 0.24, 1),
    opacity 240ms ease,
    transform 360ms cubic-bezier(0.22, 0.72, 0.24, 1);
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots img.is-active {
  left: 50%;
  z-index: 3;
  height: 88%;
  max-width: 68%;
  opacity: 1;
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(1);
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots img.is-before {
  left: 18%;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots img.is-after {
  left: 82%;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots img.is-far-before,
.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots img.is-far-after {
  z-index: 0;
  height: 60%;
  max-width: 50%;
  opacity: 0.56;
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(0.7);
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots img.is-far-before {
  left: -5%;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots img.is-far-after {
  left: 105%;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots img.is-hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots.is-dragging {
  cursor: grabbing;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots.is-dragging img {
  transition: none;
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots.is-initializing img {
  transition: none !important;
}

.product-card-screenshots--feature {
  position: absolute;
  inset: var(--screenshot-pad);
  width: auto;
  height: auto;
  gap: clamp(10px, 1.8vw, 20px);
}

.product-card-screenshots--feature img {
  max-width: 38%;
  height: 88%;
  border-radius: 12px;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.46),
    0 0 24px rgba(220, 255, 25, 0.08);
}

.product-card-screenshots--feature img:nth-child(1),
.product-card-screenshots--feature img:nth-child(3) {
  max-width: 27%;
  height: 70%;
  opacity: 0.9;
}

.product-feature__screenshot-slot[data-gallery-mode="carousel"] .product-card-screenshots--feature {
  position: absolute;
  inset: var(--screenshot-pad);
  display: block;
  width: auto;
  height: auto;
}

.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots img {
  height: 80%;
  max-width: 31%;
  opacity: 0.9;
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(1);
}

.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots img.is-active {
  left: 50%;
  height: 96%;
  max-width: 42%;
  opacity: 1;
}

.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots img.is-before {
  left: 26%;
}

.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots img.is-after {
  left: 74%;
}

.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots img.is-far-before,
.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots img.is-far-after {
  height: 72%;
  max-width: 27%;
  opacity: 0.62;
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(0.9);
}

.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots img.is-far-before {
  left: 4%;
}

.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots img.is-far-after {
  left: 96%;
}

.products-catalog .product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] {
  --screenshot-pad: clamp(18px, 2.2vw, 30px);
  --screenshot-vertical-pad: clamp(10px, 1.5cqi, 16px);

  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 12px;
  justify-self: center;
  background:
    radial-gradient(circle at 50% 54%, rgba(220, 255, 25, 0.10), transparent 38%),
    linear-gradient(rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    #07090c;
  background-size: auto, 22px 22px, 22px 22px, auto;
}

.products-catalog .product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots {
  position: absolute;
  inset: var(--screenshot-vertical-pad) var(--screenshot-pad);
  width: auto;
  height: auto;
}

.products-catalog .product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots img.is-active {
  width: auto;
  height: 100%;
  max-width: 44%;
  max-height: 100%;
  object-fit: contain;
}

/* Wide captures fit inside the existing preview carousel without a phone crop. */
.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots[data-mixed-gallery] img[data-platform="desktop"] {
  /* Keep the centering box constant. Resizing an auto-width image while its
     percentage translation is transitioning creates a second settling motion. */
  width: 88%;
  height: auto;
  max-width: 88%;
  max-height: 96%;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(0.64);
  transition: left 360ms cubic-bezier(0.22, 0.72, 0.24, 1), opacity 240ms ease, transform 360ms cubic-bezier(0.22, 0.72, 0.24, 1);
}

.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots[data-mixed-gallery] img[data-platform="desktop"] {
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(0.82);
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots[data-mixed-gallery] img[data-platform="desktop"]:is(.is-far-before,.is-far-after) {
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(0.57);
}

.product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] .product-card-screenshots[data-mixed-gallery] img[data-platform="desktop"]:is(.is-far-before,.is-far-after) {
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(0.74);
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots[data-mixed-gallery] img[data-platform="desktop"].is-active {
  transform: translate(calc(-50% + var(--gallery-drag, 0px)), -50%) scale(1);
}

.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots[data-mixed-gallery].is-dragging img[data-platform="desktop"],
.product-card__media--screenshots[data-gallery-mode="carousel"] .product-card-screenshots[data-mixed-gallery] img[data-platform="desktop"].is-hidden {
  transition: none;
}

@media (max-width: 560px) {
  .products-catalog .product-card__media--screenshots[data-gallery-mode="carousel"][data-gallery-shape="wide"] {
    --screenshot-pad: 14px;
    padding: 14px;
  }
}

.product-card__media--logo img,
.rlc-logo-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__media--logo .rlc-logo-mark {
  filter: drop-shadow(0 0 18px rgba(225, 15, 33, 0.24));
}

.product-card__body {
  display: grid;
  grid-area: body;
  gap: 12px;
}

.product-card--wide > .product-card__media {
  grid-area: media;
}

.product-card__top-actions {
  display: contents;
}

.product-card__primary-action {
  display: grid;
  grid-area: primary;
  align-self: start;
}

.product-card__primary-action .button {
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.product-card__top-actions > .platforms {
  display: grid;
  grid-area: platforms;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
}

.product-card__top-actions > .platforms .platform {
  min-width: 0;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-card__actions {
  display: grid;
  grid-area: actions;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-self: start;
}

.product-card__actions .button {
  width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.badge-row,
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge,
.tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--bone-white);
  font-size: 0.86rem;
  font-weight: 750;
  background: rgba(184, 194, 204, 0.07);
  overflow-wrap: anywhere;
}

.badge--own {
  border-color: rgba(225, 15, 33, 0.76);
  color: var(--rat-red);
}

.badge--status {
  color: var(--bone-white);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px 10px;
  color: var(--bone-white);
  font-weight: 650;
  background: rgba(184, 194, 204, 0.08);
}

.platform--planned {
  border-color: rgba(225, 15, 33, 0.55);
  color: var(--bone-white);
  background: rgba(225, 15, 33, 0.1);
}

.platform--future {
  color: var(--muted);
  background: rgba(184, 194, 204, 0.04);
}

a.platform {
  text-decoration: none;
}

.platform--link,
.platform[href*="play.google.com"] {
  gap: 8px;
  border-color: var(--electric-lime);
  color: var(--electric-lime);
  font-weight: 850;
  background: linear-gradient(135deg, rgba(218, 255, 36, 0.2), rgba(8, 12, 16, 0.92));
  box-shadow: 0 0 0 1px rgba(218, 255, 36, 0.22), 0 0 24px rgba(218, 255, 36, 0.24);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.platform--link::after,
.platform[href*="play.google.com"]::after {
  content: "\2197";
  font-size: 0.82em;
  line-height: 1;
  transform: translateY(-1px);
}

.platform--link:hover,
.platform--link:focus-visible,
.platform[href*="play.google.com"]:hover,
.platform[href*="play.google.com"]:focus-visible {
  border-color: #f4ff83;
  color: var(--electric-lime);
  background: linear-gradient(135deg, rgba(244, 255, 131, 0.24), rgba(8, 12, 16, 0.96));
  box-shadow: 0 0 0 1px rgba(244, 255, 131, 0.34), 0 0 30px rgba(218, 255, 36, 0.38);
  outline: none;
  transform: translateY(-1px);
}

.rlc-store-heading { display: grid; gap: 12px; }
.rlc-store-heading h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3rem); }
.rlc-store-heading > p:last-child { color: var(--bone-white); font-size: 1.25rem; }
.rlc-store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rlc-store-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--rat-red);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(184,194,204,.055), transparent 55%), rgba(1,1,2,.2);
  min-width: 0;
}
.rlc-store-panel[data-release-status="available"] { border-color: var(--electric-lime); }
.rlc-store-panel[data-release-status="listed"] { border-color: var(--fog-gray); }
.rlc-store-panel--mobile { grid-template-columns: minmax(0, 1fr) 148px; grid-template-rows: 1fr auto auto; column-gap: 16px; row-gap: 14px; }
.rlc-store-identity { display: flex; align-items: flex-start; gap: 20px; min-width: 0; }
.rlc-store-logo { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; }
.rlc-store-identity h3 { font-size: 1.65rem; line-height: 1.18; margin: 0 0 8px; overflow-wrap: normal; }
.rlc-store-identity p { margin: 0; font-size: 1.2rem; line-height: 1.45; }
.rlc-store-identity .rlc-store-status { color: #ff394b; margin-top: 4px; }
.rlc-store-identity .rlc-store-version { color: var(--bone-white); opacity: .72; font-size: .95rem; }
.rlc-store-panel[data-release-status="available"] .rlc-store-status { color: var(--electric-lime); }
.rlc-store-panel[data-release-status="listed"] .rlc-store-status { color: var(--bone-white); }
.rlc-store-panel .qr-card, .rlc-store-qr {
  grid-column: 2; grid-row: 1 / 3;
  align-self: start;
  display: block; padding: 0; width: 148px; height: 148px;
  border: 1px solid var(--line-strong); border-radius: 5px;
  background: white; overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}
.rlc-store-panel .qr-card img, .rlc-store-qr img { display: block; width: 100%; height: 100%; border-radius: 0; }
.rlc-store-scan { display: flex; align-items: center; gap: 10px; grid-column: 1; margin: 0; font-size: .86rem; line-height: 1.35; }
.rlc-store-scan svg { flex: 0 0 18px; width: 18px; height: 22px; }
.rlc-store-panel svg, .rlc-store-footer svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rlc-store-panel > .button {
  grid-column: 1 / -1; align-self: end; position: relative;
  min-height: 56px; width: 100%; padding: 12px 44px;
  border: 1px solid rgba(184,194,204,.65); border-radius: 5px;
  color: var(--bone-white); background: rgba(1,1,2,.15); box-shadow: none;
  font: 750 1.25rem/1.25 var(--font-ui); text-align: center;
}
.rlc-store-panel > .button svg { position: absolute; right: 16px; width: 22px; height: 22px; }
.rlc-store-panel > .button:hover { background: rgba(184,194,204,.1); border-color: var(--bone-white); transform: none; }
.rlc-store-panel a:focus-visible, .rlc-store-footer a:focus-visible { outline: 3px solid var(--bone-white); outline-offset: 4px; }
.rlc-store-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.rlc-store-note { display: flex; flex: 1; gap: 16px; align-items: center; margin: 0; font-size: .95rem; line-height: 1.45; }
.rlc-store-note svg { flex: 0 0 32px; width: 32px; height: 32px; }
.rlc-store-purchase { flex-basis: 100%; margin: 0; font-size: .88rem; line-height: 1.45; }
.rlc-store-footer a { color: var(--bone-white); text-underline-offset: 4px; text-decoration: underline; }
.rlc-store-support { display: flex; align-items: center; min-height: 56px; }
.rlc-store-russia { display: flex; align-items: center; gap: 16px; border-left: 1px solid var(--line-strong); padding-left: 28px; }
.rlc-store-russia p { font-size: .9rem; margin: 0 0 4px; }
.rlc-store-russia .rlc-ru-direct-sales__icon { flex: 0 0 44px; width: 44px; height: 44px; border: 2px solid var(--bone-white); background: linear-gradient(#fff 0 33.33%, #0866cf 33.33% 66.66%, #e10f21 66.66%); }
.rlc-store-russia .rlc-ru-direct-sales__icon::before, .rlc-store-russia .rlc-ru-direct-sales__icon::after { content: none; }
@media (max-width: 900px) {
  .rlc-store-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rlc-store-footer { flex-wrap: wrap; gap: 16px; }
  .rlc-store-note { flex-basis: 100%; }
  .rlc-store-russia { padding-left: 20px; margin-left: auto; }
}
@media (max-width: 480px) {
  .rlc-store-heading { gap: 8px; }
  .rlc-store-heading > p:last-child { font-size: 1rem; }
  .rlc-store-panel { padding: 16px; gap: 12px; }
  .rlc-store-panel--mobile { grid-template-columns: minmax(0, 1fr) 116px; gap: 12px; }
  .rlc-store-panel .qr-card, .rlc-store-qr { width: 116px; height: 116px; }
  .rlc-store-identity { gap: 12px; }
  .rlc-store-logo { width: 40px; height: 40px; flex-basis: 40px; }
  .rlc-store-identity h3 { font-size: 1.2rem; margin-bottom: 5px; }
  .rlc-store-identity p { font-size: 1rem; line-height: 1.3; }
  .rlc-store-panel > .button { font-size: 1.1rem; }
  .rlc-store-panel--mobile .rlc-store-identity { gap: 10px; }
  .rlc-store-scan { font-size: .8rem; gap: 6px; }
  .rlc-store-footer { gap: 8px; padding-top: 16px; }
  .rlc-store-note { font-size: .88rem; gap: 10px; }
  .rlc-store-note svg { width: 26px; height: 26px; flex-basis: 26px; }
  .rlc-store-russia { padding-left: 12px; gap: 10px; }
  .rlc-store-russia p { font-size: .82rem; }
  .rlc-store-russia a, .rlc-store-support { font-size: .9rem; }
  .rlc-store-russia .rlc-ru-direct-sales__icon { width: 32px; height: 32px; flex-basis: 32px; }
}

.rlc-downloads {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: center;
}

.rlc-ru-direct-sales {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
}

.rlc-ru-direct-sales__copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.rlc-ru-direct-sales__icon {
  position: relative;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border: 1px solid var(--rat-red);
  border-radius: 50%;
}

.rlc-ru-direct-sales__icon::before,
.rlc-ru-direct-sales__icon::after {
  position: absolute;
  content: "";
  border-color: var(--rat-red);
}

.rlc-ru-direct-sales__icon::before {
  inset: 4px 8px;
  border-right: 1px solid;
  border-left: 1px solid;
  border-radius: 50%;
}

.rlc-ru-direct-sales__icon::after {
  top: 11px;
  right: 3px;
  left: 3px;
  border-top: 1px solid;
}

.rlc-ru-direct-sales__text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.rlc-ru-direct-sales__text strong {
  color: var(--bone-white);
  font-size: 0.82rem;
  line-height: 1.25;
  white-space: nowrap;
}

.rlc-ru-direct-sales__text > span {
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.rlc-ru-direct-sales__link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
  padding: 7px 8px;
  color: var(--rat-red);
  font-size: 0.8rem;
  font-weight: 850;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.rlc-ru-direct-sales__link:hover,
.rlc-ru-direct-sales__link:focus-visible {
  color: #ff4756;
  background: rgba(225, 15, 33, 0.08);
  outline: none;
  transform: translateX(2px);
}

.rlc-ru-direct-sales__arrow {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qr-card {
  display: grid;
  gap: 10px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--bone-white);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  background: rgba(184, 194, 204, 0.06);
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.qr-card--active {
  border-color: rgba(218, 255, 36, 0.5);
  background: rgba(218, 255, 36, 0.06);
}

.qr-card--disabled {
  opacity: 0.64;
}

.qr-card__status {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.qr-card--active .qr-card__status {
  color: var(--electric-lime);
}

.qr-card--active:hover,
.qr-card--active:focus-visible,
.rlc-store-qr:hover,
.rlc-store-qr:focus-visible {
  transform: translateY(-1px);
  border-color: var(--electric-lime);
  color: var(--bone-white);
  background: rgba(218, 255, 36, 0.1);
  outline: none;
}

.qr-card img {
  width: min(168px, 100%);
  aspect-ratio: 1;
  border-radius: 6px;
}

.screenshot-rail {
  display: grid;
  grid-auto-columns: minmax(230px, 300px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.screenshot-rail::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.screenshot-rail.screenshot-rail--hero {
  grid-auto-columns: minmax(260px, 320px);
  gap: 18px;
  padding: 0;
  scroll-snap-type: none;
}

.rrh-scrollbar {
  position: relative;
  height: 12px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(184, 194, 204, 0.14);
  border-radius: 999px;
  background: rgba(184, 194, 204, 0.08);
  cursor: pointer;
}

.rrh-scrollbar__thumb {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e10f21, #ff2a36);
  box-shadow: 0 0 14px rgba(225, 15, 33, 0.26);
  transform: translateX(0);
  will-change: width, transform;
  cursor: grab;
}

.rrh-scrollbar__thumb:active {
  cursor: grabbing;
}

.screenshot-card {
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.hero--product-app .screenshot-rail--hero .screenshot-card {
  display: grid;
  flex: 0 0 var(--hero-screenshot-card-width);
  width: var(--hero-screenshot-card-width);
  grid-template-rows: auto auto;
  gap: 8px;
  height: auto;
  min-width: 0;
  max-width: none;
}

/* The same rail contains uncropped phone and desktop captures. */
.hero--product-app .screenshot-rail-frame:has([data-mixed-gallery]) {
  padding: 16px 16px 14px;
}

.hero--product-app .screenshot-rail--hero[data-mixed-gallery] .screenshot-card {
  --mixed-image-height: min(58.75cqi, 462.5px);
  flex-basis: calc(var(--mixed-image-height) * 0.45);
  width: calc(var(--mixed-image-height) * 0.45);
  align-self: start;
}

.hero--product-app .screenshot-rail--hero[data-mixed-gallery] .screenshot-card[data-platform="desktop"] {
  flex-basis: min(94cqi, 740px);
  width: min(94cqi, 740px);
  align-self: start;
}

.hero--product-app .screenshot-rail--hero[data-mixed-gallery] .screenshot-card__frame {
  aspect-ratio: auto;
}

.hero--product-app .screenshot-rail--hero[data-mixed-gallery] .screenshot-card img {
  height: var(--mixed-image-height);
  width: 100%;
  object-fit: contain;
}

.screenshot-card__frame {
  display: grid;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #07090c;
  box-shadow: var(--shadow-card);
}

.hero--product-app .screenshot-card__frame {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 20;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 20px 52px rgba(0, 0, 0, 0.42);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 9 / 20;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  object-fit: contain;
  background: #07090c;
  box-shadow: var(--shadow-card);
}

.hero--product-app .screenshot-card__frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: fill;
  background: transparent;
  box-shadow: none;
}

.screenshot-card figcaption {
  margin-top: 0;
  color: var(--fog-gray);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
}

.screenshot-card__frame img,
.product-card-screenshots img {
  cursor: zoom-in;
}

body.is-image-viewer-open {
  overflow: hidden;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  background:
    radial-gradient(circle at 50% 0, rgba(225, 15, 33, 0.12), transparent 46%),
    rgba(2, 3, 5, 0.72);
  backdrop-filter: blur(6px);
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer__close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--paper-white);
  background: rgba(14, 17, 22, 0.72);
  cursor: pointer;
}

.image-viewer__close::before,
.image-viewer__close::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.image-viewer__close::before {
  transform: rotate(45deg);
}

.image-viewer__close::after {
  transform: rotate(-45deg);
}

.image-viewer__close:hover,
.image-viewer__close:focus-visible {
  border-color: var(--rat-red);
  color: var(--rat-red);
  outline: none;
}

.image-viewer__canvas {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 28px);
  cursor: grab;
  touch-action: none;
}

.image-viewer__canvas.is-dragging {
  cursor: grabbing;
}

.image-viewer__stage {
  display: block;
}

.image-viewer__image {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #07090c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 28px 72px rgba(0, 0, 0, 0.58);
  user-select: none;
  -webkit-user-drag: none;
}

.feature-card,
.asset-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
}

.feature-card {
  min-height: 0;
  position: relative;
  overflow: visible;
  padding-bottom: 26px;
}

.rlc-calculations .feature-card {
  min-height: 0;
}

.feature-card h3 {
  font-size: clamp(1.22rem, 1.48vw, 1.48rem);
  line-height: 1.18;
}

/* Icon, wrapping title, then full-width copy: shared informational cards. */
.feature-card:has(> .generated-icon) {
  grid-template-columns: var(--card-icon-size) minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 12px;
  justify-items: stretch;
  text-align: start;
}

.feature-card:has(> .generated-icon) > .generated-icon {
  grid-column: 1;
  grid-row: 1;
  width: var(--card-icon-size);
  height: var(--card-icon-size);
  margin: 0;
  align-self: center;
}

.feature-card:has(> .generated-icon) > h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.feature-card:has(> .generated-icon) > p {
  grid-column: 1 / -1;
}

.card.stack:has(> .icon-tile + h2) {
  grid-template-columns: var(--card-icon-size) minmax(0, 1fr);
  column-gap: 16px;
}

.card.stack:has(> .icon-tile + h2) > .icon-tile {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: var(--card-icon-size);
  height: var(--card-icon-size);
}

.card.stack:has(> .icon-tile + h2) > .icon-tile .generated-icon {
  width: var(--card-icon-art-size);
  height: var(--card-icon-art-size);
}

.card.stack:has(> .icon-tile + h2) > h2 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.card.stack:has(> .icon-tile + h2) > :is(p, .button) {
  grid-column: 1 / -1;
}

.feature-card::after {
  position: absolute;
  inset-inline-start: 0;
  bottom: 12px;
  width: min(180px, 58%);
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--rat-red), transparent);
}

.icon {
  width: 112px;
  height: 112px;
  color: var(--rat-red);
}

.generated-icon {
  width: 124px;
  height: 124px;
  border-radius: 6px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(225, 15, 33, 0.18));
}

.feature-card > .generated-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 6px;
}

.icon-tile {
  width: 144px;
  height: 144px;
  border-radius: 8px;
}

.icon-tile .generated-icon {
  width: 118px;
  height: 118px;
}

.card--icon-split {
  grid-template-columns: 162px minmax(0, 1fr);
  align-items: center;
}

.product-grid--three .card--icon-split {
  grid-template-columns: var(--card-icon-size) minmax(0, 1fr);
  grid-template-rows: minmax(var(--card-icon-size), auto) minmax(0, 1fr) auto auto;
  align-content: start;
  align-items: start;
  gap: 12px 8px;
  padding: 24px;
}

.product-grid--three .card--icon-split .icon-tile {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: var(--card-icon-size);
  height: var(--card-icon-size);
}

.product-grid--three .card--icon-split .icon-tile .generated-icon {
  width: var(--card-icon-art-size);
  height: var(--card-icon-art-size);
}

.product-grid--three .card--icon-split .stack {
  display: contents;
}

.product-grid--three .card--icon-split .stack > h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.product-grid--three .card--icon-split .stack > p {
  grid-column: 1 / -1;
}

.product-grid--three .card--icon-split .button {
  grid-column: 1 / -1;
  grid-row: 4;
  align-self: end;
  width: 100%;
  min-width: 0;
  padding-inline: 14px;
}

.card--icon-split .icon-tile,
.card.stack > .icon-tile {
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(225, 15, 33, 0.12), transparent 54%),
    rgba(7, 9, 12, 0.72);
}

.product-grid .card.split .icon-tile {
  border-radius: 8px;
  background:
    linear-gradient(rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    #07090c;
  background-size: 20px 20px;
}

.catalog-projects .card--icon-split {
  grid-template-columns: var(--card-icon-size) minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 12px 16px;
}

.catalog-projects .card--icon-split > .stack {
  display: contents;
}

.catalog-projects .card--icon-split > .stack > :is(.badge-row, .section-kicker) {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-width: 0;
}

.catalog-projects .card--icon-split > .stack > h3 {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.3;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.catalog-projects .card--icon-split > .stack > p.muted {
  grid-column: 1 / -1;
  grid-row: 3;
}

.catalog-projects .card--icon-split > .stack > :is(p.fine, .rlc-compact-stores) {
  grid-column: 1 / -1;
  grid-row: 4;
}

.catalog-projects .card--icon-split > .stack > .button:last-child {
  grid-column: 1 / -1;
  grid-row: 5;
  width: 100%;
  min-width: 0;
  align-self: end;
}

.catalog-projects .card--icon-split .icon-tile {
  grid-column: 1;
  grid-row: 1 / 3;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-self: center;
  width: var(--card-icon-size);
  height: var(--card-icon-size);
  border-radius: 8px;
  padding: 4.8px;
  border-width: 1.2px;
}

.catalog-projects .card--icon-split .icon-tile .generated-icon {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
  filter: none;
}

.build-grid .feature-card {
  grid-template-columns: var(--card-icon-size) minmax(0, 1fr);
  grid-template-rows: minmax(var(--card-icon-size), auto) minmax(0, 1fr) auto;
  align-content: start;
  align-items: start;
  gap: 12px 8px;
  padding: 24px;
}

.build-grid .feature-card .generated-icon {
  grid-column: 1;
  grid-row: 1;
  width: var(--card-icon-size);
  height: var(--card-icon-size);
  margin: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 194, 204, 0.05) 1px, transparent 1px),
    #07090c;
  background-size: 20px 20px;
  filter: none;
}

.build-grid .feature-card h3,
.build-grid .feature-card p {
  grid-column: 2;
  min-width: 0;
}

.build-grid .feature-card h3 {
  line-height: 1.3;
  grid-row: 1;
  align-self: center;
  overflow-wrap: break-word;
}

.product-grid--three .card--icon-split .stack > h3,
.build-grid .feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.product-grid--three .card--icon-split .stack > p.muted,
.build-grid .feature-card p.muted {
  font-size: 1rem;
  line-height: 1.65;
}

.product-grid--three .card--icon-split::after {
  content: none;
}

.build-grid .feature-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
}

.build-grid .feature-card::after {
  position: static;
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .product-grid--three .card--icon-split {
    grid-template-columns: var(--card-icon-size) minmax(0, 1fr);
    grid-template-rows: minmax(var(--card-icon-size), auto) minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 16px;
  }

  .build-grid .feature-card {
    grid-template-columns: var(--card-icon-size) minmax(0, 1fr);
    grid-template-rows: minmax(var(--card-icon-size), auto) minmax(0, 1fr) auto;
    align-content: start;
    gap: 12px;
    padding: 16px;
  }

  .build-grid .feature-card .generated-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .build-grid .feature-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 20px;
  }

  .build-grid .feature-card p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

}

.empty-state {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 220px;
  padding: 32px;
  text-align: center;
}

.catalog-card--placeholder {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  contain: size;
  gap: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 25%, rgba(225, 15, 33, 0.12), transparent 14rem),
    var(--card);
}

.products-catalog .catalog-card--placeholder .icon-tile {
  width: 100%;
  height: 100%;
  min-height: 120px;
  aspect-ratio: auto;
  align-self: stretch;
  justify-self: stretch;
}

.products-catalog .empty-state .icon-tile {
  width: min(100%, 220px);
  height: auto;
  aspect-ratio: 22 / 25;
  align-self: center;
  justify-self: center;
}

.products-catalog .empty-state .icon-tile .generated-icon {
  width: 80px;
  height: 80px;
  max-width: 60%;
  max-height: 60%;
}

.catalog-placeholder__copy {
  align-self: end;
  align-content: start;
  justify-items: start;
}

.catalog-placeholder__badge::before {
  content: var(--catalog-coming-soon);
}

.catalog-placeholder__title::before {
  content: var(--catalog-more-products);
}

.catalog-placeholder__text {
  display: none;
}

.warning-block {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  border-left: 4px solid var(--rat-red);
  background:
    radial-gradient(circle at 0% 0%, rgba(225, 15, 33, 0.16), transparent 20rem),
    rgba(225, 15, 33, 0.04);
}

.warning-block > .generated-icon {
  width: 136px;
  height: 136px;
  align-self: center;
}

.warning-block h3 {
  margin-top: 26px;
}

.warning-block ul,
.plain-list {
  margin: 0;
  padding-left: 20px;
}

.compliance-list {
  columns: 2 18rem;
  column-gap: 34px;
}

.compliance-list li {
  break-inside: avoid;
}

.warning-block li::marker,
.plain-list li::marker {
  color: var(--rat-red);
}

.ordered-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
}

.ordered-list li::marker {
  color: var(--rat-red);
  font-family: var(--font-mono);
  font-weight: 700;
}

.light-panel {
  border: 1px solid rgba(16, 19, 24, 0.18);
  border-radius: var(--radius);
  padding: 34px;
  color: var(--graphite);
  background:
    radial-gradient(circle at 84% 8%, rgba(225, 15, 33, 0.08), transparent 15rem),
    var(--light-panel);
  box-shadow: var(--shadow-card);
}

.light-panel h2,
.light-panel h3 {
  color: #050607;
}

.light-panel a:not(.button) {
  color: var(--rat-red);
}

.light-panel .button,
.light-panel .button:hover,
.light-panel .button--primary,
.light-panel .button--primary:hover {
  color: #fff;
}

.privacy-policy-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  gap: 48px;
  align-items: center;
  min-height: 300px;
  padding: 48px 58px 46px 46px;
  overflow: hidden;
}

.privacy-policy-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 174px;
  aspect-ratio: 1;
  padding: 20px;
  overflow: visible;
  border: 1px solid rgba(16, 19, 24, 0.16);
  border-radius: 18px;
  background: #06070a;
  box-shadow: 0 20px 45px rgba(16, 19, 24, 0.18);
}

.privacy-policy-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.privacy-policy-card__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  max-width: 650px;
}

.privacy-policy-card__copy h2 {
  font-size: clamp(1.62rem, 2vw, 1.95rem);
  line-height: 1.12;
}

.privacy-policy-card__copy p {
  max-width: 640px;
  color: rgba(16, 19, 24, 0.72);
  font-size: 1.08rem;
  line-height: 1.55;
}

.privacy-contact-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 0;
  padding: 30px 40px;
}

.privacy-contact-card .icon-tile {
  width: 96px;
  height: 96px;
  border-radius: 50%;
}

.privacy-contact-card .icon-tile .generated-icon {
  width: 68px;
  height: 68px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table tr {
  border-top: 1px solid rgba(16, 19, 24, 0.16);
}

.legal-table th,
.legal-table td {
  padding: 16px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 34%;
  color: #050607;
}

.term-card {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 204px;
  padding: 34px;
}

.term-card .icon-tile {
  width: 128px;
  height: 128px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(225, 15, 33, 0.1), transparent 52%),
    rgba(7, 9, 12, 0.62);
}

.term-card .icon-tile .generated-icon {
  width: 104px;
  height: 104px;
}

.term-card h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rat-red);
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
}

.term-card p + p {
  margin-top: 16px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: rgba(16, 19, 24, 0.62);
}

.faq summary {
  cursor: pointer;
  color: var(--bone-white);
  font-weight: 800;
}

.faq p {
  margin-top: 12px;
  color: var(--fog-gray);
}

.optimizer-license__body {
  margin-top: 16px;
}

.faq .optimizer-license__body p {
  margin-top: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack--large {
  display: grid;
  gap: 32px;
}

.stack > *,
.stack--large > *,
.product-grid > *,
.card-grid > *,
.feature-grid > * {
  min-width: 0;
}

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.54);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 120px minmax(280px, 1.05fr) repeat(2, minmax(170px, 0.75fr));
  gap: 34px;
  padding-block: 38px;
}

.site-footer__brand img {
  width: 104px;
}

.footer-title {
  margin-bottom: 8px;
  color: var(--bone-white);
  font-weight: 850;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-block: 7px;
  color: var(--bone-white);
}

.footer-links a[aria-current="page"],
.footer-links a:hover,
.red-link {
  color: var(--rat-red);
}

.red-link {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px clamp(18px, 3vw, 34px);
  border-top: 1px solid var(--line);
  padding-block: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer__bottom > p,
.duns-group {
  min-height: 43px;
}

.site-footer__bottom > p {
  display: flex;
  flex: 1 1 210px;
  align-items: center;
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-footer__bottom > p:last-child {
  justify-content: flex-end;
  text-align: right;
}

.duns-group {
  display: inline-grid;
  align-items: center;
  flex: 0 0 auto;
  grid-template-columns: 49px auto;
  gap: 8px;
}

.site-footer__bottom a {
  display: inline-flex;
  min-width: 43px;
  min-height: 43px;
  align-items: center;
  padding-block: 6px;
  text-align: center;
  overflow-wrap: anywhere;
}

.duns-seal {
  display: inline-grid;
  flex: 0 0 49px;
  place-items: center;
  width: 49px;
  height: 43px;
  overflow: hidden;
}

.duns-seal iframe {
  display: block;
  width: 49px;
  height: 43px;
  border: 0;
}

.duns-fallback {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.duns-fallback span {
  color: var(--bone-white);
}

.asset-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #050607;
}

.asset-preview img {
  max-width: 88%;
  max-height: 82%;
  object-fit: contain;
}

.not-found {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(540px, calc(100vh - 246px), 700px);
  align-content: center;
  justify-items: stretch;
  gap: 30px;
  overflow: hidden;
  padding-block: clamp(42px, 7vh, 78px) clamp(126px, 17vh, 188px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 79%, rgba(225, 15, 33, 0.18), transparent 28rem),
    radial-gradient(circle at 50% 56%, rgba(184, 194, 204, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(1, 1, 2, 0.2), rgba(1, 1, 2, 0.9));
}

.not-found__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-self: center;
  justify-items: center;
  gap: 16px;
}

.not-found .translation-notice-section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
}

.not-found__mark {
  width: clamp(176px, 18vw, 260px);
  margin-inline: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 32px rgba(225, 15, 33, 0.18));
}

.not-found h1 {
  max-width: 100%;
  margin-inline: auto;
}

.not-found .lead {
  max-width: 720px;
  margin-inline: auto;
}

.not-found .cta-row {
  justify-content: center;
  margin-top: 12px;
}

.not-found__track {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: clamp(132px, 21vh, 190px);
  pointer-events: none;
}

.not-found__track::before {
  position: absolute;
  inset: 22% 0 0;
  content: "";
  background:
    linear-gradient(rgba(184, 194, 204, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 194, 204, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.42;
  mask-image: linear-gradient(90deg, transparent, black 16%, black 84%, transparent);
}

.not-found__track svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.not-found__map-line,
.not-found__race-line,
.not-found__track-x path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.not-found__map-line {
  stroke: rgba(184, 194, 204, 0.1);
  stroke-width: 2;
}

.not-found__race-line {
  stroke: var(--rat-red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(225, 15, 33, 0.8));
}

.not-found__race-line--soft {
  stroke: rgba(225, 15, 33, 0.32);
  stroke-width: 11;
  filter: blur(5px);
}

.not-found__race-line--dash {
  stroke-dasharray: 20 20;
  stroke-width: 4;
}

.not-found__track-x path {
  stroke: var(--rat-red);
  stroke-linecap: round;
  stroke-width: 5;
  filter: drop-shadow(0 0 10px rgba(225, 15, 33, 0.82));
}

.sr-only,
.lang-switcher {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 800px) {
  .site-header__inner {
    position: relative;
    min-height: 72px;
    align-items: center;
    flex-direction: row;
    padding-block: 9px;
  }

  .logo img {
    width: 92px;
  }

  .language-switcher {
    margin-left: 0;
  }

  .language-switcher__menu {
    right: -64px;
    grid-template-columns: repeat(3, minmax(56px, 1fr));
  }

  .menu-toggle {
    display: inline-grid;
    align-content: center;
    justify-content: center;
    gap: 5px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    width: min(320px, calc(100vw - (var(--gutter) * 2)));
    max-width: calc(100vw - (var(--gutter) * 2));
    max-height: calc(100vh - 96px);
    overflow: auto;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background:
      radial-gradient(circle at 100% 0%, rgba(225, 15, 33, 0.16), transparent 12rem),
      rgba(1, 1, 2, 0.97);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.98rem;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: rgba(225, 15, 33, 0.1);
  }

  .site-nav a[aria-current="page"]::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 0;
    width: 2px;
    height: auto;
  }

  .site-nav .button {
    width: 100%;
    min-height: 46px;
    margin: 6px 0 0;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .hero--split .hero__inner,
  .hero--home .hero__inner,
  .product-feature,
  .privacy-policy-card,
  .split,
  .card--icon-split,
  .product-card--wide,
  .term-card,
  .warning-block,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .hero--split.hero--illustrated .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero--publishing .hero-copy,
  .hero--publishing .hero-visual {
    grid-area: auto;
    width: 100%;
  }

  .hero--publishing .hero-copy::before {
    display: none;
  }

  .hero__inner {
    min-height: auto;
    gap: 34px;
    padding-block: 42px;
  }

  .hero--product-app .hero__inner {
    --hero-app-min-height: auto;
    min-height: auto;
    align-items: center;
  }

  .hero--product-app .hero-copy,
  .hero--product-app .hero-visual--app-preview {
    align-self: auto;
  }

  .hero--product-app .hero-copy {
    align-content: start;
  }

  .hero--product-app .hero-visual--app-preview {
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    grid-template-rows: auto auto;
    align-content: start;
  }

  .hero--product-app .screenshot-rail-frame {
    grid-template-rows: auto auto;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .hero--product-app .screenshot-rail.screenshot-rail--hero {
    height: auto;
    min-height: auto;
    align-items: start;
  }

  .hero--product-app .screenshot-rail--hero .screenshot-card {
    height: auto;
    grid-template-rows: auto auto;
  }

  .hero--product-app .screenshot-card__frame {
    width: 100%;
    height: auto;
  }

  .hero--product-app .screenshot-rail--hero .screenshot-card img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    aspect-ratio: auto;
  }

  .hero-visual--illustrated {
    min-height: auto;
    justify-items: center;
  }

  .hero-visual--illustrated img {
    width: min(100%, 760px);
  }

  .hero-lockup {
    width: 100%;
    min-height: auto;
    order: -1;
  }

  .hero-lockup img {
    width: min(100%, 340px);
  }

  .product-grid:not(.product-grid--three),
  .feature-grid--two {
    grid-template-columns: 1fr;
  }

  .rlc-details-layout {
    grid-template-columns: 1fr;
  }

  .rlc-details-layout__store,
  .rlc-details-layout__about,
  .rlc-details-layout__workflow,
  .rlc-details-layout > :not(.rlc-details-layout__about):not(.rlc-details-layout__workflow) {
    grid-column: 1;
    grid-row: auto;
  }

  .rlc-details-layout__store {
    order: -3;
  }

  .rlc-details-layout__about {
    order: -2;
  }

  .rlc-details-layout__workflow {
    order: -1;
  }

  .product-card--wide {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "body"
      "primary"
      "platforms"
      "actions";
    max-width: 100%;
  }

  .product-card__media {
    width: min(100%, 360px);
    justify-self: center;
  }

  .products-catalog .product-card--wide .product-card__media--screenshots {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }

  .product-feature__screenshot-slot {
    width: min(100%, clamp(400px, 75vw, 560px));
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    justify-self: center;
  }

  .product-card__media.product-feature__screenshot-slot {
    aspect-ratio: 4 / 3;
  }

  .product-card__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--five > :nth-child(5) {
    grid-column: 1 / -1;
  }

  .card-grid--five > :nth-child(-n + 4) {
    grid-column: auto;
  }

  .rlc-downloads,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__main {
    gap: 24px;
    padding-block: 32px;
  }

  .rlc-ru-direct-sales {
    align-items: center;
  }

  .rlc-ru-direct-sales__link {
    flex: 0 0 auto;
  }
}

@media (max-width: 800px) {
  .product-grid--three,
  .card-grid--three {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .light-panel {
    min-width: 0;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table tr {
    padding-block: 14px;
  }

  .legal-table th,
  .legal-table td {
    padding: 0;
    overflow-wrap: anywhere;
  }

  .legal-table th {
    margin-bottom: 6px;
  }

  .card-grid--five {
    grid-template-columns: 1fr;
  }

  .card-grid--five > :nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .container,
  .site-header .container {
    padding-inline: 16px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .logo img {
    width: 86px;
  }

  .menu-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .site-nav {
    right: 16px;
    max-width: calc(100vw - 32px);
  }

  .language-switcher > a,
  .language-switcher > span {
    min-width: 34px;
    min-height: 32px;
    font-size: 0.78rem;
  }

  .language-switcher__button {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 6px;
    width: 136px;
    min-width: 136px;
    min-height: 40px;
    padding: 5px 12px;
  }

  .language-switcher__current {
    min-width: 0;
  }

  .language-switcher__button::before {
    width: 30px;
    height: 23px;
  }

  .language-switcher__menu {
    right: -58px;
    width: min(292px, calc(100vw - 22px));
  }

  .section {
    padding-block: 34px;
  }

  .section--tight {
    padding-block: 26px;
  }

  h1 {
    max-width: min(100%, 13ch);
    font-size: clamp(2.5rem, 12vw, 2.75rem);
    line-height: 1.02;
    text-wrap: balance;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2rem);
    line-height: 1.12;
  }

  h3 {
    font-size: clamp(1.16rem, 6vw, 1.38rem);
    line-height: 1.16;
  }

  .not-found h1 {
    max-width: 12ch;
    font-size: 2.35rem;
    text-wrap: balance;
  }

  .not-found__mark {
    width: min(250px, 68vw);
  }

  .hero__inner {
    gap: 26px;
    padding-block: 32px;
  }

  .hero--split.hero--illustrated .hero__inner {
    gap: 24px;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    max-height: 240px;
  }

  .hero-visual--illustrated img {
    width: min(100%, 430px);
  }

  .screenshot-rail.screenshot-rail--hero {
    grid-auto-columns: minmax(230px, 76vw);
    gap: 14px;
  }

  .hero--product-app .screenshot-rail.screenshot-rail--hero {
    height: auto;
    min-height: auto;
  }

  .hero--product-app .screenshot-rail-frame {
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
  }

  .hero--product-app .screenshot-rail--hero .screenshot-card {
    display: grid;
    height: auto;
    grid-template-rows: auto auto;
  }

  .hero--product-app .screenshot-card__frame {
    width: 100%;
    height: auto;
  }

  .screenshot-rail-frame {
    padding: 14px 14px 12px;
  }

  .screenshot-rail--hero .screenshot-card img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    aspect-ratio: auto;
  }

  .hero-lockup img,
  .rlc-product-logo {
    width: min(100%, 320px);
  }

  .hero-copy,
  .lead,
  .topic-tags {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .tag {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-copy .lead {
    inline-size: min(100%, 32ch);
    max-width: 32ch;
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .button,
  .cta-row {
    width: 100%;
  }

  .button {
    min-height: 48px;
    padding-inline: 18px;
  }

  .card,
  .notice,
  .legal-block,
  .light-panel,
  .product-feature,
  .product-card,
  .privacy-policy-card,
  .feature-card,
  .asset-card,
  .term-card {
    padding: 22px;
  }

  .product-card {
    gap: 18px;
  }

  .build-grid,
  .feature-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: 1fr;
  }

  .product-card__top-actions > .platforms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card__top-actions > .platforms .platform {
    padding-inline: 4px;
    font-size: 0.8rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .privacy-policy-card {
    gap: 24px;
    min-height: 0;
    padding: 28px;
  }

  .privacy-policy-card__icon {
    width: 150px;
  }

  .privacy-contact-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
  }

  .product-card__media {
    width: min(100%, 260px);
  }

  .product-card__media--screenshots {
    aspect-ratio: 4 / 3;
  }

  .product-feature__visual--screenshots {
    min-height: 0;
  }

  .product-feature__screenshot-slot {
    width: min(100%, clamp(320px, 75vw, 420px));
    --screenshot-pad: 14px;
    padding: 14px;
    justify-self: center;
  }

  .product-card__media.product-feature__screenshot-slot {
    aspect-ratio: 4 / 3;
  }

  .product-card-screenshots--feature {
    gap: 6px;
  }

  .product-card-screenshots--feature img {
    border-radius: 8px;
  }

  .product-card__actions {
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card__actions .button {
    min-height: 48px;
    padding-inline: 10px;
  }

  .feature-card {
    min-height: auto;
    gap: 14px;
  }

  .card-grid--five .feature-card {
    min-height: auto;
    justify-items: start;
    text-align: left;
  }

  .generated-icon {
    width: 96px;
    height: 96px;
  }

  .feature-card > .generated-icon {
    width: 96px;
    height: 96px;
  }

  .icon-tile {
    width: 108px;
    height: 108px;
  }

  .icon-tile .generated-icon {
    width: 86px;
    height: 86px;
  }

  .privacy-policy-card__icon {
    width: min(136px, 100%);
  }

  .privacy-policy-card__copy {
    gap: 14px;
  }

  .privacy-policy-card__copy p {
    font-size: 1rem;
  }

  .privacy-contact-card {
    grid-template-columns: 1fr;
  }

  .term-card .icon-tile {
    width: 100px;
    height: 100px;
  }

  .term-card .icon-tile .generated-icon {
    width: 80px;
    height: 80px;
  }

  .product-feature {
    gap: 22px;
  }

  .product-feature__visual {
    min-height: 0;
  }

  .rlc-support-card-logo {
    width: min(100%, 300px);
    max-height: 150px;
    justify-self: start;
  }

  .rlc-wordmark {
    width: min(100%, 260px);
  }

  .rlc-title {
    gap: 8px 10px;
  }

  .qr-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    padding: 12px;
    font-size: 0.9rem;
  }

  .qr-card img {
    width: min(132px, 100%);
  }

  .rlc-ru-direct-sales {
    display: grid;
    gap: 10px;
    align-items: start;
  }

  .rlc-ru-direct-sales__copy {
    align-items: flex-start;
  }

  .rlc-ru-direct-sales__text strong {
    white-space: normal;
  }

  .rlc-ru-direct-sales__link {
    width: 100%;
    justify-content: space-between;
  }

  .screenshot-rail {
    grid-auto-columns: minmax(210px, 78vw);
    gap: 14px;
    margin-right: -11px;
    padding-right: 11px;
  }

  .screenshot-rail.screenshot-rail--hero {
    grid-auto-columns: minmax(230px, 76vw);
    margin-right: 0;
    padding: 0;
  }

  .site-footer {
    margin-top: 0;
  }

  .site-footer__main {
    padding-block: 28px;
  }

  .site-footer__brand img {
    width: 92px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-block: 18px;
    text-align: left;
  }

  .site-footer__bottom > p,
  .site-footer__bottom .duns-group {
    flex: 0 0 auto;
  }

  .site-footer__bottom > p,
  .site-footer__bottom > p:last-child {
    justify-content: flex-start;
    text-align: left;
  }

  .duns-group {
    min-height: 43px;
    gap: 8px;
  }
}

@media (min-width: 420px) and (max-width: 560px) {
  .hero-copy .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy .cta-row:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-copy .cta-row .button {
    width: auto;
    min-width: 0;
    padding-inline: 12px;
  }

  .qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-rail {
    grid-auto-columns: minmax(230px, 68vw);
  }

  .screenshot-rail.screenshot-rail--hero {
    grid-auto-columns: minmax(250px, 64vw);
  }

}

@media (min-width: 561px) and (max-width: 900px) {
  .hero-copy .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy .cta-row:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-copy .cta-row .button {
    width: auto;
    min-width: 0;
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 560px) {
  :root { --card-icon-size: 92px; }
  .catalog-projects { --card-icon-size: 110.4px; }
  .catalog-projects .card--icon-split {
    gap: 12px;
    padding: 16px;
  }
}

@media (max-width: 1000px) {
  .feature-grid.build-grid {
    grid-template-columns: 1fr;
  }
}

@container catalog-section (max-width: 53.874rem) {
  .products-catalog .catalog-card--placeholder {
    contain: none;
    grid-template-columns: minmax(96px, 0.45fr) minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 110px;
    gap: 14px;
    padding: 16px;
    align-self: start;
  }

  .products-catalog .catalog-card--placeholder .icon-tile {
    width: 100%;
    height: 100%;
    min-height: 80px;
    aspect-ratio: auto;
  }

  .products-catalog .catalog-card--placeholder .catalog-placeholder__copy {
    align-self: center;
    gap: 8px;
  }
}

@container catalog-section (min-width: 53.875rem) {
  .products-catalog .product-card--wide {
    grid-template-columns: minmax(165px, 0.78fr) minmax(0, 1.22fr);
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      "media body"
      "primary body"
      "platforms platforms"
      "actions actions";
    max-width: none;
  }

  .products-catalog .product-card--wide .product-card__media--screenshots {
    width: 100%;
    height: 100%;
    min-height: clamp(240px, 28cqi, 320px);
    align-self: stretch;
    aspect-ratio: auto;
  }
}

/* Hero composition follows the space available to each hero instead of the
   global navigation breakpoint. */
.hero {
  container-name: hero-layout;
  container-type: inline-size;
}

.hero__inner,
.hero--product-app .hero__inner {
  min-height: auto;
  gap: clamp(24px, 4cqi, 44px);
  padding-block: clamp(32px, 5cqi, 56px);
}

.hero--home .hero__inner,
.hero--split .hero__inner,
.hero--split.hero--illustrated .hero__inner {
  grid-template-columns: minmax(0, 1fr);
}

.hero--publishing .hero-copy,
.hero--publishing .hero-visual {
  grid-area: auto;
  width: 100%;
}

.hero--publishing .hero-copy::before {
  display: none;
}

@container hero-layout (min-width: 48rem) {
  .hero--home .hero__inner {
    grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1fr);
  }

  .hero--home .hero-lockup {
    order: initial;
  }
}

@container hero-layout (min-width: 56rem) {
  .hero--split.hero--illustrated:not(.hero--publishing) .hero__inner {
    grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  }

  .hero--split.hero--illustrated .hero-visual--illustrated {
    min-height: clamp(340px, 30cqi, 500px);
    justify-items: end;
  }

  .hero--split.hero--illustrated .hero-visual--illustrated img {
    width: min(100%, 1040px);
    max-height: none;
  }

  .hero--split.hero--illustrated.hero--publishing .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--publishing .hero-copy,
  .hero--publishing .hero-visual {
    grid-area: 1 / 1;
  }

  .hero--publishing .hero-copy {
    width: max(52%, 600px);
  }

  .hero--publishing .hero-copy::before {
    display: block;
  }

  .hero--publishing .hero-visual {
    width: max(62%, 720px);
  }
}

@container hero-layout (min-width: 60rem) {
  .hero--product-app .hero__inner {
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
  }

  .hero--product-app .hero-copy {
    align-self: center;
    align-content: center;
  }

  .hero--product-app .hero-visual--app-preview {
    width: auto;
    align-self: center;
    overflow: hidden;
  }
}

/* Compact-to-tablet sizing scales continuously; structural layout changes are
   handled by the component queries above. */
.section {
  padding-block: clamp(34px, 4vw, 44px);
}

.section--tight {
  padding-block: clamp(26px, 3vw, 32px);
}

.card,
.notice,
.legal-block {
  padding: clamp(22px, 2.6vw, 32px);
}

.product-feature {
  padding: clamp(22px, 2.4vw, 28px);
}

.product-card {
  padding: clamp(22px, 2.2vw, 24px);
}

.feature-card,
.asset-card {
  padding: clamp(22px, 2.3vw, 26px);
}

.term-card {
  padding: clamp(22px, 2.8vw, 34px);
}

.hero--split.hero--illustrated .hero-visual--illustrated img {
  width: min(100%, clamp(430px, 72cqi, 760px));
  max-height: none;
}

.hero h1 {
  max-width: 100%;
}

.hero-copy .lead {
  inline-size: auto;
  max-width: min(100%, 620px);
}

.generated-icon {
  width: clamp(96px, 8vw, 124px);
  height: clamp(96px, 8vw, 124px);
}

.feature-card > .generated-icon {
  width: clamp(96px, 7.4vw, 112px);
  height: clamp(96px, 7.4vw, 112px);
}

.icon-tile {
  width: clamp(108px, 10vw, 144px);
  height: clamp(108px, 10vw, 144px);
}

.icon-tile .generated-icon {
  width: clamp(86px, 8vw, 118px);
  height: clamp(86px, 8vw, 118px);
}

.term-card .icon-tile {
  width: clamp(100px, 10vw, 128px);
  height: clamp(100px, 10vw, 128px);
}

.term-card .icon-tile .generated-icon {
  width: clamp(80px, 8vw, 104px);
  height: clamp(80px, 8vw, 104px);
}

/* The document is intentionally rendered at 80%; 55 CSS px preserves a
   physical 44 px interaction target. */
.button,
.platform,
.site-nav a,
.language-switcher__button,
.language-switcher .language-switcher__option {
  min-height: 55px;
}

.menu-toggle {
  width: 55px;
  height: 55px;
  flex-basis: 55px;
}

section.stack:has(> .feature-grid--two) {
  container-name: publishing-features;
  container-type: inline-size;
}

.feature-grid.feature-grid--two {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
}

@container publishing-features (min-width: 34rem) {
  .feature-grid.feature-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container publishing-features (min-width: 69rem) {
  .feature-grid.feature-grid--two {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .card-grid--five {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid--five > :nth-child(-n + 4) {
    grid-column: span 2;
  }

  .card-grid--five > :nth-child(5) {
    grid-column: 2 / span 2;
  }
}

.hero--product-app .hero-copy {
  container-name: rlc-hero-copy;
  container-type: inline-size;
}

.hero--product-app .hero-copy .cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.hero--product-app .hero-copy .cta-row:has(> :nth-child(3):last-child) {
  grid-template-columns: minmax(0, 1fr);
}

.hero--product-app .hero-copy .cta-row .button {
  width: 100%;
  min-width: 0;
  white-space: normal;
}

@container rlc-hero-copy (min-width: 29rem) {
  .hero--product-app .hero-copy .cta-row:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-links a {
  min-height: 55px;
  align-items: center;
}

@media (min-width: 561px) and (max-width: 900px) {
  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand details"
      "primary-links legal-links";
    align-items: start;
    gap: 28px clamp(24px, 4vw, 42px);
  }

  .site-footer__brand {
    grid-area: brand;
  }

  .site-footer__main > div {
    grid-area: details;
  }

  .site-footer__main > .footer-links:nth-of-type(1) {
    grid-area: primary-links;
  }

  .site-footer__main > .footer-links:nth-of-type(2) {
    grid-area: legal-links;
  }

  .site-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-footer__bottom > p {
    min-height: 55px;
  }
}

/* The header renders at 100%, while its content edges stay aligned with the
   80%-scaled main container. The footer keeps the site's base 80% scale. */
.site-header .site-header__inner {
  max-width: calc(960px + clamp(25.6px, 3.2vw, 51.2px));
  padding-inline: clamp(12.8px, 1.6vw, 25.6px);
}

/* Featured product: shared store controls and native carousel, matching the
   approved two-column composition without the former duplicate platform row. */
.product-feature.rlc-feature {
  grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
  padding: 36px; gap: 32px;
}
.rlc-feature .product-feature__copy { align-content: start; gap: 28px; padding: 12px 0; }
.rlc-feature .section-kicker { margin: 0; font-size: 1rem; }
.rlc-feature .rlc-wordmark { width: min(100%,380px); height: auto; }
.rlc-feature h3 { margin: 0; font-size: 2rem; line-height: 1.35; }
.rlc-feature .rlc-feature-description { margin: 0; font-size: 1.125rem; line-height: 1.7; }
.rlc-feature .rlc-compact-stores { grid-area: auto; gap: 16px; }
.rlc-feature .cta-row { margin-top: 4px; }
.rlc-feature .cta-row .button { position: relative; min-height: 64px; padding: 16px 42px; white-space: normal; }
.rlc-feature .cta-row svg { position: absolute; right: 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.rlc-feature .product-card__media.product-feature__screenshot-slot { width: 100%; height: 100%; min-height: 520px; aspect-ratio: auto; }
@media (max-width: 900px) {
  .product-feature.rlc-feature { grid-template-columns: minmax(0,1fr); padding: 26px; gap: 26px; }
  .rlc-feature .product-feature__copy { padding: 0; gap: 24px; }
  .rlc-feature .product-card__media.product-feature__screenshot-slot { min-height: 380px; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .product-feature.rlc-feature { padding: 22px; gap: 24px; }
  .rlc-feature h3 { font-size: 1.65rem; }
  .rlc-feature .rlc-feature-description { font-size: 1rem; }
  .rlc-feature .rlc-compact-stores { gap: 12px; }
  .rlc-feature .product-card__media.product-feature__screenshot-slot { min-height: 300px; }
}

/* Compact catalog variant of the shared card, native screenshot carousel and
   store controls. Keep the existing mesh background on media and placeholders. */
.products-catalog .product-card--wide.rlc-catalog-card {
  grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
  grid-template-rows: auto auto auto auto auto;
  grid-template-areas: "kicker kicker" "media body" "primary primary" "stores stores" "actions actions";
  width: 100%;
  max-width: none;
  padding: 26px;
  gap: 16px 20px;
  align-content: start;
}
.rlc-catalog-kicker { grid-area: kicker; margin: 0; }
.products-catalog .rlc-catalog-card .product-card__body {
  gap: 28px;
  min-width: 0;
  padding-top: 12px;
}
.rlc-catalog-card .product-card__body h3 { font-size: 1.5rem; line-height: 1.3; }
.rlc-catalog-card .product-card__body p { font-size: 1.125rem; line-height: 1.55; }
.rlc-catalog-card .product-card__body .rlc-wordmark { width: 100%; height: auto; }
.products-catalog .rlc-catalog-card .product-card__media--screenshots {
  width: 100%; height: 100%; min-height: 380px; aspect-ratio: auto; align-self: stretch;
}
.products-catalog .rlc-catalog-card .product-card__primary-action .button { min-height: 56px; white-space: normal; }
.rlc-compact-stores { display: grid; grid-area: stores; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; min-width: 0; }
.rlc-compact-stores.catalog-stores--single { grid-area: auto; grid-template-columns: minmax(0,1fr); }
.rlc-compact-stores .rlc-compact-store {
  display: grid; grid-template-columns: 36px minmax(0,1fr) 16px; gap: 12px;
  min-width: 0; min-height: 88px; padding: 12px 16px;
  text-align: left; white-space: normal; border-color: var(--rat-red);
  background: transparent; box-shadow: none; font-size: 1.05rem; line-height: 1.3;
}
.rlc-compact-store > img { width: 36px; height: 36px; object-fit: contain; }
.rlc-compact-store > span { display: grid; min-width: 0; gap: 5px; }
.rlc-compact-store strong { color: var(--bone-white); font-weight: 750; }
.rlc-compact-store .rlc-compact-status { color: var(--rat-red); font-weight: 400; }
.rlc-compact-store .rlc-compact-detail { color: var(--fog-gray); font-size: .82em; line-height: 1.25; }
.rlc-compact-store > svg { width: 16px; height: 16px; fill: none; stroke: var(--rat-red); stroke-width: 2; }
.rlc-compact-stores .rlc-compact-store[data-release-status="available"] { border-color: var(--electric-lime); }
.rlc-compact-store[data-release-status="available"] .rlc-compact-status { color: var(--electric-lime); }
.rlc-compact-store[data-release-status="available"] > svg { stroke: var(--electric-lime); }
.rlc-compact-stores .rlc-compact-store[data-release-status="listed"] { border-color: var(--fog-gray); }
.rlc-compact-store[data-release-status="listed"] .rlc-compact-status { color: var(--bone-white); }
.rlc-compact-store[data-release-status="listed"] > svg { stroke: var(--fog-gray); }
.rlc-compact-stores .rlc-compact-store:hover { background: rgba(184,194,204,.07); }
.rlc-feature .rlc-compact-store { grid-template-columns: 32px minmax(0,1fr) 12px; gap: 8px; padding-inline: 12px; }
.rlc-feature .rlc-compact-store > img { width: 32px; height: 32px; }
.rlc-feature .rlc-compact-store > svg { width: 12px; height: 12px; }
.rlc-catalog-card .product-card__actions { margin-top: 2px; gap: 12px; }
.rlc-catalog-card .product-card__actions .button { min-height: 56px; padding: 10px 8px; font-size: .95rem; }
@media (max-width: 560px) {
  .products-catalog .product-card--wide.rlc-catalog-card { padding: 20px; gap: 16px 14px; }
  .products-catalog .rlc-catalog-card .product-card__body { gap: 18px; }
  .rlc-catalog-card .product-card__body h3 { font-size: 1.25rem; }
  .rlc-catalog-card .product-card__body p { font-size: 1rem; }
  .products-catalog .rlc-catalog-card .product-card__media--screenshots { min-height: 290px; }
  .rlc-compact-stores .rlc-compact-store { grid-template-columns: 26px minmax(0,1fr) 12px; gap: 8px; padding: 10px; font-size: .95rem; }
  .rlc-compact-store > img { width: 26px; height: 26px; }
  .rlc-compact-store > svg { width: 12px; height: 12px; }
}

/* Russian-only Alya event; all layout rules stay scoped to this page. */
.gymkhana-page { background: var(--deep-black); }
.gymkhana-page h1, .gymkhana-page h2, .gymkhana-page h3 { letter-spacing: 0; }
.gymkhana-page h2 { margin: 0 0 24px; }
.gymkhana-page h3 { margin: 28px 0 10px; }
.gymkhana-page p { margin: 0 0 16px; }
.gymkhana-page a:focus-visible { outline: 3px solid var(--bone-white); outline-offset: 5px; }
.gymkhana-page .site-nav .button--primary, .gymkhana-page .site-nav .button--primary:hover { color: #fff; }
.gymkhana-page main [id] { scroll-margin-top: 140px; }
.gym-skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gym-skip:focus { position: fixed; top: 16px; left: 16px; width: auto; height: auto; clip-path: none; padding: 12px 24px; background: var(--rat-red); z-index: 100; }
.gym-hero { position: relative; isolation: isolate; overflow: hidden; background: #050506; }
.gym-hero__scene { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: -1; width: 100%; max-width: 1800px; height: 100%; object-fit: cover; object-position: center 45%; mask-image: linear-gradient(to right, transparent, #000 5% 95%, transparent); }
.gym-hero__inner { display: flex; flex-direction: column; justify-content: space-between; min-height: 750px; padding-block: 32px 28px; gap: 40px; }
.gymkhana-page .gym-hero__title { position: relative; isolation: isolate; width: 520px; max-width: 48%; margin: 0; line-height: 1; transform: translate3d(0, var(--gym-wordmark-offset, 0px), 0); }
/* Broad local scrims keep the photograph out of the lettering's negative space. */
.gym-hero__title::before { content: ''; position: absolute; z-index: -1; inset: -8% -12%; background: radial-gradient(ellipse, rgb(0 0 0 / .88) 12%, rgb(0 0 0 / .72) 46%, rgb(0 0 0 / .35) 62%, transparent 76%); filter: blur(18px); pointer-events: none; }
.gym-hero__title img { width: 100%; height: auto; filter: drop-shadow(0 2px 3px #000) drop-shadow(0 0 8px #000); }
.gym-facts { position: relative; isolation: isolate; width: fit-content; max-width: 100%; display: flex; flex-wrap: wrap; gap: 24px 32px; margin: 0; padding: 0; list-style: none; }
.gym-facts::before { content: ''; position: absolute; z-index: -1; inset: -24px -36px; background: #000; opacity: .85; filter: blur(22px); pointer-events: none; }
.gym-facts li { display: flex; align-items: center; gap: 16px; font-size: 25px; font-weight: 750; text-transform: uppercase; line-height: 1.2; text-shadow: 0 2px 2px #000, 0 0 8px #000, 0 0 18px #000; filter: drop-shadow(0 0 10px #000); }
.gym-facts li + li { border-left: 1px solid var(--line-strong); padding-left: 32px; }
.gym-facts .gym-icon { width: 44px; height: 44px; flex-basis: 44px; }
.gym-icon { display: inline-block; width: 28px; height: 28px; flex: 0 0 28px; background: var(--rat-red); mask: var(--gym-icon) center / contain no-repeat; }
.gym-icon--calendar { --gym-icon: url('/assets/img/gymkhana/calendar-days.svg'); }
.gym-icon--clock { --gym-icon: url('/assets/img/gymkhana/clock-3.svg'); }
.gym-icon--pin { --gym-icon: url('/assets/img/gymkhana/map-pin.svg'); }
.gym-icon--payment { --gym-icon: url('/assets/img/gymkhana/banknote.svg'); }
.gym-icon--rental { --gym-icon: url('/assets/img/gymkhana/key-round.svg'); }
.gym-icon--equipment { --gym-icon: url('/assets/img/gymkhana/shield-check.svg'); }
.gym-icon--people { --gym-icon: url('/assets/img/gymkhana/users.svg'); }
.gym-icon--music { --gym-icon: url('/assets/img/gymkhana/music-2.svg'); }
.gym-icon--trophy { --gym-icon: url('/assets/img/gymkhana/trophy.svg'); }
.gym-icon--external { --gym-icon: url('/assets/img/gymkhana/external-link.svg'); }
.gym-band { border-top: 1px solid var(--line-strong); padding-block: 36px; }
.gymkhana-page .gym-section-title { display: flex; align-items: baseline; gap: 24px; margin: 0 0 28px; font-size: 36px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.gym-section-title::after { content: ''; height: 2px; min-width: 28px; background: var(--rat-red); flex: 1; }
.gym-schedule { margin: 0; }
.gym-schedule > div { position: relative; display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 20px; padding: 0 0 22px 36px; }
.gym-schedule > div::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--rat-red); }
.gym-schedule > div:not(:last-child)::after { content: ''; position: absolute; left: 6px; top: 20px; bottom: -7px; width: 2px; background: var(--rat-red); }
.gym-schedule > div:last-child { padding-bottom: 0; }
.gym-schedule dt { color: var(--rat-red); font-weight: 700; }
.gym-schedule dd { margin: 0; }
.gym-schedule__detail { display: block; color: var(--fog-gray); font-size: 16px; margin-top: 4px; }
.gymkhana-page .gym-note { color: var(--fog-gray); line-height: 1.5; }
.gym-details { display: grid; grid-template-columns: 1.12fr 1fr; gap: 20px 56px; align-items: start; font-size: 19px; }
.gym-details__info { min-width: 0; }
.gym-participation { border-top: 1px solid var(--rat-red); margin-top: 28px; padding-top: 22px; }
.gym-benefits { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.gym-benefits li { display: flex; gap: 20px; align-items: flex-start; }
.gym-conditions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.gymkhana-page .gym-conditions h3 { display: flex; align-items: baseline; gap: 16px; font-size: 20px; font-weight: 800; line-height: 1.4; text-transform: uppercase; margin: 24px 0 16px; }
.gym-condition-title::after { content: ''; flex: 1; min-width: 24px; height: 2px; background: var(--rat-red); }
.gymkhana-page .gym-conditions h3:first-child { margin-top: 0; }
.gymkhana-page .gym-conditions p { font-size: 19px; line-height: 1.55; color: var(--fog-gray); margin-bottom: 16px; }
.gymkhana-page .gym-conditions p:last-child { margin-bottom: 0; }
.gym-registration { min-width: 0; grid-column: 2; grid-row: 1 / span 2; }
.gym-registration__surface { position: relative; isolation: isolate; --gym-form-edge: #18191b; }
.gym-registration__surface::before { content: ''; position: absolute; z-index: -1; inset: -8px; border-radius: 12px; background: var(--gym-form-edge); pointer-events: none; }
.gym-registration__surface::after { content: ''; position: absolute; z-index: -2; inset: -14px; border-radius: 18px; background: var(--gym-form-edge); filter: blur(12px); pointer-events: none; }
.gym-registration__form { position: relative; z-index: 1; display: block; width: 100%; height: 572px; zoom: 1.25; border: 0; background: #18191b; border-radius: 4px; color-scheme: dark; }
.gym-registration-help { grid-column: 1; grid-row: 2; border-top: 1px solid var(--rat-red); padding-top: 22px; }
.gymkhana-page .gym-registration__privacy { font-size: 17px; margin: 0; }
.gym-fields { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.gym-fields label { display: grid; gap: 6px; }
.gym-fields input:not([type="checkbox"]) { display: block; width: 100%; min-width: 0; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--graphite); color: var(--fog-gray); font: inherit; opacity: 1; }
.gym-fields input::placeholder { color: var(--muted); opacity: 1; }
.gym-fields .gym-checkbox { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.gym-checkbox input { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; accent-color: var(--rat-red); }
.gym-fields .button:disabled { color: var(--fog-gray); background: #282e34; border-color: var(--line-strong); cursor: not-allowed; opacity: 1; }
.gym-fields .button { min-height: 64px; width: 100%; }
.gym-location { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.45fr); gap: 40px; }
.gym-venue { display: flex; align-items: center; gap: 16px; font-size: 25px; }
.gym-venue .gym-icon { width: 36px; height: 36px; flex-basis: 36px; }
.gym-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 55px; color: var(--rat-red); text-decoration: underline; text-underline-offset: 4px; }
.gym-map { min-width: 0; }
.gym-map iframe { display: block; width: 100%; height: 290px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--graphite); }
.gym-map .gym-note { margin-top: 12px; }
.gym-footer { border-top: 1px solid var(--line-strong); padding-block: 32px; }
.gym-footer__inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto auto auto; gap: 0 64px; align-items: start; }
.gym-footer__identity { display: grid; grid-template-columns: 128px minmax(0,1fr); grid-template-rows: subgrid; grid-row: span 3; gap: 0 24px; align-items: start; }
.gym-footer__identity > div { display: contents; }
.gym-footer__identity .gym-footer__logo { grid-column: 1; grid-row: 1 / span 3; }
.gym-footer__identity .gym-footer__role { grid-column: 2; grid-row: 1; }
.gym-footer__identity .gym-note { grid-column: 2; grid-row: 2; }
.gym-footer__identity .gym-footer__links { grid-column: 2; grid-row: 3; }
.gym-footer__logo { display: block; }
.gym-footer__logo img { width: 128px; height: 128px; object-fit: contain; }
.gym-footer__role { font-weight: 700; color: var(--bone-white); }
.gym-footer__links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.gym-footer .red-link { display: inline-flex; align-items: center; min-height: 55px; padding-block: 8px; color: var(--rat-red); text-decoration: underline; text-underline-offset: 4px; }
.gym-footer .red-link:hover { color: var(--bone-white); }
.gym-footer p { margin-bottom: 0; }
@media (max-width: 1100px) {
  .gym-details { column-gap: 32px; }
  .gym-conditions { gap: 28px; }
  .gym-schedule > div { grid-template-columns: 132px minmax(0,1fr); gap: 12px; }
  .gymkhana-page .gym-section-title { font-size: 32px; gap: 16px; }
}
@media (max-width: 760px) {
  .gym-hero__inner { min-height: 780px; padding-block: 24px; gap: 24px; }
  .gymkhana-page .gym-hero__title { width: 360px; max-width: 68%; }
  .gym-hero__scene { object-position: 62% center; }
  .gym-facts { gap: 16px; }
  .gym-facts li { font-size: 18px; gap: 10px; }
  .gym-facts li + li { padding-left: 16px; }
  .gym-facts .gym-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .gym-band { padding-block: 36px; }
  .gym-details, .gym-location { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .gym-registration, .gym-registration-help { grid-column: auto; grid-row: auto; }
  .gym-conditions { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .gym-registration { padding-top: 4px; }
  .gym-schedule > div { grid-template-columns: 145px minmax(0,1fr); gap: 16px; }
  .gym-map iframe { height: 360px; }
  .gym-footer__inner { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .gym-footer__identity { grid-template-columns: 96px minmax(0,1fr); grid-template-rows: auto auto auto; grid-row: auto; gap: 0 20px; }
  .gym-footer__logo img { width: 96px; height: 96px; }
}
@media (max-width: 430px) {
  .gym-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .gym-facts li:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .gym-facts li:last-child br { display: none; }
  .gym-schedule > div { grid-template-columns: 125px minmax(0,1fr); gap: 12px; padding-left: 26px; }
}
