/* This stylesheet is loaded only by /ritmi/. Other product pages keep site.css. */
.landing { --page:#080c1b; --muted:#a5b2cf; background:var(--page); color:#f1f4ff; font-family:var(--font-sans); overflow-wrap:break-word; }
.landing h1,.landing h2,.landing h3,.landing p { margin:0; }
.landing a { text-decoration:none; }
.landing img { max-width:100%; display:block; }
.landing :focus-visible { outline:2px solid #8cdff2; outline-offset:5px; }
.wrap { max-width:1200px; margin-inline:auto; padding-inline:clamp(16px,4vw,28px); }
.ritmi-hero { position:relative; background:radial-gradient(ellipse at 85% 40%,#42389838,transparent 60%); }
.hero-grid { display:flex; flex-wrap:wrap; align-items:center; gap:clamp(28px,4vw,48px); padding-block:clamp(24px,4vw,48px) 44px; }
.hero-copy { flex:1.15 1 440px; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:20px; }
.parent-link { font-size:11px; color:#8c9dbb; min-height:44px; display:flex; align-items:center; gap:10px; }
.overline { display:block; color:#9cadff; font-size:11px; line-height:1.7; font-weight:600; letter-spacing:.04em; }
.overline i { display:inline-block; width:6px; height:6px; border-radius:50%; background:#91dce4; margin-right:5px; }
.hero-copy h1 { font-size:clamp(34px,4.3vw,56px); font-weight:750; line-height:1.23; letter-spacing:-.04em; }
.hero-copy h1 span { color:#a49bff; }
.hero-copy>p { color:var(--muted); font-size:clamp(15px,1.4vw,17px); line-height:1.85; max-width:490px; }
.actions { display:flex; flex-wrap:wrap; gap:12px; width:100%; margin-top:4px; }
.action { min-height:52px; display:inline-flex; align-items:center; justify-content:center; gap:18px; padding:12px 20px; font-size:13px; font-weight:650; border-radius:12px; transition:background .2s,transform .2s; text-align:center; }
.action:hover { transform:translateY(-2px); }
.action-primary { background:#b6aaff; color:#191337; }
.action-primary:hover { background:#cec6ff; color:#191337; }
.action-secondary { color:#d4dcf0; border:1px solid #a5b6ef35; background:#11182a; }
.action-secondary:hover { background:#1c2540; color:white; }
.hero-note { display:flex; gap:8px; align-items:center; font-size:11px; line-height:1.7; color:#96a9c5; max-width:440px; }
.hero-note img { width:20px; height:20px; flex:none; }
.hero-scene { flex:1 1 350px; min-width:0; display:flex; flex-direction:column; align-items:center; gap:18px; }
.scene-orbit { position:absolute; z-index:-1; width:92%; max-width:420px; aspect-ratio:1; top:10%; border:1px solid #a39efa24; border-radius:50%; background:radial-gradient(circle,#7160e321,transparent 65%); }
.scene-orbit::before { content:''; position:absolute; inset:35px; border:1px dashed #87b8ef20; border-radius:50%; }
.hero-phone { width:58%; max-width:220px; height:auto; border-radius:26px; box-shadow:0 20px 60px #0006; border:1px solid #bfb5ff40; }
.hero-mascot { position:absolute; width:27%; max-width:120px; height:auto; bottom:0; left:0; filter:drop-shadow(0 10px 25px #5a53f344); }
.scene-chip { min-width:0; background:#111a2a; border:1px solid #afa7ff26; border-radius:14px; display:flex; gap:10px; align-items:center; padding:14px 12px; }
.scene-chip img { width:32px; height:32px; object-fit:contain; flex:none; }
.scene-chip strong { display:block; font-size:12px; line-height:1.6; color:#e2e3fc; }
.scene-chip span { display:block; font-size:10px; line-height:1.7; margin-top:3px; color:#a5b2cc; }


.section { padding-block:clamp(60px,7vw,96px); }
.section-heading { display:flex; align-items:flex-end; flex-wrap:wrap; justify-content:space-between; gap:24px; margin-bottom:36px; }
.section-heading h2,.premium-panel h2,.help-panel h2 { font-size:clamp(26px,3.1vw,38px); line-height:1.35; letter-spacing:-.035em; margin-top:12px; }
.section-heading>p { font-size:13px; line-height:1.85; color:var(--muted); }
.subject-grid { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); list-style:none; gap:12px; margin:0; padding:0; }
.subject-grid li { min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; background:linear-gradient(150deg,#141d32,#0e1425); border:1px solid #b4bafb16; border-radius:18px; padding:20px 8px; }
.subject-grid img { width:84px; height:84px; object-fit:contain; }
.subject-grid span { font-size:12px; color:#c4cee8; text-align:center; }
.learning-section { background:#0c1123; border-block:1px solid #a7baff12; }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.feature { display:flex; flex-direction:column; overflow:hidden; background:#131a30; border:1px solid #a7baff18; border-radius:22px; min-width:0; }
.feature-copy { padding:26px 24px 22px; }
.feature-number { display:block; color:#9daced; font-size:10px; margin-bottom:20px; }
.feature h3 { font-size:clamp(21px,2vw,24px); letter-spacing:-.025em; line-height:1.5; }
.feature p { font-size:13px; line-height:1.9; color:#acb9d3; margin-top:16px; }
.feature-path { background:linear-gradient(160deg,#172442,#10192e); }
.feature-mistakes { background:linear-gradient(160deg,#201b3b,#14172d); }
.feature-essay { background:linear-gradient(160deg,#142940,#111b2e); }
.path-art,.essay-art,.errors-art { width:100%; max-width:250px; height:100%; max-height:250px; object-fit:contain; padding:12px; }
.benefit-row { display:flex; flex-wrap:wrap; gap:26px; margin-top:30px; }
.benefit-row>div { flex:1 1 300px; display:flex; align-items:center; gap:18px; padding:16px 0; }
.benefit-row img { width:60px; height:60px; object-fit:contain; }
.benefit-row span { font-size:12px; line-height:1.8; color:#9fafd0; }
.benefit-row strong { display:block; color:#dfe6f8; font-size:14px; margin-bottom:4px; }
.premium-panel { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); align-items:center; gap:clamp(28px,4vw,48px); padding:clamp(24px,4vw,48px); border:1px solid #b5a1fc40; border-radius:26px; background:radial-gradient(ellipse at 90% 15%,#7857c428,transparent 70%),#13162d; }
.premium-copy { min-width:0; }
.premium-copy>p { font-size:14px; line-height:1.9; color:#aebbd5; margin-top:20px; }
.premium-copy ul { list-style:none; padding:0; margin:24px 0; display:flex; flex-direction:column; gap:12px; font-size:12px; color:#cec9ee; }
.premium-copy li::before { content:'✓'; color:#a8dace; margin-right:10px; }
.premium-price { min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding-block:20px; border-left:1px solid #b5a1fc26; }
.premium-price img { width:125px; height:125px; object-fit:contain; margin-bottom:12px; }
.premium-price>span { font-size:12px; color:#bcb6e0; }
.premium-price strong { font-size:58px; letter-spacing:-.05em; margin-block:10px; }
.premium-price small { font-size:24px; }
.premium-price p { font-size:11px; color:#99a4c2; line-height:1.9; margin-top:22px; }
.help-panel { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; padding-bottom:80px; }
.help-panel h2 { font-size:clamp(23px,3vw,32px); }
.landing .site-footer { border-top:1px solid #b4bafb16; background:#070b17; }
@media(prefers-reduced-motion:reduce) { .action { transition:none; } .action:hover { transform:none; } }
/* The shared footer's credit is inline; enlarge its hit area on this page. */
.landing .site-footer a { min-height:44px; display:inline-flex; align-items:center; color:inherit; }

/* Match the existing product navigation; styles stay local to the landing. */
.landing .site-header { position:sticky; top:0; z-index:200; }
.landing .site-header a { color:inherit; }
.landing .site-header .s0-hover:hover { color:#fff!important; }
.landing .site-header a[aria-current="page"] { background:rgba(140,160,255,.1); }
.parent-link:hover { color:#fff; }
.phone-stage { position:relative; isolation:isolate; width:100%; max-width:440px; display:flex; justify-content:center; padding:16px 24px 22px; }
.scene-notes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; max-width:480px; gap:12px; }
.feature-art { margin-top:auto; height:260px; display:flex; justify-content:center; align-items:center; }
/* Keep eight subjects in complete rows and the three features together. */
@media (max-width:1100px) {
  .subject-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:960px) {
  .hero-grid { flex-direction:column; align-items:stretch; gap:28px; }
  .hero-copy,.hero-scene { flex-basis:auto; }
  .hero-copy { max-width:600px; }
  .hero-scene { width:100%; max-width:480px; align-self:center; }
  .feature-grid { grid-template-columns:minmax(0,1fr); }
  .feature { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:center; }
  .feature-copy { padding:28px; }
  .feature-art { margin-top:0; height:270px; }
}
@media (max-width:600px) {
  .hero-copy { gap:18px; }
  .hero-copy .parent-link { min-height:44px; }
  .hero-copy h1 { font-size:clamp(31px,8.7vw,44px); }
  .actions .action { flex:1 1 100%; }
  .scene-notes { grid-template-columns:minmax(0,1fr); gap:8px; }
  .scene-chip { padding:12px 16px; }
  .scene-chip>div { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; }
  .scene-chip span { margin-top:0; }
  .subject-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .subject-grid li { flex-direction:row; justify-content:flex-start; gap:8px; padding:14px 10px; }
  .subject-grid img { width:clamp(34px,10vw,48px); height:auto; flex:none; }
  .subject-grid span { font-size:11px; text-align:left; }
  .section { padding-block:52px; }
  .section-heading { gap:16px; margin-bottom:26px; }
  .section-heading h2,.premium-panel h2 { font-size:clamp(25px,6.8vw,32px); }
  .feature { display:flex; }
  .feature-copy { padding:24px 22px 14px; }
  .feature-art { height:230px; width:100%; }
  .feature h3 br { display:none; }
  .premium-panel { grid-template-columns:minmax(0,1fr); gap:24px; }
  .premium-price { border-left:0; border-top:1px solid #b5a1fc26; padding-top:28px; }
  .premium-copy .action { width:100%; }
  .help-panel { padding-bottom:52px; }
}

/* The phone menu lives in site.css — every RITMI page has it, not just this one. */
/* Restore the original platform buttons in an explicit pre-launch state. */
.store-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; width:100%; max-width:400px; margin-top:4px; }
.store-button { min-height:64px; min-width:0; padding:12px clamp(12px,2vw,22px); display:flex; align-items:center; justify-content:center; gap:12px; border:1px solid #ffffff18; border-radius:16px; font-family:inherit; color:#fff; opacity:1; -webkit-text-fill-color:currentColor; text-align:left; cursor:default; }
.store-button--apple { background:linear-gradient(90deg,#2563eb,#7c3aed); box-shadow:0 10px 26px #3b82f626; }
.store-button--google { background:linear-gradient(90deg,#0891b2,#0ea5e9 65%,#38bdf8); box-shadow:0 10px 26px #0ea5e926; }
.store-button svg { width:24px; height:26px; flex:none; }
.store-button>span { display:flex; flex-direction:column; gap:3px; }
.store-button small { font-size:11px; font-weight:500; color:#f0f5ff; }
.store-button strong { font-size:clamp(14px,2vw,17px); font-weight:700; white-space:nowrap; }
.hero-copy .launch-note { margin-top:-8px; font-size:12px; line-height:1.7; color:#b8c6e7; }
.hero-explore { min-height:44px; display:inline-flex; align-items:center; gap:12px; color:#a9c7ff; font-size:13px; }
.hero-explore:hover { color:#d4e5ff; }
/* Three complete, colorful tiles keep the key benefits easy to scan. */
.facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding-block:12px 32px; }
.fact { min-width:0; min-height:112px; display:flex; align-items:center; gap:18px; padding:22px; border:1px solid; border-radius:20px; }
.fact>img { width:62px; height:62px; flex:none; object-fit:contain; }
.fact__copy { min-width:0; display:flex; flex-direction:column; gap:7px; }
.fact strong { display:block; font-size:clamp(22px,2.2vw,30px); line-height:1.3; letter-spacing:-.02em; white-space:nowrap; }
.fact small { font-size:14px; }
.fact__label { font-size:12px; line-height:1.7; color:#c2cee8; }
.fact--subjects { background:linear-gradient(125deg,#103743,#12233b); border-color:#39c9eb45; }
.fact--subjects strong { color:#67e8f9; }
.fact--subjects:hover { border-color:#67e8f9aa; }
.fact--time { background:linear-gradient(125deg,#202953,#251d43); border-color:#9980ff55; }
.fact--time strong { color:#c4b5fd; }
.fact--pace { background:linear-gradient(125deg,#392839,#242035); border-color:#f0b76345; }
.fact--pace strong { color:#fbd38d; }
@media (max-width:960px) {
  .fact { padding:18px 14px; gap:10px; }
  .fact>img { width:42px; height:42px; }
  .fact strong { font-size:22px; }
}
@media (max-width:600px) {
  .facts { grid-template-columns:minmax(0,1fr); gap:12px; padding-bottom:4px; }
  .fact { min-height:96px; padding:18px 22px; gap:20px; }
  .fact>img { width:56px; height:56px; }
  .fact strong { font-size:26px; }
  .fact__label { font-size:13px; }
  .store-actions { gap:10px; }
  .store-button { gap:8px; padding-inline:12px; }
}
/* Equal visual weight for the original portrait artwork's transparent margins. */
.feature-art { overflow:hidden; }
.errors-art { height:340px; max-height:none; max-width:100%; padding:0; }
/* RITMI's cyan, blue, and violet stay luminous against the dark hero. */
.hero-copy h1 .hero-title__line { display:block; width:fit-content; max-width:100%; padding-bottom:.05em; background:linear-gradient(105deg,#67e8f9 2%,#60a5fa 50%,#c084fc 100%); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; }
.hero-copy h1 .hero-title__line--accent { background-image:linear-gradient(100deg,#22d3ee 0%,#818cf8 52%,#d8b4fe 100%); }
@media (forced-colors:active) { .hero-copy h1 .hero-title__line { background:none; color:CanvasText; -webkit-text-fill-color:CanvasText; } }
