/* Hallmark · shape: Scene-per-tool · genre: atmospheric · theme: Refract (deal 2/3, seed crm-photography-studios-whatsapp-f375·9e13200d·2026-11-20·r0) · job: sign up · draw: by request, Refract chosen from four proposals
 * hero: centred head over a stage of three clear panels lying in a field of moving water light · nav: edge-aligned, wordmark, four links, language, login and one pill · footer: colophon block · imagery: the product's steps built as clear panels · signature: one enquiry travelling across three panels lying in live water caustics · refract: water/pool
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the lower sections are ruled lists so the two lit grounds (hero, close) carry all the colour */
/* waive 1: Funnel Display and Funnel Sans are not allowed by the site CSP, so the self-hosted DM Sans (display) and Inter (body) take the two roles through the tokens */
/* waive 13: the feature rows reuse existing translated descriptions, so the page is long by design (one scene per tool) */
/* waive 19: the dashes sit in existing translated strings (msgids) that are reused so every language keeps working */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --container: 1240px;
  --font-icons: "Font Awesome 6 Free";
  --color-nav: color-mix(in oklab, var(--color-paper) 90%, transparent);
  --color-scrim: color-mix(in oklab, var(--color-ink) 40%, transparent);
  --color-clear: color-mix(in oklab, var(--color-light) 82%, transparent);
}

body.v3 { background: var(--color-paper); }
.v3 h1, .v3 h2 { line-height: 1.02; }
.v3 h3 { font-weight: 500; letter-spacing: -0.015em; }
.v3 .container { max-width: var(--container); }
.v3 section { padding-block: var(--section-gap); }
.v3 section.v3-hero { padding-block: 0; }
.v3 p:not([class]), .v3 li p { color: var(--color-ink-2); }
.muted { color: var(--color-muted); }

/* ---------- nav ---------- */
.v3-nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-nav); border-bottom: var(--rule-hair) solid var(--color-rule); }
.v3-nav .container { display: flex; align-items: center; gap: var(--space-lg); min-height: 68px; }
.v3-brand { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none; font-family: var(--font-display); font-weight: 500; margin-right: auto; }
.v3-brand img { width: 32px; height: 32px; border-radius: var(--radius-inner); }
.v3-links { display: flex; gap: var(--space-lg); }
.v3-links a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding: var(--space-xs) 0; transition: color var(--dur-micro) var(--ease-out); }
.v3-links a:hover { color: var(--color-ink); }
.v3-tools { display: flex; align-items: center; gap: var(--space-sm); }
.v3-login { font-size: var(--text-sm); font-weight: 500; text-decoration: none; padding: var(--space-xs) var(--space-sm); }
.v3-login:hover, .v3-footer a:hover, .note a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }

.next-language-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.next-language-menu { position: relative; }
.next-language-trigger { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-clear); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; cursor: pointer; }
.next-language-trigger i { font-size: 0.7em; color: var(--color-muted); }
.next-language-options { position: absolute; right: 0; top: calc(100% + var(--space-xs)); min-width: 110px; padding: var(--space-2xs); border-radius: var(--radius-inner); background: var(--color-light); box-shadow: var(--edge-light), var(--shadow-card); display: none; z-index: var(--z-dropdown); }
.next-language-menu.open .next-language-options { display: block; }
.next-language-option { display: flex; align-items: center; gap: var(--space-xs); width: 100%; padding: var(--space-sm) var(--space-md); border: 0; border-radius: var(--radius-inner); background: transparent; color: var(--color-ink); font-size: var(--text-sm); cursor: pointer; text-align: left; }
.next-language-option:hover, .next-language-option.active { background: var(--color-accent-soft); }

/* ---------- controls: pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 500; font-size: var(--text-md); text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: var(--edge-light), var(--shadow-card); }
.btn--primary:hover { background: var(--color-accent-hi); }
.btn--secondary { background: var(--color-clear); color: var(--color-ink); box-shadow: var(--edge-light), 0 0 0 1px var(--color-rule), var(--shadow-card); }
.btn--secondary:hover { transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--color-paper-3); color: var(--color-muted); box-shadow: none; cursor: not-allowed; }

/* ---------- the light ---------- */
.lit { position: relative; isolation: isolate; }
.light { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; background: var(--color-shade); -webkit-mask-image: linear-gradient(to right, transparent 28%, var(--color-ink) 60%); mask-image: linear-gradient(to right, transparent 28%, var(--color-ink) 60%); }
.light--close { -webkit-mask-image: linear-gradient(to right, transparent 36%, var(--color-ink) 66%); mask-image: linear-gradient(to right, transparent 36%, var(--color-ink) 66%); }
.clear { background: var(--color-clear); border-radius: var(--radius-card); box-shadow: var(--edge-light), var(--shadow-card); }

/* ---------- hero: centred head, the stage lies in the light ---------- */
.v3-hero { text-align: center; overflow: clip; border-bottom: var(--rule-hair) solid var(--color-rule); }
.v3-hero .head { padding-top: var(--space-3xl); }
.v3-hero h1 { max-width: 14ch; margin-inline: auto; font-size: clamp(2.75rem, 6.2vw + 0.5rem, 6rem); font-weight: 500; }
.v3-hero .lead { margin: var(--space-lg) auto 0; color: var(--color-muted); }
.v3-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); }
.link-arrow { color: var(--color-accent); font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.link-arrow::after { content: "\203A"; margin-left: var(--space-xs); }

.hero-stage { margin-top: var(--space-2xl); padding: var(--space-3xl) 0 var(--space-3xl); }
.hero-stage .light { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, var(--color-ink) 38%); mask-image: linear-gradient(to bottom, transparent 0%, var(--color-ink) 38%); }
.stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); text-align: left; align-items: start; }
.stage article { padding: var(--space-xl); display: grid; gap: var(--space-sm); }
.stage article:nth-child(2) { margin-top: var(--space-xl); box-shadow: var(--edge-light), var(--shadow-cast); }
.stage .tag { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.stage h3 { font-size: var(--text-2xl); font-family: var(--font-display); font-weight: 500; line-height: 1.05; }
.stage .bubble { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner); background: var(--color-accent-soft); font-size: var(--text-sm); color: var(--color-ink); }
.stage .ok { font-size: var(--text-sm); font-weight: 500; color: var(--color-accent); }
.stage .ok i { margin-right: var(--space-xs); }

/* ---------- intro statement ---------- */
.intro { text-align: center; }
.intro p { max-width: 28ch; margin: 0 auto; font-family: var(--font-display); font-size: clamp(1.75rem, 3vw + 0.75rem, 3.25rem); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1.12; color: var(--color-ink); }
.steps { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }
.steps li { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-rule); font-size: var(--text-sm); font-weight: 500; }
.steps i { color: var(--color-accent); }

/* ---------- scenes ---------- */
.scene { text-align: center; padding-block: var(--section-gap); }
.scene.band { background: var(--color-paper-2); }
.scene h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(2.5rem, 5vw + 0.75rem, 5.25rem); font-weight: 500; line-height: 1; }
.scene .lead { margin: var(--space-lg) auto 0; color: var(--color-muted); max-width: 44ch; }
.showcase { margin: var(--space-3xl) auto var(--space-2xl); max-width: 1040px; text-align: left; }
.hl { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); text-align: left; }
.hl li { display: grid; gap: var(--space-xs); align-content: start; }
.hl i { color: var(--color-accent); font-size: var(--text-xl); margin-bottom: var(--space-xs); }
.hl h3 { font-size: var(--text-lg); font-weight: 600; }
.hl p { color: var(--color-ink-2); font-size: var(--text-sm); }

/* chat */
.chat-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-lg); align-items: center; }
.panel { padding: var(--space-xl); background: var(--color-light); border-radius: var(--radius-card); box-shadow: var(--edge-light), var(--shadow-cast); }
.panel .ph { display: flex; align-items: center; gap: var(--space-sm); padding-bottom: var(--space-md); margin-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); font-weight: 600; }
.panel .ph i { color: var(--color-accent); font-size: var(--text-lg); }
.msg { max-width: 80%; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); font-size: var(--text-sm); margin-bottom: var(--space-sm); }
.msg--in { background: var(--color-paper-2); border-bottom-left-radius: var(--space-3xs); }
.msg--out { background: var(--color-accent); color: var(--color-accent-ink); margin-left: auto; border-bottom-right-radius: var(--space-3xs); }
.doc h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); }
.rows { list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-2); }
.rows i { color: var(--color-accent); }

/* agenda + kanban */
.agenda-wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-lg); align-items: start; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-xs); }
.week span { height: 44px; border-radius: var(--radius-inner); background: var(--color-paper-2); }
.week span.on { background: var(--color-accent-soft); box-shadow: inset 0 0 0 1px var(--color-shade-2); }
.week span.hi { background: var(--color-accent); }
.week span.off { background: var(--color-paper-3); opacity: 0.6; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); margin: 0; }
.col { display: grid; gap: var(--space-xs); align-content: start; }
.col h3 { font-size: var(--text-sm); color: var(--color-muted); font-weight: 500; margin-bottom: var(--space-2xs); }
.col .card { padding: var(--space-sm) var(--space-md); font-size: var(--text-sm); display: flex; align-items: center; gap: var(--space-xs); background: var(--color-paper-2); border-radius: var(--radius-inner); }
.col .card i { color: var(--color-accent); }

/* gallery contact sheet */
.sheet { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-xs); }
.sheet span { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-inner); background: linear-gradient(160deg, var(--color-shade), var(--color-shade-2)); display: grid; place-items: end start; padding: var(--space-xs); font-size: var(--text-xs); }
.sheet span:nth-child(3n+2) { background: linear-gradient(200deg, var(--color-paper-3), var(--color-shade)); }
.sheet span:nth-child(4n) { background: linear-gradient(120deg, var(--color-accent-soft), var(--color-shade-2)); }
.sheet span.flag { opacity: 0.55; }
.sheet span.flag::after { content: attr(data-label); position: absolute; left: var(--space-xs); bottom: var(--space-xs); padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-inner); background: var(--color-light); color: var(--color-ink); font-weight: 500; }
.sheet span.pick { box-shadow: 0 0 0 2px var(--color-accent); }
.sheet span.pick::after { content: "\f00c"; font-family: var(--font-icons); font-weight: 900; position: absolute; right: var(--space-xs); top: var(--space-xs); width: 22px; height: 22px; border-radius: var(--radius-inner); display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); font-size: 11px; }

/* money documents */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); align-items: start; }
.docs .panel:nth-child(2) { margin-top: var(--space-xl); }
.meter { height: 6px; border-radius: var(--radius-pill); background: var(--color-paper-3); margin-top: var(--space-md); overflow: clip; }
.meter span { display: block; height: 100%; width: 66%; background: var(--color-accent); border-radius: var(--radius-pill); }
.paid { display: inline-flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-accent); }

/* portal */
.portal { max-width: 560px; margin-inline: auto; }
.portal ul { list-style: none; margin: 0; padding: 0; }
.portal li { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); font-weight: 500; }
.portal li:first-child { border-top: 0; }
.portal li i { width: 36px; height: 36px; border-radius: var(--radius-inner); background: var(--color-accent-soft); color: var(--color-accent); display: grid; place-items: center; }
.portal li span { margin-left: auto; color: var(--color-muted); font-size: var(--text-sm); font-weight: 400; }

/* more tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); margin-top: var(--space-3xl); text-align: left; }
.tiles article { padding: var(--space-xl); background: var(--color-light); border-radius: var(--radius-card); box-shadow: var(--edge-light), var(--shadow-card); display: grid; gap: var(--space-sm); align-content: start; min-height: 260px; }
.tiles i { font-size: var(--text-2xl); color: var(--color-accent); margin-bottom: var(--space-md); }
.tiles h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); }
.tiles p { color: var(--color-ink-2); font-size: var(--text-sm); }

/* close */
.v3-final { text-align: center; border-block: var(--rule-hair) solid var(--color-rule); overflow: clip; padding-block: var(--section-gap-l); }
.v3-final .light { -webkit-mask-image: linear-gradient(to bottom, var(--color-ink) 0%, transparent 85%); mask-image: linear-gradient(to bottom, var(--color-ink) 0%, transparent 85%); opacity: 0.8; }
.v3-final h2 { max-width: 16ch; margin: 0 auto; font-size: clamp(2.5rem, 5vw + 0.5rem, 5rem); font-weight: 500; }
.v3-final p { margin: var(--space-lg) auto 0; color: var(--color-ink-2); max-width: 46ch; }
.v3-final .v3-actions { margin-top: var(--space-xl); }

.v3-footer { padding-block: var(--space-xl); background: var(--color-paper); }
.v3-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-xl); }
.v3-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.v3-footer a { font-size: var(--text-sm); color: var(--color-muted); text-decoration: none; }
.v3-footer a:hover { color: var(--color-ink); }

/* scroll reveal: progressive, visible by default */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(48px) scale(0.985); } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }

/* ---------- demo modal ---------- */
.next-demo-modal { position: fixed; inset: 0; z-index: var(--z-modal); display: none; align-items: center; justify-content: center; padding: var(--space-md); }
.next-demo-modal.open { display: flex; }
.next-demo-backdrop { position: absolute; inset: 0; background: var(--color-scrim); }
.next-demo-dialog { position: relative; width: min(480px, 100%); max-height: calc(100svh - 32px); overflow: auto; padding: var(--space-xl); display: grid; gap: var(--space-lg); background: var(--color-light); box-shadow: var(--edge-light), var(--shadow-cast); border-radius: var(--radius-card); }
.next-demo-dialog h2 { font-size: var(--text-2xl); }
.next-demo-dialog p { color: var(--color-muted); font-size: var(--text-sm); }
.next-demo-close { position: absolute; top: var(--space-sm); right: var(--space-sm); width: 40px; height: 40px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); cursor: pointer; }
.next-demo-close:hover { background: var(--color-paper-2); color: var(--color-ink); }
.next-demo-form { display: grid; gap: var(--space-md); }
.next-demo-form label { display: grid; gap: var(--space-xs); font-size: var(--text-sm); font-weight: 500; }
.next-demo-form input { min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-inner); background: var(--color-light); color: var(--color-ink); }
.next-demo-form input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.next-demo-message { display: none; font-size: var(--text-sm); }
.next-demo-message.visible { display: block; }
.next-demo-message.success { color: var(--color-success); }
.next-demo-message.error { color: var(--color-error); }

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .v3-links { display: none; }
  .stage, .chat-wrap, .agenda-wrap, .docs, .tiles { grid-template-columns: minmax(0, 1fr); }
  .stage article:nth-child(2), .docs .panel:nth-child(2) { margin-top: 0; }
  .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .v3-tools .v3-login, .v3-tools .btn--sm { display: none; }
  .hl { grid-template-columns: minmax(0, 1fr); }
  .sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .board { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .btn--sm { width: auto; }
}

/* ---------- shared chrome: flags and the WhatsApp button ---------- */
:root { --color-whatsapp: oklch(72% 0.19 150); --color-whatsapp-ink: oklch(20% 0.05 150); }
.fi { width: 1.25em; height: 0.95em; border-radius: var(--space-3xs); box-shadow: 0 0 0 1px var(--color-rule); }
.next-language-trigger .fi, .next-language-option .fi, .studio-language-trigger .fi, .studio-language-option-btn .fi { flex: 0 0 auto; }
.v3-wa { position: fixed; right: var(--space-lg); bottom: var(--space-lg); z-index: var(--z-sticky-nav); display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-whatsapp); color: var(--color-whatsapp-ink); font-weight: 600; font-size: var(--text-sm); text-decoration: none; box-shadow: var(--edge-light), var(--shadow-card); transition: transform var(--dur-short) var(--ease-out); }
.v3-wa i { font-size: var(--text-xl); }
.v3-wa:hover { transform: translateY(-2px); }
.v3-wa:active { transform: translateY(1px); }
@media (max-width: 40rem) { .v3-wa { right: var(--space-md); bottom: var(--space-md); width: 52px; padding: 0; justify-content: center; } .v3-wa span { display: none; } }
