/* Ported from the levr-expert-training-mockup widgets, unchanged except paths. */
/* ---------- page 1 diagram ---------- */
  :root { --m: clamp(88px, 10vw, 128px); }
  .flow { display: flex; align-items: center; }
  .ins { display: flex; flex-direction: column; gap: clamp(16px, 3vh, 28px); width: clamp(220px, 30vw, 340px); flex: none; }
  .in { font: inherit; color: inherit; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: 24px; min-height: clamp(84px, 14vh, 120px); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; box-shadow: 0 1px 2px rgba(17,17,17,.05); transition: border-color .15s, transform .15s, box-shadow .15s; }
  .in:hover { border-color: #111; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,17,.08); }
  .in b { display: block; font-size: clamp(19px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
  .sub2 { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
  .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--muted); transition: transform .25s, background .15s, color .15s; }
  .in:hover .plus { background: #111; color: #fff; border-color: #111; transform: rotate(90deg); }
  .in.dark { background: #111; color: #fff; border-color: #111; } .in.dark .sub2 { color: rgba(255,255,255,.6); } .in.dark .plus { border-color: rgba(255,255,255,.4); color: #fff; }
  .in.dark:hover .plus { background: #fff; color: #111; border-color: #fff; }
  .wires { flex: none; width: calc(clamp(50px, 8vw, 110px) + var(--m) / 2); align-self: stretch; }
  .wires path { fill: none; stroke: #111; stroke-width: 2; vector-effect: non-scaling-stroke; }
  .out { flex: 1 1 auto; align-self: stretch; position: relative; min-width: 220px; }
  .outsvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .outsvg path { fill: none; stroke: #111; stroke-width: 2; }
  .out .node { position: absolute; right: 0; top: 50%; transform: translateY(-50%); translate: 0 var(--dy, 0px); }
  .out .node:hover { transform: translateY(calc(-50% - 2px)); }
  @media (max-width: 720px) { .out { align-self: center; min-width: 0; display: flex; flex-direction: column; align-items: center; } .outsvg { display: none; } .out::before { content: ""; width: 2px; height: 28px; background: #111; } .out .node { position: static; transform: none; translate: none; } }
  .mark { flex: none; width: var(--m); aspect-ratio: 1; border-radius: 50%; background: #000; display: grid; place-items: center; margin-left: calc(var(--m) / -2); position: relative; z-index: 1; border: 0; padding: 0; cursor: pointer; transition: transform .2s, box-shadow .2s; }
  .mark:hover { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(0,0,0,.08); }
  .mark img { width: 78%; }
  .seg { flex: 1 1 30px; min-width: 24px; height: 2px; background: #111; }
  .node { font: inherit; flex: none; border-radius: 999px; padding: clamp(10px, 1.6vh, 16px) clamp(16px, 2vw, 26px); font-size: clamp(16px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.02em; border: 2px solid #111; background: #111; color: #fff; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
  .node:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,17,.18); }

  @media (max-width: 720px) {
    .flow { flex-direction: column; align-items: center; }
    .ins { width: 100%; position: relative; padding-bottom: 28px; }
    .ins::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 28px; background: #111; }
    .wires { display: none; }
    .mark { margin: 0; }
    .flow > .seg { width: 2px; height: 28px; flex: 0 0 28px; min-width: 0; }
    h1.purpose { font-size: min(12vw, 11vh, 116px); }
  }
  /* the rainbow: Unique Company DNA */
  @property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
  @keyframes turn { to { --a: 360deg; } }
  .in[data-k=dna], .glow { --ring: conic-gradient(from var(--a), #6aa3ff, #9b7bff, #f07ab0, #ffb37a, #6aa3ff); }
  .in[data-k=dna] { border-width: 2.5px; }
  .in[data-k=dna]:hover { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--ring) border-box; animation: turn 4s linear infinite; box-shadow: -4px 0 12px rgba(106,163,255,.30), 4px 0 12px rgba(240,122,176,.30), 0 5px 12px rgba(155,123,255,.24); }

  /* ---------- page 2: the table ---------- */
  .room { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr); column-gap: 0; row-gap: 16px; align-items: center; max-width: 1100px; }
  @media (max-width: 760px) { .room { grid-template-columns: 1fr; } }
  .table svg { width: 100%; height: auto; display: block; }
  .screen { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 14px 16px 12px; box-shadow: 0 1px 2px rgba(17,17,17,.05); cursor: pointer; }
  .screen .sh { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .screen .sh img { width: 22px; height: 22px; border-radius: 6px; background: #000; }
  .screen .sh b { font-size: 14px; } .screen .sh span { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #c4513f; }
  .screen .sh span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #c4513f; margin-right: 6px; vertical-align: 1px; animation: blink 1.4s infinite; }
  @keyframes blink { 50% { opacity: .2; } }
  .feed { height: 232px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
  .msg { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; font-size: 14px; line-height: 1.3; animation: msgin .4s cubic-bezier(.2,.8,.2,1); }
  @keyframes msgin { from { opacity: 0; transform: translateY(8px); } }
  .msg i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #111; display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 600; background: #fff; }
  .msg.you i { background: #111; color: #fff; }
  .msg.lv i { background: #000 url("assets/mark.png") center / 20px no-repeat; border-color: #000; }
  .msg b { font-weight: 600; margin-right: 4px; } .msg small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .msg.lv span { display: block; background: var(--surface-2); border-radius: 10px; padding: 6px 9px; }
  .bubble { font-family: "Geist", system-ui, sans-serif; font-size: 13.5px; }
  .table text { font-family: "Geist", system-ui, sans-serif; }
  .table .lab { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .1em; fill: var(--muted); }
  .table .who { cursor: pointer; }
  .table .who circle.c, .table .who rect.c { transition: stroke-width .15s; }
  .table .who:hover circle.c, .table .who.on circle.c, .table .who:hover rect.c, .table .who.on rect.c { stroke-width: 4; }
  .table .chord { stroke: var(--line-strong); stroke-width: 1.2; transition: stroke .5s, stroke-width .5s, opacity .5s; opacity: .7; }
  .table .chord.lit { stroke: url(#rb); stroke-width: 3; opacity: 1; }
  .table .listen { stroke: var(--line-strong); stroke-width: 1.5; }
  .chapters { margin-top: clamp(28px, 6vh, 56px); }
  .brief.method { margin: 0 0 clamp(18px, 3vh, 28px); max-width: 60ch; }
  .day { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 12px; }
  .band { align-self: end; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 2px solid #111; margin-bottom: 10px; }
  .ch { font: inherit; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 12px 14px; cursor: pointer; transition: transform .15s, border-color .15s, background .2s, color .2s; }
  .ch small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-bottom: 14px; }
  .ch b { font-size: clamp(13px, 1.5vw, 18px); font-weight: 600; letter-spacing: -0.02em; }
  .ch:hover { transform: translateY(-3px); border-color: #111; }
  .ch.on { background: #111; color: #fff; border-color: #111; } .ch.on small { color: rgba(255,255,255,.6); }

  /* ---------- page 3 ---------- */
  .flow3 { display: flex; align-items: center; margin-top: clamp(12px, 3vh, 28px); }
  .flow3 .in { flex: 1 1 0; min-width: 0; }
  .flow3 .seg { flex: 0 0 clamp(24px, 4vw, 56px); position: relative; }
  .flow3 .seg::after { content: ""; position: absolute; right: -1px; top: -5px; border: 6px solid transparent; border-left: 8px solid #111; border-right: 0; }
  .in .n { display: block; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; } .in.dark .n { color: rgba(255,255,255,.55); }
  @media (max-width: 760px) { .flow3 .seg::after { right: -5px; top: auto; bottom: -1px; border: 6px solid transparent; border-top: 8px solid #111; border-bottom: 0; } .flow3 { flex-direction: column; align-items: stretch; } .flow3 .seg { width: 2px; min-width: 0; height: 22px; flex: 0 0 22px; align-self: center; } }

  .brief b { font-weight: 600; }
  .steps2 { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
  .steps2 span { font-size: 15px; color: var(--ink-soft); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; }
  .youtag { display: inline-block; margin-top: 9px; font-size: 12px; font-weight: 500; letter-spacing: 0; background: #111; color: #fff; border-radius: 999px; padding: 3px 10px; }
  .in.dark .youtag { background: #fff; color: #111; }
  .lede2 { font-size: clamp(18px, 2vw, 22px); color: var(--muted); letter-spacing: -0.02em; max-width: 44ch; margin: -18px 0 clamp(24px, 5vh, 40px); }
  .lanes { display: grid; gap: 10px; }
  .lane { display: grid; grid-template-columns: 200px 1fr; gap: 14px; align-items: center; }
  .lname { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .lname b { font-family: "Geist", system-ui, sans-serif; font-size: 17px; letter-spacing: -0.02em; text-transform: none; color: var(--ink); font-weight: 600; }
  .lsteps { display: flex; gap: 8px; flex-wrap: wrap; }
  .lsteps button { font: inherit; font-size: 15px; font-weight: 500; border-radius: 14px; padding: 12px 14px; cursor: pointer; border: 1.5px solid #111; transition: transform .15s; text-align: left; }
  .lsteps button:hover, .lsteps button.on { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(17,17,17,.12); }
  .lane-you button { background: #111; color: #fff; } .lane-levr button { background: #fff; color: #111; border-color: var(--line-strong); }
  .lsteps button small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; opacity: .6; margin-bottom: 4px; }
  @media (max-width: 760px) { .lane { grid-template-columns: 1fr; } }
  .who3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: clamp(24px, 5vh, 44px); max-width: 900px; }
  .who3 .kicker { grid-column: 1 / -1; }
  .who3 div { border: 1.5px solid var(--line); background: var(--surface); border-radius: 18px; padding: 14px 16px; } .who3 b { font-size: 17px; } .who3 p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
  @media (max-width: 760px) { .who3 { grid-template-columns: 1fr; } }
  .econ { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; max-width: 1100px; }
  @media (max-width: 860px) { .econ { grid-template-columns: 1fr; } }
  .knobs { display: grid; gap: 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 20px; }
  .knobs label { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 15px; color: var(--ink-soft); }
  .knobs b { font-family: var(--mono); font-size: 14px; color: var(--ink); }
  .knobs input { grid-column: 1 / -1; width: 100%; accent-color: #111; }
  .big2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .big2 div { border-radius: 20px; padding: 16px 18px; background: #111; color: #fff; } .big2 div + div { background: var(--surface); color: var(--ink); border: 2px solid transparent; }
  .big2 .rb { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(90deg, #6aa3ff, #9b7bff, #f07ab0, #ffb37a) border-box; }
  .rbi { background: linear-gradient(90deg, #6aa3ff, #9b7bff, #f07ab0, #ffb37a) !important; }
  .bars { margin-top: 10px !important; }
  .big2 .kicker { display: block; } .big2 div:first-child .kicker { color: rgba(255,255,255,.6); }
  .big2 b { display: block; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.04em; margin: 6px 0 2px; } .big2 p { margin: 0; font-size: 14px; opacity: .7; }
  .bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; height: 240px; margin-top: 18px; }
  .bar { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
  .bar .stack { display: flex; flex-direction: column-reverse; border-radius: 10px; overflow: hidden; transition: height .4s; }
  .bar .stack i { display: block; transition: height .4s; }
  .bar .tot { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 6px; } .bar small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 8px; text-transform: uppercase; }
  .blegend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 10px; } .blegend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
  .score { display: grid; grid-template-columns: 1fr minmax(240px, 320px); gap: clamp(20px, 4vw, 44px); align-items: start; max-width: 1100px; }
  @media (max-width: 860px) { .score { grid-template-columns: 1fr; } }
  .crit { display: grid; gap: 6px; }
  .row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 12px 10px 16px; }
  .row b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; } .row b em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: #c4513f; margin-left: 8px; }
  .row .pts { display: flex; gap: 4px; } .row .pts button { font: inherit; font-family: var(--mono); font-size: 13px; width: 34px; height: 30px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; }
  .row .pts button.on { background: var(--c); color: #fff; border-color: var(--c); }
  .row .pts button:hover { border-color: var(--c); }
  .row { border-left: 5px solid var(--line); } .row.set { border-left-color: var(--c); }
  .row p i { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #2f7a4e; margin-right: 4px; }
  .crit .grp { display: block; margin: 12px 0 2px; } .crit .grp:first-child { margin-top: 0; }
  .row p { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); min-height: 1.3em; }
  .verdict { position: sticky; top: 90px; border-radius: 22px; padding: 20px; background: var(--surface); border: 1.5px solid var(--line); transition: background .3s, color .3s; }
  .verdict .num { font-size: 56px; letter-spacing: -0.05em; } .verdict .num small { font-size: 20px; color: var(--muted); }
  .verdict h3 { font-size: 22px; margin: 6px 0; } .verdict p { margin: 0; font-size: 15px; color: var(--ink-soft); }
  .verdict.go { background: #e2efe6; border-color: #2f7a4e; } .verdict.cond { background: #f8e7d6; border-color: #d59a2b; } .verdict.no { background: #f6dfda; border-color: #c4513f; }
  .film { position: relative; aspect-ratio: 16 / 7; max-width: 1100px; border-radius: 24px; border: 1.5px dashed var(--line-strong); background: var(--surface-2); display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 clamp(28px, 6vh, 56px); }
  .film .play { width: 64px; height: 64px; border-radius: 50%; background: #111; position: relative; } .film .play::after { content: ""; position: absolute; left: 26px; top: 21px; border: 11px solid transparent; border-left: 16px solid #fff; border-right: 0; }
  .film b { display: block; font-size: 20px; letter-spacing: -0.02em; } .film span:not(.play) { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .qs2 { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 18px 0 0; max-width: 760px; }
  .qb { font: inherit; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; padding: 7px 14px 7px 8px; cursor: pointer; color: var(--ink);
    background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--ring) border-box; animation: turn 6s linear infinite; text-align: left; }
  .qb, .qc { --ring: conic-gradient(from var(--a), #6aa3ff, #9b7bff, #f07ab0, #ffb37a, #6aa3ff); }
  .qb .qm { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; background: conic-gradient(from 200deg, #6aa3ff, #9b7bff, #f07ab0, #ffb37a, #6aa3ff); }
  .qb.saved .qm::after { content: "✓"; } .qb:not(.saved) .qm::after { content: "?"; }
  .qb:hover { box-shadow: -3px 0 10px rgba(106,163,255,.25), 3px 0 10px rgba(240,122,176,.25); }
  .qc { width: 100%; border: 2px solid transparent; border-radius: 20px; padding: 16px 18px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--ring) border-box; animation: turn 6s linear infinite, drop .3s cubic-bezier(.2,.8,.2,1); }
  .qc .kicker { display: block; margin-bottom: 6px; }
  .qc p { font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 12px; }
  .qc textarea { width: 100%; min-height: 64px; font: inherit; font-size: 15px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; resize: vertical; background: var(--bg); }
  .qc .qa { display: flex; gap: 8px; margin-top: 10px; }
  .qc .qa button { font: inherit; font-size: 14px; border-radius: 999px; padding: 7px 14px; cursor: pointer; border: 1.5px solid var(--line-strong); background: var(--surface); }
  .qc .qa .keep { background: #111; color: #fff; border-color: #111; }
  .qtray { font: inherit; font-size: 13px; border: 2px solid transparent; border-radius: 999px; padding: 6px 12px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from 200deg, #6aa3ff, #9b7bff, #f07ab0, #ffb37a, #6aa3ff) border-box; }
  .qtray b { font-family: var(--mono); font-size: 12px; background: #111; color: #fff; border-radius: 999px; padding: 1px 7px; }
  #drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); z-index: 7; background: var(--surface); box-shadow: -20px 0 60px rgba(14,18,24,.18); transform: translateX(105%); transition: transform .4s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; padding: 20px; }
  body.drawer #drawer { transform: none; }
  #drawer .dh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; } #drawer .dh b { font-size: 20px; letter-spacing: -0.02em; }
  #drawer .dh button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); font-size: 18px; cursor: pointer; }
  #dlist { flex: 1; overflow: auto; display: grid; gap: 10px; align-content: start; }
  #dlist .it { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; } #dlist .it p { margin: 0; font-size: 15px; } #dlist .it small { display: block; color: var(--muted); margin-top: 6px; font-size: 14px; white-space: pre-wrap; }
  #dlist .empty { color: var(--muted); font-size: 15px; }
  .df { padding-top: 12px; }
  @media (max-width: 760px) { .qtray { display: none; } }
  /* ---------- the sheet ---------- */
  #veil { position: fixed; inset: 0; z-index: 5; background: rgba(17,17,17,.28); opacity: 0; pointer-events: none; transition: opacity .35s; }
  #sheet { position: fixed; z-index: 6; background: var(--surface); border-radius: 24px; box-shadow: 0 30px 80px rgba(14,18,24,.22); overflow: hidden; visibility: hidden; transition: top .5s cubic-bezier(.2,.8,.2,1), left .5s cubic-bezier(.2,.8,.2,1), width .5s cubic-bezier(.2,.8,.2,1), height .5s cubic-bezier(.2,.8,.2,1), border-radius .5s; }
  body.open #veil { opacity: 1; pointer-events: auto; }
  #sheet .inner { padding: clamp(22px, 4vh, 40px) clamp(24px, 4vw, 48px); height: 100%; overflow: auto; }
  #sheet h2 { font-size: clamp(26px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.04em; margin: 0 0 clamp(12px, 2.4vh, 22px); }
  #sheet .x { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); font-size: 18px; cursor: pointer; z-index: 2; opacity: 0; transition: opacity .2s; }
  body.shown #sheet .x { opacity: 1; }
  .rise { opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s cubic-bezier(.2,.8,.2,1); }
  body.shown .rise { opacity: 1; transform: none; }
  body.shown .rise:nth-child(2) { transition-delay: .08s; } body.shown .rise:nth-child(3) { transition-delay: .16s; } body.shown .rise:nth-child(4) { transition-delay: .24s; } body.shown .rise:nth-child(5) { transition-delay: .32s; }
  .line1 { font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.02em; line-height: 1.25; max-width: 32ch; margin: 0 0 clamp(14px, 2.6vh, 24px); }
  .more { margin-top: clamp(16px, 3vh, 24px); }
  @keyframes flipin { 0% { transform: perspective(1600px) rotateY(180deg); background: #111; } 50% { background: #111; } 50.01% { background: var(--surface); } 100% { transform: perspective(1600px) rotateY(0deg); background: var(--surface); } }
  @keyframes flipout { 0% { transform: perspective(1600px) rotateY(0deg); background: var(--surface); } 50% { background: var(--surface); } 50.01% { background: #111; } 100% { transform: perspective(1600px) rotateY(180deg); background: #111; } }

  .switch { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
  .switch button { font: inherit; font-size: 15px; border: 0; background: transparent; border-radius: 999px; padding: 8px 18px; cursor: pointer; color: var(--muted); }
  .switch button.on { background: #111; color: #fff; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
  .chip { border-radius: 999px; padding: 8px 14px; font-size: 15px; border: 1.5px solid var(--line); transition: opacity .5s, background .5s, color .5s, border-color .5s; }
  .chips.noise .fact { opacity: .16; } .chips.reality .say { opacity: .16; }
  .chips.reality .fact { background: #111; color: #fff; border-color: #111; }
  .where { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 10px 0 0; }
  details { border-top: 1px solid var(--line); max-width: 680px; }
  details:last-of-type { border-bottom: 1px solid var(--line); }
  summary { list-style: none; cursor: pointer; padding: 13px 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; color: var(--muted); transition: transform .25s; }
  details[open] summary::after { transform: rotate(45deg); }
  details > :not(summary) { animation: drop .3s cubic-bezier(.2,.8,.2,1); }
  @keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
  details ul { margin: 0 0 12px; padding-left: 18px; color: var(--ink-soft); } details li { margin-bottom: 5px; }
  .eg { background: var(--surface-2); border-radius: 14px; padding: 12px 16px; margin: 0 0 14px; font-size: 16px; }
  .eg .kicker { display: block; margin-bottom: 4px; }
  .you { display: inline-block; background: #111; color: #fff; border-radius: 999px; padding: 9px 18px; font-size: 16px; margin-bottom: clamp(12px, 2.4vh, 22px); }

  .orbit { position: relative; height: clamp(260px, 42vh, 380px); max-width: 680px; --you: clamp(96px, 15vh, 128px); }
  .orbit .me { position: absolute; left: 50%; top: calc(50% - var(--you) / 2); transform: translateX(-50%); z-index: 50; text-align: center; }
  .orbit .me b { display: grid; place-items: center; width: var(--you); height: var(--you); border-radius: 50%; background: #111; color: #fff; font-size: calc(var(--you) * .24); font-weight: 600; letter-spacing: -0.03em; box-shadow: 0 0 0 10px rgba(17,17,17,.06); }
  .orbit .me small { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 2px 8px; }
  .orbit span { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 19px; letter-spacing: -0.02em; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 18px 18px 18px 4px; padding: 10px 16px; will-change: transform, opacity; cursor: default; }
  .orbit span.ph { color: var(--muted); border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--ring) border-box; animation: turn 4s linear infinite; box-shadow: -4px 0 12px rgba(106,163,255,.25), 4px 0 12px rgba(240,122,176,.25); }
  .talk { max-width: 660px; display: grid; gap: 10px; }
  .talk .b { max-width: 78%; padding: 10px 16px; border-radius: 18px; font-size: 18px; letter-spacing: -0.015em; line-height: 1.25; opacity: 0; transform: translateY(10px); animation: say .45s cubic-bezier(.2,.8,.2,1) forwards; }
  @keyframes say { to { opacity: 1; transform: none; } }
  .talk .b small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: 3px; }
  .talk .you2 { background: #111; color: #fff; border-bottom-left-radius: 4px; justify-self: start; }
  .talk .them { background: var(--surface-2); border-bottom-right-radius: 4px; justify-self: end; }
  .talk .b.glow { background: linear-gradient(#111, #111) padding-box, var(--ring) border-box; border: 2.5px solid transparent; animation: say .45s cubic-bezier(.2,.8,.2,1) forwards, turn 4s linear infinite; box-shadow: -6px 0 18px rgba(106,163,255,.25), 6px 0 18px rgba(240,122,176,.25); }
  .talk .lv { justify-self: center; background: transparent; border: 1.5px dashed var(--line-strong); color: var(--muted); font-size: 15px; border-radius: 999px; display: flex; align-items: center; gap: 10px; }
  .talk .lv img { width: 22px; height: 22px; border-radius: 50%; background: #000; }
  .talk .end { opacity: 0; animation: say .45s forwards; justify-self: end; }
  .talk .end button { font: inherit; font-size: 13px; background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; cursor: pointer; color: var(--muted); }

  .steps3, .three3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 680px; }
  .steps3 div { border-top: 2px solid #111; padding-top: 10px; }
  .steps3 b, .three3 b { display: block; font-size: 22px; letter-spacing: -0.03em; margin: 4px 0; }
  .steps3 p, .three3 p { margin: 0; color: var(--muted); font-size: 15px; }
  .three3 { margin-bottom: 14px; }
  .three3 div { border: 1.5px solid var(--line); border-radius: 18px; padding: 14px 16px; }
  .three3 div.k { background: #111; border-color: #111; color: #fff; } .three3 div.k p { color: rgba(255,255,255,.7); }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 680px; margin-bottom: 14px; }
  .two div { border-radius: 18px; padding: 16px 18px; border: 1.5px solid var(--line); }
  .two div.is { background: #111; color: #fff; border-color: #111; }
  .two .kicker { display: block; margin-bottom: 10px; } .two .is .kicker { color: rgba(255,255,255,.64); }
  .two p { font-size: 16px; margin: 0 0 8px; letter-spacing: -0.01em; }
  .two .isnt p { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
  .case { display: block; width: 100%; max-width: 680px; padding: 0; border: 0; border-radius: 20px; overflow: hidden; position: relative; aspect-ratio: 941 / 430; cursor: pointer; background: var(--surface-2); }
  .case img { width: 100%; height: 108.9%; object-fit: cover; object-position: top; display: block; }
  .case em { position: absolute; left: 14px; bottom: 12px; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.5); border-radius: 999px; padding: 4px 10px; }
  .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 680px; }
  .pair div { border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 18px; }
  .pair div.k { background: #111; color: #fff; border-color: #111; } .pair div.k p { color: rgba(255,255,255,.72); }
  .pair b { display: block; font-size: 22px; letter-spacing: -0.03em; margin-bottom: 6px; } .pair p { margin: 0; color: var(--muted); }
  .assets { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
  .assets span { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 12px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
  .assets span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #111 url("assets/mark.png") center / 16px no-repeat; }
  .wheelbox { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; max-width: 680px; }
  .wheelbox svg { width: clamp(150px, 22vw, 210px); }
  .wheelbox path { cursor: pointer; transition: opacity .15s; } .wheelbox path:hover { opacity: .7; }
  .wheelbox p { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
  .trend { width: 100%; height: auto; display: block; margin-top: 4px; }
  .trend text { font-family: "Geist", system-ui, sans-serif; }
  .trend .mono { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .1em; fill: var(--muted); }
  .trend .turn { cursor: pointer; } .trend .turn:hover circle { stroke-width: 4; }
  .trend .axis { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .06em; fill: var(--muted); }
  .tlegend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 6px; font-size: 13px; color: var(--muted); }
  .tlegend span { display: inline-flex; align-items: center; gap: 7px; }
  .tlegend i { display: inline-block; }
  .lg-dash { width: 22px; border-top: 2px dashed #111; opacity: .5; } .lg-line { width: 22px; height: 3px; background: #111; border-radius: 2px; } .lg-dot { width: 11px; height: 11px; border-radius: 50%; border: 3px solid #9b7bff; }
  .lg-score { width: 30px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #2f7a4e 33%, #d59a2b 33% 66%, #c4513f 66%); }
  .wheelrow { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; max-width: 680px; margin-top: 12px; }
  .wheelrow svg { width: clamp(130px, 18vw, 170px); }
  .wheelrow p { font-size: 22px; letter-spacing: -0.02em; margin: 4px 0 0; } .wheelrow p.where { font-size: 10.5px; letter-spacing: .08em; }
  .tcap { font-size: 17px; color: var(--ink-soft); min-height: 2.6em; margin: 4px 0 0; max-width: 52ch; }
  .tcap .kicker { display: block; margin-bottom: 2px; }
  @media (max-width: 640px) { .steps3, .three3, .two, .pair, .wheelbox { grid-template-columns: 1fr; } }
  /* the first fourteen days: the only timeline an expert promises */
  .when { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 680px; margin: 6px 0 0; }
  .when div { border-top: 2px solid #111; padding-top: 10px; }
  .when div.gate { border-top-style: dashed; }
  .when small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .when b { display: block; font-size: 17px; letter-spacing: -0.02em; line-height: 1.15; margin: 6px 0 4px; }
  .when p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.35; }
  @media (max-width: 640px) { .when { grid-template-columns: 1fr 1fr; } }


  /* ---------- emphasis: marker (the simulator's line-art style) or rainbow ----------
     body.marker swaps every rainbow for loose ink loops and a yellow marker, as in the line-art test.
     Without the class the page is exactly the rainbow version. */
  :root { --hl: #fee895; --hl-ink: #fee072; } /* the halo yellow from the simulator line art (Spotlight on the speaker) */

  /* the drawn layer: one svg per marked element, behind its text */
  .mk { isolation: isolate; }
  .mk-ink { position: absolute; z-index: -1; pointer-events: none; overflow: visible; }
  .mk-ink .hl path { fill: var(--hl-ink); fill-opacity: .75; }
  .mk-ink .loop { fill: none; stroke: #111; stroke-width: 3.6; stroke-opacity: .9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: ink .75s cubic-bezier(.55,0,.3,1) var(--d, 0s) forwards; }
  .mk-ink .loop.b { stroke-width: 2.4; stroke-opacity: .7; animation-duration: .5s; animation-delay: calc(var(--d, 0s) + .45s); }
  .mk-ink .hl path { clip-path: inset(0 100% 0 0); animation: swipe .38s cubic-bezier(.45,0,.25,1) calc(var(--d, 0s) + var(--i, 0) * .2s) forwards; }
  @keyframes swipe { to { clip-path: inset(0 0 0 0); } }
  @keyframes ink { 0% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
  
  /* loops that only appear on hover redraw each time */
  .mk-ink.hov .loop { animation: none; }
  :hover > .mk-ink.hov .loop { animation: ink .55s cubic-bezier(.55,0,.3,1) forwards; }
  :hover > .mk-ink.hov .loop.b { animation: ink .4s .35s cubic-bezier(.55,0,.3,1) forwards; }
  @media (prefers-reduced-motion: reduce) { .mk-ink .loop, :hover > .mk-ink.hov .loop { animation: none; stroke-dashoffset: 0; opacity: 1; } .mk-ink .hl path { animation: none; clip-path: none; } .mk-ink.hov .loop { opacity: 0; } :hover > .mk-ink.hov .loop { opacity: 1; } }

  /* a marker swipe for short runs of text */
  body.marker .hlt { color: var(--ink); width: fit-content; padding: 1px 5px; margin-left: -5px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cg fill='%23fee072' fill-opacity='.75'%3E%3Cpath d='M2.5 1.8 L99.2 0.6 L97.4 11.6 L0.6 12.4 Z'/%3E%3Cpath d='M1.2 8.2 L97.6 7.4 L99.6 19 L3 19.6 Z'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }

  /* Unique Company DNA: "Meaningful conversation" is marked; hovering draws a loop round the card */
  body.marker .in[data-k=dna] { border-width: 1.5px; }
  body.marker .in[data-k=dna] .sub2 { color: var(--ink); width: fit-content; padding: 1px 6px; margin-left: -6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cg fill='%23fee072' fill-opacity='.75'%3E%3Cpath d='M2.5 1.8 L99.2 0.6 L97.4 11.6 L0.6 12.4 Z'/%3E%3Cpath d='M1.2 8.2 L97.6 7.4 L99.6 19 L3 19.6 Z'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
  body.marker .in[data-k=dna]:hover { border-color: transparent; background: var(--surface); animation: none; box-shadow: none; }

  /* the expert's question, in the orbit and in the conversation */
  body.marker .orbit span.ph { color: var(--ink); background: transparent; border-color: transparent; animation: none; box-shadow: none; }
  body.marker .talk .b.glow { background: transparent; color: var(--ink); border: 2.5px solid transparent; box-shadow: none; animation: say .45s cubic-bezier(.2,.8,.2,1) forwards; }
  body.marker .talk .b.glow small { opacity: .75; }

  /* questions to bring to Stop A */
  body.marker .qb { background: transparent; border-color: transparent; animation: none; }
  body.marker .qb:hover { box-shadow: none; }
  body.marker .qb .qm { background: #111; }
  body.marker .qc { background: var(--surface); border-color: transparent; animation: drop .3s cubic-bezier(.2,.8,.2,1); }
  body.marker .qtray { background: var(--surface); border-color: transparent; }
  body.marker .qtray b { background: var(--hl); color: var(--ink); }

  /* the economics: the recurring share */
  body.marker .big2 .rb { background: var(--surface); border-color: transparent; }
  body.marker .rbi, body.marker .bar .stack i[title^="Recurring"] { background: repeating-linear-gradient(-45deg, rgba(17,17,17,.5) 0 1.2px, transparent 1.2px 6px), var(--hl) !important; }

  /* walking forward: the turns that came from conversation */
  body.marker .trend circle[stroke="url(#trb)"] { stroke: #111; fill: var(--hl); }
  body.marker .lg-dot { border-color: #111; background: var(--hl); }
