/* Pharos hero — the scripted product story, ported from the hero preview on 6 sep 2026.
   Scoped to .p1 so it cannot leak into "The Log" styling of the rest of the page;
   the product replica itself is pharos-app.css, scoped to .px.
   Reveal-on-scroll stays the site's own .rv observer. */
.p1 {
  --shadow-sm: 0 1px 2px #10182808, 0 1px 3px #1018280d;
  --shadow-md: 0 12px 32px -12px #10182818, 0 2px 6px -2px #10182808;
  --shadow-lg: 0 30px 70px -28px #10315e33;
}
.p1 .chip { display: inline-flex; align-items: center; gap: .45rem; height: 32px; padding-inline: .9rem; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue); font-size: .82rem; font-weight: 700; }
.p1 .chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: p1pulse 2s ease-in-out infinite; }
@keyframes p1pulse { 50% { opacity: .35 } }

/* --- reset what "The Log" styles globally, inside the hero only ---------- */
.p1 code, .p1 pre { background: none; border: 0; padding: 0; margin: 0; font-size: inherit; color: inherit; border-radius: 0; }
.p1 button { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.p1 a { text-decoration: none; border-bottom: 0; }
.p1 p { margin: 0; }
.p1 h1, .p1 h2, .p1 h3, .p1 h4, .p1 h5 { margin: 0; }
.p1 ul, .p1 ol { margin: 0; padding: 0; list-style: none; }

.p1 .p1-in { position: relative; overflow: clip; padding: clamp(1.1rem,1.6vw,1.8rem) 0 clamp(2.6rem,3.6vw,3.8rem) }
.p1 .beam { position: absolute; left: 50%; top: -40vw; width: 130vw; aspect-ratio: 1; translate: -50% 0; pointer-events: none;
    background: conic-gradient(from 205deg at 50% 50%, transparent 0 10deg, #0079d21c 19deg, transparent 32deg 184deg, #0079d211 194deg, transparent 208deg 360deg);
    animation: sweep 26s linear infinite; mask-image: radial-gradient(closest-side, black 26%, transparent 74%) }
  
@keyframes sweep { to { rotate: 360deg } }
.p1 .grid-bg { position: absolute; inset: 0; pointer-events: none; color: #0e17260d;
    background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 76px 76px; mask-image: radial-gradient(80% 52% at 50% 0%, black, transparent 80%) }
.p1 .top { position: relative; text-align: center; max-width: 900px; margin-inline: auto }
.p1 .top h1 { text-wrap: balance; font-size: clamp(1.9rem,1rem + 2.4vw,2.85rem); letter-spacing: -.038em; line-height: 1.04; margin: .8rem 0 .8rem }
.p1 .top h1 .g { background: linear-gradient(92deg,#2ea3ff,#0079d2 58%,#12b76a); -webkit-background-clip: text; background-clip: text; color: transparent }
.p1 .lede { color: var(--ink-2); font-size: clamp(1rem,.94rem + .3vw,1.13rem); max-width: 64ch; margin-inline: auto; text-wrap: balance }
.p1 .lede b { color: var(--ink); font-weight: 700 }
.p1 .ctas { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.1rem }
.p1 .cmd { display: inline-flex; align-items: center; gap: .7rem; height: 54px; padding: 0 .55rem 0 1.1rem; border-radius: 12px;
    border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm);
    font: 500 .8rem 'JetBrains Mono', monospace; color: var(--ink-2); transition: all .2s var(--ease) }
.p1 .cmd:hover { border-color: #cbd5e4; transform: translateY(-2px) }
.p1 .cmd .cp { display: inline-flex; align-items: center; height: 38px; padding: 0 .8rem; border-radius: 9px;
    background: var(--bg-tint); color: var(--ink); font: 700 .74rem 'Plus Jakarta Sans', sans-serif }
.p1 .cmd.done .cp { background: #e6f7ef; color: #027a48 }
  
@media (max-width: 720px) {
.p1 .cmd { display: none } 
}
.p1 .demoline { margin-top: .7rem; font-size: .8rem; color: var(--ink-3) }
.p1 .demoline b { font: 500 .78rem 'JetBrains Mono', monospace; color: var(--ink-2) }
.p1 .demoline span { margin-left: .5rem; padding-left: .6rem; border-left: 1px solid var(--line); color: var(--ink-3) }
.p1 .install { position: relative; width: min(940px, 100%); margin: 1.15rem auto 0; display: grid;
    grid-template-columns: minmax(0,1.42fr) 34px minmax(0,1fr); gap: 0; align-items: stretch; text-align: left }
.p1 .iroute { display: grid; align-content: start; gap: .5rem; min-width: 0 }
.p1 .iroute:first-of-type { padding-right: 1.4rem }
.p1 .iroute:last-of-type { padding-left: 1.4rem }
.p1 .ihd { display: flex; align-items: center; gap: .5rem; min-width: 0; font: 700 .78rem 'Plus Jakarta Sans', sans-serif; color: var(--ink) }
.p1 .ihd svg { width: 15px; height: 15px; stroke: var(--blue); fill: none; stroke-width: 1.9 }
.p1 .ihd small { margin-left: auto; font: 500 .68rem 'JetBrains Mono', monospace; color: var(--ink-3); letter-spacing: -.02em; white-space: nowrap }
.p1 .iterm { display: flex; align-items: center; gap: .5rem; min-width: 0; height: 52px; padding: 0 .45rem 0 .7rem; border-radius: 13px;
    background: #0b1524; border: 1px solid #16233a; box-shadow: 0 16px 34px -20px #0f2c5266, inset 0 1px 0 #ffffff12 }
.p1 .iterm .ps { color: #32d583; font: 600 .82rem 'JetBrains Mono', monospace; flex: none }
.p1 .iterm code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none;
    font: 500 .75rem 'JetBrains Mono', monospace; color: #dbe6f3;
    mask-image: linear-gradient(90deg, #000 97%, transparent) }
.p1 .iterm code::-webkit-scrollbar { display: none }
.p1 .icopy { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; height: 36px; width: 36px; padding: 0; border-radius: 9px; flex: none;
    background: #17253c; color: #cfe0f2; font: 700 .74rem 'Plus Jakarta Sans', sans-serif; transition: background .2s var(--ease), color .2s var(--ease) }
.p1 .icopy:hover { background: #21334f; color: #fff }
.p1 .icopy.done { background: #10362a; color: #6ce9a6 }
.p1 .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.p1 .icopy svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2 }
.p1 .ifile { display: flex; align-items: center; gap: .7rem; min-width: 0; height: 52px; padding: 0 .5rem 0 .8rem; border-radius: 13px;
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: all .2s var(--ease) }
.p1 .ifile:hover { border-color: #bfd3e8; transform: translateY(-2px); box-shadow: var(--shadow-md) }
.p1 .ifile .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none;
    background: var(--blue-soft); color: var(--blue) }
.p1 .ifile .ic svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9 }
.p1 .ifile .nm { display: grid; min-width: 0; overflow: hidden }
.p1 .ifile .nm b { font: 500 .78rem 'JetBrains Mono', monospace; color: var(--ink); letter-spacing: -.01em }
.p1 .ifile .nm small { font-size: .68rem; color: var(--ink-3); white-space: nowrap }
.p1 .ifile .go { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; height: 36px; padding: 0 .8rem; border-radius: 9px; flex: none;
    background: var(--blue); color: #fff; font: 700 .74rem 'Plus Jakarta Sans', sans-serif; box-shadow: 0 8px 18px -10px #0079d280 }
.p1 .ifile .go svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2 }
.p1 .ihint { min-width: 0; font-size: .76rem; line-height: 1.5; color: var(--ink-3) }
.p1 .ihint b { color: var(--ink-2); font-weight: 600 }
.p1 .ior { display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; gap: .5rem; padding: 1.65rem 0 2.1rem }
.p1 .ior::before, .p1 .ior::after { content: ''; width: 1px; height: 100% }
.p1 .ior::before { background: linear-gradient(transparent, var(--line)) }
.p1 .ior::after { background: linear-gradient(var(--line), transparent) }
.p1 .ior span { font: 700 .62rem 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3) }
.p1 .install-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1rem;
    margin-top: .95rem; padding-top: .75rem; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--ink-3) }
.p1 .install-foot span { display: inline-flex; align-items: center; gap: .4rem }
.p1 .install-foot span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #12b76a }
.p1 .install-foot b { color: var(--ink-2); font-weight: 600 }
  
@media (max-width: 780px) {
.p1 .install { grid-template-columns: minmax(0,1fr); gap: .9rem }
.p1 .iroute:first-of-type, .p1 .iroute:last-of-type { padding: 0 }
.p1 .ior { grid-template-rows: auto; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 }
.p1 .ior::before, .p1 .ior::after { width: 100%; height: 1px; background: var(--line) }
  
}
.p1 .spec { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; font-size: .82rem; color: var(--ink-3) }
.p1 .spec span { display: inline-flex; align-items: center; gap: .45rem }
.p1 .spec span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #12b76a }
.p1 .spec b { color: var(--ink-2); font-weight: 600 }
.p1 .tabs { display: flex; justify-content: center; margin: clamp(1.2rem,1.8vw,1.6rem) 0 .8rem; padding-inline: 1rem }
.p1 .tabrail { display: inline-flex; gap: 2px; padding: 5px; border-radius: 14px; border: 1px solid var(--line);
    background: #ffffffbf; backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); max-width: 100%; overflow-x: auto; scrollbar-width: none }
.p1 .tabrail::-webkit-scrollbar { display: none }
.p1 .tb { position: relative; flex: none; display: grid; padding: .48rem .95rem .62rem; border-radius: 10px; text-align: left;
    color: var(--ink-3); transition: background .3s var(--ease), color .3s var(--ease) }
.p1 .tb:hover { background: var(--bg-tint); color: var(--ink-2) }
.p1 .tb .n { font: 700 .6rem 'JetBrains Mono', monospace; letter-spacing: .12em }
.p1 .tb b { font-size: .87rem; white-space: nowrap; color: inherit }
.p1 .tb[aria-selected="true"] { background: var(--bg-tint); color: var(--ink) }
.p1 .tb[aria-selected="true"] .n { color: var(--blue) }
.p1 .tb i { position: absolute; left: .95rem; right: .95rem; bottom: 4px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden }
.p1 .tb i::after { content: ''; display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0) }
.p1 .tb[aria-selected="true"] i::after { animation: fill var(--dur,9s) linear forwards }
.p1 .tb.done i::after { transform: scaleX(1) }
  
@keyframes fill { to { transform: scaleX(1) } }
.p1 .caption { display: block; margin: 0 auto .85rem; max-width: 80ch; font-size: .87rem; color: var(--ink-2); text-align: center; min-height: 1.3em }
.p1 .caption b { color: var(--ink); font-weight: 700 }
.p1 .caption .k { display: inline-block; margin-right: .5rem; vertical-align: middle; font: 700 .6rem 'JetBrains Mono', monospace;
    letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: .22rem .5rem; border-radius: 6px }
.p1 .stage { position: relative; width: min(1120px, 100vw - 1.5rem); margin-inline: auto }
.p1 .stage::before { content: ''; position: absolute; inset: 6% 7% -2%; border-radius: 44px; background: #0079d21f; filter: blur(50px); z-index: -1 }
.p1 .px { border-radius: 18px }
.p1 .px-screens { height: 545px }
.p1 #pubScroll { transition: transform .9s var(--ease) }
  
@media (max-width: 760px) {
.p1 .px-screens { height: 600px } 
/* A phone has no room for the admin sidebar; the screen itself tells the story. */
.p1 .px-shell { grid-template-columns: minmax(0,1fr) }
.p1 .px-side { display: none }
}
.p1 .ptr { position: absolute; left: 0; top: 0; width: 20px; height: 20px; z-index: 12; pointer-events: none; opacity: 0;
    transition: transform 850ms cubic-bezier(.5,.05,.2,1), opacity .3s }
.p1 .ptr svg { width: 20px; height: 20px; filter: drop-shadow(0 3px 6px #0006) }
.p1 .ptr::after { content: ''; position: absolute; left: -8px; top: -8px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #0079d2; opacity: 0 }
.p1 .ptr.click::after { animation: ripple .5s var(--ease) }
  
@keyframes ripple { from { opacity: .9; transform: scale(.3) } to { opacity: 0; transform: scale(1) } }
.p1 .toasts { position: absolute; right: 14px; bottom: 12px; z-index: 11; display: grid; gap: .4rem; justify-items: end; pointer-events: none }
.p1 .toast { display: flex; align-items: center; gap: .55rem; padding: .5rem .75rem; border-radius: 11px; max-width: 330px;
    background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 34px -14px #10182833;
    font: 600 11.5px 'Plus Jakarta Sans', sans-serif; color: var(--ink); animation: tin .45s var(--ease) both }
.p1 .toast.out { animation: tout .4s var(--ease) both }
.p1 .toast small { display: block; font: 500 10px 'JetBrains Mono', monospace; color: var(--ink-3) }
.p1 .toast .tico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none }
.p1 .toast.ok .tico { background: #12b76a1f; color: #12b76a }
.p1 .toast.bad .tico { background: #f044381f; color: #f04438 }
.p1 .toast.info .tico { background: #2e90fa1f; color: #2e90fa }
.p1 .toast.warn .tico { background: #f790091f; color: #b54708 }
.p1 .toast svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2 }
  
@keyframes tin { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
  
@keyframes tout { to { opacity: 0; transform: translateY(-6px) } }
.p1 .flash { position: absolute; inset: 0; z-index: 10; pointer-events: none; opacity: 0; background: radial-gradient(70% 60% at 50% 40%, #f0443826, transparent 72%) }
.p1 .flash.on { animation: fl 1s var(--ease) }
  
@keyframes fl { 0% { opacity: 0 } 30% { opacity: 1 } 100% { opacity: 0 } }
.p1 to { opacity: 1; translate: 0 0 } }
  
@media (prefers-reduced-motion: reduce) {
.p1 .beam, .p1 .rv { animation: none } 
}

/* Product-first hero and installation routes. */
.p1 .p1-in { padding-top: 0; }
.p1 .beam, .p1 .grid-bg { display: none; }
.hero-intro { display: grid; grid-template-columns: 1fr 1.12fr; gap: 44px 55px; padding-top: 65px; padding-bottom: 42px; align-items: center; }
.hero-copy { min-width: 0; }
.p1 .release-chip { display: inline-flex; gap: 9px; align-items: center; color: #175cd3; background: #edf5ff; border: 1px solid #d7e8fc; padding: 6px 12px; border-radius: 30px; font-size: 12px; font-weight: 600; }
.release-chip > span:first-child { width: 6px; height: 6px; border-radius: 50%; background: #12b76a; }
.p1 .hero-copy h1 { font-size: clamp(40px,4.1vw,62px); letter-spacing: -.055em; line-height: 1.06; margin: 23px 0; text-wrap: initial; }
.hero-copy h1 em { font-style: normal; color: #0070d8; }
.p1 .hero-description { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 44ch; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 27px 0 17px; }
.hero-demo-link { color: var(--ink); font-size: 14px; font-weight: 600; }
.p1 .hero-fineprint { font-size: 12px; color: var(--ink-3); }
.hero-product { min-width: 0; padding: 25px 0 0 20px; position: relative; }
.hero-product::before { content: ''; position: absolute; inset: -25px -35px -20px -20px; border-radius: 40px; background: radial-gradient(ellipse at 80% 25%,#ddf2ed,transparent 65%),radial-gradient(ellipse at 20% 60%,#dcecff,transparent 70%); z-index: -1; }
.product-window { background: white; border: 1px solid #d6e0ed; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px -28px #163f7060; }
.product-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; color: #667085; font: 10px var(--mono); background: #f8fafc; border-bottom: 1px solid #e8edf4; }
.window-dots { color: #cad4df; font-size: 10px; white-space: nowrap; }
.window-public { font-size: 8px; letter-spacing: .1em; }
.product-window a { display: block; height: 370px; overflow: hidden; }
.product-window img { display: block; width: 100%; height: auto; }
.product-caption { display: flex; align-items: center; gap: 12px; padding: 16px 10px 0; }
.caption-mark { width: 30px; height: 30px; border-radius: 50%; background: #e0f5eb; color: #027a48; display: grid; place-items: center; flex: none; }
.product-caption strong { display: block; font-size: 12px; }.product-caption div > span { display: block; color: #667085; font-size: 11px; margin-top: 2px; }
.hero-flow { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; border-top: 1px solid var(--line); padding-top: 27px; }
.hero-flow > div { display: grid; grid-template-columns: 30px 1fr; gap: 3px 10px; }
.hero-flow div > span { grid-row: span 2; color: #0070d8; font: 12px var(--mono); padding-top: 3px; }
.hero-flow strong { font-size: 14px; }.p1 .hero-flow p { font-size: 12px; color: var(--ink-3); }
.installation-section { background: #eef3f9; border-block: 1px solid #e0e8f2; padding: 38px 0; scroll-margin-top: 75px; }
.installation-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-kicker { display: block; color: #175cd3; font: 10px var(--mono); letter-spacing: .14em; margin-bottom: 9px; }
.p1 .installation-heading h2, .p1 .story-heading h2 { font-size: clamp(24px,2.4vw,32px); line-height: 1.15; letter-spacing: -.035em; }
.installation-heading > a { font-size: 12px; white-space: nowrap; }
.installation-routes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.install-route { min-width: 0; display: flex; flex-direction: column; padding: 24px; border: 1px solid #dce5f0; border-radius: 12px; background: #fff; }
.install-route.recommended { border-color: #a8cff5; }
.route-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.route-icon { display: grid; place-items: center; width: 35px; height: 35px; background: #edf5ff; color: #0070d8; border-radius: 8px; font: 600 19px var(--mono); }
.route-badge { font: 9px var(--mono); letter-spacing: .08em; color: #667085; }
.p1 .install-route h3 { font-size: 21px; }
.p1 .route-platform { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.p1 .install-route ol { list-style: decimal; padding-left: 17px; font-size: 13px; line-height: 1.9; color: var(--ink-2); margin: 18px 0; }
.p1 .route-description { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin: 18px 0; }
.install-route .btn { font-size: 12px; justify-content: center; }
.p1 .route-guide { font-size: 12px; font-weight: 600; padding-top: 18px; margin-top: auto; }
.route-command { background: #0c1c30; color: #dcecff; border-radius: 7px; padding: 12px; display: flex; align-items: start; gap: 7px; }
.p1 .route-command code { white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.8 var(--mono); min-width: 0; flex: 1; }
.p1 .route-command button { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #b6d9ff; padding: 3px; font-size: 10px; }
.route-command svg { stroke: currentColor; fill: none; stroke-width: 2; }
.p1 .route-note { color: var(--ink-3); font-size: 11px; margin-top: 10px; }
.p1 .install-requirements { color: var(--ink-3); font-size: 12px; margin-top: 18px; text-align: center; }
.install-requirements a { margin-left: 12px; }
.p1 .story-heading { padding-top: 48px; padding-bottom: 20px; text-align: center; }
.p1 .story-heading p { color: var(--ink-3); font-size: 14px; margin-top: 12px; }
@media(max-width: 1000px) { .hero-intro { gap: 35px; }.hero-copy h1 { font-size: 44px; }.hero-product { padding-left: 0; }.window-public { display: none; }.install-route { padding: 18px; } }
@media(max-width: 760px) { .hero-intro { grid-template-columns: 1fr; padding-top: 30px; gap: 30px; }.p1 .hero-copy h1 { font-size: clamp(39px,8.6vw,54px); }.p1 .hero-description { font-size: 16px; }.hero-actions { gap: 17px; }.hero-product { padding-top: 0; }.product-window a { height: 290px; }.hero-flow { gap: 19px; grid-template-columns: 1fr; }.hero-flow > div { gap: 3px 7px; }.installation-heading { align-items: start; flex-direction: column; }.installation-routes { grid-template-columns: 1fr; }.install-route { padding: 23px; }.hero-fineprint { line-height: 1.8; }.installation-section { padding: 30px 0; } }
.product-window img { width: 140%; max-width: none; margin-left: -20%; }
.p1 .hero-copy { display: block; }

/* Motion enhances the visible static hero; no script is required to read it. */
.hero-product { isolation: isolate; }
.hero-activity { position: absolute; bottom: 82px; right: -12px; width: min(310px, 85%); padding: 15px 17px 11px; border: 1px solid #d9e6f3; border-radius: 12px; background: #fffffff7; box-shadow: 0 12px 35px -15px #173f6b55; }
.activity-label { color: #667085; font: 8px var(--mono); letter-spacing: .12em; }
.activity-content { display: flex; align-items: center; gap: 11px; min-height: 58px; }
.activity-icon { flex: none; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #e8f3ff; color: #0070d8; font-size: 18px; }
.activity-content strong { display: block; font-size: 12px; line-height: 1.5; }
.activity-content div > span { display: block; font-size: 10px; line-height: 1.5; color: #667085; }
.activity-progress { height: 2px; background: #edf2f8; overflow: hidden; margin-top: 4px; }
.activity-progress i { display: block; height: 100%; background: #0070d8; transform: scaleX(1); transform-origin: left; }
.hero-motion-controls { grid-column: 1 / -1; margin-top: -26px; margin-bottom: -32px; display: flex; justify-content: end; }
.p1 #hero-motion-toggle { padding: 7px 0 7px 12px; min-height: 32px; font-size: 11px; color: #596a7e; text-decoration: underline; text-underline-offset: 3px; }
.hero-flow > div { position: relative; padding-bottom: 12px; }
.hero-flow > div::after { content: ''; position: absolute; height: 2px; background: #0070d8; bottom: 0; left: 40px; right: 0; transform: scaleX(0); transform-origin: left; }
.hero-flow > div.motion-current::after { transform: scaleX(1); }
.hero-intro.motion-enabled .product-window { animation: hero-window-float 7s ease-in-out infinite; }
.hero-intro.motion-enabled .hero-product::before { animation: hero-glow-drift 10s ease-in-out infinite alternate; }
.hero-intro.motion-enabled .activity-progress i { animation: hero-check-progress 4s linear infinite; }
.hero-intro.motion-paused *, .hero-intro.motion-paused .hero-product::before { animation-play-state: paused !important; }
@keyframes hero-window-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes hero-glow-drift { from { transform: translate(-4px,3px) scale(.97); opacity: .65; } to { transform: translate(5px,-3px) scale(1.03); opacity: 1; } }
@keyframes hero-check-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media(max-width:760px) { .hero-activity { right: 0; bottom: 75px; }.hero-motion-controls { margin: -18px 0 -15px; }.hero-flow > div::after { left: 37px; } }
@media(prefers-reduced-motion:reduce) {
 .hero-intro *, .hero-intro .hero-product::before { animation: none !important; transition: none !important; }
 .hero-flow > div::after { transform: scaleX(0); }
}

/* Accessible installation links on the tinted section. */
.p1 .installation-heading > a, .p1 .install-requirements a { color: #0066b3; text-decoration: underline; text-underline-offset: 3px; }
.p1 .install-requirements { color: #536075; }

#stage.story-paused *, #stage.story-paused *::before, #stage.story-paused *::after { animation-play-state: paused !important; }
