/* Splash: a colorful skin on top of Periwinkle.
   Pages carry data-theme="periwinkle" (so every Periwinkle rule applies) and
   data-skin="splash"; every rule here is scoped to the skin. The home page has
   its own templates (templates/themes/splash/landing.html and features.html):
   every feature gets a card with a detailed "glass UI" scene of the product
   (templates/themes/splash/scenes/), and each home feature its own accent. */

html[data-skin="splash"] {
  --sp-ink: #2a2457;
  --sp-navy: #17143a;
  --sp-muted: #5a5f7a;
  --sp-line: #e7e5f3;
}

/* one accent family per feature: panel gradient, readable accent, light tint */
html[data-skin="splash"] .tone-violet { --a: #6248e8; --t: #f3f0ff; --g1: #c9bfff; --g2: #efeaff; }
html[data-skin="splash"] .tone-blue   { --a: #1a62bd; --t: #eef6ff; --g1: #9fcbff; --g2: #e6f2ff; }
html[data-skin="splash"] .tone-mint   { --a: #0f7f63; --t: #ebfaf4; --g1: #9eeccc; --g2: #e8fbf3; }
html[data-skin="splash"] .tone-peach  { --a: #a8480b; --t: #fff4ea; --g1: #ffc596; --g2: #fff0e2; }
html[data-skin="splash"] .tone-yellow { --a: #8a6100; --t: #fffae6; --g1: #ffe17a; --g2: #fff8da; }
html[data-skin="splash"] .tone-pink   { --a: #c8336a; --t: #fff0f6; --g1: #ffb3cf; --g2: #ffeef5; }
html[data-skin="splash"] .tone-teal   { --a: #0e7889; --t: #e9f8fb; --g1: #a6e6f0; --g2: #e6f8fb; }

html[data-skin="splash"] .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── page background: soft color splashes ─────────────────────────────── */
html[data-skin="splash"] .sp-bg {
  position: absolute; left: 0; right: 0; top: 0; height: 1100px; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(520px 340px at 12% 8%, rgba(201, 191, 255, .55), transparent 70%),
    radial-gradient(460px 320px at 88% 4%, rgba(255, 179, 207, .45), transparent 70%),
    radial-gradient(560px 360px at 70% 42%, rgba(159, 203, 255, .40), transparent 70%),
    radial-gradient(520px 320px at 20% 48%, rgba(255, 225, 122, .35), transparent 70%),
    #fff;
}

/* ── hero ─────────────────────────────────────────────────────────────── */
html[data-skin="splash"] .sp-hero { padding: 64px 0 8px; text-align: center; position: relative; }
html[data-skin="splash"] .sp-hero .ch-chip { margin-bottom: 18px; }
html[data-skin="splash"] .sp-hero h1 {
  font-family: Sora, Inter, sans-serif; font-weight: 800; letter-spacing: -.035em; line-height: 1.04;
  font-size: clamp(40px, 6.2vw, 76px); max-width: 980px; margin: 0 auto 18px; color: var(--sp-ink);
}
html[data-skin="splash"] .sp-grad {
  background: linear-gradient(95deg, #6248e8 0%, #c8336a 45%, #f08a24 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-skin="splash"] .sp-hero .hero-sub { max-width: 640px; margin: 0 auto 30px; font-size: 18px; color: var(--sp-muted); }
html[data-skin="splash"] .sp-hero .hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

/* the dark pill button with a soft rainbow glow underneath */
html[data-skin="splash"] .sp-cta {
  position: relative; z-index: 0; display: inline-flex; align-items: center; gap: 8px;
  background: var(--sp-navy); color: #fff; border-radius: 999px; padding: 16px 32px;
  font: 700 16px/1 Sora, Inter, sans-serif; text-decoration: none; transition: transform .15s ease;
}
html[data-skin="splash"] .sp-cta::after {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -10px; height: 26px; border-radius: 999px;
  background: linear-gradient(90deg, #8f7bff, #ff8fb8, #ffc24b, #7fe0bd, #7cb8ff); filter: blur(14px); opacity: .9;
}
html[data-skin="splash"] .sp-cta:hover { transform: translateY(-2px); color: #fff; }
html[data-skin="splash"] .sp-ghost {
  display: inline-flex; align-items: center; background: #fff; color: var(--sp-ink); border: 1.5px solid var(--sp-line);
  border-radius: 999px; padding: 15px 28px; font: 600 16px/1 Sora, Inter, sans-serif; text-decoration: none;
}
html[data-skin="splash"] .sp-ghost:hover { border-color: #c9c3ee; color: var(--sp-ink); }

/* ── feature card rail ────────────────────────────────────────────────── */
html[data-skin="splash"] .sp-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 360px; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; text-align: left;
  padding: 10px max(24px, calc((100vw - 1240px) / 2)) 30px; scroll-padding: 0 max(24px, calc((100vw - 1240px) / 2));
}
html[data-skin="splash"] .sp-rail::-webkit-scrollbar { display: none; }
html[data-skin="splash"] .sp-rail:focus-visible { outline: 3px solid #8f7bff; outline-offset: -3px; border-radius: 28px; }

/* slider controls (js/rail-slider.js): arrows in the gutters, a fade on the edge that has more */
html[data-skin="splash"] .sp-slider { position: relative; --sp-gutter: max(24px, calc((100vw - 1240px) / 2)); }
html[data-skin="splash"] .sp-slider.is-ready .sp-rail {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--sp-fade-l, 56px), #000 calc(100% - var(--sp-fade-r, 56px)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--sp-fade-l, 56px), #000 calc(100% - var(--sp-fade-r, 56px)), transparent 100%);
}
html[data-skin="splash"] .sp-slider.at-start { --sp-fade-l: 0px; }
html[data-skin="splash"] .sp-slider.at-end { --sp-fade-r: 0px; }
html[data-skin="splash"] .sp-slider.is-dragging .sp-rail { scroll-snap-type: none; cursor: grabbing; user-select: none; }
html[data-skin="splash"] .sp-slider.is-ready .sp-rail { cursor: grab; }
html[data-skin="splash"] .sp-slide-btn {
  position: absolute; z-index: 2; top: calc(50% - 26px); width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--sp-line); background: #fff; color: var(--sp-ink); cursor: pointer; padding: 0;
  box-shadow: 0 12px 26px -14px rgba(42, 36, 87, .55); transition: transform .15s ease, box-shadow .15s ease;
}
html[data-skin="splash"] .sp-slide-btn[hidden] { display: none; }
html[data-skin="splash"] .sp-slide-btn svg { width: 22px; height: 22px; }
html[data-skin="splash"] .sp-slide-btn:hover { transform: scale(1.06); box-shadow: 0 16px 30px -14px rgba(42, 36, 87, .6); }
html[data-skin="splash"] .sp-slide-btn:focus-visible { outline: 3px solid #8f7bff; outline-offset: 2px; }
html[data-skin="splash"] .sp-slide-btn.prev { left: max(8px, calc(var(--sp-gutter) - 60px)); }
html[data-skin="splash"] .sp-slide-btn.next { right: max(8px, calc(var(--sp-gutter) - 60px)); }
html[data-skin="splash"] .sp-card {
  scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sp-line);
  border-radius: 24px; padding: 20px 18px 18px; text-decoration: none; color: var(--sp-ink);
  box-shadow: 0 14px 34px -22px rgba(42, 36, 87, .35); transition: transform .18s ease, box-shadow .18s ease;
}
html[data-skin="splash"] .sp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(42, 36, 87, .45); color: var(--sp-ink); }
html[data-skin="splash"] .sp-card h3 { font: 700 19px/1.2 Sora, Inter, sans-serif; margin: 0 0 4px; color: var(--sp-ink); letter-spacing: -.01em; }
html[data-skin="splash"] .sp-card p { margin: 0 0 14px; font-size: 14px; color: var(--sp-muted); min-height: 2.6em; }
html[data-skin="splash"] .sp-card .sc-panel { margin-top: auto; }

/* ── feature deep dives ───────────────────────────────────────────────── */
html[data-skin="splash"] .sp-intro { padding: 70px 0 0; text-align: center; }
html[data-skin="splash"] .sp-intro h2 { font: 800 clamp(30px, 4vw, 46px)/1.1 Sora, Inter, sans-serif; letter-spacing: -.03em; margin: 0 0 10px; color: var(--sp-ink); }
html[data-skin="splash"] .sp-intro p { color: var(--sp-muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
html[data-skin="splash"] .sp-feature { padding: 64px 0 0; scroll-margin-top: 80px; position: relative; }
html[data-skin="splash"] .sp-anchor { position: absolute; top: -80px; }
html[data-skin="splash"] .sp-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
html[data-skin="splash"] .sp-feature.flip .sp-feature-pic { order: 2; }
html[data-skin="splash"] .sp-feature-pic { width: 100%; max-width: 600px; justify-self: center; }
html[data-skin="splash"] .sp-feature-pic .sc-panel { border-radius: 28px; box-shadow: 0 24px 50px -30px rgba(42, 36, 87, .45); }
html[data-skin="splash"] .sp-kicker {
  display: inline-block; background: var(--t); color: var(--a); border-radius: 999px; padding: 7px 14px;
  font: 700 13px/1 Sora, Inter, sans-serif; letter-spacing: .02em; margin-bottom: 14px;
}
html[data-skin="splash"] .sp-feature-copy h2 { font: 800 clamp(28px, 3.4vw, 42px)/1.1 Sora, Inter, sans-serif; letter-spacing: -.03em; margin: 0 0 14px; color: var(--sp-ink); }
html[data-skin="splash"] .sp-feature-copy > p { font-size: 17px; color: var(--sp-muted); margin: 0 0 18px; max-width: 520px; }
html[data-skin="splash"] .sp-feature-copy .note-line { font-size: 14px; }
html[data-skin="splash"] .sp-pills { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
html[data-skin="splash"] .sp-pills li { background: var(--t); color: var(--a); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; }
html[data-skin="splash"] .sp-try {
  display: inline-flex; align-items: center; border: 2px solid var(--a); color: var(--a); background: #fff; border-radius: 999px;
  padding: 11px 22px; font: 700 15px/1 Sora, Inter, sans-serif; text-decoration: none; transition: background .15s, color .15s;
}
html[data-skin="splash"] .sp-try:hover { background: var(--a); color: #fff; }

/* ── writing tools collection ─────────────────────────────────────────── */
html[data-skin="splash"] .sp-tools { padding: 96px 0 0; }
html[data-skin="splash"] .sp-tools .sh h2 { font: 800 clamp(28px, 3.6vw, 42px)/1.1 Sora, Inter, sans-serif; letter-spacing: -.03em; }
html[data-skin="splash"] .sp-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
html[data-skin="splash"] .sp-tool { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--sp-line); border-radius: 22px; padding: 20px; }
html[data-skin="splash"] .sp-tool .ic { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--t); color: var(--a); }
html[data-skin="splash"] .sp-tool .ic svg { width: 26px; height: 26px; }
html[data-skin="splash"] .sp-tool h3 { font: 700 17px/1.25 Sora, Inter, sans-serif; margin: 2px 0 6px; color: var(--sp-ink); }
html[data-skin="splash"] .sp-tool p { margin: 0; font-size: 14px; color: var(--sp-muted); }
html[data-skin="splash"] .sp-tool.t0 { --a: #6248e8; --t: #f3f0ff; }
html[data-skin="splash"] .sp-tool.t1 { --a: #1a62bd; --t: #eef6ff; }
html[data-skin="splash"] .sp-tool.t2 { --a: #0f7f63; --t: #ebfaf4; }
html[data-skin="splash"] .sp-tool.t3 { --a: #a8480b; --t: #fff4ea; }
html[data-skin="splash"] .sp-tool.t4 { --a: #c8336a; --t: #fff0f6; }
html[data-skin="splash"] .sp-tool.t5 { --a: #0e7889; --t: #e9f8fb; }
html[data-skin="splash"] .sp-tools .center-link { text-align: center; margin-top: 26px; }

/* ── closing band ─────────────────────────────────────────────────────── */
html[data-skin="splash"] .sp-cta-band {
  background: linear-gradient(120deg, #efeaff 0%, #ffeef5 35%, #fff8da 70%, #e6f2ff 100%); border: 0; position: relative; overflow: hidden;
}
html[data-skin="splash"] .sp-cta-band h2 { color: var(--sp-ink); }

/* ── phones and small tablets ─────────────────────────────────────────── */
@media (max-width: 900px) {
  html[data-skin="splash"] .sp-feature-grid { grid-template-columns: 1fr; gap: 26px; }
  html[data-skin="splash"] .sp-feature.flip .sp-feature-pic { order: 0; }
  html[data-skin="splash"] .sp-tool-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  html[data-skin="splash"] .sp-hero { padding-top: 36px; }
  html[data-skin="splash"] .sp-hero .hero-sub { font-size: 16px; }
  html[data-skin="splash"] .sp-hero .hero-cta { flex-direction: column; align-items: stretch; padding: 0 16px; }
  html[data-skin="splash"] .sp-cta, html[data-skin="splash"] .sp-ghost { justify-content: center; }
  html[data-skin="splash"] .sp-rail { grid-auto-columns: 78vw; gap: 14px; padding: 6px 16px 24px; scroll-padding: 0 16px; }
  html[data-skin="splash"] .sp-slide-btn { width: 40px; height: 40px; top: calc(50% - 22px); }
  html[data-skin="splash"] .sp-slider { --sp-fade-l: 28px; --sp-fade-r: 28px; }
  html[data-skin="splash"] .sp-slider.at-start { --sp-fade-l: 0px; }
  html[data-skin="splash"] .sp-slider.at-end { --sp-fade-r: 0px; }
  html[data-skin="splash"] .sp-feature { padding-top: 44px; }
  html[data-skin="splash"] .sp-tool-grid { grid-template-columns: 1fr; }
}

/* ── features page: one card per feature, each with its scene ─────────── */
html[data-skin="splash"] .sp-fhero { text-align: center; padding: 64px 0 8px; }
html[data-skin="splash"] .sp-fhero h1 { font: 800 clamp(34px, 5vw, 60px)/1.05 Sora, Inter, sans-serif; letter-spacing: -.035em; margin: 16px auto 16px; max-width: 900px; color: var(--sp-ink); }
html[data-skin="splash"] .sp-fhero p { font-size: 19px; color: var(--sp-muted); max-width: 640px; margin: 0 auto 26px; }
html[data-skin="splash"] .sp-fhero .hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
html[data-skin="splash"] .sp-fsec { padding: 72px 0 0; }
html[data-skin="splash"] .sp-fsec .sh h2 { font: 800 clamp(28px, 3.6vw, 40px)/1.1 Sora, Inter, sans-serif; letter-spacing: -.03em; }
html[data-skin="splash"] .sp-fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
html[data-skin="splash"] .sp-fcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sp-line); border-radius: 24px;
  padding: 22px 16px 16px; box-shadow: 0 18px 40px -30px rgba(42, 36, 87, .45); scroll-margin-top: 90px;
}
html[data-skin="splash"] .sp-fcard h3 { font: 700 21px/1.2 Sora, Inter, sans-serif; letter-spacing: -.015em; margin: 0 6px 6px; color: var(--sp-ink); }
html[data-skin="splash"] .sp-fcard > p { margin: 0 6px 16px; color: var(--sp-muted); font-size: 15px; }
html[data-skin="splash"] .sp-fcard .sc-panel { margin-top: auto; }
html[data-skin="splash"] .sp-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 26px; }
html[data-skin="splash"] .sp-why h3 { font: 700 19px/1.25 Sora, Inter, sans-serif; margin: 0 0 6px; color: var(--sp-ink); }
html[data-skin="splash"] .sp-why h3::before { content: ""; display: block; width: 36px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #6248e8, #c8336a); margin-bottom: 14px; }
html[data-skin="splash"] .sp-why p { margin: 0; color: var(--sp-muted); }
html[data-skin="splash"] .sc-panel.sc-plain { display: grid; place-items: center; }
html[data-skin="splash"] .sc-panel.sc-plain img { width: 28%; height: auto; filter: drop-shadow(0 18px 30px rgba(74, 85, 224, .35)); }
@media (max-width: 1000px) { html[data-skin="splash"] .sp-fcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  html[data-skin="splash"] .sp-fhero { padding-top: 36px; }
  html[data-skin="splash"] .sp-fcards, html[data-skin="splash"] .sp-why { grid-template-columns: 1fr; }
  html[data-skin="splash"] .sp-fcard h3 { font-size: 19px; }
}

/* ── glass UI scenes (generated from the round-4 mockups; classes are sc-*) ── */
html[data-skin="splash"] .sc-panel {container-type:inline-size;position:relative;border-radius:18px;overflow:hidden;aspect-ratio:52/34}
html[data-skin="splash"] .sc-stage {contain:layout style;position:absolute;inset:0;font-size:calc(100cqw / 52);font-family:Inter,sans-serif;color:#1f2142}
html[data-skin="splash"] .sc-g-violet {background:linear-gradient(135deg,#b7adff 0%,#d9d3ff 55%,#c4ccff 100%)}
html[data-skin="splash"] .sc-g-blue {background:linear-gradient(135deg,#8ec0ff 0%,#c9e1ff 55%,#9fb7ff 100%)}
html[data-skin="splash"] .sc-g-peach {background:linear-gradient(135deg,#ffbf8e 0%,#ffe0c4 55%,#ffcaa8 100%)}
html[data-skin="splash"] .sc-g-yellow {background:linear-gradient(135deg,#ffe07a 0%,#fff1b8 55%,#ffd88a 100%)}
html[data-skin="splash"] .sc-g-pink {background:linear-gradient(135deg,#ffaccb 0%,#ffd9e7 55%,#f7b6d6 100%)}
html[data-skin="splash"] .sc-g-teal {background:linear-gradient(135deg,#8fdbe8 0%,#d3f3f8 55%,#a8c9ff 100%)}
html[data-skin="splash"] .sc-g-mint {background:linear-gradient(135deg,#8fe3c4 0%,#cff4e6 55%,#9fd9e6 100%)}
html[data-skin="splash"] .sc-stage .sc-win {position:absolute;background:rgba(255,255,255,.9);border-radius:1.1em;box-shadow:0 .6em 2em -0.6em rgba(31,33,66,.35),inset 0 0 0 1px rgba(255,255,255,.8);padding:1.2em 1.3em;backdrop-filter:blur(6px)}
html[data-skin="splash"] .sc-stage .sc-win.sc-float {background:#fff;box-shadow:0 1em 2.4em -0.6em rgba(31,33,66,.45)}
html[data-skin="splash"] .sc-stage .sc-bar {display:flex;align-items:center;gap:.8em;margin:-0.2em 0 1em;font-size:.95em}
html[data-skin="splash"] .sc-stage .sc-dots {display:flex;gap:.35em;margin-right:.4em}
html[data-skin="splash"] .sc-stage .sc-dots i {width:.7em;height:.7em;border-radius:50%;background:#ff8f8f}
html[data-skin="splash"] .sc-stage .sc-dots i:nth-child(2) {background:#ffd36b}
html[data-skin="splash"] .sc-stage .sc-dots i:nth-child(3) {background:#7fd8a6}
html[data-skin="splash"] .sc-stage .sc-tab {padding:.35em .9em;border-radius:.6em;color:#565a7a;font-weight:600}
html[data-skin="splash"] .sc-stage .sc-tab.sc-on {background:#eceeff;color:#4a55e0}
html[data-skin="splash"] .sc-stage .sc-ttl {font:700 1.05em Sora,sans-serif}
html[data-skin="splash"] .sc-stage .sc-sel {margin-left:auto;background:#f3f3fa;border-radius:.6em;padding:.35em .8em;color:#4a4d6e;font-weight:600;font-size:.9em}
html[data-skin="splash"] .sc-stage .sc-lbl {font:700 .78em Sora,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#65688c;margin-bottom:.5em}
html[data-skin="splash"] .sc-stage .sc-lbl.sc-ac {color:#4a55e0}
html[data-skin="splash"] .sc-stage .sc-cols {display:grid;grid-template-columns:1fr 1fr;gap:.8em 1em}
html[data-skin="splash"] .sc-stage .sc-col {background:#fafaff;border:1px solid #ececf6;border-radius:.8em;padding:.9em}
html[data-skin="splash"] .sc-stage .sc-col.sc-out {background:#fff;border-color:#d9dcff;box-shadow:0 0 0 .25em #eef0ff}
html[data-skin="splash"] .sc-stage .sc-txt {font-size:1.02em;line-height:1.5;margin:0}
html[data-skin="splash"] .sc-stage .sc-txt.sc-mut {color:#565a7a}
html[data-skin="splash"] .sc-stage .sc-txt.sc-sm {font-size:.92em}
html[data-skin="splash"] .sc-stage mark {border-radius:.3em;padding:0 .15em;color:inherit}
html[data-skin="splash"] .sc-stage .sc-m1 {background:#e1dcff}
html[data-skin="splash"] .sc-stage .sc-m2 {background:#c9f1df}
html[data-skin="splash"] .sc-stage .sc-m3 {background:#ffe7a8}
html[data-skin="splash"] .sc-stage .sc-m4 {background:#ffd3e2}
html[data-skin="splash"] .sc-stage .sc-hl-r {background:#ffd0d0}
html[data-skin="splash"] .sc-stage .sc-hl-o {background:#ffe2b8}
html[data-skin="splash"] .sc-stage .sc-foot {position:absolute;left:1.3em;right:1.3em;bottom:1.1em;display:flex;gap:.6em;align-items:center}
html[data-skin="splash"] .sc-stage .sc-pill {background:#f3f3fa;border-radius:999px;padding:.4em .9em;font-size:.85em;font-weight:600;color:#4a4d6e}
html[data-skin="splash"] .sc-stage .sc-pill.sc-g {background:#e3f7ee;color:#17724a}
html[data-skin="splash"] .sc-stage .sc-btn {margin-left:auto;background:#4a55e0;color:#fff;border-radius:.7em;padding:.6em 1.1em;font:700 .9em Sora,sans-serif;display:inline-block}
html[data-skin="splash"] .sc-stage .sc-btn.sc-sm {font-size:.78em;margin:.6em 0 0}
html[data-skin="splash"] .sc-stage .sc-btn.sc-wide {display:block;text-align:center;margin:.8em 0 0}
html[data-skin="splash"] .sc-stage .sc-mono {font:600 .95em/1.55 "JetBrains Mono",monospace;margin:0;color:#565a7a}
html[data-skin="splash"] .sc-stage .sc-mono b {color:#4a55e0}
html[data-skin="splash"] .sc-stage .sc-plag {display:flex;gap:1.4em;align-items:center;margin-bottom:1em}
html[data-skin="splash"] .sc-stage .sc-ring {flex:0 0 8.5em;height:8.5em;border-radius:50%;display:grid;place-content:center;text-align:center; background:radial-gradient(closest-side,#fff 74%,transparent 75%),conic-gradient(#ff8f6b calc(var(--p)*1%),#e8f2ff 0)}
html[data-skin="splash"] .sc-stage .sc-ring b {font:800 2em Sora,sans-serif;line-height:1}
html[data-skin="splash"] .sc-stage .sc-ring small {color:#65688c;font-size:.8em}
html[data-skin="splash"] .sc-stage .sc-srcs {flex:1}
html[data-skin="splash"] .sc-stage .sc-src {display:flex;align-items:center;gap:.7em;background:#fafaff;border:1px solid #ececf6;border-radius:.7em;padding:.55em .7em;margin-bottom:.5em}
html[data-skin="splash"] .sc-stage .sc-src b {display:block;font-size:.9em}
html[data-skin="splash"] .sc-stage .sc-src small {color:#65688c;font-size:.78em}
html[data-skin="splash"] .sc-stage .sc-src .sc-pct {margin-left:auto;font:700 .9em Sora,sans-serif;color:#b23f24}
html[data-skin="splash"] .sc-stage .sc-fav {width:1.6em;height:1.6em;border-radius:.4em;flex:0 0 auto}
html[data-skin="splash"] .sc-stage .sc-fav.sc-c1 {background:#ffcf8a}
html[data-skin="splash"] .sc-stage .sc-fav.sc-c2 {background:#9fc5ff}
html[data-skin="splash"] .sc-stage .sc-drop {display:flex;gap:.9em;align-items:center;border:2px dashed #ffc49a;background:#fff8f2;border-radius:.9em;padding:.7em .9em;margin-bottom:.8em}
html[data-skin="splash"] .sc-stage .sc-drop b {display:block;font-size:.95em}
html[data-skin="splash"] .sc-stage .sc-drop small {color:#65688c;font-size:.8em}
html[data-skin="splash"] .sc-stage .sc-zip {background:#a8500c;color:#fff;font:800 .8em Sora,sans-serif;border-radius:.5em;padding:.7em .6em}
html[data-skin="splash"] .sc-stage .sc-file {display:flex;align-items:center;gap:.8em;padding:.42em 0;border-bottom:1px solid #f0eff7}
html[data-skin="splash"] .sc-stage .sc-fi {font:800 .62em Sora,sans-serif;color:#5f6388;background:#f0f1fa;border-radius:.4em;padding:.5em .45em}
html[data-skin="splash"] .sc-stage .sc-fn {flex:1}
html[data-skin="splash"] .sc-stage .sc-fn b {font-size:.85em;font-weight:600}
html[data-skin="splash"] .sc-stage .sc-prog {height:.38em;background:#f0eff7;border-radius:1em;margin-top:.3em}
html[data-skin="splash"] .sc-stage .sc-prog i {display:block;height:100%;border-radius:1em;background:linear-gradient(90deg,#ffb27a,#f08a3c)}
html[data-skin="splash"] .sc-stage .sc-st {font-size:.75em;font-weight:700;border-radius:999px;padding:.25em .7em}
html[data-skin="splash"] .sc-stage .sc-st.sc-done {background:#e3f7ee;color:#17724a}
html[data-skin="splash"] .sc-stage .sc-st.sc-rewriting {background:#fff1e4;color:#a2450a}
html[data-skin="splash"] .sc-stage .sc-st.sc-queued {background:#f3f3fa;color:#65688c}
html[data-skin="splash"] .sc-stage .sc-kv {display:flex;justify-content:space-between;font-size:.88em;padding:.35em 0;border-bottom:1px solid #f0eff7}
html[data-skin="splash"] .sc-stage .sc-kv span {color:#65688c}
html[data-skin="splash"] .sc-stage .sc-kv.sc-sm {border:0;font-size:.75em}
html[data-skin="splash"] .sc-stage .sc-modes {display:flex;flex-wrap:wrap;gap:.5em;margin-bottom:1.2em}
html[data-skin="splash"] .sc-stage .sc-mode {border:1.5px solid #ececf6;border-radius:999px;padding:.45em 1em;font-weight:600;font-size:.9em;color:#4a4d6e;background:#fff}
html[data-skin="splash"] .sc-stage .sc-mode.sc-on {background:#1f2142;color:#fff;border-color:#1f2142;box-shadow:0 .4em 1em -0.3em rgba(31,33,66,.6)}
html[data-skin="splash"] .sc-stage .sc-ba {display:grid;grid-template-columns:1fr auto 1fr;gap:.8em;align-items:center}
html[data-skin="splash"] .sc-stage .sc-side {background:#fafaff;border:1px solid #ececf6;border-radius:.8em;padding:.9em}
html[data-skin="splash"] .sc-stage .sc-side.sc-out {background:#fff;border-color:#ffe39a;box-shadow:0 0 0 .25em #fff6d6}
html[data-skin="splash"] .sc-stage .sc-arrow {font:800 1.6em Sora,sans-serif;color:#c3a23a}
html[data-skin="splash"] .sc-stage .sc-slider {height:.5em;background:linear-gradient(90deg,#ffe07a,#f0a93c);border-radius:1em;position:relative;margin:1em 0 .4em}
html[data-skin="splash"] .sc-stage .sc-slider i {position:absolute;top:50%;width:1.3em;height:1.3em;margin:-0.65em 0 0 -0.65em;border-radius:50%;background:#fff;box-shadow:0 0 0 .25em #1f2142}
html[data-skin="splash"] .sc-stage .sc-stiff {border-radius:.3em;background:#eef0f6}
html[data-skin="splash"] .sc-stage .sc-stiff .sc-txt {font-family:"JetBrains Mono",monospace;font-size:.88em}
html[data-skin="splash"] .sc-stage .sc-arrowbig {position:absolute;left:24.4em;top:11em;font:800 2.6em Sora,sans-serif;color:#d24f86}
html[data-skin="splash"] .sc-stage .sc-meter {margin-top:1em}
html[data-skin="splash"] .sc-stage .sc-meter span {font-size:.8em;font-weight:700;color:#65688c}
html[data-skin="splash"] .sc-stage .sc-bar2 {height:.6em;border-radius:1em;background:#ffe4ee;margin-top:.35em}
html[data-skin="splash"] .sc-stage .sc-bar2 i {display:block;height:100%;border-radius:1em;background:linear-gradient(90deg,#ff9ec2,#d24f86)}
html[data-skin="splash"] .sc-stage .sc-tabs2 {display:flex;gap:1em;font-size:.85em;color:#65688c;border-bottom:1px solid #ececf6;margin-bottom:.6em}
html[data-skin="splash"] .sc-stage .sc-tabs2 span {padding:.4em 0}
html[data-skin="splash"] .sc-stage .sc-tabs2 .sc-on {color:#1f2142;font-weight:700;box-shadow:inset 0 -2px #1f8a5b}
html[data-skin="splash"] .sc-stage .sc-post {padding:.75em .2em;border-bottom:1px solid #f0eff7}
html[data-skin="splash"] .sc-stage .sc-post b {display:block;font-size:.95em}
html[data-skin="splash"] .sc-stage .sc-post small {color:#65688c;font-size:.78em}
html[data-skin="splash"] .sc-stage .sc-post.sc-new {background:#effbf5;border-radius:.6em;padding:.75em .8em;border:1px solid #bfeedb}
html[data-skin="splash"] .sc-stage .sc-field {display:flex;justify-content:space-between;align-items:center;border:1px solid #ececf6;border-radius:.6em;padding:.5em .7em;margin-top:.5em;font-size:.88em}
html[data-skin="splash"] .sc-stage .sc-field span {color:#65688c}
html[data-skin="splash"] .sc-stage .sc-txt.sc-big {font-size:1.25em;line-height:1.7}
html[data-skin="splash"] .sc-stage u.sc-sq {text-decoration:underline wavy #e5484d;text-underline-offset:.25em}
html[data-skin="splash"] .sc-stage u.sc-sq.sc-b {text-decoration-color:#4a55e0}
html[data-skin="splash"] .sc-stage u.sc-sq.sc-y {text-decoration-color:#e2a93b}
html[data-skin="splash"] .sc-stage .sc-sug .sc-ok {color:#17724a}
html[data-skin="splash"] .sc-stage .sc-row2 {display:flex;gap:.6em;align-items:center;margin-top:.6em}
html[data-skin="splash"] .sc-stage .sc-row2 .sc-btn {margin:0}
html[data-skin="splash"] .sc-stage .sc-ghost {font-size:.85em;color:#65688c;font-weight:600}
html[data-skin="splash"] .sc-stage .sc-saved {display:flex;align-items:center;gap:.8em;padding:.7em .3em;border-bottom:1px solid #f0eff7}
html[data-skin="splash"] .sc-stage .sc-saved b {font-size:.95em;flex:1}
html[data-skin="splash"] .sc-stage .sc-tick {width:1.4em;height:1.4em;border-radius:.4em;border:2px solid #cfd1e6;display:grid;place-items:center;font-size:.8em;color:#fff}
html[data-skin="splash"] .sc-stage .sc-tick.sc-on {background:#4a55e0;border-color:#4a55e0}
html[data-skin="splash"] .sc-stage .sc-cat {font-size:.75em;font-weight:700;border-radius:999px;padding:.25em .7em}
html[data-skin="splash"] .sc-stage .sc-tl {display:flex;gap:.7em;padding:.4em 0;position:relative}
html[data-skin="splash"] .sc-stage .sc-tl i {width:.8em;height:.8em;border-radius:50%;background:#7b5ce6;margin-top:.35em;flex:0 0 auto;box-shadow:0 0 0 .25em #efeaff}
html[data-skin="splash"] .sc-stage .sc-tl b {display:block;font-size:.88em}
html[data-skin="splash"] .sc-stage .sc-tl small {color:#65688c;font-size:.75em}
html[data-skin="splash"] .sc-stage .sc-win.sc-code {background:#1f2142;color:#e8e9ff}
html[data-skin="splash"] .sc-stage .sc-win.sc-code pre {margin:0;font:600 .9em/1.6 "JetBrains Mono",monospace;white-space:pre-wrap}
html[data-skin="splash"] .sc-stage .sc-code .sc-k {color:#ffd36b}
html[data-skin="splash"] .sc-stage .sc-code .sc-s {color:#9fe3c4}
html[data-skin="splash"] .sc-stage .sc-code .sc-c {color:#65688c}
html[data-skin="splash"] .sc-stage .sc-code .sc-p {color:#b7adff}
html[data-skin="splash"] .sc-stage .sc-code .sc-t {color:#ff9ec2}
html[data-skin="splash"] .sc-stage .sc-ttl.sc-lt {color:#e8e9ff}
html[data-skin="splash"] .sc-stage .sc-cur {display:inline-block;width:.55em;height:1.1em;background:#ffd36b;vertical-align:middle}
html[data-skin="splash"] .sc-stage .sc-mono2 {font-family:"JetBrains Mono",monospace;font-weight:600}
html[data-skin="splash"] .sc-stage .sc-copy {color:#4a55e0}
html[data-skin="splash"] .sc-stage .sc-art-h {font:800 1.4em Sora,sans-serif;margin-bottom:.5em;position:relative}
html[data-skin="splash"] .sc-stage .sc-tag2 {display:inline-block;font:700 .55em "JetBrains Mono",monospace;background:#ffe2c9;color:#a2450a;border-radius:.4em;padding:.2em .45em;margin-right:.6em;vertical-align:middle}
html[data-skin="splash"] .sc-stage .sc-tag2.sc-in {margin:0 0 0 .4em}
html[data-skin="splash"] .sc-stage .sc-lnk {color:#4a55e0;text-decoration:underline}
html[data-skin="splash"] .sc-stage .sc-ul {margin:.6em 0 0;padding-left:1.2em;line-height:1.8}
html[data-skin="splash"] .sc-stage .sc-ul.sc-big {font-size:1.05em}
html[data-skin="splash"] .sc-stage .sc-tags {display:flex;flex-wrap:wrap;gap:.4em}
html[data-skin="splash"] .sc-stage .sc-tags span {font:700 .78em "JetBrains Mono",monospace;background:#fff1e4;color:#a2450a;border-radius:.4em;padding:.3em .5em}
html[data-skin="splash"] .sc-stage .sc-seg {display:inline-flex;background:#f3f3fa;border-radius:.7em;padding:.2em}
html[data-skin="splash"] .sc-stage .sc-seg span {padding:.35em .8em;border-radius:.55em;font-size:.85em;font-weight:600;color:#565a7a}
html[data-skin="splash"] .sc-stage .sc-seg .sc-on {background:#fff;color:#1f2142;box-shadow:0 .1em .4em rgba(31,33,66,.15)}
html[data-skin="splash"] .sc-stage .sc-code .sc-seg {background:#2c2f58}
html[data-skin="splash"] .sc-stage .sc-code .sc-seg span {color:#a8abd0}
html[data-skin="splash"] .sc-stage .sc-code .sc-seg .sc-on {background:#4a55e0;color:#fff}
html[data-skin="splash"] .sc-stage .sc-toast.sc-lt {background:#fff;color:#1f2142}
html[data-skin="splash"] .sc-stage .sc-modes.sc-sm {margin-bottom:.8em}
html[data-skin="splash"] .sc-stage .sc-modes.sc-sm .sc-mode {font-size:.8em}
html[data-skin="splash"] .sc-stage .sc-slider.sc-v {background:linear-gradient(90deg,#ffc2d8,#d24f86);margin:.6em 0 1em}
html[data-skin="splash"] .sc-stage .sc-sent {display:flex;gap:.8em;align-items:flex-start;background:#fafaff;border:1px solid #ececf6;border-radius:.8em;padding:.7em .8em;margin-bottom:.5em}
html[data-skin="splash"] .sc-stage .sc-sent .sc-n {font:800 .8em Sora,sans-serif;background:#ffe0ec;color:#d24f86;border-radius:.4em;padding:.2em .5em}
html[data-skin="splash"] .sc-stage .sc-sel.sc-l {margin-left:0}
html[data-skin="splash"] .sc-stage .sc-swap {font-weight:800;color:#4a55e0}
html[data-skin="splash"] .sc-stage .sc-langs span {display:inline-block;font-size:.82em;font-weight:600;border:1px solid #ececf6;border-radius:999px;padding:.3em .8em;margin:.2em .2em 0 0}
html[data-skin="splash"] .sc-stage .sc-langs .sc-on {background:#17724a;color:#fff;border-color:#17724a}
html[data-skin="splash"] .sc-stage .sc-row3 {display:flex;gap:.8em;margin-bottom:1em}
html[data-skin="splash"] .sc-stage .sc-field.sc-big {margin-bottom:.6em}
html[data-skin="splash"] .sc-stage .sc-grid2 {display:grid;grid-template-columns:1fr 1fr;gap:0 .6em}
html[data-skin="splash"] .sc-stage .sc-cite {margin-top:1em;background:#f6f4ff;border-left:.3em solid #7b5ce6;border-radius:.4em;padding:.8em 1em;padding-left:2.2em;text-indent:-1.2em;font-size:.95em;line-height:1.55}
html[data-skin="splash"] .sc-stage .sc-tools {display:flex;gap:.5em;margin-bottom:1em}
html[data-skin="splash"] .sc-stage .sc-tools span {background:#eef6ff;color:#1a5fbb;border-radius:.6em;padding:.4em .8em;font-size:.85em;font-weight:700}
html[data-skin="splash"] .sc-stage .sc-pages {display:grid;grid-template-columns:repeat(4,1fr);gap:.9em}
html[data-skin="splash"] .sc-stage .sc-pg {background:#fff;border:1px solid #e3e3f0;border-radius:.5em;aspect-ratio:3/4;padding:1em .8em;position:relative;box-shadow:0 .3em .8em -0.3em rgba(31,33,66,.3)}
html[data-skin="splash"] .sc-stage .sc-pg span {position:absolute;bottom:.4em;right:.6em;font-size:.75em;color:#65688c;font-weight:700}
html[data-skin="splash"] .sc-stage .sc-pg i {display:block;height:.45em;background:#e6e8f5;border-radius:1em;margin-bottom:.6em}
html[data-skin="splash"] .sc-stage .sc-pg i:first-of-type {background:#9fc5ff;width:70%}
html[data-skin="splash"] .sc-stage .sc-pg:nth-child(2) {transform:rotate(-4deg) translateY(-.4em);box-shadow:0 1em 1.6em -0.6em rgba(31,33,66,.45);border-color:#9fc5ff}
html[data-skin="splash"] .sc-stage .sc-conv {display:flex;flex-wrap:wrap;gap:.4em;align-items:center}
html[data-skin="splash"] .sc-stage .sc-conv span {font:800 .7em Sora,sans-serif;color:#fff;border-radius:.4em;padding:.45em .55em}
html[data-skin="splash"] .sc-stage .sc-conv .sc-w {background:#3b6fd8}
html[data-skin="splash"] .sc-stage .sc-conv .sc-x {background:#17724a}
html[data-skin="splash"] .sc-stage .sc-conv .sc-pp {background:#b23f24}
html[data-skin="splash"] .sc-stage .sc-conv .sc-im {background:#7b5ce6}
html[data-skin="splash"] .sc-stage .sc-conv b {font-size:.85em;margin-left:.2em}
html[data-skin="splash"] .sc-stage .sc-docthumb {background:#fff;border:1px solid #e3e3f0;border-radius:.5em;padding:1em .8em;margin-bottom:.6em}
html[data-skin="splash"] .sc-stage .sc-docthumb i {display:block;height:.45em;background:#e6e8f5;border-radius:1em;margin-bottom:.7em}
html[data-skin="splash"] .sc-stage .sc-docthumb .sc-hl {background:#ffd8a8}
html[data-skin="splash"] .sc-stage .sc-msg {border-radius:1em;padding:.7em 1em;font-size:.95em;margin-bottom:.7em;max-width:85%}
html[data-skin="splash"] .sc-stage .sc-msg.sc-me {background:#1f2142;color:#fff;margin-left:auto;border-bottom-right-radius:.3em}
html[data-skin="splash"] .sc-stage .sc-msg.sc-ai {background:#fff6ee;border:1px solid #ffe2c9;border-bottom-left-radius:.3em}
html[data-skin="splash"] .sc-stage .sc-quote {margin-top:.6em;font-size:.85em;color:#565a7a;border-left:.25em solid #f0a93c;padding-left:.6em}
html[data-skin="splash"] .sc-stage .sc-pgref {background:#a8500c;color:#fff;font-weight:700;border-radius:.4em;padding:.05em .4em;margin-left:.3em;font-size:.85em}
html[data-skin="splash"] .sc-stage .sc-ask {position:absolute;left:1.3em;right:1.3em;bottom:1.1em;display:flex;justify-content:space-between;align-items:center;border:1px solid #ececf6;border-radius:999px;padding:.5em .5em .5em 1em;color:#65688c;font-size:.9em}
html[data-skin="splash"] .sc-stage .sc-ask b {background:#a8500c;color:#fff;border-radius:50%;width:1.8em;height:1.8em;display:grid;place-items:center}
html[data-skin="splash"] .sc-stage .sc-srcdoc {display:flex;align-items:center;gap:.7em;background:#f4fbfd;border:1px solid #cdeef5;border-radius:.8em;padding:.6em .8em}
html[data-skin="splash"] .sc-stage .sc-srcdoc b {display:block;font-size:.88em}
html[data-skin="splash"] .sc-stage .sc-srcdoc small {color:#65688c;font-size:.75em}
html[data-skin="splash"] .sc-stage .sc-srcdoc .sc-pill {margin-left:auto}
html[data-skin="splash"] .sc-stage .sc-arrow.sc-sm {font-size:1em;color:#0e7889}
html[data-skin="splash"] .sc-stage .sc-spin {font:600 1.12em/1.9 "JetBrains Mono",monospace;margin:0}
html[data-skin="splash"] .sc-stage .sc-spin .sc-o {color:#7b5ce6;font-weight:800}
html[data-skin="splash"] .sc-stage .sc-spin b {background:#e1dcff;border-radius:.3em;padding:0 .2em}
html[data-skin="splash"] .sc-stage .sc-var {display:flex;gap:.6em;font-size:.82em;line-height:1.45;padding:.5em 0;border-bottom:1px solid #f0eff7}
html[data-skin="splash"] .sc-stage .sc-var span {font:800 .85em Sora,sans-serif;color:#7b5ce6}
html[data-skin="splash"] .sc-stage .sc-toast {position:absolute;background:#1f2142;color:#fff;border-radius:999px;padding:.6em 1.2em;font:700 .9em Sora,sans-serif;box-shadow:0 .8em 1.6em -0.5em rgba(31,33,66,.6)}

/* ── reduced motion: no smooth scrolling or hover lifts on the slider ── */
@media (prefers-reduced-motion: reduce) {
  html[data-skin="splash"] .sp-rail { scroll-behavior: auto; }
  html[data-skin="splash"] .sp-card, html[data-skin="splash"] .sp-slide-btn { transition: none; }
  html[data-skin="splash"] .sp-card:hover, html[data-skin="splash"] .sp-slide-btn:hover { transform: none; }
}

/* Below the fold: skip layout and paint until near the screen. */
html[data-skin="splash"] .sp-feature,
html[data-skin="splash"] .sp-tools {content-visibility:auto;contain-intrinsic-size:auto 620px;overflow-clip-margin:80px}

/* Mock-up text contrast (4.5:1). */
html[data-skin="splash"] .sc-stage .sc-code .sc-c,
html[data-skin="splash"] .sc-stage pre .sc-c {color:#9a9dc4}
html[data-skin="splash"] .sc-stage .sc-src .sc-pct {color:#b23f24}
html[data-skin="splash"] .sc-stage .sc-txt mark {color:#3f4262}
