/* Hallmark · v2.0.0 · theme: grid (deal: manual, scripts not run) · genre: editorial · posture: full-palette · shape: custom from the old page's content · hero: overprint sheet (Stage) · signature: the 24 hours, one job each · redesign: from scratch */
/* palette (05/12/2026, "grafite e ciano"): cool paper and blue-black ink like the grey hoodie, graphite fields (hero, videos) like the mascot at night,
   one petrol-cyan signal from the evening city lights (hours, demo field). AA: ink/paper 17.2, muted/paper 6.4, paper/field 13.2, field-muted/field 8.6, signal/paper 5.2 */
/* critique: one idea per screen, the hour index is the memorable thing; graphite fields (hero, videos) and one petrol field (demo); nothing boxed, radius 0, no shadow */
/* waive grid photo rule (duotone): the brief asks for "realistico e cartoon insieme", the mascot's colour is the point, so photographs print in true colour on paper-2 */
/* waive 46a check: "24 ore, 7 giorni" is the product's own claim (H24 7/7), not a metric */

:root {
  --color-paper: oklch(97.5% 0.004 250); --color-paper-2: oklch(94.2% 0.005 250); --color-paper-3: oklch(90.5% 0.006 250);
  --color-ink: oklch(19% 0.015 260); --color-ink-2: oklch(31% 0.015 260); --color-muted: oklch(47% 0.015 260);
  --color-rule: oklch(87.5% 0.006 250);
  --color-focus: oklch(50% 0.1 200);
  --color-field: oklch(29% 0.02 285); --color-field-ink: oklch(97.5% 0.004 250); --color-field-muted: oklch(84% 0.02 285);
  --color-mark: oklch(50% 0.1 200); --color-mark-ink: oklch(97.5% 0.004 250);
  --font-display: "Radio Canada Big", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Radio Canada", ui-sans-serif, system-ui, sans-serif;
  --tracking-display: -0.035em;

  --container: 1440px; --gutter: clamp(20px, 4.4vw, 64px); --gap-columns: clamp(16px, 2.2vw, 32px);
  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --section-gap-s: clamp(72px, 8vw, 120px); --section-gap: clamp(88px, 10vw, 144px);

  --text-poster: clamp(2.75rem, 9.4vw, 8.5rem);
  --text-display-s: clamp(2.1rem, 4.2vw, 3.75rem);
  --text-section: clamp(2.1rem, 3.6vw, 3.25rem);
  --text-title: clamp(1.3rem, 1.75vw, 1.5625rem);
  --text-lead: clamp(1.125rem, 1.45vw, 1.3125rem);
  --text-md: 1.0625rem; --text-sm: 0.875rem;

  --ease-out: cubic-bezier(.22, .8, .24, 1); --dur-micro: 120ms; --dur-short: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.5 var(--font-body); font-synthesis: none; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--tracking-display); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h2 { font-size: var(--text-section); line-height: 1; max-width: 18ch; }
h3 { font-size: var(--text-title); line-height: 1.15; letter-spacing: -0.02em; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--color-mark); color: var(--color-mark-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: var(--space-md); top: -80px; z-index: 400; padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus { top: var(--space-md); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.lead { font-size: var(--text-lead); line-height: 1.4; max-width: 44ch; }
.muted { color: var(--color-muted); }
.section { padding-block: var(--section-gap); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: 0; background: var(--color-ink); color: var(--color-paper); font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.link { color: currentColor; font-weight: 500; text-decoration: underline 1px; text-underline-offset: 0.32em; transition: color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-mark); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); }

/* wordmark: "Anunnaki" and "Agent" lettered in Nasalization (SVG paths from tools/nasalization-wordmark.py, used as masks:
   the Typodermic desktop licence allows artwork, not a webfont), beside a red square two lines tall */
.nas { display: inline-block; height: 0.968em; background: currentColor; overflow: hidden; white-space: nowrap; text-indent: 200%; vertical-align: -0.211em; -webkit-mask: var(--nas) no-repeat left center / contain; mask: var(--nas) no-repeat left center / contain; }
.nas--anunnaki { aspect-ratio: 5045 / 968; --nas: url("assets/nas-anunnaki.svg"); }
.nas--agent { aspect-ratio: 3164 / 968; --nas: url("assets/nas-agent.svg"); }
.nas-name { white-space: nowrap; }
.wordmark { display: inline-grid; grid-template-columns: auto auto; column-gap: var(--space-sm); row-gap: 3px; align-items: center; font-size: 1.3rem; text-decoration: none; color: var(--color-ink); }
.wordmark::before { content: ""; grid-row: span 2; height: 4.5rem; aspect-ratio: 810 / 655; background: url("assets/logo/anunnaki-ufficiale.svg") center / contain no-repeat; }
.wordmark .nas { display: block; }

/* nav */
.nav { position: sticky; top: 0; z-index: 300; background: var(--color-paper); }
.nav__in { display: flex; align-items: center; gap: var(--space-xl); min-height: 96px; }
.nav__links { display: flex; gap: var(--space-lg); margin-inline-start: auto; }
.nav__links a, .nav__login { font-size: var(--text-sm); font-weight: 500; text-decoration: none; color: var(--color-ink); transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover, .nav__login:hover { color: var(--color-mark); }
.nav__end { display: flex; align-items: center; gap: var(--space-lg); }
.nav__menu { display: none; }
@media (max-width: 60rem) {
  .nav__links { display: none; }
  .nav__in { gap: var(--space-md); }
  .nav__end { margin-inline-start: auto; gap: var(--space-md); }
  .nav__menu { display: block; position: relative; }
  .nav__menu summary { list-style: none; min-height: 44px; display: grid; place-items: center; padding-inline: var(--space-sm); font-weight: 500; white-space: nowrap; cursor: pointer; }
  .nav__menu summary::-webkit-details-marker { display: none; }
  .nav__menu nav { position: fixed; inset: 96px 0 auto; display: grid; padding: var(--space-sm) var(--gutter) var(--space-xl); background: var(--color-paper); }
  .nav__menu nav a { padding: var(--space-md) 0; font: 700 1.5rem/1 var(--font-display); letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--color-rule); }
}
@media (max-width: 30rem) { .nav__login { display: none; } }

/* hero: the overprint sheet. A breakout grid: gutter, 12 columns, gutter; the field runs from column 8 to the bleed */
.hero { display: grid; grid-template-columns: minmax(calc(var(--gutter) - var(--gap-columns)), 1fr) repeat(12, minmax(0, calc((var(--container) - 2 * var(--gutter) - 11 * var(--gap-columns)) / 12))) minmax(calc(var(--gutter) - var(--gap-columns)), 1fr); column-gap: var(--gap-columns); grid-template-rows: auto 1fr; min-height: calc(100svh - 96px); }
.hero__field { grid-column: 8 / -1; grid-row: 1 / -1; background: var(--color-field); }
.hero__head { grid-column: 2 / 14; grid-row: 1; margin: 0; padding-top: clamp(24px, 4.5vh, 40px); font-family: var(--font-display); font-weight: 700; text-wrap: balance; font-size: var(--text-poster); line-height: 0.9; letter-spacing: -0.045em; max-width: none; }
.hero__head.is-over { color: var(--color-field-ink); clip-path: inset(0 0 0 calc((100% - 11 * var(--gap-columns)) / 12 * 6 + 6 * var(--gap-columns))); pointer-events: none; }
.hero__text { grid-column: 2 / 7; grid-row: 2; align-self: end; display: grid; gap: var(--space-xl); padding-block: var(--space-xl) clamp(32px, 5vh, 48px); }
/* the video fills the whole field under the title, to the bleed: row 2 only, so it can never reach the letters of row 1 */
.hero__pic { grid-column: 8 / -1; grid-row: 2; position: relative; min-height: clamp(20rem, 52vh, 44rem); margin-top: var(--space-xl); color: var(--color-field-ink); }
.hero__pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; background: var(--color-ink); }
.hero__pic figcaption { position: absolute; inset-inline-start: 0; bottom: 0; padding: var(--space-sm) var(--space-md); background: var(--color-field); font-size: var(--text-sm); font-weight: 500; }
@media (max-width: 60rem) {
  .hero { display: block; min-height: 0; }
  .hero__head { padding: var(--space-xl) var(--gutter) 0; }
  .hero__head.is-over, .hero__field { display: none; }
  .hero__text { padding: var(--space-xl) var(--gutter) var(--space-2xl); }
  .hero__pic { min-height: 0; margin: 0; background: var(--color-field); }
  .hero__pic video { position: static; aspect-ratio: 4 / 3; height: auto; }
  .hero__pic figcaption { position: static; padding: var(--space-md) var(--gutter); }
}

/* the 24 hours */
.hours__head { grid-column: 1 / 8; display: grid; gap: var(--space-lg); }
.hours__pick { grid-column: 1 / -1; margin: var(--space-2xl) 0 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(12, max-content); justify-content: space-between; gap: var(--space-2xs) var(--space-md); }
@media (max-width: 40rem) { .hours__pick { grid-template-columns: repeat(6, max-content); } }
.hours__pick legend { padding: 0; margin-bottom: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.hours__pick label { position: relative; font: 700 clamp(1.5rem, 2.6vw, 2.25rem)/1.15 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--color-muted); cursor: pointer; transition: color var(--dur-micro) var(--ease-out); }
.hours__pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hours__pick label:hover, .hours__pick label:has(:checked) { color: var(--color-mark); }
.hours__pick label:has(:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.hours__now { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin-top: var(--space-2xl); align-items: end; }
.hours__say { grid-column: 1 / 6; display: grid; gap: var(--space-md); align-content: end; }
.hours__fig { font: 700 clamp(6rem, 16vw, 14rem)/0.8 var(--font-display); letter-spacing: -0.06em; color: var(--color-mark); font-variant-numeric: tabular-nums; margin-bottom: var(--space-lg); }
.hours__say p { max-width: 40ch; }
.hours__pic { grid-column: 6 / -1; }
.hours__pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--color-paper-2); }
@media (max-width: 60rem) {
  .hours__head, .hours__say, .hours__pic { grid-column: 1 / -1; }
  .hours__now { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
}

/* operativita: the same work seen from the PC and from the phone, drawn with the taste-skill UI kit (assets/ui: window, cursor, notify)
   on our tokens; polish after emil-design-eng / apple-design: layered shadows, concentric radii, glass notifications on the lock screen, ease-out */
.ops__head { grid-column: 1 / 8; display: grid; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.ops__web { grid-column: 1 / 9; display: grid; gap: var(--space-md); align-content: start; }
.ops__phone { grid-column: 9 / -1; display: grid; gap: var(--space-md); justify-items: center; align-content: start; }
.ops figcaption { font-size: var(--text-sm); color: var(--color-muted); max-width: 44ch; }
.ops__phone figcaption { text-align: center; }
/* the kit reads its colours from --fx-*: our paper, ink and petrol signal */
.ops, .relay { --fx-bg: oklch(99.2% 0.002 250); --fx-surface: var(--color-paper-2); --fx-ink: var(--color-ink); --fx-muted: var(--color-muted);
  --fx-accent: var(--color-mark); --fx-accent-ink: var(--color-mark-ink); --ui-font: var(--font-body); --ui-radius: 12px; --ink: var(--color-ink); }
.ops .ui-agent { background: url("assets/avatar.webp") 50% 38% / 190% auto; }
.ops .ui-agent::after { display: none; }
.ops-mark { width: 22px; height: 18px; margin-inline-end: 6px; background: url("assets/logo/anunnaki-ufficiale.svg") center / contain no-repeat; flex: none; }   /* the app's own mark in the window title */
/* desk: a soft lit ground (the night city, blurred to light only), the window from its top-left inset cut by the right and
   bottom edges, the approval laid over its lower-right corner */
.ops-stage { position: relative; isolation: isolate; overflow: clip; aspect-ratio: 16 / 10; background: var(--color-field); }
.ops-stage__ground { position: absolute; inset: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover; filter: blur(26px) saturate(1.2) brightness(0.9); }
.ops-stage__layer { position: absolute; inset: 0; -webkit-mask: linear-gradient(to bottom, #000 calc(100% - 72px), transparent calc(100% - 4px)), linear-gradient(to right, #000 calc(100% - 72px), transparent calc(100% - 4px)); -webkit-mask-composite: source-in; mask: linear-gradient(to bottom, #000 calc(100% - 72px), transparent calc(100% - 4px)), linear-gradient(to right, #000 calc(100% - 72px), transparent calc(100% - 4px)); mask-composite: intersect; }
.ops-stage__layer > .ui-win { position: absolute; inset-inline-start: clamp(20px, 5%, 40px); top: clamp(20px, 7%, 44px); width: max(660px, 100%); }
.ops-stage__over { position: absolute; inset-inline-end: clamp(16px, 4%, 32px); bottom: clamp(16px, 5%, 32px); z-index: 2; width: min(360px, calc(100% - 32px)); }
/* phone: a device with concentric radii (bezel 46, screen 38), a lock screen on the mascot, notifications as a light material */
.device { width: min(300px, 100%); padding: 8px; border-radius: 46px; background: oklch(17% 0.01 260);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.08), 0 1px 2px oklch(0% 0 0 / 0.2), 0 24px 48px -20px oklch(0% 0 0 / 0.45); }
.device__screen { position: relative; isolation: isolate; overflow: clip; aspect-ratio: 9 / 19.5; border-radius: 38px; background: var(--color-field); }
.device__wall { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; z-index: -1; }
.device__screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(oklch(15% 0.03 290 / 0.35), oklch(15% 0.03 290 / 0.15) 40%, oklch(15% 0.03 290 / 0.55)); }
.device__island { width: 86px; height: 24px; margin: 10px auto 0; border-radius: 12px; background: #000; }
.device__time { margin-top: 14px; display: grid; justify-items: center; color: #fff; font: 600 clamp(3.25rem, 6vw, 4rem)/1 var(--font-display); letter-spacing: -0.02em; text-shadow: 0 1px 12px oklch(0% 0 0 / 0.25); }
.device__time span { margin-bottom: 4px; font: 500 0.875rem/1.2 var(--font-body); letter-spacing: 0.01em; }
.device .ui-notify { position: absolute; inset-inline-start: 10px; inset-inline-end: 10px; bottom: 56px; }
.device .ui-note { height: auto; min-height: 60px; padding: 10px 12px; align-items: flex-start; border-radius: 20px; border-color: oklch(100% 0 0 / 0.35);
  background: oklch(98% 0.004 250 / 0.72); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
.device .ui-note__title, .device .ui-note__body { white-space: normal; text-wrap: pretty; }
.device .ui-note__title { font-weight: 600; }
.device .ui-note__av, .device .ui-note__ico { margin-top: 2px; }
@media (max-width: 60rem) {
  .ops__head, .ops__web, .ops__phone { grid-column: 1 / -1; }
  .ops__phone { margin-top: var(--space-2xl); }
}
@media (max-width: 40rem) {
  .ops-stage { aspect-ratio: auto; min-height: 42rem; }
  .ops-stage__layer { -webkit-mask: none; mask: none; }
  .ops-stage__layer > .ui-win { inset-inline-start: 12px; top: 16px; width: calc(100% - 24px); }
  .ops-stage__over { inset-inline-start: 12px; inset-inline-end: 12px; bottom: 16px; width: auto; }
}

/* videos on the graphite band */
.band { background: var(--color-field); color: var(--color-field-ink); --color-focus: var(--color-field-ink); }
.band .lead { color: var(--color-field-muted); }
.films__head { display: grid; gap: var(--space-lg); }
.films__tall { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 300px); gap: var(--gap-columns); margin-top: var(--space-2xl); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-md); scrollbar-color: var(--color-field-muted) transparent; }
.film { scroll-snap-align: start; display: grid; gap: var(--space-sm); align-content: start; }
.film button { all: unset; position: relative; display: block; cursor: pointer; background: var(--color-ink); }
.film button:focus-visible { outline: 2px solid var(--color-field-ink); outline-offset: 3px; }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.films__tall .film video { aspect-ratio: 9 / 16; }
.film figcaption { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-field-muted); }
.film figcaption b { font-size: var(--text-md); font-weight: 500; color: var(--color-field-ink); }
.film__sound { position: absolute; inset-inline-end: var(--space-sm); bottom: var(--space-sm); padding: var(--space-2xs) var(--space-xs); background: var(--color-field-ink); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; }
.films__note { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-field-muted); }

/* delega: split, the mascot at work on the right */
.split { align-items: center; row-gap: var(--space-xl); }
.split__text { grid-column: 1 / 6; display: grid; gap: var(--space-lg); }
.split__pic { grid-column: 7 / -1; }
.split__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--color-paper-2); }
.split--flip .split__text { grid-column: 8 / -1; grid-row: 1; }
.split--flip .split__pic { grid-column: 1 / 7; grid-row: 1; }
.split--flip .split__pic img { aspect-ratio: 4 / 3; }
.facts { display: grid; gap: var(--space-lg); margin-top: var(--space-sm); }
.facts dt { font-weight: 500; }
.facts dd { color: var(--color-muted); }
.ticks { display: grid; gap: var(--space-sm); margin-top: var(--space-sm); }
.ticks li { padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); }
@media (max-width: 60rem) {
  .split__text, .split__pic, .split--flip .split__text, .split--flip .split__pic { grid-column: 1 / -1; grid-row: auto; }
}

/* programmi: one job across five programs (the kit's compact window, rows lit one after another), then the kinds of program as a ruled index */
.relay .cols { row-gap: var(--space-2xl); align-items: center; }
.relay__text { grid-column: 1 / 6; display: grid; gap: var(--space-lg); }
.relay__pic { grid-column: 7 / -1; display: grid; gap: var(--space-md); }
.relay__pic figcaption { font-size: var(--text-sm); color: var(--color-muted); max-width: 52ch; }
.relay__stage { padding: clamp(16px, 4%, 40px); background: var(--color-paper-2); }
.relay__win { width: 100%; }
.relay__win .ui-win__row { transition: background-color 260ms var(--u-ease), opacity 260ms var(--u-ease); }
.relay__win .ui-win__row.is-wait { opacity: 0.45; }
.relay__win .ui-win__row.is-sel .ui-win__who { color: var(--u-accent-text); }
/* the window's rows hold one line each; here the words are the point, so they wrap instead of being cut */
.relay__win .ui-win__row { height: auto; min-height: 56px; grid-template-rows: auto auto; padding-block: 10px; }
.relay__win :is(.ui-win__who, .ui-win__sub, .ui-win__crumb, .ui-win__crumb b) { white-space: normal; overflow: visible; text-overflow: clip; min-width: 0; }
.relay__kinds { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.relay__kinds > li { display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); }
.relay__kinds h3 { max-width: none; }
/* the programs: each mark in its brand colour (as on nexogroup.ch; on paper Notion and Mailchimp in ink, Google Ads in its blue) from its own SVG as a mask, the name beside it; programs without a free mark (Microsoft) stay as names */
.relay__apps { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); color: var(--color-ink-2); font-size: var(--text-sm); }
.relay__apps li { display: inline-flex; align-items: center; gap: 6px; }
.app::before { content: ""; width: 16px; height: 16px; flex: none; background: var(--b, currentColor); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
/* ponytail: Simple Icons (CC0) copied from the Nexo site, assets/apps/LEGGIMI.txt */
.app--gmail { --i: url("assets/apps/gmail.svg"); --b: #EA4335; }
.app--googlecalendar { --i: url("assets/apps/googlecalendar.svg"); --b: #4285F4; }
.app--zoom { --i: url("assets/apps/zoom.svg"); --b: #2D8CFF; }
.app--sap { --i: url("assets/apps/sap.svg"); --b: #0FAAFF; }
.app--odoo { --i: url("assets/apps/odoo.svg"); --b: #A0739A; }
.app--hubspot { --i: url("assets/apps/hubspot.svg"); --b: #FF7A59; }
.app--salesforce { --i: url("assets/apps/salesforce.svg"); --b: #00A1E0; }
.app--googlesheets { --i: url("assets/apps/googlesheets.svg"); --b: #34A853; }
.app--airtable { --i: url("assets/apps/airtable.svg"); --b: #18BFFF; }
.app--stripe { --i: url("assets/apps/stripe.svg"); --b: #635BFF; }
.app--paypal { --i: url("assets/apps/paypal.svg"); --b: #009CDE; }
.app--shopify { --i: url("assets/apps/shopify.svg"); --b: #7AB55C; }
.app--woocommerce { --i: url("assets/apps/woocommerce.svg"); --b: #A46497; }
.app--wordpress { --i: url("assets/apps/wordpress.svg"); --b: #3A9BDC; }
.app--whatsapp { --i: url("assets/apps/whatsapp.svg"); --b: #25D366; }
.app--telegram { --i: url("assets/apps/telegram.svg"); --b: #26A5E4; }
.app--slack { --i: url("assets/apps/slack.svg"); --b: #E01E5A; }
.app--instagram { --i: url("assets/apps/instagram.svg"); --b: #E4405F; }
.app--facebook { --i: url("assets/apps/facebook.svg"); --b: #1877F2; }
.app--googledrive { --i: url("assets/apps/googledrive.svg"); --b: #34A853; }
.app--dropbox { --i: url("assets/apps/dropbox.svg"); --b: #0061FF; }
.app--notion { --i: url("assets/apps/notion.svg"); --b: currentColor; }
.app--trello { --i: url("assets/apps/trello.svg"); --b: #2684FF; }
.app--asana { --i: url("assets/apps/asana.svg"); --b: #F06A6A; }
.app--mailchimp { --i: url("assets/apps/mailchimp.svg"); --b: currentColor; }
.app--canva { --i: url("assets/apps/canva.svg"); --b: #00C4CC; }
.app--googleads { --i: url("assets/apps/googleads.svg"); --b: #4285F4; }
.app--zapier { --i: url("assets/apps/zapier.svg"); --b: #FF4F00; }
.app--make { --i: url("assets/apps/make.svg"); --b: #A35BFF; }
.app--n8n { --i: url("assets/apps/n8n.svg"); --b: #EA4B71; }
.relay__note { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); margin-top: calc(-1 * var(--space-lg)); }
@media (max-width: 60rem) {
  .relay__text, .relay__pic { grid-column: 1 / -1; }
  .relay__kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 30rem) { .relay__stage { padding: 12px 12px 48px; } }   /* room for the kit’s pause button under the last row */

/* prezzi */
.plans__head { grid-column: 1 / -1; display: grid; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.plan { grid-column: span 4; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--space-md); padding-block: var(--space-xl); padding-inline: 0 var(--space-xl); border-top: 2px solid var(--color-ink); }
.plan__soon { justify-self: start; padding: var(--space-2xs) var(--space-sm); background: var(--color-mark); color: var(--color-mark-ink); font-size: var(--text-sm); font-weight: 700; }
.plan__tag { font-size: var(--text-sm); font-weight: 500; color: var(--color-mark); min-height: 1lh; }
.plan__price { font: 700 var(--text-display-s)/1 var(--font-display); letter-spacing: -0.03em; }
.plan__price small { font: 400 var(--text-md) var(--font-body); letter-spacing: 0; color: var(--color-muted); }
.plan ul { display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.fill { padding: 0 0.12em; outline: 1px dashed var(--color-muted); outline-offset: 2px; color: var(--color-muted); }
@media (max-width: 60rem) { .plan { grid-column: 1 / -1; padding-inline-end: 0; } }

/* domande: rows */
.faq__head { grid-column: 1 / 5; display: grid; gap: var(--space-lg); align-content: start; }
.faq__rows { grid-column: 5 / -1; }
.faq__rows details { border-bottom: 1px solid var(--color-rule); }
.faq__rows details:first-child { border-top: 1px solid var(--color-rule); }
.faq__rows summary { display: flex; justify-content: space-between; gap: var(--space-lg); padding: var(--space-lg) 0; font: 700 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq__rows summary::-webkit-details-marker { display: none; }
.faq__rows summary::after { content: "+"; font-weight: 400; color: var(--color-muted); }
.faq__rows details[open] summary::after { content: "\2212"; color: var(--color-mark); }
.faq__rows summary:hover { color: var(--color-mark); }
.faq__rows details p { padding-bottom: var(--space-lg); max-width: 60ch; color: var(--color-ink-2); }
@media (max-width: 60rem) { .faq__head, .faq__rows { grid-column: 1 / -1; } .faq__rows { margin-top: var(--space-xl); } }


/* footer: a mast */
.foot { padding-block: var(--section-gap-s) var(--space-xl); }
.foot__mast { display: flex; flex-wrap: wrap; gap: 0 0.28em; font-size: min(9.4vw, 9.5rem); line-height: 1; }
.foot__links { margin-top: var(--space-2xl); row-gap: var(--space-xl); }
.foot__links div { grid-column: span 3; display: grid; gap: var(--space-xs); align-content: start; }
.foot__links b { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--color-mark); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .foot__links div { grid-column: span 6; } }

/* Riunioni: a video call the agent joins as an invited guest (dark like the call apps, the signal cyan rings who speaks).
   main.js plays the script from .call__script: captions type out, the speaker's tile rings, then the summary waits for the ok. */
.meet .cols { row-gap: var(--space-2xl); align-items: center; }
.meet__head { grid-column: 1 / 5; display: grid; gap: var(--space-lg); }
.meet__fig { grid-column: 5 / -1; display: grid; gap: var(--space-md); }
.meet figcaption { font-size: var(--text-sm); color: var(--color-muted); max-width: 52ch; }
.call { --call-bg: oklch(21% 0.012 275); --call-tile: oklch(29% 0.016 275); --call-ink: oklch(96% 0.004 275); --call-muted: oklch(76% 0.012 275); --call-ring: oklch(78% 0.12 200);
  position: relative; isolation: isolate; overflow: clip; display: grid; grid-template-rows: auto 1fr auto auto; gap: 10px; padding: 12px; aspect-ratio: 16 / 11; background: var(--call-bg); color: var(--call-ink); font-size: var(--text-sm); border-radius: 14px; }
.call__top { display: flex; align-items: center; gap: 10px; padding: 2px 6px; }
.call__top b { font-weight: 500; }
.call__dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(64% 0.2 25); }
.call__time { color: var(--call-muted); font-variant-numeric: tabular-nums; }
.call .ui-spacer { flex: 1; }
.call__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; min-height: 0; transition: opacity 400ms var(--ease-out); }
.tile { position: relative; overflow: hidden; border-radius: 10px; background: var(--call-tile); min-height: 0; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--call-ring); opacity: 0; transition: opacity var(--dur-short) var(--ease-out); pointer-events: none; }
.tile.is-talk::after { opacity: 1; }
.tile > img { width: 100%; height: 100%; object-fit: cover; }
.tile__name { position: absolute; inset-inline-start: 8px; bottom: 7px; display: inline-flex; align-items: center; gap: 6px; padding: 2px 7px; border-radius: 5px; background: oklch(15% 0.01 275 / 0.62); font-size: 0.8125rem; font-weight: 500; }
.tile__name em { font-style: normal; font-size: 0.75rem; padding: 0 5px; border-radius: 4px; background: oklch(52% 0.17 295); }
.tile__wave { position: absolute; inset-inline-end: 8px; top: 8px; display: flex; align-items: center; justify-content: center; gap: 2px; width: 24px; height: 24px; border-radius: 50%; background: oklch(15% 0.01 275 / 0.55); }
.tile__wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--call-ink); }
.tile.is-talk .tile__wave { background: var(--call-ring); }
.tile.is-talk .tile__wave i { background: var(--call-bg); animation: call-wave 520ms ease-in-out infinite alternate; }
.tile.is-talk .tile__wave i:nth-child(2) { animation-delay: -260ms; }
.tile.is-talk .tile__wave i:nth-child(3) { animation-delay: -130ms; }
@keyframes call-wave { from { transform: scaleY(1); } to { transform: scaleY(3); } }
.tile--bot { display: grid; place-items: center; align-content: center; gap: 8px; background: radial-gradient(circle at 50% 44%, oklch(46% 0.2 295), oklch(25% 0.08 290) 72%); }
.tile__av { position: relative; width: clamp(56px, 38%, 104px); aspect-ratio: 1; border-radius: 50%; }
.tile__av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tile__av::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--call-ring); opacity: 0; transform: scale(0.92); }
.tile--bot.is-talk .tile__av::before { animation: call-halo 1.1s var(--ease-out) infinite; }
@keyframes call-halo { from { opacity: 0.9; transform: scale(0.95); } to { opacity: 0; transform: scale(1.25); } }
.tile__state { position: absolute; inset-inline-start: 8px; top: 8px; display: grid; padding: 2px 8px; border-radius: 99px; background: oklch(15% 0.01 275 / 0.5); color: var(--call-muted); font-size: 0.75rem; }
.tile__state i { grid-area: 1 / 1; font-style: normal; text-align: center; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.tile--bot[data-state="listen"] [data-s="listen"], .tile--bot[data-state="search"] [data-s="search"], .tile--bot[data-state="talk"] [data-s="talk"], .tile--bot[data-state="write"] [data-s="write"] { opacity: 1; }
.tile--bot[data-state="search"] .tile__state, .tile--bot[data-state="write"] .tile__state { color: var(--call-ring); }
.call__cc { display: flex; gap: 8px; justify-content: center; align-items: start; min-height: calc(2 * 1.4em + 12px); margin-inline: 8%; padding: 6px 12px; border-radius: 8px; background: oklch(12% 0.01 275 / 0.6); line-height: 1.4; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.call__cc.is-on { opacity: 1; }
.call__cc b { flex: none; font-weight: 500; color: var(--call-ring); }
.call__bar { display: flex; justify-content: center; gap: 10px; padding-top: 2px; }
.call__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: oklch(33% 0.014 275); }
.call__btn.is-on { background: oklch(84% 0.06 220); color: var(--call-bg); }
.call__btn--end { width: 56px; border-radius: 20px; background: oklch(58% 0.2 25); }
.call__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.call__sum { position: absolute; inset-inline-end: 16px; bottom: 64px; z-index: 3; display: grid; gap: 12px; width: min(400px, calc(100% - 32px)); padding: 16px; border-radius: 12px; background: var(--color-paper); color: var(--color-ink); box-shadow: 0 18px 48px oklch(10% 0.02 275 / 0.45); opacity: 0; transform: translateY(16px) scale(0.97); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); pointer-events: none; }
.call.is-ended .call__sum { opacity: 1; transform: none; }
.call.is-ended .call__grid, .call.is-ended .call__bar { opacity: 0.35; }
.call__sum-head { display: flex; align-items: center; gap: 10px; }
.call__sum-head b { font-weight: 500; font-size: var(--text-md); }
.call__sum-av { width: 30px; height: 30px; border-radius: 50%; background: url("assets/call/anunnaki.webp") center / cover; flex: none; }
.call__chip { padding: 2px 9px; border-radius: 99px; background: var(--color-paper-3); font-size: 0.75rem; font-weight: 500; }
.call__chip.is-done { background: oklch(90% 0.06 160); color: oklch(32% 0.08 160); }
.call__points { display: grid; gap: 8px; padding-inline-start: 18px; list-style: disc; color: var(--color-ink-2); line-height: 1.4; }
.call__points li { opacity: 0; transform: translateY(6px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.call__points li.is-on { opacity: 1; transform: none; }
.call__sum-foot { display: flex; align-items: center; gap: 8px; padding-top: 4px; border-top: 1px solid var(--color-rule); }
.call__to { color: var(--color-muted); font-size: 0.8125rem; padding-top: 8px; }
.call__ghost, .call__go { margin-top: 8px; padding: 7px 12px; border-radius: 8px; font-weight: 500; font-size: 0.8125rem; }
.call__ghost { color: var(--color-ink-2); }
.call__go { background: var(--color-ink); color: var(--color-paper); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.call__go.is-press { transform: scale(0.97); }
.call__go.is-done { background: oklch(46% 0.1 160); }
@media (max-width: 60rem) { .meet__head, .meet__fig { grid-column: 1 / -1; } }
@media (max-width: 40rem) {
  .call { aspect-ratio: auto; padding: 8px; gap: 8px; border-radius: 10px; }
  .call__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 27vw; gap: 6px; }
  .call__cc { margin-inline: 0; font-size: 0.8125rem; }
  .call__bar { justify-content: flex-start; gap: 8px; }   /* the kit's pause button sits bottom-right */
  .call__btn { width: 34px; height: 34px; } .call__btn--end { width: 46px; }
  .call__btn svg { width: 17px; height: 17px; }
  .call__sum { inset-inline: 8px; bottom: 52px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
