/* =====================================================================
   Cedi Corridor — design-demo style sheet.
   Static presentation site for demo.wise-hustlers.com. Design only:
   nothing here is wired to a backend and no control does anything.

   Two palettes live side by side on purpose:
     --p-*   the presentation shell (dark editorial ground)
     --a-*   the product's own UI, shown inside device frames. These are
             fixed literals: a device screen depicts an app, so it keeps
             its own appearance the way a screenshot would.
   ===================================================================== */

:root {
  /* presentation shell */
  --p-bg: #0d1310;
  --p-bg-2: #121a16;
  --p-panel: #16201b;
  --p-line: #23302a;
  --p-line-2: #32423a;
  --p-ink: #eaf0ec;
  --p-ink-2: #b9c6bd;
  --p-mut: #7e8d84;
  --p-green: #4fbe93;
  --p-gold: #d6ae3f;
  --p-red: #e2685a;

  /* product UI — fixed in every context */
  --a-bg: #f6f8f5;
  --a-card: #ffffff;
  --a-ink: #101713;
  --a-ink2: #4a554d;
  --a-mut: #79857b;
  --a-line: #e2e7e1;
  --a-green: #0b6b4f;
  --a-green-d: #075139;
  --a-green-s: #e6f1ec;
  --a-gold: #b08814;
  --a-gold-s: #faf2dd;
  --a-red: #c2362b;
  --a-red-s: #fbebe9;
  --a-fail: #a32e24;
  --a-ussd: #0c120e;
  --a-ussd-ink: #9be8b4;

  --shell: 1180px;
  --r: 14px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--p-bg);
  color: var(--p-ink);
  font-family: Archivo, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--p-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------- type ---- */
.display {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p-mut);
}
.lede {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.62;
  color: var(--p-ink-2);
  max-width: 64ch;
}
.prose {
  color: var(--p-ink-2);
  max-width: 66ch;
}
.prose p {
  margin: 0 0 14px;
}

/* -------------------------------------------------------- layout ---- */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 68px 0;
  border-top: 1px solid var(--p-line);
}
.section:first-of-type {
  border-top: none;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.section-head h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 8px 0 0;
  text-wrap: balance;
}
.section-head .prose {
  margin-top: 10px;
}

/* ----------------------------------------------------------- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 19, 16, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--p-line);
}
.nav-in {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 13px 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav .mark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.nav .mark b {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
}
.nav .mark span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-mut);
  border: 1px solid var(--p-line-2);
  border-radius: 999px;
  padding: 3px 8px;
}
.nav a.item {
  text-decoration: none;
  color: var(--p-ink-2);
  font-size: 13.6px;
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a.item:hover {
  color: var(--p-ink);
}
.nav a.item[aria-current="page"] {
  color: var(--p-ink);
  border-bottom-color: var(--p-green);
  font-weight: 600;
}

/* ---------------------------------------------------------- hero ---- */
.hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: -40% 40% 40% -20%;
  background: radial-gradient(
    closest-side,
    rgba(79, 190, 147, 0.13),
    transparent
  );
  pointer-events: none;
}
.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
  text-wrap: balance;
  max-width: 17ch;
}
.hero .lede {
  position: relative;
}

/* --------------------------------------------------------- pills ---- */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--p-line-2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--p-ink-2);
}
.chip.gh {
  border-color: rgba(79, 190, 147, 0.5);
  color: var(--p-green);
}
.chip.cn {
  border-color: rgba(226, 104, 90, 0.5);
  color: var(--p-red);
}
.chip.au {
  border-color: rgba(214, 174, 63, 0.5);
  color: var(--p-gold);
}

/* ---------------------------------------------------- stat strip ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--p-line);
  border: 1px solid var(--p-line);
  border-radius: var(--r);
  overflow: hidden;
}
.stats > div {
  background: var(--p-bg-2);
  padding: 20px 22px;
}
.stats b {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  display: block;
  letter-spacing: -0.02em;
}
.stats span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p-mut);
  display: block;
  margin-top: 4px;
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------------- module cards ----- */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
}
.mod-card {
  background: var(--p-bg-2);
  border: 1px solid var(--p-line);
  border-radius: var(--r);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: border-color 0.15s ease;
}
.mod-card:hover {
  border-color: var(--p-line-2);
}
.mod-card .n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--p-mut);
}
.mod-card h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.22rem;
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.mod-card p {
  margin: 0;
  font-size: 13.6px;
  color: var(--p-ink-2);
  line-height: 1.58;
}
.mod-card .go {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--p-green);
}

/* ------------------------------------------------ screen gallery ---- */
.flow {
  margin-top: 46px;
}
.flow-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--p-line);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.flow-head h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.32rem;
  margin: 0;
  letter-spacing: -0.015em;
}
.flow-head .count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  color: var(--p-mut);
}
.flow-head p {
  margin: 4px 0 0;
  font-size: 13.6px;
  color: var(--p-ink-2);
  flex-basis: 100%;
  max-width: 68ch;
}

.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 34px 26px;
  align-items: start;
}
.gal.wide {
  grid-template-columns: repeat(auto-fill, minmax(560px, 1fr));
}
@media (max-width: 640px) {
  .gal,
  .gal.wide {
    grid-template-columns: 1fr;
  }
}
.shot {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.shot-cap .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--p-mut);
  letter-spacing: 0.08em;
}
.shot-cap h4 {
  margin: 3px 0 5px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.008em;
}
.shot-cap p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--p-ink-2);
}

/* -------------------------------------------------- device frames --- */
.phone {
  width: 356px;
  max-width: 100%;
  background: #080b09;
  border-radius: 38px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 18px 44px rgba(0, 0, 0, 0.45);
}
.phone-in {
  background: var(--a-bg);
  color: var(--a-ink);
  border-radius: 30px;
  overflow: hidden;
  height: 720px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #080b09;
  border-radius: 999px;
  z-index: 9;
}
.laptop {
  width: 100%;
  background: #080b09;
  border-radius: 12px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 18px 44px rgba(0, 0, 0, 0.45);
}
.laptop-bar {
  display: flex;
  gap: 6px;
  padding: 0 4px 8px;
}
.laptop-bar i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2f3b34;
  display: block;
}
.laptop-in {
  background: var(--a-bg);
  color: var(--a-ink);
  border-radius: 7px;
  overflow: hidden;
  height: 520px;
  display: flex;
}

/* ================= product UI components (inside frames) ============ */
.scr {
  flex: 1;
  overflow: hidden;
  font-size: 13.4px;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  padding: 11px 20px 5px;
  font-size: 11px;
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
}
.appbar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px 13px;
  border-bottom: 1px solid var(--a-line);
  background: var(--a-card);
}
.appbar .t {
  font-weight: 600;
  font-size: 14.6px;
}
.appbar .bk {
  color: var(--a-mut);
  font-size: 17px;
  line-height: 1;
}
.appbar .rt {
  margin-left: auto;
  color: var(--a-green);
  font-size: 12.4px;
  font-weight: 600;
}
.pad {
  padding: 16px 18px;
}
.acard {
  background: var(--a-card);
  border: 1px solid var(--a-line);
  border-radius: 13px;
  padding: 15px;
}
.lbl {
  font-size: 10.4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a-mut);
  font-weight: 600;
}
.amt {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.amt-xl {
  font-size: 32px;
}
.amt-l {
  font-size: 22px;
}
.muted {
  color: var(--a-mut);
}
.arow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--a-line);
}
.arow:last-child {
  border-bottom: none;
}
.arow .k {
  color: var(--a-mut);
  font-size: 12.4px;
  flex: 0 0 auto;
}
.arow .v {
  text-align: right;
  font-weight: 500;
  font-size: 12.8px;
  min-width: 0;
  word-break: break-word;
}
.li {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--a-line);
}
.li:last-child {
  border-bottom: none;
}
.av {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 12.5px;
  background: var(--a-green-s);
  color: var(--a-green-d);
}
.av.red {
  background: var(--a-red-s);
  color: var(--a-red);
}
.av.gold {
  background: var(--a-gold-s);
  color: var(--a-gold);
}
.li .b {
  flex: 1;
  min-width: 0;
}
.li .b b {
  display: block;
  font-weight: 600;
  font-size: 13.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.li .b span {
  color: var(--a-mut);
  font-size: 11.6px;
}
.li .r {
  text-align: right;
  flex: 0 0 auto;
}
.abtn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--a-green);
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 13px;
  font-weight: 600;
  font-size: 13.8px;
}
.abtn.ghost {
  background: transparent;
  color: var(--a-green);
  border: 1.5px solid var(--a-green);
}
.abtn.grey {
  background: #ebefe9;
  color: var(--a-ink2);
}
.abtn + .abtn {
  margin-top: 9px;
}
.apill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.8px;
  font-weight: 600;
}
.apill.ok {
  background: var(--a-green-s);
  color: var(--a-green-d);
}
.apill.warn {
  background: var(--a-gold-s);
  color: #7a5e0b;
}
.apill.bad {
  background: var(--a-red-s);
  color: var(--a-fail);
}
.apill.cn {
  background: transparent;
  border: 1px solid var(--a-red);
  color: var(--a-red);
}
.apill.gh {
  background: transparent;
  border: 1px solid var(--a-green);
  color: var(--a-green-d);
}
.afld {
  margin-bottom: 12px;
}
.afld .lbl {
  display: block;
  margin-bottom: 5px;
}
.afld .in {
  border: 1px solid var(--a-line);
  background: var(--a-card);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13.4px;
}
.afld .in.ph {
  color: var(--a-mut);
}
.afld .hint {
  font-size: 11px;
  color: var(--a-mut);
  margin-top: 4px;
}
.g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.g4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tile {
  background: var(--a-card);
  border: 1px solid var(--a-line);
  border-radius: 11px;
  padding: 13px;
}
.tile .lbl {
  display: block;
  margin-bottom: 6px;
}
.tile b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: block;
}
.tile .d {
  font-size: 11px;
  color: var(--a-mut);
  margin-top: 3px;
}
.ahero {
  background: linear-gradient(152deg, var(--a-green-d), var(--a-green));
  color: #fff;
  padding: 19px;
  border-radius: 15px;
}
.ahero .lbl {
  color: rgba(255, 255, 255, 0.72);
}
.ahero .sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}
.tabbar {
  display: flex;
  border-top: 1px solid var(--a-line);
  background: var(--a-card);
  padding: 9px 6px 13px;
  flex: 0 0 auto;
}
.tabbar div {
  flex: 1;
  text-align: center;
  font-size: 10.2px;
  color: var(--a-mut);
  font-weight: 600;
}
.tabbar div.on {
  color: var(--a-green);
}
.tabbar div i {
  display: block;
  font-style: normal;
  font-size: 15px;
  margin-bottom: 2px;
  opacity: 0.72;
}
.tabbar div.on i {
  opacity: 1;
}
.steps {
  display: flex;
  flex-direction: column;
}
.step {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding-bottom: 16px;
  position: relative;
}
.step:last-child {
  padding-bottom: 0;
}
.step .mk {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  background: #e3e8e2;
  color: var(--a-mut);
  z-index: 2;
}
.step.done .mk {
  background: var(--a-green);
  color: #fff;
}
.step.now .mk {
  background: var(--a-gold);
  color: #fff;
  box-shadow: 0 0 0 4px var(--a-gold-s);
}
.step.fail .mk {
  background: var(--a-fail);
  color: #fff;
}
.step:not(:last-child):before {
  content: "";
  position: absolute;
  left: 9.5px;
  top: 20px;
  bottom: 0;
  width: 1.5px;
  background: #e3e8e2;
}
.step.done:not(:last-child):before {
  background: var(--a-green);
}
.step .sb b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.step .sb span {
  font-size: 11.4px;
  color: var(--a-mut);
}
.bigmark {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--a-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin: 0 auto 14px;
}
.bigmark.bad {
  background: var(--a-fail);
}
.bigmark.wait {
  background: var(--a-gold);
}
.ctr {
  text-align: center;
}
.notebox {
  background: var(--a-gold-s);
  border: 1px solid #e8d9a8;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 11.6px;
  color: #6b520a;
  line-height: 1.5;
}
table.at {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.4px;
}
table.at th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--a-mut);
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid var(--a-line);
}
table.at td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--a-line);
}
table.at tr:last-child td {
  border-bottom: none;
}
table.at td.n,
table.at th.n {
  text-align: right;
}
table.at td.n {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.tblwrap {
  overflow-x: auto;
  background: var(--a-card);
  border: 1px solid var(--a-line);
  border-radius: 12px;
}

/* desktop app chrome */
.sb-nav {
  width: 180px;
  flex: 0 0 auto;
  background: #0e1712;
  color: #c9d6cd;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-nav .bd {
  padding: 0 16px 15px;
  font-weight: 700;
  font-size: 13.6px;
  color: #fff;
}
.sb-nav .bd em {
  font-style: normal;
  font-size: 9.2px;
  letter-spacing: 0.1em;
  color: #6fbf9c;
  display: block;
  font-weight: 600;
  margin-top: 2px;
}
.sb-nav a {
  padding: 8px 16px;
  font-size: 12.4px;
  text-decoration: none;
  color: #9fb1a5;
}
.sb-nav a.on {
  background: rgba(111, 191, 156, 0.14);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 2px 0 0 #6fbf9c;
}
.sb-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sb-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--a-card);
  border-bottom: 1px solid var(--a-line);
}
.sb-top b {
  font-size: 14.6px;
}
.sb-body {
  flex: 1;
  overflow: hidden;
  padding: 18px 20px;
}

/* USSD terminal */
.ussd {
  background: var(--a-ussd);
  color: var(--a-ussd-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.2px;
  line-height: 1.72;
  padding: 20px;
  flex: 1;
  white-space: pre-wrap;
}
.ussd .dim {
  color: #5a7d66;
}
.ussd .hi {
  color: #e8f5ec;
}
.ussd .err {
  color: #f0857a;
}
.ussd-in {
  border-top: 1px solid #1e2c23;
  background: #121a15;
  padding: 12px 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.2px;
  color: #e8f5ec;
  display: flex;
  gap: 9px;
}
.ussd-btns {
  display: flex;
  gap: 9px;
  padding: 12px 20px 18px;
  background: #121a15;
}
.ussd-btns span {
  flex: 1;
  text-align: center;
  border: 1px solid #2a3b31;
  border-radius: 7px;
  padding: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.6px;
  color: #8fb39e;
}

/* -------------------------------------------------------- footer ---- */
.foot {
  border-top: 1px solid var(--p-line);
  padding: 44px 0 56px;
  margin-top: 20px;
}
.foot-in {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot .mark {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 17px;
}
.foot p {
  margin: 8px 0 0;
  font-size: 12.8px;
  color: var(--p-mut);
  max-width: 48ch;
  line-height: 1.6;
}
.foot nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.foot nav a {
  font-size: 13.2px;
  color: var(--p-ink-2);
  text-decoration: none;
}
.foot nav a:hover {
  color: var(--p-ink);
}

/* demo banner — must stay visible on every page */
.demo-note {
  background: rgba(214, 174, 63, 0.09);
  border-top: 1px solid rgba(214, 174, 63, 0.3);
  border-bottom: 1px solid rgba(214, 174, 63, 0.3);
  padding: 11px 0;
}
.demo-note .shell {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.demo-note p {
  margin: 0;
  font-size: 12.4px;
  color: var(--p-ink-2);
  line-height: 1.5;
}
.demo-note b {
  color: var(--p-gold);
}

/* page jump rail */
.jump {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.jump a {
  text-decoration: none;
  border: 1px solid var(--p-line-2);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.4px;
  color: var(--p-ink-2);
  font-weight: 500;
}
.jump a:hover {
  border-color: var(--p-green);
  color: var(--p-green);
}

/* figure is the semantic wrapper for a screen + its caption */
figure {
  margin: 0;
}
/* a screen's content must fit its frame — it is a mockup, it does not scroll */
.scr > .pad:last-child {
  padding-bottom: 20px;
}

/* ---------------------------------------------------------------------
   Narrow viewports.

   Below the gallery's single-column breakpoint a .laptop frame is roughly
   590px wide, not the ~1124px its content was composed against, so that
   content reflows taller than the fixed 520px frame and gets clipped. A
   clipped mockup reads as a broken design, which is the one thing a design
   demo cannot afford. Let the frames grow to fit instead — the screens stop
   being pixel-accurate at these widths, but they stay complete and legible.
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .laptop-in {
    height: auto;
    min-height: 400px;
  }
  .phone-in {
    height: auto;
    min-height: 620px;
  }
  .sb-body,
  .scr {
    overflow: visible;
  }
}
