/* axiom365.io home: the hero's "Run a job" button and the interactive stage preview that leads into /demo/.
   The preview reuses the app-surface kit from demo.css (.ax …) so the home page and the demo show the same screens. */
@property --run-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn-run { position: relative; isolation: isolate; border: 0; background: var(--raised); color: var(--ink); padding: 0 22px 0 14px; gap: 12px; box-shadow: 0 10px 34px -12px var(--accent-glow); }
.btn-run::before { content: ''; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: conic-gradient(from var(--run-a), rgba(91,124,255,.15), #5B7CFF 18%, #85CFA2 34%, rgba(91,124,255,.15) 52%, rgba(91,124,255,.15)); animation: run-spin 5s linear infinite; }
.btn-run::after { content: ''; position: absolute; inset: 1.5px; z-index: -1; border-radius: 8.5px; background: linear-gradient(180deg, #1C2029, #14171D); transition: background .3s; }
.btn-run:hover { background: var(--raised); } .btn-run:hover::after { background: linear-gradient(180deg, #232836, #181C25); }
.btn-run .play { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-fill); flex: none; }
.btn-run .play::before { content: ''; border-left: 9px solid #fff; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; margin-left: 2px; }
@keyframes run-spin { to { --run-a: 360deg; } }
.hero .live { animation: live-breathe 7s ease-in-out infinite; }
@keyframes live-breathe { 0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(91,124,255,.0), 0 0 90px -30px rgba(91,124,255,.25); } 50% { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(91,124,255,.28), 0 0 120px -24px rgba(91,124,255,.5); } }
.live-ctl .live-cap a { color: var(--link); font-weight: 600; text-decoration: none; padding: 12px 0; } .live-ctl .live-cap a:hover { text-decoration: underline; }
.hero-switch .sep { margin: 0 8px; opacity: .5; }

.runband { overflow: clip; }
.runband::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 78% 40%, rgba(91,124,255,.13), transparent 70%); }
.runband-grid { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1040px) { .runband-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.runbox { display: grid; grid-template-columns: 236px minmax(0, 1fr); border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.run-stages { list-style: none; margin: 0; padding: 8px; display: grid; gap: 1px; align-content: start; border-right: 1px solid var(--border-subtle); background: rgba(255,255,255,.015); }
.run-stages button { position: relative; display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 0 8px; width: 100%; min-height: 40px; padding: 5px 10px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font: 500 14px/1.25 var(--font-sans); text-align: left; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.run-stages .n { font: 500 11px var(--font-mono); color: var(--text-3); }
.run-stages .w { grid-column: 2; font-size: 12px; color: var(--text-3); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s var(--ease); }
.run-stages button:hover { background: rgba(255,255,255,.04); color: var(--ink); }
.run-stages button[aria-pressed="true"] { background: var(--accent-bg); color: var(--ink); font-weight: 600; }
.run-stages button[aria-pressed="true"] .n { color: var(--info-fg); }
.run-stages button[aria-pressed="true"] .w { max-height: 20px; opacity: 1; }
.run-stages button[aria-pressed="true"]::after { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--accent); }
.run-view { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: 16px; min-width: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(91,124,255,.1), transparent 70%); }
.run-screen { position: relative; border-radius: 14px; padding: 16px; min-height: 318px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 50px -24px rgba(0,0,0,.8); background: var(--a-bg); overflow: hidden; }
.scene { display: none; } .scene.on { display: grid; gap: 10px; align-content: start; animation: rj-in .5s var(--ease) both; }
.scene-who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--a-2); margin-bottom: 2px !important; }
.scene-who b { color: var(--a-ink); } .scene-who .ms { width: 22px; height: 22px; font-size: 10px; margin-left: auto; }
.scene .ax-next { margin-top: 0; } .scene .paper { padding: 14px 16px; } .scene .paper::after { content: none; } .scene .stamp { right: 14px; bottom: 14px; }
.scene .px-sec, .scene .cx-rowbtn, .scene .cx-card { margin-bottom: 0; } .scene .pay .amt { padding: 4px 0 10px; }
.scene button, .scene .ax-btn { pointer-events: none; }
.scene .px-opt { display: inline-flex; align-items: center; } .scene .ax-btn { align-self: start; justify-self: start; }
.scene .ax-lead { animation: ax-drop .8s var(--ease) .1s both; }
.run-go { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; background: var(--accent-fill); color: #fff; font-weight: 600; font-size: 15.5px; text-decoration: none; transition: background .3s; }
.run-go:hover { background: var(--accent-fill-hover); text-decoration: none; }
@media (max-width: 719px) {
  .runbox { grid-template-columns: minmax(0, 1fr); }
  .run-stages { display: flex; gap: 6px; padding: 10px; overflow-x: auto; scroll-snap-type: x proximity; border-right: 0; border-bottom: 1px solid var(--border-subtle); scrollbar-width: none; }
  .run-stages li { flex: none; scroll-snap-align: start; }
  .run-stages button { grid-template-columns: auto auto; min-height: 44px; padding: 6px 12px; white-space: nowrap; border: 1px solid var(--border); border-radius: 999px; }
  .run-stages .w, .run-stages button[aria-pressed="true"]::after { display: none; }
  .run-view { padding: 12px; } .run-screen { min-height: 300px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .btn-run::before, .hero .live { animation: none; } .scene.on, .scene .ax-lead { animation: none; } }

/* ---------- Contract Studio: the document goes from the record to the homeowner's phone and comes back signed ---------- */
.handoff { display: grid; grid-template-columns: minmax(0, 1fr) clamp(90px, 14vw, 190px) 236px; align-items: center; margin-top: 44px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--border); border-radius: 18px; background: radial-gradient(60% 90% at 80% 50%, rgba(91,124,255,.12), transparent 70%), var(--canvas); }
.ho-desk { border-radius: 12px; overflow: hidden; background: var(--a-bg); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 50px -24px rgba(0,0,0,.8); }
.ho-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; background: linear-gradient(180deg, #23272E, #1B1F25); font: 500 11px var(--font-mono); color: var(--text-3); }
.ho-bar img { width: 13px; height: 13px; } .ho-bar span:last-child { margin-left: auto; }
.ho-body { padding: 16px 18px 18px; display: grid; gap: 12px; }
.ho-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ho-row b { font-size: 17px; }
.ho-state { transition: background .4s, color .4s; }
.ho-filed { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--a-ok); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.handoff[data-s="3"] .ho-filed { opacity: 1; transform: none; }
.ho-send { justify-self: start; transition: background .3s, border-color .3s, color .3s; }
.handoff:not([data-s="0"]) .ho-send { background: #ECEAE4; border-color: #ECEAE4; color: #8a8f98; }
.ho-track { position: relative; height: 120px; }
.ho-track::before { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 2px dashed rgba(255,255,255,.18); }
.ho-doc, .ho-back { position: absolute; top: 50%; left: 0; opacity: 0; transform: translate(-50%, -50%); }
.ho-doc { width: 44px; height: 56px; border-radius: 4px; background: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.7), 0 0 30px -4px var(--accent-glow); padding: 8px 7px; display: grid; gap: 4px; align-content: start; }
.ho-doc i { height: 3px; border-radius: 2px; background: #c9c6bd; } .ho-doc i:first-child { width: 60%; background: #26303f; } .ho-doc i:last-child { width: 45%; margin-top: 8px; background: var(--a-blue); }
.handoff[data-s="1"] .ho-doc { animation: ho-go 1.3s var(--ease) both; }
@keyframes ho-go { 0% { left: 0; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-8deg); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(6deg); } }
.ho-back { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ok-fg); color: var(--canvas); font-size: 16px; font-weight: 700; box-shadow: 0 0 30px -2px var(--ok-fg); }
.handoff[data-s="3"] .ho-back { animation: ho-ret 1.2s var(--ease) .5s both; }
@keyframes ho-ret { 0% { left: 100%; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.ho-phone { padding: 7px; border-radius: 30px; background: linear-gradient(145deg, #3a3d43, #121316 40%, #2a2c31); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 30px 60px -20px rgba(0,0,0,.9); }
.ho-screen { position: relative; border-radius: 24px; overflow: hidden; background: var(--a-bg); min-height: 292px; display: grid; grid-template-rows: auto 1fr auto; }
.ho-screen .hx-head { padding: 12px 12px 8px; font-size: 12px; } .ho-screen .hx-head svg { width: 24px; }
.ho-wait { display: grid; place-items: center; align-content: center; gap: 6px; padding: 16px; text-align: center; color: var(--a-3); font-size: 12.5px; transition: opacity .4s; }
.ho-wait b { display: block; color: var(--a-2); font-size: 13.5px; }
.ho-page { position: absolute; inset: 44px 0 0; padding: 10px; display: grid; grid-template-rows: 1fr auto; gap: 8px; background: var(--a-bg); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.handoff[data-s="2"] .ho-page, .handoff[data-s="3"] .ho-page { opacity: 1; transform: none; }
.ho-page .paper { padding: 12px; font-size: 10.5px; } .ho-page .paper::after { content: none; } .ho-page .paper h3 { font-size: 13.5px; }
.ho-page .sig { min-height: 40px; margin-top: 10px; } .ho-page .sig-typed { font-size: 21px; }
.ho-page .sig .ink { animation: none; clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.5,0,.3,1); }
.handoff[data-s="3"] .ho-page .sig .ink { clip-path: inset(0 0 0 0); }
.ho-page .ax-btn { min-height: 38px; font-size: 13.5px; pointer-events: none; transition: background .4s, border-color .4s; }
.handoff[data-s="3"] .ho-page .ax-btn { background: var(--a-ok); border-color: var(--a-ok); }
.ho-states { grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 22px 0 0; padding: 0; font: 500 12px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.ho-states li { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; transition: color .4s, border-color .4s, background .4s; }
.ho-states li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.ho-states li.on { color: var(--ink); border-color: var(--accent); background: var(--accent-bg); } .ho-states li.done { color: var(--ok-fg); }
.ho-states .cap { border: 0; padding-left: 0; text-transform: none; letter-spacing: 0; font: 13px var(--font-sans); margin-left: auto; } .ho-states .cap::before { content: none; }
@media (max-width: 859px) { .handoff { grid-template-columns: minmax(0, 1fr); gap: 0; } .ho-track { height: 64px; } .ho-track::before { left: 50%; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 2px dashed rgba(255,255,255,.18); } .ho-doc, .ho-back { left: 50% !important; } .ho-phone { justify-self: center; width: min(260px, 100%); } .ho-states .cap { margin-left: 0; flex-basis: 100%; } }

/* ---------- Axiom Complete vs Powered by Rytela: who does the front-office work ---------- */
.modes { margin-bottom: 56px; border: 1px solid var(--border); border-radius: 18px; background: var(--canvas); overflow: hidden; }
.modes-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-bottom: 1px solid var(--border-subtle); background: rgba(255,255,255,.02); }
.modes-switch button { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--text-2); font: inherit; text-align: left; cursor: pointer; transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.modes-switch b { font-size: clamp(16px, 2vw, 20px); letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.modes-switch span.s { font-size: 14px; }
.modes-switch button:hover { background: rgba(255,255,255,.04); }
.modes-switch button[aria-pressed="true"] { background: var(--raised); border-color: var(--border-strong); color: var(--ink); }
.modes-switch button[data-m="rytela"][aria-pressed="true"] { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: linear-gradient(180deg, rgba(91,124,255,.16), rgba(91,124,255,.04)); }
.modes-board { display: grid; gap: 0; }
@media (min-width: 900px) { .modes-board { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.modes-lane { padding: clamp(16px, 2.4vw, 26px); }
.modes-lane + .modes-lane { border-top: 1px solid var(--border-subtle); }
@media (min-width: 900px) { .modes-lane + .modes-lane { border-top: 0; border-left: 1px solid var(--border-subtle); } }
.modes-lane .k { margin: 0 0 14px; font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.modes-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.modes-rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 15px; font-weight: 500; transition: border-color .5s var(--ease), background .5s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.modes[data-mode="rytela"] .modes-rows li { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: linear-gradient(90deg, var(--surface), rgba(91,124,255,.09)); }
.modes-who { position: relative; display: grid; min-height: 40px; }
.modes-who > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 400; color: var(--text-2); line-height: 1.3; transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.modes-who b { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.modes-who .avatar { width: 30px; height: 30px; font-size: 11px; }
.modes-who .ai .avatar { background: var(--accent-fill); color: #fff; box-shadow: 0 0 18px -2px var(--accent-glow); }
.modes-who .ai { opacity: 0; transform: translateX(18px); } .modes[data-mode="rytela"] .modes-who .ai { opacity: 1; transform: none; }
.modes[data-mode="rytela"] .modes-who .hu { opacity: 0; transform: translateX(-18px); }
.modes-tag { margin-left: auto; font: 500 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 6px; border-radius: 4px; background: rgba(255,255,255,.07); color: var(--text-2); flex: none; }
.ai .modes-tag { background: var(--accent-bg); color: var(--info-fg); }
.modes-same { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.modes-same li { display: flex; align-items: center; gap: 10px; } .modes-same .ms { width: 24px; height: 24px; font-size: 10px; }
.modes-same small { margin-left: auto; color: var(--text-3); font-size: 12.5px; text-align: right; }
.modes-note { margin: 16px 0 0; font-size: 14px; color: var(--text-2); }
.modes-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 14px clamp(16px, 2.4vw, 26px); border-top: 1px solid var(--border-subtle); font-size: 13.5px; color: var(--text-3); }
@media (max-width: 599px) { .modes-rows li { grid-template-columns: minmax(0, 1fr); gap: 6px; } .modes-switch button { padding: 12px; } .modes-switch span.s { font-size: 13px; } .modes-same small { display: none; } }

/* ---------- migration: historical jobs, documents and photos mapped into Axiom, one record at a time ---------- */
.mig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 230px) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.mig-col { padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.mig-col h3 { font-size: 16px; margin: 0 0 4px; } .mig-col .sub { margin: 0 0 14px; font: 12px var(--font-mono); color: var(--text-3); }
.mig-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mig-col li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; min-height: 56px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--raised); font-size: 14px; transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s var(--ease); }
.mig-col li b { font-weight: 600; } .mig-col li em { grid-column: 2; font: normal 11.5px var(--font-mono); color: var(--text-3); }
.mig-col li .st { grid-row: 1 / 3; grid-column: 3; font: 500 11px var(--font-mono); letter-spacing: .04em; color: var(--text-2); padding: 4px 7px; border: 1px solid var(--border); border-radius: 5px; white-space: nowrap; }
.mig-col li .fi { grid-row: 1 / 3; width: 26px; height: 30px; border-radius: 3px; background: linear-gradient(135deg, #3a3f49 50%, #2b3038 50%); position: relative; }
.mig-col li .ms { grid-row: 1 / 3; width: 26px; height: 26px; font-size: 10px; }
.mig .from li.sent { opacity: .38; } .mig .from li.now { border-color: var(--accent); }
.mig .to li { opacity: 0; transform: translateX(-16px) scale(.98); } .mig .to li.in { opacity: 1; transform: none; }
.mig .to li.rev { border-style: dashed; border-color: color-mix(in srgb, var(--warn-fg) 55%, transparent); } .mig .to li.rev .st { color: var(--warn-fg); border-color: color-mix(in srgb, var(--warn-fg) 40%, transparent); }
.mig .to li .q { grid-row: 1 / 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px dashed var(--warn-fg); color: var(--warn-fg); font: 600 12px var(--font-mono); }
.mig-gate { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 16px 10px; text-align: center; min-width: 0; }
.mig-gate .ring { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; color: var(--accent); font-size: 22px; box-shadow: 0 0 30px -4px var(--accent-glow); }
.mig.busy .mig-gate .ring { animation: mig-pulse 1.5s var(--ease) infinite; }
@keyframes mig-pulse { 50% { box-shadow: 0 0 46px 2px var(--accent-glow); transform: scale(1.06); } }
.mig-gate b { font-size: 14px; } .mig-gate small { color: var(--text-3); font-size: 12.5px; line-height: 1.4; }
.mig-map { min-height: 42px; display: grid; place-items: center; padding: 8px 10px; border-radius: 9px; background: var(--accent-bg); color: var(--info-fg); font: 500 12px/1.35 var(--font-mono); width: 100%; }
.mig-map.swap { animation: rj-in .4s var(--ease); }
.mig-count { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; font: 500 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.mig-count b { display: block; font: 600 20px var(--font-sans); letter-spacing: -.02em; color: var(--ink); } .mig-count .zero b { color: var(--ok-fg); }
@media (max-width: 859px) { .mig { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .handoff .ho-doc, .handoff .ho-back, .mig.busy .mig-gate .ring { animation: none !important; } .modes-rows li, .modes-who > span { transition-delay: 0s; } }

/* ---------- hero: steady card height, a light travelling its border, a phone that follows the job, a drawn underline ---------- */
.live-wrap { position: relative; isolation: isolate; min-width: 0; }
.live-wrap::before { content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: 19.5px; background: conic-gradient(from var(--run-a), transparent 0 62%, #5B7CFF 80%, #85CFA2 90%, #fff 94%, transparent 100%); animation: run-spin 7s linear infinite; }
.live-wrap::after { content: ''; position: absolute; inset: 8% -6% -8% 6%; z-index: -2; background: radial-gradient(closest-side, rgba(91,124,255,.28), transparent 72%); filter: blur(30px); }
.hero .live { animation: none; }
/* the card no longer grows and shrinks with the wording of each step */
.hero .live .live-head .addr { min-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .live .live-stage { min-height: 44px; align-content: start; }
.hero .live .next-swap h4 { min-height: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .live .next-swap p { height: 63px; overflow: hidden; }
.hero .live .feed { height: 142px; min-height: 0; overflow: hidden; }
.hero .live .feed li b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .live .strip .ms-now { animation: hp-now .6s var(--ease); }
@keyframes hp-now { 0% { transform: scale(.7); } 60% { transform: scale(1.22); } 100% { transform: scale(1.08); } }
.hero h1 .grad { position: relative; white-space: nowrap; }
.hero h1 .grad::after { content: ''; position: absolute; left: -1%; right: -2%; bottom: -.14em; height: .2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c48-5 96-6 148-4 50 2 98 1 146-2' fill='none' stroke='%235B7CFF' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); animation: hp-under 1s cubic-bezier(.6,0,.2,1) .7s forwards; opacity: .9; }
@keyframes hp-under { to { clip-path: inset(0 0 0 0); } }
.hp { display: none; }
@media (min-width: 1040px) {
  .hp { display: block; position: absolute; left: -92px; bottom: -44px; z-index: 2; width: 196px; padding: 6px; border-radius: 28px; background: #1a1c20; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 2px 2px rgba(0,0,0,.4), -24px 40px 70px -20px rgba(0,0,0,.95); animation: hp-in 1s var(--ease) .5s both; }
  @keyframes hp-in { from { opacity: 0; transform: translateY(30px) rotate(-3deg); } to { opacity: 1; transform: rotate(-3deg); } }
  .hp { transform: rotate(-3deg); }
}
.hp-scr { position: relative; height: 258px; border-radius: 23px; overflow: hidden; background: #F6F5F1; color: #14161A; }
.hp-scene { position: absolute; inset: 30px 10px 10px; display: grid; gap: 7px; align-content: start; opacity: 0; transform: translateX(14px); transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none; }
.hp-scene.on { opacity: 1; transform: none; } .hp-scene.out { opacity: 0; transform: translateX(-14px); }
.hp-who { margin: 0 0 2px; font: 600 8.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #7C828C; }
.hp-card { display: grid; gap: 1px; padding: 10px; border-radius: 11px; background: #fff; border: 1px solid #E3E1DA; font-size: 10.5px; color: #555B66; }
.hp-card b { font-size: 14px; color: #14161A; letter-spacing: -.01em; } .hp-card em { font: normal 500 9px var(--font-mono); color: #2F4BDB; }
.hp-card.big { text-align: center; padding: 14px 10px; } .hp-card.big b { font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.hp-btn { display: grid; place-items: center; height: 32px; border-radius: 8px; background: #2F4BDB; color: #fff; font-weight: 600; font-size: 11.5px; } .hp-btn.ok { background: #1C7A4D; }
.hp-row { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 9px; background: #fff; border: 1px solid #E3E1DA; font-size: 10.5px; font-weight: 500; }
.hp-row i { width: 12px; height: 12px; border-radius: 50%; background: #1C7A4D; flex: none; } .hp-row u { margin-left: auto; text-decoration: none; font-size: 9.5px; font-weight: 600; color: #1C7A4D; } .hp-row u.bad { color: #B5372F; }
.hp-doc { display: grid; gap: 6px; padding: 12px 10px 8px; border-radius: 4px; background: #fff; box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); } .hp-doc i { height: 5px; border-radius: 3px; background: #DEDCD5; } .hp-doc i.s { width: 60%; }
.hp-doc .sig-typed { font-size: 22px; border-bottom: 1px solid #14161A; padding-top: 6px; }
.hp-scene.on .hp-doc .sig-typed { animation: sig-ink 1s cubic-bezier(.5,0,.3,1) .2s both; clip-path: inset(0 100% 0 0); }
.hp-done { display: grid; justify-items: center; gap: 4px; padding-top: 34px; text-align: center; } .hp-done span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1C7A4D; color: #fff; font-size: 26px; } .hp-done b { font-size: 17px; margin-top: 6px; } .hp-done em { font: normal 10px var(--font-sans); color: #555B66; }
.hp-scene.on .hp-done span { animation: rj-pop2 .5s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .live-wrap::before, .hero h1 .grad::after, .hp, .hero .live .strip .ms-now { animation: none; } .hero h1 .grad::after { clip-path: none; } .hp-scene { transition: none; } }
/* the hero phone hangs off the card's right edge, clear of the headline and of the card's own controls */
@media (min-width: 1040px) { .hp { display: none; } }
@media (min-width: 1300px) {
  .hp { display: block; left: auto; right: -84px; bottom: 62px; width: 178px; transform: rotate(3deg); box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 2px 2px rgba(0,0,0,.4), 24px 40px 70px -20px rgba(0,0,0,.95); animation-name: hp-in2; }
  @keyframes hp-in2 { from { opacity: 0; transform: translateY(30px) rotate(3deg); } to { opacity: 1; transform: rotate(3deg); } }
  .hero .live .feed li { padding-right: 78px; }
}
@media (max-width: 719px) { .hero .live .live-stage { height: 68px; min-height: 0; overflow: hidden; } .hero .live .next-k { min-height: 26px; } }
@media (max-width: 719px) { .hero .live .next-swap { min-height: 190px; } }
