/* Start page sections below the service cards. Calm frame, small stages to play with. Markup: src/home-sections.mjs, motion: home-page.mjs.
   Motion only runs with .home-motion (set when reduced motion is not requested) and while a stage is .is-playing. */
.hs { padding-block: clamp(4rem, 8vw, 7.5rem); }
.hs:nth-of-type(even) { background: var(--paper); }
.hs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hs-reverse .hs-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hs-reverse .hs-copy { order: 2; }
.hs-copy > p:not(.eyebrow) { max-width: 30rem; }
.hs-more { margin-top: 1.4rem; }
.hs-stage { position: relative; background: #fff; border: 1px solid var(--line); border-radius: .8rem; padding: clamp(1rem, 2.5vw, 1.75rem); box-shadow: 0 30px 60px -45px #25334366; }
.hs-stage button { font-size: .82rem; }

/* Websites: one shop on a computer and a phone. Each screen is its own container, so the layout reflows instead of scaling. */
.devices { --bg: #fdfbf8; --fg: #253343; --accent: #6f4c31; --soft: #efe4d5; --font: Georgia, serif; --radius: .35rem; --p1: #c79f74; --p2: #8a623f; position: relative; padding-bottom: 1.2rem; }
.devices[data-theme=studio] { --bg: #16191d; --fg: #f1efe9; --accent: #e9e3d6; --soft: #23282e; --font: Inter, Arial, sans-serif; --radius: 0; --p1: #6b6f75; --p2: #2c3036; }
.devices[data-theme=natur] { --bg: #f2f6ef; --fg: #1f3a2c; --accent: #2f7a56; --soft: #d9e8d6; --font: "Mona Sans", Inter, sans-serif; --radius: 1rem; --p1: #a9c79a; --p2: #4f7f58; }
.device-desktop { width: 82%; border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; background: #efeae2; box-shadow: 0 24px 50px -36px #25334388; }
.device-bar { display: flex; gap: .3rem; margin: 0; padding: .4rem .6rem; }
.device-bar i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--sand); }
.device-screen { container-type: inline-size; overflow: hidden; background: var(--bg); color: var(--fg); transition: background .6s, color .6s; }
.device-desktop .device-screen { aspect-ratio: 16 / 10.5; }
.device-phone { position: absolute; right: 0; bottom: 0; width: 27%; padding: .4rem .3rem; border-radius: 1.1rem; background: #1b232c; box-shadow: 0 24px 40px -22px #000a; }
.device-phone .device-screen { aspect-ratio: 9 / 17; border-radius: .8rem; }
.shop { padding: .9em; font-size: clamp(8.5px, 2.9cqi, 12.5px); line-height: 1.3; }
.shop-bar { display: flex; align-items: center; gap: .9em; margin: 0 0 .9em; color: inherit; }
.shop-bar b { flex: 1; font: 400 1.3em var(--font); }
.shop-nav { display: flex; gap: 1.1em; }
.shop-nav i { font-style: normal; font-size: .85em; opacity: .75; }
.shop-menu { display: none; width: 1.3em; height: .8em; border-block: 2px solid currentColor; }
.shop-cart { min-width: 1.9em; padding: .1em .5em; border-radius: 1em; background: var(--accent); color: var(--bg); font-size: .85em; font-weight: 700; text-align: center; transition: background .6s, color .6s; }
.shop-cart.is-bumped { animation: hs-pop .5s; }
.shop-hero { display: grid; gap: .35em; padding: 1.3em 1.2em; border-radius: var(--radius); background: var(--soft); transition: background .6s, border-radius .6s; }
.shop-hero b { font: 400 2em/1.05 var(--font); letter-spacing: -.02em; }
.shop-hero span { font-size: .85em; opacity: .75; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; margin-top: 1em; }
.shop-item { display: grid; gap: .2em; font-size: .9em; }
.shop-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); background: linear-gradient(150deg, var(--p1), var(--p2)); transition: border-radius .6s, filter .6s; }
.shop-item:nth-child(2) .shop-photo { filter: brightness(1.12); }
.shop-item:nth-child(3) .shop-photo { filter: brightness(.86); }
.hs-stage .shop-item button { margin-top: .3em; padding: .5em; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--bg); font-size: .85em; font-weight: 650; cursor: pointer; transition: background .6s, color .6s, border-radius .6s; }
@container (max-width: 15rem) {
  .shop-nav { display: none; }
  .shop-menu { display: block; }
  .shop-hero b { font-size: 1.6em; }
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
}
.web-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .8rem; }
.web-themes { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0; padding: 0; border: 0; }
.web-themes legend { float: left; margin-right: .3rem; font-size: .82rem; font-weight: 650; color: var(--copy); }
.web-themes input { position: absolute; opacity: 0; }
.web-themes span { display: block; padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 1rem; font-size: .8rem; color: var(--ink); cursor: pointer; }
.web-themes :checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.web-themes :focus-visible + span { outline: 3px solid #3477a8; outline-offset: 2px; }
.web-toast { margin: 0; font-size: .85rem; font-weight: 650; color: var(--blue); }

/* Software: a small app with a real dark mode switch; each test is written, runs and passes. */
.hs-stage[data-stage=software] { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; }
.app { border: 1px solid var(--line); border-radius: .6rem; padding: .9rem; background: #fdfbf8; color: var(--ink); transition: background .4s, color .4s, border-color .4s; }
.app.is-dark { background: #1d2733; color: #eef1f4; border-color: #1d2733; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .6rem; font-size: .9rem; }
.app-top button { display: inline-flex; align-items: center; gap: .4rem; padding: 0; border: 0; background: none; color: inherit; font-size: .72rem; }
.app-top button i { width: 2rem; height: 1.1rem; border-radius: 1rem; background: var(--line); position: relative; transition: background .3s; }
.app-top button i::after { content: ""; position: absolute; top: .15rem; left: .15rem; width: .8rem; height: .8rem; border-radius: 50%; background: #fff; transition: translate .3s; }
.app.is-dark .app-top button i { background: #7da3c4; }
.app.is-dark .app-top button i::after { translate: .9rem 0; }
.app-row { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 .6rem; padding: .55rem 0; border-top: 1px solid #25334318; font-size: .8rem; color: inherit; }
.app.is-dark .app-row { border-color: #ffffff1c; }
.app-row span { grid-row: span 2; font-weight: 700; color: #7c8a97; }
.app-row em { font-style: normal; font-size: .72rem; opacity: .7; }
.tests { font-size: .8rem; }
.tests-head { display: flex; justify-content: space-between; gap: .5rem; font-weight: 700; color: var(--ink); }
.tests-head .text-link { font-size: .75rem; }
.tests ol { list-style: none; margin: .7rem 0; padding: 0; display: grid; gap: .5rem; }
.tests li { display: flex; gap: .5rem; align-items: center; color: #8b96a1; transition: color .3s; }
.tests li::before { content: ""; display: grid; place-items: center; flex: none; box-sizing: border-box; width: 1.15rem; height: 1.15rem; border: 2px solid #d5dbe0; border-radius: 50%; color: #fff; font-size: .7rem; }
.tests li:is(.is-running, .is-passed) { color: var(--ink); }
.tests li.is-running::before { border-color: #cfdae4; border-top-color: var(--blue); }
.tests li.is-passed::before { content: "✓"; border: 0; background: #2f7a56; }
.tests-sum { min-height: 1.3rem; font-weight: 700; color: #2f7a56; }
.code { grid-column: 1 / -1; min-height: 8.6rem; margin: 0; padding: .7rem .9rem; border-radius: .5rem; background: #1f2a36; color: #d9e0e7; font: 500 .74rem/1.6 ui-monospace, Menlo, monospace; white-space: pre; overflow: hidden; }
.code::before { content: "tests/auftraege.test.js"; display: block; margin-bottom: .3rem; color: #7f93a6; font-size: .68rem; }

/* Design & Content: the illustration and a small editor with a scrubbable timeline. */
.hs-stage[data-stage=content] { padding: 0; overflow: hidden; }
.anim-photo { aspect-ratio: 3 / 1.55; object-fit: cover; object-position: center 35%; }
.anim-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; align-items: center; padding: 1.1rem 1.2rem; }
.anim-editor { padding: .7rem .8rem .75rem; border-radius: .5rem; background: #1f2a36; color: #d9e0e7; }
.anim-kicker { margin: 0 0 .4rem; font-size: .82rem; font-weight: 700; color: var(--ink); }
.anim-about p:not(.anim-kicker) { font-size: .85rem; }
.anim-view { width: 100%; height: auto; border-radius: .4rem; background: #f6f1e8; }
.anim-arc { fill: none; stroke: #e0794f; stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .55; }
.anim-target { fill: #e7dccb; stroke: #b9a88f; }
.anim-target.is-hit { fill: #cfe6d8; stroke: #2f7a56; }
.anim-body { fill: #3e56a8; }
.anim-head { fill: #f1c5a3; }
.anim-bun { fill: #4a2f25; }
.anim-eye { fill: #253343; }
.anim-arm path { stroke: #3e56a8; stroke-width: 12; stroke-linecap: round; }
.anim-box rect { fill: #e0794f; }
.anim-box path { stroke: #b85a36; stroke-width: 1.5; }
.anim-done { font: 700 12px Inter, Arial, sans-serif; fill: #2f7a56; text-anchor: middle; }
.anim-timeline { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .4rem; margin-top: .6rem; font-size: .62rem; }
.anim-labels { display: grid; gap: .35rem; margin: 0; color: #9fb0c0; }
.anim-labels span { line-height: 1rem; }
.anim-lanes { position: relative; display: grid; gap: .35rem; }
.anim-lanes p { position: relative; height: 1rem; margin: 0; border-radius: .2rem; background: #2c3946; }
.anim-lanes i { position: absolute; top: 50%; left: calc(var(--t) * 100%); width: .55rem; height: .55rem; translate: -50% -50%; rotate: 45deg; background: #f2b36b; }
.anim-playhead { position: absolute; top: -.3rem; bottom: -.3rem; left: calc(var(--p, 1) * 100%); width: 2px; translate: -1px 0; background: #ff6b57; pointer-events: none; }
.anim-playhead::before { content: ""; position: absolute; top: -.35rem; left: -.35rem; width: .8rem; height: .5rem; border-radius: .15rem; background: #ff6b57; }
.anim-lanes input { position: absolute; inset: -.4rem 0; width: 100%; height: calc(100% + .8rem); margin: 0; opacity: 0; cursor: ew-resize; }
.anim-lanes:has(input:focus-visible) { outline: 3px solid #f2b36b; outline-offset: 6px; border-radius: .2rem; }
.anim-time { margin-top: .4rem; color: #9fb0c0; font: 600 .72rem ui-monospace, Menlo, monospace; text-align: right; }
.anim-time span { color: #fff; }

/* Automation: requests travel through the AI and land in a box, unclear ones go to a person. */
.flow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: .9rem; align-items: start; }
.flow-title { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--copy); }
.flow-title b { min-width: 1.3rem; padding: 0 .35rem; border-radius: 1rem; background: var(--blue); color: #fff; font-size: .68rem; text-align: center; letter-spacing: 0; }
.flow-inbox { display: grid; gap: .35rem; min-height: 12.4rem; margin: 0; padding: .45rem; border: 1px dashed var(--sand); border-radius: .6rem; list-style: none; align-content: start; }
.flow-inbox li { position: relative; min-width: 0; padding: .4rem .5rem .4rem 1.1rem; border-radius: .4rem; background: #f6f3ee; font-size: .74rem; line-height: 1.35; }
.flow-inbox li::before { content: ""; position: absolute; left: .45rem; top: .75rem; width: .35rem; height: .35rem; border-radius: 50%; background: var(--blue); }
.flow-inbox li b, .flow-inbox li span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-inbox li b { font-size: .66rem; color: var(--copy); }
.flow-inbox li.is-mine { background: #fbeee2; }
.flow-card { min-height: 12.4rem; padding: .75rem; border: 1.5px solid var(--blue); border-radius: .6rem; background: #eef3f7; transition: border-color .3s, background .3s; }
.flow-card.is-human { border-color: #c26a3d; background: #fbf1e8; }
.flow-subject { display: block; min-height: 2.4em; font-size: .9rem; color: var(--ink); }
.flow-read { display: grid; gap: .25rem; margin: .45rem 0 0; font-size: .7rem; color: var(--copy); }
.flow-read > i, .flow-meter { display: block; height: .3rem; border-radius: 1rem; background: #d6e0e8; overflow: hidden; }
.flow-read i i, .flow-meter i { display: block; width: 100%; height: 100%; background: var(--blue); }
.flow-result { display: grid; gap: .4rem; margin: .7rem 0 0; }
.flow-result div { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); align-items: center; font-size: .74rem; }
.flow-result dt { color: var(--copy); }
.flow-result dd { display: grid; gap: .2rem; min-width: 0; overflow-wrap: anywhere; margin: 0; font-weight: 700; color: var(--ink); }
.flow-meter i { background: #2f7a56; }
.is-human .flow-meter i { background: #c26a3d; }
.flow-route { margin: .7rem 0 0; font-size: .78rem; font-weight: 700; color: var(--blue); }
.is-human .flow-route { color: #c26a3d; }
.flow-bins { display: grid; gap: .4rem; }
.flow-bins p { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 0; padding: .45rem .7rem; border-radius: .45rem; background: #f4f0e9; font-size: .78rem; color: var(--ink); }
.flow-bins p span { min-width: 0; }
.flow-bins small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .66rem; color: var(--copy); }
.flow-bins p:last-child { background: #fbeee2; }
.flow-bins p.is-bumped { animation: hs-glow 1.2s; }
.flow-bins p.is-bumped b { animation: hs-pop .5s; }
.flow-chip { position: absolute; top: 0; left: 0; z-index: 1; padding: .3rem .6rem; border-radius: 1rem; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 650; white-space: nowrap; pointer-events: none; }
.flow-chip.is-sorted { background: var(--blue); }
.flow-chip.is-human { background: #c26a3d; }
.flow-try { margin-top: 1rem; font-size: .8rem; font-weight: 700; color: var(--ink); }
.flow-buttons { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.flow-buttons button, .host-plug { padding: .4rem .75rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; color: var(--ink); }
.flow-buttons button:hover, .host-plug:hover { border-color: var(--ink); }

/* Marketing: contacts flow from three channels into the funnel, some drop out at every step. */
.funnel-view { width: 100%; height: auto; overflow: visible; }
.funnel-shape { fill: #eef3f7; }
.funnel-lane { fill: none; stroke-width: 2; stroke-linecap: round; transition: opacity .4s; }
.funnel-lane[data-lane=mail], .funnel [data-channel=mail] i { stroke: #3e6a8f; background: #3e6a8f; }
.funnel-lane[data-lane=social], .funnel [data-channel=social] i { stroke: #c26a3d; background: #c26a3d; }
.funnel-lane[data-lane=search], .funnel [data-channel=search] i { stroke: #2f7a56; background: #2f7a56; }
.funnel-lane.is-off { opacity: .15; }
.funnel-step { stroke: #9fb3c4; stroke-dasharray: 2 3; }
.funnel-view text { font: 700 8px Inter, Arial, sans-serif; fill: var(--copy); text-anchor: middle; }
.funnel-view circle { transition: opacity .5s; }
.funnel-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: .8rem 0 0; }
.funnel-stats div { padding: .55rem .7rem; border-radius: .45rem; background: #f4f0e9; }
.funnel-stats dt { font-size: .72rem; color: var(--copy); }
.funnel-stats dd { margin: 0; font: 700 1.15rem Inter, Arial, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.funnel-channels { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.funnel-channels button { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border: 1px solid var(--ink); border-radius: 1rem; background: #fff; color: var(--ink); }
.funnel-channels button[aria-pressed=false] { border-color: var(--line); color: #8b96a1; }
.funnel-channels i { width: .55rem; height: .55rem; border-radius: 50%; }
.funnel-channels button[aria-pressed=false] i { background: #c9cfd5; }
.funnel-note { min-height: 1.3rem; margin-top: .5rem; font-size: .8rem; }

/* Hosting: a server with a plug, the monitoring answers. */
.host { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .9rem; }
.host-room { display: grid; gap: .6rem; align-content: start; }
.host-rack { width: 100%; height: auto; overflow: visible; }
.rack-frame { fill: var(--night); }
.rack-unit rect { fill: #2c3a48; transition: fill .4s; }
.rack-unit text { fill: #cfd8e1; font: 600 9px ui-monospace, Menlo, monospace; }
.rack-unit circle { fill: #4cc38a; transition: fill .3s, opacity .3s; }
[data-unit=spare] circle { fill: #8a96a3; opacity: .5; }
.is-spare [data-unit=spare] circle { fill: #4cc38a; opacity: 1; }
.is-spare [data-unit=spare] rect { fill: #2f4a3e; }
.is-down [data-unit=main] circle { fill: #ff6b57; }
.is-unplugged [data-unit=main] circle { opacity: .15; }
:is(.is-down, .is-unplugged) [data-unit=main] rect { fill: #1b242d; }
.rack-socket { fill: #e4ded4; stroke: #c9c1b4; }
.rack-cable { fill: none; stroke: #36414c; stroke-width: 4; stroke-linecap: round; }
.rack-plug { cursor: pointer; }
.rack-plug rect { fill: #4a5663; }
.host-term { border-radius: .5rem; background: #12181e; padding: .5rem .65rem; min-height: 8.2rem; overflow: hidden; }
.host-term p { margin: 0 0 .3rem; font: 600 .62rem ui-monospace, Menlo, monospace; color: #7d8a97; }
.host-term ol { margin: 0; padding: 0; list-style: none; font: 500 .66rem/1.55 ui-monospace, Menlo, monospace; color: #9fe0bd; transform-origin: center; }
.host-term li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.host-term li.is-bad { color: #ff8a7a; }
.is-dark .host-term ol { opacity: 0; }
.host-dash { display: grid; gap: .55rem; align-content: start; padding: .75rem; border-radius: .6rem; background: #111217; color: #ccccdc; }
.dash-head { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: .74rem; color: #ccccdc; }
.dash-head b { flex: 1; color: #fff; }
.dash-head span { font: 500 .7rem ui-monospace, Menlo, monospace; color: #8e8ea0; }
.dash-head em { position: relative; padding: .1rem .5rem; border-radius: .25rem; background: #1a7f4b; color: #fff; font: 700 .66rem Inter, Arial, sans-serif; font-style: normal; letter-spacing: .05em; }
.is-alert .dash-head em { background: #d4283c; }
.dash-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.dash-tiles p { margin: 0; padding: .45rem .55rem; border: 1px solid #2c3235; border-radius: .3rem; background: #181b1f; color: #ccccdc; }
.dash-tiles small { display: block; font-size: .64rem; color: #8e8ea0; }
.dash-tiles b { font-size: 1.15rem; color: #73bf69; }
.is-down .dash-tiles b { color: #f2495c; }
.dash-label { margin: 0; font-size: .64rem; color: #8e8ea0; }
.dash-graph { width: 100%; height: 5.2rem; border: 1px solid #2c3235; border-radius: .3rem; background: #181b1f; }
.dash-limit { fill: none; stroke: #f2495c; stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; opacity: .6; }
.dash-line { fill: none; stroke: #73bf69; stroke-width: 2; vector-effect: non-scaling-stroke; }
.dash-area { fill: #73bf6922; }
.is-down .dash-line { stroke: #f2495c; }
.is-down .dash-area { fill: #f2495c22; }
.dash-notify { display: flex; gap: .55rem; align-items: center; margin: 0; padding: .5rem .6rem; border-radius: .4rem; background: #fff; color: var(--ink); font-size: .74rem; }
.dash-notify[hidden] { display: none; }
.dash-notify b, .dash-notify small { display: block; }
.dash-notify small { color: var(--copy); }
.dash-notify i { font-style: normal; font-size: 1.1rem; }
.host-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; margin: .2rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.host-steps li { position: relative; padding: .45rem .4rem 0; border-top: 3px solid #e4ded4; font-size: .68rem; line-height: 1.3; color: var(--copy); counter-increment: step; transition: border-color .3s, color .3s; }
.host-steps li::before { content: counter(step)". "; font-weight: 700; }
.host-steps li.is-current { border-color: #c26a3d; color: var(--ink); font-weight: 650; }
.host-steps li.is-done { border-color: #4cc38a; color: var(--ink); }
.host-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: .9rem; }
.host-plug { flex: none; }
.host-plug:disabled { opacity: .6; cursor: default; }
.host-log { margin: 0; font-size: .8rem; font-weight: 600; color: var(--ink); }
.host-uptime { grid-column: 1 / -1; margin: 0; font-size: .8rem; }
.host-uptime b { color: var(--ink); font-size: 1.1rem; }

/* Data services: answers in many languages, each checked by two people. */
.review-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; font-weight: 700; color: var(--ink); }
.review ul { list-style: none; margin: .7rem 0; padding: 0; display: grid; gap: .4rem; }
.review button { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .6rem; align-items: center; width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: .5rem; background: #fdfbf8; color: var(--ink); text-align: left; }
.review button:hover { border-color: var(--ink); }
.review-lang { font-size: .68rem; font-weight: 800; color: var(--blue); }
.review-text { font-size: .82rem; }
.review-verdict { padding: .15rem .5rem; border-radius: 1rem; font-size: .68rem; font-weight: 700; background: #e3f1e9; color: #2f7a56; white-space: nowrap; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; }
.is-flag .review-verdict { background: #fbe9df; color: #a3502a; }
.review-de { margin: .3rem .7rem 0 3.3rem; font-size: .78rem; }
.review-team { display: grid; grid-template-columns: repeat(24, .65rem); justify-content: space-between; gap: .35rem; margin: 1rem 0 .5rem; }
.review-team i { aspect-ratio: 1; border-radius: 50%; background: #c7d3de; }
.review-team i:nth-child(3n) { background: #8ea8bf; }
.review-team i:nth-child(7n) { background: var(--blue); }
.review-note { font-size: .75rem; }

/* Stattner: the phone film fills the full width like a hero (embed `wide`); the text lies on the white studio wall on the left.
   On narrow screens the text moves below the film so it never covers the phone. */
.hs-phone { position: relative; background: #fcfcfd; }
.hs-phone etz-stattner-phone { height: min(88svh, 860px); --phone-x: 64%; }
.phone-overlay { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.phone-overlay .hs-copy { max-width: min(30rem, 34vw); pointer-events: auto; }
.phone-overlay h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1.04; }
.phone-brand { width: 4.5rem; margin-bottom: .8rem; }
@media (max-width: 56rem) {
  .hs-phone etz-stattner-phone { height: 72svh; --phone-x: 50%; }
  .phone-overlay { position: static; display: block; padding-block: 2rem 3.5rem; background: var(--paper); }
  .phone-overlay .hs-copy { max-width: none; }
}

/* Call: Andreas and a dial that fills up to 20 minutes, as on the service pages. */
.home-call .hs-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.call-portrait { margin: 0; }
.call-portrait img { aspect-ratio: 4 / 4.6; max-height: 38rem; object-fit: cover; object-position: center 15%; border-radius: .8rem; }
.call-portrait figcaption { margin-top: .6rem; font-size: .82rem; color: var(--copy); }
.call-dial { position: relative; display: grid; place-items: center; width: 6rem; aspect-ratio: 1; margin: 0 0 1.6rem; border: 2px solid var(--blue); border-radius: 50%; background: conic-gradient(#42648230 var(--minutes), transparent 0); }
.call-dial span { font: 1.9rem/1 Georgia, serif; color: var(--ink); text-align: center; }
.call-dial small { display: block; font: 700 .62rem Inter, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.home-call .button { margin-top: 1.6rem; }
.call-note { margin-top: .7rem; font-size: .82rem; }

@media (max-width: 47rem) {
  .hs-grid, .hs-reverse .hs-grid, .home-call .hs-grid { grid-template-columns: minmax(0, 1fr); }
  .hs-reverse .hs-copy { order: 0; }
  .hs-stage[data-stage=software] { grid-template-columns: minmax(0, 1fr); }
  .anim-row { grid-template-columns: minmax(0, 1fr); }
  .device-desktop { width: 86%; }
  .device-phone { width: 34%; }
  .flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .flow-col:nth-child(3) { grid-column: 1 / -1; }
  .flow-result div { grid-template-columns: minmax(0, 1fr); }
  .host { grid-template-columns: minmax(0, 1fr); }
  .host-rack { max-width: 14rem; margin-inline: auto; }
  .host-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: .6rem; }
  .host-actions { flex-wrap: wrap; }
  .flow-bins { grid-template-columns: 1fr 1fr; }
  .review-verdict { grid-column: 2; justify-self: start; white-space: normal; max-width: none; }
  .review-team { grid-template-columns: repeat(16, .65rem); }
  .review-team i:nth-child(n+33) { display: none; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .home-motion .tests li.is-running::before { animation: hs-spin .7s linear infinite; }
  .home-motion .tests li.is-passed::before { animation: hs-pop .35s; }
  .home-motion .code code:not(:empty)::after { content: ""; display: inline-block; width: .45em; height: 1.05em; margin-left: 1px; vertical-align: text-bottom; background: #f2b36b; animation: hs-caret 1s steps(1) infinite; }
  .home-motion .is-playing .review li { animation: hs-in .45s calc(var(--i) * .35s + .2s) both; }
  .home-motion .is-playing .review-verdict { animation: hs-pop .5s calc(var(--i) * .35s + 1.4s) both; }
  .home-motion .is-playing .review-team i { animation: hs-work 2.4s calc(var(--d, 0) * 1s) infinite; }
  .home-motion .is-playing .host:not(.is-down, .is-unplugged) [data-unit=main] circle:last-of-type, .home-motion .is-playing .is-spare [data-unit=spare] circle:last-of-type { animation: hs-work 1.2s infinite; }
  .home-motion .is-down:not(.is-dark) .host-rack [data-unit=main] { animation: host-shake .5s; }
  .home-motion .is-dark .host-term ol { animation: host-off .6s both; }
  .home-motion .is-alert .dash-head em::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: host-ring 1.2s infinite; }
  .home-motion .dash-notify:not([hidden]) { animation: hs-in .5s both; }
  .home-motion .dash-notify:not([hidden]) i { animation: host-bell 1s 2; transform-origin: 50% 10%; }
  .home-motion .is-playing:not(:has(.is-down, .is-recovered)) .host-plug { animation: host-hint 2.4s 1s infinite; }
  .home-motion .is-playing .call-dial { animation: hs-minutes 1.8s .3s cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes hs-in { from { opacity: 0; translate: 0 .6rem; } }
@keyframes hs-pop { 0% { scale: .6; opacity: 0; } 60% { scale: 1.12; opacity: 1; } }
@keyframes hs-glow { 40% { background: #d6e4ee; } }
@keyframes hs-spin { to { rotate: 1turn; } }
@keyframes hs-caret { 50% { opacity: 0; } }
@keyframes host-shake { 20% { translate: -3px 0; } 40% { translate: 3px 1px; } 60% { translate: -2px 2px; } 80% { translate: 1px 2px; } 100% { translate: 0 2px; } }
@keyframes host-off { 0% { transform: none; filter: none; } 55% { transform: scaleY(.03); filter: brightness(3); opacity: 1; } 100% { transform: scale(0, .03); opacity: 0; } }
@keyframes host-ring { from { box-shadow: 0 0 0 0 #f2495c99; } to { box-shadow: 0 0 0 10px #f2495c00; } }
@keyframes host-bell { 20% { rotate: 14deg; } 40% { rotate: -12deg; } 60% { rotate: 8deg; } 80% { rotate: -4deg; } }
@keyframes host-hint { 0%, 70%, 100% { box-shadow: 0 0 0 0 #c26a3d55; } 85% { box-shadow: 0 0 0 6px #c26a3d00; } }
@keyframes hs-work { 0%, 70%, 100% { opacity: 1; } 85% { opacity: .35; } }
@property --minutes { syntax: "<angle>"; inherits: false; initial-value: 120deg; }
@keyframes hs-minutes { from { --minutes: 0deg; } }

/* Service cards: the two open pages preview their hero, the others wait greyed out. */
.service-grid .service-card{display:block;min-height:0;padding:7.4rem 1.2rem 1.15rem;border:0;border-radius:.7rem;background:#111a24;color:#fff}
.service-grid .service-card::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#111a2400 0,#111a2400 4.4rem,#111a24 8.6rem);pointer-events:none}
.service-grid .service-card-art{inset:0 0 auto;z-index:-2;width:100%;height:8.6rem;object-position:60% 20%;opacity:1;filter:none;mask-image:none}
.service-grid .service-data .service-card-art{width:100%;object-position:60% 35%}
.service-grid .service-icon{position:absolute;top:.9rem;left:.9rem;background:#ffffffd9;backdrop-filter:blur(6px)}
.service-grid .service-card-copy{text-shadow:none}
.service-grid .service-card h3{display:flex;align-items:center;gap:.45rem;margin:0;color:#fff}
.service-grid .service-card p{margin-top:.4rem;color:#dbe3ea}
.service-arrow{color:#f2c79b;transition:transform .2s}
.service-card-live:is(:hover,:focus-visible) .service-arrow{transform:translateX(.25rem)}
.service-card-live[data-bit=spotlight]::after{background:radial-gradient(12rem circle at var(--bit-x,50%) var(--bit-y,50%),#ffffff26,transparent)}
.service-card-soon{cursor:default}
.service-card-soon:hover{transform:none}
.service-grid .service-card-soon .service-card-art{filter:grayscale(1) blur(1px);opacity:.5;transform:none}
.service-card-soon .service-card-copy{opacity:.75}
.service-soon{position:absolute;top:.8rem;right:.8rem;padding:.18rem .55rem;border:1px solid #cfcac1;border-radius:99px;background:#fff;color:#5d6670;font-size:.75rem;font-weight:600}
