  /* Layout: one cinematic scene. The world of retail sits on a lit platform in a night store; ten business
     modules gather round it as glass panels; the promise sits under the platform. Dark, single look. */
  :root {
    --bg: #050505; --text: #f4f1ec; --text-2: #c9c4bc; --muted: #8f8a83; --glass: rgba(22, 20, 19, .52); --glass-hi: rgba(255, 255, 255, .07);
    --edge: rgba(255, 236, 220, .16); --signal: #fc5609; --signal-soft: rgba(252, 86, 9, .55); --on-signal: #1a0a04;
    --display: "Manrope", "Helvetica Neue", Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  [hidden] { display: none !important; }
  html, body { height: 100%; }
  body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--display); -webkit-font-smoothing: antialiased; overflow: hidden; }
  button { font: inherit; color: inherit; }
  :focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
  #stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
  #nogl { display: none; position: fixed; z-index: 0; left: 50%; top: 46%; width: 340px; height: 340px; transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(255, 220, 190, .25), transparent 40%), radial-gradient(circle, #1a1310 0 60%, rgba(252, 86, 9, .35) 70%, transparent 72%); box-shadow: 0 0 120px rgba(252, 86, 9, .25); }
  .no-gl #stage { display: none; } .no-gl #nogl { display: block; }
  #wires { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
  #wires path { fill: none; stroke-linecap: round; }
  #wires .w { stroke: rgba(252, 86, 9, .42); stroke-width: 1; }
  #wires .p { stroke: #ffb27a; stroke-width: 1.6; filter: drop-shadow(0 0 4px rgba(252, 86, 9, .9)); opacity: 0; }

  .scene { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
  .top { position: absolute; left: 0; right: 0; top: calc(26px + env(safe-area-inset-top, 0px)); display: grid; justify-items: center; gap: 14px; }
  .lockup { display: block; height: clamp(30px, 3.6vw, 46px); width: auto; }
  .w-fill { fill: #ffffff; }
  .kicker { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(11px, 1.05vw, 15px); letter-spacing: .5em; text-transform: uppercase; color: var(--text-2); padding-left: .5em; }

  .card { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 352px; pointer-events: auto; cursor: pointer; transform-style: preserve-3d;
    border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center;
    background: linear-gradient(135deg, var(--glass-hi), rgba(255, 255, 255, 0) 45%), var(--glass); border: 1px solid var(--edge);
    backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); transition: border-color .4s, box-shadow .4s, opacity .4s, background .4s; will-change: transform, opacity, filter; }
  .card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 1px var(--signal-soft), 0 0 36px rgba(252, 86, 9, .28); opacity: 0; transition: opacity .4s; }
  .card .ic { width: 28px; height: 28px; color: #f4efe8; }
  .card .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
  .card h3 { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
  .card .sub { margin: 2px 0 0; font-size: 12.5px; color: var(--text-2); letter-spacing: .01em; }
  .card .ins { grid-column: 1 / -1; margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 14px; line-height: 1.45; color: var(--text); transition: max-height .5s, opacity .4s, margin .4s; }
  .card .ins small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .card.on { border-color: rgba(252, 86, 9, .6); background: linear-gradient(135deg, rgba(252, 86, 9, .12), rgba(255, 255, 255, 0) 55%), rgba(24, 20, 18, .72); }
  .card.on::after { opacity: 1; }
  .card.dim { opacity: .42 !important; }
  .card.accent .ic { color: var(--signal); }
  .card.accent { border-color: rgba(252, 86, 9, .45); }

  /* the small visual inside each panel */
  .viz { width: 92px; height: 52px; border-radius: 8px; overflow: hidden; position: relative; }
  .viz svg { display: block; width: 100%; height: 100%; }
  .v-fabric { background: radial-gradient(120% 90% at 30% 20%, #efe3d2, #cdb79c 55%, #8e7a63); }
  .v-fabric::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(35deg, rgba(255, 255, 255, .13) 0 2px, rgba(0, 0, 0, .06) 2px 4px), repeating-linear-gradient(-55deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 5px); }
  .v-fabric::after { content: ""; position: absolute; inset: -40%; background: radial-gradient(40% 30% at 50% 50%, rgba(255, 255, 255, .45), transparent 70%); animation: sheen 7s ease-in-out infinite; }
  .v-store { background: #0d0b0a; }
  .v-store::before { content: ""; position: absolute; inset: 14px 6px 0; background: repeating-linear-gradient(90deg, rgba(255, 214, 170, .9) 0 9px, rgba(40, 30, 24, 1) 9px 12px); filter: blur(.3px); opacity: .85; }
  .v-store::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: linear-gradient(#2a221d, #15110e); border-bottom: 1px solid rgba(255, 210, 160, .4); }
  .v-leather { background: radial-gradient(120% 100% at 30% 25%, #8a5a3a, #5a3620 55%, #2e1b10); }
  .v-leather::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(255, 220, 180, .45); border-radius: 6px; }
  .v-leather::after { content: ""; position: absolute; inset: -40%; background: radial-gradient(40% 30% at 50% 50%, rgba(255, 230, 200, .3), transparent 70%); animation: sheen 9s ease-in-out infinite; }
  @keyframes sheen { 0%, 100% { transform: translate(-25%, -10%); } 50% { transform: translate(25%, 10%); } }
  .bar { fill: url(#gbar); }
  .spark { stroke: #ff8a4c; stroke-width: 1.6; fill: none; }
  .area { fill: url(#garea); }
  .pt { fill: #ffd2b0; }

  /* ORVUM's answer: one decision, in front of the world */
  #decision { position: absolute; left: 50%; top: 48.5%; width: min(600px, 44vw); transform: translate(-50%, -50%) scale(.96); opacity: 0; transition: opacity .45s, transform .45s; pointer-events: none;
    border-radius: 18px; padding: 22px 24px 20px; display: grid; gap: 14px; background: linear-gradient(145deg, rgba(252, 86, 9, .14), rgba(255, 255, 255, 0) 40%), rgba(16, 13, 12, .82);
    border: 1px solid rgba(252, 86, 9, .5); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 60px rgba(252, 86, 9, .18); }
  #decision.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .d-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
  .d-head span:last-child { color: var(--muted); letter-spacing: .04em; text-transform: none; text-align: right; white-space: nowrap; }
  .d-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
  .d-impact { display: grid; gap: 2px; padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, .12); }
  .d-impact b { font-size: clamp(34px, 3.3vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1; color: #fff; }
  .d-impact span { font-size: 12px; color: var(--text-2); max-width: 13em; line-height: 1.35; }
  .d-text { margin: 0; font-size: 17px; line-height: 1.45; color: var(--text); }
  .d-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .d-chips span { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(252, 86, 9, .4); color: #ffd2b5; background: rgba(252, 86, 9, .08); }
  .d-q { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .d-q div { display: grid; gap: 4px; font-size: 12.5px; line-height: 1.4; color: var(--text-2); }
  .d-q small { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .d-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .d-act .b { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 6px; font-size: 13px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .2); color: var(--text); }
  .d-act .b.p { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
  .d-act small { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .04em; margin-left: auto; }
  #decision.pinned { pointer-events: auto; }
  .d-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--text-2); font-size: 18px; line-height: 1; cursor: pointer; }
  #decision.pinned .d-head { padding-right: 40px; }
  .d-act button.b { cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; background: transparent; }
  .d-act .b i { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin-left: 6px; opacity: .75; }
  .d-hint { margin-left: 0 !important; color: var(--text-2) !important; }
  .d-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; counter-reset: d; }
  .d-list li { display: grid; grid-template-columns: 74px auto minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 12.5px; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .d-list span { color: var(--text-2); } .d-list b { font-weight: 600; color: #fff; } .d-list em { font-style: normal; color: var(--muted); font-size: 11.5px; }
  .d-note { margin: 0; font-size: 12px; line-height: 1.45; color: #ffd2b5; }
  .d-sub { margin: 0; font-size: 18px; color: var(--text); }
  .d-ev { width: 100%; border-collapse: collapse; font-size: 13.5px; }
  .d-ev td { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--text-2); vertical-align: top; }
  .d-ev td + td { text-align: right; color: #fff; font-weight: 600; white-space: nowrap; padding-left: 16px; font-variant-numeric: tabular-nums; }
  .d-method { margin: 0; display: grid; gap: 4px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
  .d-method small { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .d-done { display: grid; gap: 8px; padding: 6px 0 2px; }
  .d-done b { font-size: 18px; font-weight: 600; color: #fff; }
  .d-done p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
  .bottom, #hint { transition: opacity .45s; }
  .deciding .bottom { opacity: .25; }
  .card .ins { display: none; }

  .bottom { position: absolute; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 14px; text-align: center; padding-inline: 16px; }
  .claim { margin: 0; font-weight: 300; font-size: clamp(40px, 5vw, 76px); letter-spacing: -.035em; line-height: 1; }
  .claim span { display: inline-block; }
  .claim .g { color: var(--signal); font-weight: 500; }
  .benefits { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; font-size: clamp(11px, 1vw, 14px); letter-spacing: .26em; text-transform: uppercase; color: var(--text-2); }
  .benefits span + span::before { content: ""; display: inline-block; width: 1px; height: 14px; background: rgba(255, 255, 255, .3); margin-right: 26px; vertical-align: -2px; }
  .maturity { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
  .maturity::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c98a14; }
  .arriving.gl .rv, .arriving.gl .card { opacity: 0; }

  #hint { position: fixed; z-index: 3; right: max(24px, env(safe-area-inset-right, 0px)); top: calc(30px + env(safe-area-inset-top, 0px)); margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); max-width: 230px; text-align: right; line-height: 1.5; }
  .rec #hint { display: none; }

  /* phones: the world at the top, the modules as a grid of glass chips, the promise under them; the page scrolls */
  @media (max-width: 1099px) {
    body { overflow-y: auto; height: auto; }
    #stage { height: 100svh; }
    #wires { display: none; }
    .scene { position: relative; pointer-events: auto; padding: calc(22px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-left, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 18px; }
    .top { position: static; gap: 10px; }
    .kicker { letter-spacing: .32em; font-size: 10.5px; }
    .grid { margin-top: 37svh; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .card { position: relative; left: auto; top: auto; width: auto; padding: 12px; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; border-radius: 12px; }
    .card .ic { width: 22px; height: 22px; }
    .card h3 { font-size: 15px; }
    .card .sub { font-size: 11px; }
    .card .viz { display: none; }
    .card.on { grid-column: 1 / -1; }
    #decision { display: none !important; }
    .deciding .bottom { opacity: 1; }
    .card .ins { display: grid; grid-column: 1 / -1; gap: 10px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .4s, margin .4s; }
    .card.on .ins { max-height: 900px; opacity: 1; margin-top: 10px; }
    .card .d-main { grid-template-columns: 1fr; gap: 8px; }
    .card .d-impact { border-right: 0; padding-right: 0; }
    .card .d-impact b { font-size: 34px; }
    .card .d-text { font-size: 15px; }
    .card .d-q { grid-template-columns: 1fr; gap: 8px; }
    .card .d-act small { margin-left: 0; }
    .card .d-list { grid-template-columns: 1fr; }
    .card .d-x { display: none; }
    .card .d-ev { font-size: 13px; }
    .card.wide { grid-column: 1 / -1; }
    .bottom { position: static; margin-top: 18px; }
    .claim { font-size: clamp(38px, 11vw, 52px); }
    .benefits { letter-spacing: .16em; gap: 4px 14px; }
    .benefits span + span::before { margin-right: 14px; }
    #hint { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
  /* V3 finish: brighter glass, clearer type, tabular figures; decision facts, assumptions and the approval preview */
  :root { --text-2: #ddd6cd; --muted: #a39d95; --glass: rgba(30, 27, 25, .6); --edge: rgba(255, 238, 222, .22); }
  .kicker { color: #ece6de; }
  .for { margin: 0; font-size: clamp(12px, 1vw, 14px); letter-spacing: .04em; color: var(--text-2); }
  .card h3 { font-weight: 600; font-size: 18px; letter-spacing: -.005em; display: flex; align-items: center; gap: 8px; }
  .card .sub { color: #d3ccc3; }
  .card:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
  .card.pair { width: 270px; }
  .planned { font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #ffd2b5; border: 1px solid rgba(252, 86, 9, .5); border-radius: 999px; padding: 2px 7px; }
  #wires .w { stroke: rgba(252, 110, 40, .55); }


  #decision { width: min(660px, 48vw); max-height: calc(100vh - 150px); overflow: auto; gap: 12px; padding: 20px 22px 18px; }
  .d-head span:first-child { letter-spacing: .1em; }
  .d-planned { margin: 0; font-size: 12.5px; line-height: 1.4; color: #ffd2b5; border: 1px dashed rgba(252, 86, 9, .55); border-radius: 8px; padding: 7px 10px; }
  .d-impact b, .d-list b, .d-ev td + td { font-variant-numeric: tabular-nums; }
  .d-impact b { font-weight: 600; }
  .d-text { font-size: 16.5px; }
  .d-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .d-facts div { display: grid; gap: 3px; align-content: start; }
  .d-facts dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .d-facts dd { margin: 0; font-size: 12.5px; line-height: 1.42; color: var(--text-2); }
  .d-facts div:nth-child(4) dt, .d-facts div:nth-child(5) dt { color: #ffb48a; }
  .d-sub span { display: block; margin-top: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: #ffb48a; }
  .d-sub:focus { outline: none; }
  .d-src { display: grid; gap: 6px; }
  .d-src small { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .d-src div { display: flex; flex-wrap: wrap; gap: 6px; }
  .d-src span { font-size: 12px; padding: 4px 9px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .16); color: var(--text-2); }
  .d-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: s; }
  .d-steps li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; font-size: 14px; line-height: 1.45; color: var(--text); }
  .d-steps li::before { content: counter(s); grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: #ffd2b5; border: 1px solid rgba(252, 86, 9, .5); }
  .d-steps small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .d-act { gap: 8px; }
  .d-act small { font-size: 10px; }

  #nogl { width: min(520px, 46vw); height: auto; aspect-ratio: 1; background: none; box-shadow: none; }
  .focusing .card { width: 300px !important; }
  .focusing .card .viz { display: none; }
  #decision:focus { outline: none; box-shadow: 0 0 0 2px rgba(252, 86, 9, .7), 0 30px 90px rgba(0, 0, 0, .6); }
  .card .ins:focus { outline: none; }
  #nogl img { display: block; width: 100%; height: auto; }

  @media (max-width: 1099px) {
    .for { font-size: 12px; text-align: center; padding-inline: 12px; }
    .card.pair { width: auto; }
    .card .d-facts { grid-template-columns: 1fr; }
    .card .d-x { display: grid; place-items: center; position: static; justify-self: end; grid-row: 1; }
    .card .ins { position: relative; }
    .card .d-head { padding-right: 40px; flex-direction: column; gap: 4px; }
    .card .d-head span:last-child { white-space: normal; text-align: left; }
    .card .ins, .card .ins > *, .card > div { min-width: 0; }
    .card .ins { width: 100%; }
    .card .d-chips span { white-space: normal; }
    .card .d-ev td + td { white-space: normal; }
    #nogl { top: 20svh; width: 72vw; }
  }
  /* ── premium pass ── */
  :root { --text: #f6f3ee; --text-2: #e2dcd3; --muted: #aaa39a; --glass: rgba(26, 23, 21, .5); }
  body { background: #060606; }
  /* glass modules: a lit edge, soft depth, crisp type */
  .card { border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px; padding: 15px 16px 15px 16px; gap: 2px 14px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 38%, rgba(255, 255, 255, 0) 60%), rgba(22, 20, 19, .52);
    backdrop-filter: blur(18px) saturate(1.35); -webkit-backdrop-filter: blur(18px) saturate(1.35);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 -1px 0 rgba(0, 0, 0, .35) inset, 0 24px 60px -18px rgba(0, 0, 0, .7), 0 2px 10px rgba(0, 0, 0, .25);
    transition: border-color .35s, box-shadow .35s, background .35s; }
  .card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06) 28%, rgba(255, 255, 255, 0) 55%, rgba(252, 86, 9, .0) 70%, rgba(252, 120, 50, .3));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .75; transition: opacity .35s, background .35s; }
  .card::after { box-shadow: 0 0 0 1px rgba(252, 86, 9, .55), 0 0 40px rgba(252, 86, 9, .22), 0 0 1px rgba(255, 180, 120, .8) inset; }
  .card .ic { width: 26px; height: 26px; color: #f2ece4; }
  .card .ic svg { stroke-width: 1.35; }
  .card h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.012em; line-height: 1.2; color: var(--text); }
  .card .sub { font-size: 11.5px; letter-spacing: .015em; color: #bdb5ab; margin-top: 3px; }
  .card.hot { border-color: rgba(255, 210, 180, .28); background: linear-gradient(165deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .04) 40%, rgba(252, 86, 9, .05)), rgba(26, 23, 21, .6); }
  .card.hot::before { background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 220, 190, .2) 30%, rgba(252, 86, 9, .1) 60%, rgba(252, 110, 40, .7)); opacity: 1; }
  .card.on { border-color: rgba(252, 86, 9, .55); background: linear-gradient(165deg, rgba(252, 120, 50, .16), rgba(255, 255, 255, .03) 45%), rgba(28, 22, 19, .72); }
  .card.on::after { opacity: 1; }
  .card.accent .ic { color: #ff7a33; }
  .viz { width: 84px; height: 36px; border-radius: 0; overflow: visible; }
  .viz svg { overflow: visible; }
  .viz .f { fill: rgba(232, 226, 218, .32); } .viz .fd { fill: rgba(252, 86, 9, .28); } .viz .fo { fill: #fc5609; }
  .viz .fd2 { fill: none; stroke: #ff7a33; stroke-width: 1.1; } .viz .h { fill: none; stroke: rgba(232, 226, 218, .5); stroke-width: 1.1; }
  .viz .s { fill: none; stroke: rgba(232, 226, 218, .55); stroke-width: 1.3; } .viz .o { fill: none; stroke: #ff7a33; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .viz .d { stroke-dasharray: 2.5 3; }
  .card.pair { width: 330px; }
  /* module rail while a decision is open */
  .focusing .card { width: 224px !important; padding: 9px 12px; grid-template-columns: 22px minmax(0, 1fr) !important; border-radius: 12px; }
  .focusing .card .ic { width: 20px; height: 20px; }
  .focusing .card h3 { font-size: 14px; }
  .focusing .card .sub, .focusing .card .viz, .focusing .card .planned { display: none; }
  /* threads */
  #wires .w { stroke: rgba(255, 140, 70, .62); }
  #wires .p { stroke: #ffd2b0; filter: drop-shadow(0 0 5px rgba(252, 86, 9, .95)); }
  #wires .link { fill: none; stroke: #ff8a4c; stroke-width: 1.6; filter: drop-shadow(0 0 4px rgba(252, 86, 9, .7)); }
  #wires .node { fill: #ffb27a; filter: drop-shadow(0 0 6px rgba(252, 86, 9, .9)); }
  /* the decision, beside the world */
  #decision { left: 0; top: 0; transform: none; transition: none; opacity: 0; max-height: calc(100vh - 130px); padding: 22px 24px 18px; border-radius: 20px;
    background: linear-gradient(155deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 40%), rgba(18, 15, 14, .86); border: 1px solid rgba(255, 190, 150, .26);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 40px 100px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(252, 86, 9, .12); }
  #decision .d-impact b { font-size: clamp(36px, 3.4vw, 50px); letter-spacing: -.035em; }
  #decision .d-text { font-size: 17px; line-height: 1.45; color: var(--text); }
  #decision .d-facts dd { font-size: 13px; color: #e6e0d8; }
  #decision .d-head span:first-child { color: #ff8a4c; }
  #decision .d-head { padding-right: 44px; }
  .focusing .card:not(.on)::before { opacity: .35; }
  .focusing .card:not(.on) { border-color: rgba(255, 255, 255, .08); }
  /* the first five seconds: what it is, what it connects, what it is for */
  .kicker { font-size: clamp(12px, 1.05vw, 15px); letter-spacing: .42em; color: #f0eae2; }
  .claim { margin: 0; font-weight: 300; font-size: clamp(30px, 3.1vw, 48px); letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
  .claim span { display: inline-block; }
  .purpose { margin: 0; max-width: 62em; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.5; color: #e4ddd4; }
  .purpose span { color: #ffb48a; }
  .bottom { gap: 10px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  @media (max-width: 1099px) {
    .kicker { letter-spacing: .22em; font-size: 11px; padding-left: .22em; }
    .claim { font-size: clamp(30px, 8.6vw, 44px); }
    .purpose { font-size: 15px; }
    .card .viz { display: block; width: 64px; height: 28px; grid-column: 2; margin-top: 6px; }
    .card.on .viz { display: none; }
  }
  /* ── final refinement ── */
  .signature { margin: 0; font-size: clamp(12px, 1vw, 14px); letter-spacing: .14em; color: #ffb48a; font-weight: 500; }
  .cta { display: flex; flex-wrap: wrap; gap: 10px; }
  .cta .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none;
    color: var(--text); border: 1px solid rgba(255, 255, 255, .22); background: rgba(20, 18, 17, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: auto; }
  .cta .btn:hover { border-color: rgba(255, 255, 255, .45); }
  .cta .btn.primary { background: var(--signal); border-color: var(--signal); color: #1a0a04; }
  .cta .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .cta-d { position: fixed; z-index: 4; top: calc(26px + env(safe-area-inset-top, 0px)); right: max(24px, env(safe-area-inset-right, 0px)); }
  .cta-m { display: none; }
  #hint { top: calc(84px + env(safe-area-inset-top, 0px)); }
  .focusing .cta-d { opacity: .9; }
  #golink { position: fixed; z-index: 30; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(560px, calc(100vw - 32px)); margin: 0; padding: 12px 16px;
    border-radius: 10px; background: rgba(20, 17, 15, .94); border: 1px solid rgba(252, 86, 9, .45); color: var(--text); font-size: 14px; line-height: 1.45; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
  /* legibility of decisions and status labels */
  .maturity { font-size: 12.5px; color: #cfc7bc; }
  #decision .d-head { font-size: 12px; } #decision .d-head span:last-child { color: #cfc7bc; }
  #decision .d-facts dt, .card .d-facts dt { font-size: 10.5px; color: #bdb5ab; letter-spacing: .1em; }
  #decision .d-facts dd, .card .d-facts dd { font-size: 14px; line-height: 1.45; color: #ece6de; }
  .d-act small { font-size: 11.5px !important; color: #cfc7bc !important; }
  .d-chips span { font-size: 12.5px; color: #ffd9c2; }
  .d-planned { font-size: 13.5px; }
  .d-sub span { font-size: 12px; color: #ffbf9a; }
  .d-ev { font-size: 14.5px; } .d-ev td { color: #ddd6cd; }
  .d-steps li { font-size: 15px; } .d-steps small { font-size: 10.5px; color: #bdb5ab; }
  .d-note { font-size: 13.5px; } .d-list li { font-size: 13.5px; } .d-list em { font-size: 12px; color: #b9b1a7; }
  .d-src span { font-size: 12.5px; color: #e2dcd3; }
  /* the signature reveal layers (only at #signature) */
  #sigdim, #sigmark, #sig-replay { display: none; }
  .sigmode #sigdim { display: block; position: fixed; inset: 0; z-index: 5; background: #050505; opacity: 0; pointer-events: none; }
  .sigmode #sigmark { display: block; position: fixed; z-index: 6; opacity: 0; pointer-events: none; overflow: visible; }
  .sigmode #sig-replay { display: block; position: fixed; z-index: 7; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); min-height: 36px; padding: 0 14px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .3); background: rgba(20, 18, 17, .7); color: var(--text); font: 500 12px var(--mono); letter-spacing: .06em; cursor: pointer; }
  .rec #sig-replay { display: none; }
  .sig-converge #wires { z-index: 7; }
  .sig-converge #wires .w { stroke: #ff9a5c; }
  @media (max-width: 1099px) {
    .cta-d { display: none; }
    .cta-m { display: flex; justify-content: center; margin-top: 4px; }
    .cta-m .btn { flex: 1 1 140px; white-space: nowrap; padding: 0 12px; }
    .claim { font-size: clamp(30px, 8.2vw, 40px); } .claim span { display: inline; }
    .bottom { margin-top: 30svh !important; }
    /* first screen on a phone: name, world, promise, next step, status; the modules follow */
    .top { order: 0; } .bottom { order: 1; margin-top: 26svh; gap: 10px; } .grid { order: 2; margin-top: 6px; }
    .signature { text-align: center; }
    .card .d-facts dd { font-size: 14.5px; }
    #golink { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  }
  /* ── independent-review fixes ── */
  .card .hit { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
  .card .hit:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
  .card .ins { position: relative; z-index: 2; }
  .card:focus-visible { outline: none; }
  /* the decision's own footer stays in view: the buttons and "nothing here can be executed" */
  #decision { overflow: auto; }
  #decision .d-act { position: sticky; bottom: -18px; margin: 0 -24px -18px; padding: 12px 24px 16px; background: linear-gradient(to top, rgba(18, 15, 14, .98) 70%, rgba(18, 15, 14, 0)); }
  /* smaller desktops: lighter modules so nothing collides */
  @media (min-width: 1100px) and (max-width: 1359px) {
    .card { width: 300px; padding: 12px 14px; } .card.pair { width: 270px; } .card .viz { display: none; }
    .card h3 { font-size: 15.5px; } .claim { font-size: clamp(28px, 2.8vw, 40px); }
  }
  @media (max-width: 1099px) {
    .card .hit { height: 64px; bottom: auto; }
    .card:not(.on) .hit { height: 100%; }
    .card.on .ins { max-height: none !important; overflow: visible; }
    .card.pair { width: auto; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .card { min-width: 0; }
    .card h3, .card .sub { overflow-wrap: anywhere; }
    .kicker { letter-spacing: .16em; }
    .bottom { margin-top: 27svh !important; }
  }
  @media (max-width: 359px) { .grid { grid-template-columns: minmax(0, 1fr) !important; } }
  @media (max-width: 1099px) and (max-height: 700px) {
    .bottom { margin-top: 22svh !important; gap: 8px; } .claim { font-size: clamp(26px, 7.6vw, 34px); } .purpose { font-size: 14px; }
    .cta-m .btn { min-height: 40px; }
  }
  .sigmode #sigmark path { transform-box: view-box; }
  /* short desktop screens: modules show their name only (the decision still opens in full) */
  @media (min-width: 1100px) and (max-height: 799px) {
    .card { padding: 10px 14px; } .card .sub, .card .viz { display: none; } .card h3 { font-size: 15px; }
    .claim { font-size: clamp(26px, 2.6vw, 38px); } .purpose { font-size: 14px; } .bottom { gap: 6px; bottom: 14px; }
  }

/* ── bounded final corrections (owner, 5 Nov 2026) ── */
.defs { position: absolute; }
/* the status line: the dot sits with the first words, also when the line wraps */
.maturity { display: block; }
.maturity::before { display: inline-block; vertical-align: .12em; margin-right: 8px; }
.maturity a { color: inherit; text-decoration: underline; text-underline-offset: 3px; pointer-events: auto; }
.maturity a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
/* phones: the platform signature crosses the world's ribbons, so it gets a dark halo of its own background */
@media (max-width: 1099px) {
  .signature { text-shadow: 0 0 2px #050505, 0 0 6px #050505, 0 0 12px rgba(5, 5, 5, .9); color: #ffc29e; }
  .claim { text-shadow: 0 0 2px rgba(5, 5, 5, .9), 0 0 10px rgba(5, 5, 5, .7); }
}
/* very short desktop screens: modules and the rail are a little tighter so nothing touches */
@media (min-width: 1100px) and (max-height: 679px) {
  .card { padding: 7px 12px; } .card h3 { font-size: 14px; } .card .ic { width: 26px; height: 26px; }
  .focusing .card { padding: 6px 12px; } .focusing .card .ic { width: 18px; height: 18px; } .focusing .card h3 { font-size: 13.5px; }
  .claim { font-size: clamp(24px, 2.3vw, 34px); } .purpose { font-size: 13px; }
}

.purpose { text-wrap: balance; }
