/* Hallmark · shape: logo, coloured package field, five pixels, promise, questions, close · genre: playful · theme: custom · job: hire · idea: "the pixels that break off Funoon's mark keep travelling down the page and become its pieces: the tick in a list, the colour of a service, each thing sold once" · vibe: "white, five logo colours, square pixels"
 * paper: oklch(100% 0 0) · accent: oklch(76.6% 0.170 60) · display: Rubik · body: Rubik · hero: the whole logo, large, with loose pixels drifting from it towards the headline · nav: wordmark, three links, one action · footer: the logo, three contacts, one line · imagery: none (the logo is the picture) · signature: five one-time offers as five square pixels in the logo's five colours
 * axes: light/geometric-sans/chromatic-multi · posture: saturated flat fields on white · brand: Funoon (spec 2026-11-20) · surface: absolute · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V5 · weakest: R, the hero's loose pixels and the pixel bullets are the same device twice; kept both because the bullets are how the idea reaches the cards, and cut a third use (a pixel border on every section) */
/* Hallmark · waive 7b · the ground and the cards are pure white because brand/BRAND.md sets Funoon's background at #FFFFFF · the brand file forbids tinted grounds, so white stays untinted on this page */
/* Hallmark · waive 24b · the 4px bottom padding on pills, the tabs and the badge is optical · Rubik's Arabic sits low in its line box, so pills carry a little more room under the words than over them */
@import url("./tokens.css");
@import url("./base.css");

body { font-size: var(--text-md); line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: var(--tracking-display); line-height: 1.16; margin: 0; }
h2 { font-size: var(--text-section); }
ul { list-style: none; margin: 0; padding: 0; }
bdi { direction: ltr; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }

/* ---- controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px var(--space-2xs); border: 0; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-dark); font-size: var(--text-md); font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--small { min-height: 44px; padding: 0 var(--space-lg) var(--space-2xs); font-size: var(--text-sm); }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; padding: var(--space-sm) var(--space-2xs); transition: opacity var(--dur-short); }
.link:hover { opacity: 0.6; }
.link:active { opacity: 0.4; }
.link:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }

/* ---- layers: the stream of pixels is one canvas behind everything that is read. Section grounds sit under it, containers over it. */
#stream { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.container { position: relative; z-index: 2; }
.packs, .vow, .close { position: relative; }
.edge { position: absolute; inset-inline: 0; width: 100%; pointer-events: none; fill: currentColor; }
.packs .edge { color: var(--field); transition: color var(--dur-long) var(--ease-out); } .vow .edge { color: var(--color-ink); } .close .edge { color: var(--color-violet); }
.edge__cut { fill: var(--color-paper); }
.measuring [data-rise], .measuring .hero__words > *, .measuring .hero__mark img { transform: none !important; }

/* ---- the live scenes: one small scene beside each heading, sized from its own box (cqw), each playing one short loop */
.head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); }
@media (min-width: 52rem) { .head { gap: var(--space-xl); } .head--wide { grid-template-columns: minmax(0, 1fr); justify-items: start; } }
.pix { position: relative; flex: none; width: clamp(112px, 29vw, 232px); aspect-ratio: 1; container-type: inline-size; }
.sc { position: absolute; inset: 0; font-size: 10.6cqw; font-weight: 800; line-height: 1; white-space: nowrap; }
.packs .sc { display: none; }
.packs[data-svc="web"] .sc--web, .packs[data-svc="app"] .sc--app, .packs[data-svc="content"] .sc--post { display: block; }
.sc__chip, .sc__bub { position: absolute; display: inline-grid; place-items: center; height: 23cqw; padding: 0 6.5cqw 1.6cqw; border-radius: 11.5cqw; background: var(--color-ink); color: var(--color-on-dark); }
.sc__chip--paper { background: var(--color-paper); color: var(--color-ink); }
.sc__chip--orange { background: var(--color-orange); color: var(--color-ink); }
.sc__bub { height: 27cqw; font-size: 11.4cqw; }
.sc__dots, .sc__say { grid-area: 1 / 1; }
.sc__dots { display: flex; gap: 3cqw; opacity: 0; }
.sc__dot { display: block; width: 5cqw; height: 5cqw; border-radius: 50%; background: currentColor; }
.sc__line { position: absolute; display: block; height: 4cqw; border-radius: 2cqw; background: var(--color-paper-3); }
/* website: a link, tapped, and it is online */
.sc--web .sc__url { inset-block-start: 24cqw; inset-inline: 0; margin-inline: auto; width: fit-content; }
.sc--web .sc__tag { inset-block-start: 62cqw; inset-inline-end: 3cqw; }
.sc__cursor { position: absolute; inset-block-start: 40cqw; left: 30cqw; width: 24cqw; height: 24cqw; fill: var(--color-ink); stroke: var(--color-paper); stroke-width: 1.6; stroke-linejoin: round; transform-origin: 20% 10%; }
.sc__ring { position: absolute; inset-block-start: 33cqw; left: 25cqw; width: 18cqw; height: 18cqw; border-radius: 50%; border: 1.4cqw solid var(--color-paper); opacity: 0; }
/* app: a phone, and a notification landing on it */
.sc__phone { position: absolute; inset-block-start: 7cqw; left: 12cqw; width: 48cqw; height: 86cqw; border-radius: 9cqw; background: var(--color-paper); }
.sc__block { position: absolute; display: block; inset: 16cqw 6cqw auto; height: 28cqw; border-radius: 4cqw; background: var(--color-paper-3); }
.sc__phone .sc__line { inset-inline: 6cqw 16cqw; inset-block-start: 51cqw; }
.sc__phone .sc__line + .sc__line { inset-inline-end: 24cqw; inset-block-start: 60cqw; }
.sc__note { inset-block-start: 20cqw; right: 2cqw; }
.sc__badge { position: absolute; display: grid; place-items: center; inset-block-start: 1cqw; left: 4cqw; width: 20cqw; height: 20cqw; border-radius: 50%; background: var(--color-orange); color: var(--color-ink); }
/* content: a post, and the heart it gets */
.sc--post .sc__tile { position: absolute; inset-block-start: 16cqw; left: 20cqw; width: 62cqw; height: 78cqw; border-radius: 8cqw; background: var(--color-paper); }
.sc__photo { position: absolute; display: block; inset: 6cqw 6cqw auto; height: 42cqw; border-radius: 4cqw; background: var(--color-violet); overflow: hidden; }
.sc__photo::after { content: ''; position: absolute; inset-block-end: -14cqw; left: -4cqw; width: 40cqw; height: 34cqw; border-radius: 50%; background: var(--color-cyan); }
.sc__photo::before { content: ''; position: absolute; inset-block-start: 6cqw; right: 7cqw; width: 10cqw; height: 10cqw; border-radius: 50%; background: var(--color-orange); }
.sc--post .sc__line { inset-inline: 6cqw 24cqw; inset-block-start: 56cqw; }
.sc--post .sc__line + .sc__line { inset-inline-end: 34cqw; inset-block-start: 65cqw; }
.sc__heart { position: absolute; inset-block-start: 53cqw; left: 6cqw; width: 17cqw; height: 17cqw; fill: var(--color-pink); }
.sc__float { position: absolute; inset-block-start: 50cqw; left: 4cqw; width: 14cqw; height: 14cqw; fill: var(--color-paper); opacity: 0; }
.sc__float--b { left: 0; inset-block-start: 58cqw; width: 10cqw; height: 10cqw; } .sc__float--c { left: 9cqw; inset-block-start: 64cqw; width: 8cqw; height: 8cqw; }
.sc--post .sc__tag { inset-block-start: 3cqw; right: 0; }
/* once: a reel that plays to its end, and is ready */
.sc--reel .sc__tile { position: absolute; inset-block-start: 6cqw; left: 16cqw; width: 50cqw; height: 86cqw; border-radius: 9cqw; background: var(--color-ink); }
.sc__play { position: absolute; inset: 0; margin: auto; width: 24cqw; height: 24cqw; fill: var(--color-paper); }
.sc__bar { position: absolute; display: block; inset: auto 7cqw 9cqw; height: 3.4cqw; border-radius: 2cqw; background: var(--color-ink-2); direction: ltr; overflow: hidden; }
.sc__fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--color-orange); transform-origin: left center; }
.sc--reel .sc__tag { inset-block-end: 20cqw; right: 2cqw; }
/* the promise: an eye that looks, and likes it */
.sc__lid { position: absolute; inset-block-start: 12cqw; inset-inline: 8cqw; height: 48cqw; border-radius: 50%; background: var(--color-paper); overflow: hidden; }
.sc__iris { position: absolute; display: block; inset: 0; margin: auto; width: 32cqw; height: 32cqw; border-radius: 50%; background: var(--color-cyan); }
.sc__iris::after { content: ''; position: absolute; inset: 0; margin: auto; width: 14cqw; height: 14cqw; border-radius: 50%; background: var(--color-ink); }
.sc--eye .sc__tag { inset-block-start: 68cqw; inset-inline: 0; margin-inline: auto; width: fit-content; }
/* questions: one asked, one answered */
.sc__q { inset-block-start: 6cqw; right: 8cqw; width: 40cqw; height: 40cqw; padding: 0 0 2cqw; font-size: 26cqw; background: var(--color-blue); border-end-end-radius: 3cqw; }
.sc__a { inset-block-start: 56cqw; left: 10cqw; min-width: 50cqw; border-end-start-radius: 3cqw; }
/* close: he writes, we answer */
.sc__me { inset-block-start: 14cqw; right: 2cqw; min-width: 46cqw; background: var(--color-paper); color: var(--color-ink); border-end-end-radius: 3cqw; }
.sc__us { inset-block-start: 54cqw; left: 2cqw; border-end-start-radius: 3cqw; }

/* ---- nav */
.nav { display: flex; align-items: center; gap: var(--space-lg); padding-block: var(--space-lg); }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: none; gap: var(--space-xl); margin-inline-start: auto; font-size: var(--text-sm); font-weight: 600; }
.nav__links a { text-decoration: none; padding: var(--space-xs) var(--space-3xs); transition: opacity var(--dur-short); }
.nav__links a:hover { opacity: 0.55; }
.nav .btn { margin-inline-start: auto; }
@media (min-width: 52rem) { .nav__links { display: flex; } .nav .btn { margin-inline-start: 0; } }

/* ---- hero: the logo whole; loose pixels drift from it towards the words */
.hero { display: grid; gap: var(--space-xl); padding-block: var(--space-lg) var(--space-3xl); }
.hero__mark { position: relative; direction: ltr; width: min(74%, 330px); margin-inline: 0 auto; }
.hero__mark img { width: 100%; }
.hero__pixels { position: absolute; inset: 0; }
.hero__pixels i { position: absolute; display: block; border-radius: 12%; }
.hero__words { display: grid; gap: var(--space-lg); }
.hero h1 { font-size: var(--text-display); line-height: 1.28; max-width: 12ch; }
.hero__lead { font-size: var(--text-lead); max-width: 30ch; color: var(--color-ink-2); }
.hero__go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xs); }
@media (min-width: 52rem) {
  .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--space-2xl); padding-block: var(--space-2xl) var(--space-4xl); min-height: min(78svh, 720px); }
  .hero__words { order: -1; }
  .hero__mark { width: min(100%, 470px); margin-inline: 0 auto; }
}

/* ---- packages: one field, the colour of the chosen service */
.packs { background: var(--field); color: var(--on-field); padding-block: var(--space-3xl); transition: background-color var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out); }
.packs[data-svc="web"], .panel[data-svc="web"] { --field: var(--color-orange); --on-field: var(--color-ink); --tone: var(--color-orange); }
.packs[data-svc="app"], .panel[data-svc="app"] { --field: var(--color-blue); --on-field: var(--color-on-dark); --tone: var(--color-blue); }
.packs[data-svc="content"], .panel[data-svc="content"] { --field: var(--color-pink); --on-field: var(--color-on-dark); --tone: var(--color-pink); }
.packs__head { display: grid; gap: var(--space-lg); }
.packs__head h2 { max-width: 16ch; }
.seg { display: none; }
.panel { margin-top: var(--space-2xl); }
.panel__name { font-size: var(--text-title); }
.always { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-lg); font-size: var(--text-sm); font-weight: 600; }
.always h4 { font-size: var(--text-sm); letter-spacing: 0; line-height: 1.6; }
.always ul { display: contents; }
.always li { position: relative; padding-inline-start: 18px; }
.always li::before { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: 0.55em; width: 10px; height: 10px; border-radius: 2px; background: currentColor; }
.always p { flex-basis: 100%; font-weight: 500; max-width: none; }
.tiers { display: grid; gap: var(--gap-columns); margin-top: var(--space-lg); }
.tier { position: relative; display: flex; flex-direction: column; background: var(--color-paper); color: var(--color-ink); border-radius: var(--radius-card); padding: var(--space-xl) var(--space-lg) var(--space-lg); }
.tier--best { background: var(--color-ink); color: var(--color-on-dark); box-shadow: var(--shadow-card); }
.tier__badge { position: absolute; inset-block-start: calc(var(--space-lg) * -0.6); inset-inline-start: var(--space-lg); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-xs); font-weight: 700; border-radius: var(--radius-pill); padding: var(--space-2xs) var(--space-md) var(--space-xs); box-shadow: 0 0 0 3px var(--color-ink); }
.tier h4 { font-size: var(--text-title); }
.tier__what { font-size: var(--text-sm); font-weight: 600; margin-top: var(--space-2xs); min-height: 3.2em; }
.tier__price { display: flex; align-items: baseline; gap: var(--space-sm); margin-top: var(--space-xs); font-weight: 600; font-size: var(--text-sm); }
.tier__price .num { font-variant-numeric: tabular-nums; font-size: var(--text-price); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.tier__price--quote { font-size: clamp(2rem, 1.5vw + 1.6rem, 2.7rem); font-weight: 800; line-height: 1.83; letter-spacing: var(--tracking-display); }
.tier__alt { font-size: var(--text-sm); color: var(--color-muted); }
.tier--best .tier__alt { color: var(--color-on-dark-2); }
.tier__plus { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 2px solid var(--color-rule); font-weight: 800; }
.tier--best .tier__plus { border-top-color: var(--color-ink-2); }
.tier__list { display: grid; gap: var(--space-sm); margin-block: var(--space-lg); padding-top: var(--space-lg); border-top: 2px solid var(--color-rule); }
.tier--best .tier__list { border-top-color: var(--color-ink-2); }
.tier__plus + .tier__list { border-top: 0; padding-top: 0; margin-top: var(--space-sm); }
.tier__list li { position: relative; padding-inline-start: calc(var(--px) + var(--space-sm)); font-weight: 500; }
.tier__list li::before { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: 0.42em; width: var(--px); height: var(--px); border-radius: 3px; background: var(--tone); }
.tier__ask { margin-top: auto; align-self: flex-start; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; padding: var(--space-sm) var(--space-3xs); transition: opacity var(--dur-short); }
.tier__ask:hover { opacity: 0.6; }
.tier__ask:active { opacity: 0.4; }
.tier__ask:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }
@media (min-width: 52rem) {
  .packs { padding-block: var(--space-4xl); }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .tier { padding: var(--space-xl); }
}
/* with script, the three services become three tabs over one field */
.js .seg { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); background: var(--color-paper); border-radius: var(--radius-pill); padding: var(--space-xs); justify-self: start; }
.seg button { position: relative; z-index: 1; min-height: 48px; padding: 0 var(--space-lg) var(--space-2xs); border: 0; border-radius: var(--radius-pill); background: none; color: var(--color-ink); font-weight: 700; font-size: var(--text-md); cursor: pointer; transition: color var(--dur-short) var(--ease-out), opacity var(--dur-short); }
.seg button:hover { opacity: 0.6; }
.seg button:active { opacity: 0.4; }
.seg button[aria-selected="true"] { color: var(--color-on-dark); opacity: 1; }
.seg button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.seg__thumb { position: absolute; inset-block: var(--space-xs); inset-inline-start: var(--space-xs); width: calc((100% - 2 * var(--space-xs)) / 3); border-radius: var(--radius-pill); background: var(--color-ink); transform: translateX(calc(var(--at, 0) * -100%)); transition: transform var(--dur-long) var(--ease-spring); }
.js .panel[hidden] { display: none; }
.js .panel__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .panel { margin-top: var(--space-lg); }
@media (max-width: 51.99rem) {
  .js .tiers { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: var(--space-md) var(--gutter) var(--space-lg); scrollbar-width: none; }
  .js .tiers::-webkit-scrollbar { display: none; }
  .js .tier { scroll-snap-align: start; }
  .js .tiers { margin-top: 0; } .js .always { margin-top: var(--space-xs); }
}

/* ---- once: five offers, five pixels, the logo's five colours */
.once { padding-block: var(--section-gap); }
.once h2 { max-width: 14ch; }
.once__grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px); gap: var(--gap-columns); margin-top: var(--space-xl); margin-inline: calc(var(--gutter) * -1); padding: var(--space-md) var(--gutter) var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.once__grid::-webkit-scrollbar { display: none; }
.px { scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--space-xs); aspect-ratio: 1; border-radius: var(--radius-card); padding: var(--space-lg); background: var(--tone); color: var(--on); transition: transform var(--dur-short) var(--ease-out); }
.px:hover { transform: translateY(-6px) rotate(-1.2deg); }
.px h3 { font-size: var(--text-title); line-height: 1.2; }
.px p { font-size: var(--text-lg); font-weight: 700; line-height: 1.35; }
.px .px__price { margin-top: auto; font-size: clamp(2.2rem, 2.2vw + 1.6rem, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; max-width: none; }
.px--orange { --tone: var(--color-orange); --on: var(--color-ink); } .px--cyan { --tone: var(--color-cyan); --on: var(--color-ink); }
.px--pink { --tone: var(--color-pink); --on: var(--color-on-dark); } .px--violet { --tone: var(--color-violet); --on: var(--color-on-dark); } .px--blue { --tone: var(--color-blue); --on: var(--color-on-dark); }
@media (min-width: 78rem) {
  .once__grid { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-inline: 0; padding: 0; overflow: visible; margin-top: var(--space-2xl); }
  .px { padding: var(--space-lg) var(--space-md) var(--space-md); } .px h3 { font-size: 1.375rem; } .px p { font-size: 1.1875rem; } .px .px__price { font-size: 2.75rem; }
}

/* ---- the promise, on ink */
.vow { background: var(--color-ink); color: var(--color-on-dark); padding-block: var(--space-3xl); }
.vow__in { display: grid; gap: var(--space-xl); }
.vow h2 { font-size: var(--text-display); line-height: 1.28; max-width: 9ch; }
.vow__list { display: grid; gap: var(--space-xl); }
.vow__list li { display: grid; gap: var(--space-xs); padding-inline-start: calc(var(--px) + 16px); position: relative; }
.vow__list li::before { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: 0.5em; width: var(--px); height: var(--px); border-radius: 3px; background: var(--c); }
.vow__list li:nth-child(1) { --c: var(--color-orange); } .vow__list li:nth-child(2) { --c: var(--color-pink); } .vow__list li:nth-child(3) { --c: var(--color-cyan); }
.vow__list h3 { font-size: var(--text-title); }
.vow__list p { color: var(--color-on-dark-2); max-width: 34ch; }
@media (min-width: 52rem) { .vow { padding-block: var(--space-4xl); } .vow__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--space-3xl); } }

/* ---- questions */
.faq { padding-block: var(--section-gap); display: grid; gap: var(--space-2xl); }
.faq h2 { max-width: 13ch; }
.faq__list { display: grid; gap: var(--space-sm); }
details { background: var(--color-paper-2); border-radius: var(--radius-card); transition: background-color var(--dur-short) var(--ease-out); }
details[open] { background: var(--color-paper-3); }
summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); list-style: none; cursor: pointer; padding: var(--space-lg); font-size: var(--text-title); font-weight: 700; line-height: 1.3; border-radius: var(--radius-card); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 22px; height: 22px; background: linear-gradient(var(--color-ink) 0 0) center / 100% 4px no-repeat, linear-gradient(var(--color-ink) 0 0) center / 4px 100% no-repeat; border-radius: 2px; transition: transform var(--dur-long) var(--ease-spring); }
details[open] summary::after { transform: rotate(135deg); }
summary:hover { color: var(--color-ink-2); }
summary:active { opacity: 0.7; }
summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
details > div { padding: 0 var(--space-lg) var(--space-lg); }
details p { max-width: 52ch; }
@media (min-width: 52rem) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; } .faq > .head { position: sticky; top: var(--space-2xl); } summary, details > div { padding-inline: var(--space-xl); } }

/* ---- close, on the logo's violet */
.close { background: var(--color-violet); color: var(--color-on-dark); padding-block: var(--space-3xl); }
.close__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg) var(--space-md); justify-items: start; }
.close h2 { grid-column: 1 / -1; font-size: var(--text-display); line-height: 1.28; max-width: 11ch; }
.close p { grid-column: 1 / -1; font-size: var(--text-lg); font-weight: 700; }
@media (min-width: 52rem) { .close { padding-block: var(--space-4xl); } .close__in { column-gap: var(--space-xl); } .close h2, .close p { grid-column: 1; } .close .pix { grid-column: 2; grid-row: 1 / span 3; width: 220px; } }

/* ---- footer */
.foot { display: grid; gap: var(--space-xl); padding-block: var(--space-2xl) var(--space-xl); }
.foot__logo { display: flex; align-items: center; gap: var(--space-md); direction: ltr; justify-self: start; }
.foot__logo img:first-child { height: 64px; width: auto; } .foot__logo img:last-child { height: 40px; width: auto; }
.foot__links { display: grid; gap: var(--space-2xs); font-weight: 600; }
.foot__links a { display: inline-block; padding: var(--space-xs) 0; text-decoration: none; transition: opacity var(--dur-short); }
.foot__links a:hover { opacity: 0.55; }
.foot__legal { color: var(--color-muted); font-size: var(--text-xs); }
@media (min-width: 52rem) { .foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .foot__legal { grid-column: 1 / -1; } }

/* ---- motion: pixels arrive from the logo and drift; cards and squares rise once. Nothing is hidden without script. */
@media (prefers-reduced-motion: no-preference) {
  .hero__pixels i { animation: emit 900ms var(--ease-spring) both, drift 7s var(--ease-in-out) infinite alternate; animation-delay: var(--d), calc(var(--d) + 900ms); }
  @keyframes emit { from { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(0.6); } }
  @keyframes drift { to { translate: var(--dx) var(--dy); } }
  .js .pix .sc { opacity: 0; }
  .js .pix.is-in .sc { opacity: 1; animation: sc-in 640ms var(--ease-out) backwards; }
  @keyframes sc-in { from { opacity: 0; transform: translateX(calc(var(--from, -1) * 56px)); } }
  .sc [class] { animation-duration: 4.8s; animation-iteration-count: infinite; animation-timing-function: var(--ease-out); }
  .js .pix:not(.is-live) .sc [class] { animation-play-state: paused; }
  .sc__tag, .sc__us { animation-name: pop-late; } .sc--web .sc__tag { animation-name: pop-mid; } .sc--post .sc__tag, .sc__q, .sc__me { animation-name: pop-first; } .sc__a { animation-name: pop-second; }
  @keyframes pop-first { 0%, 2% { opacity: 0; transform: translateY(5cqw) scale(0.9); } 9%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  @keyframes pop-second { 0%, 16% { opacity: 0; transform: translateY(5cqw) scale(0.9); } 23%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  @keyframes pop-mid { 0%, 40% { opacity: 0; transform: translateY(5cqw) scale(0.9); } 47%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
  @keyframes pop-late { 0%, 62% { opacity: 0; transform: translateY(5cqw) scale(0.9); } 69%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  .sc__dots { animation-name: dots; } .sc__say { animation-name: say; } .sc__dots .sc__dot { animation-name: dot; animation-duration: 1.1s; animation-timing-function: var(--ease-in-out); } .sc__dot:nth-child(2) { animation-delay: 140ms; } .sc__dot:nth-child(3) { animation-delay: 280ms; }
  @keyframes dots { 0%, 50% { opacity: 1; } 54%, 100% { opacity: 0; } }
  @keyframes say { 0%, 52% { opacity: 0; } 58%, 100% { opacity: 1; } }
  @keyframes dot { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-3.4cqw); } }
  .sc__cursor { animation-name: web-cursor; animation-timing-function: var(--ease-in-out); } .sc__url { animation-name: web-url; } .sc__ring { animation-name: web-ring; animation-timing-function: linear; }
  @keyframes web-cursor { 0% { opacity: 0; transform: translate(-30cqw, 30cqw); } 8% { opacity: 1; } 28%, 33% { transform: none; } 36% { transform: scale(0.84); } 40%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(-30cqw, 30cqw); } }
  @keyframes web-url { 0%, 33%, 41%, 100% { transform: none; } 36% { transform: scale(0.94); } }
  @keyframes web-ring { 0%, 35% { opacity: 0; transform: scale(0.5); } 38% { opacity: 1; } 58%, 100% { opacity: 0; transform: scale(2.2); } }
  .sc__note { animation-name: app-note; } .sc__phone { animation-name: app-phone; } .sc__badge { animation-name: app-badge; }
  @keyframes app-note { 0%, 10% { opacity: 0; transform: translateY(-16cqw); } 20%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-10cqw); } }
  @keyframes app-phone { 0%, 19%, 31%, 100% { transform: none; } 22% { transform: rotate(-3deg); } 25% { transform: rotate(3deg); } 28% { transform: rotate(-2deg); } }
  @keyframes app-badge { 0%, 22% { opacity: 0; transform: scale(0.5); } 30%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: scale(0.7); } }
  .sc__heart { animation-name: post-heart; } .sc__float { animation-name: post-float; } .sc__float--b { animation-delay: 260ms; } .sc__float--c { animation-delay: 520ms; }
  @keyframes post-heart { 0%, 28%, 44%, 100% { transform: none; } 34% { transform: scale(1.5); } }
  @keyframes post-float { 0%, 32% { opacity: 0; transform: translate(14cqw, 6cqw) scale(0.6); } 42% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(0, -40cqw); } }
  .sc__fill { animation-name: reel-fill; animation-timing-function: linear; } .sc__play { animation-name: reel-play; }
  @keyframes reel-fill { 0%, 6% { transform: scaleX(0.04); } 60%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0.04); } }
  @keyframes reel-play { 0%, 4%, 14%, 100% { transform: none; } 8% { transform: scale(0.82); } }
  .sc__iris { animation-name: eye-look; animation-timing-function: var(--ease-in-out); } .sc__lid { animation-name: eye-blink; }
  @keyframes eye-look { 0%, 8%, 60%, 100% { transform: none; } 16%, 30% { transform: translateX(-14cqw); } 40%, 52% { transform: translateX(12cqw); } }
  @keyframes eye-blink { 0%, 31%, 37%, 86%, 92%, 100% { transform: none; } 34%, 89% { transform: scaleY(0.08); } }
  .js .hero__words > * { animation: rise 700ms var(--ease-out) both; } .js .hero__words > :nth-child(2) { animation-delay: 90ms; } .js .hero__words > :nth-child(3) { animation-delay: 180ms; }
  .js .hero__mark img { animation: pop 800ms var(--ease-spring) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  @keyframes pop { from { opacity: 0; transform: scale(0.9) rotate(-6deg); } }
  .js .panel.is-swap .tier { animation: rise 520ms var(--ease-out) both; } .js .panel.is-swap .tier:nth-child(2) { animation-delay: 70ms; } .js .panel.is-swap .tier:nth-child(3) { animation-delay: 140ms; }
  .js [data-rise] { opacity: 0; transform: translateY(28px) scale(0.96); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-spring); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-rise].is-in { opacity: 1; transform: none; }
  .js .px.is-in:hover { transform: translateY(-6px) rotate(-1.2deg); transition-delay: 0ms; }
  details[open] > div { animation: rise 380ms var(--ease-out) both; }
}

/* ---- the version without levels and prices: three services as squares, and the demo request ---- */
.px .px__more { margin-top: auto; font-size: var(--text-sm); font-weight: 500; opacity: 0.85; }
@media (min-width: 60rem) { .once__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .once__grid--3 .px { aspect-ratio: 4 / 3; padding: var(--space-xl) var(--space-lg) var(--space-lg); } }
.ask { padding-block: var(--section-gap); }
.ask h2 { max-width: 12ch; }
.ask .sc--web { display: block; }
.ask__form { display: grid; gap: var(--space-lg); margin-top: var(--space-xl); max-width: 46rem; }
.ask__lead { font-size: var(--text-lead); font-weight: 700; }
.ask__row { display: grid; gap: var(--space-lg); }
@media (min-width: 40rem) { .ask__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: var(--space-xs); font-weight: 700; }
.field small, .pick small { font-weight: 500; color: var(--color-muted); font-size: var(--text-xs); margin-inline-start: var(--space-xs); }
.field input, .field textarea { width: 100%; min-height: 56px; padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-ink); border-radius: var(--radius-chip); background: var(--color-paper); color: var(--color-ink); font: inherit; font-weight: 500; }
.field input[dir="ltr"] { text-align: start; }
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus-visible, .field textarea:focus-visible, .pick__one input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.pick legend { padding: 0; margin-bottom: var(--space-sm); font-weight: 700; }
.pick__one { position: relative; display: inline-flex; cursor: pointer; }
.pick__one input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pick__one span { display: inline-flex; align-items: center; min-height: 56px; padding: 0 var(--space-lg) var(--space-2xs); border: 2px solid var(--color-ink); border-radius: var(--radius-pill); font-weight: 700; font-size: var(--text-lg); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.pick__one:active span { transform: scale(0.97); }
.pick__one--orange { --tone: var(--color-orange); --on: var(--color-ink); } .pick__one--blue { --tone: var(--color-blue); --on: var(--color-on-dark); } .pick__one--pink { --tone: var(--color-pink); --on: var(--color-on-dark); }
.pick__one input:checked + span { background: var(--tone); border-color: var(--tone); color: var(--on); }
.ask__trap { position: absolute; inset-inline-start: -200vw; width: 1px; height: 1px; overflow: hidden; }
.ask__error { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-chip); background: var(--color-paper-3); font-weight: 700; }
.ask__go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.ask__fine { color: var(--color-muted); font-size: var(--text-xs); }
.ask__done { margin-top: var(--space-xl); max-width: 40rem; display: grid; gap: var(--space-sm); justify-items: start; padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-on-dark); }
.ask__done h3 { font-size: var(--text-section); line-height: 1.15; }
.ask__done p { color: var(--color-on-dark-2); font-size: var(--text-md); }
.ask__done:focus { outline: 0; }
@media (prefers-reduced-motion: reduce) { .pick__one span { transition: none; } }
.nav__lang { margin-inline-start: auto; font-weight: 700; font-size: var(--text-sm); text-decoration: none; padding: var(--space-sm) var(--space-xs); border-radius: 6px; transition: opacity var(--dur-short); }
.nav__lang:hover { opacity: 0.55; }
.nav__lang:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.nav__lang + .btn { margin-inline-start: 0; }
@media (min-width: 52rem) { .nav__lang { margin-inline-start: 0; } }
@media (prefers-reduced-motion: reduce) { .nav__lang { transition: none; } }

/* ---- the journey: five steps on one dotted line, each marked with a square in one of the logo's colours ---- */
.trip { padding-block: var(--section-gap); }
.trip h2 { font-size: var(--text-section); line-height: 1.28; max-width: 14ch; }
.trip__list { list-style: none; padding: 0; margin-top: var(--space-2xl); display: grid; gap: var(--space-xl); position: relative; }
/* the dotted line runs from each square to the next one, and stops at the last */
.trip__list li:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 12px; inset-block: 34px calc(-1 * var(--space-xl) + 2px); width: 0; border-inline-end: 3px dotted var(--color-paper-3); }
.trip__list li { position: relative; display: grid; gap: var(--space-xs); padding-inline-start: calc(28px + var(--space-lg)); }
.trip__list i { position: absolute; inset-inline-start: 0; inset-block-start: 0.15em; width: 28px; height: 28px; border-radius: 7px; background: var(--c); }
.trip__list li:nth-child(1) { --c: var(--color-orange); } .trip__list li:nth-child(2) { --c: var(--color-pink); } .trip__list li:nth-child(3) { --c: var(--color-violet); }
.trip__list li:nth-child(4) { --c: var(--color-blue); } .trip__list li:nth-child(5) { --c: var(--color-cyan); }
.trip__list h3 { font-size: var(--text-title); line-height: 1.3; }
.trip__list p { color: var(--color-muted); max-width: 30ch; }
@media (min-width: 60rem) {
  .trip__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap-columns); }
  .trip__list li:not(:last-child)::before { inset-block: 12px auto; inset-inline: 36px calc(-1 * var(--gap-columns) + 8px); width: auto; height: 0; border-inline-end: 0; border-block-start: 3px dotted var(--color-paper-3); }
  .trip__list li { padding-inline-start: 0; padding-block-start: calc(28px + var(--space-lg)); align-content: start; }
  .trip__list i { inset-block-start: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  /* the steps come in from the side they are read from, one after the other, and stay */
  .js .trip__list [data-rise] { transform: translateX(56px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
  .js .trip__list [data-rise].is-in { transform: none; }
}

/* ---- why a site: four questions arrive one after the other, then one answer takes their place ---- */
.same { padding-block: var(--section-gap) 0; display: grid; gap: var(--space-xl); align-items: center; }
.same h2 { font-size: var(--text-section); line-height: 1.28; max-width: 13ch; }
.same p { margin-top: var(--space-md); font-size: var(--text-lead); color: var(--color-muted); max-width: 30ch; }
.pix--wide { width: 100%; max-width: 24rem; aspect-ratio: 5 / 4; }
.sc--same { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3.2cqw; font-size: 6.4cqw; font-weight: 700; }
.sc__msg { display: inline-flex; align-items: center; height: 13.5cqw; padding: 0 5cqw 0.6cqw; border-radius: 7cqw; border-end-start-radius: 1.6cqw; background: var(--color-paper-3); color: var(--color-ink); }
.sc__one { align-self: flex-end; display: inline-flex; align-items: center; height: 15cqw; padding: 0 5.4cqw 0.6cqw; border-radius: 7.5cqw; border-end-end-radius: 1.6cqw; background: var(--color-ink); color: var(--color-on-dark); font-weight: 800; }
@media (min-width: 52rem) { .same { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .pix--wide { justify-self: end; } }
@media (prefers-reduced-motion: no-preference) {
  .js .sc__msg { animation: q-in 9s var(--ease-out) infinite both; }
  .js .sc__msg2 { animation-delay: 0.7s; } .js .sc__msg3 { animation-delay: 1.4s; } .js .sc__msg4 { animation-delay: 2.1s; }
  .js .sc__one { animation: all-in 9s var(--ease-out) infinite both; }
  @keyframes q-in { 0% { opacity: 0; transform: translateY(40%) scale(0.92); } 5%, 42% { opacity: 1; transform: none; } 50%, 100% { opacity: 0.22; transform: none; } }
  @keyframes all-in { 0%, 46% { opacity: 0; transform: translateY(40%) scale(0.92); } 54%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
}
.trip__note { margin-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-xs); max-width: 60ch; }
