/* Ribaso marketing skin. Quad chrome underneath. */
:root {
  --ribaso-accent: #2E68F8;
  --ribaso-ink: #14213D;
  --ribaso-muted: #667085;
  --ribaso-paper: #F4F6FC;
  --ribaso-cream: #FFFFFF;
  --ribaso-line: rgba(20, 33, 61, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ribaso-paper);
  color: var(--ribaso-ink);
  font-family: "Plus Jakarta Sans", Figtree, sans-serif;
}

body.rb-story {
  overflow-x: visible !important;
  overflow-y: visible !important;
}

#preloader {
  display: none !important;
}

.site-logo a,
.mobile-logo a,
.logos a,
.rm-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", Figtree, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ribaso-ink) !important;
  text-decoration: none !important;
  letter-spacing: -0.04em;
}

.rm-mark img,
.site-logo img,
.mobile-logo img,
.logos img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

/* RB_LOGO_STACKED: the R Mail logo, blue R over "Mail" (one image). */
.rm-mark img.rm-lockup {
  width: auto;
  height: 56px;
  border-radius: 0;
}

.mobile-logo .rm-mark img.rm-lockup,
.logos .rm-mark img.rm-lockup {
  height: 50px;
}

/* The fixed phone header covers the top of the menu panel and already shows
   the logo, so the menu's own copy would only peek out under it. */
.mobile-sidebar2 .logos .rm-mark {
  visibility: hidden;
}

.header-btn2,
.header-btn3:hover,
a.header-btn2 {
  background: var(--ribaso-ink) !important;
  border-color: var(--ribaso-ink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  min-height: 44px;
  padding: 10px 20px !important;
  font-weight: 600;
}

.header-btn3,
a.header-btn3 {
  background: transparent !important;
  color: var(--ribaso-ink) !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  min-height: 44px;
  padding: 10px 14px !important;
}

.header-area.homepage2 .header-elements {
  align-items: center;
  align-self: stretch;
  min-height: 72px;
  padding: 12px 0;
}

.header-area.homepage2 .header-elements .site-logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0;
}

.header-area.homepage2 .header-elements .main-menu {
  gap: 12px;
}

.header-area.homepage2 .header-elements .main-menu ul.nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 0;
}

.header-area.homepage2 .header-elements .main-menu ul li a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  line-height: 1;
  color: var(--ribaso-ink) !important;
}

.header-area.homepage2 .header-elements .main-menu ul li:hover > a,
.header-area.homepage2 .header-elements .main-menu .nav-item .nav-link.active {
  color: var(--ribaso-accent) !important;
}

.header-area.homepage2.sticky {
  background: rgba(244, 246, 252, 0.92) !important;
  backdrop-filter: blur(16px);
  box-shadow: none;
  border-bottom: 1px solid var(--ribaso-line);
}

.mobile-haeder2 {
  background: var(--ribaso-paper) !important;
  backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid var(--ribaso-line);
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px;
}

.mobile-haeder2 .mobile-header-elements {
  align-items: center;
  min-height: 44px;
}

.mobile-haeder2 .mobile-logo a.rm-mark {
  min-height: 44px;
}

.mobile-haeder2 .mobile-header-elements .dots-menu {
  color: var(--ribaso-ink) !important;
  border-color: var(--ribaso-line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
}

.mobile-sidebar2 {
  background: var(--ribaso-paper) !important;
}

.mobile-sidebar2 .menu-close {
  color: var(--ribaso-ink) !important;
}

.mobile-sidebar2 .mobile-nav.mobile-nav2 .mobile-nav-list.nav-list2 li a {
  color: var(--ribaso-ink) !important;
}

.rb-mobile-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rb-mobile-cta .header-btn2 {
  font-size: 13px;
  padding: 8px 12px !important;
  min-height: 44px;
}

.rb-text-link {
  color: var(--ribaso-accent) !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.rb-text-link:hover {
  border-bottom-color: currentColor;
}

/* Apple-like hero */
.rb-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 108px 24px 0;
  overflow: hidden;
  background: var(--ribaso-paper);
}

.rb-hero-copy {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 28px;
}

.rb-hero-copy h1 {
  font-family: "Plus Jakarta Sans", Figtree, sans-serif;
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  color: var(--ribaso-ink);
  text-transform: none !important;
  margin: 0 0 18px;
}

.rb-hero-lead {
  font-size: 19px;
  line-height: 1.45;
  color: var(--ribaso-muted);
  margin: 0 auto 28px;
  max-width: 34ch;
}

.rb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 28px;
}

.rb-hero-cta .header-btn2 {
  margin: 0 !important;
}

.rb-hero-micro,
.rb-hero-signin {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--ribaso-muted);
}

.rb-hero-signin {
  margin-top: 8px;
}

.rb-hero-signin a {
  color: var(--ribaso-ink);
  font-weight: 600;
}

.rb-hero-product {
  width: min(1180px, 94vw);
  margin-top: 8px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(22, 20, 18, 0.16);
  border: 1px solid rgba(22, 20, 18, 0.08);
  border-bottom: 0;
}

.rb-hero-product img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .rb-hero {
    height: 100vh;
    overflow: hidden;
  }

  .rb-hero-product {
    flex: 1 1 auto;
    min-height: 0;
    width: min(1180px, 94vw);
  }

  .rb-hero-product img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
}

.rb-section {
  padding: 96px 0;
}

.rb-section--quiet {
  background: #fff;
}

.rb-section--dark {
  background: var(--ribaso-ink);
  color: var(--ribaso-paper);
}

.rb-section--dark .rb-head p,
.rb-section--dark .rb-hero-micro {
  color: rgba(244, 246, 252, 0.7);
}

.rb-section--dark h2,
.rb-section--dark .rb-memory {
  color: var(--ribaso-paper);
}

.rb-section--dark .rb-text-link {
  color: #5E8BFF !important;
}

.rb-head {
  max-width: 40rem;
  margin: 0 auto 48px;
  text-align: center;
}

.rb-head h2,
.rb-enterprise h2,
.rb-final h2,
.rb-product-copy h3 {
  font-family: "Plus Jakarta Sans", Figtree, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-transform: none !important;
  color: inherit;
}

.rb-head h2,
.rb-enterprise h2,
.rb-final h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  margin-bottom: 18px;
}

.rb-head p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ribaso-muted);
  margin: 0;
}

.rb-head--follow {
  margin-top: 56px;
}

.rb-statement {
  font-size: 22px !important;
  font-weight: 650;
  color: var(--ribaso-ink) !important;
  letter-spacing: -0.03em;
  margin-top: 22px !important;
  text-align: center;
}

.rb-section--dark .rb-statement {
  color: var(--ribaso-paper) !important;
}

.rb-path {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}

.rb-path li {
  background: #fff;
  border: 1px solid var(--ribaso-line);
  border-radius: 16px;
  padding: 16px 18px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.rb-path strong {
  font-size: 15px;
}

.rb-path span {
  font-size: 13px;
  color: var(--ribaso-muted);
}

.rb-path--plain {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rb-path--plain li {
  text-align: center;
  min-width: 0;
}

.rb-figure {
  margin: 0 auto 8px;
  max-width: 920px;
  border-radius: 20px;
  overflow: hidden;
}

.rb-figure img,
.rb-product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.rb-figure--soft {
  max-width: 720px;
  margin-top: 40px;
  opacity: 0.9;
}

.rb-record {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto 28px;
}

.rb-record-hub {
  background: var(--ribaso-ink);
  color: var(--ribaso-paper);
  border-radius: 22px;
  padding: 28px 22px;
  text-align: center;
}

.rb-record-hub em {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5E8BFF;
  margin-bottom: 8px;
}

.rb-record-hub strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.rb-record-hub span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(244, 246, 252, 0.7);
}

.rb-record-rays {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rb-record-rays li {
  background: #fff;
  border: 1px solid var(--ribaso-line);
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  color: var(--ribaso-muted);
}

.rb-record-rays b {
  display: block;
  color: var(--ribaso-ink);
  margin-bottom: 4px;
}

.rb-search {
  max-width: 720px;
  margin: 0 auto 28px;
  background: #fff;
  border: 1px solid var(--ribaso-line);
  border-radius: 22px;
  padding: 22px;
}

.rb-search-bar {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px solid var(--ribaso-line);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.rb-search-bar span {
  font-size: 13px;
  color: var(--ribaso-muted);
}

.rb-search-bar strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.rb-search-hits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.rb-search-hits li {
  text-align: center;
  font-size: 13px;
  color: var(--ribaso-muted);
}

.rb-search-hits b {
  display: block;
  font-size: 28px;
  color: var(--ribaso-ink);
  letter-spacing: -0.04em;
}

.rb-search-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: #8a8378;
}

.rb-product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 88px;
}

.rb-product--flip {
  grid-template-columns: 1.1fr 0.9fr;
}

.rb-product--flip .rb-product-copy {
  order: 2;
}

.rb-product-copy h3 {
  font-size: 36px;
  margin-bottom: 8px;
}

.rb-kicker {
  font-weight: 600;
  margin-bottom: 12px !important;
}

.rb-product-copy p,
.rb-product-copy li {
  color: var(--ribaso-muted);
  line-height: 1.5;
}

.rb-product-copy ul {
  list-style: none;
  padding: 12px 0 18px;
  margin: 0;
}

.rb-product-copy li {
  padding: 6px 0 6px 18px;
  position: relative;
}

.rb-product-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ribaso-accent);
}

.rb-price-hint {
  font-size: 14px;
  margin-bottom: 18px !important;
}

.rb-product-shot {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ribaso-line);
  box-shadow: 0 20px 50px rgba(22, 20, 18, 0.1);
}

.rb-stages {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 32px 0 0;
}

.rb-stages li {
  font-size: 15px;
  color: var(--ribaso-muted);
}

.rb-stages strong {
  display: block;
  color: var(--ribaso-ink);
  font-size: 18px;
  margin-bottom: 6px;
}

.rb-find {
  max-width: 640px;
  margin: 0 auto 40px;
}

.rb-find > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(244, 246, 252, 0.12);
}

.rb-find dt {
  font-weight: 500;
}

.rb-find dd {
  margin: 0;
  color: #5E8BFF;
  font-weight: 650;
}

.rb-memory {
  font-family: "Plus Jakarta Sans", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0;
}

.rb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.rb-split .rb-head {
  margin: 0;
  text-align: left;
}

.rb-split .rb-chapter-label,
.rb-split .rb-statement {
  text-align: left;
}

.rb-dialogue p {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--ribaso-muted);
}

.rb-dialogue .is-answer {
  margin-top: 22px;
  color: var(--ribaso-ink);
  font-size: 20px;
}

.rb-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.rb-trust article {
  border-top: 1px solid var(--ribaso-line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  min-height: 148px;
}

.rb-trust h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.rb-trust p {
  color: var(--ribaso-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.rb-india {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.rb-india li {
  border: 1px solid var(--ribaso-line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
}

.rb-enterprise,
.rb-final {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.rb-enterprise p,
.rb-final p {
  color: var(--ribaso-muted);
  font-size: 18px;
}

.price-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 12px;
}

.price-toggle button {
  border: 1px solid var(--ribaso-line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--ribaso-muted);
  min-height: 44px;
}

.price-toggle button.is-on {
  background: var(--ribaso-ink);
  color: #fff;
  border-color: var(--ribaso-ink);
}

.seat-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 8px 0 32px;
  color: var(--ribaso-muted);
  font-weight: 600;
}

.seat-row button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--ribaso-line);
  background: #fff;
  font-size: 18px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--ribaso-line);
  border-radius: 22px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.plan-card.is-featured {
  border-color: var(--ribaso-accent);
  box-shadow: 0 18px 40px rgba(47, 111, 237, 0.1);
}

.plan-card .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ribaso-accent);
  margin-bottom: 8px;
}

.plan-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.plan-card .price {
  font-size: 34px;
  letter-spacing: -0.04em;
  margin: 12px 0 4px;
  font-weight: 700;
}

.plan-card .price small {
  font-size: 13px;
  color: var(--ribaso-muted);
  font-weight: 500;
}

.plan-card ul {
  list-style: none;
  padding: 14px 0 20px;
  margin: 0;
  flex: 1;
}

.plan-card li {
  padding: 6px 0 6px 16px;
  position: relative;
  color: var(--ribaso-muted);
  font-size: 14px;
}

.plan-card a.header-btn2 {
  margin-top: auto;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ribaso-accent);
}

.gst-note,
.compare-note {
  text-align: center;
  color: var(--ribaso-muted);
  font-size: 14px;
  margin-top: 18px;
}

.rb-footer {
  background: #fff;
  border-top: 1px solid var(--ribaso-line);
  padding: 64px 0 32px;
}

.rb-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.rb-footer h3 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rb-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rb-footer li {
  margin: 0 0 8px;
}

.rb-footer a {
  color: var(--ribaso-muted);
  text-decoration: none;
}

.rb-footer a:hover {
  color: var(--ribaso-ink);
}

.rb-footer p {
  color: var(--ribaso-muted);
  margin: 12px 0 0;
  max-width: 28ch;
}

.rb-footer-line {
  font-weight: 600;
  color: var(--ribaso-ink) !important;
}

.rb-copy {
  margin-top: 40px !important;
  font-size: 13px;
}

.page-main {
  padding: 120px 0 80px;
}

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--ribaso-line);
}

.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 6px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--ribaso-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}

.form-card .error {
  color: #e24b4b;
  font-size: 14px;
  margin-top: 12px;
}

.quote-box {
  background: var(--ribaso-paper);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.inner-hero {
  padding: 40px 0 10px;
  text-align: center;
}

.inner-hero h2 {
  font-size: 40px;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

@media (max-width: 1199px) {
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rb-trust,
  .rb-search-hits,
  .rb-stages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 72px;
    overflow-x: clip;
  }

  body.rb-story {
    overflow-x: clip !important;
  }

  .rb-hero {
    padding-top: 96px;
    min-height: 0;
  }

  .rb-hero-copy h1 {
    font-size: 40px;
  }

  .rb-hero-product {
    width: 100%;
    max-height: 52vh;
  }

  .rb-hero-product img {
    width: 160%;
    max-width: none;
    margin-left: -30%;
  }

  .rb-product,
  .rb-product--flip,
  .rb-record,
  .rb-split,
  .rb-footer-grid {
    grid-template-columns: 1fr;
  }

  .rb-product--flip .rb-product-copy {
    order: 0;
  }

  .rb-split .rb-head,
  .rb-split .rb-chapter-label,
  .rb-split .rb-statement {
    text-align: center;
  }

  .plan-grid,
  .rb-trust,
  .rb-search-hits,
  .rb-stages {
    grid-template-columns: 1fr;
  }

  .rb-section {
    padding: 56px 0;
  }

  .rb-head {
    margin-bottom: 28px;
  }

  .rb-head h2,
  .rb-enterprise h2,
  .rb-final h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .rb-head p {
    font-size: 16px;
  }

  .form-card {
    padding: 22px 18px;
  }

  .inner-hero h2 {
    font-size: 32px;
  }
}
