/* engine.fm website directions: fonts, type styles, interaction states and motion.
   Colors, radii, buttons, focus and motion values come from the engine.fm design system (tokens.json).
   The backdrop line work and the card-edge gradient are carried over from the Sign In page (signin.css).
   The larger type sizes (ws-hero to ws-lead) are new for the website; the dashboards stop at display 32/40. */

/* Brand fonts: the four font faces are declared in fonts.css, from the files in assets/fonts/. */

html, body { margin: 0; background: #090909; color: #E3DFDF; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { font-family: "Bw Modelica LGC SS02", "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font-family: inherit; color: inherit; margin: 0; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img, svg { max-width: none; }

/* ------------------------------------------------------------------ Type */
.ws-hero { font-size: 72px; line-height: 76px; font-weight: 500; letter-spacing: -0.03em; }
.ws-h1 { font-size: 56px; line-height: 60px; font-weight: 500; letter-spacing: -0.025em; }
.ws-h2 { font-size: 40px; line-height: 46px; font-weight: 500; letter-spacing: -0.02em; }
.ws-h3 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.015em; }
.ws-h4 { font-size: 18px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.ws-lead { font-size: 20px; line-height: 30px; font-weight: 400; }
.ws-body-lg { font-size: 16px; line-height: 26px; font-weight: 400; }
.ws-body { font-size: 14px; line-height: 22px; font-weight: 400; }
.ws-body-sm { font-size: 13px; line-height: 20px; font-weight: 400; }
.ws-caption { font-size: 12px; line-height: 16px; font-weight: 500; }
.ws-w500 { font-weight: 500; }
.ws-mono-xs { font-family: "Vin Mono Pro", "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 10px; line-height: 12px; font-weight: 400; letter-spacing: 0.08em; }
.ws-mono-sm { font-family: "Vin Mono Pro", "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12px; line-height: 16px; font-weight: 400; }
.ws-mono-md { font-family: "Vin Mono Pro", "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13px; line-height: 20px; font-weight: 400; }
.ws-kpi { font-family: "Vin Mono Pro", "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; }
.ws-kpi-xl { font-family: "Vin Mono Pro", "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 56px; line-height: 60px; font-weight: 500; letter-spacing: -0.02em; }
.ws-balance { text-wrap: balance; }

/* ------------------------------------------------------------------ Focus, links, buttons (as engine.css) */
:focus { outline: none; }
:focus-visible { outline: 2px solid #A68BFB; outline-offset: 2px; }
.ef-b-primary, .ef-b-secondary, .ws-nav-link { transition: background-color 100ms ease-out, color 100ms ease-out, border-color 100ms ease-out; }
.ef-b-primary, .ef-b-secondary { text-decoration: none; white-space: nowrap; }
.ef-b-primary:hover, .ef-b-primary:active { background-color: #7148EF !important; }
.ef-b-secondary:hover, .ef-b-secondary:active { background-color: #2C2C2C !important; }
.ws-nav-link { color: #9F9F9F; text-decoration: none; }
.ws-nav-link:hover, .ws-nav-link:focus-visible { color: #FFFFFF; }
.ef-card { transition: border-color 100ms ease-out; }
.ef-card:hover { border-color: rgba(255,255,255,0.14) !important; }

/* FAQ rows built on <details> */
.ws-faq > summary { list-style: none; cursor: pointer; }
.ws-faq > summary::-webkit-details-marker { display: none; }
.ws-faq .ws-chev { transition: transform 150ms cubic-bezier(0.2, 0, 0, 1); }
.ws-faq[open] .ws-chev { transform: rotate(45deg); }

/* ------------------------------------------------------------------ Backdrop line work (from signin.css) */
.si-line { fill: none; stroke: #FFFFFF; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.si-solid { fill: #090909; stroke: #FFFFFF; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.si-note { font-family: "Vin Mono Pro", "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: 0.08em; fill: #FFFFFF; }
.ws-line-grad { fill: none; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.ws-vec { vector-effect: non-scaling-stroke; }

@keyframes si-spin { to { transform: rotate(360deg); } }
.si-cw { animation: si-spin 120s linear infinite; }
.si-ccw { animation: si-spin 120s linear infinite reverse; }


/* A pulse of light travels a path (pathLength="1"; stroke is the brand gradient or white) */
@keyframes ws-flow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.ws-flow { stroke-dasharray: 0.14 0.86; stroke-dashoffset: 1; animation: ws-flow 6s linear infinite; }
.ws-flow-slow { animation-duration: 11s; }
.ws-flow-fast { animation-duration: 3.5s; }



/* Logo strip */
@keyframes ws-marquee { to { transform: translateX(-50%); } }
.ws-marquee { display: flex; width: max-content; animation: ws-marquee 48s linear infinite; }
.ws-marquee-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }

/* ------------------------------------------------------------------ The card edge (from signin.css)
   brand-gradient is #8A64F9 -> #FAC37B, purple left, yellow right. It is a 1 px line of light on an edge, never a fill. */
.si-wrap { position: relative; }
.si-ring, .si-glow { position: absolute; pointer-events: none; }
.si-ring { inset: 0; z-index: 2; border-radius: 16px; padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.si-glow { inset: -1px; z-index: 0; border-radius: 17px; filter: blur(14px); }

/* Orbit angle, used by the pricing card edge (r2.css) */
@property --si-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes si-orbit { to { --si-a: 360deg; } }

/* Lit: the whole edge carries the gradient and the glow breathes */
@keyframes si-lit { from { opacity: 0.2; } to { opacity: 0.42; } }
.si-lit > .si-ring, .si-lit > .si-glow { background: linear-gradient(90deg, #8A64F9 0%, #FAC37B 100%); }
.si-lit > .si-glow { animation: si-lit 1400ms ease-in-out infinite alternate; }

/* Ignite: a dim edge at rest; the gradient comes up on hover or focus */
.si-ignite > .si-ring { background: linear-gradient(90deg, #8A64F9 0%, #FAC37B 100%); opacity: 0.3; transition: opacity 400ms cubic-bezier(0.2, 0, 0, 1); }
.si-ignite > .si-glow { background: linear-gradient(90deg, #8A64F9 0%, #FAC37B 100%); opacity: 0; transition: opacity 600ms cubic-bezier(0.2, 0, 0, 1); }
.si-ignite:hover > .si-ring, .si-ignite:focus-within > .si-ring { opacity: 1; }
.si-ignite:hover > .si-glow, .si-ignite:focus-within > .si-glow { opacity: 0.22; }


/* ------------------------------------------------------------------ Layout helpers and breakpoints (tablet under 1024, phone under 640) */
.ws-wrap { width: 100%; max-width: 1264px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 1023px) {
  .ws-hide-md { display: none !important; }
  .ws-stack-md { grid-template-columns: minmax(0, 1fr) !important; flex-direction: column !important; }
  .ws-wrap { padding-left: 24px; padding-right: 24px; }
  .ws-hero { font-size: 56px; line-height: 60px; }
  .ws-h1 { font-size: 44px; line-height: 50px; }
  .ws-h2 { font-size: 34px; line-height: 40px; }
  .ws-auto-md { height: auto !important; min-height: 0 !important; }
}
@media (max-width: 639px) {
  .ws-hide-sm { display: none !important; }
  .ws-wrap { padding-left: 16px; padding-right: 16px; }
  .ws-hero { font-size: 40px; line-height: 44px; letter-spacing: -0.025em; }
  .ws-h1 { font-size: 34px; line-height: 40px; }
  .ws-h2 { font-size: 28px; line-height: 34px; }
  .ws-h3 { font-size: 20px; line-height: 28px; }
  .ws-lead { font-size: 17px; line-height: 26px; }
  .ws-kpi-xl { font-size: 40px; line-height: 44px; }
  .ws-gap-sm { gap: 32px !important; }
  .ws-sec-sm { padding-top: 72px !important; padding-bottom: 72px !important; }
  .ef-b-primary, .ef-b-secondary { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .si-cw, .si-ccw, .ws-marquee, .ws-flow, .si-lit > .si-glow { animation: none; }
  .si-lit > .si-glow { opacity: 0.3; }
  .ws-flow { stroke-dasharray: none; }
}

/* engine.fm website, round 2: the engine artwork, the scroll-built process section and small shared pieces.
   Loaded after site.css. Values still come from the engine.fm design system. */

/* ------------------------------------------------------------------ Engine line work */
.eg * { vector-effect: non-scaling-stroke; }
.eg-l { fill: none; stroke: #FFFFFF; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.eg-h { stroke-dasharray: 3 5; opacity: 0.7; }                 /* hidden edges */
.eg-ghost { stroke-dasharray: 2 6; opacity: 0.32; }            /* where a part will sit */
.eg-n { font-family: "Vin Mono Pro", "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13px; letter-spacing: 0.06em; fill: #FFFFFF; }
.eg-part { opacity: 0.62; }
.eg-num { opacity: 0.62; }
.eg-dial { opacity: 0.3; }
.eg-fin { opacity: 1; }

/* Running: pistons travel, shafts turn, the belt runs, plugs fire */
@keyframes eg-recip { from { transform: translateY(calc(var(--r, 15px) * -1)); } to { transform: translateY(var(--r, 15px)); } }
.eg-recip { animation: eg-recip var(--t, 2s) ease-in-out var(--d, 0s) infinite alternate; }
.eg-rot { transform-box: fill-box; transform-origin: center; animation: si-spin var(--t, 8s) linear infinite; }
@keyframes eg-belt { to { stroke-dashoffset: -16; } }
.eg-belt { stroke-dasharray: 5 3; animation: eg-belt 0.9s linear infinite; }
.eg-spark { opacity: 0; animation: eg-spark var(--t, 8s) linear var(--d, 0s) infinite; }

/* Illustrations */
@keyframes il-wave { 0%, 100% { opacity: 0.15; } 40% { opacity: 0.9; } }
.il-wave { animation: il-wave 2.4s ease-in-out var(--d, 0s) infinite; }
@keyframes il-breathe { 0%, 100% { transform: scaleY(0.55); } 50% { transform: scaleY(1); } }
.il-breathe { transform-box: fill-box; transform-origin: center; animation: il-breathe 2.8s ease-in-out infinite; }
@keyframes il-play { from { transform: translateX(34px); } to { transform: translateX(206px); } }
.il-play { animation: il-play 9s linear infinite; }

/* ------------------------------------------------------------------ Pricing cards: the hover edge, still or travelling */
.si-travel > .si-ring { background: linear-gradient(90deg, #8A64F9 0%, #FAC37B 100%); opacity: 0.22; transition: opacity 400ms cubic-bezier(0.2, 0, 0, 1); }
.si-travel > .si-glow { background: conic-gradient(from var(--si-a), rgba(138,100,249,0) 0deg, rgba(138,100,249,0) 150deg, #8A64F9 260deg, #FAC37B 350deg, rgba(250,195,123,0) 360deg); opacity: 0; transition: opacity 500ms cubic-bezier(0.2, 0, 0, 1); animation: si-orbit 7s linear infinite; animation-play-state: paused; }
.si-travel > .si-ring-run { background: conic-gradient(from var(--si-a), rgba(138,100,249,0) 0deg, rgba(138,100,249,0) 150deg, #8A64F9 260deg, #FAC37B 350deg, rgba(250,195,123,0) 360deg); opacity: 0; animation: si-orbit 7s linear infinite; animation-play-state: paused; }
.si-travel:hover > .si-ring-run, .si-travel:focus-within > .si-ring-run { opacity: 1; animation-play-state: running; }
.si-travel:hover > .si-glow, .si-travel:focus-within > .si-glow { opacity: 0.3; animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  .eg-recip, .eg-rot, .eg-belt, .eg-spark, .il-wave, .il-breathe, .il-play, .si-travel > .si-glow, .si-travel > .si-ring-run { animation: none; }
  .il-wave { opacity: 0.6; }
}

/* The engine used as artwork away from the process section: no station numbers, dial or placement guides */
.eg-plain .eg-num, .eg-plain .eg-dial, .eg-plain .eg-ghosts { display: none; }
.eg-quiet .eg-fin { display: none; }
/* V1 Radial */
.v1-play { transition: background-color 100ms ease-out; }
.v1-play:hover { background-color: #7148EF !important; }
.v1-cta-eng svg { display: block; }
@media (max-width: 1023px) {
  .v1-cta { height: auto !important; padding: 56px 0; }
  .v1-cta-grid { padding: 0 40px !important; row-gap: 32px; }
  .v1-cta-eng { opacity: 0.25 !important; }
  .v1-foot { justify-items: center; text-align: center; }
  .v1-foot > * { justify-self: center !important; }
  .v1-foot-soc { justify-content: center; }
}
@media (max-width: 639px) {
  .v1-cta-grid { padding: 0 24px !important; }
  .v1-cta-eng { width: 380px !important; height: 380px !important; right: -190px !important; top: auto !important; bottom: -190px !important; margin-top: 0 !important; }
  .v1-foot-links { gap: 8px 24px !important; }
}
/* V2 Inline, round 2 */
@media (max-width: 1263px) { .v2-out { zoom: 0.92; } }
@media (max-width: 1175px) { .v2-out { zoom: 0.85; } }
@media (max-width: 1087px) { .v2-out { zoom: 0.8; } }
@media (max-width: 1023px) {
  .v2-out { zoom: 1; width: 100% !important; }
  .v2-src { height: auto !important; flex-direction: column; align-items: center; margin-bottom: 32px; }
  .v2-src-lab { position: static !important; transform: none !important; margin-top: 16px; justify-content: center; }
  .v2-cells { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; background: rgba(255,255,255,0.08); gap: 1px; }
  .v2-cell { box-shadow: none !important; }
}
@media (max-width: 639px) {
  .v2-cells { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 1023px) { .v2-src-in { height: auto !important; } .v2-src-in { margin: 0 auto; } }
/* engine.fm website, version 4: the process section. The page logic sets --pf (how far the bar has filled), data-s (which
   steps are built), data-cur (the newest) and moves the engine so its centre travels with the bar's tip. Nothing in the
   engine runs until the last step is reached. Without the logic (or with reduced motion, or under 1024 px) the engine
   shows finished and running, and the bar full. */
.px-rail { position: relative; }
.px-stage { position: relative; will-change: transform; }
.px-steps { position: relative; }
.px-line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.14); }
.px-fill { position: absolute; left: -0.5px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #8A64F9 0%, #8A64F9 8%, #FAC37B 100%); }
.px-fill-glow { left: -3px; width: 7px; filter: blur(6px); opacity: 0.55; }
.px-mark { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.px-node { position: absolute; left: -5px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 9999px; background: #FFFFFF; border: 1px solid #FFFFFF; box-shadow: 0 0 0 4px #090909; transition: background-color 300ms ease-out, border-color 300ms ease-out; }

.px-js .px-fill { clip-path: inset(0 -12px calc((1 - var(--pf, 0)) * 100%) -12px); }
.px-js .px-node { background: #090909; border-color: rgba(255,255,255,0.4); }
.px-js .px-body { opacity: 0.38; transition: opacity 450ms cubic-bezier(0.2, 0, 0, 1); }
.px-js .eg-part, .px-js .eg-num { opacity: 0; transform: translate(var(--dx, 0px), var(--dy, -60px)); transition: opacity 600ms cubic-bezier(0.2, 0, 0, 1), transform 900ms cubic-bezier(0.2, 0, 0, 1); }
.px-js .eg-fin { opacity: 0; transition: opacity 900ms cubic-bezier(0.2, 0, 0, 1) 600ms; }
.px-js[data-s~="1"] .eg-p1, .px-js[data-s~="2"] .eg-p2, .px-js[data-s~="3"] .eg-p3, .px-js[data-s~="4"] .eg-p4,
.px-js[data-s~="5"] .eg-p5, .px-js[data-s~="6"] .eg-p6, .px-js[data-s~="7"] .eg-p7 { opacity: 0.62; transform: none; }
.px-js[data-cur="1"] .eg-p1, .px-js[data-cur="2"] .eg-p2, .px-js[data-cur="3"] .eg-p3, .px-js[data-cur="4"] .eg-p4,
.px-js[data-cur="5"] .eg-p5, .px-js[data-cur="6"] .eg-p6 { opacity: 1; }
.px-js[data-s~="1"] .px-s1 .px-body, .px-js[data-s~="2"] .px-s2 .px-body, .px-js[data-s~="3"] .px-s3 .px-body, .px-js[data-s~="4"] .px-s4 .px-body,
.px-js[data-s~="5"] .px-s5 .px-body, .px-js[data-s~="6"] .px-s6 .px-body, .px-js[data-s~="7"] .px-s7 .px-body { opacity: 1; }
.px-js[data-s~="1"] .px-s1 .px-node, .px-js[data-s~="2"] .px-s2 .px-node, .px-js[data-s~="3"] .px-s3 .px-node, .px-js[data-s~="4"] .px-s4 .px-node,
.px-js[data-s~="5"] .px-s5 .px-node, .px-js[data-s~="6"] .px-s6 .px-node, .px-js[data-s~="7"] .px-s7 .px-node { background: #FFFFFF; border-color: #FFFFFF; }

/* Still while it is being built; everything starts when the last step lands */
.px-js .eg-recip, .px-js .eg-rot, .px-js .eg-belt, .px-js .eg-spark { animation-play-state: paused; }
.px-js[data-s~="7"] .eg-recip, .px-js[data-s~="7"] .eg-rot, .px-js[data-s~="7"] .eg-belt, .px-js[data-s~="7"] .eg-spark { animation-play-state: running; }
.px-js[data-s~="7"] .eg-fin { opacity: 1; }

@media (max-width: 1023px) {
  .px-node { display: none; }
}

/* engine.fm website, version 3: page-specific overrides (loaded last) */
@media (max-width: 1023px) {
  .v3-stage { height: auto !important; }
  .v3-step { min-height: 0 !important; padding: 28px 0 28px 32px !important; }
}
/* engine.fm website, version 4: page-specific overrides (loaded last) */
@media (max-width: 1023px) {
  .v4-hero-in { min-height: 0 !important; padding: 72px 0 400px !important; }
  .v4-hero-gear { top: auto !important; bottom: -440px !important; right: -320px !important; width: 880px !important; height: 880px !important; margin-top: 0 !important; }
}
@media (max-width: 639px) {
  .v4-hero-in { padding: 56px 0 320px !important; }
  .v4-hero-gear { bottom: -400px !important; right: -300px !important; width: 760px !important; height: 760px !important; }
}

/* Video frame: the line and its halo arrive together on hover */
.si-ignite > .si-glow { transition-duration: 400ms; }
/* engine.fm website, version 6: page-specific overrides (loaded last) */
/* Inline engine: heavier outlines for the main castings; solid parts so lines behind them do not show through */
.eg-o { stroke-width: 1.6; }
.eg-s { fill: #090909; }
.px-js .eg-part { transition: opacity 600ms cubic-bezier(0.2, 0, 0, 1), transform 750ms cubic-bezier(0.2, 0, 0, 1); }
/* Parts already placed sit back by dimming their lines, not the whole part, so solid parts stay solid and nothing shows through them.
   The part just added is at full strength; once the last one lands everything is. */
.eg6 .eg-part { opacity: 1; }
.px-js .eg6 .eg-part { opacity: 0; }
.px-js[data-s~="1"] .eg6 .eg-p1, .px-js[data-s~="2"] .eg6 .eg-p2, .px-js[data-s~="3"] .eg6 .eg-p3, .px-js[data-s~="4"] .eg6 .eg-p4, .px-js[data-s~="5"] .eg6 .eg-p5, .px-js[data-s~="6"] .eg6 .eg-p6, .px-js[data-s~="7"] .eg6 .eg-p7 { opacity: 1; }
.px-js .eg6 .eg-part .eg-l { stroke-opacity: 0.6; transition: stroke-opacity 600ms cubic-bezier(0.2, 0, 0, 1); }
.px-js[data-cur="1"] .eg6 .eg-p1 .eg-l, .px-js[data-cur="2"] .eg6 .eg-p2 .eg-l, .px-js[data-cur="3"] .eg6 .eg-p3 .eg-l, .px-js[data-cur="4"] .eg6 .eg-p4 .eg-l, .px-js[data-cur="5"] .eg6 .eg-p5 .eg-l, .px-js[data-cur="6"] .eg6 .eg-p6 .eg-l { stroke-opacity: 1; }
.px-js[data-s~="7"] .eg6 .eg-part .eg-l { stroke-opacity: 1; }

/* Dotted outlines mark where the block, head and gearbox will sit; each one goes when its part lands */
.eg6 .eg-gh { opacity: 0; transition: opacity 500ms cubic-bezier(0.2, 0, 0, 1); }
.px-js .eg6 .eg-gh { opacity: 0.32; }
.px-js[data-s~="1"] .eg6 .eg-gh1, .px-js[data-s~="3"] .eg6 .eg-gh3, .px-js[data-s~="6"] .eg6 .eg-gh6, .px-js[data-s~="7"] .eg6 .eg-gh7 { opacity: 0; }

/* Teeth seen edge-on (flywheel, gears, output flange): short bars across the face that travel when the part turns */
@keyframes eg-teeth { from { stroke-dashoffset: -3; } to { stroke-dashoffset: -9; } }
.eg .eg-teeth { fill: none; stroke: #FFFFFF; stroke-linecap: butt; vector-effect: none; stroke-dasharray: 1 5; stroke-dashoffset: -3; opacity: 0.5;
  animation: eg-teeth var(--t, 0.3s) linear infinite; animation-direction: var(--dir, normal); }
.eg6 .eg-belt { animation-duration: 0.19s; }   /* keeps pace with the pulley rims */

/* Combustion: each cylinder flashes in firing order */
@keyframes eg-spark6 { 0% { opacity: 0; } 3%, 9% { opacity: 1; } 24%, 100% { opacity: 0; } }
.eg6 .eg-spark { animation-name: eg-spark6; }
.eg-glow { filter: blur(8px); }

.px-js .eg-teeth { animation-play-state: paused; }
.px-js[data-s~="7"] .eg-teeth { animation-play-state: running; }

/* What It Takes: the 14 days light up one after another, left to right, hold, then all go dark at the same moment,
   stay dark for a beat, and start again. One 8 s loop; each day has its own arrival time and they share the exit. */
.tk6 { animation: 8s linear infinite both; }
@keyframes tk6-0 { 0% { opacity: 0; } 5.62%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-1 { 0%, 2.75% { opacity: 0; } 8.38%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-2 { 0%, 5.50% { opacity: 0; } 11.12%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-3 { 0%, 8.25% { opacity: 0; } 13.88%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-4 { 0%, 11.00% { opacity: 0; } 16.62%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-5 { 0%, 13.75% { opacity: 0; } 19.38%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-6 { 0%, 16.50% { opacity: 0; } 22.12%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-7 { 0%, 19.25% { opacity: 0; } 24.88%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-8 { 0%, 22.00% { opacity: 0; } 27.62%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-9 { 0%, 24.75% { opacity: 0; } 30.38%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-10 { 0%, 27.50% { opacity: 0; } 33.13%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-11 { 0%, 30.25% { opacity: 0; } 35.88%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-12 { 0%, 33.00% { opacity: 0; } 38.63%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }
@keyframes tk6-13 { 0%, 35.75% { opacity: 0; } 41.38%, 75% { opacity: 1; } 83.75%, 100% { opacity: 0; } }

@media (max-width: 1023px) {
  .v5-eng { max-width: 520px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tk6 { animation: none !important; }
  .eg .eg-teeth { animation: none; }
}
/* engine.fm website, version 8: the new copy (loaded after v6.css) */

/* Show titles: the brand face has no italic, so titles are set upright */
em { font-style: normal; }

@media (max-width: 1023px) {
  .v8-portrait-col { justify-content: center !important; }
  /* Founder portrait: back to a 4:5 frame once the columns stack */
  .v8-portrait { min-height: 0 !important; aspect-ratio: 4 / 5; }
  .v8-incl { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 639px) {
  /* Output: five deliverables in two columns; the fifth spans both so no empty cell is left */
  .v5-cells > .v2-cell:last-child { grid-column: 1 / -1; }
  .v8-incl-list { grid-template-columns: minmax(0, 1fr) !important; grid-auto-flow: row !important; grid-template-rows: none !important; }
}
/* engine.fm website, version 9 (loaded after v8.css) */
/* No single short word left alone on the last line of a paragraph. Headings and centred intros that are balanced keep their own rule. */
main p, main li, main summary { text-wrap: pretty; }
main .ws-balance { text-wrap: balance; }
/* engine.fm website, version 10 (loaded after v9.css) */
/* Balanced text only balances up to six lines; on a phone longer centred paragraphs fall back to avoiding a lone last word */
@media (max-width: 639px) { main p.ws-balance { text-wrap: pretty; } }

/* ---- Break-even option board only */
.v10-be-in { font: inherit; font-weight: 500; color: #FFFFFF; width: 9.5ch; height: 32px; line-height: 30px; margin: 0 2px; padding: 0 10px; text-align: center; vertical-align: baseline;
  background: #222222; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; outline: none; transition: border-color 150ms cubic-bezier(0.2, 0, 0, 1); }
.v10-be-in:hover { border-color: rgba(255,255,255,0.3); }
.v10-be-in:focus-visible { border-color: #A68BFB; box-shadow: 0 0 0 3px rgba(126, 84, 248, 0.35); }
.v10-be-out { color: #FFFFFF; font-weight: 500; white-space: nowrap; }
@media (min-width: 1024px) { .v10-be-line { min-height: 96px; } }   /* three lines, so the strip keeps its height as the numbers change */

/* Slider: a hairline track; the part already travelled is a line of the brand gradient */
.v10-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; --fill: 16.7%; }
.v10-range::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8A64F9, #FAC37B) 0 0 / var(--fill) 100% no-repeat, rgba(255,255,255,0.14); }
.v10-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 9999px; background: #FFFFFF; border: 0; box-shadow: 0 0 0 4px #181818; }
.v10-range::-moz-range-track { height: 2px; border-radius: 2px; background: rgba(255,255,255,0.14); }
.v10-range::-moz-range-progress { height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8A64F9, #FAC37B); }
.v10-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 9999px; background: #FFFFFF; border: 0; box-shadow: 0 0 0 4px #181818; }
.v10-range:focus-visible { outline: none; }
.v10-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #181818, 0 0 0 6px #A68BFB; }

.v10-be-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.v10-be-plans button { height: 44px; padding: 0 8px; text-align: center; white-space: nowrap; border-radius: 8px; border: 1px solid rgba(255,255,255,0.14); color: #9F9F9F; font-size: 14px; line-height: 22px; font-weight: 500;
  transition: color 150ms cubic-bezier(0.2, 0, 0, 1), background-color 150ms cubic-bezier(0.2, 0, 0, 1), border-color 150ms cubic-bezier(0.2, 0, 0, 1); }
.v10-be-plans button:hover { color: #E3DFDF; border-color: rgba(255,255,255,0.3); }
.v10-be-plans button[aria-pressed="true"] { background: #2C2C2C; color: #FFFFFF; border-color: rgba(255,255,255,0.6); }
.v10-be-plans button:focus-visible { outline: 2px solid #A68BFB; outline-offset: 2px; }
@media (max-width: 1023px) { .v10-be { grid-template-columns: minmax(0, 1fr) !important; } }
@media (max-width: 639px) { .v10-be-plans { grid-template-columns: minmax(0, 1fr); } }
/* engine.fm website, version 12 (loaded after v10.css): the supplied assets and the brand fonts. */
/* Guest logos are white artwork, shown at the grey the text names had (#9F9F9F). */
.v12-logo { display: block; width: auto; opacity: 0.62; flex-shrink: 0; }
/* Short lines that should split evenly whenever they wrap (they only wrap on narrow screens). */
main p.v12-short { text-wrap: balance; }
/* Break-even sentence: three lines from 1264px up (v10.css holds 96px); between 1024px and 1263px it can run to
   four lines in the brand font, so hold four there and the panel never changes height as the numbers change. */
@media (min-width: 1024px) and (max-width: 1263px) { .v10-be-line { min-height: 128px; } }
/* Small-laptop widths, where the wider brand font needs room: the three card titles run to two lines, so split them
   evenly and hold two lines so the three texts start level; and move the hero gearset clear of the headline. */
@media (min-width: 1024px) and (max-width: 1263px) {
  #services h3 { text-wrap: balance; min-height: 64px; }
  .v4-hero-gear { right: -860px !important; }
}
/* engine.fm website, version 13 (loaded after v12.css): client cases. */
.v13-cover img { -webkit-user-drag: none; }
/* A: four across */
@media (min-width: 640px) { .v13-a-title { min-height: 69px; } }
@media (min-width: 640px) { .v13-a-who { min-height: 72px; } }
@media (max-width: 1023px) { .v13-a { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }
@media (max-width: 639px) { .v13-a { grid-template-columns: minmax(0,1fr) !important; } }
/* engine.fm website, version 13 (loaded after v13.css): client dashboard preview. */
.v13p-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.v13p-tab { height: 44px; padding: 0 20px; text-align: center; white-space: nowrap; border-radius: 8px; border: 1px solid rgba(255,255,255,0.14); background: transparent; color: #9F9F9F; font-family: inherit; font-size: 14px; line-height: 22px; font-weight: 500; cursor: pointer;
  transition: color 150ms cubic-bezier(0.2, 0, 0, 1), background-color 150ms cubic-bezier(0.2, 0, 0, 1), border-color 150ms cubic-bezier(0.2, 0, 0, 1); }
.v13p-tab:hover { color: #E3DFDF; border-color: rgba(255,255,255,0.3); }
.v13p-tab[aria-selected="true"] { background: #2C2C2C; color: #FFFFFF; border-color: rgba(255,255,255,0.6); }
.v13p-tab:focus-visible { outline: 2px solid #A68BFB; outline-offset: 2px; }
.v13p-desc { min-height: 26px; }

/* The product window: every panel sits in the same grid cell, so the window is as tall as the tallest panel at any width. */
.v13p-win { display: flex; }
.v13p-stack { flex: 1 1 auto; min-width: 0; display: grid; }
.v13p-panel { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; }
.v13p-panel[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.v13p-nav { color: #9F9F9F; background: transparent; transition: color 150ms cubic-bezier(0.2, 0, 0, 1), background-color 150ms cubic-bezier(0.2, 0, 0, 1); }
.v13p-nav[aria-current] { color: #FFFFFF; background: #1B162B; }
.v13p-nav[aria-current] svg { color: #A68BFB; }
@media (prefers-reduced-motion: reduce) { .v13p-nav { transition: none; } }
.v13p-panel:not([hidden]) { animation: v13p-in 180ms cubic-bezier(0.2, 0, 0, 1); }
@keyframes v13p-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .v13p-panel:not([hidden]) { animation: none; } }
.v13p-col { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.v13p-main { flex: 1 1 auto; min-width: 0; box-sizing: border-box; padding: 32px 28px 28px; }
.v13p-top { display: none; }
.v13p-side { width: 232px; padding: 20px; display: flex; flex-direction: column; }
.v13p-show { margin-top: 24px; }
.v13p-bdg { display: flex; }
.v13p-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; min-height: 36px; }

/* Guests table */
.v13p-g { display: grid; grid-template-columns: minmax(0, 1.3fr) 168px minmax(0, 1fr) 104px; align-items: center; }
.v13p-g-head { height: 36px; border-radius: 8px; background: #181818; }
.v13p-g-head > span, .v13p-gs, .v13p-gu, .v13p-gr { padding: 0 12px; }
.v13p-g-row { min-height: 52px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.v13p-gg { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 12px; }
.v13p-gm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v13p-gu, .v13p-gr { white-space: nowrap; }
.v13p-gu { overflow: hidden; text-overflow: ellipsis; }
.v13p-rl { display: none; }
.v13p-ph { display: none; }

/* Home cards */
.v13p-cardh { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 20px; }
.v13p-ct { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.v13p-act { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.v13p-act-h { margin-left: auto; }
.v13p-piece { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 20px; }
.v13p-pt { flex: 1 1 200px; min-width: 0; }
.v13p-piece .v13p-act { margin-left: auto; }

/* Relationships cards */
.v13p-rc { display: grid; grid-template-columns: minmax(0, 1fr) 168px auto; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: #181818; border: 1px solid rgba(255,255,255,0.08); }
.v13p-rc-id { display: flex; align-items: center; gap: 12px; min-width: 0; }

/* Analytics */
.v13p-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v13p-rest { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding-top: 8px; }
.v13p-fb { padding: 0 12px 0 16px; }
.v13p-fb:first-child { padding: 0 16px 0 12px; }
.v13p-an-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: stretch; }

/* 1024 to 1263: the window takes the container width, the sidebar shrinks to icons */
@media (max-width: 1263px) {
  .v13p-side { width: 72px; padding: 20px 12px; }
  .v13p-sl { display: none !important; }
  .v13p-show { margin-top: 0; justify-content: center; }
  .v13p-nav { justify-content: center; padding: 0 !important; }
  .v13p-user { justify-content: center; }
  .v13p-bdg { position: absolute; top: 0; right: 4px; }
  .v13p-main { padding: 32px 24px 28px; }
  .v13p-rest { flex-direction: column; align-items: flex-start; }
  .v13p-th { width: 112px !important; height: 63px !important; }
  .v13p-cardh { column-gap: 12px; padding-left: 16px; padding-right: 16px; }
}
/* under 1024: no sidebar, a slim top bar */
@media (max-width: 1023px) {
  .v13p-side { display: none; }
  .v13p-top { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 24px; flex: none; }
  .v13p-main { padding: 8px 24px 28px; }
  .v13p-an-grid { grid-template-columns: minmax(0, 1fr) 296px; }
  .v13p-hide-md { display: none !important; }
  .v13p-g-head { display: none; }
  .v13p-g-row { grid-template-columns: minmax(0, 1fr) 164px 252px; grid-template-areas: "g s u"; padding: 10px 0; }
  .v13p-g-rec { grid-template-areas: "g s u" "g s r"; }
  .v13p-g-rec .v13p-gu { align-self: end; }
  .v13p-g-rec .v13p-gr { align-self: start; }
  .v13p-rl { display: inline; color: #9F9F9F; }
  .v13p-gg { grid-area: g; }
  .v13p-gs { grid-area: s; }
  .v13p-gu { grid-area: u; }
  .v13p-gr { grid-area: r; }
  .v13p-gm { white-space: normal; }
  .v13p-gr:empty { display: none; }
}
@media (max-width: 759px) {
  .v13p-an-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .v13p-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v13p-rc { display: flex; flex-wrap: wrap; }
  .v13p-rc-id { flex: 1 1 100%; }
  .v13p-rc-step { flex: 1 1 auto; }
  .v13p-rc-btn { margin-left: auto; }
  .v13p-g-row { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "g g" "s s" "u u" "r r"; row-gap: 6px; padding: 14px 0; }
  .v13p-gg { padding: 0; }
  .v13p-gs { padding: 0 0 0 44px; }
  .v13p-gu { padding: 0 0 0 44px; }
  .v13p-gr { padding: 0 0 0 44px; }
  .v13p-g-rec .v13p-gu, .v13p-g-rec .v13p-gr { align-self: center; }
}
/* phone: tabs and page padding */
@media (max-width: 639px) {
  .v13p-tabs { flex-wrap: nowrap; gap: 4px; }
  .v13p-tab { flex: 1 1 auto; min-width: 0; padding: 0 6px; font-size: 13px; }
  .v13p-desc { min-height: 78px; }
  .v13p-top { padding: 0 16px; }
  .v13p-main { padding: 8px 16px 24px; }
}
/* phone and small tablet (up to 759): the preview shows fewer rows */
@media (max-width: 759px) {
  .v13p-hide-sm { display: none !important; }
  .v13p-fb { padding: 0 10px 0 12px; }
  .v13p-fb:first-child { padding: 0 12px 0 10px; }
  .v13p-kpis > div { padding: 16px !important; }
  .v13p-rc-list { gap: 12px !important; }
  .v13p-rc { padding: 20px; }
  .v13p-cardh { padding: 16px; }
  .v13p-piece { padding: 12px 16px; }
  .v13p-act-h, .v13p-rc-btn { margin-left: 0; flex: 1 1 100%; }
  .v13p-act-h > span, .v13p-rc-btn > span { flex: 1 1 0; }
  .v13p-ct > span:nth-child(2) { text-wrap: balance !important; }
  .v13p-plot { height: 72px !important; }
  .v13p-an-grid > section { padding: 16px !important; }
}
/* values that differ on a phone, where the preview shows fewer rows */
.v13p-ph { display: none; }
/* Guests: Review (one suggestion at a time) and Guest Invites, in one stack so the Guests tab never changes height */
.v13p-main-flex { display: flex; flex-direction: column; }
.v13p-gwrap { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.v13p-gstack { --cw: 410px; --ch: 456px; margin-top: 24px; flex: 1 1 auto; display: grid; position: relative; min-height: 0; }
.v13p-gv { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; }
.v13p-gv[hidden] { visibility: hidden; pointer-events: none; }
.v13p-seg { display: inline-flex; align-items: center; flex: none; box-sizing: border-box; height: 36px; padding: 2px; border-radius: 9999px; border: 1px solid #6E6E70; }
.v13p-segb { text-align: center; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 16px; margin: 0; box-sizing: border-box; border: 0; border-radius: 9999px; background: transparent; color: #9F9F9F; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: color 150ms cubic-bezier(0.2, 0, 0, 1), background-color 150ms cubic-bezier(0.2, 0, 0, 1); }
.v13p-segb:hover { color: #E3DFDF; }
.v13p-segb[aria-pressed="true"] { background: #2C2C2C; color: #FFFFFF; }
.v13p-segb .v13p-segc { color: #9F9F9F; }
.v13p-segb[aria-pressed="true"] .v13p-segc { color: #E3DFDF; }
.v13p-segb:focus-visible, .v13p-b:focus-visible { outline: 2px solid #A68BFB; outline-offset: 2px; }
.v13p-rv-stack { flex: 0 0 auto; display: grid; width: 100%; max-width: var(--cw); margin: 0 auto; }
.v13p-rv, .v13p-done { grid-area: 1 / 1; min-width: 0; }
.v13p-rv { display: flex; flex-direction: column; }
.v13p-card { flex: 0 0 auto; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 16px; background: #181818; border: 1px solid rgba(255,255,255,0.08); }
.v13p-hero { position: relative; flex: none; aspect-ratio: 1 / 1; border-radius: 12px; background: #2C2C2C; overflow: hidden; }
.v13p-herotx { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 20px 20px; background: linear-gradient(to top, rgba(9,9,9,0.72) 0%, rgba(9,9,9,0.72) 55%, rgba(9,9,9,0) 100%); }
.v13p-name { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.v13p-why { flex: none; box-sizing: border-box; padding: 16px 20px; border-radius: 12px; background: #090909; }
.v13p-acts { flex: none; margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v13p-b { display: inline-flex; align-items: center; justify-content: center; text-align: center; height: 44px; margin: 0; padding: 0 12px; box-sizing: border-box; border-radius: 8px; font-family: inherit; cursor: pointer; white-space: nowrap; min-width: 0;
  transition: color 150ms cubic-bezier(0.2, 0, 0, 1), background-color 150ms cubic-bezier(0.2, 0, 0, 1), border-color 150ms cubic-bezier(0.2, 0, 0, 1); }
.v13p-b-s { background: transparent; color: #E3DFDF; border: 1px solid rgba(255,255,255,0.14); }
.v13p-b-s:hover { border-color: rgba(255,255,255,0.3); color: #FFFFFF; }
.v13p-b-p { background: #7E54F8; color: #FFFFFF; border: 1px solid transparent; }
.v13p-b-p:hover { background: #8A64F9; }
.v13p-rv-stack[data-fin] .v13p-rv { visibility: hidden; pointer-events: none; }
.v13p-rv-stack[data-fin] .v13p-done { visibility: inherit; }
.v13p-done { visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 48px 24px; box-sizing: border-box; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 639px) {
  .v13p-gstack { --cw: 420px; --ch: 464px; }
  .v13p-herotx { padding: 56px 16px 16px; }
  .v13p-name { font-size: 20px; line-height: 28px; }
  .v13p-why { padding: 16px; }
  .v13p-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .v13p-a-reach { grid-column: 1 / -1; grid-row: 2; }
  .v13p-segb { padding: 0 12px; }
}

/* under 900: role and company on separate lines, so the separator never hangs at a line end */
@media (max-width: 899px) {
  .v13p-co1 { display: block; }
  .v13p-dot { display: none; }
}

/* Guest Invites: the list scrolls inside the window; the window itself keeps its height */
.v13p-gv-inv { position: absolute; inset: 0; min-height: 0; }
.v13p-gscroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2C2C2C transparent; border-radius: 8px; }
.v13p-gscroll::-webkit-scrollbar { width: 8px; }
.v13p-gscroll::-webkit-scrollbar-track { background: transparent; }
.v13p-gscroll::-webkit-scrollbar-thumb { background: #2C2C2C; border-radius: 9999px; }
.v13p-gscroll::-webkit-scrollbar-thumb:hover { background: #3A3A3C; }
.v13p-gscroll:focus-visible { outline: 2px solid #A68BFB; outline-offset: 2px; }
.v13p-g-head { position: sticky; top: 0; z-index: 2; }
@media (max-width: 1023px) { .v13p-gstack { --cw: 488px; --ch: 534px; } }
@media (max-width: 639px) { .v13p-gstack { --cw: 420px; --ch: 464px; } }

@media (min-width: 640px) { .v13p-done { margin: 0 -90px; } }

/* Review card: fixed height, the body scrolls inside it; the three buttons stay pinned below */
.v13p-card { position: relative; box-sizing: border-box; height: var(--ch); overflow: hidden; padding: 0; gap: 0; }
.v13p-cscroll { box-sizing: border-box; height: 100%; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: #2C2C2C transparent; }
.v13p-cscroll::-webkit-scrollbar { width: 8px; }
.v13p-cscroll::-webkit-scrollbar-track { background: transparent; }
.v13p-cscroll::-webkit-scrollbar-thumb { background: #2C2C2C; border-radius: 9999px; }
.v13p-cscroll:focus-visible { outline: 2px solid #A68BFB; outline-offset: -2px; border-radius: 14px; }
.v13p-why { padding: 20px; flex: none; }
.v13p-online { padding: 16px 20px 4px; }
.v13p-ol { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; box-sizing: border-box; border-top: 1px solid rgba(255,255,255,0.08); }
.v13p-oli { flex: none; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; color: #9F9F9F; }
.v13p-olp { flex: none; width: 80px; color: #9F9F9F; }
.v13p-olh { flex: 1 1 auto; min-width: 0; color: #E3DFDF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 639px) {
  .v13p-why { padding: 16px; }
  .v13p-online { padding: 12px 16px 4px; }
  .v13p-olp { width: 72px; }
}
/* Relationships, Coming Up: as the real product */
.v13p-soon { display: flex; align-items: center; gap: 12px; min-height: 56px; box-sizing: border-box; border-top: 1px solid rgba(255,255,255,0.08); }
.v13p-soon-id { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.v13p-soon-n { color: #E3DFDF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v13p-soon-ph { display: none; }
.v13p-soon-w { flex: none; white-space: nowrap; }
@media (max-width: 759px) { .v13p-soon { padding: 10px 0; } }
@media (max-width: 639px) {
  .v13p-soon { min-height: 64px; padding: 10px 0; }
  .v13p-soon-ph { display: block; }
  .v13p-soon-w { display: none; }
}
/* logo: full wordmark in the sidebar and top bar, the symbol alone in the icon rail */
.v13p-lg-sym { display: none; }
@media (min-width: 1024px) and (max-width: 1263px) {
  .v13p-lg-full { display: none !important; }
  .v13p-lg-sym { display: flex; justify-content: center; height: 28px; }
}

/* touch widths: the Review / Guest Invites and Reconnect / Everyone toggles get 44px tap targets */
@media (max-width: 1023px) {
  .v13p-seg { height: 48px; }
  .v13p-segb { height: 44px; min-width: 44px; }
}
@media (max-width: 379px) { .v13p-kpis > div { padding: 16px 12px !important; } }
@media (max-width: 379px) { .v13p-plot { height: 64px !important; } .v13p-an-grid > section { padding: 14px 16px !important; } }
/* touch: inner scroll regions hand the swipe back to the page at their ends */
.v13p-cscroll, .v13p-gscroll { overscroll-behavior: auto; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
/* phone variants must win over the base rule above */
@media (max-width: 759px) {
  .v13p-pf { display: none; }
  .v13p-ph { display: inline; }
  .v13p-act.v13p-ph { display: flex; }
}

/* Guests table: status text and date on separate lines */
.v13p-gu1, .v13p-gu2 { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v13p-gu2 { color: #9F9F9F; }
.v13p-gr { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1023px) {
  .v13p-gr .v13p-gu1, .v13p-gr .v13p-gu2 { display: inline; }
  .v13p-gr .v13p-gu2::before { content: " \00b7  "; }
}
/* top bar: symbol alone on narrow phones, a real gap before the show block */
.v13p-tl-sym { display: none; }
@media (max-width: 1023px) { .v13p-top { gap: 12px; } }
@media (max-width: 389px) {
  .v13p-tl-full { display: none !important; }
  .v13p-tl-sym { display: block; }
}
@media (max-width: 639px) { .v13p-hide-xs { display: none !important; } }
/* Review card: bottom fade while there is more to scroll; Invites list and Coming Up end with a fade too */
.v13p-cfade { position: absolute; left: 0; right: 0; bottom: 0; height: 32px; pointer-events: none; background: linear-gradient(to bottom, rgba(24,24,24,0) 0%, rgba(24,24,24,0) 30%, #181818 100%); transition: opacity 150ms cubic-bezier(0.2, 0, 0, 1); }
.v13p-card[data-end] .v13p-cfade { opacity: 0; }
.v13p-gfade { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; pointer-events: none; background: linear-gradient(to bottom, rgba(9,9,9,0), #090909); transition: opacity 150ms cubic-bezier(0.2, 0, 0, 1); }
.v13p-gv-inv[data-end] .v13p-gfade { opacity: 0; }
.v13p-sfade { display: none !important; }
/* Ep. lines wrap to two balanced lines at tablet widths */
@media (min-width: 760px) and (max-width: 949px) {
  .v13p-ct > span:first-child { max-width: 38ch; text-wrap: balance; }
}
/* phone: the Review card does not scroll inside itself; the page scrolls */
@media (max-width: 639px) {
  .v13p-card { height: auto; overflow: visible; }
  .v13p-cscroll { height: auto; overflow: visible; }
  .v13p-hero { width: min(100%, 240px); margin: 0 auto; }
  .v13p-piece { flex-wrap: nowrap; }
  .v13p-piece .v13p-act { display: none; }
  .v13p-online { display: none; }
  .v13p-cfade { display: none; }
}
@media (max-width: 639px) {
  .v13p-cscroll { padding: 8px; gap: 8px; }
  .v13p-why { padding: 14px 16px; }
  .v13p-acts { margin-top: 12px; }
  .v13p-gstack { margin-top: 16px; }
}
/* the card keeps one height whoever is shown (longest bio, narrowest width in each range) */
@media (max-width: 639px) { .v13p-card { min-height: 482px; } }
@media (max-width: 429px) { .v13p-card { min-height: 508px; } }
@media (max-width: 379px) { .v13p-hide-xxs { display: none !important; } }

/* icon rail: app-style badges that overlap only the icon's top-right corner */
@media (min-width: 1024px) and (max-width: 1263px) {
  .v13p-bdg { top: 0; right: auto; left: 28px; }
  .v13p-bdg > span { height: 16px !important; min-width: 16px !important; padding: 0 4px !important; box-shadow: 0 0 0 2px #090909; }
}
/* touch widths: empty-state button is 44px tall */
@media (max-width: 1023px) { [data-g-goinv] { height: 44px !important; } }

/* body text lines avoid orphans */
.v13p-why p, .v13p-desc, .v13p-gm { text-wrap: pretty; }
/* engine.fm website, version 14 (loaded after v13p.css): the phone and tablet pass, and the mobile menu.
   The desktop design (1264 and wider, as approved at 1440) is not touched by anything in this file except the invisible
   hit-area padding on small links. Rules are shared, not per section, so they hold at every width. */

/* ------------------------------------------------------------------ iOS and global basics */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary { -webkit-tap-highlight-color: rgba(255,255,255,0.06); }
button, input { touch-action: manipulation; }

/* Hyphenated compounds stay whole ("mid-cut", "follow-up"); only the words around them break. */
.v14-nb { white-space: nowrap !important; }

/* Hit areas: links shorter or narrower than 44px grow an invisible padding, cancelled by a negative margin, so nothing moves. */
header .ws-wrap > a[aria-label="engine.fm home"], footer a[aria-label="engine.fm home"] { display: inline-flex !important; align-items: center; min-height: 44px; }
header nav a, footer nav a, .v1-foot-soc a { padding-left: 8px; padding-right: 8px; margin-left: -8px; margin-right: -8px; justify-content: center; }
.v1-foot-soc a { margin-right: -8px; }

/* ------------------------------------------------------------------ Header under 1024: logo, Book a call, menu button */
.v14-menu-btn { display: none; width: 44px; height: 44px; flex: none; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; color: #E3DFDF;
  transition: background-color 100ms ease-out, border-color 100ms ease-out; }
.v14-menu-btn:active { background-color: #2C2C2C; }
.v14-menu-btn svg { display: block; }
.v14-ln { stroke: #E3DFDF; stroke-width: 1.5; stroke-linecap: round; transform-box: view-box; transform-origin: 10px 10px; transition: transform 200ms cubic-bezier(0.2, 0, 0, 1); }
.v14-menu-btn[aria-expanded="true"] .v14-ln1 { transform: translateY(3px) rotate(45deg); }
.v14-menu-btn[aria-expanded="true"] .v14-ln2 { transform: translateY(-3px) rotate(-45deg); }

.v14-menu { display: none; }
@media (max-width: 1023px) {
  header .ws-wrap { gap: 12px !important; }
  header .ws-wrap > a[href="https://os.engine.fm"] { display: none !important; }
  .v14-menu-btn { display: inline-flex; }
  .v14-menu:not([hidden]) { display: flex; flex-direction: column; position: fixed; z-index: 40; top: 72px; left: 0; right: 0; bottom: 0; background: #090909; border-top: 1px solid rgba(255,255,255,0.08);
    overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
  .v14-menu-in { flex: 1 1 auto; display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 24px; }
  .v14-menu-nav { display: flex; flex-direction: column; }
  .v14-row { display: flex; align-items: center; min-height: 56px; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: #FFFFFF; text-decoration: none;
    font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.015em; transition: color 100ms ease-out; }
  .v14-row:active { color: #9F9F9F; }
}
@media (max-width: 639px) { header .ws-wrap > a.ef-b-primary { padding: 0 16px !important; } }
@media (prefers-reduced-motion: reduce) { .v14-ln { transition: none; } }

/* ------------------------------------------------------------------ Hero under 640 (row 17): two clean lines at every phone width.
   The two spans flow as one line of text and the size follows the width, so "Get in the room with / your ideal clients."
   always fits (34px at 360, 40px from 430). Words unchanged. */
@media (max-width: 639px) {
  .v4-hero .ws-hero { font-size: clamp(34px, calc((100vw - 32px) / 9.8), 40px); line-height: 1.1; text-wrap: balance; }
  .v4-hero .ws-hero > span { display: inline !important; }
  .v4-hero-in { padding: 56px 0 64px !important; }
}

/* Hero under 1024: no empty space under the text. The hero is as tall as its text and the gear art (centred on it, as on the laptop) sits behind the text. */
@media (max-width: 1023px) { .v4-hero-in { min-height: 0 !important; } }
@media (min-width: 640px) and (max-width: 1023px) { .v4-hero-in { padding: 80px 0 88px !important; } }

/* ------------------------------------------------------------------ Logo wall with reduced motion (row 4): a still, centred, wrapped set at the same sizes */
@media (prefers-reduced-motion: reduce) {
  .ws-marquee-mask { -webkit-mask-image: none; mask-image: none; max-width: 1264px; margin-left: auto; margin-right: auto; padding: 0 32px; }
  .ws-marquee { display: block; width: auto; animation: none !important; transform: none !important; }
  .ws-marquee > ul[aria-hidden="true"] { display: none !important; }
  .ws-marquee > ul { display: flex !important; flex-wrap: wrap; justify-content: center; flex-shrink: 1 !important; width: 100%; margin: 0 auto; gap: 16px 56px; max-width: 800px; }  /* 5 + 5 + 4 */
  .ws-marquee > ul > li { margin-right: 0 !important; }
}
/* the row width is set so the 14 logos always break into even rows: 5+5+4 from 748 up, pairs below that */
@media (prefers-reduced-motion: reduce) and (max-width: 1023px) { .ws-marquee-mask { padding: 0 24px; } }
@media (prefers-reduced-motion: reduce) and (max-width: 847px) { .ws-marquee > ul { gap: 14px 32px; max-width: 700px; } }
@media (prefers-reduced-motion: reduce) and (min-width: 600px) and (max-width: 747px) { .ws-marquee > ul { max-width: 480px; gap: 16px 20px; } }   /* 4+3+4+3 */
@media (prefers-reduced-motion: reduce) and (max-width: 599px) { .ws-marquee > ul { max-width: 340px; gap: 12px 32px; } }
@media (prefers-reduced-motion: reduce) and (max-width: 599px) { .ws-marquee-mask { padding: 0 16px; } .ws-marquee > ul { gap: 8px 32px; } }

/* ------------------------------------------------------------------ Process on a phone (row 5, and shortened): the number column is 40px instead of 72, steps are tighter,
   and the engine sits close to the first step. Same words, same order, still vertical. */
@media (max-width: 639px) {
  .px.ws-stack-md { margin-top: 40px !important; }
  .px-stage { padding: 0 !important; }
  .px-step { min-height: 0 !important; padding: 20px 0 20px 20px !important; }
  .px-body { display: grid !important; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px !important; align-items: baseline; }
  .px-body > div { display: contents !important; }
  .px-body > div > h3 { grid-column: 2; }
  .px-body > div > p { grid-column: 1 / -1; }
  .px-body > .ws-kpi { width: auto !important; font-size: 24px; line-height: 28px; }
  .px-body h3 { font-size: 20px; line-height: 26px; }
  .px-body p { max-width: none !important; font-size: 15px; line-height: 23px; }
  .px-body p + p { margin-top: 8px !important; }
  .px-body h3 + p { margin-top: 6px !important; }
}

/* Process under 1024: the steps come first, and the engine (nothing builds it as you scroll here) closes the section, finished and running. */
@media (max-width: 1023px) {
  .px.ws-stack-md { gap: 48px !important; }
  .px-rail { order: 2; }
}
@media (min-width: 640px) and (max-width: 1023px) { .px-body p { max-width: 640px !important; } }

/* ------------------------------------------------------------------ What it takes: nothing special, the cards already stack */

/* ------------------------------------------------------------------ Output (rows 1 and 13) */
/* under 1024: the desktop fan-out turned vertical. The recording is its own centred component, one line runs down from it and every deliverable is a
   card on that line (picture, count and name, platform chips), joined by the same hairline, end nodes and travelling light as the desktop wires. */
@media (max-width: 1023px) {
  section:has(> .ws-wrap > .v2-out) .ws-lead { margin-bottom: 40px !important; }
  .v2-out { width: 100% !important; }
  .v2-out .v2-src { display: block !important; position: relative; height: auto !important; margin: 0 0 24px !important; padding: 0 !important; }
  .v2-out .v2-src-in { display: flex !important; flex-direction: column; align-items: center; gap: 14px; width: auto !important; height: auto !important; margin: 0 auto !important; }
  .v2-out .v2-src-in > div:first-child { zoom: 0.8125; }
  .v2-out .v2-src-lab { order: -1; position: static !important; transform: none !important; left: auto !important; top: auto !important; justify-content: center; }
  .v5-cells { display: flex !important; flex-direction: column; align-items: center; gap: 24px !important; max-width: 560px; margin: 0 auto; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; }
  .v5-cells > .v2-cell { position: relative; width: 100%; display: grid !important; grid-template-columns: 72px auto minmax(0, 1fr); column-gap: 12px; align-items: start; align-content: start; text-align: left !important;
    padding: 14px 16px !important; border: 1px solid rgba(255,255,255,0.08) !important; border-radius: 12px; background: rgba(255,255,255,0.03) !important; }
  .v5-cells > .v2-cell::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 24px; margin-left: -0.5px;
    background: linear-gradient(180deg, rgba(138,100,249,0) 0%, rgba(138,100,249,0.5) 22%, #8A64F9 55%, #FAC37B 92%, rgba(250,195,123,0) 100%) 0 -100px / 1px 100px no-repeat, rgba(255,255,255,0.22);
    animation: v14-flow 6.3s linear infinite; animation-delay: var(--d); }
  /* one light, in turn: each segment starts while the previous streak is still leaving it; the card between catches it on its top edge and lets it go from its bottom edge */
  .v5-cells > .v2-cell:nth-child(1) { --d: 0s; } .v5-cells > .v2-cell:nth-child(2) { --d: 0.9s; } .v5-cells > .v2-cell:nth-child(3) { --d: 1.8s; }
  .v5-cells > .v2-cell:nth-child(4) { --d: 2.7s; } .v5-cells > .v2-cell:nth-child(5) { --d: 3.6s; }
  .v5-cells > .v2-cell::after, .v5-cells > .v2-cell > div:first-child::after { content: ""; position: absolute; left: 14%; right: 14%; height: 1px; opacity: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(138,100,249,0), #8A64F9 30%, #FAC37B 70%, rgba(250,195,123,0)); animation: v14-edge 6.3s linear infinite; animation-delay: var(--d); }
  .v5-cells > .v2-cell::after { top: -1px; }
  .v5-cells > .v2-cell > div:first-child::after { bottom: -1px; animation-delay: calc(var(--d) + 0.6s); }
  .v5-cells > .v2-cell:last-child > div:first-child::after { display: none; }
  .v5-cells > .v2-cell > div:first-child { grid-column: 1; grid-row: 1 / span 2; align-self: start !important; width: 72px !important; height: 56px !important; zoom: 1; flex: none; display: flex; align-items: center; justify-content: center; overflow: visible; }
  .v5-cells > .v2-cell > div:first-child > * { zoom: 0.5; flex: none; }
  .v5-cells > .v2-cell > p { margin: 0 !important; }
  .v5-cells > .v2-cell > p.ws-kpi { grid-column: 2; grid-row: 1; font-size: 20px !important; line-height: 24px !important; }
  .v5-cells > .v2-cell > p.ws-w500 { grid-column: 3; grid-row: 1; white-space: nowrap; line-height: 24px !important; }
  .v5-cells > .v2-cell > ul { grid-column: 2 / -1; grid-row: 2; display: block !important; text-align: left; text-wrap: balance; margin: 6px 0 -4px !important; }
  .v5-cells > .v2-cell > ul > li { display: inline-block !important; margin: 0 4px 4px 0 !important; padding: 3px 8px !important; font-size: 12px !important; line-height: 16px !important; }
}
@keyframes v14-flow { 0% { background-position: 0 -100px, 0 0; } 23.8% { background-position: 0 24px, 0 0; } 100% { background-position: 0 24px, 0 0; } }
@keyframes v14-edge { 0% { opacity: 0; } 6% { opacity: 0.6; } 16% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .v5-cells > .v2-cell::before { animation: none; background: rgba(255,255,255,0.22); }
  .v5-cells > .v2-cell::after, .v5-cells > .v2-cell > div:first-child::after { animation: none; opacity: 0; }
}
/* tablet: a bigger recording and wider cards so the chips sit on one line */
@media (min-width: 640px) and (max-width: 1023px) { .v2-out .v2-src-in > div:first-child { zoom: 1; } }

/* ------------------------------------------------------------------ Client cases
   1024-1263: two by two (four across was cramped: 165px text columns); 1264 up: four across as approved. Under 1024: the carousel below. */
@media (min-width: 1024px) and (max-width: 1263px) {
  .v13-a { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  /* the cover on the left (176px), the show and company to its right, starting level with the cover's top edge; divider, title, text and tag run full width below */
  .v13-a > .ef-card { display: grid !important; grid-template-columns: 176px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 24px; align-content: start; }
  .v13-a .v13-cover { grid-column: 1; grid-row: 1; width: 176px !important; }
  .v13-a .v13-a-who { grid-column: 2; grid-row: 1; align-self: start; margin-top: 0 !important; min-height: 0; }
  .v13-a .v13-a-title { grid-column: 1 / -1; margin-top: 24px !important; }
  .v13-a > .ef-card > p.ws-body:not(.v13-a-who) { grid-column: 1 / -1; }
  .v13-a > .ef-card > ul { grid-column: 1 / -1; align-self: end; }
}

/* ------------------------------------------------------------------ Pricing (row 11) */
@media (max-width: 1263px) {
  .v14-prow { height: auto !important; min-height: 44px; align-items: flex-start !important; gap: 12px !important; padding: 10px 0 11px; }
  .v14-prow > span:last-child { flex: none; padding-top: 1px; }
  .v14-prow > span:first-child { min-width: 0; }
}
@media (min-width: 1024px) and (max-width: 1263px) {
  #pricing .ws-stack-md { gap: 16px !important; }
  #pricing .si-wrap > div { padding: 24px !important; }
}
@media (max-width: 1023px) { #pricing .si-wrap > div { padding: 24px !important; } }

/* ------------------------------------------------------------------ Included in Every Plan (row 12): the two halves stack below 1264 */
@media (max-width: 1263px) { .v8-incl { grid-template-columns: minmax(0, 1fr) !important; } }

/* ------------------------------------------------------------------ Break-even */
@media (max-width: 1263px) { .ws-mono-xs { font-size: 12px; line-height: 16px; } }
@media (max-width: 1023px), (pointer: coarse) {
  .v10-be-in { height: 44px; line-height: 42px; margin: 0 2px; }
  .v10-range { height: 44px; }
  .v10-range::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -13px; }
  .v10-range::-moz-range-thumb { width: 28px; height: 28px; }
  .v10-be-plans button { height: 48px; }
}
@media (max-width: 1023px) { .v10-be-line { text-wrap: balance; } }
/* Plan buttons: always one row of three segments, each label on one line (v10.css stacked them under 640), with at least 10px of padding either side of a
   full label. Equal columns with the full labels from 428 up (13px up to 459, 14px from 460, 1024-1060 at 13px). At 427 and under they cannot fit that way, so all
   three switch to the parallel short set (Monthly / Twice monthly / Weekly, second span) and fill the row: each segment keeps its label width plus an equal share of the rest. */
.v10-be-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v10-be-plans button { padding: 0 10px; }
.v14-pl-s { display: none; }
@media (max-width: 459px) { .v10-be-plans { gap: 4px; } .v10-be-plans button { font-size: 13px; } }
@media (min-width: 1024px) and (max-width: 1060px) { .v10-be-plans button { font-size: 13px; } }
@media (max-width: 427px) {
  .v10-be-plans { display: flex; }
  .v10-be-plans button { flex: 1 1 auto; padding: 0 10px; min-width: 0; }
  .v14-pl-f { display: none; }
  .v14-pl-s { display: inline; }
}
@media (max-width: 345px) { .v10-be-plans button { padding: 0 4px; } }   /* 320-345: the short labels cannot keep 10px either side (4-7px at 320) */

/* The panel never changes height as the numbers change: hold the sentence at its longest setting at each width */
@media (max-width: 419px) { .v10-be-line { min-height: 172px; } }
@media (min-width: 420px) and (max-width: 639px) { .v10-be-line { min-height: 144px; } }
@media (min-width: 640px) and (max-width: 719px) { .v10-be-line { min-height: 129px; } }
@media (min-width: 720px) and (max-width: 959px) { .v10-be-line { min-height: 97px; } }
@media (min-width: 1024px) and (max-width: 1263px) {
  .v10-be { align-items: start !important; column-gap: 48px !important; }
}
/* phones: the calculator and the Included in Every Plan panel share 20px of padding, which is what lets the full plan labels fit from 428 */
@media (max-width: 639px) { .v10-be, .v8-incl { padding: 20px !important; } }

/* ------------------------------------------------------------------ Founder (rows 2 and 18) */
/* 640-1023: stacked like the phone, with a wider crop of the portrait on top and the text capped at a readable line length */
@media (min-width: 640px) and (max-width: 1023px) {
}

/* ------------------------------------------------------------------ Footer on a phone */
@media (max-width: 1023px) { .v1-foot-links { gap: 0 24px !important; } }

/* ------------------------------------------------------------------ Carousel (one component: clients and plans under 1024, "what we do" under 640)
   The row bleeds to the screen edge; the first card starts at the page's left content edge; the scroll padding equals the page gutter. */
.v14-pager { display: none; }
@media (max-width: 1023px) {
  .v14-car-md { --g: 24px; --w: calc((100% + var(--g) - 56px) / 2); }   /* two whole cards, then 24px of the third (its edge, no text) */
  .v14-car.v14-car-md { display: flex !important; flex-direction: row !important; gap: 16px !important; position: relative; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: -20px calc(var(--g) * -1) 0 !important; padding: 20px var(--g) 20px; scroll-padding-inline: var(--g); }
  .v14-car-md::-webkit-scrollbar { display: none; }
  .v14-car-md > * { flex: 0 0 var(--w) !important; min-width: 0; scroll-snap-align: start; }
  .v14-pager-md { display: flex; }
}
@media (max-width: 639px) {
  .v14-car-md { --g: 16px; --w: calc(100% + var(--g) - 40px); }   /* one whole card, then 24px of the next */
}
/* Client cards are capped at 400px wide (cover 350px): on wide phones the next card peeks more; on tablet two cards and a peek of the third. */
@media (max-width: 639px) { .v13-a.v14-car-md { --w: min(400px, calc(100% + var(--g) - 40px)); } }
@media (min-width: 640px) and (max-width: 1023px) { .v13-a.v14-car-md { --w: min(400px, calc((100% + var(--g) - 56px) / 2)); } }
.v13-a .v13-a-who { }
/* Client cards: the identity block holds the 3-line company note (Spark Offer) and the title holds two lines (Seemed Like a Good Idea wraps at every card
   width under 1024), so every divider and text start sits level. Measured with the brand font: from 1024 up all four titles are one line, so no min-height there. */
@media (min-width: 640px) and (max-width: 1023px) { .v13-a-who { min-height: 66px; } .v13-a-title { min-height: 69px; } }
@media (max-width: 639px) { .v13-a-who, .v13-a-title { min-height: 0; } }   /* phone: one card at a time, natural flow, the tag pinned to the bottom */
@media (min-width: 1024px) and (max-width: 1263px) { .v13-a-title { min-height: 0; } }
@media (max-width: 639px) {
  #services.v14-car .ef-card > div[aria-hidden="true"]:first-child { height: 170px !important; }
  #services.v14-car .ef-card > div[aria-hidden="true"]:first-child > div { transform: scale(0.98) !important; }
}
.v14-car:focus-visible { outline: 2px solid #A68BFB; outline-offset: -2px; border-radius: 16px; }
/* Client cards on subgrid: the card rows (cover, names, divider + title, text, tag) are rows of the track, so each row is as tall as the tallest card's real content
   and nothing is reserved. Without subgrid support the min-heights above stay as the fallback. */
@media (min-width: 640px) { @supports (grid-template-rows: subgrid) {
  .v13-a { grid-template-rows: repeat(5, auto); row-gap: 0 !important; }
  .v13-a > .ef-card { display: grid !important; grid-row: span 5; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); }
  .v13-a .v13-a-who, .v13-a .v13-a-title { min-height: 0 !important; }
  .v13-a > .ef-card > ul { margin-top: 0; }
} }
@media (min-width: 1024px) and (max-width: 1263px) {
  @supports (grid-template-rows: subgrid) {
    .v13-a { grid-template-rows: repeat(8, auto); }
    .v13-a > .ef-card { grid-row: span 4; grid-template-rows: subgrid; grid-template-columns: 176px minmax(0, 1fr); }
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  @supports (grid-template-rows: subgrid) {
    .v13-a.v14-car.v14-car-md { display: grid !important; grid-auto-flow: column; grid-auto-columns: var(--w); grid-template-columns: none !important; grid-template-rows: repeat(5, auto); gap: 0 16px !important; }
    .v13-a.v14-car-md > .ef-card { flex: none; }
  }
}
/* Pager: dots only, close together (8px dots, 12px apart), centred. Each dot keeps a 44px-tall hit area. A dot is a resting position:
   on a two-card view the last cards share one end position, so the dot with no position of its own is hidden. */
.v14-pager { align-items: center; justify-content: center; margin-top: 4px; }
.v14-dots { display: flex; }
.v14-dot { position: relative; width: 20px; height: 44px; flex: none; }
.v14-dot::before { content: ""; position: absolute; left: 6px; top: 18px; width: 8px; height: 8px; border-radius: 9999px; background: #2C2C2C; transition: background-color 150ms cubic-bezier(0.2, 0, 0, 1); }
.v14-dot[aria-current="true"]::before { background: #E3DFDF; }
.v14-dot:focus-visible { outline: 2px solid #A68BFB; outline-offset: -4px; border-radius: 9999px; }
@media (min-width: 640px) and (max-width: 1023px) {
  .v14-pager[data-car-pager="clients"] .v14-dot:nth-child(4), .v14-pager[data-car-pager="pricing"] .v14-dot:nth-child(3), .v14-pager[data-car-pager="services"] .v14-dot:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .v14-car { scroll-behavior: auto !important; } .v14-dot::before { transition: none; } }

/* ------------------------------------------------------------------ Hover only where there is a hover (touch devices keep no stuck hover state) */
@media (hover: hover) {
  .v14-menu-btn:hover { background-color: #2C2C2C; }
  .v14-row:hover { color: #9F9F9F; }
}
@media (hover: none) {
  .v14-menu-btn:hover:not(:active) { background-color: transparent; }
  .v1-play:hover:not(:active) { background-color: #7E54F8 !important; }
  .ef-b-primary:hover:not(:active) { background-color: #7E54F8 !important; }
  .ef-b-secondary:hover:not(:active) { background-color: transparent !important; }
  .ws-nav-link:hover:not(:focus-visible) { color: #9F9F9F; }
  .ef-card:hover { border-color: rgba(255,255,255,0.08) !important; }
  .ws-faq > summary:hover { color: inherit; }
  .v10-be-in:hover:not(:focus) { border-color: rgba(255,255,255,0.14); }
  .v10-be-plans button:hover:not([aria-pressed="true"]) { color: #9F9F9F; border-color: rgba(255,255,255,0.14); }
  .si-ignite:hover:not(:focus-within) > .si-ring { opacity: 0.3; }
  .si-ignite:hover:not(:focus-within) > .si-glow { opacity: 0; }
  .si-travel:hover:not(:focus-within) > .si-ring-run { opacity: 0; animation-play-state: paused; }
  .si-travel:hover:not(:focus-within) > .si-glow { opacity: 0; animation-play-state: paused; }
}

/* ------------------------------------------------------------------ Process engine stays pinned with reduced motion too (finished state, no animation) */
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .px-stage { position: sticky; top: max(24px, calc(50vh - 232px)); will-change: auto; }
}

/* ------------------------------------------------------------------ Hero artwork under 1264: the PLANET label and its leader line ran into the headline */
@media (min-width: 1024px) and (max-width: 1263px) {
  .v4-hero-gear g:has(+ text[y="-179"]), .v4-hero-gear text[y="-179"] { display: none; }
}

/* ------------------------------------------------------------------ Titles and short labels: balanced under 1264 so no word is left alone on a last line */
@media (max-width: 1263px) {
  main h3, main h4, .v8-incl-list li span, .v14-row, .ws-faq summary > span, #services p, .ws-faq:nth-of-type(n+5) p, .v8-incl p, .px-body p { text-wrap: balance; }
}
@media (max-width: 639px) {
  #services h3 { min-height: 56px; }   /* the three titles take two lines: the texts start level */
}

/* ------------------------------------------------------------------ 1024-1263: the artwork moves clear of the paragraphs */
@media (min-width: 1024px) and (max-width: 1263px) {
  .v4-hero-gear { right: min(-860px, calc(100vw - 1934px)) !important; }
  .v1-cta-eng { right: -456px !important; width: 800px !important; height: 800px !important; margin-top: -400px !important; }
}

/* Output chips, phone: tighter so rows stay two lines */
@media (max-width: 639px) {
  .v5-cells > .v2-cell { padding: 10px 12px !important; column-gap: 10px; }
  .v5-cells > .v2-cell > ul { grid-column: 2 / -1; gap: 3px; margin-top: 4px !important; }
  .v5-cells > .v2-cell > ul > li { padding: 3px 7px !important; font-size: 12px !important; line-height: 16px !important; }
}

/* Section rhythm: the logo strip closes with the same bottom padding as every other section */
@media (max-width: 639px) { main > section:nth-of-type(2) { padding-top: 40px !important; padding-bottom: 32px !important; } }
@media (min-width: 640px) and (max-width: 1023px) { main > section:nth-of-type(2) { padding-top: 60px !important; padding-bottom: 44px !important; } .px-stage { padding: 0 !important; } }

/* Sticky header under 1024 so the menu and Book a call stay on screen; anchors clear it */
@media (max-width: 1023px) {
  main > header { position: sticky !important; top: 0; z-index: 50; background: #090909; }
  .v14-menu:not([hidden]) { z-index: 60; }
  main section[id], main [id].ws-anchor { scroll-margin-top: 73px; }
}
@media (max-width: 1023px) { .ws-faq summary > span { text-wrap: balance !important; } }
@media (max-width: 1023px) { .ws-faq summary .v14-nb { white-space: normal !important; } }

/* Founder under 1024: heading first, then the photo, then the text */
@media (max-width: 1023px) {
  #about .ws-stack-md { gap: 32px !important; }
  #about .ws-stack-md > div:last-child { display: contents !important; }
  #about .ws-stack-md > div:last-child > h2 { order: 1; }
  #about .ws-stack-md > .v8-portrait-col { order: 2; justify-content: flex-start !important; position: static; }
  #about .ws-stack-md > div:last-child > div { order: 3; margin-top: 0 !important; }
}
@media (max-width: 639px) { .v8-portrait { width: 300px !important; max-width: 100% !important; aspect-ratio: 4 / 5 !important; min-height: 0 !important; } }

/* Hero art under 1024: on the text block's horizontal axis, large, behind the text, bleeding off the right edge as on desktop */
@media (min-width: 640px) and (max-width: 1023px) {
  .v4-hero-gear { top: 50% !important; bottom: auto !important; margin-top: -480px !important; width: 960px !important; height: 960px !important; right: -480px !important; }
}
@media (max-width: 639px) {
  .v4-hero-gear { top: 50% !important; bottom: auto !important; margin-top: -420px !important; width: 840px !important; height: 840px !important; right: -420px !important; opacity: 0.6; }
}
/* Final CTA, phone: the same treatment as the tablet, a large engine framed behind and to the right of the text */
@media (max-width: 639px) {
  .v1-cta-eng { width: 900px !important; height: 900px !important; right: -440px !important; top: 50% !important; bottom: auto !important; margin-top: -450px !important; }
}

/* Hero art under 1024: keep the line drawing, drop the small callout labels, ring numbers and their leader lines so nothing collides with the copy */
@media (max-width: 1023px) {
  .v4-hero-gear text, .v4-hero-gear g:has(+ text.si-note) { display: none !important; }
}
/* Founder on tablet: one centred 640px column, left-aligned inside */
@media (min-width: 640px) and (max-width: 1023px) {
}
/* Process: one measure for every step paragraph and "Your part" line */
@media (max-width: 1023px) {
  .px-body p { text-wrap: pretty !important; }
}
@media (min-width: 640px) and (max-width: 1023px) { .px-body p { max-width: 600px !important; } }
/* Final CTA on phone: the flywheel end of the engine frames the text, as on the tablet */
@media (max-width: 639px) {
  .v1-cta-eng { width: 1060px !important; height: 1060px !important; right: -202px !important; margin-top: -530px !important; }
}

/* Founder on tablet: heading, then the portrait beside the first paragraphs (portrait stretched to their height, ending level with a paragraph end),
   the rest of the bio full width below, then the "Before doing this" line and the names. Centred 720px column. */
@media (min-width: 640px) and (max-width: 1023px) {
  #about .ws-stack-md { max-width: 720px; margin-left: auto !important; margin-right: auto !important; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr) !important; column-gap: 32px !important; row-gap: 20px !important; }
  #about .ws-stack-md > div:last-child > div { display: contents !important; }
  #about .ws-stack-md > div:last-child > h2 { grid-column: 1 / -1; margin-bottom: 12px; }
  #about .ws-stack-md > .v8-portrait-col { grid-column: 1; grid-row: 2 / span 2; align-self: stretch; }
  #about .v8-portrait { width: 100% !important; max-width: none !important; height: auto !important; aspect-ratio: auto !important; min-height: 0 !important; flex: 1; }
  #about .ws-stack-md p.ws-lead { grid-column: 1 / -1; max-width: none !important; }
  #about .ws-stack-md p.ws-lead:nth-of-type(1) { grid-column: 2; grid-row: 2; }
  #about .ws-stack-md p.ws-lead:nth-of-type(2) { grid-column: 2; grid-row: 3; }
  #about .ws-stack-md p.ws-lead:nth-of-type(3) { margin-top: 12px; }
}
/* 640-669: the column is too narrow for two paragraphs beside the portrait (it would turn into a sliver), so only the first sits beside it */
@media (min-width: 640px) and (max-width: 669px) {
  #about .ws-stack-md { grid-template-columns: minmax(0, 28fr) minmax(0, 72fr) !important; }
  #about .ws-stack-md > .v8-portrait-col { grid-row: 2; }
  #about .ws-stack-md p.ws-lead:nth-of-type(2) { grid-column: 1 / -1; grid-row: 3; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #about .ws-stack-md > div:last-child > h2 { grid-row: 1; order: 0; }
  #about .ws-stack-md > .v8-portrait-col { order: 0; }
  #about .ws-stack-md p.ws-lead:nth-of-type(n+3), #about .ws-stack-md .v6-marks { grid-row: auto; }
  #about .ws-stack-md .v6-marks { grid-column: 1 / -1; }
}

/* Pricing cards under 1024: the card in view carries the glow ring (the carousel marks it v14-on); on touch the press/hover version stays off */
@media (max-width: 1023px) {
  html .v14-car .si-travel.v14-on > .si-ring-run { opacity: 1; animation-play-state: running; }
  html .v14-car .si-travel.v14-on > .si-glow { opacity: 0.3; animation-play-state: running; }
}

/* Founder heading centred like every other section; on the phone the photo is centred under it (text stays left) */
@media (max-width: 1023px) { #about .ws-stack-md > div:last-child > h2 { text-align: center; } }
@media (max-width: 639px) { #about .ws-stack-md > .v8-portrait-col { justify-content: center !important; } }

/* Break-even value field: the numerals sat a touch low in the box; lift them so they centre optically like the plan labels */
@media (max-width: 639px) { .v10-be-in { padding-bottom: 1px !important; } }
@media (min-width: 640px) and (max-width: 1023px) { .v10-be-in { padding-bottom: 2px !important; } }
@media (min-width: 1024px) { .v10-be-in { padding-bottom: 1px !important; } }   /* optical centring of the value (numerals sat ~1.4px low) */

/* ====================================================================== round 5 */
/* 1. Header at 352 and below: the logo symbol alone (no wordmark), so logo, Book a call and the menu button always fit */
@media (max-width: 352px) {
  header .ws-wrap > a[aria-label="engine.fm home"] { width: 46px; overflow: hidden; justify-content: flex-start; }
  header a[aria-label="engine.fm home"] svg path:not(:last-child) { display: none; }
}
/* 2. No one- or two-word last lines in body paragraphs (the dashboard preview is left alone) */
:where(main section:not(#platform)) p { text-wrap: pretty; }
/* 3. "What we do" edit timeline: at rest (no animation) the playhead sits on the timeline's left edge, inside the frame */
.il-play { transform: translateX(34px); }
/* 4. Output wires: above the cards, ending on the top edge of each picture */
.v2-out > .v14-wires { z-index: 2; pointer-events: none; }
/* 7. One focus ring for everything that takes focus: the button ring, rounded */
a:focus-visible:not(.ef-b-primary):not(.ef-b-secondary), summary:focus-visible, .ws-faq > summary:focus-visible { outline: 2px solid #A68BFB; outline-offset: 2px; border-radius: 8px; }
/* the FAQ row's text starts at the row's edge: the ring stands a little off it so the letters do not touch the line */
summary:focus-visible, .ws-faq > summary:focus-visible { outline-offset: 6px; }
/* 8. Output chips: the row split is fixed by a line-break item after the first row (4 -> 2+2, 5 -> 3+2, 6 -> 3+3); every chip keeps its natural width, 6px gaps */
.v5-cells > .v2-cell > ul > li.v14-br { flex: 0 0 100%; width: 100%; height: 0; padding: 0 !important; margin: -6px 0 0 !important; border: 0 !important; display: block !important; list-style: none; }
/* six chips: 3+3 on phones and tablets, 2+2+2 in the desktop cells */
.v5-cells > .v2-cell > ul > li.v14-br.v14-m { display: none !important; }
@media (max-width: 1023px) {
  .v5-cells > .v2-cell > ul > li.v14-br.v14-m { display: block !important; }
  .v5-cells > .v2-cell > ul > li.v14-br.v14-d { display: none !important; }
  .v5-cells > .v2-cell > ul { display: flex !important; flex-wrap: wrap; justify-content: flex-start !important; gap: 6px; text-wrap: initial; margin: 6px 0 0 !important; }
  .v5-cells > .v2-cell > ul > li:not(.v14-br) { margin: 0 !important; display: block !important; }
  .v5-cells > .v2-cell > ul > li:not(.v14-br) { padding: 3px 7px !important; }
}
@media (max-width: 359px) {
  .v5-cells > .v2-cell > ul { grid-column: 1 / -1; grid-row: 3; margin-top: 10px !important; }
}
/* the card title may wrap inside the card on the narrowest phones instead of running to the edge */
@media (max-width: 389px) {
  .v5-cells > .v2-cell > p.ws-w500 { white-space: normal; text-wrap: balance; padding-right: 4px; }
}

/* 5. 1024-1180 (small laptop) */
@media (min-width: 1024px) and (max-width: 1180px) {
  /* What we do: every title takes two lines, so the gap under each is the same */
  #services h3 { max-width: 10.5em; text-wrap: balance; }
  /* Process: the tablet's one-column steps with the finished engine at the bottom; the scroll build starts at 1181 */
  .px.ws-stack-md { grid-template-columns: minmax(0, 1fr) !important; gap: 48px !important; }
  .px-rail { order: 2; }
  .px-stage { position: static !important; transform: none !important; padding: 0 !important; max-width: 720px; margin-left: auto; margin-right: auto; }
  .px.ws-stack-md > .px-rail, .px.ws-stack-md > .px-steps { width: 100%; max-width: 720px; margin-left: auto; margin-right: auto; }
  .px-node { display: none; }
  .px-body p { max-width: 600px !important; text-wrap: pretty !important; }
}
/* Included in Every Plan: the intro runs the full width of the panel once the panel is stacked */
@media (max-width: 1263px) { .v8-incl p { max-width: none !important; } }
/* Break-even: the room for the longest sentence is held by the invisible copy (see make_v14), not by a min-height on the sentence */
.v14-be-hold .v10-be-line { min-height: 0 !important; }
.v14-be-hold > .v14-be-ghost > p.ws-body-lg, .v14-be-hold > div > p.ws-body-lg { margin-top: 24px !important; }
.v14-be-ghost p { margin: 0; }
.v14-be-ghost p.ws-body-lg { margin-top: 24px !important; }
/* Plan names stay on one line on every card (or on two on every card): a hair smaller where "Two episodes a month" just does not fit */
@media (min-width: 640px) and (max-width: 719px) { #pricing .si-wrap h3 { font-size: 21px; line-height: 28px; } }
@media (min-width: 1024px) and (max-width: 1089px) { #pricing .si-wrap h3 { font-size: 22px; line-height: 28px; } }
@media (max-width: 349px) { #pricing .si-wrap h3 { font-size: 19px; line-height: 26px; } }

/* Review 5 / 10: on desktop the visible sentence sits in the middle of the room reserved for the longest one, so the panel's padding reads even */
@media (min-width: 1024px) { .v14-be-hold > div:not(.v14-be-ghost) { align-self: center; } }

/* Review 5 / 4: room for the engine above and below the steps while the scroll build runs (set from the script: half the engine's height) */
@media (min-width: 1181px) { .px.px-js { padding-bottom: var(--eg-bot, 0px); } }
/* S7 break-even: a11y additions (PRODUCTION_NOTES 3b #6). */
/* Result sentence for screen readers: a polite live region, updated once values settle. */
.v10-be-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Firefox slider thumb focus ring, matching the WebKit thumb ring. */
.v10-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px #181818, 0 0 0 6px #A68BFB; }
/* S3 video: poster under a ~35% black scrim, play button above both. The placeholder dressing is gone (PRODUCTION_NOTES, Explainer video). */
.v1-frame > picture { position: absolute; inset: 0; display: block; }
.v1-frame .v1-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.v1-frame > .v1-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.v1-frame > .v1-play { position: relative; z-index: 1; border: 0; padding: 0; cursor: pointer; }
.v1-frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (prefers-reduced-motion: reduce) { .v1-play { transition: none; } }
/* S1 shell: skip link (PRODUCTION_NOTES 3b #8) and header stacking (3b #26). */

/* Skip link: off screen until it takes focus, then it covers the logo box exactly (same left/top/height, at least as wide) and is
   drawn like the outlined secondary button (page background so the logo does not show through) with the page's focus ring. */
.ef-skip { position: fixed; top: 14px; left: max(32px, calc(50% - 600px)); z-index: 100; display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; border-radius: 8px; background-color: #090909; border: 1px solid rgba(255,255,255,0.14); color: #E3DFDF; font-size: 14px; line-height: 22px; font-weight: 500; text-decoration: none;
  font-family: 'Bw Modelica LGC SS02', 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* fully hidden and out of flow until focused (clip pattern: nothing paints, even in element or full-page captures) */
  clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; opacity: 0; pointer-events: none; }
.ef-skip:focus, .ef-skip:focus-visible { clip-path: none; width: auto; min-width: 135px; height: 44px; padding: 0 22px; overflow: visible; opacity: 1; pointer-events: auto; outline: 2px solid #A68BFB; outline-offset: 2px; }
@media (max-width: 1023px) { .ef-skip { left: 24px; } }
@media (max-width: 639px) { .ef-skip { left: 16px; } }
/* At 352 and under the header shows the 46px logo symbol and "Book a call" starts only 142px from the edge at 320, so the 149px chip would
   run over it. There the focused chip keeps the left gutter (it still covers the whole logo) and drops its side padding (7px) and min-width
   so it is 119px wide: text 103px, never clipped, and its focus ring ends 2.8px short of "Book a call" at 320 (more at wider screens). */
@media (max-width: 352px) { .ef-skip:focus, .ef-skip:focus-visible { min-width: 0; padding: 0 7px; } }

/* The header no longer carries an inline z-index:5. It stays above the carousels and the preview, below the open menu panel (60,
   set in v14.css). From 1024 it is position:relative (inline), under it v14.css makes it sticky with the same value. */
main > header { z-index: 50; }
/* S6, dashboard preview (PRODUCTION_NOTES 3b #24): keep the window 800 high from 429 down to 320, equal on every tab and state.
   The reference's window is 814 at 380 to 382 wide (Home tallest) and 836 to 898 at 356 and under (Guests, Home and Analytics tallest,
   and the Guests window also changed height with the guest and in the finished state). The window is now fixed at 800 here, and
   the tallest tabs are tightened at those widths so nothing is clipped. Heights were measured in Chromium with the brand fonts. */
@media (max-width: 429px) {
  .v13p-win { height: 800px; }
}

/* 380 to 382: Home was 814. */
@media (min-width: 380px) and (max-width: 382px) {
  .v13p-cardh { row-gap: 10px; }
}

/* 356 and under: Guests was 836. The toggle wraps under the title here and the long summary lines wrap (a second line is
   reserved so no state changes the height). The photo is 200 square and the card keeps one height whoever is shown. */
@media (max-width: 356px) {
  .v13p-main { padding-bottom: 12px; }
  .v13p-cardh { row-gap: 8px; }
  .v13p-head { row-gap: 4px; }
  .v13p-gwrap > p { min-height: 44px; }
  .v13p-gstack { margin-top: 8px; }
  .v13p-acts { margin-top: 8px; }
  .v13p-cscroll { padding: 6px; gap: 6px; }
  .v13p-hero { width: min(100%, 200px); }
  .v13p-card { min-height: 460px; }
  .v13p-done { padding: 32px 24px; }
}

/* 348 and under: Analytics was 822. */
@media (max-width: 348px) {
  .v13p-kpis > div { padding: 12px !important; }
}

/* 335 and under: the longest bios wrap to more lines. */
@media (max-width: 335px) {
  .v13p-card { min-height: 482px; }
  .v13p-head { row-gap: 0; }
}

/* 324 and under: Home was 853. */
@media (max-width: 324px) {
  .v13p-cardh { padding-top: 12px; padding-bottom: 12px; }
  .v13p-act { gap: 6px; }
}
/* The 404 reference's inline style block (.k4-*), minus body{margin:0} (Base.astro carries it). Byte-copied by tools/extract/extract-404.mjs; loaded after all reference CSS, the order the reference uses. */
.k4-w1{transform:translate(4px,19px) rotate(-4deg)}.k4-w2{transform:translate(-188px,144px) rotate(10deg)}.k4-w3{transform:translate(130px,249px) rotate(-9deg)}.k4-w4{transform:translate(-130px,5px) rotate(-64deg)}.k4-w5{transform:translate(-130px,-95px) rotate(34deg)}.k4-w6{transform:translate(185px,-60px) rotate(152deg)}.k4-w7{transform:translate(172px,115px) rotate(27deg)}.k4-w8{transform:translate(-230px,-128px) rotate(-27deg)}.k4-w9{transform:translate(169px,-92px) rotate(19deg)}.k4-w10{transform:translate(-146px,85px) rotate(48deg)}.k4-w11{transform:translate(-161px,254px) rotate(-70deg)}.k4-w12{transform:translate(-111px,214px) rotate(-33deg)}.k4-w13{transform:translate(55px,0px) rotate(118deg)}.k4-w14{transform:translate(160px,-20px) rotate(-38deg)}.k4-w15{transform:translate(-80px,-155px) rotate(66deg)}.k4-w16{transform:translate(-70px,-50px) rotate(-112deg)}.k4-w17{transform:translate(297px,67px) rotate(82deg)}.k4-w18{transform:translate(-14px,149px) rotate(38deg)}.k4-w19{transform:translate(40px,155px) rotate(-12deg)}
.k4-eng{display:block;position:relative;width:min(100%,660px,calc(max(200px,100vh - 360px) * 1.0779));width:min(100%,660px,calc(max(200px,100svh - 360px) * 1.0779));aspect-ratio:830 / 770;margin:0 auto;padding:0;border:0;border-radius:16px;background:none;color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;appearance:none}
.k4-eng:focus-visible{outline:2px solid #A68BFB;outline-offset:4px}
.k4-stage{position:absolute;inset:0;pointer-events:none;transition:opacity 300ms ease-out}
.k4-stage > svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.k4-w{transform-box:fill-box;transform-origin:50% 50%}
.k4-svg .eg-part{opacity:.85}
.k4-svg .eg-recip .eg-h{opacity:1;stroke-dasharray:none}
.k4-eng .eg-ghosts{opacity:0;transition:opacity 500ms ease-out}
.k4-js:not(.k4-pop) .eg-ghosts{opacity:1}
.k4-eng:not(.k4-js) .eg-recip,.k4-eng:not(.k4-js) .eg-rot,.k4-eng:not(.k4-js) .eg-belt,.k4-eng:not(.k4-js) .eg-teeth,.k4-eng:not(.k4-js) .eg-spark,.k4-pop .eg-spark{animation:none}
.k4-pop .eg-recip,.k4-pop .eg-rot,.k4-pop .eg-belt,.k4-pop .eg-teeth{animation-play-state:paused}
.k4-eng:not(.k4-js) .eg-spark,.k4-pop .eg-spark{opacity:0}
.k4-asm .k4-w{transform:none !important}
.k4-asm .eg-ghosts{opacity:1}
.k4-fx{position:absolute;display:block;pointer-events:none;border-radius:50%;opacity:0;will-change:transform,opacity}
.k4-flash{left:50.0%;top:48.05%;width:70%;aspect-ratio:1;background:radial-gradient(circle,rgba(255,255,255,.9) 0,rgba(250,195,123,.75) 9%,rgba(138,100,249,.5) 26%,rgba(126,84,248,0) 56%)}
.k4-core{left:50.0%;top:48.05%;width:32%;aspect-ratio:1;background:radial-gradient(circle,#FFFFFF 0,rgba(255,255,255,.96) 16%,rgba(255,244,225,.5) 38%,rgba(255,255,255,0) 68%)}
.k4-sm{left:50.0%;top:48.05%;width:24%;aspect-ratio:1;background:radial-gradient(circle,rgba(170,170,178,.42) 0,rgba(130,130,140,.2) 46%,rgba(110,110,120,0) 70%)}
.k4-heat{left:50.0%;top:48.05%;width:62%;aspect-ratio:1.5;border-radius:50%;margin:-20% 0 0 -31%;background:radial-gradient(ellipse,rgba(255,150,70,.5) 0,rgba(250,195,123,.18) 45%,rgba(250,195,123,0) 70%)}
.k4-sp{width:4px;height:4px;margin:-2px 0 0 -2px;background:#FFE3B0;box-shadow:0 0 6px 1px rgba(250,195,123,.9)}
.k4-wisp{left:39.16%;top:38.96%;width:8%;aspect-ratio:1;margin:-4% 0 0 -4%;background:radial-gradient(circle,rgba(170,170,178,.3) 0,rgba(130,130,140,.12) 50%,rgba(110,110,120,0) 70%)}
.k4-wisp + .k4-wisp{left:59.88%}
@keyframes k4-wisp{0%{opacity:0;transform:translate(0,0) scale(.5)}14%{opacity:.9}34%{opacity:0;transform:translate(7px,-44px) scale(1.5)}100%{opacity:0;transform:translate(7px,-44px) scale(1.5)}}
.k4-settled .k4-wisp{animation:k4-wisp 8s ease-out 1.6s infinite}
.k4-settled .k4-wisp + .k4-wisp{animation-delay:5.2s}
.k4-hold,.k4-hold *{animation-play-state:paused !important}
.k4-hero{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 0 40px}
.k4-hero .ws-wrap{display:flex;flex-direction:column;align-items:center;text-align:center}
.k4-h1{font-size:56px;line-height:60px;color:#FFFFFF;margin:32px 0 0;text-wrap:balance}
.k4-sub{color:#E3DFDF;max-width:780px;margin:16px 0 0;text-wrap:balance}
.k4-act{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-top:32px}
@media (max-width:1023px){.k4-hero{padding:32px 0 56px}.k4-h1{font-size:48px;line-height:52px;max-width:640px}.k4-sub{max-width:520px}}
@media (max-width:639px){.k4-hero{padding:24px 0 48px}.k4-h1{font-size:clamp(30px,9vw,36px);line-height:1.1;letter-spacing:-0.025em;margin-top:20px}.k4-sub{max-width:300px;margin-top:14px}.k4-act{margin-top:28px}}
@media (max-width:639px){.k4-eng{width:min(100%,660px,calc(max(200px,100svh - 392px) * 1.0779))}}
/* Phones: Cal.com's close X lands on the header menu button; hide it (no layout change) while the modal is open. */
html.booking-open [data-menu-btn] { visibility: hidden; }
