/* Ritmel public marketing system.
   The shared shell is rendered by /js/marketing-shell.js on every page. */

body.ritmel-marketing {
  --rm-ink: #111827;
  --rm-muted: #64748b;
  --rm-line: #dce4f0;
  --rm-blue: #2868ef;
  --rm-indigo: #5e5ce6;
  --rm-pale: #f3f7ff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #f9fbff;
  color: var(--rm-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body.ritmel-marketing a { color: inherit; text-decoration: none; }
body.ritmel-marketing button { font: inherit; }
body.ritmel-marketing > main { flex: 1; overflow: hidden; }

.ritmel-shell-frame,
.ritmel-page-frame {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ritmel-shell-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(17, 24, 39, .08);
  background: rgba(249, 251, 255, .88);
  backdrop-filter: blur(18px) saturate(150%);
}

.ritmel-shell-header-inner {
  display: grid;
  grid-template-columns: minmax(176px, 1fr) auto minmax(176px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.ritmel-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.ritmel-brand img { width: 32px; height: 32px; border-radius: 9px; }
.ritmel-brand strong { display: block; color: #182236; font-size: 17px; font-weight: 820; letter-spacing: -.03em; }
.ritmel-brand small { display: block; margin-top: 3px; color: #94a0b1; font-size: 8px; font-weight: 820; letter-spacing: .16em; }

.ritmel-shell-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 6px;
}

.ritmel-shell-nav a {
  padding: 8px 11px;
  border-radius: 9px;
  color: #65748a;
  font-size: 13px;
  font-weight: 760;
  transition: background .15s ease, color .15s ease;
}

.ritmel-shell-nav a:hover { color: #1c2940; background: #eef3fb; }
.ritmel-shell-nav a.active { color: #235fcf; background: #e8f0ff; }

.ritmel-shell-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  color: #65748a;
  font-size: 13px;
  font-weight: 760;
}

.ritmel-shell-actions > a:first-child:hover { color: #24324a; }

.ritmel-store-button,
.ritmel-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 11px;
  background: var(--rm-blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 790;
  box-shadow: 0 9px 20px rgba(40, 104, 239, .18);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.ritmel-store-button svg,
.ritmel-primary-button svg { width: 16px; height: 16px; stroke-width: 2.3; }
.ritmel-store-button:hover,
.ritmel-primary-button:hover { background: #1658d9; transform: translateY(-1px); box-shadow: 0 13px 25px rgba(40, 104, 239, .25); }

.ritmel-page { padding: clamp(70px, 9vw, 126px) 0 clamp(78px, 10vw, 140px); }
.ritmel-page-with-hero { padding: 0; }
.ritmel-how-page,
.ritmel-features-page { padding: 0; }
.ritmel-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 19px; color: #49627f; font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.ritmel-eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--rm-indigo); box-shadow: 0 0 0 5px rgba(94, 92, 230, .11); content: ""; }
.ritmel-display { margin: 0; color: var(--rm-ink); font-size: clamp(46px, 6vw, 76px); font-weight: 800; letter-spacing: -.065em; line-height: .99; }
.ritmel-display span { color: var(--rm-blue); }
.ritmel-intro { max-width: 570px; margin: 27px 0 0; color: var(--rm-muted); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.58; }
.ritmel-page-heading { max-width: 780px; }
.ritmel-page-heading .ritmel-display { font-size: clamp(46px, 5.6vw, 70px); }

.ritmel-page-hero { position: relative; overflow: hidden; padding: clamp(76px, 9vw, 122px) 0 clamp(78px, 9vw, 116px); background: linear-gradient(135deg, #fbfdff, #f1f6ff 64%, #f8f7ff); border-bottom: 1px solid rgba(91, 125, 184, .12); }
.ritmel-page-hero::after { position: absolute; right: -8%; bottom: -56%; width: 62vw; height: 62vw; border: 1px solid rgba(54, 105, 220, .08); border-radius: 50%; content: ""; pointer-events: none; }
.ritmel-page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .74fr); align-items: center; gap: clamp(56px, 9vw, 120px); }
.ritmel-page-hero-copy { max-width: 700px; }
.ritmel-page-hero .ritmel-display { font-size: clamp(50px, 5.9vw, 76px); }
.ritmel-page-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 31px; }
.ritmel-page-hero-rail { padding-left: 29px; border-left: 1px solid #cbd9ed; }
.ritmel-hero-rail-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #58719a; font-size: 10px; font-weight: 850; letter-spacing: .13em; }

.ritmel-how-hero { padding: clamp(82px, 10vw, 132px) 0 0; background: #fff; border-bottom: 1px solid #dfe7f2; }
.ritmel-how-hero-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .45fr); align-items: end; gap: clamp(60px, 10vw, 150px); }
.ritmel-how-hero-copy { max-width: 760px; }
.ritmel-how-hero-copy .ritmel-display { font-size: clamp(50px, 5.8vw, 78px); }
.ritmel-how-hero-note { max-width: 310px; padding: 0 0 8px 29px; border-left: 1px solid #cbd9ed; }
.ritmel-how-hero-note-label,
.ritmel-features-hero-note-label { display: block; color: #58719a; font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.ritmel-how-hero-note p,
.ritmel-features-hero-note p { margin: 17px 0 0; color: #64748b; font-size: 15px; line-height: 1.6; }
.ritmel-how-hero-note-index,
.ritmel-features-hero-note-index { display: block; margin-top: 25px; color: #8194b0; font-family: var(--font-mono); font-size: 11px; font-weight: 800; }
.ritmel-how-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(70px, 8vw, 106px) 0 0; padding: 0; border-top: 1px solid #cbd9ed; list-style: none; }
.ritmel-how-process li { display: grid; grid-template-columns: 43px 30px minmax(0, 1fr); align-content: start; gap: 16px; min-height: 190px; padding: 28px 30px 30px 0; border-right: 1px solid #cbd9ed; }
.ritmel-how-process li + li { padding-left: 29px; }
.ritmel-how-process li:last-child { border-right: 0; }
.ritmel-how-process-index { color: #91a3bc; font-family: var(--font-mono); font-size: 11px; font-weight: 800; }
.ritmel-how-process li > svg { width: 23px; height: 23px; color: #9aabc3; stroke-width: 1.9; }
.ritmel-how-process li.is-active .ritmel-how-process-index,
.ritmel-how-process li.is-active > svg { color: var(--rm-blue); }
.ritmel-how-process strong { display: block; color: #22314a; font-size: 20px; letter-spacing: -.04em; }
.ritmel-how-process p { margin: 8px 0 0; color: #64748b; font-size: 14px; line-height: 1.5; }
.ritmel-how-process small { display: block; margin-top: 20px; color: #6a7fa1; font-size: 11px; font-weight: 760; }

.ritmel-features-hero { padding: clamp(82px, 10vw, 126px) 0 0; background: #eff4fc; border-bottom: 1px solid #d7e1ef; }
.ritmel-features-hero-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .45fr); align-items: end; gap: clamp(60px, 10vw, 150px); }
.ritmel-features-hero-copy { max-width: 790px; }
.ritmel-features-hero-copy .ritmel-display { font-size: clamp(48px, 5.6vw, 74px); }
.ritmel-features-hero-note { max-width: 310px; padding: 0 0 8px 29px; border-left: 1px solid #bfcfe5; }
.ritmel-feature-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(65px, 8vw, 102px); border-top: 1px solid #bdcde3; }
.ritmel-feature-board article { min-height: 190px; padding: 27px 28px 28px 0; border-right: 1px solid #bdcde3; }
.ritmel-feature-board article + article { padding-left: 27px; }
.ritmel-feature-board article:last-child { border-right: 0; }
.ritmel-feature-board-index { display: block; color: #2e6bdc; font-family: var(--font-mono); font-size: 11px; font-weight: 800; }
.ritmel-feature-board article > svg { width: 24px; height: 24px; margin-top: 29px; color: #2e6bdc; stroke-width: 1.8; }
.ritmel-feature-board h2 { margin: 19px 0 6px; color: #202d42; font-size: 19px; letter-spacing: -.04em; }
.ritmel-feature-board p { margin: 0; color: #6d7a8c; font-size: 13px; line-height: 1.5; }
.ritmel-offer-hero-rail { padding-left: 29px; }
.ritmel-offer-hero-lead { margin-top: 28px; color: #1f438e; font-size: clamp(29px, 3.1vw, 42px); font-weight: 820; letter-spacing: -.065em; line-height: 1.02; }
.ritmel-offer-hero-rail p { max-width: 300px; margin: 15px 0 0; color: #64748b; font-size: 15px; line-height: 1.55; }
.ritmel-offer-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ritmel-offer-hero-tags span { padding: 7px 10px; border: 1px solid #ccdaef; border-radius: 999px; color: #5d7395; font-size: 11px; font-weight: 760; }

.ritmel-home-hero {
  position: relative;
  padding: clamp(72px, 10vw, 132px) 0 clamp(86px, 10vw, 132px);
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 42%, rgba(94, 92, 230, .13), transparent 23%),
    radial-gradient(circle at 16% 0%, rgba(40, 104, 239, .1), transparent 26%),
    linear-gradient(135deg, #fbfdff, #f1f6ff 61%, #f8f7ff);
}

.ritmel-home-hero::before {
  position: absolute;
  top: 38px;
  left: 50%;
  width: min(1070px, 88vw);
  height: min(620px, 58vw);
  border: 1px solid rgba(54, 105, 220, .08);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.ritmel-home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, .78fr);
  align-items: center;
  gap: clamp(54px, 9vw, 126px);
}

.ritmel-home-copy { max-width: 630px; }
.ritmel-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 19px; margin-top: 31px; }
.ritmel-primary-button { min-height: 52px; padding: 0 20px; font-size: 14px; }
.ritmel-text-link { display: inline-flex; align-items: center; gap: 8px; color: #2d405e; font-size: 14px; font-weight: 780; }
.ritmel-text-link svg { width: 16px; height: 16px; color: #577298; }
.ritmel-purchase-note { display: flex; flex-wrap: wrap; gap: 8px 17px; margin: 26px 0 0; padding: 0; color: #718096; font-size: 12px; font-weight: 680; list-style: none; }
.ritmel-purchase-note li { display: inline-flex; align-items: center; gap: 5px; }
.ritmel-purchase-note svg { width: 14px; height: 14px; color: #3274ec; stroke-width: 3; }

.ritmel-hero-visual {
  position: relative;
  width: min(100%, 430px);
  margin-left: auto;
  padding-top: 13px;
}

.ritmel-hero-visual-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; margin-bottom: 40px; }
.ritmel-visual-kicker { margin: 0; color: #2b5fc9; font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.ritmel-visual-note { max-width: 245px; margin: 12px 0 0; color: #6c7d96; font-size: 14px; line-height: 1.55; }
.ritmel-visual-mark { display: grid; width: 60px; height: 60px; flex: 0 0 auto; place-items: center; border: 1px solid #cad8ee; border-radius: 18px; background: rgba(255, 255, 255, .68); box-shadow: 0 15px 28px rgba(57, 86, 133, .1); }
.ritmel-visual-mark img { width: 38px; height: 38px; border-radius: 11px; }
.ritmel-rhythm-map { position: relative; }
.ritmel-rhythm-map::before { position: absolute; top: 36px; bottom: 36px; left: 17px; width: 1px; background: linear-gradient(#b8cef5, #d9e3f3); content: ""; }
.ritmel-rhythm-list { margin: 0; padding: 0; list-style: none; }
.ritmel-rhythm-step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: center; gap: 17px; min-height: 92px; padding: 18px 0; }
.ritmel-rhythm-step + .ritmel-rhythm-step { border-top: 1px solid rgba(188, 208, 238, .68); }
.ritmel-rhythm-node { z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #bcd1f4; border-radius: 50%; background: #f2f6fe; color: #5472a4; font-family: var(--font-mono); font-size: 10px; font-weight: 800; }
.ritmel-rhythm-step.is-active .ritmel-rhythm-node { border-color: var(--rm-blue); background: var(--rm-blue); color: #fff; box-shadow: 0 0 0 6px rgba(40, 104, 239, .1); }
.ritmel-rhythm-copy strong { display: block; color: #22314a; font-size: 18px; letter-spacing: -.035em; }
.ritmel-rhythm-copy span { display: block; margin-top: 5px; color: #718096; font-size: 13px; line-height: 1.45; }
.ritmel-rhythm-step > svg { width: 18px; height: 18px; color: #9aabc3; stroke-width: 1.9; }
.ritmel-rhythm-step.is-active .ritmel-rhythm-copy strong,
.ritmel-rhythm-step.is-active > svg { color: #2868ef; }
.ritmel-hero-visual-caption { margin: 27px 0 0 53px; color: #7187b5; font-size: 12px; }

.ritmel-section { padding: clamp(78px, 9vw, 126px) 0; background: #fff; }
.ritmel-section-tight { padding: clamp(68px, 8vw, 104px) 0; }
.ritmel-section-compact { padding-top: clamp(62px, 7vw, 96px); }
.ritmel-section.soft { background: #eff4fc; }
.ritmel-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 52px; margin-bottom: 54px; }
.ritmel-section-heading > div { max-width: 660px; }
.ritmel-section-heading > div .ritmel-eyebrow { margin-bottom: 16px; }
.ritmel-section-heading h2 { max-width: 630px; margin: 0; color: #162137; font-size: clamp(39px, 4.6vw, 60px); font-weight: 790; letter-spacing: -.06em; line-height: 1.01; }
.ritmel-section-heading > p { max-width: 330px; margin: 0 0 4px; color: var(--rm-muted); font-size: 15px; line-height: 1.65; }

.ritmel-story-steps { margin: 0; padding: 0; border-top: 1px solid var(--rm-line); list-style: none; }
.ritmel-story-steps li { display: grid; grid-template-columns: 48px 30px minmax(0, 1fr) auto; align-items: center; gap: 20px; min-height: 118px; padding: 21px 0; border-bottom: 1px solid var(--rm-line); }
.ritmel-story-step-index { color: #95a6bd; font-family: var(--font-mono); font-size: 11px; font-weight: 800; }
.ritmel-story-steps li > svg { width: 24px; height: 24px; color: var(--rm-blue); stroke-width: 1.8; }
.ritmel-story-steps h3 { margin: 0 0 7px; color: #202d42; font-size: 19px; letter-spacing: -.035em; }
.ritmel-story-steps p { max-width: 600px; margin: 0; color: #6d7a8c; font-size: 14px; line-height: 1.55; }
.ritmel-story-step-tag { color: #6a7fa1; font-size: 11px; font-weight: 760; }

.ritmel-process { border-top: 1px solid var(--rm-line); }
.ritmel-process article { display: grid; grid-template-columns: 65px 42px minmax(0, 1fr); align-items: center; gap: 21px; min-height: 129px; border-bottom: 1px solid var(--rm-line); }
.ritmel-process em { color: #98a7bb; font-family: var(--font-mono); font-size: 12px; font-style: normal; font-weight: 800; }
.ritmel-process > article > svg { width: 26px; height: 26px; color: var(--rm-blue); stroke-width: 1.8; }
.ritmel-process h3 { margin: 0 0 7px; color: #202d42; font-size: 19px; letter-spacing: -.035em; }
.ritmel-process p { max-width: 570px; margin: 0; color: #6d7a8c; font-size: 14px; line-height: 1.55; }

.ritmel-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cdd9e9; }
.ritmel-feature-grid article { min-height: 225px; padding: 29px 30px 29px 0; border-right: 1px solid #cdd9e9; }
.ritmel-feature-grid article + article { padding-left: 28px; }
.ritmel-feature-grid article:nth-child(-n + 3) { border-bottom: 1px solid #cdd9e9; }
.ritmel-feature-grid article:nth-child(3n) { border-right: 0; }
.ritmel-feature-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; }
.ritmel-feature-icon svg { width: 21px; height: 21px; }
.ritmel-feature-icon.blue { background: #e5f0ff; color: #2d70ea; }
.ritmel-feature-icon.indigo { background: #eeebff; color: #6758df; }
.ritmel-feature-icon.purple { background: #f4eafd; color: #a253d2; }
.ritmel-feature-grid h3 { margin: 28px 0 9px; color: #202d42; font-size: 19px; letter-spacing: -.035em; }
.ritmel-feature-grid p { max-width: 260px; margin: 0; color: #6d7a8c; font-size: 14px; line-height: 1.6; }

.ritmel-cta-band { padding: 0 0 clamp(76px, 9vw, 120px); background: #fff; }
.ritmel-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 42px; padding: clamp(38px, 6vw, 66px); overflow: hidden; border-radius: 26px; background: linear-gradient(135deg, #101827, #24355e); color: #fff; box-shadow: 0 22px 50px rgba(25, 42, 75, .16); }
.ritmel-cta-card h2 { max-width: 650px; margin: 0; color: #fff; font-size: clamp(37px, 4.2vw, 57px); font-weight: 790; letter-spacing: -.06em; line-height: 1.02; }
.ritmel-cta-card .ritmel-eyebrow { color: #a9c1ff; }
.ritmel-cta-card .ritmel-eyebrow::before { background: #9bb8ff; box-shadow: 0 0 0 5px rgba(155,184,255,.12); }
.ritmel-cta-card .ritmel-primary-button { flex: 0 0 auto; background: #fff; color: #1d438f !important; box-shadow: none; }
.ritmel-cta-card .ritmel-primary-button:hover { background: #eaf1ff; box-shadow: none; }

.ritmel-explainer-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(370px, 1.18fr); align-items: start; gap: clamp(48px, 8vw, 112px); }
.ritmel-callout { padding: 31px; border: 1px solid #d9e3f1; border-radius: 21px; background: #fff; box-shadow: 0 15px 34px rgba(47,72,110,.08); }
.ritmel-callout > span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: #e9f1ff; color: var(--rm-blue); }
.ritmel-callout > span svg { width: 21px; height: 21px; }
.ritmel-callout h2 { margin: 25px 0 9px; color: #1f2c41; font-size: 27px; letter-spacing: -.045em; }
.ritmel-callout p { margin: 0; color: #6c7a8d; font-size: 14px; line-height: 1.6; }
.ritmel-callout + .ritmel-callout { margin-top: 15px; }
.ritmel-callout.quiet { margin-left: 0; background: #f5f8fd; border-color: #d8e3f1; box-shadow: none; }
.ritmel-callout.quiet h2 { margin-top: 22px; }

.ritmel-price-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(250px, .75fr) minmax(210px, .45fr); gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(31px, 4vw, 48px); border: 1px solid #d8e3f1; border-radius: 24px; background: linear-gradient(135deg, #fff, #f2f6ff); }
.ritmel-price-layout h3 { margin: 0; color: #1b273b; font-size: clamp(30px, 3.6vw, 48px); font-weight: 790; letter-spacing: -.06em; line-height: 1.02; }
.ritmel-price-layout p { max-width: 420px; margin: 19px 0 0; color: #66758a; font-size: 15px; line-height: 1.6; }
.ritmel-price-includes { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ritmel-price-includes li { display: flex; align-items: center; gap: 10px; color: #354866; font-size: 13px; font-weight: 720; line-height: 1.35; }
.ritmel-price-includes svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--rm-blue); stroke-width: 2.3; }
.ritmel-price-side { display: grid; justify-items: start; gap: 17px; }
.ritmel-price { display: grid; gap: 4px; }
.ritmel-price .ritmel-price-badge { color: #2868ef; font-size: 11px; font-weight: 800; letter-spacing: .01em; }
.ritmel-price strong { color: #1f3e86; font-size: 43px; letter-spacing: -.06em; }
.ritmel-price span, .ritmel-price-side small { color: #718097; font-size: 12px; font-weight: 680; }

.ritmel-shell-footer { margin-top: auto; border-top: 1px solid #dfe6ef; background: #f8fafc; }
.ritmel-shell-footer-inner { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(105px, .6fr)); gap: 36px; min-height: 212px; padding: 40px 0; }
.ritmel-footer-brand p { max-width: 250px; margin: 15px 0; color: #748195; font-size: 13px; line-height: 1.55; }
.ritmel-footer-copy { color: #9aa6b5; font-size: 11px; }
.ritmel-footer-nav { display: grid; align-content: start; gap: 9px; color: #768397; font-size: 12px; font-weight: 650; }
.ritmel-footer-nav strong { margin-bottom: 2px; color: #344156; font-size: 12px; font-weight: 830; }
.ritmel-footer-nav a:hover { color: #245dcb; }

@media (max-width: 900px) {
  .ritmel-shell-header-inner { grid-template-columns: 1fr auto; min-height: 66px; }
  .ritmel-shell-nav { grid-column: 1 / -1; justify-self: stretch; order: 3; overflow-x: auto; padding: 0 0 11px; }
  .ritmel-home-hero-grid,
  .ritmel-page-hero-grid,
  .ritmel-how-hero-head,
  .ritmel-features-hero-head,
  .ritmel-explainer-grid,
  .ritmel-price-layout { grid-template-columns: 1fr; }
  .ritmel-home-copy { max-width: 680px; }
  .ritmel-page-hero-rail { max-width: 560px; margin-top: 12px; }
  .ritmel-how-hero-note,
  .ritmel-features-hero-note { max-width: 560px; margin-top: 42px; }
  .ritmel-how-process { grid-template-columns: 1fr; }
  .ritmel-how-process li,
  .ritmel-how-process li + li { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid #cbd9ed; }
  .ritmel-how-process li:last-child { border-bottom: 0; }
  .ritmel-feature-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ritmel-feature-board article:nth-child(2) { border-right: 0; }
  .ritmel-feature-board article:nth-child(-n + 2) { border-bottom: 1px solid #bdcde3; }
  .ritmel-hero-visual { margin: 0 auto; }
  .ritmel-section-heading { display: block; }
  .ritmel-section-heading h2 { margin-bottom: 20px; }
  .ritmel-explainer-grid { gap: 34px; }
  .ritmel-story-steps li { grid-template-columns: 48px 30px minmax(0, 1fr); }
  .ritmel-story-step-tag { grid-column: 3; }
  .ritmel-shell-footer-inner { grid-template-columns: 1.2fr repeat(3, minmax(80px, .6fr)); gap: 22px; }
}

@media (max-width: 640px) {
  .ritmel-shell-frame,
  .ritmel-page-frame { width: calc(100% - 32px); }
  .ritmel-shell-actions > a:first-child { display: none; }
  .ritmel-store-button { min-height: 37px; padding: 0 12px; font-size: 12px; }
  .ritmel-store-button svg { display: none; }
  .ritmel-home-hero { padding: 65px 0 78px; }
  .ritmel-page-hero { padding: 62px 0 70px; }
  .ritmel-how-hero,
  .ritmel-features-hero { padding-top: 62px; }
  .ritmel-page-hero .ritmel-display { font-size: clamp(46px, 13vw, 64px); }
  .ritmel-how-hero-copy .ritmel-display,
  .ritmel-features-hero-copy .ritmel-display { font-size: clamp(45px, 12.6vw, 64px); }
  .ritmel-display { font-size: clamp(47px, 14vw, 64px); }
  .ritmel-intro { margin-top: 23px; font-size: 17px; }
  .ritmel-home-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .ritmel-page-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .ritmel-page-hero-rail { margin-top: 17px; padding-left: 18px; }
  .ritmel-purchase-note { display: grid; gap: 8px; }
  .ritmel-section-heading { margin-bottom: 38px; }
  .ritmel-story-steps li { grid-template-columns: 34px 25px minmax(0, 1fr); align-items: start; gap: 12px; padding: 22px 0; }
  .ritmel-story-steps li > svg { margin-top: 2px; }
  .ritmel-story-step-tag { margin-top: 10px; }
  .ritmel-how-process { margin-top: 53px; }
  .ritmel-how-process li,
  .ritmel-how-process li + li { grid-template-columns: 34px 25px minmax(0, 1fr); gap: 12px; padding: 22px 0; }
  .ritmel-how-process li > svg { margin-top: 2px; }
  .ritmel-how-process small { grid-column: 3; margin-top: 11px; }
  .ritmel-feature-board { grid-template-columns: 1fr; margin-top: 52px; }
  .ritmel-feature-board article,
  .ritmel-feature-board article + article { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid #bdcde3; }
  .ritmel-feature-board article:last-child { border-bottom: 0; }
  .ritmel-process article { grid-template-columns: 34px 1fr; align-items: start; gap: 11px 15px; padding: 23px 0; }
  .ritmel-process em { grid-row: 1; }
  .ritmel-process > article > svg { grid-column: 2; grid-row: 1; }
  .ritmel-process article > div { grid-column: 2; }
  .ritmel-process h3 { margin-top: 6px; }
  .ritmel-feature-grid { grid-template-columns: 1fr; }
  .ritmel-feature-grid article,
  .ritmel-feature-grid article + article { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid #d7e0ec; }
  .ritmel-feature-grid article:last-child { border-bottom: 0; }
  .ritmel-feature-grid h3 { margin-top: 18px; }
  .ritmel-callout.quiet { margin-left: 0; }
  .ritmel-cta-card { display: grid; justify-items: start; gap: 31px; padding: 36px 28px; border-radius: 21px; }
  .ritmel-shell-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding: 32px 0; }
  .ritmel-footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .ritmel-store-button,
  .ritmel-primary-button { transition: none; }
}
