:root {
  --ink: #171720;
  --text: #29293a;
  --muted: #6c6f83;
  --soft: #f8f5ff;
  --white: #fff;
  --purple: #7350e6;
  --purple-deep: #5832d8;
  --pink: #d97cf0;
  --yellow: #ffcf5a;
  --orange: #ff8a2a;
  --lime: #c7f84d;
  --green: #28c76f;
  --red: #ec4e62;
  --line: rgba(115, 80, 230, 0.14);
  --line-strong: rgba(115, 80, 230, 0.24);
  --shadow-sm: 0 14px 36px rgba(52, 36, 112, 0.08);
  --shadow-md: 0 24px 64px rgba(52, 36, 112, 0.14);
  --shadow-lg: 0 34px 100px rgba(52, 36, 112, 0.2);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
body.mirl-v7-homepage {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 207, 90, 0.32), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(217, 124, 240, 0.28), transparent 30%),
    linear-gradient(180deg, #fffdfa 0%, #f7f3ff 42%, #fff 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body.mirl-v7-homepage::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(115, 80, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 80, 230, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--purple-deep);
  color: #fff;
  border-radius: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0 10px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 45px rgba(52, 36, 112, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(from 140deg, var(--yellow), var(--pink), var(--purple), var(--yellow));
  box-shadow: 0 12px 28px rgba(115, 80, 230, 0.22);
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  color: #5c5f73;
  font-size: 14px;
  font-weight: 800;
}

.nav a:not(.nav-cta):hover {
  color: var(--purple-deep);
}

.nav .menu,
.nav > ul {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-cta {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  color: #fff;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  box-shadow: 0 14px 26px rgba(88, 50, 216, 0.24);
}

.v7-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(115, 80, 230, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--purple-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

body.v7-nav-open {
  overflow: hidden;
}

.hero {
  padding: 78px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(115, 80, 230, 0.16);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(52, 36, 112, 0.06);
  color: var(--purple-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(40, 199, 111, 0.14);
}

h1 {
  margin: 24px 0 18px;
  color: var(--ink);
  font-size: clamp(48px, 7.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 900;
  text-wrap: balance;
}

.grad {
  color: transparent;
  background: linear-gradient(100deg, #191923 8%, var(--purple-deep) 42%, #f76a0c 76%, #191923 98%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
}

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

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 17px;
  font-weight: 900;
  font-size: 15px;
  transition: 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  box-shadow: 0 18px 34px rgba(88, 50, 216, 0.28);
}

.secondary {
  color: var(--purple-deep);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(115, 80, 230, 0.18);
  box-shadow: 0 14px 30px rgba(52, 36, 112, 0.08);
}

.delete-card {
  position: relative;
  min-height: 500px;
  border-radius: 44px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.delete-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -190px;
  top: -180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(217, 124, 240, 0.34), transparent 66%);
}

.delete-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -150px;
  bottom: -160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 207, 90, 0.4), transparent 70%);
}

.phone {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: min(330px, 100%);
  border-radius: 38px;
  padding: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 239, 255, 0.88));
  box-shadow: 0 28px 70px rgba(52, 36, 112, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.86);
  transform: rotate(2deg);
}

.screen {
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(115, 80, 230, 0.1);
}

.screen-head {
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 207, 90, 0.78), transparent 34%),
    linear-gradient(135deg, #24104f, var(--purple), var(--orange));
}

.screen-head small {
  display: block;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.84;
}

.screen-head h3 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.screen-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.setting-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border-radius: 20px;
  background: #faf7ff;
  border: 1px solid rgba(115, 80, 230, 0.1);
}

.setting-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--purple-deep);
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(52, 36, 112, 0.06);
}

.setting-row b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 2px;
}

.setting-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.delete-button {
  margin-top: 4px;
  padding: 15px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #c7384d);
  font-weight: 900;
  text-align: center;
}

.mini-note {
  padding: 14px;
  border-radius: 20px;
  background: rgba(199, 248, 77, 0.24);
  border: 1px solid rgba(72, 142, 0, 0.16);
  color: #496500;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.floating-note {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 34px;
  width: 210px;
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.floating-note b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.floating-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  padding: 82px 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--purple-deep);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

h2 {
  margin: 24px 0 16px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
  text-wrap: balance;
}

.section-head p {
  margin: 0 auto;
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  padding: 30px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  right: -115px;
  top: -125px;
  background: radial-gradient(circle, rgba(217, 124, 240, 0.24), transparent 68%);
}

.step > * {
  position: relative;
}

.num {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff3bf, var(--yellow));
  color: #6a4300;
  font-weight: 900;
}

.step h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px !important;
  align-items: stretch !important;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 34px !important;
  border-radius: 36px !important;
  background: #fff !important;
  border: 1px solid rgba(115, 80, 230, 0.12) !important;
  box-shadow: var(--shadow-md) !important;
}

.panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -130px;
  top: -140px;
  background: radial-gradient(circle, rgba(217, 124, 240, 0.22), transparent 70%);
}

.panel.yellow::before {
  background: radial-gradient(circle, rgba(255, 207, 90, 0.32), transparent 70%);
}

.panel > * {
  position: relative;
}

.panel .label {
  display: inline-flex !important;
  width: max-content !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 13px !important;
  margin: 0 0 18px !important;
  border-radius: 999px !important;
  background: #f7f2ff !important;
  color: var(--purple-deep) !important;
  border: 1px solid rgba(115, 80, 230, 0.14) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  position: relative !important;
}

.panel h3 {
  margin: 0 0 14px !important;
  color: var(--ink) !important;
  font-size: clamp(32px, 3.7vw, 48px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  position: relative !important;
}

.panel p {
  margin: 0 !important;
  max-width: 460px !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  position: relative !important;
}

.list {
  display: grid;
  gap: 10px !important;
  margin-top: 24px !important;
  position: relative !important;
}

.list-item {
  display: grid !important;
  grid-template-columns: 30px 1fr !important;
  gap: 13px !important;
  align-items: start !important;
  padding: 14px !important;
  border-radius: 19px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(115, 80, 230, 0.1) !important;
  box-shadow: 0 10px 24px rgba(52, 36, 112, 0.05) !important;
  color: #55596e !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
}

.check,
.xmark {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.check {
  background: rgba(199, 248, 77, 0.4);
  color: #2f6b00;
}

.xmark {
  background: rgba(236, 78, 98, 0.12);
  color: #b5283b;
}

.timeline-card {
  border-radius: 42px;
  padding: 44px;
  background: #171225;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  right: -190px;
  top: -230px;
  background: radial-gradient(circle, rgba(115, 80, 230, 0.86), transparent 66%);
}

.timeline-card::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  left: -150px;
  bottom: -190px;
  background: radial-gradient(circle, rgba(255, 207, 90, 0.42), transparent 70%);
}

.timeline-card > * {
  position: relative;
  z-index: 1;
}

.timeline-card h2 {
  color: #fff;
  text-align: center;
  margin-top: 0;
}

.timeline-card .intro {
  max-width: 720px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

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

.time {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.time b {
  display: block;
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.time span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.58;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.faq h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.faq p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq a {
  color: var(--purple-deep);
  font-weight: 900;
}

.finale {
  padding: 72px 0 98px;
}

.finale-box {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  padding: 64px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 207, 90, 0.58), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(217, 124, 240, 0.56), transparent 34%),
    linear-gradient(135deg, #1f073f 0%, #643ee0 48%, #f76a0c 100%);
  box-shadow: 0 36px 110px rgba(88, 50, 216, 0.28);
}

.finale-box h2 {
  color: #fff;
  margin: 0 auto 16px;
  max-width: 860px;
  font-size: clamp(42px, 6vw, 76px);
}

.finale-box p {
  max-width: 690px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.72;
}

.finale-actions {
  display: flex;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
}

.btn-light {
  background: #fff;
  color: var(--purple-deep);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.footer {
  padding: 32px 0 54px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid rgba(115, 80, 230, 0.12);
  padding-top: 24px;
}

.footer .brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo .custom-logo-link,
.brand-logo--footer .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo--footer .custom-logo {
  max-width: 96px !important;
  max-height: 24px !important;
}

.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in-view {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .v7-nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 30;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.nav-cta) {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
  }

  .nav a:not(.nav-cta):hover {
    background: rgba(115, 80, 230, 0.08);
  }

  .nav .nav-cta {
    width: 100%;
    margin-top: 4px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .steps,
  .timeline,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .delete-card {
    min-height: auto;
  }

  .floating-note {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .topbar {
    padding-top: 10px;
  }

  .topbar-inner,
  .nav {
    border-radius: 24px;
  }

  .topbar-inner {
    gap: 10px;
  }

  .brand {
    font-size: 18px;
  }

  html,
  body {
    min-height: 100% !important;
    overflow-x: hidden !important;
  }

  main,
  .hero,
  .section,
  .finale {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .hero {
    padding: 48px 0 46px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 76px);
    line-height: 1;
    letter-spacing: -0.038em;
  }

  .lead {
    font-size: 18px;
    line-height: 1.65;
  }

  .actions .btn,
  .finale-actions .btn {
    width: 100%;
  }

  .delete-card {
    padding: 16px;
    border-radius: 34px;
    margin-top: 14px;
  }

  .phone {
    width: min(310px, 94vw);
    transform: rotate(0);
  }

  .floating-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 14px;
  }

  .section {
    padding: 64px 0;
  }

  .step,
  .panel {
    padding: 28px;
    border-radius: 30px;
  }

  .timeline-card {
    padding: 32px 22px;
    border-radius: 34px;
  }

  .panel {
    padding: 26px !important;
    border-radius: 30px !important;
  }

  .panel h3 {
    font-size: clamp(32px, 10.8vw, 44px) !important;
    line-height: 1.02 !important;
  }

  .panel p {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .list-item {
    padding: 13px !important;
  }

  .finale-box {
    padding: 42px 22px;
    border-radius: 32px;
  }

  .footer-inner {
    display: grid;
  }
}
