:root {
  --rm-ink: #111827;
  --rm-muted: #5b6472;
  --rm-line: #d9e2ec;
  --rm-bg: #f6f8fb;
  --rm-surface: #ffffff;
  --rm-blue: #2563eb;
  --rm-cyan: #06b6d4;
  --rm-green: #16a34a;
  --rm-dark: #0b1220;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--rm-ink);
  background: var(--rm-bg);
}

a {
  color: var(--rm-blue);
}

.rm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid rgba(217, 226, 236, 0.8);
  backdrop-filter: blur(14px);
}

.rm-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rm-ink);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0;
}

.rm-brand:hover {
  color: var(--rm-ink);
  text-decoration: none;
}

.rm-brand__mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rm-blue), var(--rm-cyan));
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: 0;
}

.rm-nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.rm-nav__links a {
  color: var(--rm-muted);
  font-weight: 700;
}

.rm-nav__links a:hover {
  color: var(--rm-blue);
  text-decoration: none;
}

.rm-hero {
  padding: 92px 0 78px;
  background:
    linear-gradient(130deg, rgba(11, 18, 32, 0.94), rgba(17, 24, 39, 0.78)),
    url("../images/mackbook-bg.png") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.rm-hero h1,
.rm-section h2,
.rm-cta h2,
.rm-legal-hero h1 {
  letter-spacing: 0;
}

.rm-hero h1 {
  color: #fff;
  font-size: 54px;
  line-height: 1.08;
  margin: 0 0 22px;
}

.rm-lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.rm-eyebrow {
  color: var(--rm-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rm-device {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-device img {
  max-height: 520px;
  max-width: 86%;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, 0.35));
}

.rm-player {
  position: absolute;
  right: 8px;
  bottom: 56px;
  width: min(320px, 72%);
  padding: 20px;
  color: var(--rm-ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.rm-player strong,
.rm-player p {
  display: block;
}

.rm-player__label {
  color: var(--rm-green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rm-player__bar {
  height: 8px;
  margin: 16px 0 12px;
  background: #e6edf5;
  border-radius: 999px;
  overflow: hidden;
}

.rm-player__bar span {
  display: block;
  width: 64%;
  height: 100%;
  background: linear-gradient(90deg, var(--rm-blue), var(--rm-cyan));
}

.rm-player p {
  color: var(--rm-muted);
  margin: 0;
}

.rm-section {
  padding: 88px 0;
  background: var(--rm-surface);
}

.rm-section--split {
  background: #eef4fb;
}

.rm-section h2,
.rm-cta h2 {
  color: var(--rm-ink);
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.rm-section__intro {
  color: var(--rm-muted);
  font-size: 18px;
  line-height: 1.7;
}

.rm-card-grid {
  margin-top: 42px;
}

.rm-card,
.rm-step {
  height: 100%;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.rm-card .icon {
  color: var(--rm-blue);
}

.rm-card h3,
.rm-step h3 {
  color: var(--rm-ink);
  margin-top: 18px;
  margin-bottom: 12px;
}

.rm-card p,
.rm-step p,
.rm-section p {
  color: var(--rm-muted);
}

.rm-feature-image {
  border-radius: 8px;
  filter: drop-shadow(0 22px 38px rgba(15, 23, 42, 0.18));
}

.rm-feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.rm-feature-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--rm-ink);
  font-weight: 700;
}

.rm-feature-list i {
  width: 28px;
  color: var(--rm-green);
  font-size: 20px;
  line-height: 1.4;
}

.rm-steps {
  margin-top: 42px;
}

.rm-step span {
  color: var(--rm-blue);
  font-weight: 900;
  font-size: 14px;
}

.rm-cta {
  padding: 86px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--rm-blue), #0f766e);
}

.rm-cta h2,
.rm-cta p,
.rm-cta .rm-eyebrow {
  color: #fff;
}

.rm-cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.rm-footer {
  padding: 56px 0 42px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--rm-dark);
}

.rm-footer h4 {
  color: #fff;
  margin-bottom: 16px;
}

.rm-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.rm-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
}

.rm-footer a:hover {
  color: #fff;
}

.rm-brand--footer {
  color: #fff;
  margin-bottom: 18px;
}

.rm-brand--footer:hover {
  color: #fff;
}

.rm-legal-hero {
  padding: 74px 0 46px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.95), rgba(37, 99, 235, 0.8)),
    url("../images/gradient-image-bg.png") center/cover no-repeat;
}

.rm-legal-hero h1 {
  color: #fff;
  margin-bottom: 12px;
}

.rm-legal-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.rm-legal {
  padding: 58px 0 82px;
  background: var(--rm-bg);
}

.rm-legal__content {
  padding: 44px;
  background: #fff;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.rm-legal__content h2 {
  color: var(--rm-ink);
  margin-top: 34px;
  margin-bottom: 12px;
}

.rm-legal__content h2:first-child {
  margin-top: 0;
}

.rm-legal__content p,
.rm-legal__content li {
  color: var(--rm-muted);
  line-height: 1.75;
}

.rm-legal__content ul {
  padding-left: 22px;
  margin-bottom: 22px;
}

.rm-updated {
  display: inline-flex;
  padding: 8px 12px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .rm-hero {
    padding-top: 68px;
  }

  .rm-hero h1 {
    font-size: 42px;
  }

  .rm-device {
    min-height: 440px;
    margin-top: 34px;
  }

  .rm-player {
    right: 28px;
  }

  .rm-card,
  .rm-step {
    margin-bottom: 22px;
  }
}

@media (max-width: 767px) {
  .rm-nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .rm-nav__links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .rm-nav__links a {
    font-size: 14px;
  }

  .rm-hero h1 {
    font-size: 34px;
  }

  .rm-section h2,
  .rm-cta h2 {
    font-size: 30px;
  }

  .rm-device {
    min-height: 390px;
  }

  .rm-player {
    left: 16px;
    right: 16px;
    bottom: 22px;
    width: auto;
  }

  .rm-legal__content {
    padding: 26px;
  }
}
