/* Robottino — public site. Deep harbour blues; one signal blue for actions; green only for "live" states. */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/space-grotesk-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --abyss: #071630;      /* page */
  --deep: #061122;       /* alternate band */
  --harbor: #0c2347;     /* surfaces */
  --harbor-2: #11305d;   /* raised surfaces, inputs */
  --line: rgba(142, 163, 199, 0.18);
  --line-strong: rgba(142, 163, 199, 0.32);
  --signal: #3d8bff;     /* actions */
  --signal-soft: rgba(61, 139, 255, 0.16);
  --ice: #b3c1da;        /* text */
  --white: #f5f8ff;      /* headings */
  --mist: #8ea3c7;       /* secondary text */
  --live: #34d399;       /* online / done */
  --ring: #f0b44c;       /* ringing */
  --stop: #f2677a;       /* hang up */
  --radius-l: 22px;
  --radius-m: 14px;
  --radius-s: 9px;
  --display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --text: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--abyss); color: var(--ice); font: 400 1rem/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--white); margin: 0; font-weight: 600; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - 2rem); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 2.75rem); } }
.muted { color: var(--mist); }
.small { font-size: 0.875rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--signal); color: #fff; padding: 0.5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0 1.35rem; border-radius: 999px; background: var(--signal); color: #fff; font: 600 0.95rem/1 var(--text); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.btn:hover { background: #5a9dff; }
.btn.ghost { background: transparent; border-color: var(--line-strong); color: var(--ice); }
.btn.ghost:hover { border-color: var(--mist); background: rgba(142, 163, 199, 0.08); }
.btn.small { min-height: 38px; padding: 0 1rem; font-size: 0.875rem; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(7, 22, 48, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 0.25rem; margin-left: 0.5rem; }
.nav a { padding: 0.45rem 0.8rem; border-radius: 999px; text-decoration: none; color: var(--mist); font-size: 0.925rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--white); background: rgba(142, 163, 199, 0.1); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.lang { font-size: 0.8rem; font-weight: 600; color: var(--mist); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.6rem; }
.lang:hover { color: var(--white); border-color: var(--line-strong); }
.burger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 16px; height: 2px; background: var(--ice); border-radius: 2px; transition: transform 0.2s; }
.burger[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; padding: 0.5rem 1rem 1rem; border-top: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 0.85rem 0.25rem; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }

/* Sections */
.band { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.band.alt { background: var(--deep); }
.head { max-width: 46rem; margin-bottom: 2.75rem; }
.head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.06; }
.head p { margin-top: 1rem; font-size: 1.125rem; color: var(--mist); }
.lede { font-size: 1.15rem; color: var(--mist); max-width: 40rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); opacity: 0.55; pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 720px; height: 720px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(61, 139, 255, 0.28), transparent 62%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; }
.hero .lede { margin-top: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.6rem; color: var(--mist); font-size: 0.95rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks svg { flex: none; width: 18px; height: 18px; margin-top: 0.2rem; color: var(--live); }

/* The live call: the hero's one moving moment */
.call { position: relative; border-radius: var(--radius-l); background: linear-gradient(180deg, #102b55, #0b2147); border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06); overflow: hidden; }
.call-bar { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.call-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--signal-soft); color: var(--signal); display: grid; place-items: center; flex: none; }
.call-avatar svg { width: 20px; height: 20px; }
.call-who { flex: 1; min-width: 0; }
.call-who b { display: block; color: var(--white); font: 600 1rem/1.2 var(--display); letter-spacing: -0.01em; }
.call-who span { font-size: 0.8rem; color: var(--mist); }
.state { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: 999px; background: rgba(52, 211, 153, 0.12); color: var(--live); white-space: nowrap; }
.state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state.ring { background: rgba(240, 180, 76, 0.14); color: var(--ring); }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; padding: 0 1.15rem; margin-top: 0.85rem; }
.wave i { flex: 1; max-width: 4px; border-radius: 2px; background: var(--signal); opacity: 0.75; height: var(--h, 30%); }
.transcript { padding: 1rem 1.15rem 0.5rem; display: grid; gap: 0.7rem; min-height: 248px; }
.msg { max-width: 86%; padding: 0.65rem 0.85rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.45; }
.msg small { display: block; font-size: 0.7rem; color: var(--mist); margin-bottom: 0.15rem; font-weight: 600; }
.msg.caller { background: rgba(142, 163, 199, 0.1); border-top-left-radius: 4px; }
.msg.ai { justify-self: end; background: var(--signal-soft); border: 1px solid rgba(61, 139, 255, 0.28); border-top-right-radius: 4px; }
.task { margin: 0.5rem 1.15rem 1.15rem; display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 0.95rem; border-radius: var(--radius-m); background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.28); font-size: 0.875rem; }
.task svg { width: 22px; height: 22px; color: var(--live); flex: none; }
.task b { color: var(--white); display: block; font-weight: 600; }
.task span { color: var(--mist); font-size: 0.8rem; }
/* The sequence: each step appears in turn once, on load. Without motion, all is there at once. */
.js .call [data-step] { opacity: 0; transform: translateY(6px); transition: opacity 0.45s ease, transform 0.45s ease; }
.js .call [data-step].on { opacity: 1; transform: none; }
@keyframes talk { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.call.talking .wave i { animation: talk 0.9s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .call [data-step] { opacity: 1; transform: none; transition: none; }
  .call.talking .wave i { animation: none; }
}

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--harbor); margin-top: clamp(3rem, 6vw, 4.5rem); position: relative; z-index: 1; }
.facts div { padding: 1.4rem 1.5rem; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { display: block; font: 600 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); color: var(--white); letter-spacing: -0.02em; }
.facts span { display: block; margin-top: 0.5rem; color: var(--mist); font-size: 0.875rem; }

/* Compatibility row */
.works { padding: 2.5rem 0 0; }
.works p { color: var(--mist); font-size: 0.875rem; margin-bottom: 1rem; }
/* One row that slides left forever: the list twice, moved by its own width; the edges fade out. */
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { list-style: none; margin: 0; padding: 0 2.75rem 0 0; display: flex; flex: none; gap: 2.75rem; animation: marquee 32s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; font: 500 1.05rem/1 var(--display); color: rgba(220, 232, 255, 0.55); }
.marquee li svg { flex: none; width: 20px; height: 20px; color: var(--signal); opacity: 0.85; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee ul { animation: none; flex-wrap: wrap; flex: 1; gap: 0.9rem 1.75rem; }
  .marquee ul[aria-hidden] { display: none; }
}

/* Live demo: a real browser call to the demo AI voice agent */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.demo h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.demo .lede { margin-top: 1.1rem; }
.demo-box { position: relative; border-radius: var(--radius-l); padding: 1.4rem; background: radial-gradient(ellipse 90% 80% at 50% 120%, rgba(61, 139, 255, 0.28), transparent 70%), var(--harbor); border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8); }
.demo-top, .demo-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(7, 22, 48, 0.6); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--mist); font: 600 0.875rem/1 var(--text); padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer; }
.seg button[aria-checked='true'] { background: var(--signal); color: #fff; }
.seg button:disabled { cursor: default; opacity: 0.6; }
.demo-state { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 600; color: var(--mist); }
.demo-state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mist); }
.demo-box[data-state='connecting'] .demo-state { color: var(--ring); }
.demo-box[data-state='connecting'] .demo-state::before { background: var(--ring); animation: blink 1s infinite; }
.demo-box[data-state='live'] .demo-state { color: var(--live); }
.demo-box[data-state='live'] .demo-state::before { background: var(--live); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
@keyframes blink { 50% { opacity: 0.3; } }
.demo-voice { display: flex; align-items: center; justify-content: center; gap: 4px; height: 140px; margin: 1.5rem 0; }
.demo-voice i { width: 5px; height: 6px; border-radius: 3px; background: linear-gradient(180deg, #7fb2ff, var(--signal)); opacity: 0.45; transition: height 0.08s linear, opacity 0.2s; }
.demo-box[data-state='live'] .demo-voice i { opacity: 0.95; }
.demo-time { font: 600 1.6rem/1 var(--display); color: var(--white); letter-spacing: -0.01em; }
.demo-box[data-state='live'] .demo-go { background: var(--stop); }
.demo-error { margin: 1rem 0 0; padding: 0.75rem 0.9rem; border-radius: var(--radius-m); background: rgba(242, 103, 122, 0.12); border: 1px solid rgba(242, 103, 122, 0.35); color: #ffc7cf; font-size: 0.9rem; }
.demo-error[hidden] { display: none; }
.demo-audio { display: none; }

/* Clients: who uses it, by sector (the list is the information: no cards) */
.clients { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.clients h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.clients .lede { margin-top: 1.1rem; }
.sectors { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sectors li { display: flex; gap: 1.1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.sector-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--signal-soft); color: var(--signal); }
.sector-ico svg { width: 22px; height: 22px; }
.sectors h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.sectors p { margin: 0; color: var(--mist); font-size: 0.95rem; }
.js .sectors li { opacity: 0; transform: translateX(12px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--i) * 0.12s); }
.js .sectors.in li { opacity: 1; transform: none; }

/* Route diagram (centralino) */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.node { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.3rem 1.5rem; border: 1px solid var(--line); background: var(--harbor); }
.node:first-child { border-radius: var(--radius-l) 0 0 var(--radius-l); }
.node:last-child { border-radius: 0 var(--radius-l) var(--radius-l) 0; }
.node + .node { border-left: none; }
.node + .node::before { content: ''; position: absolute; left: -9px; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--abyss); border: 1px solid var(--line-strong); transform: translateY(-50%); }
.node + .node::after { content: ''; position: absolute; left: -5px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); transform: translateY(-50%); }
.node .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal); margin-bottom: 1rem; }
.node .ico svg { width: 22px; height: 22px; }
.node h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.node p { color: var(--mist); font-size: 0.925rem; margin: 0 0 1rem; }
/* At the bottom of every step, whatever the length of the text above: the four line up. */
.node .sample { margin-top: auto; font-size: 0.8rem; padding: 0.55rem 0.7rem; border-radius: var(--radius-s); background: rgba(7, 22, 48, 0.55); border: 1px solid var(--line); color: var(--ice); }

/* Split blocks: words on one side, a slice of the product on the other */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.08; }
.split .lede { margin-top: 1rem; }
.split .ticks { margin-top: 1.5rem; }
.split .btn { margin-top: 1.75rem; }

/* Product slices */
.panel { border-radius: var(--radius-l); background: var(--harbor); border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.75); overflow: hidden; }
.panel-top { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--mist); }
.panel-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
/* The window's three lights, as on a Mac: close, minimise, zoom. */
.panel-top i:nth-of-type(1) { background: #ff5f57; }
.panel-top i:nth-of-type(2) { background: #febc2e; }
.panel-top i:nth-of-type(3) { background: #28c840; }
.panel-top span { margin-left: 0.5rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(7, 22, 48, 0.6); }
.panel-body { padding: 1.1rem; display: grid; gap: 0.75rem; }
.row { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.85rem; border-radius: var(--radius-m); background: rgba(7, 22, 48, 0.45); border: 1px solid var(--line); font-size: 0.875rem; }
.row b { color: var(--white); font-weight: 600; }
.row .grow { flex: 1; min-width: 0; }
.row .grow span { display: block; color: var(--mist); font-size: 0.78rem; }
.row svg { width: 18px; height: 18px; color: var(--mist); flex: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); flex: none; }
.dot.ring { background: var(--ring); }
.dot.off { background: var(--mist); opacity: 0.5; }
.dot.pause { background: #a78bfa; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.tile { padding: 0.85rem; border-radius: var(--radius-m); background: rgba(7, 22, 48, 0.45); border: 1px solid var(--line); }
.tile span { display: block; font-size: 0.75rem; color: var(--mist); }
.tile b { display: block; margin-top: 0.3rem; font: 600 1.45rem/1 var(--display); color: var(--white); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; padding: 0.5rem 0.25rem 0; }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--signal), rgba(61, 139, 255, 0.35)); height: var(--h); }
.bars i.hi { background: linear-gradient(180deg, var(--live), rgba(52, 211, 153, 0.3)); }

/* Feature cards: a faint grid, two small comets running along its lines, a slice of the product at the bottom */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 1.6rem 1.5rem 0; border-radius: var(--radius-l); background: linear-gradient(180deg, rgba(17, 48, 93, 0.55), rgba(12, 35, 71, 0.9)); border: 1px solid var(--line); }

.feature-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--signal); color: #fff; margin-bottom: 1.1rem; box-shadow: 0 10px 24px -10px rgba(61, 139, 255, 0.8); }
.feature-ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.feature p { color: var(--mist); font-size: 0.95rem; margin: 0 0 1.5rem; }
/* A comet: a 3px light with a tail, crossing the card along a grid line (24px rows), then waiting its turn. */
.led { position: absolute; z-index: -1; left: 0; top: calc(24px * 2 - 1px); width: 70px; height: 1px; background: linear-gradient(90deg, transparent, rgba(61, 139, 255, 0.85)); border-radius: 1px; opacity: 0; pointer-events: none; }
.led::after { content: ''; position: absolute; right: -1.5px; top: -1px; width: 3px; height: 3px; border-radius: 50%; background: #bcd6ff; box-shadow: 0 0 6px 1px rgba(110, 168, 255, 0.9); }
.led.low { top: calc(24px * 7 - 1px); }
@keyframes comet { 0% { transform: translateX(-80px); opacity: 0; } 6% { opacity: 1; } 34% { opacity: 1; } 40%, 100% { transform: translateX(calc(var(--card-w, 380px) + 20px)); opacity: 0; } }
.feature .led { animation: comet 9s linear infinite; animation-delay: calc(var(--k) * -1.7s); }
.feature .led.low { animation-duration: 11s; animation-delay: calc(var(--k) * -2.3s - 4s); }

/* The product slices inside the cards */
/* It comes up out of the card's bottom edge: about a third of it stays below, out of sight, as if it were rising. */
.mini { margin-top: auto; min-height: 168px; align-content: start; transform: translateY(44px); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--k, 0) * 0.08s + 0.2s); box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, 0.7); display: grid; gap: 0.5rem; padding: 0.8rem; border-radius: var(--radius-m); background: rgba(7, 22, 48, 0.72); border: 1px solid var(--line); font-size: 0.8rem; }
.mini-row { display: flex; align-items: center; gap: 0.6rem; }
.mini-row b { color: var(--white); font-weight: 600; }
.play { width: 28px; height: 28px; border-radius: 50%; background: var(--signal-soft); color: var(--signal); display: grid; place-items: center; flex: none; }
.play svg { width: 14px; height: 14px; }
.mini-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; }
.mini-wave i { flex: 1; height: var(--h); border-radius: 1px; background: rgba(61, 139, 255, 0.7); }
.mini-foot, .mini-line { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; color: var(--mist); }
.mini-line { padding: 0.45rem 0.55rem; border-radius: var(--radius-s); background: rgba(17, 48, 93, 0.45); }
.mini-line span { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.mini-line svg { width: 15px; height: 15px; flex: none; }
.mini-line .dot { width: 7px; height: 7px; }
.mini-line small { display: block; color: var(--mist); font-size: 0.72rem; }
.mini-line span:has(small) { flex-direction: column; align-items: flex-start; gap: 0; }
.mini b.ok { color: var(--live); font-weight: 600; }
.mini b.off { color: var(--mist); font-weight: 500; }
.mini b.big { color: var(--white); font: 600 1.25rem/1 var(--display); }
.mini .name { color: var(--white); font-weight: 600; }
.pill { padding: 0.18rem 0.55rem; border-radius: 999px; background: var(--signal-soft); color: #9cc3ff; font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.pill.soft { background: rgba(142, 163, 199, 0.12); color: var(--mist); }
.mini .up { color: var(--live); font-weight: 600; }
.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 52px; }
.mini-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--signal), rgba(61, 139, 255, 0.3)); }
.mini-bars i:last-child { background: linear-gradient(180deg, var(--live), rgba(52, 211, 153, 0.3)); }
.topic { display: grid; gap: 0.3rem; }
.topic b { color: var(--white); }
.meter { height: 6px; border-radius: 3px; background: rgba(142, 163, 199, 0.15); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--signal), #7fb2ff); }
.chat p { margin: 0; padding: 0.45rem 0.65rem; border-radius: 10px; max-width: 88%; line-height: 1.4; }
.chat .b-in { background: rgba(142, 163, 199, 0.13); border-top-left-radius: 3px; }
.chat .b-out { justify-self: end; background: rgba(52, 211, 153, 0.14); color: #c9f3e2; border-top-right-radius: 3px; }
.toast { grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 0.65rem; }
.toast svg { width: 18px; height: 18px; color: var(--ring); margin-top: 0.1rem; }
.toast b { display: block; color: var(--white); }
.toast span { color: var(--mist); }
.toast em { font-style: normal; color: var(--mist); font-size: 0.72rem; }

/* Motion on arrival: each block moves once when it comes into view ([data-anim] gets .in). */
.js [data-anim] .stagger > * { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--i, 0) * 0.18s + 0.15s); }
.js [data-anim].in .stagger > * { opacity: 1; transform: none; }
.js [data-anim] .stagger > .tiles { --i: -1; }
.js .bars i, .js .mini-bars i { transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i, 0) * 0.06s); }
.js [data-anim].in .bars i, .js [data-anim].in .mini-bars i { transform: none; }
.js .meter i { width: 0; transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s; }
.js [data-anim].in .meter i { width: var(--w); }
.js .features .mini { transform: translateY(150px); }
.js .features.in .mini { transform: translateY(44px); }
.js .code .ln { opacity: 0; transition: opacity 0.25s ease; transition-delay: calc(var(--i) * 0.11s); }
.js .code.in .ln { opacity: 1; }
.code .ln { display: block; }
/* The route: a light runs through the four steps, in a loop, like a call on its way. */
@keyframes step-glow { 0%, 100% { box-shadow: inset 0 0 0 1px transparent; } 8%, 20% { box-shadow: inset 0 0 0 1px rgba(61, 139, 255, 0.65), 0 0 40px -12px rgba(61, 139, 255, 0.7); } 30% { box-shadow: inset 0 0 0 1px transparent; } }
@keyframes step-dot { 0%, 100% { transform: translateY(-50%) scale(1); } 8%, 18% { transform: translateY(-50%) scale(1.9); box-shadow: 0 0 12px 3px rgba(61, 139, 255, 0.8); } 28% { transform: translateY(-50%) scale(1); } }
.route.in .node { animation: step-glow 6s ease-in-out infinite; animation-delay: calc(var(--n) * 1.2s); }
.route.in .node + .node::after { animation: step-dot 6s ease-in-out infinite; animation-delay: calc(var(--n) * 1.2s - 0.25s); }
/* The hero's glow drifts slowly. */
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-90px, 70px); } }
.hero::after { animation: drift 16s ease-in-out infinite alternate; }
/* A colleague's status changing live in the agent panel. */
.row .dot { transition: background 0.3s; }
.row.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { border-color: rgba(240, 180, 76, 0.7); } 100% { border-color: var(--line); } }
@media (prefers-reduced-motion: reduce) {
  .feature .led { display: none; }
  .hero::after, .route.in .node, .route.in .node + .node::after { animation: none; }
  .js .features .mini { transform: translateY(44px); transition: none; }
  .js .sectors li, .js [data-anim] .stagger > *, .js .bars i, .js .mini-bars i, .js .code .ln { opacity: 1; transform: none; transition: none; }
  .js .meter i { width: var(--w); transition: none; }
}

/* Code */
.code { border-radius: var(--radius-l); background: #050f22; border: 1px solid var(--line-strong); overflow: hidden; }
.code pre { margin: 0; padding: 1.25rem 1.4rem; overflow-x: auto; font: 400 0.85rem/1.7 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; color: #c9d7f2; }
.code .k { color: #7fb2ff; } .code .s { color: #8be3c1; } .code .n { color: #f0b44c; } .code .c { color: var(--mist); }

/* Guides list */
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--line); }
.guides a { display: flex; gap: 1rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guides a:hover h3 { color: var(--signal); }
.guides h3 { font-size: 1.05rem; transition: color 0.15s; }
.guides p { margin: 0.3rem 0 0; color: var(--mist); font-size: 0.9rem; }

/* Closing call to action */
.closing { border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem); background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(61, 139, 255, 0.35), transparent 60%), var(--harbor); border: 1px solid var(--line-strong); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; }
.closing h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.05; }
.closing p { color: var(--mist); margin: 1rem 0 0; font-size: 1.1rem; max-width: 36rem; }
.closing .hero-cta { margin: 0; flex-direction: column; align-items: stretch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: #061229; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.foot-brand img { width: 136px; margin-bottom: 1rem; }
.foot-brand p { color: var(--mist); max-width: 22rem; }
.foot-title { font-size: 0.95rem; margin-bottom: 0.9rem; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot a { color: var(--mist); text-decoration: none; font-size: 0.925rem; }
.foot a:hover { color: var(--white); }
.foot-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* WhatsApp, always at hand */
.wa-float { position: fixed; z-index: 40; right: 1.25rem; bottom: 1.25rem; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6); transition: transform 0.15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* Consent */
.consent { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 440px; padding: 1.25rem; border-radius: var(--radius-l); background: var(--harbor); border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8); font-size: 0.875rem; }
.consent[hidden] { display: none; }
.consent-title { font: 600 1rem/1.2 var(--display); color: var(--white); margin-bottom: 0.5rem; }
.consent p { color: var(--mist); }
.consent a { color: var(--ice); }
.consent-actions { display: flex; gap: 0.5rem; justify-content: flex-end; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1020px) {
  .nav, .top-actions .ghost { display: none; }
  .burger { display: inline-flex; }
  .hero-grid, .split, .clients, .demo { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .node, .node:first-child, .node:last-child { border-radius: var(--radius-l); border-left: 1px solid var(--line); }
  .node + .node::before, .node + .node::after { display: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .closing { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .top-actions .btn:not(.ghost) { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: none; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .route, .features, .guides { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles .tile:last-child { grid-column: span 2; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .msg { max-width: 94%; }
}

/* ---------- Feature pages ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; color: var(--mist); margin-bottom: 1.5rem; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.f-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.f-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 15%, transparent 72%); opacity: 0.5; pointer-events: none; }
.f-hero .hero-grid { align-items: center; }
.f-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.02; letter-spacing: -0.03em; }
.f-tag { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--mist); font-size: 0.9rem; margin-bottom: 1rem; }
.f-tag svg { width: 18px; height: 18px; color: var(--signal); }
.prose { max-width: 44rem; }
.prose p { font-size: 1.08rem; color: var(--ice); }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.use { padding: 1.4rem; border-radius: var(--radius-l); background: var(--harbor); border: 1px solid var(--line); }
.use h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.use p { margin: 0; color: var(--mist); font-size: 0.95rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; max-width: 52rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 2rem 3.5rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -0.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal); font: 600 1rem/1 var(--display); border: 1px solid rgba(61, 139, 255, 0.4); }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 1.1rem; top: 2.3rem; bottom: 0.2rem; width: 1px; background: var(--line-strong); }
.steps h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--mist); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.opt-group { border-radius: var(--radius-l); background: var(--harbor); border: 1px solid var(--line); overflow: hidden; }
.opt-group h3 { font-size: 1.05rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); background: rgba(17, 48, 93, 0.5); }
.opt-group dl { margin: 0; }
.opt-group div { padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--line); }
.opt-group div:last-child { border-bottom: 0; }
.opt-group dt { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.opt-group dd { margin: 0.2rem 0 0; color: var(--mist); font-size: 0.9rem; }
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font: 600 1.05rem/1.4 var(--display); color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0.4rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--mist); border-bottom: 2px solid var(--mist); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--mist); margin: 0 0 1.2rem; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fcard { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: var(--radius-l); background: var(--harbor); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.fcard:hover { border-color: rgba(61, 139, 255, 0.55); background: #0f2a54; }
.fcard .sector-ico { width: 40px; height: 40px; }
.fcard h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.fcard p { margin: 0; color: var(--mist); font-size: 0.9rem; }
.fcat { margin-top: 3rem; }
.fcat:first-child { margin-top: 0; }
.fcat > h2 { display: flex; align-items: center; gap: 1rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1.25rem; padding-left: calc(1.2rem + 1px); }
.fcat > h2 .sector-ico { width: 40px; height: 40px; }

/* Scenes */
.scene { width: 100%; }
.scene-flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; position: relative; }
.scene-flow ol::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-strong); }
.scene-flow li { position: relative; display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-m); background: var(--harbor); border: 1px solid var(--line); }
.sf-ico { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #102a52; color: var(--signal); border: 1px solid var(--line-strong); flex: none; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.sf-ico svg { width: 19px; height: 19px; }
.sf-txt b { display: block; color: var(--white); }
.sf-txt small { color: var(--mist); font-size: 0.82rem; }
@keyframes flow-lit { 0%, 100% { background: #102a52; color: var(--signal); box-shadow: none; } 6%, 22% { background: var(--signal); color: #fff; box-shadow: 0 0 22px -2px rgba(61, 139, 255, 0.8); } }
.scene-flow.in .sf-ico { animation: flow-lit calc(var(--n, 4) * 1.4s) ease-in-out infinite; animation-delay: calc(var(--i) * 1.4s); }
.st-prompt { display: flex; gap: 0.6rem; align-items: center; padding: 0.75rem 0.85rem; border-radius: var(--radius-m); background: rgba(61, 139, 255, 0.1); border: 1px solid rgba(61, 139, 255, 0.3); font-size: 0.9rem; }
.st-prompt svg { width: 18px; height: 18px; color: var(--signal); flex: none; }
.st-branches { display: grid; gap: 0.55rem; margin-top: 0.5rem; }
.st-branch { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.8rem; border-radius: var(--radius-m); background: rgba(7, 22, 48, 0.45); border: 1px solid var(--line); font-size: 0.9rem; transition: border-color 0.3s, background 0.3s; }
.key { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(142, 163, 199, 0.12); color: var(--white); font: 600 0.95rem/1 var(--display); transition: background 0.3s, transform 0.15s; }
.st-branch.lit { border-color: rgba(61, 139, 255, 0.6); background: rgba(61, 139, 255, 0.12); }
.st-branch.lit .key { background: var(--signal); transform: scale(0.92); }
.sl-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.75rem; }
.sl-callers, .sl-agents { display: grid; gap: 0.5rem; align-content: start; }
.sl-caller, .sl-agent { display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0.7rem; border-radius: var(--radius-m); background: rgba(7, 22, 48, 0.45); border: 1px solid var(--line); font-size: 0.82rem; }
.sl-caller em { margin-left: auto; font-style: normal; color: var(--mist); font-size: 0.75rem; }
.sl-agent svg { width: 16px; height: 16px; color: var(--live); flex: none; }
.sl-agent b { color: var(--white); }
.sl-agent span { color: var(--mist); }
@keyframes advance { 0% { transform: translateX(0); opacity: 1; } 80% { transform: translateX(40%); opacity: 0; } 100% { transform: translateX(0); opacity: 0; } }
.js .scene .sl-caller { opacity: 0; transform: translateX(-12px); transition: opacity 0.4s, transform 0.4s; transition-delay: calc(var(--i) * 0.25s); }
.js .scene.in .sl-caller { opacity: 1; transform: none; }
.js .scene.in .sl-caller:first-child { animation: advance 3.2s ease-in 1.6s infinite; }
.scene .msg, .scene .task { transition: opacity 0.45s, transform 0.45s; }
.js .scene[data-seq] .msg, .js .scene[data-seq] .task { opacity: 0; transform: translateY(6px); transition-delay: calc(var(--i) * 0.9s + 0.2s); }
.js .scene[data-seq].in .msg, .js .scene[data-seq].in .task { opacity: 1; transform: none; }
.scene .task svg { color: var(--live); }
.js .scene .row { opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; transition-delay: calc(var(--i) * 0.15s); }
.js .scene.in .row { opacity: 1; transform: none; }
.sw-days { position: relative; display: grid; gap: 0.5rem; }
.sw-day { display: grid; grid-template-columns: 7rem 1fr 6.5rem; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.sw-day b { color: var(--live); font-weight: 600; text-align: right; }
.sw-day.closed b { color: var(--mist); }
.sw-bar { height: 10px; border-radius: 5px; background: rgba(142, 163, 199, 0.12); position: relative; overflow: hidden; }
.sw-bar i { position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); border-radius: 5px; background: linear-gradient(90deg, var(--signal), #7fb2ff); transform: scaleX(0); transform-origin: left; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i) * 0.1s); }
.sw-day.closed .sw-bar i { display: none; }
.scene.in .sw-bar i { transform: none; }
.sw-now { position: absolute; top: -4px; bottom: -4px; left: calc(7rem + 0.75rem); width: 2px; background: var(--ring); box-shadow: 0 0 10px var(--ring); opacity: 0; }
@keyframes now { from { transform: translateX(0); } to { transform: translateX(var(--span, 220px)); } }
.scene.in .sw-now { opacity: 1; animation: now 8s linear infinite alternate; }
.scene-toast { display: grid; gap: 0.75rem; }
.scene-toast .mini { min-height: 0; transform: none; }
.js .scene-toast .toast { opacity: 0; transform: translateX(24px); transition: opacity 0.45s, transform 0.45s; transition-delay: calc(var(--i) * 0.7s + 0.2s); }
.js .scene-toast.in .toast { opacity: 1; transform: none; }
.sv-player { padding: 0.75rem; border-radius: var(--radius-m); background: rgba(7, 22, 48, 0.55); border: 1px solid var(--line); }
.sv-wave { height: 40px; }
.sv-wave i { opacity: 0.35; transition: opacity 0.2s; }
@keyframes sweep { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.scene.in .sv-wave i { animation: sweep 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * 0.06s); }
.sv-text { margin: 0.25rem 0 0; color: var(--ice); font-size: 0.95rem; line-height: 1.55; }
.stl { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--line-strong); display: grid; gap: 1rem; }
.stl li { position: relative; display: grid; gap: 0.15rem; font-size: 0.9rem; }
.stl li::before { content: ''; position: absolute; left: calc(-1.25rem - 6px); top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(61, 139, 255, 0.18); }
.stl em { font-style: normal; color: var(--mist); font-size: 0.78rem; }
.js .scene .stl li { opacity: 0; transform: translateX(-8px); transition: opacity 0.45s, transform 0.45s; transition-delay: calc(var(--i) * 0.5s + 0.2s); }
.js .scene.in .stl li { opacity: 1; transform: none; }

/* Mega menu (Funzionalità) */
.nav-item { position: relative; }
.nav-item > button { border: 0; background: none; font: 500 0.925rem/1 var(--text); color: var(--mist); padding: 0.45rem 0.8rem; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-item > button:hover, .nav-item > button[aria-expanded='true'], .nav-item.current > button { color: var(--white); background: rgba(142, 163, 199, 0.1); }
.nav-item > button::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.mega { position: absolute; left: -1rem; top: calc(100% + 12px); width: min(880px, calc(100vw - 2rem)); padding: 1.25rem; border-radius: var(--radius-l); background: #0c2245; border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.mega[hidden] { display: none; }
.mega h3 { font-size: 0.85rem; color: var(--mist); font-weight: 600; margin: 0 0 0.4rem; letter-spacing: 0; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.mega a { display: block; padding: 0.4rem 0.5rem; margin: 0 -0.5rem; border-radius: 8px; text-decoration: none; color: var(--ice); font-size: 0.9rem; }
.mega a:hover { background: rgba(61, 139, 255, 0.14); color: var(--white); }
.mega .mega-all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 0.9rem; font-weight: 600; color: var(--signal); }
.mobile-group { border-bottom: 1px solid var(--line); }
.mobile-group summary { list-style: none; padding: 0.85rem 0.25rem; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; }
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group summary::after { content: '+'; color: var(--mist); }
.mobile-group[open] summary::after { content: '–'; }
.mobile-group a { display: block; padding: 0.55rem 0.75rem; border: 0 !important; color: var(--mist); font-size: 0.95rem; }
.mobile-group h3 { font-size: 0.8rem; color: var(--mist); margin: 0.6rem 0.75rem 0.2rem; font-weight: 600; }

@media (max-width: 1020px) {
  .uses, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .uses, .related { grid-template-columns: minmax(0, 1fr); }
  .sl-wrap { grid-template-columns: minmax(0, 1fr); }
  .sw-day { grid-template-columns: 5.5rem 1fr 5.5rem; font-size: 0.78rem; }
  .sw-now { left: calc(5.5rem + 0.75rem); }
}
@media (prefers-reduced-motion: reduce) {
  .scene-flow.in .sf-ico, .scene.in .sl-caller:first-child, .scene.in .sw-now, .scene.in .sv-wave i { animation: none; }
  .js .scene .sl-caller, .js .scene[data-seq] .msg, .js .scene[data-seq] .task, .js .scene .row, .js .scene-toast .toast, .js .scene .stl li { opacity: 1; transform: none; transition: none; }
  .sw-bar i { transform: none; transition: none; }
}

/* The live demo stands out: a light sweeps across its title, another runs around the call box. */
.shine { background: linear-gradient(110deg, var(--white) 0%, var(--white) 38%, #8ec0ff 46%, #ffffff 50%, #8ec0ff 54%, var(--white) 62%, var(--white) 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.demo-box::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--spin), transparent 0deg, transparent 250deg, rgba(61, 139, 255, 0.15) 290deg, #8ec0ff 340deg, #ffffff 352deg, transparent 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 5s linear infinite; pointer-events: none; }
.demo-box[data-state='live']::before { animation-duration: 2s; background: conic-gradient(from var(--spin), transparent 0deg, transparent 230deg, rgba(52, 211, 153, 0.2) 280deg, #6ee7b7 340deg, #ffffff 352deg, transparent 360deg); }
@keyframes spin { to { --spin: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .shine { animation: none; background: none; color: var(--white); }
  .demo-box::before { animation: none; display: none; }
}
/* "Avvia la chiamata" calls for the click: rings of light pulse out of it while the demo is waiting. */
.demo-go { position: relative; }
.demo-box:not([data-state='live']):not([data-state='connecting']) .demo-go { animation: go-pulse 2s ease-out infinite; }
@keyframes go-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 139, 255, 0.65); } 70% { box-shadow: 0 0 0 16px rgba(61, 139, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 139, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .demo-box .demo-go { animation: none !important; } }

.contact-card { display: flex; flex-direction: column; }
.contact-card p { flex: 1; margin-bottom: 1.25rem; }
.contact-card .btn { align-self: flex-start; }

/* The copy of the price table written for search engines: shown only until the plugin takes its place. */
.price-copy { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-copy th, .price-copy td { text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--line); }
.price-copy td:last-child, .price-copy th:last-child { text-align: right; }
.price-copy th { color: var(--mist); font-weight: 500; }
/* Menu entries on one line: links and the Funzionalità button share height and baseline. */
.nav { align-items: center; }
.nav a, .nav-item > button { display: inline-flex; align-items: center; height: 36px; line-height: 1; }
.f-hero .lede { margin-top: 1.25rem; }
.scene .task { margin: 0.35rem 0 0; }
@media (max-width: 640px) {
  .wa-float { width: 48px; height: 48px; right: 1rem; bottom: 1rem; }
  .wa-float svg { width: 24px; height: 24px; }
}
/* Four columns; the long Centralino group takes two, its links flowing in two columns. */
.mega { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(1040px, calc(100vw - 2rem)); }
.mega > div:first-child { grid-column: span 2; }
.mega > div:first-child ul { display: block; columns: 2; column-gap: 1.5rem; }
.mega > div:first-child li { break-inside: avoid; }

/* Menu entries with their icon */
.mega a.ml, .mobile-group a.ml { display: flex; align-items: center; gap: 0.6rem; }
.ml svg { width: 17px; height: 17px; flex: none; color: var(--signal); }
.mega a.ml:hover svg { color: #8ec0ff; }

/* ---------- Guides ---------- */
.g-hero { padding-bottom: 2.5rem; }
.g-head { max-width: 50rem; }
.g-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; }
.g-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.25rem; color: var(--mist); font-size: 0.9rem; }
.g-meta svg { width: 16px; height: 16px; }
.g-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: clamp(3rem, 7vw, 5rem); }
.g-toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; font-size: 0.875rem; }
.g-toc p { color: var(--white); font-weight: 600; margin-bottom: 0.6rem; }
.g-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong); }
.g-toc a { display: block; padding: 0.4rem 0 0.4rem 0.9rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--mist); text-decoration: none; line-height: 1.4; }
.g-toc a:hover { color: var(--white); }
.g-toc a.on { color: var(--white); border-left-color: var(--signal); }
.g-body { max-width: 46rem; }
.g-sec { padding-top: 0.5rem; margin-bottom: 2.75rem; scroll-margin-top: 90px; }
.g-sec h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.15; margin-bottom: 1rem; }
.g-sec p { font-size: 1.06rem; line-height: 1.75; color: var(--ice); }
.g-sec p a, .g-list a, .g-table a, .g-tip a, .faq a { color: #8ec0ff; text-underline-offset: 3px; }
.g-list { margin: 0 0 1.25rem; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.g-list li { font-size: 1.04rem; line-height: 1.65; padding-left: 0.3rem; }
.g-list li::marker { color: var(--signal); }
.g-sec .steps { margin: 1rem 0 1.25rem; }
.g-table { overflow-x: auto; margin: 0.5rem 0 1.25rem; border-radius: var(--radius-m); border: 1px solid var(--line); }
.g-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
.g-table th { text-align: left; background: rgba(17, 48, 93, 0.6); color: var(--white); font-weight: 600; padding: 0.75rem 0.9rem; }
.g-table td { padding: 0.75rem 0.9rem; border-top: 1px solid var(--line); color: var(--ice); vertical-align: top; }
.g-tip { display: flex; gap: 0.85rem; padding: 1rem 1.1rem; border-radius: var(--radius-m); background: rgba(61, 139, 255, 0.1); border: 1px solid rgba(61, 139, 255, 0.3); margin: 0.5rem 0 1.25rem; }
.g-tip svg { width: 20px; height: 20px; color: var(--signal); flex: none; margin-top: 0.15rem; }
.g-tip b { color: var(--white); }
.g-tip p { margin: 0.2rem 0 0; font-size: 0.98rem; }
@media (max-width: 1020px) {
  .g-layout { grid-template-columns: minmax(0, 1fr); }
  .g-toc { position: static; max-height: none; padding: 1rem 1.1rem; border-radius: var(--radius-m); background: var(--harbor); border: 1px solid var(--line); }
}

/* Contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.contact-side { display: grid; gap: 1rem; }
.cf { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-l); background: var(--harbor); border: 1px solid var(--line-strong); display: grid; gap: 1rem; }
.cf h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-field { display: grid; gap: 0.4rem; font-size: 0.9rem; color: var(--ice); }
.cf-field input, .cf-field textarea { width: 100%; border-radius: var(--radius-s); border: 1px solid var(--line-strong); background: rgba(7, 22, 48, 0.6); color: var(--white); font: 400 1rem/1.5 var(--text); padding: 0.7rem 0.85rem; }
.cf-field textarea { resize: vertical; min-height: 140px; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(142, 163, 199, 0.75); }
.cf-field input:focus, .cf-field textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.cf [aria-invalid='true'] { border-color: var(--stop); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9rem; color: var(--mist); cursor: pointer; }
.cf-check input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--signal); flex: none; }
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.cf-status { margin: 0; font-size: 0.92rem; }
.cf-status.ok { color: var(--live); }
.cf-status.err { color: #ffc7cf; }
.cf.done .cf-field, .cf.done .cf-row, .cf.done .cf-check, .cf.done .cf-foot button { display: none; }
.cf.done .cf-status { font-size: 1.05rem; }
@media (max-width: 1020px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cf-row { grid-template-columns: minmax(0, 1fr); } }

/* The page grid of a section stays behind everything in it (it was painted over the cards). */
.f-hero::before { z-index: 0; }
.f-hero > .wrap { position: relative; z-index: 1; }

/* Blocks with their own grid: fine lines fading out radially from a point that differs card by card, a faint light running
   along one of the lines now and then, always under the text and the fields. */
.gcard { position: relative; isolation: isolate; overflow: hidden; }
.gcard::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; mask-image: radial-gradient(circle at var(--gx, 85%) var(--gy, 10%), #000 0%, rgba(0, 0, 0, 0.35) 30%, transparent 62%); -webkit-mask-image: radial-gradient(circle at var(--gx, 85%) var(--gy, 10%), #000 0%, rgba(0, 0, 0, 0.35) 30%, transparent 62%); opacity: 0.8; }
.feature.gcard::before { opacity: 0.9; }
.gled { position: absolute; z-index: -1; left: 0; top: calc(24px * var(--ly, 3) - 1px); width: 60px; height: 1px; border-radius: 1px; background: linear-gradient(90deg, transparent, rgba(110, 168, 255, 0.55)); opacity: 0; pointer-events: none; animation: gled var(--ld, 11s) linear infinite; animation-delay: var(--dl, 0s); animation-direction: var(--dir, normal); }
.gled::after { content: ''; position: absolute; right: -1px; top: -1px; width: 3px; height: 3px; border-radius: 50%; background: #a9c9ff; box-shadow: 0 0 5px 1px rgba(110, 168, 255, 0.6); }
@keyframes gled { 0% { transform: translateX(-70px); opacity: 0; } 5% { opacity: 0.55; } 28% { opacity: 0.55; } 34%, 100% { transform: translateX(var(--gw, 400px)); opacity: 0; } }
/* The feature cards' own comets give way to the same faint light. */
.feature .led { display: none; }
@media (prefers-reduced-motion: reduce) { .gled { display: none; } }
/* Grid kinds, one picked per block: squares, fine squares, dots, diagonal lines. */
.gcard.gv-fine::before { background-size: 14px 14px; opacity: 0.6; }
.gcard.gv-dots::before { background-image: radial-gradient(circle, rgba(142, 163, 199, 0.45) 1px, transparent 1.6px); background-size: 18px 18px; background-position: 0 0; opacity: 0.85; }
.gcard.gv-diag::before { background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 16px); background-size: auto; opacity: 0.75; }
.gcard.gv-fine .gled { top: calc(14px * var(--ly, 3) * 1.7 - 1px); }
/* Block headings are solid: the grid and its light never show through them. */
.opt-group h3 { position: relative; background: #0f2850; }
/* "Cosa puoi configurare": groups stacked in two columns, each right under the one before (no gaps beside short ones). */
.opts { display: block; columns: 2; column-gap: 1.25rem; }
.opt-group { display: block; break-inside: avoid; margin-bottom: 1.25rem; }
@media (max-width: 1020px) { .opts { columns: 1; } }

.opt-group h3 { display: flex; align-items: center; gap: 0.6rem; }
.opt-group h3 svg { width: 20px; height: 20px; color: var(--signal); flex: none; }

/* White label: the portal drawn twice, ours and the reseller's (header and accent from --bar / --acc). */
.wl-mock { --bar: #0a1c3d; --acc: #3d8bff; border-radius: 14px; overflow: hidden; background: #f4f7fc; border: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); color: #1b2a44; font-size: 12px; transition: box-shadow 0.4s; }
.wl-theirs { --bar: #0f766e; --acc: #14b8a6; }
.wl-top { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 0.9rem; background: var(--bar); color: #fff; transition: background 0.45s; }
.wl-logo { display: flex; align-items: center; gap: 0.45rem; flex: none; font: 600 0.95rem/1 var(--display); letter-spacing: -0.01em; }
.wl-logo img { display: block; height: 16px; width: auto; }
.wl-mark { width: 16px; height: 16px; border-radius: 5px; background: var(--acc); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35); transition: background 0.45s; }
.wl-menu { display: flex; gap: 0.25rem; min-width: 0; overflow: hidden; flex: 1; }
.wl-menu i { font-style: normal; white-space: nowrap; padding: 0.3rem 0.55rem; border-radius: 6px; color: rgba(255, 255, 255, 0.72); }
.wl-menu i.on { background: rgba(255, 255, 255, 0.16); color: #fff; }
.wl-av { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; font-size: 10px; font-weight: 600; transition: background 0.45s; }
.wl-body { padding: 0.9rem; display: grid; gap: 0.75rem; }
.wl-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.wl-tiles div { background: #fff; border: 0; box-shadow: 0 1px 3px rgba(16, 32, 58, 0.08); border-radius: 9px; padding: 0.55rem 0.65rem; display: grid; gap: 0.15rem; min-width: 0; }
.wl-tiles span { color: #6b7a93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-tiles b { font: 600 1.05rem/1.1 var(--display); color: #10203a; }
.wl-tiles div:first-child b { color: var(--acc); transition: color 0.45s; }
.wl-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 0.6rem 0.65rem 0; background: #fff; border: 0; box-shadow: 0 1px 3px rgba(16, 32, 58, 0.08); border-radius: 9px; }
.wl-bars i { flex: 1; height: var(--h); border: 2px solid var(--acc); border-bottom: 0; border-radius: 4px 4px 0 0; background: transparent; transition: border-color 0.45s; }
.wl-list { background: #fff; border: 0; box-shadow: 0 1px 3px rgba(16, 32, 58, 0.08); border-radius: 9px; padding: 0.55rem 0.65rem; display: grid; gap: 0.4rem; }
.wl-list > span { color: #6b7a93; }
.wl-list div { display: flex; justify-content: space-between; gap: 0.75rem; padding-top: 0.4rem; border-top: 1px solid #eef2f8; }
.wl-list b { font-weight: 600; white-space: nowrap; }
.wl-list em { font-style: normal; color: #6b7a93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wl-stack { position: relative; padding: 0 0 3.5rem 3rem; }
.wl-stack .wl-back { position: absolute; inset: 3.5rem 0 0 3rem; transform: translate(-3rem, 0) rotate(-3deg); opacity: 0.9; }
.wl-stack .wl-front { position: relative; transform: translate(0, 0) rotate(2deg); transform-origin: 70% 30%; }



.wl-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.wl-compare figure { margin: 0; display: grid; gap: 0.9rem; align-content: start; }
.wl-compare figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 32px; font: 600 1.1rem/1.2 var(--display); }
.wl-swatches { display: flex; gap: 0.45rem; }
.wl-swatches button { width: 28px; height: 28px; padding: 0; border-radius: 50%; cursor: pointer; border: 2px solid transparent; background: var(--b); box-shadow: none; transition: transform 0.2s; }
.wl-swatches button:hover { transform: scale(1.08); }
.wl-swatches button[aria-pressed='true'] { border-color: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); }
.wl-swatches button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.wl-who-h { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem; }
.wl-who-h h3 { margin: 0; }
.wl-grow { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.wl-grow li { display: flex; gap: 0.9rem; align-items: flex-start; }
.wl-grow svg { flex: none; width: 22px; height: 22px; margin-top: 0.15rem; color: var(--signal); }
.wl-grow h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.wl-grow p { margin: 0; color: var(--mist); }
.split .wl-calc { align-self: start; position: sticky; top: 6rem; }
.wl-calc h3 { font-size: 1.4rem; }
.wl-out { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0.75rem; }
.wl-out div { display: grid; gap: 0.3rem; padding: 0.9rem 1rem; border-radius: var(--radius-s); background: rgba(7, 22, 48, 0.6); border: 1px solid var(--line-strong); min-width: 0; }
.wl-out span { color: var(--mist); font-size: 0.88rem; }
.wl-out b { font: 600 clamp(1.3rem, 2.4vw, 1.6rem)/1.1 var(--display); color: var(--white); overflow-wrap: anywhere; }
.wl-out .big { border-color: rgba(61, 139, 255, 0.55); background: var(--signal-soft); }
.wl-out .big b { color: var(--signal); font-size: clamp(1.5rem, 3vw, 2rem); }

@media (max-width: 1020px) {
  .wl-compare { grid-template-columns: minmax(0, 1fr); }
  .split .wl-calc { position: relative; top: auto; }
  .wl-stack { max-width: 34rem; }
}
@media (max-width: 640px) {
  .wl-stack { padding: 0 0 2rem 1.25rem; }
  .wl-stack .wl-back { inset: 2rem 0 0 1.25rem; transform: translate(-1.25rem, 0) rotate(-3deg); }
  .wl-stack .wl-front { transform: rotate(1.5deg); }
  .wl-menu i:nth-child(n + 3) { display: none; }
  .wl-out { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .wl-top, .wl-mark, .wl-av, .wl-bars i, .wl-tiles b { transition: none; } }

/* Emphasis inside long texts: bold in full white. */
p strong, dd strong, li strong { color: var(--white); font-weight: 600; }

/* Card grids never leave a card alone on the last row: on 3 columns (a 6-column grid, cards span 2) one left-over card
   takes the whole row and two take half each; on 2 columns the odd one takes the whole row. */
@media (min-width: 1021px) {
  .features, .uses, .related { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  :is(.features, .uses, .related) > * { grid-column: span 2; }
  :is(.features, .uses, .related) > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  :is(.features, .uses, .related) > :nth-last-child(2):nth-child(3n + 1),
  :is(.features, .uses, .related) > :last-child:nth-child(3n + 2) { grid-column: span 3; }
}
@media (min-width: 641px) and (max-width: 1020px) {
  :is(.features, .uses, .related) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
