: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;
  --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;
  --font-ui: Inter, "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Sora, "Space Grotesk", Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone-white);
  overflow-x: hidden;
  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 {
  min-height: 100vh;
}

.page-shell--not-found {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--max) + 40px);
  padding-inline: 20px;
  margin-inline: auto;
}

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

.site-header__inner {
  --nav-item-width: 112px;
  --nav-contact-width: 156px;

  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .site-header__inner {
  max-width: calc(var(--max) + 40px);
  padding-inline: 20px;
}

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

.logo img {
  width: 104px;
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  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;
}

.language-switcher a:hover,
.language-switcher span[aria-current="true"] {
  color: var(--bone-white);
  background: rgba(225, 15, 33, 0.16);
}

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

.site-nav {
  display: grid;
  grid-template-columns: repeat(4, var(--nav-item-width)) var(--nav-contact-width);
  align-items: center;
  justify-content: flex-end;
  gap: 10px 8px;
  color: var(--bone-white);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 8px 2px;
  color: var(--bone-white);
  font-size: 0.96rem;
  font-weight: 650;
  text-align: center;
}

.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 {
  padding-inline: 22px;
}

.menu-toggle {
  display: none;
  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;
}

.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;
}

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);
}

h3 {
  font-size: clamp(1.22rem, 1.65vw, 1.55rem);
}

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 {
  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(280px, 0.72fr) minmax(520px, 1.28fr);
}

.hero--product-app .hero__inner {
  --hero-app-min-height: clamp(680px, calc(100svh - 172px), 860px);
  --hero-screenshot-card-width: clamp(300px, min(calc((100cqh - 64px) * 0.45), calc(100cqw - 24px)), 420px);
  min-height: var(--hero-app-min-height);
  align-items: stretch;
}

.hero--product-app .hero-copy {
  align-self: 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 {
  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;
  gap: 12px;
  justify-items: stretch;
  overflow: hidden;
}

.hero--product-app .hero-visual--app-preview {
  align-self: stretch;
  min-height: 0;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr);
  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: start;
  height: 100%;
  min-height: 0;
}

.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 {
  container-type: size;
  height: 100%;
  align-self: stretch;
}

.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: 9 / 20;
}

.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;
}

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

.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));
}

.hero-copy {
  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);
  background:
    linear-gradient(145deg, rgba(184, 194, 204, 0.08), transparent 42%),
    var(--card);
  box-shadow: var(--shadow-card);
}

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

.product-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
}

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

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

.product-feature__visual--screenshots {
  display: grid;
  align-self: stretch;
  min-height: clamp(330px, 32vw, 470px);
}

.product-feature__screenshot-slot {
  width: 100%;
  height: 100%;
  min-height: clamp(330px, 32vw, 470px);
  aspect-ratio: 16 / 9;
  padding: clamp(18px, 2.2vw, 30px);
  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));
}

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

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

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

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

.card-grid--five .feature-card {
  min-height: 292px;
  justify-items: center;
  text-align: center;
}

.product-card {
  padding: 24px;
}

.product-card--wide {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  max-width: 590px;
}

.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;
}

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

.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%;
  min-width: 0;
  border: 1px solid rgba(184, 194, 204, 0.22);
  border-radius: 8px;
  object-fit: cover;
  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-screenshots--feature {
  gap: clamp(10px, 1.8vw, 20px);
}

.product-card-screenshots--feature img {
  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) {
  height: 70%;
  opacity: 0.9;
}

.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;
  gap: 12px;
}

.product-card__actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(170px, 0.85fr) repeat(2, minmax(120px, 1fr));
  gap: 16px;
}

.product-card__actions .button {
  width: 100%;
}

.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;
  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);
}

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

.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;
  background: rgba(184, 194, 204, 0.06);
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.qr-card:hover {
  transform: translateY(-1px);
  border-color: var(--rat-red);
  color: var(--bone-white);
  background: rgba(225, 15, 33, 0.08);
}

.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);
  grid-template-rows: auto auto;
  height: auto;
  max-width: 100%;
}

.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);
}

.screenshot-card figcaption {
  margin-top: 10px;
  color: var(--fog-gray);
  font-size: 0.92rem;
  font-weight: 750;
}

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

.feature-card {
  min-height: 248px;
}

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

.feature-card::after {
  height: 3px;
  margin: auto -28px -28px;
  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: 132px;
  height: 132px;
  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;
}

.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;
}

.build-grid .feature-card {
  grid-template-columns: 142px minmax(0, 1fr);
  align-items: center;
}

.build-grid .feature-card .generated-icon {
  grid-row: 1 / span 2;
}

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

.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 ul,
.plain-list {
  margin: 0;
  padding-left: 20px;
}

.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);
}

.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);
}

.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;
}

.site-footer {
  margin-top: 44px;
  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);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-block: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer__bottom nav {
  display: flex;
  gap: 26px;
}

.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: flex;
  min-height: clamp(540px, calc(100vh - 246px), 700px);
  align-items: flex-start;
  justify-content: center;
  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-items: center;
  gap: 16px;
}

.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));
}

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

.site-footer--not-found .site-footer__bottom {
  flex-wrap: wrap;
  justify-content: center;
  border-top: 0;
  text-align: center;
}

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

@media (max-width: 900px) {
  .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: auto;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    display: grid;
    grid-template-columns: 1fr;
    width: max-content;
    max-width: calc(100vw - 40px);
    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: 42px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.98rem;
    justify-content: flex-start;
    text-align: left;
  }

  .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: 44px;
    margin: 6px 0 0;
    justify-content: center;
  }

  .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__inner {
    min-height: auto;
    gap: 34px;
    padding-block: 42px;
  }

  .hero--product-app .hero__inner {
    --hero-app-min-height: auto;
    --hero-screenshot-width: minmax(250px, 64vw);
    min-height: auto;
    align-items: center;
  }

  .hero--product-app .hero-copy,
  .hero--product-app .hero-visual--app-preview {
    align-self: 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,
  .card-grid--three,
  .card-grid--four,
  .card-grid--five,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-card--wide {
    max-width: 100%;
  }

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

  .product-feature__screenshot-slot {
    width: 100%;
    min-height: clamp(300px, 52vw, 420px);
    justify-self: stretch;
  }

  .product-card__actions {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .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 {
    grid-auto-columns: minmax(230px, 76vw);
    height: auto;
  }

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

  .hero--product-app .screenshot-rail--hero .screenshot-card {
    display: block;
    height: auto;
  }

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

  .screenshot-rail--hero .screenshot-card img {
    height: auto;
    max-height: 460px;
    aspect-ratio: 9 / 20;
  }

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

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

  .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;
  }

  .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: 100%;
    min-height: 220px;
    padding: 14px;
    justify-self: stretch;
  }

  .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;
  }

  .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%);
  }

  .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: 30px;
  }

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

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

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (min-width: 420px) and (max-width: 560px) {
  .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);
  }

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

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