/* Nexus MGTM tokens */
:root {
/* Fez: warm white and sand, zellige green, Moroccan-flag red */
--ink: #fbf8f3;
--ink-2: #f3ede3;
--ink-3: #ffffff;
--ink-4: #ece5d8;
--ivory: #0f1a17;
--ivory-2: rgba(15, 26, 23, 0.72);
--ivory-3: rgba(15, 26, 23, 0.56);
--line: rgba(15, 26, 23, 0.1);
--line-2: rgba(15, 26, 23, 0.16);
--accent: #0f5c4a;
--accent-2: #0b4a3b;
--accent-soft: rgba(15, 92, 74, 0.1);
--teal: #0f5c4a;
--terracotta: #c1272d;
--paper: #ede6d9;
--paper-2: #e9e2d3;
--text: #0f1a17;
--text-2: #4f5a55;
--light-accent: #0f5c4a;
--line-dark: rgba(15, 26, 23, 0.12);
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
--sans: "Inter Tight", system-ui, -apple-system, sans-serif;
--serif: "Instrument Serif", Georgia, serif;
--mono: "JetBrains Mono", ui-monospace, monospace;
--gutter: clamp(16px, 4vw, 48px);
--max: 1240px;
--radius: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
margin: 0;
background: var(--ink);
color: var(--ivory);
font: 400 17px/1.6 var(--sans);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
overflow-x: clip;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent-2); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--accent-2); color: #fff; border-radius: 10px; transition: transform 200ms var(--ease-out); }
.skip:focus { transform: translateY(76px); }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
/* Type */
h1, h2 { font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; max-width: 22ch; }
h1 em {
font-family: var(--serif);
font-style: italic;
font-weight: 400;
letter-spacing: -0.01em;
color: var(--accent);
}
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--text-2); margin-bottom: 18px; }
.eyebrow--accent { color: var(--accent); }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--ivory-2); max-width: 58ch; margin-top: 24px; }
.light .lede { color: var(--text-2); }
.head { max-width: 860px; margin-bottom: clamp(48px, 7vw, 88px); }
.head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }
.head--split .lede { margin-top: 0; }
/* word splitting for reveals */
.w { display: inline-block; }
/* Buttons */
.btn {
--bg: transparent;
display: inline-flex; align-items: center; justify-content: center; gap: 10px;
height: 52px; padding: 0 24px;
border-radius: 999px;
border: 1px solid transparent;
background: var(--bg);
font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
cursor: pointer;
transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
-webkit-tap-highlight-color: transparent;
white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.btn--primary { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--accent); border-color: transparent; box-shadow: 0 1px 2px rgba(15, 26, 23, 0.14); }
.btn--primary::before { content: ""; position: absolute; z-index: -2; left: 50%; top: 50%; width: 300%; aspect-ratio: 1; translate: -50% -50%; background: conic-gradient(from 0deg, transparent 0 290deg, rgba(255, 255, 255, 0.5) 340deg, transparent 360deg); animation: spin 3.2s linear infinite; }
.btn--primary::after { content: ""; position: absolute; z-index: -1; inset: 1.5px; border-radius: inherit; background: var(--accent); box-shadow: inset 0 -6px 10px rgba(255, 255, 255, 0.08); transition: filter 200ms ease; }
@keyframes spin { to { rotate: 360deg; } }
.btn--ghost { border-color: var(--line-2); color: var(--ivory); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
.btn--primary:hover::after { filter: brightness(1.12); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost:hover { border-color: var(--ivory-3); background: rgba(15, 26, 23, 0.05); }
}
/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 300ms ease, border-color 300ms ease, transform 400ms var(--ease-out); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(251, 248, 243, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory); }
.brand__mark { width: 26px; height: 26px; color: var(--accent); transition: transform 600ms var(--ease-out); }
.brand__name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand__name span { font: 500 11px var(--mono); letter-spacing: 0.1em; color: var(--accent); margin-left: 6px; vertical-align: 2px; }
@media (hover: hover) and (pointer: fine) { .brand:hover .brand__mark { transform: rotate(45deg); } }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--ivory-2); }
.nav__links a { position: relative; padding: 6px 0; transition: color 200ms ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ivory); transition: transform 250ms var(--ease-out); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__sheet { display: grid; gap: 4px; padding: 8px var(--gutter) 24px; background: rgba(251, 248, 243, 0.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__sheet[hidden] { display: none; }
.nav__sheet a:not(.btn) { padding: 14px 0; font-size: 20px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__sheet .btn { margin-top: 16px; }
.nav__sheet a { opacity: 0; transform: translateY(-6px); animation: sheetIn 300ms var(--ease-out) forwards; }
.nav__sheet a:nth-child(2) { animation-delay: 30ms; } .nav__sheet a:nth-child(3) { animation-delay: 60ms; }
.nav__sheet a:nth-child(4) { animation-delay: 90ms; } .nav__sheet a:nth-child(5) { animation-delay: 120ms; }
.nav__sheet a:nth-child(6) { animation-delay: 150ms; } .nav__sheet a:nth-child(7) { animation-delay: 180ms; }
@keyframes sheetIn { to { opacity: 1; transform: none; } }
/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 96px; overflow: hidden; }
.hero__grid { position: static; }
.hero__copy { position: relative; z-index: 2; max-width: min(780px, 46vw); }
.hero__title { font-size: clamp(46px, 5.2vw, 88px); line-height: 0.98; margin: 28px 0 28px; }
.hero__kicker { display: block; margin-bottom: 26px; font: 500 15px/1.45 var(--sans); letter-spacing: 0; color: var(--teal); text-wrap: balance; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: block; }
.hero__sub { font-size: clamp(17px, 1.35vw, 19px); color: var(--ivory-2); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.clocks { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 560px; }
.clocks div { display: grid; gap: 2px; }
.clocks dt { font-size: 13px; color: var(--ivory-3); }
.clocks dd { font: 500 20px var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.clocks div:first-child dd { color: var(--teal); }
/* sized with margins, not transforms, so the GSAP intro scale doesn't fight positioning */
.hero__globe { --g: min(60vw, 940px, 112svh); position: absolute; z-index: 1; top: 50%; right: max(-12vw, calc((100vw - var(--max)) / -2 - 4vw)); width: var(--g); height: var(--g); margin-top: calc(var(--g) / -2 + 48px); }
.hero__globe .globe, .arch { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__globe .globe { opacity: 0; transition: opacity 900ms ease; }
.hero__globe .globe.is-ready { opacity: 1; }
.arch { -webkit-mask-image: linear-gradient(#000 70%, transparent 97%); mask-image: linear-gradient(#000 70%, transparent 97%); }
.arch__line { fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: 0.45; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: archDraw 1.8s var(--ease-out) 0.2s forwards; }
.arch__line--outer { opacity: 0.25; stroke-width: 1.2; animation-delay: 0.35s; }
.arch__run { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 45 1000; stroke-dashoffset: 45; opacity: 0; animation: archRun 11s linear 2s infinite; }
.arch__key { fill: var(--ink); }
.arch__star { color: #006233; }
@keyframes archDraw { to { stroke-dashoffset: 0; } }
@keyframes archRun { 0% { stroke-dashoffset: 45; opacity: 0.8; } 100% { stroke-dashoffset: -1000; opacity: 0.8; } }
/* globe labels: flag + city, white with a soft shadow so they read over satellite imagery */
.gl-pin { position: relative; width: 0; height: 0; pointer-events: none; }
.gl-pin__label { position: absolute; display: flex; align-items: center; gap: 6px; white-space: nowrap; font: 500 12px/1 var(--sans); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 8px rgba(0, 0, 0, 0.45); }
.gl-pin__label img { width: 16px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.35); }
.gl-pin--home .gl-pin__label { font-size: 14px; font-weight: 600; }
.gl-pin--home .gl-pin__label img { width: 20px; height: 15px; }
/* small globes: client cities show just their flag, Casablanca's label sits above its marker */
.is-compact .gl-pin:not(.gl-pin--home) .gl-pin__label > span { display: none; }
.is-compact .gl-pin--home .gl-pin__label { transform: translate(-50%, calc(-100% - 10px)) !important; flex-direction: column; text-align: center; gap: 4px; }
.gl-pin__ar { display: block; margin-top: 4px; font: 500 13px/1 "Reem Kufi", var(--sans); }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line-2); border-radius: 999px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--accent); animation: scrollHint 1.8s var(--ease-in-out) infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
/* Moroccan layer: zellige lattice lit by the cursor, frieze bands, Kufic accents */
@property --mx { syntax: "<length>"; inherits: false; initial-value: -999px; }
@property --my { syntax: "<length>"; inherits: false; initial-value: -999px; }
.lattice { position: absolute; inset: 0; pointer-events: none; color: var(--accent); }
.lattice svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lattice__base { opacity: 0.06; -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000, transparent); mask-image: radial-gradient(80% 70% at 70% 40%, #000, transparent); }
.lattice__lit { opacity: 0; --mx: -999px; --my: -999px; -webkit-mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000, rgba(0, 0, 0, 0.35) 45%, transparent 75%); mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000, rgba(0, 0, 0, 0.35) 45%, transparent 75%); transition: opacity 400ms ease, --mx 500ms var(--ease-out), --my 500ms var(--ease-out); }
.lattice__lit { color: var(--teal); }
.lattice.is-lit .lattice__lit { opacity: 0.3; }
.frieze { position: relative; z-index: 2; height: 28px; overflow: hidden; background: rgba(15, 92, 74, 0.4);
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpolygon points='38,14 28,24 18,14 28,4'/%3E%3Cpolygon points='35.1,6.9 35.1,21.1 20.9,21.1 20.9,6.9'/%3E%3Cpath d='M0 14H18M38 14H56'/%3E%3C/g%3E%3C/svg%3E") repeat-x left center / 56px 28px;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpolygon points='38,14 28,24 18,14 28,4'/%3E%3Cpolygon points='35.1,6.9 35.1,21.1 20.9,21.1 20.9,6.9'/%3E%3Cpath d='M0 14H18M38 14H56'/%3E%3C/g%3E%3C/svg%3E") repeat-x left center / 56px 28px; }
.frieze::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 25%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: sweep 7s var(--ease-in-out) infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(400%); } }
.ar { font-family: "Reem Kufi", var(--sans); font-weight: 500; color: var(--teal); margin-left: 8px; }
.ar-mark { position: absolute; top: clamp(40px, 6vw, 80px); right: -1vw; margin: 0; font: 700 clamp(150px, 24vw, 400px)/1 "Reem Kufi", serif; color: transparent; -webkit-text-stroke: 1px rgba(15, 92, 74, 0.2); pointer-events: none; user-select: none; white-space: nowrap; }
/* Border beam: a light travelling the border of key panels */
.beam { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: inherit; border: 1.5px solid transparent; pointer-events: none;
-webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0) border-box; -webkit-mask-composite: xor;
mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0) border-box; }
.beam::after { content: ""; position: absolute; width: 180px; aspect-ratio: 1; background: linear-gradient(to left, var(--accent), rgba(15, 92, 74, 0.35), transparent);
offset-path: rect(0 auto auto 0 round 180px); offset-anchor: 90% 50%; animation: beam 9s linear infinite; }
.beam--slow::after { animation-duration: 14s; animation-delay: -5s; }
@keyframes beam { to { offset-distance: 100%; } }
/* Spotlight: cards light up at the border and surface under the cursor */
.card, .fact { --x: -999px; --y: -999px; }
.card::before, .fact::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
background: radial-gradient(240px circle at var(--x) var(--y), rgba(15, 92, 74, 0.5), rgba(15, 92, 74, 0.16) 40%, transparent 70%);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.card::after, .fact::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
background: radial-gradient(360px circle at var(--x) var(--y), rgba(15, 92, 74, 0.1), transparent 60%); }
/* Moroccan flag: red field, green interlaced pentagram */
.flag { display: inline-block; width: 1.2em; height: 0.9em; object-fit: cover; margin-left: 0.4em; vertical-align: -0.1em; border-radius: 2px; box-shadow: 0 0 0 0.5px rgba(15, 26, 23, 0.2); }
/* Proof */
.proof { padding: 40px 0 0; background: var(--ink); position: relative; z-index: 1; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 28px 36px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(48px, 5.6vw, 80px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; font-weight: 500; color: var(--accent); font-size: 0.4em; margin-left: 6px; letter-spacing: -0.02em; }
.stat__label { margin-top: 14px; color: var(--ivory-2); font-size: 15px; max-width: 28ch; }
.stat sup { color: var(--accent); }
.marquee { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; padding: 22px 0 22px 28px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.02em; color: var(--ivory-2); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 9px; height: 9px; border: 1px solid var(--accent); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
/* Light sections */
.light { background: var(--paper); color: var(--text); }
.light .eyebrow { color: var(--text-2); }
.light h2 em { color: var(--light-accent); }
section { position: relative; }
.value, .case, .morocco, .services, .process, .compare, .faq, .contact { padding: clamp(96px, 13vw, 168px) 0; }
/* At a glance */
.glance { background: var(--ink-2); padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.glance__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.glance__title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.glance__lede { color: var(--ivory-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 52ch; }
.glance__list { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.glance__list div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.glance__list dt { font-size: 13px; color: var(--ivory-3); margin-bottom: 4px; }
.glance__list dd { margin: 0; font-size: 15px; font-weight: 500; }
.pains__date { margin: -8px 0 24px; font-size: 13px; color: var(--text-2); }
/* Pains */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.pain { padding: 32px; border-radius: var(--radius); background: #ffffff; border: 1px solid var(--line-dark); }
.pain__num { font-size: clamp(40px, 4vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--terracotta); margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.pain h3 { margin-bottom: 8px; }
.pain p { color: var(--text-2); font-size: 15px; }
.pain .pain__num { color: var(--terracotta); font-size: clamp(40px, 4vw, 56px); }
.pain__src { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 12px !important; color: #7a809c !important; }
/* Calculator */
.calc { position: relative; border: 1px solid var(--line); display: grid; grid-template-columns: 380px 1fr; gap: 0; border-radius: 28px; background: var(--ink); color: var(--ivory); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(15, 26, 23, 0.1); }
.calc__controls { padding: 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.calc__title { font-size: 26px; letter-spacing: -0.02em; }
.calc__hint { color: var(--ivory-3); font-size: 15px; margin-top: -18px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(15, 26, 23, 0.06); }
.seg button { flex: 1 1 auto; height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--ivory-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.seg button:active { transform: scale(0.97); }
.seg button[aria-checked="true"] { background: var(--ivory); color: var(--ink); }
.range { display: grid; gap: 14px; }
.range__top { display: flex; justify-content: space-between; font-size: 14px; color: var(--ivory-2); }
.range output { font: 500 14px var(--mono); color: var(--ivory); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 18%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(15, 26, 23, 0.14) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(15, 26, 23, 0.14) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--ivory); border: 0; box-shadow: 0 0 0 6px rgba(15, 92, 74, 0.25); transition: transform 160ms var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ivory); border: 0; box-shadow: 0 0 0 6px rgba(15, 92, 74, 0.25); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc__saving { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); }
.calc__saving-label { font-size: 14px; color: var(--ivory-3); }
.calc__saving-num { font-size: clamp(44px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; margin: 10px 0 6px; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc__saving-pct { color: var(--ivory-2); font-size: 15px; }
.calc__saving-pct span { color: var(--ivory); font-weight: 600; }
.calc__bars { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 40px; background:
radial-gradient(80% 80% at 100% 0%, rgba(15, 92, 74, 0.08), transparent 60%); }
.bar__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; font-size: 15px; color: var(--ivory-2); }
/* label + pill wrap as units, so the pill drops under the label whole instead of breaking mid-border */
.bar__head > span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.bar__head small { font-size: 12px; color: var(--teal); padding: 3px 7px; border: 1px solid rgba(15, 92, 74, 0.4); border-radius: 999px; white-space: nowrap; }
.bar__head strong { font: 500 clamp(20px, 2vw, 26px) var(--mono); color: var(--ivory); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bar__track { height: 56px; border-radius: 14px; background: rgba(15, 26, 23, 0.05); overflow: hidden; }
.bar__stack { display: flex; height: 100%; }
.bar__stack i { height: 100%; transition: width 600ms var(--ease-out); }
.s1 { background: #a39e92; } .s2 { background: var(--terracotta); } .s3 { background: #e08a6c; } .s4 { background: #7d776c; }
.bar__fill { height: 100%; width: 100%; border-radius: 14px; background: var(--accent); transform-origin: left; transform: scaleX(0.4); transition: transform 700ms var(--ease-out); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 13px; color: var(--ivory-3); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.bar__note { margin-top: 14px; font-size: 13px; color: var(--ivory-3); }
.foot { font-size: 12px; color: var(--ivory-3); border-top: 1px solid var(--line); padding-top: 20px; }
/* Case study */
.case { background: var(--ink); overflow: hidden; }
.case::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 75% 60%, rgba(15, 92, 74, 0.1), transparent 70%); pointer-events: none; }
.case__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); }
.case__intro { max-width: 900px; }
.case__stage { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.chart { padding: 28px; border-radius: 28px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); }
.chart__top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.chart__label { font-size: 14px; color: var(--ivory-3); }
.chart__value { font-size: clamp(56px, 7vw, 104px); line-height: 0.9; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--accent); }
.chart { position: relative; }
.chart__meta { display: grid; justify-items: start; gap: 10px; }
.chart__badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart__badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* bar heights are --v on a 0 to 2.15x scale, so 2x sits just under the top */
.bars { position: relative; display: flex; align-items: flex-end; gap: clamp(6px, 1.2vw, 12px); height: clamp(200px, 24vw, 300px); padding-left: 40px; border-bottom: 1px solid var(--line-2); }
.bars__tick { position: absolute; left: 0; right: 0; bottom: calc(var(--v) / 2.15 * 100%); border-top: 1px dashed var(--line-2); font: 500 12px/1 var(--sans); color: var(--ivory-3); padding-top: 4px; }
.bars i { position: relative; flex: 1; height: calc(var(--v) / 2.15 * 100%); border-radius: 6px 6px 2px 2px; background: radial-gradient(circle at 3px 3px, var(--accent) 1px, transparent 1.6px) 0 0 / 6px 6px, rgba(15, 92, 74, 0.06); box-shadow: inset 0 0 0 1px rgba(15, 92, 74, 0.5); }
.bars i.is-nx { background: linear-gradient(180deg, #157a62, var(--accent)); box-shadow: none; }
.bars i::after { content: attr(data-l); position: absolute; left: 50%; bottom: calc(100% + 6px); padding: 3px 7px; border-radius: 7px; background: var(--ivory); color: #fff; font: 500 11px/1 var(--sans); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 4px); transition: opacity 150ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bars i:hover::after { opacity: 1; transform: translate(-50%, 0); } }
.bars__live { flex: none; align-self: stretch; width: 1px; margin: 0 clamp(2px, 0.6vw, 6px); background: repeating-linear-gradient(180deg, var(--ivory-3) 0 3px, transparent 3px 7px); }
.chart__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; padding-left: 40px; font-size: 13px; color: var(--ivory-3); }
.chart__foot span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 10px; height: 10px; border-radius: 3px; background: radial-gradient(circle at 2px 2px, var(--accent) 0.8px, transparent 1.2px) 0 0 / 4px 4px; box-shadow: inset 0 0 0 1px rgba(15, 92, 74, 0.5); }
.key--nx { background: var(--accent); box-shadow: none; }
.case__steps { display: grid; gap: 8px; }
.case__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); transition: background-color 400ms ease, border-color 400ms ease, opacity 400ms ease; }
.case__steps li > span { font: 500 12px var(--mono); color: var(--accent); padding-top: 3px; }
.case__steps p { color: var(--ivory-2); font-size: 15px; margin-top: 4px; }
.case__steps li.is-on { background: rgba(15, 92, 74, 0.07); border-color: rgba(15, 92, 74, 0.35); }
.case__note { margin-top: 32px; font-size: 12px; color: var(--ivory-3); position: relative; }
.motion .case__steps li:not(.is-on) { opacity: 0.4; }
/* Morocco */
.morocco { background: var(--ink-2); overflow: hidden; }
.morocco .wrap { position: relative; }
.tz { position: relative; padding: 32px; border-radius: 28px; background: #ffffff; border: 1px solid var(--line); backdrop-filter: blur(10px); margin-bottom: 16px; }
.tz__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.tz__top h3 { font-size: 24px; letter-spacing: -0.02em; }
.tz__msg { color: var(--ivory-2); margin-top: 6px; max-width: 56ch; min-height: 3.2em; transition: opacity 200ms ease; }
.tz__controls { display: flex; gap: 10px; flex-wrap: wrap; }
.select select { height: 48px; padding: 0 44px 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230f1a17' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; -webkit-appearance: none; appearance: none; cursor: pointer; font-size: 15px; }
.seg--dark { background: var(--ink-3); border: 1px solid var(--line-2); }
.seg--dark button { height: 38px; }
.tz__track { display: grid; grid-template-columns: 132px 1fr; gap: 16px; }
.tz__names { display: grid; grid-auto-rows: 40px; gap: 10px; align-items: center; font-size: 14px; color: var(--ivory-2); }
.tz__lanes { position: relative; display: grid; gap: 10px; }
.tz__lane { position: relative; height: 40px; border-radius: 10px; background: repeating-linear-gradient(90deg, rgba(15, 26, 23, 0.06) 0 1px, transparent 1px calc(100% / 24)), rgba(15, 26, 23, 0.03); overflow: hidden; }
.tz__block { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 7px; transition: left 600ms var(--ease-in-out), width 600ms var(--ease-in-out); }
.tz__block--you { background: rgba(15, 26, 23, 0.85); }
.tz__block--nx { background: var(--accent); }
.tz__hours { display: flex; justify-content: space-between; font-size: 12px; color: var(--ivory-3); padding-top: 6px; }
.tz__hours span { width: 0; display: flex; justify-content: center; }
.tz__now { position: absolute; top: -10px; bottom: 22px; left: 0; width: 2px; margin-left: -1px; background: var(--terracotta); border-radius: 2px; }
.tz__now b { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 500; color: var(--terracotta); white-space: nowrap; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { position: relative; padding: 32px; border-radius: var(--radius); background: rgba(15, 26, 23, 0.025); border: 1px solid var(--line); transition: border-color 300ms ease, background-color 300ms ease; }
.fact svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 40px; }
.fact h3 { margin-bottom: 8px; }
.fact p { color: var(--ivory-2); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .fact:hover { border-color: rgba(15, 92, 74, 0.3); background: rgba(15, 92, 74, 0.04); } }
/* Services bento */
.services { background: var(--ink); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; padding: 32px; border-radius: 24px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.card:first-child { grid-column: span 2; }
.card:last-child { grid-column: 1 / -1; min-height: 280px; }
.card h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { color: var(--ivory-2); font-size: 15px; max-width: 46ch; }
.viz { flex: 1; position: relative; margin-bottom: 24px; min-height: 120px; }
/* pipeline bars */
.viz--pipe { display: flex; align-items: flex-end; gap: 10px; }
.viz--pipe i { flex: 1; height: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent), rgba(15, 92, 74, 0.15)); transform-origin: bottom; transform: scaleY(0.12); transition: transform 900ms var(--ease-out); }
.viz--pipe i:nth-child(1) { --h: 0.3; } .viz--pipe i:nth-child(2) { --h: 0.42; transition-delay: 50ms; } .viz--pipe i:nth-child(3) { --h: 0.38; transition-delay: 100ms; }
.viz--pipe i:nth-child(4) { --h: 0.56; transition-delay: 150ms; } .viz--pipe i:nth-child(5) { --h: 0.68; transition-delay: 200ms; } .viz--pipe i:nth-child(6) { --h: 0.82; transition-delay: 250ms; } .viz--pipe i:nth-child(7) { --h: 1; transition-delay: 300ms; }
.is-in .viz--pipe i { transform: scaleY(var(--h)); }
/* chat */
.viz--chat { display: flex; flex-direction: column; gap: 8px; justify-content: center; font-size: 13px; }
.viz--chat i { font-style: normal; padding: 9px 13px; border-radius: 14px; max-width: 80%; opacity: 0; transform: translateY(8px) scale(0.96); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.viz--chat i:nth-child(1) { align-self: flex-start; background: var(--ink-4); border-bottom-left-radius: 4px; transform-origin: left bottom; }
.viz--chat i:nth-child(2) { align-self: flex-end; background: var(--accent-2); color: #fff; border-bottom-right-radius: 4px; transform-origin: right bottom; transition-delay: 500ms; }
.viz--chat i:nth-child(3) { align-self: flex-start; background: var(--ink-4); border-bottom-left-radius: 4px; transform-origin: left bottom; transition-delay: 1000ms; }
.is-in .viz--chat i { opacity: 1; transform: none; }
/* checklist */
.viz--list { display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 14px; color: var(--ivory-2); }
.viz--list i { font-style: normal; display: flex; align-items: center; gap: 10px; }
.viz--list i::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-2); transition: background-color 250ms ease, border-color 250ms ease; background: center / 12px no-repeat; }
.is-in .viz--list i::before { background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.viz--list i:nth-child(2)::before { transition-delay: 300ms; } .viz--list i:nth-child(3)::before { transition-delay: 600ms; }
/* people */
.viz--people { display: flex; align-items: center; }
.viz--people i, .viz--people b { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink-3); margin-left: -12px; opacity: 0; transform: translateX(-10px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.viz--people i:first-child { margin-left: 0; }
.viz--people i:nth-child(1) { background: #0f5c4a; }
.viz--people i:nth-child(2) { background: #c9b99a; transition-delay: 60ms; }
.viz--people i:nth-child(3) { background: #c1272d; transition-delay: 120ms; }
.viz--people i:nth-child(4) { background: #7d776c; transition-delay: 180ms; }
.viz--people b { display: grid; place-items: center; background: var(--ink-4); color: var(--accent); font-weight: 500; transition-delay: 240ms; }
.is-in .viz--people i, .is-in .viz--people b { opacity: 1; transform: none; }
/* terminal */
.viz--term { padding: 18px; border-radius: 14px; background: #0f1a17; color: #cfe1d9; font: 13px var(--mono); }
.viz--term i::before { border-color: rgba(255, 255, 255, 0.28); }
/* rotating examples: main.js fades the items out, swaps the text, and they re-enter with their usual stagger */
.viz--list i { transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.is-in .viz.is-swap i { opacity: 0; transform: translateY(6px) scale(0.97); transition: opacity 200ms ease, transform 200ms ease; }
.is-in .viz--list.is-swap i::before { background-color: transparent; border-color: var(--line-2); background-image: none; transition-delay: 0ms; }
/* build your team */
.roles { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px 48px; margin-top: 16px; padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--ink-2); }
.roles > * { min-width: 0; }
.roles__head h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.roles__head p { color: var(--ivory-2); font-size: 15px; }
.roles__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 24px; }
.roles__group > p { margin-bottom: 10px; font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-3); }
.roles__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.roles__chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; text-align: left; cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.roles__chips button::before { content: "+"; width: 14px; text-align: center; color: var(--accent); font-weight: 600; transition: color 200ms ease; }
.roles__chips button:active { transform: scale(0.97); }
.roles__chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.roles__chips button[aria-pressed="true"]::before { content: "\2713"; color: #fff; }
@media (hover: hover) and (pointer: fine) { .roles__chips button:hover { border-color: var(--accent); } }
.roles__tray { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.roles__tray p { min-width: 0; flex: 1 1 320px; color: var(--ivory-2); font-size: 15px; }
.roles__tray strong { display: inline-block; min-width: 1ch; color: var(--accent); font-variant-numeric: tabular-nums; }
.roles__tray strong.is-bump { animation: bump 300ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.roles__list { display: block; margin-top: 2px; font-size: 13px; color: var(--ivory-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* weekly report: ported from 21st.dev "Tweenly Chart KPI" (MIT, Manjunath Irukulla) */
.viz--report { display: flex; align-items: flex-start; }
.report { width: 100%; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.72); box-shadow: 0 1px 2px rgba(15, 26, 23, 0.04), 0 24px 48px -32px rgba(15, 26, 23, 0.2); }
.report p { max-width: none; }
.report .report__head { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ivory-3); }
.report__head span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory); font-weight: 600; }
.report__head span:first-child::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.report__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.kpi { min-width: 0; padding: 20px 20px 16px; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.report .kpi__label { font-size: 13px; color: var(--ivory-2); }
.report .kpi__num { margin-top: 8px; color: var(--ivory); font-size: clamp(32px, 3.2vw, 42px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.kpi__num small { margin-left: 4px; font-size: 0.42em; font-weight: 500; letter-spacing: -0.01em; color: var(--ivory-3); }
.report .kpi__delta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--ivory-3); }
.kpi__delta b { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(4px) scale(0.8); transition: opacity 250ms ease 700ms, transform 450ms cubic-bezier(0.34, 1.4, 0.64, 1) 700ms; }
.kpi__delta svg { width: 9px; height: 9px; fill: currentColor; }
.kpi__delta .is-down svg { transform: rotate(180deg); }
.kpi__spark { width: 100%; height: auto; margin-top: 16px; overflow: visible; clip-path: inset(-8px 100% -8px -8px); transition: clip-path 1400ms var(--ease-out); }
.kpi__fill { opacity: 0.6; fill: url(#dots); }
.kpi__line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kpi__spark circle { fill: var(--accent); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 400ms cubic-bezier(0.34, 1.4, 0.64, 1) 1100ms; }
.kpi:nth-child(2) .kpi__spark { transition-delay: 150ms; }
.kpi:nth-child(3) .kpi__spark { transition-delay: 300ms; }
.kpi:nth-child(2) .kpi__delta b { transition-delay: 850ms; }
.kpi:nth-child(3) .kpi__delta b { transition-delay: 1000ms; }
.kpi:nth-child(2) .kpi__spark circle { transition-delay: 1250ms; }
.kpi:nth-child(3) .kpi__spark circle { transition-delay: 1400ms; }
.is-in .kpi__spark { clip-path: inset(-8px); }
.is-in .kpi__spark circle, .is-in .kpi__delta b { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
.card { transition: border-color 300ms ease, transform 400ms var(--ease-out); }
.card:hover { border-color: rgba(15, 92, 74, 0.3); }
}
/* Process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 8px; }
.steps__rail { position: absolute; left: 0; right: 0; top: 52px; height: 2px; background: var(--line-dark); border-radius: 2px; overflow: hidden; }
.steps__rail i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(1); }
.step__wk { font-size: 14px; font-weight: 500; color: var(--text-2); margin-bottom: 18px; }
.step__dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-dark); margin: 0 0 28px; position: relative; z-index: 1; transition: background-color 300ms ease, border-color 300ms ease, transform 300ms var(--ease-out); }
.step.is-on .step__dot { background: var(--light-accent); border-color: var(--light-accent); transform: scale(1.15); }
.step h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15px; max-width: 30ch; }
/* Compare */
.compare { padding-top: 0; }
.table { border-radius: 24px; border: 1px solid var(--line-dark); background: #ffffff; overflow: hidden; }
.table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.table tbody tr { border-top: 1px solid var(--line-dark); }
.tr > th, .tr > td { padding: 20px 24px; text-align: left; vertical-align: middle; font-size: 15px; font-weight: 400; color: var(--text-2); }
.tr > th:first-child { width: 26%; color: var(--text); font-weight: 600; }
.cell { display: flex; align-items: center; gap: 10px; }
.th > th { font-size: 14px; font-weight: 600; color: var(--text); padding-top: 22px; padding-bottom: 18px; }
.tr .is-nx { background: var(--accent); color: #fff; font-weight: 500; }
.th .is-nx { color: #fff; }
.tr b { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.tr b::before { content: ""; width: 10px; height: 10px; background: center / contain no-repeat; }
.yes { background: rgba(15, 92, 74, 0.2); }
.yes::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='%230f5c4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.is-nx .yes { background: #fff; }
.is-nx .yes::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='%230f5c4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.no { background: rgba(193, 39, 45, 0.1); }
.no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%23c1272d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mid { background: rgba(15, 26, 23, 0.06); }
.mid::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' fill='none' stroke='%234f5a55' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* Offer: value stack + guarantee */
.offer { background: var(--ink-2); padding: clamp(96px, 13vw, 168px) 0; }
.offer__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.offer h2 { margin-bottom: 40px; }
.stack li { position: relative; padding: 22px 0 22px 40px; border-top: 1px solid var(--line); }
.stack li::before { content: ""; position: absolute; left: 0; top: 25px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.stack h3 { margin-bottom: 4px; }
.stack p { color: var(--ivory-2); font-size: 15px; max-width: 56ch; }
.guarantee { position: sticky; top: 110px; padding: clamp(28px, 3vw, 40px); border-radius: 28px; border: 1px solid rgba(15, 92, 74, 0.35); background: linear-gradient(180deg, rgba(15, 92, 74, 0.09), rgba(15, 92, 74, 0.02)); display: grid; gap: 12px; }
.guarantee__mark { width: 36px; height: 36px; color: var(--accent); margin-bottom: 8px; }
.guarantee h3 { font-size: 22px; letter-spacing: -0.02em; }
.guarantee h3 + p { color: var(--ivory-2); font-size: 15px; margin-bottom: 12px; }
.guarantee__cap { font-size: 14px; color: var(--teal); padding: 14px 0 6px; border-top: 1px solid var(--line); }
.hero__risk { margin-top: 16px; font-size: 14px; color: var(--ivory-3); }
.calc__wait { margin-top: 10px; font-size: 14px; color: var(--ivory-3); }
.calc__wait strong { color: var(--ivory); font-weight: 600; font-variant-numeric: tabular-nums; }
/* FAQ */
.faq { background: var(--ink); }
.faq__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .head { position: sticky; top: 120px; margin-bottom: 0; }
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.acc h3 { font-size: inherit; }
.acc button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; background: none; border: 0; text-align: left; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -0.015em; cursor: pointer; }
.acc button i { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color 200ms ease, border-color 200ms ease, transform 300ms var(--ease-out); }
.acc button i::before, .acc button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--ivory); transition: transform 300ms var(--ease-out); }
.acc button i::after { transform: rotate(90deg); }
.acc button[aria-expanded="true"] i { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.acc button[aria-expanded="true"] i::before, .acc button[aria-expanded="true"] i::after { background: #fff; }
.acc button[aria-expanded="true"] i::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 350ms var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { color: var(--ivory-2); padding: 0 56px 28px 0; opacity: 0; transform: translateY(-4px); transition: opacity 250ms ease, transform 350ms var(--ease-out); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__item.is-open .acc__panel p { opacity: 1; transform: none; transition-delay: 60ms; }
@media (hover: hover) and (pointer: fine) { .acc button:hover i { border-color: var(--accent); } }
/* Contact */
.contact { background: var(--ink-2); overflow: hidden; }
.rosette { position: absolute; width: min(1100px, 140vw); height: auto; right: -20%; top: 50%; transform: translateY(-50%); color: var(--accent); opacity: 0.14; pointer-events: none; }
.rosette path, .rosette polygon, .rosette circle { fill: none; stroke: currentColor; stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(40px, 6vw, 84px); }
.next { margin-top: 40px; display: grid; gap: 14px; }
.next li { display: flex; align-items: center; gap: 14px; color: var(--ivory-2); }
.next span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(15, 92, 74, 0.4); color: var(--accent); font: 500 12px var(--mono); }
.contact__direct { margin-top: 40px; color: var(--ivory-3); }
.contact__direct a { color: var(--ivory); border-bottom: 1px solid var(--accent); }
.form { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: #ffffff; border: 1px solid var(--line-2); backdrop-filter: blur(16px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; color: var(--ivory-2); padding: 0; }
.field small { color: var(--ivory-3); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(15, 26, 23, 0.04); font-size: 16px; transition: border-color 200ms ease, background-color 200ms ease; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(15, 92, 74, 0.05); }
.field input.is-bad { border-color: #d0614b; }
.field legend { margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.pills label:active span { transform: scale(0.97); }
.pills input:checked + span { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__status { min-height: 1.4em; font-size: 14px; color: var(--ivory-2); }
/* Footer */
.footer { padding: 48px 0; border-top: 1px solid var(--line); background: var(--ink); }
.footer__grid { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--ivory-3); font-size: 14px; }
.footer__meta { margin-left: auto; }
.footer__meta a { color: var(--ivory-2); }
/* Cookie consent: quiet card, equal-weight choices (no nudging), fast exit */
.consent { position: fixed; right: 16px; bottom: 16px; z-index: 70; width: min(440px, calc(100vw - 32px)); padding: 20px; border-radius: 18px; background: #fff; color: var(--text); border: 1px solid var(--line-2); box-shadow: 0 12px 40px -12px rgba(15, 26, 23, 0.25); opacity: 0; transform: translateY(12px); transition: opacity 180ms ease, transform 200ms var(--ease-out); }
.consent.is-in { opacity: 1; transform: none; transition: opacity 250ms ease, transform 320ms var(--ease-out); }
.consent__title { font-weight: 600; margin-bottom: 6px; }
.consent__text { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.consent__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent__prefs { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.consent__prefs[hidden] { display: none; }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; cursor: pointer; }
.consent__opt input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.consent__opt small { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-2); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.consent__btn { flex: 1 1 0; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--text); background: #fff; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.consent__btn:active, .consent__link:active { transform: scale(0.97); }
.consent__link { flex: 1 0 100%; height: 32px; border: 0; background: none; color: var(--text-2); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .consent__btn:hover { background: var(--text); color: #fff; } }
.footer__link { padding: 0; border: 0; background: none; font: inherit; color: var(--ivory-2); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .footer__link:hover { color: var(--ivory); } }
/* Privacy notice page */
.doc { max-width: 760px; margin: 0 auto; padding: 120px var(--gutter) 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin-bottom: 12px; }
.doc h2 { font-size: 22px; max-width: none; margin: 40px 0 10px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--ivory-2); }
.doc ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.doc__meta { color: var(--ivory-3) !important; font-size: 14px; }
/* Initial states for reveal, only when motion JS is running */
.motion [data-reveal] { opacity: 0; transform: translateY(24px); }
.motion [data-split] .w { opacity: 0; transform: translateY(0.4em); filter: blur(8px); }
.motion [data-hero-item] { opacity: 0; transform: translateY(16px); filter: blur(6px); }
.motion .hero__title .line > span { transform: translateY(105%); }
.motion .hero__globe { opacity: 0; transform: scale(0.94); }
/* Responsive */
/* below 1200px the photo globe would sit under the headline, so stack it beneath the copy */
@media (max-width: 1200px) {
.hero { padding-bottom: 40px; flex-direction: column; }
.hero__copy { max-width: 780px; }
.hero__globe { position: relative; top: auto; right: auto; width: 100%; max-width: 640px; height: auto; aspect-ratio: 1; margin: 16px auto 0; }
.hero__scroll { display: none; }
}
@media (max-width: 1080px) {
.nav__links { display: none; }
.nav__toggle { display: block; }
.nav__cta { display: none; }
.calc { grid-template-columns: 1fr; }
.calc__controls { border-right: 0; border-bottom: 1px solid var(--line); }
.case__stage { grid-template-columns: 1fr; }
.head--split { grid-template-columns: 1fr; gap: 0; }
.head--split .lede { margin-top: 24px; }
.facts { grid-template-columns: repeat(2, 1fr); }
.faq__grid, .contact__grid, .offer__grid, .glance__grid, .roles { grid-template-columns: 1fr; }
.roles__groups { grid-template-columns: repeat(2, 1fr); }
.guarantee { position: static; }
.faq .head { position: static; }
}
@media (max-width: 760px) {
body { font-size: 16px; }
.proof__grid { grid-template-columns: 1fr 1fr; }
.stat { padding: 24px 16px 24px 0; }
.stat + .stat { padding-left: 16px; }
.stat:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
.stat:nth-child(4) { border-top: 1px solid var(--line); }
.pains, .facts, .glance__list { grid-template-columns: 1fr; }
.calc__controls, .calc__bars { padding: 24px; }
.bento { grid-template-columns: 1fr; }
.card, .card:first-child, .card:last-child { grid-column: auto; min-height: 280px; padding: 24px; }
.report__grid { grid-template-columns: 1fr; }
.kpi { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: center; }
.kpi + .kpi { border-left: 0; border-top: 1px solid var(--line); }
.kpi__spark { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.steps { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
.steps__rail { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
.steps__rail i { transform-origin: top; }
.step { position: relative; padding-bottom: 40px; }
.step__dot { position: absolute; left: -36px; top: 0; margin: 0; }
.step__wk { margin-bottom: 8px; }
.tz { padding: 20px; }
.tz__track { grid-template-columns: 76px 1fr; gap: 10px; }
.tz__names { font-size: 12px; line-height: 1.2; }
.tz__hours span:nth-child(even) { visibility: hidden; }
.table { overflow-x: auto; }
.table table { min-width: 620px; }
.tr > th, .tr > td { padding: 16px; font-size: 14px; }
.form__row { grid-template-columns: 1fr; }
.footer__meta { margin-left: 0; }
.chart { padding: 18px; }
.bars, .chart__foot { padding-left: 34px; }
.roles { padding: 24px; }
.roles__groups { grid-template-columns: 1fr; }
.roles__tray .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-property: opacity, color, background-color, border-color !important; }
.marquee__track { animation: none; }
}
