/*
 * READMADE home: the only live destinations are submit.html and project.html.
 * The remaining cards deliberately use the shared mock-action toast boundary.
 */

.rm-home {
  --rm-paper: #fffefa;
  --rm-warm: #fff8e9;
  --rm-ink: #16161c;
  --rm-ink-soft: #55545e;
  --rm-line: #dedde6;
  --rm-purple: #6439e8;
  --rm-purple-soft: #eeeaff;
  --rm-pink: #f42c8d;
  --rm-pink-soft: #ffe4f0;
  --rm-aqua: #08bdb9;
  --rm-aqua-soft: #dcf9f7;
  --rm-yellow: #ffc223;
  --rm-yellow-soft: #fff3bf;
  --rm-card-shadow: 0 12px 26px rgba(31, 26, 54, 0.08);
  --header-height: 70px;
  background: var(--rm-paper);
  color: var(--rm-ink);
}

[data-theme="dark"] .rm-home {
  --rm-paper: #18171e;
  --rm-warm: #24202a;
  --rm-ink: #f9f7ff;
  --rm-ink-soft: #c3bfce;
  --rm-line: #464150;
  --rm-purple-soft: #302a52;
  --rm-pink-soft: #4d263c;
  --rm-aqua-soft: #173c3d;
  --rm-yellow-soft: #4d411d;
  --rm-card-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.rm-home .shell {
  width: min(1320px, calc(100% - 52px));
}

.rm-home h1,
.rm-home h2,
.rm-home h3,
.rm-home p {
  font-family: var(--font-ui);
}

.rm-home button,
.rm-home input {
  font-family: var(--font-ui);
}

.rm-home button {
  border: 0;
}

.rm-home .site-header.rm-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--rm-line);
  background: color-mix(in srgb, var(--rm-paper) 91%, transparent);
  box-shadow: none;
}

.rm-home .site-header.rm-header.is-scrolled {
  border-color: var(--rm-line);
  box-shadow: 0 6px 18px rgba(32, 27, 47, 0.08);
}

.rm-home .header-inner.rm-header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  max-width: none;
}

.rm-home .rm-brand {
  z-index: 101;
  flex: 0 0 auto;
  width: 173px;
}

.rm-home .brand-logo.rm-brand-logo {
  width: 157px;
  max-width: none;
  max-height: 53px;
  object-fit: contain;
  object-position: left center;
}

.rm-home .site-nav.rm-nav {
  display: flex;
  position: static;
  gap: 0;
  align-items: center;
  justify-self: end;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rm-home .rm-nav-kicker {
  display: none;
}

.rm-home .site-nav.rm-nav a,
.rm-home .site-nav.rm-nav button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 7px 11px;
  border: 0;
  background: transparent;
  color: var(--rm-ink);
  font-size: clamp(calc(0.78rem + 0.167rem), calc(1.12vw + 0.167rem), calc(0.94rem + 0.167rem));
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.rm-home .site-nav.rm-nav > a + a,
.rm-home .site-nav.rm-nav > a + button,
.rm-home .site-nav.rm-nav > button + button:not(.theme-toggle) {
  border-left: 1px solid var(--rm-line);
}

.rm-home .site-nav.rm-nav a::after {
  display: none;
}

.rm-home .site-nav.rm-nav a:hover,
.rm-home .site-nav.rm-nav button:hover {
  color: var(--rm-purple);
}

.rm-home .site-nav.rm-nav .theme-toggle.rm-theme-icon-button {
  display: inline-grid;
  align-self: flex-start;
  width: 34px;
  height: 34px;
  margin-left: 8px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--rm-line);
  border-radius: 50%;
  background: var(--rm-paper);
  color: var(--rm-ink);
  font-size: calc(1rem + 0.167rem);
  line-height: 1;
}

.rm-home .site-nav.rm-nav .theme-toggle.rm-theme-icon-button:hover {
  border-color: var(--rm-purple);
  color: var(--rm-purple);
}

.rm-home .rm-nav .is-live span {
  padding: 3px 5px;
  border-radius: 999px;
  background: var(--rm-purple-soft);
  color: var(--rm-purple);
  font-size: calc(0.56rem + 0.167rem);
  letter-spacing: 0.05em;
}

.rm-home .rm-header-tools {
  display: flex;
  gap: 7px;
  align-items: center;
}

.rm-home .rm-tool,
.rm-home .nav-toggle.rm-menu-toggle {
  display: inline-grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--rm-line);
  border-radius: 50%;
  background: var(--rm-paper);
  color: var(--rm-ink);
  font-size: calc(1.15rem + 0.167rem);
  font-weight: 850;
  line-height: 1;
}

.rm-home .nav-toggle.rm-menu-toggle {
  display: none;
  border-color: var(--rm-ink);
  background: var(--rm-ink);
  color: var(--rm-paper);
  font-size: calc(1rem + 0.167rem);
}

.rm-home .rm-tool:hover,
.rm-home .nav-toggle.rm-menu-toggle:hover {
  transform: translateY(-1px);
}

.rm-home .rm-hero {
  position: relative;
  overflow: visible;
  min-height: 700px;
  background: var(--rm-warm);
}

.rm-home .rm-hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, var(--rm-warm) 0%, color-mix(in srgb, var(--rm-warm) 93%, transparent) 37%, transparent 62%),
    linear-gradient(0deg, var(--rm-warm) 0%, transparent 24%),
    url("../img/readmade-hero-creator-tablet.webp?v=20260822-hero-midshot1") right center / auto 100% no-repeat;
  pointer-events: none;
}

.rm-home .rm-hero::before,
.rm-home .rm-hero::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.rm-home .rm-hero::before {
  right: 26%;
  bottom: 80px;
  width: 150px;
  height: 24px;
  border-top: 7px solid var(--rm-pink);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.rm-home .rm-hero::after {
  right: 8%;
  top: 104px;
  width: 46px;
  height: 46px;
  background: radial-gradient(circle at 50% 50%, var(--rm-purple) 0 22%, transparent 24% 100%);
  opacity: 0.9;
}

.rm-home .rm-hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, clamp(520px, 51%, 620px)) minmax(222px, 1fr);
  column-gap: clamp(28px, 4vw, 72px);
  min-height: 614px;
  align-items: stretch;
  padding: clamp(48px, 6.4vw, 84px) 0 94px;
}

.rm-home .rm-hero-copy {
  width: auto;
  min-width: 0;
}

.rm-home .rm-hero-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  justify-self: start;
  width: min(100%, 222px);
  min-width: 0;
  padding-top: clamp(112px, 12vw, 158px);
}

.rm-home .rm-yellow-tag {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin: 0 0 14px;
  padding: 0 7px 10px 2px;
  border: 0;
  background: transparent;
  color: var(--rm-ink);
  font-size: clamp(calc(0.72rem + 0.167rem), calc(1.1vw + 0.167rem), calc(0.88rem + 0.167rem));
  font-weight: 900;
  isolation: isolate;
  letter-spacing: -0.04em;
  transform: rotate(-2deg);
}

.rm-home .rm-yellow-tag::before {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: 2px;
  left: -5px;
  height: 12px;
  border-radius: 55% 37% 52% 44% / 57% 48% 60% 41%;
  background: linear-gradient(90deg, var(--rm-pink) 0 48%, var(--rm-purple) 48% 71%, var(--rm-aqua) 71% 100%);
  clip-path: polygon(0 31%, 13% 7%, 29% 28%, 48% 0, 65% 35%, 82% 9%, 100% 38%, 96% 86%, 76% 67%, 59% 100%, 42% 68%, 21% 94%, 0 69%);
  content: "";
  transform: rotate(-1.6deg) skewX(-10deg);
}

.rm-home .rm-yellow-tag::after {
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: -4px;
  left: 12px;
  height: 7px;
  border-top: 3px solid var(--rm-ink);
  border-radius: 50%;
  content: "";
  transform: rotate(-1deg);
}

.rm-home .rm-hero h1 {
  max-width: 660px;
  margin: 0 0 19px;
  color: var(--rm-ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", var(--font-ui), sans-serif;
  font-size: clamp(2.9rem, 5.55vw, 5.95rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.rm-home .rm-hero h1 em,
.rm-home .rm-hero h1 span {
  font-style: normal;
}

.rm-home .rm-hero h1 em {
  color: var(--rm-pink);
}

.rm-home .rm-hero h1 span {
  color: var(--rm-aqua);
}

.rm-home .rm-hero-lead {
  max-width: 480px;
  margin: 0 0 25px;
  color: var(--rm-ink);
  font-size: clamp(calc(0.9rem + 0.167rem), calc(1.26vw + 0.167rem), calc(1.04rem + 0.167rem));
  font-weight: 650;
  line-height: 1.65;
}

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

.rm-home .rm-hero-note {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  max-width: 480px;
  margin: 11px 0 0;
  color: var(--rm-ink-soft);
  font-size: calc(0.66rem + 0.167rem);
  font-weight: 700;
  line-height: 1.4;
}

.rm-home .rm-hero-note i {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rm-aqua);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-aqua) 23%, transparent);
}

.rm-home .rm-hero-actions .button {
  min-height: 45px;
  gap: 9px;
  padding: 10px 15px;
  border: 2px solid var(--rm-ink);
  border-radius: 999px;
  color: var(--rm-ink);
  font-size: calc(0.83rem + 0.167rem);
  font-weight: 900;
}

.rm-home .rm-hero-primary {
  background: var(--rm-ink);
  color: var(--rm-paper) !important;
}

.rm-home .rm-hero-primary small,
.rm-home .rm-hero-ghost small {
  padding: 3px 5px;
  border-radius: 99px;
  background: var(--rm-yellow);
  color: #16161c;
  font-size: calc(0.55rem + 0.167rem);
  letter-spacing: 0.06em;
}

.rm-home .rm-hero-ghost {
  background: var(--rm-paper);
}

.rm-home .rm-speech {
  position: relative;
  z-index: 3;
  justify-self: start;
  width: 176px;
  padding: 17px 12px 15px;
  border: 2px solid var(--rm-ink);
  border-radius: 54% 46% 49% 51% / 52% 48% 58% 42%;
  background: var(--rm-paper);
  color: var(--rm-ink);
  font-size: calc(0.93rem + 0.167rem);
  font-weight: 800;
  line-height: 1.32;
  text-align: center;
  transform: rotate(-6deg);
}

.rm-home .rm-speech::after {
  position: absolute;
  right: 21px;
  bottom: -15px;
  width: 23px;
  height: 23px;
  border-right: 2px solid var(--rm-ink);
  border-bottom: 2px solid var(--rm-ink);
  background: var(--rm-paper);
  content: "";
  transform: skew(-20deg) rotate(31deg);
}

.rm-home .rm-speech strong {
  display: block;
  color: var(--rm-aqua);
  font-size: calc(1.05rem + 0.167rem);
}

.rm-home .rm-hero-stats {
  position: static;
  align-self: end;
  margin-top: auto;
  width: 100%;
  padding: 21px 18px 16px;
  border: 3px solid var(--rm-ink);
  border-radius: 11px;
  background: #111116;
  box-shadow: 10px 10px 0 var(--rm-pink);
  color: #fff;
  transform: none;
}

.rm-home .rm-hero-stats > p {
  margin: 0 0 13px;
  color: var(--rm-yellow);
  font-size: calc(0.74rem + 0.167rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.rm-home .rm-hero-stats ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rm-home .rm-hero-stats li {
  display: grid;
  grid-template-columns: 19px 1fr auto;
  gap: 5px;
  align-items: center;
  font-size: calc(0.64rem + 0.167rem);
  line-height: 1.15;
}

.rm-home .rm-hero-stats li span {
  color: var(--rm-aqua);
  font-size: calc(1.05rem + 0.167rem);
}

.rm-home .rm-hero-stats li b {
  font-weight: 750;
}

.rm-home .rm-hero-stats li strong {
  color: var(--rm-yellow);
  font-size: calc(0.65rem + 0.167rem);
}

.rm-home .rm-hero-service-wrap {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -66px;
  border: 1px solid var(--rm-line);
  border-radius: 15px;
  background: var(--rm-paper);
  box-shadow: var(--rm-card-shadow);
  overflow: hidden;
}

.rm-home .rm-hero-service {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 7px;
  width: 100%;
  min-height: 105px;
  align-items: center;
  padding: 13px 12px;
  border: 0;
  border-right: 1px solid var(--rm-line);
  border-radius: 0;
  background: transparent;
  color: var(--rm-ink);
  font-family: inherit;
  font-size: calc(0.72rem + 0.167rem);
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.rm-home .rm-hero-service:last-child {
  border-right: 0;
}

.rm-home .rm-hero-service:hover {
  background: color-mix(in srgb, var(--rm-purple-soft) 54%, transparent);
}

.rm-home .rm-service-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1.5px solid var(--rm-ink);
  border-radius: 9px 7px 10px 6px;
  color: var(--rm-ink);
  font-size: calc(1.05rem + 0.167rem);
  font-style: normal;
  font-weight: 900;
}

.rm-home .rm-service-icon.purple { background: var(--rm-purple); color: #fff; }
.rm-home .rm-service-icon.pink { background: var(--rm-pink); color: #fff; }
.rm-home .rm-service-icon.aqua { background: var(--rm-aqua); }
.rm-home .rm-service-icon.yellow { background: var(--rm-yellow); }

.rm-home .rm-hero-service span {
  display: grid;
  gap: 2px;
}

.rm-home .rm-hero-service b {
  font-size: calc(0.72rem + 0.167rem);
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.rm-home .rm-hero-service small {
  color: var(--rm-ink-soft);
  font-size: calc(0.61rem + 0.167rem);
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.rm-home .rm-hero-service.is-next {
  color: var(--rm-ink);
}

.rm-home .rm-hero-service.is-next small {
  color: color-mix(in srgb, var(--rm-ink-soft) 86%, var(--rm-purple));
}

.rm-home .rm-direct-pill > b,
.rm-home .rm-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 3px 6px 2px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 8pt;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.rm-home .rm-direct-pill > b {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
}

.rm-home .rm-direct-pill > b,
.rm-home .rm-status-badge.is-mock {
  border-color: color-mix(in srgb, var(--rm-pink) 45%, var(--rm-line));
  background: var(--rm-pink-soft);
  color: var(--rm-pink);
}

.rm-home .rm-direct-pill.is-live > b,
.rm-home .rm-status-badge.is-live {
  border-color: color-mix(in srgb, var(--rm-aqua) 55%, var(--rm-line));
  background: var(--rm-aqua-soft);
  color: color-mix(in srgb, var(--rm-aqua) 78%, var(--rm-ink));
}

.rm-home .rm-section {
  padding: clamp(38px, 4.2vw, 60px) 0 clamp(30px, 3.2vw, 42px);
  background: var(--rm-paper);
}

.rm-home .rm-section-heading {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.rm-home .rm-section-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  align-self: flex-start;
  align-items: center;
  padding-top: 3px;
}

.rm-home .rm-eyebrow {
  margin: 0 0 4px;
  color: var(--rm-purple);
  font-size: calc(0.67rem + 0.167rem);
  font-weight: 950;
  letter-spacing: 0.12em;
}

.rm-home .rm-section h2 {
  margin: 0;
  color: var(--rm-ink);
  font-size: clamp(calc(1.45rem + 0.167rem), calc(2.45vw + 0.167rem), calc(2.3rem + 0.167rem));
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.rm-home .rm-text-link {
  padding: 0 0 3px;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--rm-ink);
  font-size: calc(0.78rem + 0.167rem);
  font-weight: 850;
}

.rm-home .rm-text-link span {
  margin-left: 4px;
  color: var(--rm-purple);
  font-size: calc(1rem + 0.167rem);
}

.rm-home .rm-card-rail {
  display: grid;
  grid-auto-columns: minmax(213px, 1fr);
  grid-auto-flow: column;
  grid-template-rows: 1fr;
  gap: 14px;
  padding: 2px 1px 13px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.rm-home .rm-card-rail > article {
  scroll-snap-align: start;
}

.rm-home .rm-mag-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--rm-line);
  border-radius: 14px;
  background: var(--rm-paper);
  box-shadow: 0 5px 14px rgba(29, 24, 46, 0.035);
}

.rm-home .rm-mag-card:hover {
  border-color: var(--rm-purple);
  box-shadow: var(--rm-card-shadow);
  transform: translateY(-3px);
}

.rm-home .rm-mag-card > button {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  cursor: pointer;
}

.rm-home .rm-mag-art {
  position: relative;
  display: flex;
  height: 125px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px;
  overflow: hidden;
  color: #fff;
}

.rm-home .rm-card-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rm-home .rm-mag-art.has-image {
  isolation: isolate;
  background: #17131d;
}

.rm-home .rm-mag-art.has-image .rm-card-image {
  z-index: 1;
}

.rm-home .rm-mag-art.has-image::before {
  display: none;
}

.rm-home .rm-mag-art.has-image::after {
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 22, 0.35), transparent 46%, rgba(17, 17, 22, 0.12));
}

.rm-home .rm-mag-art.has-image span {
  z-index: 3;
}

.rm-home .rm-mag-art.has-image i {
  display: none;
}

.rm-home .rm-mag-art span {
  position: relative;
  z-index: 1;
  padding: 4px 6px;
  border-radius: 3px;
  background: rgba(19, 17, 25, 0.75);
  font-size: calc(0.58rem + 0.167rem);
  font-weight: 950;
  letter-spacing: 0.03em;
}

.rm-home .rm-mag-art i {
  position: absolute;
  right: 12px;
  bottom: -13px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Impact, sans-serif;
  font-size: calc(6rem + 0.167rem);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-10deg);
}

.rm-home .rm-mag-art::before,
.rm-home .rm-mag-art::after {
  position: absolute;
  content: "";
}

.rm-home .rm-mag-art-interview {
  background: linear-gradient(125deg, #f95f91, #fa9d57 44%, #25223c 45% 100%);
}

.rm-home .rm-mag-art-interview::before {
  right: 36px;
  bottom: -21px;
  width: 101px;
  height: 114px;
  border: 7px solid #25223c;
  border-radius: 54% 47% 43% 52%;
  background: linear-gradient(135deg, #f2ae77 0 38%, #272136 39% 100%);
}

.rm-home .rm-mag-art-creator {
  background: linear-gradient(135deg, #5922c9, #a651fc 54%, #f7a0d8);
}

.rm-home .rm-mag-art-creator::before {
  left: 32px;
  bottom: -44px;
  width: 122px;
  height: 105px;
  border: 6px solid #1b172a;
  border-radius: 55% 54% 43% 44%;
  background: #7f49e9;
  box-shadow: 55px -17px 0 -20px var(--rm-yellow);
}

.rm-home .rm-mag-art-cover {
  background: linear-gradient(120deg, #1a1731, #b436b9 45%, #f74f89);
}

.rm-home .rm-mag-art-cover::before {
  right: 25px;
  bottom: -32px;
  width: 144px;
  height: 100px;
  border-radius: 60% 30% 40% 60%;
  background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(20, 237, 220, 0.8) 14px 16px);
  transform: rotate(-9deg);
}

.rm-home .rm-mag-art-case {
  background: linear-gradient(135deg, #ded6c7, #f3efea);
  color: #272431;
}

.rm-home .rm-mag-art-case span {
  background: #0d9b99;
}

.rm-home .rm-mag-art-case::before {
  right: 18px;
  bottom: -16px;
  width: 145px;
  height: 78px;
  border: 6px solid #272431;
  border-radius: 7px;
  background: repeating-linear-gradient(90deg, #f7f7ef 0 12px, #d4e9ee 12px 14px);
  transform: rotate(7deg);
}

.rm-home .rm-mag-art-note {
  background: linear-gradient(125deg, #08bdb9 0 42%, #ffc223 43% 66%, #f42c8d 67%);
}

.rm-home .rm-mag-art-note::before {
  right: 37px;
  bottom: -9px;
  width: 88px;
  height: 113px;
  border: 4px solid #17151c;
  background: #fffefa;
  transform: rotate(-9deg);
}

.rm-home .rm-card-copy {
  padding: 12px 13px 11px;
}

.rm-home .rm-card-copy b {
  display: block;
  min-height: 41px;
  color: var(--rm-ink);
  font-size: calc(0.9rem + 0.167rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.4;
}

.rm-home .rm-card-copy p {
  min-height: 23px;
  margin: 3px 0 2px;
  color: var(--rm-ink-soft);
  font-size: calc(0.67rem + 0.167rem);
  line-height: 1.45;
}

.rm-home .rm-card-copy small {
  color: var(--rm-pink);
  font-size: calc(0.67rem + 0.167rem);
  font-weight: 800;
}

.rm-home .rm-rail-controls {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  margin-top: 6px;
}

.rm-home .rm-rail-controls button {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--rm-line);
  border-radius: 50%;
  background: var(--rm-paper);
  color: var(--rm-ink);
  font-weight: 900;
}

.rm-home .rm-rail-controls button:hover {
  border-color: var(--rm-purple);
  background: var(--rm-purple);
  color: #fff;
}

.rm-home .rm-direct-section {
  padding-top: clamp(32px, 3.6vw, 52px);
}

.rm-home .rm-live-note {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin: 0;
  color: var(--rm-ink-soft);
  font-size: calc(0.7rem + 0.167rem);
  font-weight: 750;
}

.rm-home .rm-live-note i,
.rm-home .rm-footer-bottom i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rm-aqua);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-aqua) 23%, transparent);
}

.rm-home .rm-direct-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rm-home .rm-direct-intro {
  max-width: 680px;
  margin: -4px 0 15px;
  color: var(--rm-ink-soft);
  font-size: calc(0.76rem + 0.167rem);
  font-weight: 650;
  line-height: 1.55;
}

.rm-home .rm-direct-pill {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  min-height: 112px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--rm-line);
  border-radius: 14px;
  background: var(--rm-paper);
  color: var(--rm-ink);
  text-align: left;
  text-decoration: none;
}

.rm-home .rm-direct-pill:hover {
  border-color: var(--rm-purple);
  background: var(--rm-purple-soft);
}

.rm-home .rm-direct-pill > i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--rm-ink);
  border-radius: 8px;
  background: var(--rm-yellow);
  color: var(--rm-ink);
  font-size: calc(0.98rem + 0.167rem);
  font-style: normal;
  font-weight: 900;
}

.rm-home .rm-direct-pill:nth-child(2) > i { background: var(--rm-aqua); }
.rm-home .rm-direct-pill:nth-child(3) > i { background: var(--rm-pink); color: #fff; }
.rm-home .rm-direct-pill:nth-child(4) > i { background: var(--rm-purple); color: #fff; }
.rm-home .rm-direct-pill:nth-child(5) > i { background: var(--rm-yellow); }
.rm-home .rm-direct-pill:nth-child(6) > i { background: var(--rm-pink); color: #fff; }

.rm-home .rm-direct-pill span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.rm-home .rm-direct-pill span:first-letter {
  color: inherit;
}

.rm-home .rm-direct-pill span {
  font-size: calc(0.76rem + 0.167rem);
  font-weight: 900;
  line-height: 1.2;
}

.rm-home .rm-direct-pill small {
  color: var(--rm-ink-soft);
  font-size: calc(0.59rem + 0.167rem);
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.rm-home .rm-direct-pill strong {
  font: inherit;
}

.rm-home .rm-direct-pill b {
  grid-column: auto;
}

.rm-home .rm-demo-note {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 11px 0 0;
  color: var(--rm-ink-soft);
  font-size: calc(0.64rem + 0.167rem);
  font-weight: 650;
  line-height: 1.45;
}

.rm-home .rm-market-section {
  padding-top: clamp(30px, 2.7vw, 38px);
  background: color-mix(in srgb, var(--rm-warm) 66%, var(--rm-paper));
}

.rm-home .rm-market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 20px;
}

.rm-home .rm-product-rail {
  display: grid;
  grid-auto-columns: minmax(130px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  /* Match the adjacent welcome card in the side-by-side market layout. */
  padding: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.rm-home .rm-product-card {
  position: relative;
  min-height: 208px;
  padding: 8px;
  border: 1px solid var(--rm-line);
  border-radius: 12px;
  background: var(--rm-paper);
  scroll-snap-align: start;
}

.rm-home .rm-product-card:hover {
  border-color: var(--rm-pink);
  transform: translateY(-2px);
}

.rm-home .rm-product-card > button {
  position: absolute;
  inset: 0;
  background: transparent;
}

.rm-home .rm-product-art {
  position: relative;
  display: flex;
  height: 132px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  text-align: center;
}

.rm-home .rm-product-art span {
  position: relative;
  z-index: 2;
  font-family: Impact, sans-serif;
  font-size: calc(1.35rem + 0.167rem);
  letter-spacing: -0.04em;
  line-height: 0.87;
}

.rm-home .rm-product-art i {
  position: absolute;
  right: 8px;
  bottom: 3px;
  color: rgba(255, 255, 255, 0.9);
  font-size: calc(2.3rem + 0.167rem);
  font-style: normal;
}

.rm-home .rm-product-art.poster { background: linear-gradient(135deg, #231842, #f22e8c 54%, #08bdb9); }
.rm-home .rm-product-art.sticker { background: linear-gradient(135deg, #ffc223, #f42c8d 51%, #673de8); }
.rm-home .rm-product-art.card { background: linear-gradient(125deg, #08bdb9, #2474cc 43%, #f42c8d); }
.rm-home .rm-product-art.icon { background: #f6f0d9; color: #1b1724; }
.rm-home .rm-product-art.icon span { font-size: calc(3rem + 0.167rem); color: var(--rm-pink); }
.rm-home .rm-product-art.zine { background: linear-gradient(135deg, #fffefa, #e5dfff); color: #17131d; }
.rm-home .rm-product-art.zine i { color: var(--rm-purple); }

.rm-home .rm-product-art.has-image {
  isolation: isolate;
  background: #17131d;
}

.rm-home .rm-product-art.has-image .rm-card-image {
  z-index: 1;
}

.rm-home .rm-product-art.has-image span,
.rm-home .rm-product-art.has-image i {
  display: none;
}

.rm-home .rm-product-card b,
.rm-home .rm-product-card p {
  position: relative;
  z-index: 1;
}

.rm-home .rm-product-card b {
  display: block;
  margin-top: 8px;
  color: var(--rm-ink);
  font-size: calc(0.7rem + 0.167rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.rm-home .rm-product-card p {
  margin: 1px 0 0;
  color: var(--rm-ink-soft);
  font-size: calc(0.67rem + 0.167rem);
}

.rm-home .rm-welcome-card {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  padding: 21px;
  border-radius: 15px;
  background: linear-gradient(135deg, #632ddc 0%, #8e44eb 55%, #f03a90);
  color: #fff;
}

.rm-home .rm-welcome-card::after {
  position: absolute;
  right: -42px;
  bottom: -50px;
  width: 176px;
  height: 176px;
  border: 24px solid var(--rm-yellow);
  border-radius: 24px;
  content: "";
  opacity: 0.85;
  transform: rotate(25deg);
}

.rm-home .rm-welcome-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 2px;
  font-size: calc(0.78rem + 0.167rem);
  font-weight: 750;
}

.rm-home .rm-welcome-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: calc(1.5rem + 0.167rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
}

.rm-home .rm-welcome-card h3 i {
  color: var(--rm-yellow);
  font-style: normal;
}

.rm-home .rm-welcome-card > span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  font-size: calc(0.72rem + 0.167rem);
  font-weight: 650;
  line-height: 1.45;
}

.rm-home .rm-welcome-card .rm-gift {
  position: absolute;
  z-index: 2;
  right: 29px;
  bottom: 48px;
  display: grid;
  width: 69px;
  height: 69px;
  place-items: center;
  border: 4px solid #17131d;
  border-radius: 10px 15px 12px 7px;
  background: var(--rm-yellow);
  box-shadow: 7px 7px 0 var(--rm-pink);
  color: #17131d;
  font-family: Impact, sans-serif;
  font-size: calc(2.2rem + 0.167rem);
  transform: rotate(-9deg);
}

.rm-home .rm-welcome-card button {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 21px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #111116;
  color: #fff;
  font-size: calc(0.66rem + 0.167rem);
  font-weight: 850;
}

.rm-home .rm-ticker {
  position: relative;
  z-index: 4;
  margin-top: 22px;
  background: #111116;
  color: #fff;
}

.rm-home .rm-ticker-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 46px;
}

.rm-home .rm-ticker b {
  flex: 0 0 auto;
  padding: 5px 9px 4px;
  border-radius: 4px;
  background: var(--rm-yellow);
  color: #16161c;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rm-home .rm-ticker-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.rm-home .rm-ticker-run {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: rm-ticker 32s linear infinite;
}

.rm-home .rm-ticker-run span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #f3f0f8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.rm-home .rm-ticker-run span::before {
  color: var(--rm-aqua);
  content: "✦";
}

@keyframes rm-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.rm-home .rm-genre-section {
  padding-top: clamp(28px, 3.2vw, 44px);
}

.rm-home .rm-genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.rm-home .rm-genre-card {
  position: relative;
  display: grid;
  grid-template-rows: 148px auto auto;
  align-items: start;
  overflow: hidden;
  padding: 0 0 14px;
  border: 1.5px solid var(--rm-line);
  border-radius: 14px;
  background: var(--rm-paper);
  color: var(--rm-ink);
  text-align: left;
}

.rm-home .rm-genre-card:hover,
.rm-home .rm-genre-card.is-active {
  border-color: var(--genre, var(--rm-purple));
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(31, 26, 54, 0.12);
}

.rm-home .rm-genre-card span {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 11px 14px 0;
  color: var(--rm-ink);
  font-size: calc(1.18rem + 0.167rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.rm-home .rm-genre-card p {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 5px 14px 0;
  color: var(--rm-ink-soft);
  font-size: calc(0.73rem + 0.167rem);
  font-weight: 650;
  line-height: 1.4;
}

.rm-home .rm-genre-card i {
  display: none;
}

.rm-home .rm-genre-card.has-image {
  isolation: isolate;
}

.rm-home .rm-genre-image {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.rm-home .rm-genre-card.has-image:hover .rm-genre-image {
  transform: scale(1.04);
}

.rm-home .rm-genre-card.has-image::before {
  display: none;
}

.rm-home .rm-genre-card.novel { --genre: #5b3cc4; }
.rm-home .rm-genre-card.webtoon { --genre: #f42c8d; }
.rm-home .rm-genre-card.essay { --genre: #c46a8a; }
.rm-home .rm-genre-card.magazine { --genre: #ff2d8a; }

[data-theme="dark"] .rm-home .rm-genre-card span {
  color: #f4f1ff;
}

[data-theme="dark"] .rm-home .rm-genre-card p {
  color: #c3bfce;
}

[data-theme="dark"] .rm-home .rm-genre-card:hover,
[data-theme="dark"] .rm-home .rm-genre-card.is-active {
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

.rm-home .rm-book-shelf {
  margin-top: 28px;
}

.rm-home .rm-book-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rm-home .rm-book-toolbar h3 {
  margin: 0;
  color: var(--rm-ink);
  font-size: calc(1.15rem + 0.167rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.rm-home .rm-book-toolbar p {
  margin: 3px 0 0;
  color: var(--rm-ink-soft);
  font-size: calc(0.72rem + 0.167rem);
  font-weight: 650;
}

.rm-home .rm-book-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rm-home .rm-book-filters button {
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid var(--rm-line);
  border-radius: 999px;
  background: var(--rm-paper);
  color: var(--rm-ink);
  font-size: calc(0.72rem + 0.167rem);
  font-weight: 750;
}

.rm-home .rm-book-filters button.is-active {
  border-color: var(--rm-ink);
  background: var(--rm-ink);
  color: var(--rm-paper);
}

.rm-home .rm-book-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px 8px;
}

.rm-home .rm-book-card {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 6px;
  padding: 0 0 8px;
  border: 0;
  background: transparent;
  color: var(--rm-ink);
  text-align: left;
}

.rm-home .rm-book-card[hidden] {
  display: none;
}

.rm-home .rm-book-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  background: #17131d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rm-home .rm-book-cover img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 0;
  background: #17131d;
}

.rm-home .rm-book-badges {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 6px;
  display: grid;
  gap: 4px;
  justify-items: start;
  pointer-events: none;
}

.rm-home .rm-book-badge {
  display: inline-flex;
  min-height: 17px;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.rm-home .rm-book-card[data-book-genre="novel"] .rm-book-badge.is-genre { background: #5b3cc4; }
.rm-home .rm-book-card[data-book-genre="webtoon"] .rm-book-badge.is-genre { background: #f42c8d; }
.rm-home .rm-book-card[data-book-genre="essay"] .rm-book-badge.is-genre { background: #c46a8a; }
.rm-home .rm-book-card[data-book-genre="magazine"] .rm-book-badge.is-genre { background: #ee3d8d; }

.rm-home .rm-book-badge.is-sale {
  background: #ff3b6b;
}

.rm-home .rm-book-badge.is-event {
  background: var(--rm-aqua);
  color: #111116;
}

.rm-home .rm-book-card p s {
  margin-right: 4px;
  color: var(--rm-ink-soft);
  font-weight: 650;
  text-decoration: line-through;
}

.rm-home .rm-book-card p.is-sale {
  color: #e11d48;
}

.rm-home .rm-book-cover-type {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 8px 9px;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 17, 22, 0.94) 62%);
  color: #fff;
}

.rm-home .rm-book-cover-type strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(0.62rem, 0.72vw, 0.78rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.rm-home .rm-book-cover-type span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.56rem, 0.62vw, 0.66rem);
  font-weight: 650;
}

.rm-home .rm-book-card:hover .rm-book-cover {
  transform: translateY(-3px);
  box-shadow: 0 10px 16px rgba(31, 26, 54, 0.12);
}

.rm-home .rm-book-card em {
  display: inline-block;
  color: var(--rm-ink-soft);
  font-size: calc(0.62rem + 0.167rem);
  font-style: normal;
  font-weight: 750;
}

.rm-home .rm-book-card b {
  display: block;
  overflow-wrap: anywhere;
  color: var(--rm-ink);
  font-size: calc(0.78rem + 0.167rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.rm-home .rm-book-card small {
  color: var(--rm-ink-soft);
  font-size: calc(0.68rem + 0.167rem);
  font-weight: 650;
}

.rm-home .rm-book-card p {
  margin: 0;
  color: var(--rm-ink);
  font-size: calc(0.72rem + 0.167rem);
  font-weight: 800;
}

.rm-home .rm-book-card > button,
.rm-home .rm-book-card > a.rm-book-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: transparent;
}

.rm-home .rm-channel-section {
  padding-top: 14px;
}

.rm-home .rm-channel-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.rm-home .rm-channel-list button {
  display: flex;
  min-height: 56px;
  gap: 7px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rm-line);
  border-radius: 13px;
  background: var(--rm-paper);
  color: var(--rm-ink);
  font-size: clamp(calc(0.66rem + 0.167rem), calc(1.1vw + 0.167rem), calc(0.83rem + 0.167rem));
  font-weight: 900;
  white-space: nowrap;
}

.rm-home .rm-channel-list button:hover {
  border-color: var(--rm-purple);
  color: var(--rm-purple);
}

.rm-home .rm-channel-list i {
  color: var(--rm-purple);
  font-size: calc(1.25rem + 0.167rem);
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.rm-home .rm-channel-list .aladin { color: #ec5450; }
.rm-home .rm-channel-list .yes { color: #1f1f26; font-size: calc(1.45rem + 0.167rem); font-style: italic; }
.rm-home .rm-channel-list .ridi { color: #2385dc; }
.rm-home .rm-channel-list .kyobo { color: #67a72a; }
.rm-home .rm-channel-list .millie { color: #7f4fea; }
.rm-home .rm-channel-list .wela { color: #56ad3e; }

[data-theme="dark"] .rm-home .rm-channel-list .yes {
  color: #f4f2fb;
}

.rm-home .rm-lounge-section {
  padding-top: 26px;
}

.rm-home .rm-lounge-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr 1.02fr;
  gap: 14px;
}

.rm-home .rm-live-card,
.rm-home .rm-community-card,
.rm-home .rm-guide-card {
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--rm-line);
  border-radius: 15px;
  background: var(--rm-paper);
}

.rm-home .rm-live-card {
  position: relative;
  padding: 20px;
  border-color: var(--rm-pink);
  background: linear-gradient(135deg, color-mix(in srgb, var(--rm-pink) 10%, var(--rm-paper)), var(--rm-paper));
}

.rm-home .rm-live-card::after {
  position: absolute;
  right: -11px;
  bottom: -26px;
  width: 111px;
  height: 150px;
  border: 7px solid var(--rm-ink);
  border-radius: 46px 46px 10px 10px;
  background: linear-gradient(130deg, #2b2135 0 35%, #f5b372 36% 100%);
  content: "";
  transform: rotate(8deg);
}

.rm-home .rm-live-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--rm-pink);
  font-size: calc(0.72rem + 0.167rem);
  font-weight: 950;
}

.rm-home .rm-live-card p span { color: var(--rm-ink); }

.rm-home .rm-live-card h3,
.rm-home .rm-guide-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 3px;
  color: var(--rm-ink);
  font-size: calc(1.1rem + 0.167rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.rm-home .rm-live-card small {
  position: relative;
  z-index: 1;
  color: var(--rm-ink-soft);
  font-size: calc(0.67rem + 0.167rem);
  font-weight: 700;
}

.rm-home .rm-live-card > i {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--rm-pink);
  color: #fff;
  font-size: calc(0.56rem + 0.167rem);
  font-style: normal;
  font-weight: 950;
}

.rm-home .rm-live-card button,
.rm-home .rm-guide-card button {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--rm-ink);
  color: var(--rm-paper);
  font-size: calc(0.65rem + 0.167rem);
  font-weight: 850;
}

.rm-home .rm-community-card {
  padding: 20px;
}

.rm-home .rm-community-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rm-home .rm-community-card h3 {
  margin: 0;
  color: var(--rm-ink);
  font-size: calc(1rem + 0.167rem);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.rm-home .rm-community-card > div > button {
  padding: 0;
  background: transparent;
  color: var(--rm-ink-soft);
  font-size: calc(0.64rem + 0.167rem);
  font-weight: 750;
}

.rm-home .rm-community-card ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.rm-home .rm-community-card li button {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0;
  background: transparent;
  color: var(--rm-ink);
  font-size: calc(0.71rem + 0.167rem);
  font-weight: 720;
  text-align: left;
}

.rm-home .rm-community-card li b {
  color: var(--rm-ink-soft);
  font-size: calc(0.65rem + 0.167rem);
}

.rm-home .rm-guide-card {
  position: relative;
  padding: 20px;
  border-color: var(--rm-purple);
  background: linear-gradient(135deg, color-mix(in srgb, var(--rm-purple) 9%, var(--rm-paper)), var(--rm-paper));
}

.rm-home .rm-guide-card > p {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--rm-purple);
  font-size: calc(0.72rem + 0.167rem);
  font-weight: 950;
}

.rm-home .rm-guide-card > i {
  position: absolute;
  z-index: 0;
  right: 21px;
  bottom: 16px;
  color: var(--rm-purple);
  font-size: calc(5.5rem + 0.167rem);
  font-style: normal;
  line-height: 1;
  opacity: 0.65;
  transform: rotate(-15deg);
}

.rm-home .rm-workflow-section {
  padding: 12px 0 38px;
  background: var(--rm-paper);
}

.rm-home .rm-workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rm-line);
  border-radius: 13px;
  background: var(--rm-warm);
  list-style: none;
}

.rm-home .rm-workflow li {
  position: relative;
  display: flex;
  min-height: 82px;
  gap: 11px;
  align-items: center;
  padding: 15px 18px;
  border-right: 1px solid var(--rm-line);
}

.rm-home .rm-workflow li:last-child {
  border-right: 0;
}

.rm-home .rm-workflow li > i {
  color: var(--rm-purple);
  font-size: calc(1.65rem + 0.167rem);
  font-style: normal;
}

.rm-home .rm-workflow li span {
  display: grid;
  gap: 2px;
}

.rm-home .rm-workflow li b {
  color: var(--rm-ink);
  font-size: calc(0.73rem + 0.167rem);
  font-weight: 900;
}

.rm-home .rm-workflow li small {
  color: var(--rm-ink-soft);
  font-size: calc(0.64rem + 0.167rem);
  font-weight: 650;
}

.rm-home .rm-workflow li em {
  margin-left: 4px;
  color: var(--rm-purple);
  font-size: calc(0.56rem + 0.167rem);
  font-style: normal;
  font-weight: 950;
}

.rm-home .rm-workflow li a,
.rm-home .rm-workflow li button {
  position: absolute;
  inset: 0;
  background: transparent;
}

.rm-home .rm-workflow li:has(a):hover,
.rm-home .rm-workflow li:has(button):hover {
  background: var(--rm-purple-soft);
}

.rm-home .site-footer.rm-footer {
  padding: 0;
  border: 0;
  background: #111116;
  color: #fff;
}

.rm-home .rm-footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: clamp(28px, 5vw, 88px);
  padding: 62px 0 46px;
}

.rm-home .rm-footer-brand {
  display: grid;
  align-content: start;
}

.rm-home .rm-footer-logo {
  width: 182px;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.28));
}

.rm-home .rm-footer-brand > span {
  margin-top: 15px;
  max-width: 266px;
  color: #bbb7c5;
  font-size: calc(0.72rem + 0.167rem);
  font-weight: 600;
  line-height: 1.55;
}

.rm-home .rm-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px;
}

.rm-home .rm-footer-links > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.rm-home .rm-footer-links b,
.rm-home .rm-footer-news > b {
  margin-bottom: 4px;
  color: var(--rm-yellow);
  font-size: calc(0.68rem + 0.167rem);
  font-weight: 950;
  letter-spacing: 0.1em;
}

.rm-home .rm-footer-links a,
.rm-home .rm-footer-links button {
  width: max-content;
  max-width: 100%;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: calc(0.74rem + 0.167rem);
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.rm-home .rm-footer-links a:hover,
.rm-home .rm-footer-links button:hover {
  color: var(--rm-aqua);
}

.rm-home .rm-footer-links em {
  margin-left: 3px;
  color: var(--rm-aqua);
  font-size: calc(0.55rem + 0.167rem);
  font-style: normal;
  font-weight: 950;
}

.rm-home .rm-footer-news {
  display: grid;
  align-content: start;
}

.rm-home .rm-footer-news > b {
  color: #fff;
  font-size: calc(0.91rem + 0.167rem);
  letter-spacing: -0.04em;
}

.rm-home .rm-footer-news > p {
  margin: 4px 0 13px;
  color: #bbb7c5;
  font-size: calc(0.68rem + 0.167rem);
}

.rm-home .rm-footer-news form {
  display: flex;
  max-width: 360px;
  overflow: hidden;
  border: 1px solid #5b5667;
  border-radius: 999px;
}

.rm-home .rm-footer-news input {
  width: min(100%, 232px);
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: calc(0.7rem + 0.167rem);
}

.rm-home .rm-footer-news input::placeholder {
  color: #8f899c;
}

@media (max-width: 1320px) {
  .rm-home .rm-nav .is-live span {
    display: none;
  }
}

.rm-home .rm-footer-news button {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--rm-yellow);
  color: #111116;
  font-size: calc(0.68rem + 0.167rem);
  font-weight: 900;
}

.rm-home .rm-footer-bottom {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 17px 0 21px;
  border-top: 1px solid #3f3b47;
}

.rm-home .rm-footer-bottom p {
  margin: 0;
  color: #938d9f;
  font-size: calc(0.64rem + 0.167rem);
}

.rm-home .rm-footer-bottom p:last-child {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #d7d3df;
  text-align: right;
}

.rm-home .toast-region {
  z-index: 1001;
}

.rm-home .toast {
  border-color: var(--rm-ink);
  border-left-color: var(--rm-pink);
  background: var(--rm-paper);
  color: var(--rm-ink);
  font-weight: 700;
}

[data-theme="dark"] .rm-home .rm-hero-art {
  filter: brightness(0.88) saturate(0.92);
}

[data-theme="dark"] .rm-home .rm-hero {
  background: var(--rm-warm);
}

/*
 * 701px and above deliberately stays a desktop header. This keeps a portrait
 * desktop monitor on the horizontal navigation rather than opening a mobile
 * hamburger just because its viewport is tall or moderately narrow.
 */
@media (min-width: 701px) and (max-width: 1040px) {
  .rm-home .header-inner.rm-header-inner {
    gap: 12px;
  }

  .rm-home .rm-brand {
    width: 160px;
  }

  .rm-home .brand-logo.rm-brand-logo {
    width: 144px;
    max-height: 48px;
  }

  .rm-home .site-nav.rm-nav {
    gap: 0;
  }

  .rm-home .site-nav.rm-nav a,
  .rm-home .site-nav.rm-nav button {
    font-size: calc(1.01rem + 0.167rem);
  }

  .rm-home .rm-nav .is-live span {
    display: none;
  }

  .rm-home .rm-header-tools {
    gap: 5px;
  }

  .rm-home .rm-tool {
    width: 30px;
    height: 30px;
    font-size: calc(1rem + 0.167rem);
  }

  .rm-home .nav-toggle.rm-menu-toggle {
    display: none;
  }

  .rm-home .rm-hero {
    min-height: 640px;
  }

  .rm-home .rm-hero-shell {
    grid-template-columns: minmax(0, 52%) minmax(184px, 1fr);
    column-gap: 24px;
    min-height: 576px;
  }

  .rm-home .rm-hero-copy {
    width: auto;
  }

  .rm-home .rm-hero h1 {
    font-size: clamp(3rem, 6.85vw, 4.85rem);
    line-height: 0.96;
  }

  .rm-home .rm-hero-rail {
    width: 184px;
    padding-top: 0;
  }

  .rm-home .rm-speech {
    display: none;
  }

  .rm-home .rm-hero-stats {
    padding: 16px 13px 12px;
    box-shadow: 7px 7px 0 var(--rm-pink);
  }

  .rm-home .rm-hero-stats li {
    grid-template-columns: 17px 1fr auto;
    font-size: calc(0.59rem + 0.167rem);
  }

  .rm-home .rm-hero-stats li strong {
    display: block;
  }

  .rm-home .rm-hero-service-wrap {
    grid-template-columns: repeat(4, 1fr);
    margin-top: -48px;
  }

  .rm-home .rm-direct-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rm-home .rm-market-layout {
    grid-template-columns: minmax(0, 1fr) 238px;
  }

  .rm-home .rm-genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-home .rm-genre-card,
  .rm-home .rm-genre-card.has-image {
    min-height: 0;
    grid-template-rows: 128px auto auto;
  }

  .rm-home .rm-genre-image {
    height: 128px;
  }

  .rm-home .rm-book-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rm-home .rm-channel-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* The creator portrait needs its full face and hands visible on compact desktops. */
@media (max-width: 1339px) {
  .rm-home .rm-hero-rail {
    display: none;
  }
}

/* Keep the canonical menu readable before its horizontal labels begin to wrap. */
@media (min-width: 701px) and (max-width: 900px) {
  .rm-home .header-inner.rm-header-inner {
    grid-template-columns: 1fr auto;
    gap: 9px;
  }

  .rm-home .site-nav.rm-nav {
    position: fixed;
    z-index: 99;
    top: calc(var(--header-height) + 8px);
    right: 15px;
    left: auto;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    justify-self: auto;
    width: min(296px, calc(100% - 30px));
    padding: 15px 18px 14px;
    border: 1px solid var(--rm-line);
    border-radius: 15px;
    background: var(--rm-paper);
    box-shadow: 0 18px 42px rgba(32, 27, 47, 0.2);
  }

  .rm-home .site-nav.rm-nav.is-open {
    display: flex;
  }

  .rm-home .rm-nav-kicker {
    display: block;
    margin: 0 0 5px;
    color: var(--rm-purple);
    font-size: calc(0.61rem + 0.167rem);
    font-weight: 950;
    letter-spacing: 0.11em;
  }

  .rm-home .site-nav.rm-nav a,
  .rm-home .site-nav.rm-nav button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 12px 2px;
    border-bottom: 1px solid var(--rm-line);
    font-size: calc(0.86rem + 0.5rem);
  }

  .rm-home .site-nav.rm-nav > a + a,
  .rm-home .site-nav.rm-nav > a + button,
  .rm-home .site-nav.rm-nav > button + button:not(.theme-toggle) {
    border-left: 0;
  }

  .rm-home .site-nav.rm-nav .theme-toggle {
    justify-content: flex-start;
    gap: 7px;
    border-bottom: 0;
    color: var(--rm-ink-soft);
    font-size: calc(0.75rem + 0.167rem);
  }

  .rm-home .rm-nav .is-live span {
    display: inline-block;
  }

  .rm-home .rm-header-tools {
    gap: 5px;
  }

  .rm-home .rm-tool {
    display: none;
  }

  .rm-home .nav-toggle.rm-menu-toggle {
    display: inline-grid;
  }
}

@media (max-width: 700px) {
  .rm-home {
    --header-height: 61px;
  }

  .rm-home .shell {
    width: min(100% - 30px, 1320px);
  }

  .rm-home .site-header.rm-header {
    height: var(--header-height);
  }

  .rm-home .header-inner.rm-header-inner {
    grid-template-columns: 1fr auto;
    gap: 9px;
  }

  .rm-home .rm-brand {
    width: 147px;
  }

  .rm-home .brand-logo.rm-brand-logo {
    width: 133px;
    max-height: 45px;
  }

  .rm-home .site-nav.rm-nav {
    position: fixed;
    z-index: 99;
    top: calc(var(--header-height) + 8px);
    right: 15px;
    left: auto;
    display: none;
    width: min(296px, calc(100% - 30px));
    gap: 0;
    align-items: stretch;
    justify-self: auto;
    padding: 15px 18px 14px;
    border: 1px solid var(--rm-line);
    border-radius: 15px;
    background: var(--rm-paper);
    box-shadow: 0 18px 42px rgba(32, 27, 47, 0.2);
  }

  .rm-home .site-nav.rm-nav.is-open {
    display: flex;
  }

  .rm-home .rm-nav-kicker {
    display: block;
    margin: 0 0 5px;
    color: var(--rm-purple);
    font-size: calc(0.61rem + 0.167rem);
    font-weight: 950;
    letter-spacing: 0.11em;
  }

  .rm-home .site-nav.rm-nav a,
  .rm-home .site-nav.rm-nav button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 12px 2px;
    border-bottom: 1px solid var(--rm-line);
    font-size: calc(0.86rem + 0.5rem);
  }

  .rm-home .site-nav.rm-nav > a + a,
  .rm-home .site-nav.rm-nav > a + button,
  .rm-home .site-nav.rm-nav > button + button:not(.theme-toggle) {
    border-left: 0;
  }

  .rm-home .site-nav.rm-nav .theme-toggle {
    justify-content: flex-start;
    gap: 7px;
    border-bottom: 0;
    color: var(--rm-ink-soft);
    font-size: calc(0.75rem + 0.167rem);
  }

  .rm-home .rm-nav .is-live span {
    display: inline-block;
  }

  .rm-home .rm-header-tools {
    gap: 5px;
  }

  .rm-home .rm-tool {
    display: none;
  }

  .rm-home .nav-toggle.rm-menu-toggle {
    display: inline-grid;
    width: 34px;
    height: 34px;
  }

  .rm-home .rm-hero {
    min-height: 0;
    overflow: hidden;
  }

  .rm-home .rm-hero-art {
    z-index: 1;
    background:
      url("../img/readmade-hero-creator-tablet.webp?v=20260822-hero-midshot1") right -10px top 6px / auto 272px no-repeat;
  }

  .rm-home .rm-hero::before,
  .rm-home .rm-hero::after {
    display: none;
  }

  .rm-home .rm-hero-shell {
    z-index: 2;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 18px 0 28px;
  }

  .rm-home .rm-hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(46vw, 178px);
    column-gap: 6px;
    width: 100%;
  }

  .rm-home .rm-hero-copy::after {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-height: 236px;
    content: "";
  }

  .rm-home .rm-yellow-tag {
    grid-column: 1;
    margin-bottom: 11px;
    padding: 0 5px 8px 1px;
    font-size: calc(0.65rem + 0.167rem);
  }

  .rm-home .rm-hero h1 {
    grid-column: 1;
    max-width: none;
    font-size: clamp(2.05rem, 9.6vw, 2.85rem);
    line-height: 0.98;
  }

  .rm-home .rm-hero-lead {
    grid-column: 1;
    max-width: none;
    margin-top: 12px;
    font-size: calc(0.78rem + 0.167rem);
  }

  .rm-home .rm-hero-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 7px;
    margin-top: 16px;
  }

  .rm-home .rm-hero-actions .button {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    font-size: calc(0.67rem + 0.167rem);
    justify-content: space-between;
  }

  .rm-home .rm-hero-note {
    display: none;
  }

  .rm-home .rm-hero-rail {
    position: absolute;
    top: 10px;
    right: 4px;
    display: flex;
    width: auto;
    min-width: 0;
    padding: 0;
    z-index: 3;
  }

  .rm-home .rm-speech {
    display: block;
    width: 112px;
    padding: 10px 8px 9px;
    font-size: calc(0.7rem + 0.167rem);
  }

  .rm-home .rm-speech strong {
    font-size: calc(0.78rem + 0.167rem);
  }

  .rm-home .rm-hero-stats {
    display: none;
  }

  [data-theme="dark"] .rm-home .rm-hero-art {
    filter: none;
  }

  .rm-home .rm-hero-service-wrap {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
    border-radius: 12px;
  }

  .rm-home .rm-hero-service {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 76px;
    padding: 9px;
  }

  .rm-home .rm-hero-service:nth-child(2n) {
    border-right: 0;
  }

  .rm-home .rm-hero-service:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rm-line);
  }

  .rm-home .rm-hero-service b {
    font-size: calc(0.66rem + 0.167rem);
  }

  .rm-home .rm-hero-service small {
    display: none;
  }

  .rm-home .rm-section {
    padding: 34px 0 26px;
  }

  .rm-home .rm-section-heading {
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 18px;
  }

  .rm-home .rm-direct-section .rm-section-heading {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 7px;
  }

  .rm-home .rm-eyebrow {
    font-size: calc(0.57rem + 0.167rem);
  }

  .rm-home .rm-section h2 {
    font-size: calc(1.38rem + 0.167rem);
  }

  .rm-home .rm-text-link {
    font-size: calc(0.68rem + 0.167rem);
    white-space: nowrap;
  }

  .rm-home .rm-card-rail {
    grid-auto-columns: minmax(220px, 77vw);
    gap: 11px;
    margin-right: -15px;
    padding-right: 15px;
  }

  .rm-home .rm-mag-card {
    min-height: 256px;
  }

  .rm-home .rm-rail-controls {
    display: none;
  }

  .rm-home .rm-direct-section {
    padding-top: 30px;
  }

  .rm-home .rm-live-note {
    max-width: 120px;
    justify-content: flex-end;
    font-size: calc(0.57rem + 0.167rem);
    line-height: 1.25;
    text-align: right;
  }

  .rm-home .rm-direct-section .rm-live-note {
    max-width: none;
    justify-content: flex-start;
    text-align: left;
  }

  .rm-home .rm-direct-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .rm-home .rm-direct-pill {
    min-height: 100px;
  }

  .rm-home .rm-direct-intro {
    margin-top: -4px;
    font-size: calc(0.66rem + 0.167rem);
  }

  .rm-home .rm-demo-note {
    margin-top: 9px;
    font-size: calc(0.57rem + 0.167rem);
  }

  .rm-home .rm-market-section {
    padding-top: 30px;
  }

  .rm-home .rm-market-layout {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .rm-home .rm-product-rail {
    grid-auto-columns: minmax(128px, 42vw);
    margin-right: -15px;
    padding: 1px 15px 12px 1px;
  }

  .rm-home .rm-welcome-card {
    min-height: 179px;
  }

  .rm-home .rm-welcome-card .rm-gift {
    right: 40px;
    bottom: 37px;
    width: 60px;
    height: 60px;
    font-size: calc(1.9rem + 0.167rem);
  }

  .rm-home .rm-genre-section {
    padding-top: 12px;
  }

  .rm-home .rm-genre-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .rm-home .rm-genre-card,
  .rm-home .rm-genre-card.has-image {
    min-height: 0;
    grid-template-rows: 118px auto auto;
    padding: 0 0 12px;
    justify-content: start;
  }

  .rm-home .rm-genre-image {
    height: 118px;
  }

  .rm-home .rm-genre-card.has-image::before {
    display: none;
  }

  .rm-home .rm-genre-card span {
    max-width: none;
    margin: 9px 11px 0;
    color: var(--rm-ink);
    font-size: 1.08rem;
    text-shadow: none;
  }

  .rm-home .rm-genre-card p {
    display: block;
    margin: 4px 11px 0;
  }

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

  .rm-home .rm-book-toolbar {
    align-items: start;
  }

  .rm-home .rm-channel-section {
    padding-top: 12px;
  }

  .rm-home .rm-channel-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
  }

  .rm-home .rm-channel-list button {
    min-height: 48px;
    font-size: calc(0.67rem + 0.167rem);
  }

  .rm-home .rm-lounge-section {
    padding-top: 24px;
  }

  .rm-home .rm-lounge-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rm-home .rm-live-card,
  .rm-home .rm-community-card,
  .rm-home .rm-guide-card {
    min-height: 180px;
  }

  .rm-home .rm-workflow-section {
    padding: 4px 0 30px;
  }

  .rm-home .rm-workflow {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-home .rm-workflow li {
    min-height: 70px;
    padding: 11px;
    border-bottom: 1px solid var(--rm-line);
  }

  .rm-home .rm-workflow li:nth-child(2n) {
    border-right: 0;
  }

  .rm-home .rm-workflow li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .rm-home .rm-workflow li > i {
    font-size: calc(1.25rem + 0.167rem);
  }

  .rm-home .rm-workflow li b {
    font-size: calc(0.63rem + 0.167rem);
  }

  .rm-home .rm-workflow li small {
    font-size: calc(0.55rem + 0.167rem);
  }

  .rm-home .rm-footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 47px 0 35px;
  }

  .rm-home .rm-footer-logo {
    width: 160px;
  }

  .rm-home .rm-footer-links {
    max-width: 360px;
  }

  .rm-home .rm-footer-bottom {
    display: grid;
    gap: 7px;
    padding: 15px 0 18px;
  }

  .rm-home .rm-footer-bottom p:last-child {
    justify-content: flex-start;
    text-align: left;
  }

  .rm-home .rm-footer-bottom span {
    display: none;
  }
}

@media (max-width: 390px) {
  .rm-home .rm-hero h1 {
    font-size: clamp(1.85rem, 9.2vw, 2.45rem);
  }

  .rm-home .rm-hero-art {
    background-size: auto 248px;
  }

  .rm-home .rm-hero-copy::after {
    min-height: 214px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-home .rm-card-rail,
  .rm-home .rm-product-rail,
  .rm-home .rm-direct-pills,
  .rm-home .rm-channel-list {
    scroll-behavior: auto;
  }

  .rm-home .rm-genre-image,
  .rm-home .rm-genre-card.has-image:hover .rm-genre-image,
  .rm-home .rm-book-card:hover .rm-book-cover {
    transform: none;
    transition: none;
  }

  .rm-home .rm-ticker-run {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    gap: 12px 18px;
  }
}

/*
 * Header navigation has an explicit scale so it remains readable without
 * changing the hero slogan hierarchy.
 */
.rm-home .rm-nav .is-live span {
  font-size: 8pt;
}

.rm-home .rm-tool {
  font-size: 1.15rem;
}

.rm-home .nav-toggle.rm-menu-toggle {
  font-size: 1rem;
}

@media (min-width: 701px) and (max-width: 1040px) {
  .rm-home .site-nav.rm-nav a,
  .rm-home .site-nav.rm-nav button {
    font-size: calc(1.01rem + 0.167rem);
  }

  .rm-home .rm-tool {
    font-size: 1rem;
  }
}

@media (max-width: 700px) {
  .rm-home .site-nav.rm-nav a,
  .rm-home .site-nav.rm-nav button {
    font-size: calc(0.86rem + 0.5rem);
  }

  .rm-home .site-nav.rm-nav .theme-toggle {
    font-size: calc(0.75rem + 0.334rem);
  }
}
