/* JenerDev app page. Rows and real screenshots, no big boxes. */
.jd-app .jd-hero { padding-block: clamp(56px, 8vw, 112px) 0; text-align: center; }
.jd-app .jd-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgb(254 251 232 / 6%); color: var(--soft); font-size: 14px; }
.jd-app .jd-kicker svg { width: 20px; height: 20px; fill: var(--jd-orange); }
.jd-app .jd-hero h1 { font-size: clamp(42px, 6vw, 82px); max-width: 16ch; margin: 0 auto 24px; }
.jd-app .jd-lede { color: var(--soft); font-size: clamp(17px, 1.4vw, 19px); max-width: 56ch; margin: 0 auto 32px; line-height: 1.7; }
.jd-app .jd-hero .actions { justify-content: center; }
.jd-app .jd-fine { color: var(--soft); font-size: 14px; margin: 18px 0 0; opacity: .8; }

.jd-app .jd-shot { margin: 0; border-radius: 16px; overflow: hidden; background: #16120f;
  box-shadow: 0 0 0 1px rgb(254 251 232 / 9%), 0 30px 70px -30px rgb(0 0 0 / 80%); }
.jd-app .jd-shot img { display: block; width: 100%; height: auto; }
.jd-app .jd-shot-hero { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1080px;
  box-shadow: 0 0 0 1px rgb(254 251 232 / 10%), 0 40px 80px -40px rgb(0 0 0 / 90%); }

.jd-app .jd-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 56px); }
.jd-app .jd-feature + .jd-feature { border-top: 1px solid var(--line); }
.jd-app .jd-feature-reverse .jd-feature-copy { order: 2; }
.jd-app .jd-feature h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 16px; }
.jd-app .jd-feature p { color: var(--soft); max-width: 46ch; }
.jd-app .jd-note { display: flex; gap: 10px; align-items: baseline; font-size: 15px; margin-top: 18px; }
.jd-app .jd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jd-orange); flex: none; transform: translateY(-1px); }

.jd-app .jd-install-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.jd-app .jd-soft { color: var(--soft); }
.jd-app .jd-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.jd-app .jd-steps li { counter-increment: s; position: relative; padding: 18px 0 18px 52px; border-top: 1px solid var(--line); color: var(--soft); }
.jd-app .jd-steps li:last-child { border-bottom: 1px solid var(--line); }
.jd-app .jd-steps li::before { content: counter(s); position: absolute; left: 0; top: 18px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgb(217 119 87 / 14%); color: var(--jd-orange); font-weight: 600; font-size: 14px; }
.jd-app .jd-steps b { color: var(--ink); font-weight: 600; }
.jd-app .jd-steps a, .jd-app .jd-privacy p a { color: var(--link); }
.jd-app .jd-mono { font-family: var(--mono); font-size: .9em; color: var(--ink); }
.jd-app .jd-privacy h2, .jd-app .jd-install h2 { margin: 0 0 8px; }

.jd-app .jd-final-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.jd-app .jd-final-inner svg { width: 56px; height: 56px; fill: var(--jd-orange); }
.jd-app .jd-final h2 { margin: 0; }

@media (max-width: 820px) {
  .jd-app .jd-feature, .jd-app .jd-install-grid { grid-template-columns: 1fr; }
  .jd-app .jd-feature-reverse .jd-feature-copy { order: 0; }
}

/* At-a-glance strip under the hero: four facts in a row, divided by hairlines. */
.jd-app .jd-facts { padding-block: clamp(48px, 6vw, 88px) 0; }
.jd-app .jd-facts ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jd-app .jd-facts li { padding: 6px clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); display: grid; gap: 6px; justify-items: center; text-align: center; }
.jd-app .jd-facts li:first-child { border-left: 0; }
.jd-app .jd-facts b { font-family: var(--display, inherit); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.jd-app .jd-facts li:first-child b { color: var(--jd-orange); }
.jd-app .jd-facts span { color: var(--soft); font-size: 15px; line-height: 1.45; }

/* Feature tour: copy scrolls on the left while one pinned app window swaps screens on the right. */
.jd-app .jd-tour-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.jd-app .jd-tour-steps { position: relative; padding-left: 28px; }
.jd-app .jd-tour-steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.jd-app .jd-tour-steps::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: calc(var(--tour, 0) * 100%);
  background: linear-gradient(var(--jd-orange), #eda083); }
.jd-app .jd-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px;
  opacity: .35; transition: opacity .5s var(--jd-ease); }
.jd-app .jd-step.is-on { opacity: 1; }
.jd-app .jd-step-n { font-family: var(--mono, monospace); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--jd-orange); margin-bottom: 14px; }
.jd-app .jd-step h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 16px; }
.jd-app .jd-step p { color: var(--soft); max-width: 44ch; margin: 0; }
.jd-app .jd-step .jd-note { margin-top: 18px; }
.jd-app .jd-step-shot { display: none; }

.jd-app .jd-stage { position: sticky; top: calc(50vh - min(19vw, 300px)); align-self: start; margin-top: 12vh; }
.jd-app .jd-stage-frame { position: relative; aspect-ratio: 1180 / 696; border-radius: 18px; overflow: hidden; background: #16120f;
  box-shadow: 0 0 0 1px rgb(254 251 232 / 12%), inset 0 1px rgb(255 255 255 / 18%), 0 40px 80px -40px rgb(0 0 0 / 90%); }
.jd-app .jd-stage-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: scale(1.04) translateY(10px); filter: blur(6px); transition: opacity .6s var(--jd-ease), transform .9s var(--jd-spring), filter .6s var(--jd-ease); }
.jd-app .jd-stage-frame img.is-on { opacity: 1; transform: none; filter: none; }
.jd-app .jd-stage-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.jd-app .jd-stage-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgb(254 251 232 / 22%); transition: width .45s var(--jd-spring), background-color .3s; }
.jd-app .jd-stage-dots i.is-on { width: 22px; background: var(--jd-orange); }

/* The 0–10 meter: eleven cells warming from calm to urgent, one example story lit at 8. */
.jd-app .jd-meter { margin-top: 24px; max-width: 420px; }
.jd-app .jd-meter-bar { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.jd-app .jd-meter-bar i { height: 10px; border-radius: 3px; background: rgb(254 251 232 / 10%); }
.jd-app .jd-step.is-on .jd-meter-bar i { background: color-mix(in srgb, #FEFBE8 calc(100% - var(--k) * 10%), #D97757); transition: background-color .4s var(--jd-ease) calc(var(--k) * 45ms); }
.jd-app .jd-meter-bar i.is-hit { position: relative; }
.jd-app .jd-step.is-on .jd-meter-bar i.is-hit { box-shadow: 0 0 0 2px #17130f, 0 0 0 3px var(--jd-orange); }
.jd-app .jd-meter-ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--soft); }

@media (max-width: 820px) {
  .jd-app .jd-facts ul { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .jd-app .jd-facts li:nth-child(3) { border-left: 0; }
  .jd-app .jd-tour-grid { grid-template-columns: 1fr; }
  .jd-app .jd-stage { display: none; }
  .jd-app .jd-step { min-height: 0; opacity: 1; padding-block: 36px; }
  .jd-app .jd-step-shot { display: block; margin: 24px 0 0; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgb(254 251 232 / 10%), 0 24px 50px -24px rgb(0 0 0 / 80%); }
  .jd-app .jd-step-shot img { display: block; width: 100%; height: auto; }
}

/* Close-up: one real story at full size, then two more screens side by side. */
.jd-app .jd-closeup { margin: 0 0 clamp(24px, 3vw, 40px); border-radius: 18px; overflow: hidden; background: #1d1813;
  box-shadow: 0 0 0 1px rgb(254 251 232 / 12%), inset 0 1px rgb(255 255 255 / 14%); }
.jd-app .jd-closeup img { display: block; width: 100%; height: auto; }
.jd-app .jd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.jd-app .jd-shot img { transition: transform .6s var(--jd-ease); }
.jd-app .jd-shot:hover img { transform: scale(1.02); }
@media (max-width: 820px) { .jd-app .jd-pair { grid-template-columns: 1fr; } }
/* Marketing visuals, built in HTML so they stay sharp: an alert, the private password check, a fake link. */
.jd-app .jd-promo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.jd-app .jd-promo h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.025em; line-height: 1.2; margin: 26px 0 10px; }
.jd-app .jd-promo p { color: var(--soft); margin: 0; max-width: 40ch; }
.jd-app .jd-art { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; display: grid; place-items: center; padding: 8%;
  background: radial-gradient(90% 80% at 30% 20%, #5a3525, transparent 70%), radial-gradient(80% 90% at 90% 100%, #3b2418, transparent 70%), #1d1712;
  box-shadow: inset 0 1px rgb(255 255 255 / 10%), inset 0 0 0 1px rgb(254 251 232 / 7%); transition: transform .35s var(--jd-spring); }
.jd-app .jd-promo:hover .jd-art { transform: translateY(-2px); }
.jd-app .jd-art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(140deg, rgb(255 255 255 / 9%), transparent 35%); }
/* glass card used by all three */
.jd-app .jd-toast, .jd-app .jd-field, .jd-app .jd-url, .jd-app .jd-flags li {
  background: linear-gradient(135deg, rgb(255 255 255 / 13%), rgb(255 255 255 / 5%)); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 1px rgb(255 255 255 / 25%), inset 0 -1px rgb(0 0 0 / 25%), 0 18px 40px -18px rgb(0 0 0 / 70%); }
/* alert */
.jd-app .jd-art-alert { place-items: center; }
.jd-app .jd-toast { position: relative; z-index: 2; width: min(100%, 330px); border-radius: 14px; padding: 14px 16px; color: #FEFBE8; font-size: 14px; }
.jd-app .jd-toast-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #e6dccd; margin-bottom: 8px; }
.jd-app .jd-toast-head svg { width: 16px; height: 16px; fill: #D97757; }
.jd-app .jd-toast-head span { margin-left: auto; color: #b8ab9a; }
.jd-app .jd-toast-body b { display: block; font-size: 15px; margin-bottom: 4px; color: #ffb59a; }
.jd-app .jd-toast-body p { margin: 0; color: #FEFBE8; font-size: 13.5px; line-height: 1.45; max-width: none; }
.jd-app .jd-toast-back { position: absolute; z-index: 1; width: min(76%, 290px); top: 16%; opacity: .55; transform: scale(.94); filter: blur(.4px); }
.jd-app .jd-art-alert .jd-toast:not(.jd-toast-back) { margin-top: 14%; }
/* password */
.jd-app .jd-art-pass, .jd-app .jd-art-link { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 14px; }
.jd-app .jd-field { border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.jd-app .jd-field span { font-size: 12px; color: #b8ab9a; }
.jd-app .jd-field b { font-size: 20px; letter-spacing: .12em; color: #FEFBE8; }
.jd-app .jd-hash { font-family: var(--mono, ui-monospace, monospace); font-size: clamp(11px, .95vw, 13px); word-break: break-all; line-height: 1.6; padding: 0 4px; }
.jd-app .jd-sent { color: #1F1913; background: #D97757; border-radius: 4px; padding: 1px 5px; margin-right: 2px; font-weight: 700; }
.jd-app .jd-kept { color: #8c8072; }
.jd-app .jd-legend { display: flex; gap: 16px; font-size: 12.5px; color: #c4b9aa; padding: 0 4px; }
.jd-app .jd-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.jd-app .jd-sent-dot { background: #D97757; } .jd-app .jd-kept-dot { background: #5d5348; }
/* fake link */
.jd-app .jd-art-link { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.jd-app .jd-url { border-radius: 12px; padding: 13px 14px; font-family: var(--mono, ui-monospace, monospace); font-size: clamp(11px, .95vw, 13.5px); color: #FEFBE8; word-break: break-all; }
.jd-app .jd-url mark { background: rgb(232 90 70 / 30%); color: #ffb59a; border-radius: 3px; padding: 0 2px; box-shadow: inset 0 -2px #e85a46; }
.jd-app .jd-flags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jd-app .jd-flags li { border-radius: 999px; padding: 6px 12px 6px 26px; font-size: 12.5px; color: #FEFBE8; position: relative; }
.jd-app .jd-flags li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #e85a46; }
@media (max-width: 980px) { .jd-app .jd-promo-row { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
