/* ============================================================
   MeowShare — brand-object system (brand.css)
   Product dioramas that make the app's identity recognisable:
   ivory radar fields, precise range rings, warm amber signals,
   circular cat medallions, node labels, direct-route lines.
   Loaded after styles.css + components.css; strictly additive,
   builds on the locked white / titanium / near-black / amber
   tokens in styles.css :root.
   ============================================================ */

.od-radar,
.od-pick,
.od-arch,
.od-ledger,
.od-sheets,
.od-mesh,
.od-way,
.sc { container-type: inline-size; }

/* ---------- Medallions ---------- */

.od-med {
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--m, 62px);
  aspect-ratio: 1;
  border-radius: 50%;
  line-height: 0;
}
.od-med img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.od-med--ring { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 3.5px oklch(1 0 0 / 0.92), 0 8px 16px oklch(0.2 0.02 70 / 0.13); }
.od-med--you {
  box-shadow:
    0 0 0 1.5px var(--accent),
    0 0 0 4px #fff,
    0 0 0 7px var(--accent-soft),
    0 10px 20px oklch(0.2 0.02 70 / 0.15);
}
.od-med--soft { box-shadow: 0 0 0 1px oklch(0.9 0.008 85), 0 6px 14px oklch(0.2 0.02 70 / 0.09); }
.od-med--dim { filter: saturate(0.55); opacity: 0.55; }
.od-med--xs { width: calc(var(--m, 62px) * 0.66); }

/* online presence dot */
.od-on {
  position: absolute;
  right: -2px;
  bottom: 1px;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--online);
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1px oklch(0.52 0.11 154 / 0.3);
}

/* glyph tile: a device/browser concept inside a round medallion */
.od-glyph {
  display: grid;
  place-items: center;
  width: var(--g, 60px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 3px oklch(1 0 0 / 0.35), var(--shadow-sm);
  color: var(--ink);
}
.od-glyph svg { width: 44%; height: 44%; }
.od-glyph--ink { background: var(--ink); border-color: var(--ink); color: #fff; }

/* small caption pill under a medallion (glass label, same language as the hero radar) */
.od-cap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  max-width: 100%;
  padding: 5px 11px 6px;
  border: 1px solid oklch(1 0 0 / 0.8);
  border-radius: 10px;
  background: var(--glass-chip);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px oklch(0.2 0.02 70 / 0.08);
  text-align: center;
}
.od-cap b { font-family: var(--font-display); font-size: 0.76rem; font-weight: 700; letter-spacing: 0; color: var(--ink); line-height: 1.3; white-space: nowrap; }
.od-cap span { color: var(--muted); font-size: 0.66rem; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.od-cap--ok { box-shadow: 0 3px 10px oklch(0.2 0.02 70 / 0.08), inset 0 0 0 1px oklch(0.52 0.11 154 / 0.35); }
.od-cap--ok b { color: oklch(0.42 0.1 154); }

/* ---------- Generic floating pill on a radar field ---------- */

.od-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid oklch(1 0 0 / 0.75);
  border-radius: 999px;
  background: var(--glass-chip);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px oklch(0.2 0.02 70 / 0.07);
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.od-pill b { color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.od-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 3px var(--online-soft); flex: none; }
.od-pill .dot.amber { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.od-pill--top { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5; }
.od-pill--bl { position: absolute; bottom: 12px; left: 12px; z-index: 5; }
.od-pill--br { position: absolute; bottom: 12px; right: 12px; z-index: 5; }
.od-pill--static { position: static; }

/* ---------- Ivory radar dish ---------- */

.od-radar {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 95% at 50% 24%, oklch(1 0 0 / 0.62), transparent 62%),
    radial-gradient(90% 66% at 50% 112%, var(--ivory-2), transparent 72%),
    var(--ivory);
  box-shadow: var(--shadow-sm);
}
.od-radar--sq { aspect-ratio: 10 / 9; }
.od-radar--tall { aspect-ratio: 1 / 1; }
.od-radar--card { border-radius: var(--r-sm); }

/* range rings: centred on the field, sized per composition via --d */
.od-radar .od-rings {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.od-radar .od-rings i {
  position: absolute;
  left: 50%;
  top: var(--ry, 52%);
  width: var(--d);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--ring-soft-2);
  transform: translate(-50%, -50%);
}
.od-radar .od-rings i.hi { border-color: var(--ring-soft); }
.od-radar .od-rings i.core {
  border: 0;
  background: radial-gradient(circle at 50% 50%, oklch(0.6 0.1 40 / 0.13), transparent 62%);
}

/* faint rotating amber sweep (only when .od-live and motion allowed) */
.od-radar .od-sweep {
  position: absolute;
  left: 50%;
  top: var(--ry, 52%);
  z-index: 0;
  width: 160%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from -18deg at 50% 50%, transparent 0 320deg, oklch(0.62 0.105 45 / 0.16) 320deg 345deg, transparent 345deg 360deg);
  pointer-events: none;
  opacity: 0;
}
.od-radar.live .od-sweep { opacity: 1; animation: odspin 17s linear infinite; }
@keyframes odspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .od-radar.live .od-sweep { opacity: 0.6; animation: none; } }

/* flex composition areas inside the dish */
.od-radar .od-mid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: clamp(46px, 12cqw, 76px) clamp(10px, 5cqw, 28px) 0;
  height: 66%;
}
.od-radar .od-wing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  max-width: 42%;
  text-align: center;
}
.od-radar .od-you {
  position: absolute;
  left: 50%;
  bottom: clamp(8px, 2.5cqw, 14px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
}
.od-radar .od-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: clamp(70px, 18cqw, 130px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, oklch(0.6 0.1 40 / 0.1), transparent 64%);
  pointer-events: none;
}

/* weak arc map drawn behind the nodes (dashed amber hairlines) */
.od-radar .od-arcs {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.od-radar .od-arcs path {
  fill: none;
  stroke: oklch(0.6 0.1 40 / 0.32);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 0.1 4.5;
  vector-effect: non-scaling-stroke;
}

/* dots that ride the dish arcs */
.od-radar .od-dot {
  fill: var(--accent);
  stroke: none;
  filter: drop-shadow(0 0 3px oklch(0.6 0.1 40 / 0.4));
}

/* size the medallions from the dish container */
.od-radar { --m: clamp(48px, 15cqw, 92px); }
.od-radar--m2 { --m: clamp(44px, 15cqw, 88px); }
.od-radar--m3 { --m: clamp(40px, 13cqw, 78px); }
.od-radar .od-cap { max-width: 42cqw; }
@container (max-width: 330px) {
  .od-radar .od-cap span { display: none; }
  .od-radar .od-mid { padding-top: clamp(40px, 13cqw, 60px); }
}

/* ---------- Dark dish (final CTA / on-ink contexts) ---------- */

.od-radar--dark {
  border-color: oklch(1 0 0 / 0.14);
  background:
    radial-gradient(120% 100% at 50% 0%, oklch(1 0 0 / 0.05), transparent 60%),
    radial-gradient(80% 70% at 50% 115%, oklch(0.6 0.1 40 / 0.14), transparent 70%),
    oklch(0.2 0.012 70);
  box-shadow: 0 18px 46px oklch(0 0 0 / 0.28);
}
.od-radar--dark .od-rings i { border-color: var(--ring-ink); }
.od-radar--dark .od-rings i.hi { border-color: oklch(0.9 0.02 80 / 0.16); }
.od-radar--dark .od-cap {
  border-color: oklch(1 0 0 / 0.14);
  background: oklch(0.16 0.014 70 / 0.7);
  box-shadow: 0 4px 14px oklch(0 0 0 / 0.24);
}
.od-radar--dark .od-cap b { color: #fff; }
.od-radar--dark .od-cap span { color: oklch(0.78 0.008 85); }
.od-radar--dark .od-pill {
  border-color: oklch(1 0 0 / 0.16);
  background: oklch(0.16 0.014 70 / 0.72);
  color: oklch(0.85 0.008 85);
}
.od-radar--dark .od-pill b { color: #fff; }
.od-radar--dark .od-arcs path { stroke: oklch(0.65 0.1 45 / 0.4); }
.od-radar--dark .od-med--ring { box-shadow: 0 0 0 1px oklch(1 0 0 / 0.22), 0 0 0 3.5px oklch(0.16 0.014 70 / 0.9), 0 8px 16px oklch(0 0 0 / 0.32); }
.od-radar--dark .od-med--you { box-shadow: 0 0 0 1.5px var(--accent), 0 0 0 4px oklch(0.2 0.012 70), 0 0 0 7px oklch(0.6 0.1 40 / 0.22), 0 10px 20px oklch(0 0 0 / 0.35); }

/* ---------- Direct-route way (two medallions + a shared path) ---------- */

.od-way {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3.2cqw, 26px);
}
.od-way .od-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: none;
  max-width: 40%;
  text-align: center;
}
.od-way .od-thru {
  position: relative;
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.od-way .od-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 9px);
  opacity: 0.55;
}
.od-way .od-line.solid {
  background: linear-gradient(90deg, transparent, var(--accent) 14%, var(--accent) 86%, transparent);
  opacity: 0.62;
}
.od-way .od-midchip {
  position: relative;
  z-index: 1;
  max-width: 78%;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}
.od-way .od-midchip b { color: var(--ink); }
.od-way--live .od-line { animation: odflow 1.7s linear infinite; }
@keyframes odflow { to { background-position-x: -9px; } }
@container (max-width: 360px) {
  .od-way { gap: 10px; }
  .od-way .od-midchip { font-size: 0.7rem; padding: 6px 10px; }
  .od-way .od-side .od-cap span { display: none; }
}

/* ---------- Architecture diorama (service ↔ devices, payload direct) ---------- */

.od-arch {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.6cqw, 26px);
  padding: clamp(18px, 2.8cqw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, oklch(1 0 0 / 0.7), transparent 58%),
    var(--bg-2);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.od-arch .od-sig {
  position: relative;
  min-height: clamp(56px, 11cqw, 96px);
}
.od-arch .od-sig svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.od-arch .od-sig path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.od-arch .od-sig .sig { stroke: oklch(0.16 0.014 70 / 0.24); stroke-width: 1.4; stroke-dasharray: 2 4.5; }
.od-arch .od-sig .payload { stroke: oklch(0.6 0.1 40 / 0.5); stroke-width: 1.7; }
.od-arch .od-sig .dot { fill: var(--accent); stroke: none; }
.od-arch .od-linkrow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 2cqw, 16px);
}
.od-arch .od-end { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; min-width: 0; }
.od-arch .od-end .od-cap { max-width: 100%; }
.od-arch .od-pay {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid oklch(0.6 0.1 40 / 0.4);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
.od-arch .od-pay svg { width: 14px; height: 14px; flex: none; }
.od-arch--mini { gap: clamp(10px, 2cqw, 16px); padding: clamp(14px, 2.2cqw, 20px); }
@container (max-width: 360px) {
  .od-arch .od-end .od-cap span { display: none; }
  .od-arch .od-pay { font-size: 0.7rem; padding: 6px 10px; }
}

/* ---------- Pairing device sheets ---------- */

.od-sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2.6cqw, 22px); }
.od-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.od-sheet--soft { box-shadow: none; background: oklch(0.995 0.001 85); }
.od-sheet .od-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid oklch(0.93 0.004 85);
  background: oklch(0.995 0.001 85);
}
.od-sheet .od-bar img { width: 15px; height: 15px; border-radius: 4px; flex: none; }
.od-sheet .od-bar b { font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.od-sheet .od-url {
  flex: 1;
  min-width: 0;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.od-sheet .od-body { padding: clamp(12px, 2.2cqw, 18px); display: flex; flex-direction: column; gap: 12px; }
.od-sheet .od-kick { color: var(--muted); font-size: 0.64rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.od-sheet .od-code {
  padding: 11px 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 2.4cqw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-align: center;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.8), var(--shadow-sm);
}
.od-sheet .od-qr { display: grid; place-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.od-sheet .od-qr svg { width: 100%; max-width: 118px; height: auto; }
.od-sheet .od-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.od-sheet .od-actions .btn { min-height: 40px; padding: 0 14px; font-size: 0.84rem; }
.od-sheet .od-input {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.od-sheet .od-input i {
  width: clamp(18px, 4.4cqw, 26px);
  height: clamp(26px, 6.2cqw, 36px);
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: var(--bg);
}
.od-sheet .od-input i.fill { background: oklch(0.955 0.007 80); border-color: oklch(0.6 0.1 40 / 0.35); }
.od-sheet .od-input i.hot { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.od-sheet .od-state { display: inline-flex; align-items: center; align-self: center; gap: 7px; color: oklch(0.42 0.1 154); font-size: 0.72rem; font-weight: 650; }
.od-sheet .od-state .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--online-soft); }
@container (max-width: 380px) {
  .od-sheets { grid-template-columns: 1fr; }
  .od-sheet .od-qr svg { max-width: 100px; }
}

/* ---------- Transfer ledger (what you can send) ---------- */

.od-ledger {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.od-ledger .od-lhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.995 0.001 85);
}
.od-ledger .od-lhead img { width: 16px; height: 16px; border-radius: 4.5px; }
.od-ledger .od-lhead b { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.od-ledger .od-lhead .od-sub { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.68rem; font-weight: 650; }
.od-ledger .od-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
.od-ledger .od-row:last-of-type { border-bottom: 0; }
.od-ledger .od-ty {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid oklch(0.92 0.005 85);
  background: oklch(0.965 0.004 85);
  color: var(--ink);
}
.od-ledger .od-ty svg { width: 18px; height: 18px; }
.od-ledger .od-ty.amber { background: var(--accent-soft); border-color: oklch(0.6 0.1 40 / 0.22); color: var(--accent-deep); }
.od-ledger .od-tx { min-width: 0; }
.od-ledger .od-tx b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.od-ledger .od-tx span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 0.71rem; font-weight: 550; line-height: 1.4; }
.od-ledger .od-dir { display: inline-flex; align-items: center; gap: 7px; color: oklch(0.42 0.1 154); font-size: 0.68rem; font-weight: 700; white-space: nowrap; }
.od-ledger .od-dir .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--online-soft); flex: none; }
.od-ledger .od-note { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-top: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: 0.7rem; }
.od-ledger .od-note svg { width: 12px; height: 12px; flex: none; color: var(--ink-2); }
@container (max-width: 380px) {
  .od-ledger .od-row { grid-template-columns: 32px minmax(0, 1fr); }
  .od-ledger .od-dir { display: none; }
  .od-ledger .od-ty { width: 32px; height: 32px; }
}

/* ---------- Ecosystem mesh (any two devices connect) ---------- */

.od-mesh {
  position: relative;
  padding: clamp(16px, 3cqw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 50% 0%, oklch(1 0 0 / 0.66), transparent 60%),
    var(--ivory);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.od-mesh .od-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.od-mesh .od-net path {
  fill: none;
  stroke: var(--ring-soft);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}
.od-mesh .od-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 9cqw, 64px);
  padding: clamp(26px, 7cqw, 44px) clamp(6px, 3cqw, 16px);
}
.od-mesh .od-dev {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}
.od-mesh .od-dev .od-glyph { --g: clamp(58px, 16cqw, 92px); }
.od-mesh .od-dev b { font-family: var(--font-display); font-size: 0.76rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.od-mesh .od-dev span { color: var(--muted); font-size: 0.66rem; font-weight: 600; white-space: nowrap; }
.od-mesh .od-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(52px, 13cqw, 78px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: oklch(1 0 0 / 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 6px oklch(1 0 0 / 0.55), var(--shadow-sm);
}
.od-mesh .od-core img { width: 52%; height: 52%; border-radius: 20%; }
@container (max-width: 340px) {
  .od-mesh .od-grid { gap: 20px 14px; }
  .od-mesh .od-dev span { display: none; }
}

/* ---------- Identity picker (choose a cat) ---------- */

.od-pick {
  position: relative;
  padding: clamp(16px, 2.6cqw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 50% 0%, oklch(1 0 0 / 0.66), transparent 60%),
    var(--ivory);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.od-pick .od-pick-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(12px, 2.4cqw, 18px);
}
.od-pick .od-pick-head img { width: 24px; height: 24px; border-radius: 7px; flex: none; }
.od-pick .od-pick-hd { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.od-pick .od-pick-hd b { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.od-pick .od-pick-hd small { color: var(--muted); font-size: 0.68rem; font-weight: 600; }
.od-pick .od-pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.6cqw, 14px) clamp(6px, 1.4cqw, 12px); }
.od-pick .od-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: clamp(8px, 1.6cqw, 12px) 2px;
  border-radius: 14px;
}
.od-pick .od-opt img {
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px oklch(0.9 0.008 85), 0 6px 14px oklch(0.2 0.02 70 / 0.08);
}
.od-pick .od-opt b { font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.od-pick .od-opt.sel img { box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px oklch(1 0 0 / 0.85), 0 0 0 8px var(--accent-soft), 0 8px 16px oklch(0.2 0.02 70 / 0.12); }
.od-pick .od-opt.sel { background: oklch(1 0 0 / 0.62); }
.od-pick .od-opt.sel b { color: var(--accent-deep); }
.od-pick .od-opt .od-tag {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.od-pick .od-rename {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(12px, 2.4cqw, 18px);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: oklch(1 0 0 / 0.72);
}
.od-pick .od-rename img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line-2); flex: none; }
.od-pick .od-rename .od-name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.od-pick .od-rename .od-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.64rem; color: var(--muted); letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-pick .od-rename svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.od-pick .od-pick-note { margin-top: 12px; text-align: center; color: var(--muted); font-size: 0.7rem; }
@container (max-width: 360px) {
  .od-pick .od-pick-grid { grid-template-columns: repeat(4, 1fr); }
  .od-pick .od-opt b { font-size: 0.58rem; }
}

/* ---------- Step scenes (How it works) ---------- */

.sc {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.6cqw, 14px);
  min-height: clamp(74px, 13cqw, 104px);
  padding: clamp(12px, 2.2cqw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background:
    radial-gradient(130% 120% at 50% 0%, oklch(1 0 0 / 0.7), transparent 60%),
    var(--ivory);
  overflow: hidden;
}
.sc .sc-rings { position: absolute; inset: 0; pointer-events: none; }
.sc .sc-rings i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--d);
  aspect-ratio: 1;
  border: 1px solid var(--ring-soft-2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.sc > * { position: relative; z-index: 1; }
.sc .sc-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 7px 11px;
  border: 1px solid oklch(1 0 0 / 0.8);
  border-radius: 11px;
  background: oklch(1 0 0 / 0.82);
  box-shadow: 0 4px 12px oklch(0.2 0.02 70 / 0.09);
}
.sc .sc-chip b { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; color: var(--ink); line-height: 1.3; white-space: nowrap; }
.sc .sc-chip b img { width: 13px; height: 13px; border-radius: 3.5px; }
.sc .sc-chip span { color: var(--muted); font-size: 0.6rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.sc .sc-note {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: oklch(0.16 0.014 70 / 0.7);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.sc .sc-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--online); }
.sc .sc-arrow { color: var(--accent); flex: none; }
.sc .sc-arrow svg { width: clamp(15px, 3cqw, 20px); height: clamp(15px, 3cqw, 20px); }
.sc .od-med { --m: clamp(38px, 7.6cqw, 58px); }

/* two-device scene: shared network */
.sc--net .sc-net {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.72);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sc--net .sc-net svg { width: 11px; height: 11px; color: var(--accent-deep); }

/* steps list adapts so the scene spans the full row */
.steps .step .sc { margin: 2px 0 20px; }
@media (min-width: 1020px) {
  .steps.cols-3 .step .sc { margin: 0 0 26px; width: 100%; }
}
@media (max-width: 1019px) {
  .steps .step { grid-template-columns: 46px minmax(0, 1fr); }
  .steps .step .sc { grid-column: 1 / -1; }
  .sc--net .sc-chip span { display: none; }
}

/* ---------- Audience / feature cards with a cat route ---------- */

.od-route {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4cqw, 10px);
  min-width: 0;
  margin-bottom: 14px;
}
.od-route .od-rlab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.od-route .od-rlab svg { width: 13px; height: 13px; color: var(--accent-deep); flex: none; }
.od-route .od-med { --m: clamp(30px, 6cqw, 40px); }
@container (max-width: 240px) { .od-route { flex-wrap: wrap; } }

/* ---------- Dark / 404 radar (signal-lost) ---------- */

.od-lost {
  position: relative;
  width: min(100%, 380px);
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(100% 100% at 50% 50%, oklch(1 0 0 / 0.9), var(--ivory) 74%);
  box-shadow: 0 0 0 12px oklch(1 0 0 / 0.5), 0 0 0 24px var(--accent-soft), var(--shadow-md);
}
.od-lost .od-rings { position: absolute; inset: 0; }
.od-lost .od-rings i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--d);
  aspect-ratio: 1;
  border: 1px dashed var(--ring-soft);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.od-lost .od-lost-cat { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44%; }
.od-lost .od-lost-cat img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 6px #fff, 0 14px 26px oklch(0.2 0.02 70 / 0.16); }
.od-lost .od-lost-pill {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: oklch(0.16 0.014 70 / 0.8);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.od-lost .od-lost-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: odblip 2.2s infinite; }
@keyframes odblip { 0% { box-shadow: 0 0 0 0 oklch(0.6 0.1 40 / 0.5); } 70% { box-shadow: 0 0 0 7px oklch(0.6 0.1 40 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.6 0.1 40 / 0); } }
@media (prefers-reduced-motion: reduce) { .od-lost .od-lost-pill .dot { animation: none; } }

/* ---------- Small shared helpers ---------- */

.od-ledend { color: var(--muted); font-size: 0.76rem; }
.od-ledend code { font-family: var(--font-mono); font-size: 0.82em; background: oklch(0.16 0.014 70 / 0.05); padding: 1px 6px; border-radius: 5px; color: var(--ink-2); }

/* Interior page hero with a right-hand product object */
.ph-grid { display: grid; gap: clamp(26px, 4vw, 48px); align-items: center; }
.ph-copy { min-width: 0; }
.ph-object { position: relative; display: grid; place-items: center; }
@media (min-width: 1000px) {
  .ph-grid { grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); }
  .ph-object .od-radar,
  .ph-object .od-arch,
  .ph-object .od-sheets,
  .ph-object .od-mesh,
  .ph-object .sc { width: 100%; }
}
@media (min-width: 620px) and (max-width: 999px) {
  .ph-object { justify-self: center; width: min(100%, 560px); }
}
@media (max-width: 619px) {
  .ph-object { justify-self: stretch; }
}

/* keep reveal behaviour consistent for new objects */
.js .rv .od-radar, .js .rv .od-arch { will-change: opacity, transform; }

/* final CTA dish sits above the action row */
.cta-dish { width: min(100%, 430px); margin: 0 auto clamp(30px, 4vw, 42px); }

/* reduced motion is handled globally in components.css; ensure sweep/bus
   never leave stray visuals when animations are stripped */
@media (prefers-reduced-motion: reduce) {
  .od-radar .od-arcs path { animation: none; }
  .od-radar.live .od-sweep { opacity: 0.55; }
}

/* ============================================================
   Homepage / page-specific object arrangements
   (markup lives in index.html + interior pages)
   ============================================================ */

.od-stack { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 20px); min-width: 0; }
.od-copy { min-width: 0; }

/* small legend row (service / caveat notes beside objects) */
.od-legend {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}
.od-legend svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent-deep); }
.od-legend b { color: var(--ink-2); font-weight: 650; }

/* Honest-version panel used under privacy route objects */
.od-honest {
  padding: clamp(16px, 2.2vw, 20px);
  border: 1px solid oklch(0.84 0.02 80);
  border-radius: var(--r-sm);
  background: oklch(0.975 0.004 85);
}
.od-honest h3 { font-size: 0.98rem; margin-bottom: 8px; }
.od-honest p { color: var(--ink-2); font-size: 0.93rem; line-height: 1.62; }
.od-honest .od-legend { margin-top: 12px; }

/* What-you-can-send: share list (right column of the ledger split) */
.share-list { list-style: none; display: grid; gap: 2px; }
.share-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}
.share-item:first-child { padding-top: 2px; }
.share-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.share-item .tile-icon { margin-bottom: 0; }
.share-item h3 { font-size: 1.02rem; margin: 1px 0 4px; }
.share-item p { color: var(--ink-2); font-size: 0.94rem; line-height: 1.6; max-width: 46ch; }
.share-item .share-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}
.share-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 3px var(--online-soft); flex: none; }
.share-tag svg { width: 13px; height: 13px; flex: none; color: var(--accent-deep); }

/* Home "How it works" steps with scenes */
.steps--scenes .step { display: flex; flex-direction: column; gap: 0; padding: 0; border-top: 0; }
.steps--scenes .step::before { display: none; }
.steps--scenes .step .sc { order: -1; width: 100%; margin: 0 0 clamp(16px, 2.2vw, 20px); }
.steps--scenes .step-body { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 16px; min-width: 0; }
.steps--scenes .step-body .step-num { margin: 2px 0 0; }
.steps--scenes .step-body h3 { margin: 4px 0 6px; }
.steps--scenes .step-body p { max-width: 52ch; }
@media (max-width: 619px) {
  .steps--scenes .step-body { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .steps--scenes .step-body .step-num { width: 40px; height: 40px; font-size: 0.98rem; }
}
@media (min-width: 1020px) {
  .steps.cols-3.steps--scenes { gap: 34px; border-top: 1px solid var(--line); }
  .steps.cols-3.steps--scenes .step { border-top: 0; padding: 0; }
}

/* single-neighbour dish centre alignment */
.od-radar .od-mid.one { justify-content: center; }

/* when the CTA carries its own radar dish, drop the ambient ring circles
   behind it so the two objects don't layer */
.cta-inner:has(.cta-dish)::before,
.cta-inner:has(.cta-dish)::after { display: none; }

/* ---------- Interior-page hero objects ---------- */

/* Three-beat flow strip (how-it-works hero) */
.od-flow {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: clamp(10px, 1.8cqw, 16px) clamp(6px, 1.2cqw, 10px);
  min-height: clamp(118px, 15cqw, 168px);
}
.od-flow .od-sstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 92px;
  text-align: center;
}
.od-flow .od-sstep .od-glyph { --g: clamp(46px, 9cqw, 64px); }
.od-flow .od-sstep .od-med { --m: clamp(46px, 9cqw, 64px); }
.od-flow .od-sstep b { font-family: var(--font-display); font-size: 0.76rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.od-flow .od-sstep small { color: var(--muted); font-size: 0.64rem; font-weight: 600; line-height: 1.35; }
.od-flow .od-sarrow { display: grid; place-items: center; color: var(--accent); align-self: center; }
.od-flow .od-sarrow svg { width: clamp(15px, 2.6cqw, 20px); height: clamp(15px, 2.6cqw, 20px); }
@container (max-width: 420px) {
  .od-flow .od-sstep { min-width: 76px; }
  .od-flow .od-sstep small { display: none; }
}

/* service pill for architecture dioramas */
.od-svc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}
.od-svc svg { width: 15px; height: 15px; flex: none; color: var(--accent-deep); }
.od-svc b { color: var(--ink); }
.od-arch .od-svc { align-self: center; }

/* dashed amber payload link spanning the space between the two end nodes */
.od-arch .od-linkrow::before {
  content: "";
  position: absolute;
  left: 31%;
  right: 31%;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px);
  opacity: 0.45;
  pointer-events: none;
}
.od-arch .od-sig { position: relative; }
.od-arch .od-sig .od-sig-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

/* pairing card variant: QR beside the code */
.od-pair { container-type: inline-size; }
.od-pair-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(14px, 3cqw, 26px);
  align-items: center;
}
.od-pair-main .od-qr { width: min(100%, 172px); margin-inline: auto; }
.od-pair-main .od-qr svg { width: 100%; height: auto; }
@container (max-width: 460px) { .od-pair-main { grid-template-columns: 1fr; } }

/* device-to-device pair (devices hero) */
.od-pairnet {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2cqw, 18px);
  width: 100%;
}
.od-pairnet .od-sheet { min-width: 0; }
.od-pairnet-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 2px;
}
.od-pairnet-mid b { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.od-pairnet-mid small { color: var(--muted); font-size: 0.64rem; font-weight: 600; white-space: nowrap; }
@container (max-width: 460px) {
  .od-pairnet { grid-template-columns: 1fr; }
  .od-pairnet-mid { flex-direction: row; gap: 10px; }
  .od-pairnet-mid .od-glyph { --g: 40px; }
}

/* audience constellation (use-cases hero) */
.od-audrooms {
  container-type: inline-size;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(12px, 3cqw, 22px);
}
.od-audcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: clamp(96px, 20cqw, 150px);
  padding: clamp(12px, 2.4cqw, 18px) clamp(8px, 2cqw, 14px);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background:
    radial-gradient(130% 120% at 50% 0%, oklch(1 0 0 / 0.7), transparent 60%),
    var(--ivory);
  text-align: center;
}
.od-audcard .od-med { --m: clamp(48px, 11cqw, 64px); }
.od-audcard b { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.od-audcard small { color: var(--muted); font-size: 0.68rem; font-weight: 600; line-height: 1.4; }
@container (max-width: 460px) { .od-audcard { flex: 1 1 40%; } }

/* FAQ exchange pair */
.od-qa {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.od-qa .od-qa-row { display: flex; align-items: flex-start; gap: 11px; }
.od-qa .od-qa-row.ans { flex-direction: row-reverse; }
.od-qa .od-med { --m: clamp(38px, 9cqw, 48px); }
.od-qa .od-bubble {
  max-width: 78%;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.55;
}
.od-qa .od-bubble b { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.od-qa .ask .od-bubble { border-top-left-radius: 4px; }
.od-qa .ans .od-bubble { border-top-right-radius: 4px; }
@container (max-width: 420px) { .od-qa .od-bubble { font-size: 0.82rem; } }

/* tighter type in the small ivory scenes on narrow columns */
@container (max-width: 380px) {
  .sc { gap: 8px; }
  .sc .sc-chip { padding: 6px 9px; }
  .sc .sc-chip b { font-size: 0.68rem; }
  .sc .sc-chip span { font-size: 0.56rem; }
  .sc .od-med { --m: clamp(34px, 11cqw, 44px); }
  .sc .od-glyph { --g: clamp(34px, 11cqw, 44px); }
}
