:root {
  --rm-home-primary: #2f6fed;
  --rm-home-primary-strong: #1f54c4;
  --rm-home-primary-soft: #eaf1ff;
  --rm-home-page: #f7f9fc;
  --rm-home-surface: #ffffff;
  --rm-home-text: #191d26;
  --rm-home-text-secondary: #4b5566;
  --rm-home-text-tertiary: #6a7383;
  --rm-home-border: #e7ebf3;
  --rm-home-border-defined: #d8e1ee;
  --rm-home-radius: 18px;
  --rm-home-shadow: 0 18px 50px rgba(37, 61, 110, 0.1);
  --rm-type-hero-title: 42px;
  --rm-type-page-title: 26px;
  --rm-type-section-title: 21px;
  --rm-type-card-large: 19px;
  --rm-type-card-title: 16px;
  --rm-type-price: 22px;
  --rm-type-body: 14px;
  --rm-type-support: 12.5px;
  --rm-type-caption: 11px;
}

@media (max-width: 767px) {
  :root {
    --rm-type-hero-title: 25px;
    --rm-type-page-title: 16px;
    --rm-type-section-title: 16px;
    --rm-type-card-large: 14px;
    --rm-type-card-title: 14px;
    --rm-type-price: 17px;
    --rm-type-body: 13px;
    --rm-type-support: 11.5px;
    --rm-type-caption: 11px;
  }
}

.rm-logo-image {
  width: auto;
  height: 36px;
}

.rm-mobile-logo-image {
  width: auto;
  height: 30px;
}

.rm-company-details {
  display: grid;
  margin-top: 10px;
}

.rm-footer-head {
  position: relative;
  display: block;
  margin-bottom: 0;
}

.rm-company-disclosure {
  min-width: 0;
}

.rm-company-summary {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 8px;
  padding-right: 210px;
  list-style: none;
}

.rm-company-summary::-webkit-details-marker {
  display: none;
}

.rm-company-disclosure-icon {
  display: none;
}

.rm-legal-links {
  position: absolute;
  top: 0;
  right: 0;
}

.rm-company-copyright {
  margin: 2px 0 0;
}

.rm-company-detail-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 4px;
}

.rm-company-detail-address,
.rm-company-detail-row {
  margin: 0;
  overflow-wrap: anywhere;
}

.rm-company-detail-separator {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .rm-footer-head {
    min-height: 44px;
  }

  .rm-company-summary {
    min-height: 44px;
    padding-right: 188px;
    cursor: pointer;
  }

  .rm-company-disclosure-icon {
    display: block;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 160ms ease;
  }

  .rm-company-disclosure[open] .rm-company-disclosure-icon {
    transform: rotate(180deg);
  }

  .rm-company-details {
    margin-top: 6px;
  }

  .rm-company-copyright {
    margin-top: 16px;
    text-align: center;
  }

  .rm-legal-links {
    top: 10px;
    flex-wrap: nowrap;
    column-gap: 14px;
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .rm-logo-image {
    height: 34px;
  }

  .rm-header-start {
    gap: 24px;
  }

  .rm-primary-nav {
    gap: 18px;
  }
}

.rm-spec-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.rm-spec-icon {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: 1 / span 2;
  border-radius: 11px;
  background: var(--rm-home-primary-soft);
  color: var(--rm-home-primary);
  place-items: center;
}

.rm-spec-icon svg {
  width: 20px;
  height: 20px;
}

.rm-home {
  overflow: hidden;
  background: var(--rm-home-page);
  color: var(--rm-home-text);
}

.rm-home-container {
  width: min(100% - 80px, 1240px);
  margin-inline: auto;
}

.rm-home-hero {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.62) 0 6%, transparent 28%),
    linear-gradient(125deg, #eaf1ff 0%, #dce9ff 48%, #f2f7ff 100%);
}

.rm-home-hero::before,
.rm-home-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
}

.rm-home-hero::before {
  top: -160px;
  right: -80px;
  width: 420px;
  height: 420px;
  border: 74px solid rgba(47, 111, 237, 0.08);
}

.rm-home-hero::after {
  right: 14%;
  bottom: -96px;
  width: 230px;
  height: 230px;
  background: rgba(47, 111, 237, 0.07);
}

.rm-home-hero-inner {
  padding-block: 76px 72px;
}

.rm-home-eyebrow,
.rm-home-kicker,
.rm-dialog-eyebrow {
  color: var(--rm-home-primary-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.rm-home-hero h1 {
  margin-top: 10px;
  font-size: var(--rm-type-hero-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.rm-home-hero-copy {
  margin-top: 14px;
  color: var(--rm-home-text-secondary);
  font-size: 17px;
}

.rm-country-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 680px);
  min-height: 64px;
  margin-top: 34px;
  padding: 7px 7px 7px 20px;
  border: 1px solid rgba(47, 111, 237, 0.12);
  border-radius: 18px;
  background: var(--rm-home-surface);
  box-shadow: 0 14px 36px rgba(35, 72, 145, 0.13);
}

.rm-country-search:focus-within {
  border-color: var(--rm-home-primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.12), 0 14px 36px rgba(35, 72, 145, 0.13);
}

.rm-country-search-icon {
  display: grid;
  color: var(--rm-home-primary);
  place-items: center;
}

.rm-country-search input {
  min-width: 0;
  height: 48px;
  padding-inline: 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rm-home-text);
}

.rm-country-search input::placeholder {
  color: #8c96a8;
}

.rm-country-search > button,
.rm-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding-inline: 20px;
  font-size: 14px;
  font-weight: 750;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.rm-country-search > button,
.rm-button-primary {
  background: var(--rm-home-primary);
  color: #fff;
}

.rm-country-search > button:hover,
.rm-button-primary:hover {
  background: var(--rm-home-primary-strong);
}

.rm-country-search-panel {
  width: min(100%, 680px);
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--rm-home-border);
  border-radius: var(--rm-home-radius);
  background: #fff;
  box-shadow: var(--rm-home-shadow);
}

.rm-country-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rm-icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--rm-home-text-secondary);
  font-size: 26px;
  line-height: 1;
  place-items: center;
}

.rm-icon-button:hover {
  background: var(--rm-home-page);
  color: var(--rm-home-text);
}

.rm-country-search-status {
  margin-top: 4px;
  color: var(--rm-home-text-tertiary);
  font-size: 13px;
}

.rm-country-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.rm-country-search-results a {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--rm-home-text);
  font-size: 14px;
  font-weight: 650;
}

.rm-country-search-results a:hover {
  background: var(--rm-home-primary-soft);
  color: var(--rm-home-primary-strong);
}

.rm-country-search-results img {
  width: 32px;
  height: 24px;
  border: 1px solid rgba(25, 29, 38, 0.08);
  border-radius: 5px;
  object-fit: cover;
}

.rm-quick-countries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.rm-quick-countries > span {
  margin-right: 2px;
  color: var(--rm-home-text-tertiary);
  font-size: 12px;
  font-weight: 700;
}

.rm-quick-countries a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(47, 111, 237, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding-inline: 14px;
  color: var(--rm-home-primary-strong);
  font-size: 13px;
  font-weight: 700;
}

.rm-quick-countries a:hover {
  border-color: var(--rm-home-primary);
  background: #fff;
}

.rm-home-section {
  padding-block: 72px;
}

.rm-home-section + .rm-home-section:not(.rm-home-section-banner) {
  border-top: 1px solid rgba(231, 235, 243, 0.78);
}

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

.rm-home-section-head h2,
.rm-step-copy h2 {
  margin-top: 6px;
  font-size: var(--rm-type-section-title);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.rm-home-section-head > p {
  max-width: 390px;
  color: var(--rm-home-text-tertiary);
  font-size: 14px;
  text-align: right;
}

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

.rm-country-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 142px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--rm-home-border);
  border-radius: var(--rm-home-radius);
  background: #fff;
  padding: 18px 10px;
  box-shadow: 0 5px 18px rgba(37, 61, 110, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.rm-country-card:hover {
  border-color: rgba(47, 111, 237, 0.42);
  box-shadow: 0 12px 28px rgba(37, 61, 110, 0.1);
  transform: translateY(-2px);
}

.rm-country-flag {
  display: grid;
  width: 56px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(25, 29, 38, 0.08);
  border-radius: 9px;
  background: var(--rm-home-page);
  color: var(--rm-home-text-tertiary);
  font-size: 16px;
  font-weight: 800;
  place-items: center;
}

.rm-country-flag img {
  width: 56px;
  height: 44px;
  object-fit: cover;
}

.rm-country-card strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-country-card-arrow {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #b2bbcb;
  font-size: 14px;
}

.rm-home-section-banner {
  padding-block: 0 24px;
}

.rm-banner-rail {
  display: grid;
  grid-auto-columns: minmax(min(100%, 590px), 1fr);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-block: 4px 16px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}

.rm-promo-banner {
  display: grid;
  min-height: 128px;
  overflow: hidden;
  border: 1px solid var(--rm-home-border);
  border-radius: var(--rm-home-radius);
  background: #eef3fb;
  color: var(--rm-home-text-secondary);
  font-weight: 700;
  place-items: center;
  scroll-snap-align: start;
}

.rm-promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.rm-product-ticket {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 185px;
  overflow: hidden;
  border: 1px solid var(--rm-home-border);
  border-radius: var(--rm-home-radius);
  background: #fff;
  box-shadow: 0 8px 25px rgba(37, 61, 110, 0.06);
}

.rm-product-ticket::before,
.rm-product-ticket::after {
  position: absolute;
  left: calc(100% - 185px);
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rm-home-page);
  content: "";
  transform: translateX(-50%);
}

.rm-product-ticket::before {
  top: -11px;
}

.rm-product-ticket::after {
  bottom: -11px;
}

.rm-product-main {
  min-width: 0;
  padding: 24px;
}

.rm-product-country {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rm-product-country img {
  width: 32px;
  height: 24px;
  border: 1px solid rgba(25, 29, 38, 0.08);
  border-radius: 5px;
  object-fit: cover;
}

.rm-product-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 25px;
  margin-top: 18px;
}

.rm-product-label {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  border-radius: 999px;
  background: #f2f4f8;
  padding-inline: 9px;
  color: var(--rm-home-text-secondary);
  font-size: 11px;
  font-weight: 750;
}

.rm-product-label-primary {
  background: var(--rm-home-primary-soft);
  color: var(--rm-home-primary-strong);
}

.rm-product-main h3 {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.rm-product-main > p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--rm-home-text-tertiary);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rm-product-stub {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  border-left: 1px dashed #cfd6e3;
  padding: 22px 20px;
  text-align: right;
}

.rm-product-stub > span {
  color: var(--rm-home-text-tertiary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.rm-product-stub > strong {
  margin-top: 3px;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.rm-product-actions {
  display: grid;
  width: 100%;
  gap: 7px;
  margin-top: 17px;
}

.rm-product-actions .rm-button {
  min-height: 36px;
  padding-inline: 10px;
  font-size: 12px;
}

.rm-button-soft {
  border-color: transparent;
  background: var(--rm-home-primary-soft);
  color: var(--rm-home-primary-strong);
}

.rm-button-soft:hover {
  background: #dce8ff;
}

.rm-button-ghost {
  border-color: var(--rm-home-border);
  background: #fff;
  color: var(--rm-home-text-secondary);
}

.rm-button-ghost:hover {
  border-color: #bec8d8;
  background: var(--rm-home-page);
  color: var(--rm-home-text);
}

.rm-step-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
  border-radius: 24px;
  background: #17213a;
  padding: 54px;
  color: #fff;
}

.rm-step-copy .rm-home-kicker {
  color: #8fb3ff;
}

.rm-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: #cfe0ff;
  font-size: 14px;
  font-weight: 700;
}

.rm-text-link:hover {
  color: #fff;
}

.rm-step-list {
  display: grid;
  gap: 12px;
}

.rm-step-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  padding: 17px 18px;
}

.rm-step-list li > span {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rm-home-primary);
  font-weight: 800;
  place-items: center;
}

.rm-step-list strong {
  font-size: 15px;
}

.rm-step-list p {
  margin-top: 3px;
  color: #b9c3d8;
  font-size: 13px;
}

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

.rm-guide-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 132px;
  border: 1px solid var(--rm-home-border);
  border-radius: var(--rm-home-radius);
  background: #fff;
  padding: 22px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.rm-guide-card:hover {
  border-color: rgba(47, 111, 237, 0.4);
  box-shadow: 0 12px 28px rgba(37, 61, 110, 0.09);
  transform: translateY(-2px);
}

.rm-guide-icon {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--rm-home-primary-soft);
  color: var(--rm-home-primary-strong);
  font-size: 11px;
  font-weight: 850;
  place-items: center;
}

.rm-guide-card strong {
  font-size: 15px;
}

.rm-guide-card p {
  margin-top: 5px;
  color: var(--rm-home-text-tertiary);
  font-size: 12px;
  line-height: 1.5;
}

.rm-guide-card > span:last-child {
  color: #9ca6b8;
}

.rm-home-notice {
  padding-block: 0 64px;
}

.rm-notice-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  border: 1px solid var(--rm-home-border);
  border-radius: 14px;
  background: #fff;
  padding: 12px 20px;
}

.rm-notice-bar strong {
  color: var(--rm-home-primary-strong);
  font-size: 13px;
}

.rm-notice-bar a {
  overflow: hidden;
  color: var(--rm-home-text-secondary);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-home-empty {
  display: grid;
  min-height: 150px;
  border: 1px dashed #ccd4e1;
  border-radius: var(--rm-home-radius);
  color: var(--rm-home-text-tertiary);
  font-size: 14px;
  place-items: center;
}

.rm-dialog {
  width: min(calc(100% - 32px), 720px);
  max-height: min(88vh, 860px);
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--rm-home-text);
  box-shadow: 0 28px 90px rgba(13, 23, 45, 0.28);
}

.rm-dialog:not([open]) {
  display: none;
}

.rm-dialog::backdrop {
  background: rgba(13, 23, 45, 0.62);
  backdrop-filter: blur(3px);
}

.rm-dialog-shell {
  max-height: min(88vh, 860px);
  overflow-y: auto;
  padding: 28px;
}

.rm-dialog-shell.rm-detail-dialog-shell {
  display: grid;
  height: min(88dvh, 760px);
  max-height: min(88dvh, 760px);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
}

.rm-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.rm-dialog-head h2 {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rm-dialog-head.rm-detail-dialog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--rm-home-border);
  padding: 22px 28px 20px;
}

.rm-detail-dialog-heading {
  min-width: 0;
}

.rm-detail-dialog-heading h2 {
  overflow-wrap: anywhere;
}

.rm-detail-dialog-desktop-price,
.rm-detail-dialog-mobile-price {
  display: grid;
  gap: 2px;
}

.rm-detail-dialog-desktop-price {
  min-width: 104px;
  text-align: right;
}

.rm-detail-dialog-desktop-price span,
.rm-detail-dialog-mobile-price span {
  color: var(--rm-home-text-tertiary);
  font-size: 11px;
  font-weight: 700;
}

.rm-detail-dialog-desktop-price strong,
.rm-detail-dialog-mobile-price strong {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.rm-dialog-purchase > .rm-detail-dialog-mobile-price {
  display: none;
}

.rm-dialog-loading {
  display: grid;
  min-height: 220px;
  color: var(--rm-home-text-tertiary);
  font-size: 14px;
  place-items: center;
}

.rm-detail-dialog-shell > .rm-dialog-loading {
  min-height: 0;
  padding: 28px;
}

.rm-detail-dialog-content {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.rm-detail-dialog-content[hidden] {
  display: none;
}

.rm-detail-dialog-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 28px 28px;
  scroll-padding-block: 24px;
}

.rm-product-detail-description {
  margin-top: 18px;
  color: var(--rm-home-text-secondary);
  font-size: 14px;
}

.rm-detail-dialog-scroll > .rm-product-detail-description {
  margin-top: 0;
}

.rm-product-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.rm-product-specs > div {
  display: grid;
  min-height: 74px;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 11px;
  border: 1px solid var(--rm-home-border);
  border-radius: 14px;
  background: var(--rm-home-page);
  padding: 14px;
}

.rm-product-specs dt {
  color: var(--rm-home-text-tertiary);
  font-size: 11px;
  font-weight: 700;
}

.rm-product-specs dd {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
}

.rm-product-coverage {
  margin-top: 26px;
  border: 1px solid #cad8f2;
  border-radius: 16px;
  background: #f4f7ff;
  padding: 18px;
}

.rm-product-coverage-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.rm-product-coverage-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #e4edff;
  color: var(--rm-home-primary);
  place-items: center;
}

.rm-product-coverage-head h3 {
  color: var(--rm-home-text);
  font-size: 17px;
  font-weight: 800;
}

.rm-product-coverage-head p {
  margin-top: 3px;
  color: var(--rm-home-text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.rm-product-coverage-count {
  border: 1px solid #c5d6f6;
  border-radius: 999px;
  background: #fff;
  padding: 5px 9px;
  color: var(--rm-home-primary-strong);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.rm-product-coverage ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.rm-product-coverage li {
  display: grid;
  min-width: 0;
  gap: 3px;
  border: 1px solid #d9e2f3;
  border-radius: 11px;
  background: #fff;
  padding: 11px 12px;
  font-size: 13px;
}

.rm-product-coverage li strong {
  color: var(--rm-home-text);
  font-weight: 800;
}

.rm-product-coverage li span {
  overflow-wrap: anywhere;
  color: var(--rm-home-text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.rm-product-coverage li:only-child {
  grid-column: 1 / -1;
}

.rm-product-coverage.has-collapsible-list:not(.is-expanded) .rm-product-coverage-overflow {
  display: none;
}

.rm-product-coverage-toggle {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  border: 1px solid #c5d6f6;
  border-radius: 11px;
  background: #fff;
  color: var(--rm-home-primary-strong);
  font-size: 12px;
  font-weight: 800;
}

.rm-product-coverage-toggle:hover {
  border-color: #9eb8ed;
  background: #edf3ff;
}

.rm-product-coverage-toggle svg {
  transition: transform 180ms ease-out;
}

.rm-product-coverage.is-expanded .rm-product-coverage-toggle svg {
  transform: rotate(180deg);
}

.rm-product-terms {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--rm-home-border);
  border-radius: 14px;
  background: #fff;
}

.rm-product-terms h3 {
  padding: 15px 16px 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.rm-product-terms > div {
  border-top: 1px solid var(--rm-home-border);
  padding: 16px;
  color: var(--rm-home-text-secondary);
  font-size: 12px;
  line-height: 1.7;
}

.rm-product-terms li {
  display: block;
  list-style: none;
}

.rm-product-terms li + li {
  margin-top: 4px;
}

.rm-detail-dialog-footer {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr);
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--rm-home-border);
  background: #fff;
  padding: 15px 28px 18px;
  box-shadow: 0 -8px 24px rgba(37, 61, 110, 0.04);
}

.rm-dialog-purchase {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  border-top: 1px solid var(--rm-home-border);
  padding-top: 20px;
}

.rm-detail-dialog-footer .rm-dialog-purchase {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.rm-dialog-purchase > .rm-detail-dialog-mobile-price {
  gap: 2px;
}

.rm-dialog-purchase span {
  color: var(--rm-home-text-tertiary);
  font-size: 12px;
  font-weight: 700;
}

.rm-dialog-purchase strong {
  font-size: 24px;
}

.rm-dialog-purchase .rm-quantity-field {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rm-dialog-purchase .rm-quantity-stepper {
  display: grid;
  grid-template-columns: 40px 48px 40px;
  height: 42px;
  border: 1px solid var(--rm-home-border);
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}

.rm-dialog-purchase .rm-quantity-stepper button {
  display: grid;
  color: var(--rm-home-primary);
  place-items: center;
}

.rm-dialog-purchase .rm-quantity-stepper button:hover:not(:disabled) {
  background: #edf3ff;
}

.rm-dialog-purchase .rm-quantity-stepper button:disabled {
  color: #c4cbd8;
  cursor: not-allowed;
}

.rm-dialog-purchase .rm-quantity-stepper input {
  width: 48px;
  min-width: 0;
  border-inline: 1px solid var(--rm-home-border);
  border-radius: 0;
  background: #fff;
  padding: 0;
  color: var(--rm-home-text);
  font-weight: 750;
  text-align: center;
  -moz-appearance: textfield;
}

.rm-dialog-purchase .rm-quantity-stepper input::-webkit-inner-spin-button,
.rm-dialog-purchase .rm-quantity-stepper input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.rm-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.rm-detail-dialog-footer .rm-dialog-actions {
  margin-top: 0;
}

.rm-login-dialog {
  max-width: 440px;
}

.rm-login-dialog-copy {
  margin-top: 20px;
  color: var(--rm-home-text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.rm-login-social,
.rm-login-form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.rm-login-social[hidden],
.rm-login-form[hidden] {
  display: none;
}

.rm-social-login {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding-inline: 18px;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.rm-social-login-kakao {
  background: #fee500;
  color: #191919;
}

.rm-social-login-google {
  border-color: var(--rm-home-border);
  background: #fff;
  color: var(--rm-home-text);
}

.rm-social-login-naver {
  background: #03c75a;
  color: #fff;
}

.rm-social-login-apple {
  background: #000;
  color: #fff;
}

.rm-login-switch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--rm-home-primary-strong);
  font-size: 13px;
  font-weight: 750;
}

.rm-login-form label {
  color: var(--rm-home-text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.rm-login-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--rm-home-border);
  border-radius: 12px;
  background: #fff;
  padding-inline: 14px;
  color: var(--rm-home-text);
}

.rm-login-form input:focus {
  border-color: var(--rm-home-primary);
  outline: 3px solid rgba(47, 111, 237, 0.12);
}

.rm-login-form-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

.rm-login-form-links button {
  min-height: 44px;
  color: var(--rm-home-text-secondary);
}

.rm-login-form-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--rm-home-primary-strong);
}

.rm-live-message {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  max-width: min(360px, calc(100% - 32px));
  border-radius: 12px;
  background: #17213a;
  padding: 13px 16px;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.rm-live-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .rm-home-container {
    width: min(100% - 48px, 900px);
  }

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

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

  .rm-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .rm-home-container {
    width: min(100% - 32px, 560px);
  }

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

  .rm-home-hero-inner {
    padding-block: 48px 44px;
  }

  .rm-home-hero h1 {
    font-size: var(--rm-type-hero-title);
  }

  .rm-home-hero-copy {
    max-width: 290px;
    font-size: 14px;
  }

  .rm-country-search {
    min-height: 58px;
    margin-top: 26px;
    padding-left: 16px;
  }

  .rm-country-search > button {
    padding-inline: 15px;
  }

  .rm-country-search-results {
    grid-template-columns: 1fr;
  }

  .rm-quick-countries {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .rm-quick-countries::-webkit-scrollbar {
    display: none;
  }

  .rm-quick-countries > span,
  .rm-quick-countries a {
    flex: 0 0 auto;
  }

  .rm-home-section {
    padding-block: 48px;
  }

  .rm-home-section-head {
    display: block;
    margin-bottom: 22px;
  }

  .rm-home-section-head h2,
  .rm-step-copy h2 {
    font-size: var(--rm-type-section-title);
  }

  .rm-home-section-head > p {
    margin-top: 8px;
    font-size: 13px;
    text-align: left;
  }

  .rm-country-grid {
    gap: 9px;
  }

  .rm-country-card {
    min-height: 110px;
    gap: 8px;
    border-radius: 15px;
    padding: 12px 6px;
  }

  .rm-country-flag,
  .rm-country-flag img {
    width: 42px;
    height: 32px;
  }

  .rm-country-card strong {
    font-size: 12px;
  }

  .rm-country-card-arrow {
    display: none;
  }

  .rm-home-section-banner {
    padding-block: 0 10px;
  }

  .rm-banner-rail {
    grid-auto-columns: 88%;
  }

  .rm-promo-banner {
    min-height: 104px;
    border-radius: 15px;
  }

  .rm-product-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .rm-product-ticket {
    grid-template-columns: 1fr;
    min-width: calc(100% - 24px);
    scroll-snap-align: start;
  }

  .rm-product-ticket::before,
  .rm-product-ticket::after {
    top: auto;
    left: -11px;
    transform: none;
  }

  .rm-product-ticket::before {
    bottom: 191px;
  }

  .rm-product-ticket::after {
    right: -11px;
    bottom: 191px;
    left: auto;
  }

  .rm-product-main {
    padding: 22px 20px;
  }

  .rm-product-stub {
    align-items: stretch;
    border-top: 1px dashed #cfd6e3;
    border-left: 0;
    padding: 18px 20px;
    text-align: left;
  }

  .rm-product-stub > strong {
    font-size: var(--rm-type-price);
  }

  .rm-product-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
  }

  .rm-step-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    border-radius: 20px;
    padding: 30px 22px;
  }

  .rm-step-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .rm-step-list li > span {
    width: 36px;
    height: 36px;
  }

  .rm-guide-card {
    min-height: 116px;
    padding: 18px;
  }

  .rm-home-notice {
    padding-block: 0 44px;
  }

  .rm-notice-bar {
    gap: 10px;
    padding-inline: 16px;
  }

  .rm-dialog {
    width: 100%;
    max-width: none;
    max-height: 92vh;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }

  .rm-dialog-shell {
    max-height: 92vh;
    padding: 22px 18px max(22px, env(safe-area-inset-bottom));
  }

  .rm-dialog.rm-detail-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 40px);
    margin: 20px auto;
    border-radius: 18px;
  }

  .rm-dialog-shell.rm-detail-dialog-shell {
    height: calc(100dvh - 40px);
    max-height: calc(100dvh - 40px);
    padding: 0;
  }

  .rm-dialog-head.rm-detail-dialog-head {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
    padding: 16px 16px 14px;
  }

  .rm-detail-dialog-heading h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 21px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .rm-detail-dialog-desktop-price {
    display: none;
  }

  .rm-detail-dialog-scroll {
    padding: 18px 16px 24px;
    scroll-padding-block: 20px;
  }

  .rm-detail-dialog-footer {
    display: block;
    padding: 12px 16px max(14px, env(safe-area-inset-bottom));
  }

  .rm-detail-dialog-footer .rm-dialog-purchase {
    align-items: center;
    justify-content: space-between;
  }

  .rm-dialog-purchase > .rm-detail-dialog-mobile-price {
    display: grid;
  }

  .rm-detail-dialog-mobile-price strong {
    font-size: 21px;
  }

  .rm-detail-dialog-footer .rm-dialog-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
  }

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

  .rm-product-coverage {
    padding: 15px;
  }

  .rm-product-coverage-head {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .rm-product-coverage-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .rm-product-coverage-head h3 {
    font-size: 15px;
  }

  .rm-product-coverage ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-product-coverage.has-collapsible-list:not(.is-expanded) .rm-product-coverage-mobile-overflow {
    display: none;
  }

  .rm-dialog-purchase .rm-quantity-stepper {
    grid-template-columns: 44px 42px 44px;
    height: 46px;
  }

  .rm-dialog-purchase .rm-quantity-stepper input {
    width: 42px;
  }

  .rm-live-message {
    right: 16px;
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-country-card,
  .rm-guide-card,
  .rm-live-message,
  .rm-button {
    transition: none;
  }
}

/* Main page design contract: one shared axis for header, content, and footer. */
.rm-shell-home .rm-header-inner,
.rm-shell-home .rm-footer-inner,
.rm-home-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 48px;
}

.rm-shell-home .rm-header-inner {
  height: 68px;
}

.rm-shell-home .rm-footer-inner {
  padding-block: 28px 34px;
}

.rm-home {
  overflow: clip;
  background: #f7f9fc;
}

.rm-home-hero {
  min-height: 0;
  background: linear-gradient(180deg, #eaf2ff 0%, #f6f9ff 100%);
}

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

.rm-home-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 60px 46px;
  text-align: center;
}

.rm-home-hero h1 {
  margin-top: 0;
  font-size: var(--rm-type-hero-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rm-home-hero-copy {
  margin-top: 12px;
  color: #707a8b;
  font-size: 16px;
}

.rm-country-search {
  width: min(100%, 680px);
  min-height: 60px;
  margin-top: 28px;
  border: 1.5px solid #3477f6;
  border-radius: 999px;
  padding: 5px 6px 5px 20px;
  box-shadow: 0 10px 28px rgba(47, 111, 237, 0.08);
}

.rm-country-search:focus-within {
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.12), 0 10px 28px rgba(47, 111, 237, 0.08);
}

.rm-country-search-icon {
  color: #8b98ac;
}

.rm-country-search input {
  height: 46px;
  font-size: 15px;
}

.rm-country-search > button {
  min-width: 92px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 15px;
}

.rm-country-search-panel {
  width: min(100%, 680px);
  text-align: left;
}

.rm-quick-countries {
  justify-content: center;
  margin-top: 16px;
}

.rm-quick-countries a {
  min-height: 34px;
  gap: 6px;
  border-color: var(--rm-home-border-defined);
  background: #fff;
  padding-inline: 12px;
  color: #4b5566;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(37, 61, 110, 0.03);
}

.rm-quick-flag,
.rm-country-flag,
.rm-product-country-flag,
.rm-country-browser-flag {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.rm-quick-flag {
  width: 20px;
  height: 15px;
}

.rm-quick-flag img,
.rm-product-country-flag img,
.rm-country-browser-flag img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 3px;
  object-fit: cover;
}

.rm-flag-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  border-radius: inherit;
  background: #edf2fb;
  color: #69758a;
  font-size: 11px;
  font-weight: 800;
  place-items: center;
}

.rm-flag-fallback.is-covered {
  visibility: hidden;
}

.rm-home-section {
  padding-block: 34px 8px;
}

.rm-home-section + .rm-home-section:not(.rm-home-section-banner) {
  border-top: 0;
}

.rm-home-section-head {
  align-items: center;
  margin-bottom: 18px;
}

.rm-home-section-head h2,
.rm-step-copy h2 {
  margin: 0;
  font-size: var(--rm-type-section-title);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.rm-section-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 4px;
  color: #2f6fed;
  font-size: 13px;
  font-weight: 750;
}

.rm-section-link:hover {
  color: #1f54c4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rm-country-grid {
  gap: 10px;
}

.rm-country-card {
  min-height: 128px;
  gap: 7px;
  border-color: var(--rm-home-border-defined);
  border-radius: 15px;
  padding: 14px 8px;
  box-shadow: 0 3px 12px rgba(37, 61, 110, 0.035);
}

.rm-country-card.is-unavailable {
  cursor: default;
  opacity: 0.68;
}

.rm-country-card.is-unavailable:hover {
  border-color: var(--rm-home-border-defined);
  box-shadow: 0 3px 12px rgba(37, 61, 110, 0.035);
  transform: none;
}

.rm-country-card-all {
  border-color: #c8d9f7;
  background: #f1f6ff;
  color: #1f54c4;
}

.rm-country-card-all:hover {
  border-color: #7fa8ef;
  background: #e8f0ff;
  box-shadow: 0 8px 20px rgba(47, 111, 237, 0.12);
}

.rm-country-card-all .rm-country-all-icon {
  background: #2f6fed;
  color: #fff;
}

.rm-country-card-all .rm-country-price {
  color: #2f6fed;
}

.rm-country-flag {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #f1f5fd;
}

.rm-country-flag img {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 21px;
  border-radius: 3px;
  object-fit: cover;
}

.rm-country-card strong {
  font-size: 13px;
  line-height: 1.35;
}

.rm-country-price {
  color: #3477f6;
  font-size: 11.5px;
  font-weight: 750;
}

.rm-country-price.is-muted {
  color: #98a2b3;
}

.rm-home-section-products {
  padding-top: 38px;
}

.rm-product-grid {
  gap: 14px;
}

.rm-product-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 196px;
  min-height: 162px;
  overflow: hidden;
  border-color: var(--rm-home-border-defined);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(37, 61, 110, 0.04);
}

.rm-product-ticket::before,
.rm-product-ticket::after {
  content: none;
}

.rm-product-main {
  display: block;
  appearance: none;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
  padding: 22px 24px;
  color: inherit;
  text-align: left;
}

.rm-product-country {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.rm-product-country-flag {
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  background: #f2f6fd;
}

.rm-product-country-flag img {
  width: 20px;
  height: 15px;
}

.rm-product-country strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-product-label {
  min-height: 22px;
  padding-inline: 8px;
  font-size: 10px;
}

.rm-product-main h3 {
  display: block;
  overflow: hidden;
  margin-top: 13px;
  font-size: 17px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-product-main > p {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  font-size: 12px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-product-route {
  display: flex;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: #8d98ab;
  font-size: 10.5px;
  font-weight: 800;
}

.rm-product-route i {
  display: block;
  min-width: 12px;
  height: 0;
  flex: 1 1 auto;
  border-top: 1px dashed #d3dae6;
}

.rm-product-route svg {
  flex: 0 0 auto;
  color: #2f6fed;
}

.rm-product-stub {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  border-left-color: #d3dae6;
  padding: 22px 20px;
  text-align: left;
}

.rm-product-stub > strong {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.rm-product-price-label {
  min-height: 18px;
  margin-top: 3px;
  color: #cc3d1a;
  font-size: 11px;
  font-weight: 700;
}

.rm-product-stub .rm-product-actions {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}

.rm-product-stub .rm-product-actions .rm-button {
  width: 100%;
  min-height: 40px;
  margin-top: 0;
  border-radius: 999px;
}

.rm-home-banner-section {
  padding-block: 28px 4px;
}

.rm-banner-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  overflow: visible;
  padding: 0;
}

.rm-promo-banner {
  min-height: 0;
  border-radius: 16px;
  background: #eef3fb;
}

.rm-promo-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rm-home-section-steps {
  padding-top: 38px;
}

.rm-step-panel {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  border: 1px solid var(--rm-home-border-defined);
  border-radius: 18px;
  background: #fff;
  padding: 25px 28px;
  color: var(--rm-home-text);
  box-shadow: 0 4px 16px rgba(37, 61, 110, 0.035);
}

.rm-step-copy p {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: #2f6fed;
  font-size: 12px;
  font-weight: 750;
}

.rm-step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.rm-step-list li {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  border-color: #e7ebf3;
  border-radius: 13px;
  background: #f8faff;
  padding: 13px;
}

.rm-step-list li > span {
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 11px;
}

.rm-step-list strong {
  font-size: 12px;
}

.rm-step-list p {
  margin-top: 2px;
  color: var(--rm-home-text-secondary);
  font-size: var(--rm-type-support);
  line-height: 1.45;
}

.rm-guide-grid {
  gap: 12px;
}

.rm-guide-card {
  position: relative;
  display: grid;
  min-height: 126px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  border: 0;
  border-radius: 16px;
  padding: 21px;
  box-shadow: none;
}

.rm-guide-card:hover {
  border: 0;
  box-shadow: 0 10px 24px rgba(37, 61, 110, 0.09);
}

.rm-guide-card-ios {
  background: #2f6fed;
  color: #fff;
}

.rm-guide-card-aos {
  background: #5a8bf5;
  color: #fff;
}

.rm-guide-card-tel {
  border: 1.5px solid #d8e4fb;
  background: #fff;
}

.rm-guide-card-tel:hover {
  border: 1.5px solid #b8cdf2;
}

.rm-guide-icon {
  background: rgba(255, 255, 255, 0.72);
}

.rm-guide-card > span:nth-child(2) {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #6c7890;
}

.rm-guide-card-ios > span:nth-child(2),
.rm-guide-card-aos > span:nth-child(2),
.rm-guide-card-ios p,
.rm-guide-card-aos p {
  color: rgba(255, 255, 255, 0.82);
}

.rm-guide-card strong {
  font-size: 14px;
}

.rm-guide-card p {
  font-size: 11px;
}

.rm-home-notice {
  padding-block: 28px 44px;
}

.rm-notice-bar {
  min-height: 54px;
}

.rm-notice-bar time {
  color: #8a94a6;
  font-size: 12px;
}

.rm-country-dialog {
  width: min(calc(100% - 32px), 760px);
}

@media (min-width: 768px) {
  .rm-country-dialog {
    --rm-country-dialog-top: clamp(64px, 10vh, 88px);
    max-height: calc(100dvh - var(--rm-country-dialog-top) - 32px);
    margin: var(--rm-country-dialog-top) auto auto;
  }

  .rm-country-dialog .rm-dialog-shell {
    max-height: calc(100dvh - var(--rm-country-dialog-top) - 32px);
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

  .rm-country-dialog .rm-country-browser-list {
    align-content: start;
  }
}

.rm-country-browser-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 22px;
}

.rm-country-browser-tabs button {
  min-width: 0;
  min-height: 44px;
  border: 1px solid #e1e6ef;
  border-radius: 999px;
  background: #fff;
  padding: 8px 10px;
  color: #687386;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

.rm-country-browser-tabs button[aria-selected="true"] {
  border-color: #2f6fed;
  background: #2f6fed;
  color: #fff;
}

.rm-country-browser-status {
  min-height: 20px;
  margin-top: 13px;
  color: #7a8597;
  font-size: 12px;
}

.rm-country-browser-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.rm-country-browser-list[aria-busy="true"] {
  min-height: 160px;
}

.rm-country-browser-list a {
  display: grid;
  min-height: 58px;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e7ebf3;
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 700;
}

.rm-country-browser-list a:hover {
  border-color: #a8c2f1;
  background: #f3f7ff;
  color: #1f54c4;
}

.rm-country-browser-flag {
  width: 32px;
  height: 24px;
  border-radius: 4px;
}

@media (max-width: 1023px) {
  .rm-shell-home .rm-header-inner,
  .rm-shell-home .rm-footer-inner,
  .rm-home-container {
    max-width: 900px;
    padding-inline: 24px;
  }

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

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

  .rm-step-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .rm-shell-home .rm-mobile-brand-header-inner,
  .rm-shell-home .rm-footer-inner,
  .rm-home-container {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    padding-inline: 18px;
  }

  .rm-home-hero-inner {
    padding-block: 38px 34px;
  }

  .rm-home-hero h1 {
    margin-top: 0;
    font-size: var(--rm-type-hero-title);
  }

  .rm-home-hero-copy {
    max-width: 330px;
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.55;
  }

  .rm-country-search {
    min-height: 54px;
    margin-top: 22px;
    padding: 4px 4px 4px 14px;
  }

  .rm-country-search-icon svg {
    width: 19px;
    height: 19px;
  }

  .rm-country-search input {
    height: 42px;
    padding-inline: 9px;
    font-size: 13px;
  }

  .rm-country-search > button {
    min-width: 64px;
    min-height: 44px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .rm-quick-countries {
    width: 100%;
    justify-content: flex-start;
  }

  .rm-home-section {
    padding-block: 28px 4px;
  }

  .rm-home-section-head {
    display: flex;
    margin-bottom: 14px;
  }

  .rm-home-section-head h2,
  .rm-step-copy h2 {
    font-size: var(--rm-type-section-title);
  }

  .rm-section-link {
    font-size: 12px;
  }

  .rm-country-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .rm-country-card {
    min-height: 104px;
    gap: 5px;
    padding: 10px 4px;
  }

  .rm-country-flag {
    width: 42px;
    height: 42px;
  }

  .rm-country-flag img {
    width: 25px;
    height: 19px;
  }

  .rm-country-card strong {
    font-size: 11px;
  }

  .rm-country-price {
    display: none;
    font-size: 9.5px;
  }

  .rm-home-section-products {
    padding-top: 32px;
  }

  .rm-product-grid {
    display: grid;
    overflow: visible;
    padding-bottom: 0;
  }

  .rm-product-ticket {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .rm-product-main {
    padding: 18px;
  }

  .rm-product-stub {
    align-items: stretch;
    border-top: 1px dashed #d3dae6;
    border-left: 0;
    padding: 16px 18px;
  }

  .rm-product-stub > strong {
    font-size: var(--rm-type-price);
  }

  .rm-product-stub .rm-button {
    margin-top: 12px;
  }

  .rm-product-stub .rm-product-actions .rm-button {
    min-height: 44px;
  }

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

  .rm-promo-banner {
    min-height: 0;
  }

  .rm-home-section-steps {
    padding-top: 32px;
  }

  .rm-step-panel {
    gap: 18px;
    border-color: #2f6fed;
    background: #2f6fed;
    padding: 22px 18px;
    color: #fff;
  }

  .rm-step-list {
    display: none;
  }

  .rm-step-copy p {
    color: rgba(255, 255, 255, 0.85);
  }

  .rm-guide-grid {
    grid-template-columns: 1fr;
  }

  .rm-guide-card {
    min-height: 108px;
  }

  .rm-home-notice {
    padding-block: 24px 34px;
  }

  .rm-country-dialog {
    position: fixed;
    inset: 0;
    width: min(calc(100% - 32px), 520px);
    max-width: none;
    max-height: min(calc(100dvh - 48px), 680px);
    margin: auto;
    border-radius: 20px;
  }

  .rm-country-dialog .rm-dialog-shell {
    max-height: min(calc(100dvh - 48px), 680px);
    overflow-y: auto;
    padding: 22px 18px max(22px, env(safe-area-inset-bottom));
  }

  .rm-country-browser-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rm-country-browser-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .rm-country-browser-list {
    grid-template-columns: 1fr;
  }
}
