/* Caldera replica — layout, components, motion.
   Tokens live in variables.css. Every size below was measured on caldera.xyz at 1440px and 375px. */

/* ------------------------------------------------------------------ */
/* Base                                                                 */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  background: var(--page);
  color: var(--ink-2);
  font-family: var(--font-dm-sans);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin: 0; }
button { font: inherit; color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Display face: PP Neue Corp Compact is a licensed font and is not bundled. Anton is the stand-in
   until the licensed files are dropped in under --font-pp-neue-corp-compact. */
/* BuildSites brand palette mapped onto the layout tokens (variables.css keeps the original Caldera values). */
:root {
  --color-ember: #3340FF;          /* primary action: Blueprint Blue */
  --color-ember-hover: #1F2BD6;    /* hover / pressed */
  --color-plasma-violet: #14162B;  /* dark feature surface: Midnight */
  --color-sulfur: #98A0FF;         /* tags and the third panel: Sky */
  --color-limestone: #FFFFFF;      /* cards */
  --color-pumice: var(--page-2);         /* page canvas: Porcelain */
  --color-obsidian: #3A3F4B;       /* text and borders: Graphite */
  --color-chalk: #FFFFFF;
  --color-midnight: #14162B;
  --font-display: "Anton", var(--font-pp-neue-corp-compact); --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
}


/* ===== Theme tokens (light default, dark via [data-theme="dark"]) ===== */
:root { color-scheme: light;
  --page: #F1F1EF; --page-2: #F7F7F9; --surface: #FFFFFF; --tile: #EEF0FF; --line: #DADCE3; --ink: #14162B; --ink-2: #3A3F4B; --ink-3: #6B7080; --dark: #14162B;
  --ember-text: #3340FF; --ok-bg: #E8F7EE; --ok-fg: #17753F; --bad-bg: #FDECEC; --bad-fg: #C93A3F; --ink-a06: rgba(20,22,43,.06); --ink-a08: rgba(20,22,43,.08); --ink-a12: rgba(20,22,43,.12); }
[data-theme="dark"] { color-scheme: dark;
  --page: #0E1020; --page-2: #14162A; --surface: #191C33; --tile: rgba(51,64,255,.2); --line: rgba(255,255,255,.13); --ink: #F2F3FA; --ink-2: #C6CADB; --ink-3: #8F94AD; --dark: #1E2140;
  --ember-text: #97A0FF; --ok-bg: rgba(34,197,94,.16); --ok-fg: #86EFAC; --bad-bg: rgba(255,107,94,.16); --bad-fg: #FF8A7E; --ink-a06: rgba(255,255,255,.06); --ink-a08: rgba(255,255,255,.09); --ink-a12: rgba(255,255,255,.14); }
body { background: var(--page); color: var(--ink-2); }
[data-theme="dark"] .ticker img { filter: invert(1) brightness(1.2); }
[data-theme="dark"] .nav-pill { box-shadow: 0 0 0 1px var(--line); }
[data-theme="dark"] .tab-panel, [data-theme="dark"] .price-card.is-featured, [data-theme="dark"] .res-answer, [data-theme="dark"] .res-card-dark, [data-theme="dark"] .footer-cta, [data-theme="dark"] .w-result > div, [data-theme="dark"] .t-card.dark { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08); }
[data-theme="dark"] .lockup-svg text { fill: #FFFFFF; }
[data-theme="dark"] .nav-social svg, [data-theme="dark"] .mobile-nav-social svg { fill: var(--ink-2); }
[data-theme="dark"] .contact-map { background: #14162A; }
[data-theme="dark"] .footer-strokes { opacity: .8; }
/* theme toggle */
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.theme-toggle:hover { color: var(--ember-text); border-color: var(--color-ember); } .theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .i-moon { display: none; } [data-theme="dark"] .theme-toggle .i-moon { display: block; } [data-theme="dark"] .theme-toggle .i-sun { display: none; }
.mobile-nav .theme-toggle { margin: 4px 8px 12px; }

.h-display, .h-2xl, .h-lg, .h-sub, .stat-value, .community-count, .tab-title, h1 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.02em;
  font-feature-settings: "ss06", "ss10";
}
h1        { font-size: var(--text-heading-3xl); line-height: var(--leading-heading-3xl); }
.h-display{ font-size: var(--text-display);     line-height: var(--leading-display); }
.h-2xl    { font-size: var(--text-heading-2xl); line-height: var(--leading-heading-2xl); }
.h-lg     { font-size: 40px; line-height: 1; }
.h-sub    { font-size: var(--text-subheading); line-height: var(--leading-subheading); }
.center   { text-align: center; }

.container-wide   { width: min(1900px, 100% - 112px); margin-inline: auto; }
.container-mid    { width: min(1166px, 100% - 52px); margin-inline: auto; }
.container-narrow { width: min(938px,  100% - 52px); margin-inline: auto; }

.vdivider { display: inline-block; width: 0; height: 32px; border-left: 1.5px dotted var(--ink-2); }
hr.dotted { border: 0; border-top: 1px dotted var(--ink-2); margin: 0; }

/* ------------------------------------------------------------------ */
/* Buttons                                                              */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: var(--radius-pills); border: 0; cursor: pointer;
  font-size: var(--text-body); line-height: 1.25; white-space: nowrap;
  padding: 12px 24px; min-height: 48px;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary { background: var(--color-ember); color: var(--color-limestone); }
.btn-primary:hover { background: var(--color-ember-hover); }
.btn-outline { background: transparent; border: 1.5px solid var(--ink-2); color: var(--ink-2); }
.btn-outline:hover { background: var(--color-ember); color: var(--color-chalk); border-color: var(--color-ember); }
.btn-lg { font-size: 18px; min-height: 56px; padding: 0 12px; width: 242px; }
.btn-arrow { padding: 12px 20px; }
.btn-arrow svg { width: 12px; height: 17px; fill: currentColor; }

/* ------------------------------------------------------------------ */
/* Logo                                                                 */
/* ------------------------------------------------------------------ */
.logo { position: relative; display: block; height: 40px; width: 214px; overflow: hidden; transition: width 0.38s var(--ease-spring); }
.logo .lockup-svg { display: block; width: 214px; height: 40px; transition: opacity 0.25s; }
.logo .mark-svg { position: absolute; left: 0; top: 0; width: 51px; height: 40px; opacity: 0; transition: opacity 0.25s; }
.logo-footer { width: 192px; height: 36px; }
.logo-footer .lockup-svg { width: 192px; height: 36px; }

/* ------------------------------------------------------------------ */
/* Nav                                                                  */
/* ------------------------------------------------------------------ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 24px 40px; pointer-events: none; }
.nav { transition: padding 0.35s var(--ease-spring); }
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 8px 8px 8px 24px;
  border-radius: var(--radius-pills);
  background: rgba(255, 255, 255, 0);
  margin-inline: auto; width: min(1916px, 100%);
  transition: background-color 0.3s ease-out, width 0.38s var(--ease-spring), gap 0.38s var(--ease-spring);
}
.nav-links { display: flex; gap: 24px; transition: gap 0.38s var(--ease-spring); }
.nav-links a { padding: 4px 0; line-height: 1.55; transition: color 0.2s; white-space: nowrap; }
.nav-dd-btn { white-space: nowrap; }
.nav-links a:hover { color: var(--ember-text); }
.nav-right { display: flex; align-items: center; gap: 24px; margin-left: auto; transition: gap 0.38s var(--ease-spring); }
.nav-social { display: flex; align-items: center; gap: 24px; }
.nav-social a { display: inline-flex; }
.nav-social svg { width: 24px; height: 24px; fill: var(--ink-2); transition: fill 0.2s; }
.nav-social a:hover svg { fill: var(--color-ember); }
.nav .btn-primary { min-height: 48px; }

/* Compact state after scrolling: centered limestone pill, logo clipped to the symbol. */
.nav.is-compact { padding-top: 16px; }
.nav.is-compact .nav-pill { background: var(--surface); width: 900px; gap: 28px; }
.nav.is-compact .nav-links, .nav.is-compact .nav-right, .nav.is-compact .nav-social { gap: 24px; }
.vdivider { transition: opacity 0.2s; }
.nav.is-compact .vdivider { opacity: 0; width: 0; margin: -12px; }
.nav.is-compact .logo { width: 51px; }
.nav.is-compact .logo .lockup-svg { opacity: 0; }
.nav.is-compact .logo .mark-svg { opacity: 1; }
.nav.is-compact .nav-links { gap: 25px; }

/* Resources dropdown in the header */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; font: inherit; line-height: 1.55; color: inherit; background: none; border: 0; cursor: pointer; transition: color .2s; }
.nav-dd-btn svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-dd-btn:hover, .nav-dd.is-open .nav-dd-btn { color: var(--ember-text); }
.nav-dd.is-open .nav-dd-btn svg { transform: rotate(180deg); }
.res-menu { position: absolute; left: 50%; top: calc(100% + 18px); transform: translate(-50%, -6px); width: 820px; padding: 32px 36px; border-radius: 24px; background: var(--surface); box-shadow: 0 30px 70px -30px rgba(20,22,43,.35), 0 0 0 1px var(--ink-a06); display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s, transform .28s var(--ease-out), visibility 0s linear .22s; }
.res-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-dd.is-open .res-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .22s, transform .28s var(--ease-out), visibility 0s; }
.res-group { min-width: 0; }
.res-head { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); }
.res-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.res-title { font-weight: 700; font-size: 18px; line-height: 1.2; }
.res-head:hover .res-title { color: var(--ember-text); }
.res-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--tile); color: var(--ember-text); display: flex; align-items: center; justify-content: center; flex: none; }
.res-icon svg { width: 17px; height: 17px; }
.res-chev { width: 16px; height: 16px; margin-left: auto; margin-top: 3px; flex: none; color: var(--ink-2); }
.res-sub { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.res-group ul { list-style: none; margin: 16px 0 0; padding: 0 0 0 44px; display: grid; gap: 10px; }
.res-group li a { font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s; }
.res-group li a:hover { color: var(--ember-text); }
.res-group li.res-more a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ember-text); } .res-group li.res-more .res-chev { width: 14px; height: 14px; margin: 0; }
.nav.is-compact .res-menu { top: calc(100% + 14px); }
.is-static .res-menu, .is-static .nav-dd.is-open .res-menu { transition: none; }
.mobile-res { border-top: 1px solid #E3E3E8; margin-top: 4px; padding-top: 4px; }
.mobile-res summary { list-style: none; cursor: pointer; padding: 12px 8px; font-size: 18px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; }
.mobile-res summary::-webkit-details-marker { display: none; }
.mobile-res summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); margin-right: 6px; transition: transform .2s; }
.mobile-res[open] summary::after { transform: rotate(-135deg); }
.mobile-res-group { padding: 6px 8px 12px; }
.mobile-res-group b { display: block; font-size: 14px; margin-bottom: 4px; color: var(--ink); }
.mobile-nav .mobile-res-group a { font-size: 15px; min-height: 40px; padding: 6px 8px; color: var(--ink-2); }
section[id] { scroll-margin-top: 110px; }
.burger { display: none; width: 48px; height: 48px; padding: 0; background: none; border: 0; cursor: pointer; }
.burger svg { width: 24px; height: 24px; stroke: var(--ink-2); stroke-width: 2.5; stroke-linecap: round; fill: none; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-burger { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav {
  pointer-events: auto; display: none; flex-direction: column; gap: 4px;
  margin-top: 8px; padding: 24px; border-radius: 32px; background: var(--surface);
}
.mobile-nav a:not(.btn) { padding: 12px 8px; font-size: 18px; min-height: 48px; display: flex; align-items: center; }
.mobile-nav-social { display: flex; gap: 24px; padding: 8px 8px 16px; }
.mobile-nav-social svg { width: 24px; height: 24px; fill: var(--ink-2); }
.mobile-nav .btn { margin-top: 8px; }

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */
.hero { padding-top: 112px; }
.hero-mobile-title { display: none; }
/* The card itself does not clip (the source's wrapper is overflow: visible), so the headline and copy blocks
   are never shaved by the rounded corner. The video rounds itself. */
.hero-card { position: relative; height: 85vh; min-height: 640px; border-radius: 40px; background: var(--dark); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 40px; }

.hero-title-block {
  position: absolute; top: 0; left: 0; z-index: 2;
  width: 590px; height: 246px; padding: 14px 40px 0 0;
  background: var(--page); border-radius: 0 0 40px 0;
}
.hero-title-block h1 { white-space: nowrap; }
.hero-copy-block {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 539px; padding: 40px 0 0 40px;
  background: var(--page); border-radius: 40px 0 0 0;
}
.hero-copy-block p { font-size: 18px; line-height: 1.5; margin-bottom: 36px; max-width: 499px; }
.hero-actions { display: flex; gap: 16px; }
.hero-mobile-copy { display: none; }

/* Quarter-circle pieces that let the pumice blocks flow into the card (the source's "corner" component) */
.corner { position: absolute; width: 40px; height: 40px; fill: var(--page); }
.corner-tr { top: 0; right: -40px; }
.corner-bl { bottom: -40px; left: 0; }
.corner-tl { top: -40px; right: 0; transform: rotate(180deg); }
.corner-br { bottom: 0; left: -40px; transform: rotate(180deg); }
.corner-mobile { display: none; top: 0; right: 0; transform: rotate(90deg); }

/* Hero entrance (measured on the source: boxes slide in from ±1000px, video fades, buttons rise) */
.hero-title-block { animation: slide-from-left 1.05s var(--ease-out) both; }
.hero-copy-block  { animation: slide-from-right 1.05s var(--ease-out) both; }
.hero-video       { animation: fade-in 0.8s ease-out both; }
.hero-actions     { animation: rise-32 0.45s var(--ease-out) 1s both; }
.hero-copy-block p{ animation: rise-52 0.9s var(--ease-out) 0.15s both; }
@keyframes slide-from-left  { from { transform: translateX(-1000px); } to { transform: translateX(0); } }
@keyframes slide-from-right { from { transform: translateX(1000px); }  to { transform: translateX(0); } }
@keyframes fade-in { from { opacity: 0.001; } to { opacity: 1; } }
@keyframes rise-32 { from { opacity: 0.001; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise-52 { from { transform: translateY(52px); } to { transform: translateY(0); } }

/* Rotating last word in the hero headline (template: per-letter drop in from above, drop out below) */
.rotating { display: inline-flex; color: var(--ember-text); }
.rotating-clip { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.06em 0 0.02em; margin: -0.06em 0 -0.02em; }
.rotating-track { display: inline-flex; white-space: pre; }
.rotating-track .ch { display: inline-block; will-change: transform, opacity; }
.rotating-track .ch.in  { animation: ch-in  0.45s var(--ease-out) both; }
.rotating-track .ch.out { animation: ch-out 0.35s var(--ease-out) both; }
@keyframes ch-in  { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes ch-out { from { transform: translateY(0); opacity: 1; } to { transform: translateY(110%); opacity: 0; } }
.is-static .rotating-track .ch { animation: none; }

/* ------------------------------------------------------------------ */
/* Ecosystem                                                            */
/* ------------------------------------------------------------------ */
.ecosystem { padding-top: 168px; }
.ecosystem .h-2xl { margin-bottom: 32px; }
.stats { display: flex; align-items: stretch; margin-top: 80px; }
/* Source layout: label top-left, big figure bottom-left, 40px padding. Archivo ExtraBold is the closest
   free match to the source's heavy grotesque for the figures. */
.stat {
  flex: 1 1 0; min-height: 251px; padding: 40px; border-radius: 40px;
  background: var(--color-ember); color: var(--color-limestone);
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left;
}
.stat-label { font-size: 18px; line-height: 1.5; }
.stat-value { font-family: "Archivo", var(--font-dm-sans); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.03em; font-feature-settings: normal; white-space: nowrap; }

/* The bridge that joins neighbouring cards — exact path from the source */
.joiner { flex: 0 0 15px; width: 15px; height: 141px; align-self: center; fill: var(--color-ember); }
.joiner-light { fill: var(--color-limestone); }

.partner-strip { display: flex; margin-top: 16px; padding: 40px; border-radius: 40px; background: var(--surface); }
.partner { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 74px; }
.partner + .partner { border-left: 1.5px dotted var(--ink-2); }
/* Vertical logo ticker: 3 logos per slot, 49px tall on a 55px pitch, one visible at a time. All logos are flat black, trimmed to content, and width-locked to 131px. */
.ticker { height: 49px; overflow: hidden; }
.ticker img { width: 131px; height: 49px; object-fit: contain; margin-bottom: 6px; }
.ticker-inner { will-change: transform; }

/* ------------------------------------------------------------------ */
/* Live demo: a MacBook frame with a real site running in the screen    */
/* ------------------------------------------------------------------ */
.live { position: relative; z-index: 1; padding: 0; }
/* While the framed site has scroll left, the section is taller than the viewport and this stage stays pinned; the page scroll drives the site. */
.live-pin { position: sticky; top: 0; height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 24px; overflow: hidden; }
.live .h-2xl { margin-bottom: 12px; font-size: clamp(44px, 5vw, 96px); line-height: .95; }
.live-copy { margin: 0 auto 28px; max-width: 620px; text-align: center; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.mac { position: relative; width: min(100%, 1400px, calc((100vh - 424px) * 526 / 344)); margin: 0 auto; aspect-ratio: 526 / 344; flex: none; }
.mac-frame { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 40px 60px rgba(20,22,43,.22)); }
/* the screen rectangle of the artwork, as percentages of the 650x400 viewBox */
.mac-screen { position: absolute; left: 2.38%; top: 3.58%; width: 95.29%; height: 94.14%; overflow: hidden; border-radius: 0.95% / 1.45%; background: #0B0C14; }
.mac-site { position: absolute; left: 0; top: 0; width: 1440px; height: 930px; border: 0; transform-origin: 0 0; background: #fff; opacity: 0; transition: opacity .5s; }
.mac.is-ready .mac-site { opacity: 1; }
.mac-notch { position: absolute; left: 44.89%; top: 3.5%; width: 10.28%; height: 2.7%; border-radius: 0 0 8px 8px; background: #000; pointer-events: none; }
.mac-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; pointer-events: none; transition: opacity .4s; }
.mac-loading span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); animation: mac-pulse 1.2s ease-in-out infinite; }
.mac-loading span:nth-child(2) { animation-delay: .15s; } .mac-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes mac-pulse { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
.mac.is-ready .mac-loading { opacity: 0; }
.live-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 22px; }
.live-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.live-hint svg { width: 18px; height: 18px; color: var(--ember-text); animation: mac-scroll 1.8s ease-in-out infinite; }
@keyframes mac-scroll { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.is-static .mac-loading span, .is-static .live-hint svg { animation: none; }
.is-static .mac-site { transition: none; opacity: 1; } .is-static .mac-loading { display: none; }
/* ------------------------------------------------------------------ */
/* More is more                                                         */
/* ------------------------------------------------------------------ */
.more { position: relative; padding-top: 400px; isolation: isolate; }
.more .h-display { position: relative; z-index: 1; margin-bottom: 72px; font-size: calc(var(--text-display) * 0.82); }
.bg-dots { position: absolute; pointer-events: none; z-index: 0; object-fit: cover; }
/* Kinetic grid canvas (light theme): spans the full viewport width, centered on the section, fading in and out at the top and bottom edges. */
.bg-dots-1 { top: 200px; left: 50%; transform: translateX(-50%); width: 100vw; height: 1976px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.feature-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 41fr 59fr; gap: 16px; container-type: inline-size; }
.feature-grid > :nth-child(1) { grid-column: 1; grid-row: 1; }
.feature-grid > :nth-child(2) { grid-column: 2; grid-row: 1; }
.feature-grid > :nth-child(3) { grid-column: 1 / 3; grid-row: 2; width: calc(59% - 8px); }
.feature-grid > :nth-child(4) { grid-column: 1 / 3; grid-row: 2; width: calc(41% - 8px); justify-self: end; }
.feature-grid > :nth-child(5) { grid-column: 1; grid-row: 3; }
.feature-grid > :nth-child(6) { grid-column: 2; grid-row: 3; }

.feature-card {
  min-height: 44.4cqw; padding: 40px; border-radius: 40px; background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between;
}
.feature-icon {
  width: 83px; height: 83px; border-radius: 16px; background: var(--tile);
  display: flex; align-items: center; justify-content: center; color: var(--ember-text);
}
.feature-icon svg { width: 40px; height: 40px; }
.feature-body p { margin: 20px 0 32px; max-width: 458px; }
.feature-art { min-height: 44.4cqw; border-radius: 40px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.feature-art img { width: 90%; max-width: 683px; height: auto; }
/* Care plan card: interactive list, each row plays a story in the panel opposite */
.care-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; }
.care-list button { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; text-align: left; padding: 9px 12px; border: 0; border-radius: 12px; background: transparent; font: inherit; color: inherit; cursor: pointer; transition: background .2s; }
.care-list button i { width: 34px; height: 34px; border-radius: 9px; background: var(--tile); color: var(--ember-text); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.care-list button i svg { width: 17px; height: 17px; }
.care-list button b { display: block; font-size: 15px; font-weight: 600; margin: 1px 0 2px; }
.care-list button span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.care-list button:hover, .care-list button.is-active { background: var(--page); }
.care-list button.is-active i { background: var(--color-ember); color: #fff; }
.care-list button:focus-visible { outline: 2px solid var(--color-ember); outline-offset: 2px; }
/* Care week (1000x750 stage scaled to the panel): one continuous story across four chapters, on a site card and the owner's phone */
.care { position: absolute; inset: 0; overflow: hidden; font-family: var(--font-dm-sans); color: #fff; text-align: left; }
.care-stage { position: absolute; left: 50%; top: 50%; width: 1000px; height: 750px; margin: -375px 0 0 -500px; transform-origin: 50% 50%; }
.sc-head { position: absolute; left: 60px; right: 60px; top: 36px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.sc-title { margin: 0 0 6px; font: 600 26px/1.15 var(--font-dm-sans); letter-spacing: -0.015em; }
.sc-moment { margin: 0; font-size: 15px; color: rgba(255,255,255,.78); min-height: 22px; transition: opacity .25s; }
.sc-moment.is-swap { opacity: 0; }
.sc-play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.sc-play:hover { background: rgba(255,255,255,.24); } .sc-play svg { width: 20px; height: 20px; } .sc-play .i-play { display: none; }
.care-stage.is-paused .sc-play .i-play { display: block; } .care-stage.is-paused .sc-play .i-pause { display: none; }
.tl { position: absolute; left: 60px; right: 60px; top: 126px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; cursor: pointer; touch-action: none; padding: 6px 0 10px; }
.tl:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
.tl-seg { position: relative; padding-top: 22px; }
.tl-seg span { position: absolute; top: 0; left: 0; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.6); white-space: nowrap; transition: color .2s; }
.tl-seg.is-on span { color: #fff; }
.tl-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.tl-fill { height: 100%; width: 0; background: #fff; border-radius: 3px; }
.sc-scene { position: absolute; left: 60px; top: 190px; width: 880px; height: 540px; }
/* Real browser window showing the client site */
.bw { position: absolute; left: 0; top: 60px; width: 520px; height: 372px; border-radius: 12px; background: #fff; color: #101318; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.06); }
.bw-bar { height: 38px; border-radius: 12px 12px 0 0; background: #F3F3F5; border-bottom: 1px solid #E3E3E8; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.bw-bar i { width: 10px; height: 10px; border-radius: 50%; } .bw-bar i:nth-child(1) { background: #FF5F57; } .bw-bar i:nth-child(2) { background: #FEBC2E; } .bw-bar i:nth-child(3) { background: #28C840; }
.bw-url { margin: 0 auto; width: 260px; height: 24px; border-radius: 6px; background: #fff; border: 1px solid #E3E3E8; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #101318; }
.bw-url svg { width: 11px; height: 11px; color: #6B7080; }
.bw-view { position: relative; height: 334px; overflow: hidden; border-radius: 0 0 12px 12px; background: #fff; }
.care .bw .bw-site { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; object-fit: unset; object-position: top; display: block; transition: opacity .4s; }
.bw-notice { position: absolute; left: 0; right: 0; top: 15px; height: 24px; display: flex; align-items: center; justify-content: center; gap: 4px; background: #14162B; color: #fff; font-size: 11px; font-weight: 600; opacity: 0; transform: translateY(-100%); transition: opacity .4s, transform .4s cubic-bezier(.2,.8,.2,1); }
.bw-notice u { text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.bw-error { position: absolute; inset: 0; background: #fff; display: none; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 56px; gap: 10px; color: #202124; }
.bw-down svg { width: 64px; height: 64px; color: #9AA0A6; margin-bottom: 8px; } .bw-down b { font-size: 20px; font-weight: 500; } .bw-down span { font-size: 13px; color: #5F6368; } .bw-down em { font-style: normal; font-weight: 600; } .bw-down code { font-size: 11px; color: #5F6368; margin-top: 6px; }
.bw-404 { align-items: center; text-align: center; gap: 4px; } .bw-404 b { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; color: #14162B; line-height: 1; } .bw-404 span { font-size: 16px; font-weight: 600; } .bw-404 small { font-size: 12px; color: #5F6368; max-width: 300px; }
.bw[data-state="offline"] .bw-down { display: flex; } .bw[data-state="offline"] .bw-site, .bw[data-state="offline"] .bw-notice { opacity: 0; }
.bw[data-state="broken"] .bw-404, .bw[data-state="restoring"] .bw-404 { display: flex; } .bw[data-state="broken"] .bw-site, .bw[data-state="restoring"] .bw-site { opacity: 0; }
.bw[data-state="restoring"] .bw-404 { opacity: .55; }
.bw[data-state="updated"] .bw-notice { opacity: 1; transform: none; }
.sc-status { position: absolute; top: -14px; right: -12px; display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #fff; color: #101318; font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.sc-status i { width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; }
.bw[data-state="offline"] .sc-status i { background: #E5484D; } .bw[data-state="broken"] .sc-status i, .bw[data-state="restoring"] .sc-status i { background: #F5A623; }
.bw.is-pop { animation: sc-pop .45s ease-out; } @keyframes sc-pop { 0% { transform: scale(.99); } 55% { transform: scale(1.008); } 100% { transform: scale(1); } }
/* System-style notifications, stacked at the top right of the window */
.ntf-stack { position: absolute; right: -36px; top: 96px; width: 290px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.ntf { display: none; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.96); color: #101318; box-shadow: 0 16px 36px -14px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.05); opacity: 0; transform: translateX(16px); transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
.ntf.is-in { display: flex; } .ntf.is-shown { opacity: 1; transform: none; }
.ntf-i { flex: none; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; } .ntf-i svg { width: 15px; height: 15px; }
.ntf-i.mon { background: #14162B; } .ntf-i.ok { background: #1B9E5A; } .ntf-i.sec { background: var(--color-ember); }
.ntf > div { flex: 1; min-width: 0; } .ntf b { display: block; font-size: 12px; font-weight: 700; } .ntf span { display: block; font-size: 12px; color: #5B6070; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ntf span b { display: inline; }
.ntf time { flex: none; font-size: 10px; color: #8A8F9E; align-self: flex-start; }
.ntf .spin { animation: sc-spin 1s linear infinite; } @keyframes sc-spin { to { transform: rotate(360deg); } }
.ph { position: absolute; left: 580px; top: 0; width: 300px; height: 540px; border-radius: 42px; background: #0B0C14; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), inset 0 0 0 2px rgba(255,255,255,.08); }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; background: #F5F5F7; overflow: hidden; display: flex; flex-direction: column; color: #101318; }
.ph-notch { position: absolute; top: 10px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 12px; background: #0B0C14; z-index: 4; }
.ph-head { padding: 44px 14px 10px; text-align: center; background: #fff; border-bottom: 1px solid #E3E3E8; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ph-head i { width: 34px; height: 34px; border-radius: 50%; background: var(--color-ember); color: #fff; font-style: normal; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.ph-head b { font-size: 13px; } .ph-head span { font-size: 11px; color: #6B7080; }
.ph-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; overflow: hidden; }
.ph-msg { display: none; max-width: 88%; padding: 9px 12px; border-radius: 18px; font-size: 13px; line-height: 1.35; opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.ph-msg.is-in { display: block; } .ph-msg.is-shown { opacity: 1; transform: none; }
.ph-msg.in { align-self: flex-start; background: #E9E9EB; border-bottom-left-radius: 6px; } .ph-msg.out { align-self: flex-end; background: var(--color-ember); color: #fff; border-bottom-right-radius: 6px; }
.ph-msg time { display: block; font-size: 10px; opacity: .6; margin-top: 3px; }
.ph-lock { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(180deg, #14162B, #0B0C14); color: #fff; transition: opacity .5s; }
.ph-lock b { font-size: 56px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; } .ph-lock span { font-size: 14px; opacity: .8; }
.ph-lock.is-off { opacity: 0; pointer-events: none; }
.is-static .bw, .is-static .bw *, .is-static .ntf, .is-static .ph-msg, .is-static .ph-lock, .is-static .sc-moment, .is-static .tl-seg span, .is-static .care-list button, .is-static .care-list button i { transition: none !important; animation: none !important; }
/* Interactive "designed & built in 48 hours" demo: a 1000x750 stage scaled to fit the panel. */
.feature-art { position: relative; }
.demo { position: absolute; inset: 0; overflow: hidden; font-family: var(--font-dm-sans); color: #101318; text-align: left; }
.demo-stage { position: absolute; left: 50%; top: 50%; width: 1000px; height: 750px; margin: -375px 0 0 -500px; transform-origin: 50% 50%; }
.demo-switch { position: absolute; top: 22px; right: 70px; display: flex; gap: 6px; align-items: center; font-size: 12px; color: rgba(255,255,255,.55); }
.demo-switch span { margin-right: 4px; }
.demo-switch button { font: inherit; font-weight: 600; font-size: 12px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.demo-switch button:hover { background: rgba(255,255,255,.18); }
.demo-switch button[aria-pressed="true"] { background: #fff; color: #101318; border-color: #fff; }
.demo-browser { position: absolute; left: 70px; top: 66px; width: 860px; height: 500px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
.demo-chrome { position: relative; height: 40px; background: #F3F3F5; border-bottom: 1px solid #E3E3E8; display: flex; align-items: center; padding: 0 14px; gap: 7px; }
.demo-dot { width: 11px; height: 11px; border-radius: 50%; }
.demo-dot:nth-child(1) { background: #FF5F57; } .demo-dot:nth-child(2) { background: #FEBC2E; } .demo-dot:nth-child(3) { background: #28C840; }
.demo-url { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 320px; height: 24px; border-radius: 6px; background: #fff; border: 1px solid #E3E3E8; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #6B7080; transition: color .3s; }
.demo-url svg { width: 11px; height: 11px; opacity: 0; transition: opacity .3s; }
.demo-url.is-live { color: #101318; } .demo-url.is-live svg { opacity: 1; }
.demo-page { position: relative; height: 460px; overflow: hidden; background: #fff; }
.demo-page [data-el] { will-change: transform, opacity; }
.site-nav { position: absolute; left: 0; right: 0; top: 0; height: 56px; padding: 0 28px; display: flex; align-items: center; gap: 22px; border-bottom: 1px solid #EEEEF2; }
.site-logo { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; margin-right: auto; }
.site-nav nav { display: flex; gap: 18px; font-size: 13px; color: #5B6070; font-weight: 500; }
.site-btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 16px; border-radius: 8px; font-size: 13px; font-weight: 600; background: #101318; color: #fff; white-space: nowrap; }
.site-nav .site-btn { height: 32px; font-size: 12px; background: var(--color-ember); }
.site-hero { position: absolute; left: 28px; right: 28px; top: 74px; display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.site-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-ember); margin: 4px 0 10px; }
.site-h1 { font: 700 30px/1.08 var(--font-dm-sans); letter-spacing: -0.025em; margin: 0 0 10px; min-height: 98px; color: #101318; }
.site-h1 .caret { display: none; width: 2px; height: .85em; background: #101318; vertical-align: -0.08em; margin-left: 2px; animation: demo-caret 1s steps(1) infinite; }
@keyframes demo-caret { 50% { opacity: 0; } }
.site-p { font-size: 13px; line-height: 1.5; color: #5B6070; margin: 0 0 14px; max-width: 400px; }
.site-ctas { display: flex; gap: 10px; margin-bottom: 12px; }
.site-btn.primary { background: var(--color-ember); } .site-btn.ghost { background: #fff; color: #101318; box-shadow: inset 0 0 0 1px #DADCE3; }
.site-trust { font-size: 12px; color: #5B6070; margin: 0; } .site-trust b { color: #101318; } .site-trust .stars { color: #F5A623; letter-spacing: 1px; margin-right: 6px; }
.site-photo { height: 208px; border-radius: 12px; overflow: hidden; background: #EEEEF2; margin-top: 4px; }
.demo .site-photo img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.site-cards { position: absolute; left: 28px; right: 28px; top: 330px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.site-card { border: 1px solid #EEEEF2; border-radius: 10px; padding: 13px 14px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: #fff; }
.site-card i { width: 34px; height: 34px; border-radius: 8px; background: #EEF0FF; display: flex; align-items: center; justify-content: center; color: var(--color-ember); }
.site-card i svg { width: 16px; height: 16px; }
.site-card b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; } .site-card span { font-size: 12px; color: #5B6070; line-height: 1.4; }
.demo-skeleton { position: absolute; inset: 0; background: #fff; pointer-events: none; }
.demo-skeleton i { position: absolute; border-radius: 6px; background: linear-gradient(90deg, #ECEDF1 0%, #F6F6F8 45%, #ECEDF1 90%); background-size: 200% 100%; animation: demo-shimmer 1.4s linear infinite; }
@keyframes demo-shimmer { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.is-static .demo-skeleton i, .is-static .site-h1 .caret { animation: none; }
/* Real-site mode: a full-page screenshot assembles in three bands (header, hero, rest), then scrolls through during QA. */
.site-shot { position: absolute; inset: 0; overflow: hidden; background: #fff; display: none; }
.demo-page.is-shot .site-shot { display: block; }
.demo-page.is-shot .site-nav, .demo-page.is-shot .site-hero, .demo-page.is-shot .site-cards { visibility: hidden; }
.shot-scroll { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.demo .site-shot canvas { position: absolute; left: 0; top: 0; display: block; }
.demo-toast { position: absolute; top: 66px; right: 14px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; background: #101318; color: #fff; font-size: 12px; font-weight: 500; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.demo-toast svg { width: 14px; height: 14px; color: #28C840; } .demo-toast b { font-weight: 700; margin: 0 2px; }
.demo-scores { position: absolute; right: 40px; top: 520px; display: flex; gap: 16px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid #EEEEF2; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.demo-score { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: #5B6070; font-weight: 500; white-space: nowrap; }
.demo-ring { position: relative; width: 38px; height: 38px; }
.demo-ring svg { width: 38px; height: 38px; transform: rotate(-90deg); } .demo-ring circle { fill: none; stroke-width: 3; }
.demo-ring .bg { stroke: #E6F4EA; } .demo-ring .fg { stroke: #0C8A3A; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.demo-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #0C8A3A; }
.demo-timeline { position: absolute; left: 70px; right: 70px; top: 604px; color: #fff; }
.demo-marks { position: relative; height: 22px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.demo-marks button { position: absolute; top: 0; transform: translateX(-50%); font: inherit; color: rgba(255,255,255,.55); background: none; border: 0; padding: 0 4px; cursor: pointer; transition: color .2s; white-space: nowrap; }
.demo-marks button:first-child { transform: none; padding-left: 0; } .demo-marks button:last-child { transform: translateX(-100%); padding-right: 0; }
.demo-marks button em { font-style: normal; font-weight: 500; opacity: .7; margin-left: 3px; }
.demo-marks button:hover, .demo-marks button.is-on { color: #fff; }
.demo-track { position: relative; height: 28px; margin-top: 6px; }
.demo-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255,255,255,.18); }
.demo-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--color-ember); width: 0; }
.demo-ticks { position: absolute; inset: 0; pointer-events: none; }
.demo-ticks i { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #14162B; box-shadow: 0 0 0 2px rgba(255,255,255,.35); transition: background .2s, box-shadow .2s; }
.demo-ticks i.is-past { background: var(--color-ember); box-shadow: 0 0 0 2px var(--color-ember); }
.demo-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: grab; }
.demo-range:active { cursor: grabbing; }
.demo-range::-webkit-slider-runnable-track { height: 28px; background: transparent; }
.demo-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: #fff; border: 3px solid var(--color-ember); box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.demo-range::-moz-range-track { height: 28px; background: transparent; }
.demo-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--color-ember); box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.demo-range:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
.demo-readout { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.7); }
.demo-readout b { font-family: "Archivo", var(--font-dm-sans); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -0.02em; margin-right: 6px; }
.demo-hint { transition: opacity .4s; } .demo.is-touched .demo-hint { opacity: 0; }
.art-violet { background: var(--color-plasma-violet); }
.art-ember  { background: var(--color-ember); }

/* ------------------------------------------------------------------ */
/* Onchain tabs                                                         */
/* ------------------------------------------------------------------ */
.onchain { padding-top: 200px; }
.onchain .h-2xl { margin-bottom: 84px; }
.tabs { display: grid; grid-template-columns: 420px 1fr; gap: 15px; align-items: start; }
.tab-list { display: contents; }
.tab {
  --tab-ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  grid-column: 1; text-align: left; width: 100%; cursor: pointer; background: transparent;
  border: 1.5px solid var(--ink-2); border-radius: 40px; padding: 24px 40px;
  height: 80px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  transition: height .42s var(--tab-ease), padding .42s var(--tab-ease), border-radius .42s var(--tab-ease), background-color .3s, border-color .3s;
}
.tab-list > .tab:nth-of-type(1) { grid-row: 1; }
.tab-list > .tab:nth-of-type(2) { grid-row: 2; }
.tab-list > .tab:nth-of-type(3) { grid-row: 3; }
.tab-icon { display: flex; flex: none; width: 71px; height: 0; margin-bottom: auto; opacity: 0; overflow: hidden; border-radius: 16px; background: var(--tile); color: var(--ember-text); align-items: center; justify-content: center; transition: height .42s var(--tab-ease), opacity .3s; }
.tab-icon svg { width: 36px; height: 36px; }
.tab-title { font-size: 32px; line-height: 1; transition: font-size .42s var(--tab-ease); }
.tab-desc { display: block; max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; transition: max-height .42s var(--tab-ease), opacity .3s, margin-top .42s var(--tab-ease); }
.tab.is-active {
  background: var(--surface); border-color: transparent; border-radius: 32px;
  padding: 40px; height: 384px;
}
/* The column is always one expanded tab + two collapsed pills, so its height is fixed: nothing below can shift. */
.tabs { grid-template-rows: auto; min-height: 565px; }
.tab.is-active .tab-icon { height: 71px; opacity: 1; }
.tab.is-active .tab-title { font-size: 48px; }
.tab.is-active .tab-desc { max-height: 90px; opacity: 1; margin-top: 14px; }
.tab:hover:not(.is-active) { background: var(--surface); }

.tab-panel {
  grid-column: 2; grid-row: 1 / span 3;
  min-height: 565px; padding: 48px; border-radius: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.panel-violet { background: var(--dark); color: var(--color-limestone); }
.panel-ember  { background: var(--color-ember); color: var(--color-limestone); }
.panel-sulfur { background: var(--color-sulfur); color: var(--ink-2); }
.panel-text { font-size: 30px; line-height: 1.5; max-width: 634px; }
.panel-foot p { margin-bottom: 32px; }
.panel-logos { display: flex; gap: 24px; align-items: center; }
.panel-logos img { height: 28px; width: auto; max-width: 132px; object-fit: contain; }
.panel-violet .panel-logos img, .panel-ember .panel-logos img { filter: invert(1); }
.panel-logos img[alt="PHP"], .panel-logos img[alt="Amazon Web Services"], .panel-logos img[alt="Notion"], .panel-logos img[alt="Node.js"], .panel-logos img[alt="Shopify"] { height: 34px; }

/* ------------------------------------------------------------------ */
/* News                                                                 */
/* ------------------------------------------------------------------ */
.news { padding-top: 200px; overflow: hidden; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 75px; }
.news-arrows { display: flex; gap: 16px; }
.arrow { width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 40px; }
.arrow img { width: 40px; height: 40px; transition: transform 0.2s; }
.arrow:hover img { transform: scale(1.15); }
.news-track {
  display: flex; gap: 58px;
  padding-left: 77px; padding-right: 24px;
  overflow-x: auto; scrollbar-width: none;
}
.news-track::-webkit-scrollbar { display: none; }
.news-card {
  flex: 0 0 375px;
  padding: 16px; border-radius: 40px; background: var(--surface);
  display: flex; flex-direction: column;
  transition: background-color 0.25s;
}
.news-card:hover { background: rgba(247, 246, 242, 0.5); }
.news-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; margin-bottom: 29px; }
.tag { align-self: flex-start; padding: 3px 8px; border-radius: 24px; background: var(--color-sulfur); font-size: 14px; line-height: 1.2; margin-left: 13px; }
.news-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 13px; }
.news-card .tags .tag { margin: 0; }
.news-card .h-sub { margin: 14px 13px 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.date { font-size: 16px; margin: 0 13px 14px; }

/* ------------------------------------------------------------------ */
/* Testimonials (bento grid: two tall cards, one wide, staggered reveal) */
/* ------------------------------------------------------------------ */
.testimonials { padding-top: 200px; position: relative; z-index: 1; }
.testimonials .h-2xl { margin-bottom: 64px; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); grid-auto-flow: dense; gap: 20px; }
.t-card { margin: 0; padding: 32px; border-radius: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--surface); color: var(--ink-2); border: 1.5px solid var(--line); opacity: 0; transform: translateY(20px); filter: blur(4px); transition: opacity .45s ease-out, transform .45s ease-out, filter .45s ease-out, box-shadow .3s; }
.t-card.is-in { opacity: 1; transform: none; filter: none; }
.t-card.is-in:hover { transform: scale(1.02); box-shadow: 0 24px 50px -30px rgba(20,22,43,.35); }
.t-card.tall { grid-row: span 2; }
.t-card.wide { grid-column: span 2; }
.t-card.primary { background: var(--color-ember); color: var(--color-limestone); border-color: transparent; }
.t-card.dark { background: var(--color-midnight); color: var(--color-limestone); border-color: transparent; }
.t-card blockquote { margin: 0; font-size: 16px; line-height: 1.55; font-weight: 500; }
.t-card.tall blockquote, .t-card.wide blockquote { font-size: 28px; line-height: 1.3; letter-spacing: -0.01em; }
.t-card figcaption { display: flex; align-items: center; gap: 14px; }
.t-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; border: 1.5px solid var(--color-ember); flex: none; }
.t-card.primary figcaption img { border-color: var(--color-midnight); }
.t-card figcaption span { display: flex; flex-direction: column; }
.t-card figcaption b { font-size: 16px; font-weight: 700; }
.t-card figcaption small { font-size: 14px; opacity: .8; margin-top: 2px; }
.is-static .t-card { opacity: 1; transform: none; filter: none; transition: none; }
/* ------------------------------------------------------------------ */
/* Book a call: HQ map (Toronto + Montréal) beside an appointment picker */
/* ------------------------------------------------------------------ */
.contact { padding-top: 200px; position: relative; z-index: 1; }
.contact .h-2xl { margin-bottom: 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.contact-map { position: relative; min-height: 680px; border-radius: 40px; overflow: hidden; background: var(--line); }
.contact-map .hq-map, .contact-map .hq-map.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.hq-map .maplibregl-ctrl-attrib { font-size: 10px; border-radius: 8px 0 0 0; }
.hq-legend { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: var(--ink-2); font-size: 14px; font-weight: 600; box-shadow: 0 14px 30px -16px rgba(20,22,43,.35); pointer-events: none; }
.hq-legend b { font-weight: 700; color: var(--ink); margin-right: 4px; }
.hq-legend span { display: flex; align-items: center; gap: 7px; } .hq-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-ember); box-shadow: 0 0 0 2px #fff; }
.hq-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font-size: 18px; color: var(--ink-2); }
.hq-pin { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--color-ember); border: 3px solid #fff; box-shadow: 0 6px 16px -4px rgba(51,64,255,.6); cursor: pointer; transition: transform .2s; }
.hq-pin:hover { transform: scale(1.15); }
.hq-pin::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--color-ember); animation: hq-ping 2s ease-out infinite; }
@keyframes hq-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.hq-tip.maplibregl-popup .maplibregl-popup-content { padding: 8px 12px; border-radius: 10px; background: var(--color-midnight); color: #fff; font: 600 13px/1.3 var(--font-dm-sans); box-shadow: 0 12px 28px -12px rgba(0,0,0,.5); pointer-events: none; }
.hq-tip.maplibregl-popup .maplibregl-popup-content small { display: block; font-weight: 500; opacity: .75; font-size: 12px; }
.hq-tip.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--color-midnight); }
.hq-tip.maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: var(--color-midnight); }
.hq-tip.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: var(--color-midnight); }
.hq-tip.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: var(--color-midnight); }
.contact-card { background: var(--surface); border-radius: 40px; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.contact-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-text); }
.contact-card .h-lg { margin: 0; }
.contact-copy { margin: 0 0 8px; max-width: 520px; color: var(--ink-2); }
.booker { display: grid; grid-template-columns: auto 1fr; border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); }
.cal { padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head b { font-size: 14px; font-weight: 700; }
.cal-nav { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cal-nav:hover { background: var(--page); } .cal-nav svg { width: 16px; height: 16px; } .cal-nav:disabled { opacity: .35; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 38px); gap: 4px; }
.cal-week span { text-align: center; font-size: 12px; color: var(--ink-3); padding-bottom: 6px; }
.cal-day { height: 38px; border-radius: 9px; border: 0; background: transparent; font: 500 14px var(--font-dm-sans); color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.cal-day:hover:not(:disabled) { background: var(--page); }
.cal-day.is-outside { color: var(--ink-3); } .cal-day.is-today { background: var(--tile); }
.cal-day:disabled { color: var(--ink-3); cursor: default; background: transparent; }
.cal-day.is-selected, .cal-day.is-selected:hover { background: var(--color-ember); color: #fff; }
.cal-day:focus-visible { outline: 2px solid var(--color-ember); outline-offset: 1px; }
.slots { border-left: 1.5px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.slots > p { margin: 0; padding: 18px 16px 10px; text-align: center; font-size: 14px; font-weight: 600; } .slots small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.slot-list { flex: 1; overflow-y: auto; max-height: 330px; display: grid; gap: 8px; padding: 0 16px 16px; scrollbar-width: thin; }
.slot { height: 38px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--surface); font: 600 13px var(--font-dm-sans); color: var(--ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.slot:hover { background: var(--page); } .slot.is-selected { background: var(--color-ember); border-color: var(--color-ember); color: #fff; }
.slot-empty { padding: 24px 12px; text-align: center; font-size: 13px; color: var(--ink-3); }
.booker-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.booker-summary { font-size: 14px; color: var(--ink-2); }
.booker-foot .btn[aria-disabled="true"], .booker-foot .btn:disabled { opacity: .45; pointer-events: none; }
.booker-foot .btn.is-busy { opacity: 1; pointer-events: none; }
.slot-tz { margin: 0; padding: 0 16px 12px; text-align: center; font-size: 11px; color: var(--ink-3); }
.slot-empty.is-loading { color: var(--ink-2); } .slot-empty.is-loading::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 auto 10px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--color-ember); animation: sc-spin .8s linear infinite; }
.slot-empty.is-error { color: #B3262B; }
.slot-retry { margin: 0 auto; padding: 0 18px; }
.cal-day.is-loading { color: var(--ink-3); }
/* Confirm step: contact fields appear once a time is picked, in the same style as the contact form */
.book-form { display: grid; gap: 18px; }
.book-fields { display: grid; gap: 14px; padding: 18px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--surface); animation: lead-done-in .35s var(--ease-out); }
.book-fields[hidden] { display: none; }
.book-fields .lead-row { gap: 14px; }
.book-fields .lead-field { font-size: 13px; gap: 6px; }
.book-fields .lead-field small { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.book-fields .lead-field input { padding: 12px 14px; font-size: 15px; border-radius: 12px; }
.book-status { font-size: 14px; }
.book-done { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 16px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--surface); }
.book-done[hidden] { display: none; }
.book-done .lead-done-title { font-size: 34px; }
.book-done .lead-done-copy { font-size: 15px; } .book-done .lead-done-copy b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.book-done .promo-later { margin-top: 14px; }
@media (max-width: 600px) { .book-fields .lead-row { grid-template-columns: 1fr; } .book-fields { padding: 14px; } }
.cta-pair { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-call { display: inline-flex; align-items: center; gap: 8px; }
.btn-call svg { width: 16px; height: 16px; }
/* ------------------------------------------------------------------ */
/* Lead form: posts JSON to a webhook (set data-webhook on the form)      */
/* ------------------------------------------------------------------ */
.lead { padding-top: 160px; position: relative; z-index: 1; }
.lead-head { max-width: 900px; margin: 0 auto 40px; text-align: center; }
.lead-head .h-2xl { margin: 0 0 20px; }
.lead-head-copy { margin: 0 auto; color: var(--ink-2); max-width: 640px; font-size: 18px; line-height: 1.5; }
.lead-faq-title { margin: 8px 0 18px; font: 700 20px/1.25 var(--font-dm-sans); letter-spacing: -0.01em; color: var(--ink); }
.lead-faqs { display: grid; gap: 6px; }
.home-faq { background: var(--surface); border-radius: 12px; padding: 0 14px; }
.home-faq summary { list-style: none; cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.home-faq summary::-webkit-details-marker { display: none; } .home-faq { overflow: hidden; } .home-faq summary { position: relative; padding-right: 28px; }
.home-faq p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.lead-card { display: grid; grid-template-columns: 5fr 7fr; border-radius: 40px; overflow: hidden; background: var(--surface); }
.lead-intro { padding: 40px 40px; background: var(--tile); color: var(--ink); display: flex; flex-direction: column; gap: 0; border-right: 1.5px solid var(--line); }
.lead-intro .contact-eyebrow { color: var(--ember-text); }
.lead-intro .h-lg { margin: 0; color: var(--ink); }
.lead-intro p { margin: 0; color: var(--ink-2); max-width: 460px; }
.lead-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.lead-points li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink); }
.lead-points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--color-ember); }
.lead-points li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.lead-form { padding: 48px; display: grid; gap: 18px; align-content: start; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.lead-field b { color: var(--ember-text); font-weight: 700; }
.lead-field input, .lead-field textarea { width: 100%; box-sizing: border-box; font: 500 16px var(--font-dm-sans); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.lead-field textarea { resize: vertical; min-height: 130px; }
.lead-field input::placeholder, .lead-field textarea::placeholder { color: var(--ink-3); font-weight: 400; }
.lead-field input:focus, .lead-field textarea:focus { outline: none; border-color: var(--color-ember); box-shadow: 0 0 0 4px rgba(51,64,255,.14); }
.lead-field.is-invalid input { border-color: var(--bad-fg); box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.lead-field .lead-error { font-size: 13px; font-weight: 500; color: var(--bad-fg); display: none; }
.lead-field.is-invalid .lead-error { display: block; }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.lead-note { margin: 0; font-size: 13px; color: var(--ink-2); } .lead-note b { color: var(--ember-text); }
.lead-submit { min-width: 160px; position: relative; }
.lead-submit.is-busy { pointer-events: none; opacity: .7; }
.lead-submit.is-busy span { visibility: hidden; }
.lead-submit.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: sc-spin .8s linear infinite; }
.lead-status { margin: 0; font-size: 15px; font-weight: 600; display: none; padding: 14px 16px; border-radius: 12px; }
.lead-status.is-ok { display: block; background: var(--ok-bg); color: var(--ok-fg); }
.lead-status.is-error { display: block; background: var(--bad-bg); color: #B3262B; }
.lead-form.is-sent > *:not(.lead-done) { display: none !important; }
.lead-form.is-sent { display: flex; align-items: center; justify-content: center; min-height: 420px; }
.lead-done { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; max-width: 420px; }
.lead-done[hidden] { display: none; }
.lead-done-check { width: 84px; height: 84px; border-radius: 50%; background: #1B9E5A; color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; position: relative; transform: scale(.5); opacity: 0; animation: lead-done-pop .55s var(--ease-spring) .05s forwards; }
.lead-done-check::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #1B9E5A; opacity: 0; animation: done-ring 1.2s ease-out .5s 2; }
.lead-done-check svg { width: 42px; height: 42px; }
.lead-done-tick { stroke-dasharray: 26; stroke-dashoffset: 26; animation: lead-done-tick .45s ease .35s forwards; }
@keyframes lead-done-pop { to { transform: none; opacity: 1; } }
@keyframes lead-done-tick { to { stroke-dashoffset: 0; } }
.lead-done-title { margin: 0 0 10px; font: 400 40px/1 var(--font-display); letter-spacing: .01em; color: var(--ink); opacity: 0; transform: translateY(8px); animation: lead-done-in .5s var(--ease-out) .3s forwards; }
.lead-done-copy { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); opacity: 0; transform: translateY(8px); animation: lead-done-in .5s var(--ease-out) .45s forwards; }
@keyframes lead-done-in { to { opacity: 1; transform: none; } }
.is-static .lead-done * { animation-duration: 0s !important; animation-delay: 0s !important; }
@media (max-width: 600px) { .lead-form.is-sent { min-height: 320px; } .lead-done-title { font-size: 32px; } .lead-done-check { width: 72px; height: 72px; } }
/* ------------------------------------------------------------------ */
/* Community + newsletter                                               */
/* ------------------------------------------------------------------ */
.community { position: relative; padding-top: 446px; isolation: isolate; }
.bg-dots-2 { top: 40px; left: 50%; transform: translateX(-50%); width: 100vw; height: calc(100% - 40px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 90%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 90%, transparent); }
.community > :not(.bg-dots) { position: relative; z-index: 1; }
.backed, .footer { position: relative; z-index: 2; }
.community .h-2xl { margin-bottom: 84px; }
.community-cards { display: flex; align-items: stretch; }
.community-card {
  flex: 1 1 0; min-height: 300px; padding: 40px; border-radius: 40px; background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background-color 0.25s;
}
.community-card:hover { background: var(--color-chalk); }
.social-bubble { width: 72px; height: 72px; border-radius: 72px; background: var(--color-ember); display: inline-flex; align-items: center; justify-content: center; }
.social-bubble svg { width: 36px; height: 36px; fill: var(--color-limestone); }
.community-count { font-size: 56px; line-height: 1; }

.newsletter { margin-top: 16px; padding: 88px 64px 64px; border-radius: 40px; background: var(--dark); color: var(--color-limestone); }
.newsletter .h-lg { font-size: 48px; max-width: 584px; margin: 0 auto 80px; }
.newsletter-form { position: relative; }
.newsletter-form input {
  width: 100%; height: 80px; padding: 24px 64px 24px 32px;
  border-radius: var(--radius-inputs); border: 1px dotted var(--color-chalk);
  background: transparent; color: var(--color-chalk);
  font-family: var(--font-dm-sans); font-weight: 500; font-size: 18px;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter-form input:focus { outline: none; border-style: solid; }
.newsletter-form button { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform 0.2s; }
.newsletter-form button:hover { transform: scale(1.2); }
.newsletter-form button svg { width: 40px; height: 40px; fill: var(--color-limestone); }

/* ------------------------------------------------------------------ */
/* Backed                                                               */
/* ------------------------------------------------------------------ */
.backed { padding-top: 240px; }
.backed .h-2xl { margin-bottom: 52px; }
.backed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.backed-card {
  aspect-ratio: 316 / 148; padding: 40px 24px; border-radius: 40px; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.25s;
}
.backed-card:hover { background: var(--color-sulfur); }
.backed-card img { width: 59%; height: 42%; object-fit: contain; }

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */
.footer { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 213px 0 56px; }
.footer-cta {
  padding: 40px; border-radius: 40px; background: var(--color-midnight); color: var(--color-limestone);
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
}

.footer-cta .h-lg { max-width: 442px; }
.footer-right { display: flex; flex-direction: column; gap: 16px; }
/* Seven circles fill the column edge to edge with a 16px gap; their size follows the column (78px at 1440, 120px at 2314 on the source). */
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  flex: 1 1 0; aspect-ratio: 1 / 1; border-radius: var(--radius-pills); background: var(--color-ember);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-out);
}
.footer-social a:hover { transform: rotate(25deg); background: var(--color-ember-hover); }
.footer-social svg { width: 50%; height: 50%; fill: var(--color-limestone); }
.footer-links-card { flex: 1; padding: 40px 32px; border-radius: 40px; background: var(--surface); display: flex; flex-direction: column; gap: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--ember-text); }
.copyright { font-size: 14px; line-height: 1.5; }

/* ------------------------------------------------------------------ */
/* Letter reveal on scroll (source: opacity 0→1, y 40px→0, ~0.5s, staggered)   */
/* ------------------------------------------------------------------ */
.reveal .ch { display: inline-block; opacity: 0; transform: translateY(40px); }
.reveal.is-in .ch { opacity: 1; transform: none; animation: reveal-in 0.55s var(--ease-out) both; }
.is-static .reveal .ch, .is-static .hero-title-block, .is-static .hero-copy-block, .is-static .hero-video, .is-static .hero-actions, .is-static .hero-copy-block p, .is-static .tab-panel { animation: none; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }


/* ------------------------------------------------------------------ */
/* Wide desktop (source switches variants above ~1536px)               */
/* ------------------------------------------------------------------ */
@media (min-width: 1536px) {
  h1 { font-size: 136px; line-height: 0.95; }
  .hero-title-block { width: 812px; height: 322px; }
  .feature-card { padding: 48px; }
  .feature-card .h-lg { font-size: 56px; }
  .feature-art img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
  .news-track { gap: 16px; padding-left: max(69px, calc((100vw - 1900px) / 2 + 26px)); }
  .news-card { flex-basis: min(583px, calc((min(1900px, 100vw - 112px) - 32px) / 3.1)); }
  .news-card .h-sub { font-size: 32px; line-height: 1.2; }
  .community { padding-top: 403px; }
  .backed { padding-top: 200px; }
  .backed-card { aspect-ratio: 436 / 180; }
  .backed-card img { width: 69%; height: 58%; }
  .logo-footer { width: 214px; height: 40px; }
  .logo-footer .lockup-svg { width: 214px; height: 40px; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                           */
/* ------------------------------------------------------------------ */
@media (max-width: 1240px) {
  .hero-title-block h1 { white-space: normal; }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  h1 { font-size: 60px; line-height: 1; }
  .h-display { font-size: 96px; }
  .h-2xl { font-size: 56px; }

  .nav { padding: 10px 8px; }
  .nav-links, .nav-social, .nav .vdivider, .nav-pill > .nav-right > .btn-primary { display: none; }
  .nav-pill { background: var(--surface); height: 52px; padding: 0 8px 0 16px; gap: 12px; }
  .nav-pill, .nav.is-compact .nav-pill { width: 100%; }
  .nav.is-compact { padding-top: 10px; }
  .logo, .nav.is-compact .logo { width: 187px; height: 35px; }
  .logo .lockup-svg { width: 187px; height: 35px; }
  .nav.is-compact .logo .lockup-svg { opacity: 1; }
  .nav.is-compact .logo .mark-svg { opacity: 0; }
  .nav-right { gap: 8px; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav { display: flex; }

  .hero { padding-top: 72px; }
  .hero-mobile-title { display: block; margin-bottom: 24px; }
  .hero-card { height: auto; min-height: 0; aspect-ratio: 360 / 390; border-radius: 40px 0 40px 40px; margin-top: -28px; }
  .hero-video { border-radius: 40px 0 40px 40px; overflow: hidden; }
  .hero-title-block, .hero-copy-block, .corner-tr, .corner-bl, .corner-tl, .corner-br { display: none; }
  .corner-mobile { display: block; }
  .hero-mobile-copy { display: block; position: relative; z-index: 2; padding: 0 12px 16px; background: var(--page); border-radius: 0 0 40px 0; }
  .hero { display: flex; flex-direction: column; }
  .hero-mobile-title { order: 1; }
  .hero-mobile-copy { order: 2; }
  .hero-card { order: 3; }
  .hero-mobile-copy p { font-size: 18px; margin-bottom: 32px; }
  .hero-mobile-copy .hero-actions { flex-direction: column; gap: 8px; }
  .hero-mobile-copy .btn-lg { width: 100%; min-height: 48px; font-size: 16px; }

  .ecosystem { padding-top: 120px; }
  .stats { flex-direction: column; gap: 14px; }
  .joiner { display: none; }
  .stat { min-height: 121px; padding: 24px; border-radius: 32px; gap: 10px; }
  .stat-label { font-size: 16px; }
  .stat-value { font-size: 40px; }
  .partner-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 6px; padding: 24px 12px; border-radius: 32px; }
  .partner { min-height: 50px; }
  .partner + .partner { border-left: 0; }
  .partner:last-child { grid-column: 1 / -1; }
  .ticker { height: 45px; }
  .ticker img { width: 122px; height: 45px; margin-bottom: 5px; }

  .more { padding-top: 200px; }
  .bg-dots-1 { height: 1702px; top: 60px; }
  .more .h-display { margin-bottom: 48px; }
  .feature-grid { display: flex; flex-direction: column; }
  .feature-card, .feature-art { min-height: 0; width: auto !important; justify-self: stretch; }
  .feature-card { padding: 24px; border-radius: 32px; gap: 40px; }
  .feature-icon { width: 58px; height: 58px; border-radius: 10px; }
  .feature-icon svg { width: 30px; height: 30px; }
  .feature-card .h-lg { font-size: 32px; }
  .feature-body p { font-size: 14px; margin: 14px 0 24px; }
  .btn-arrow { font-size: 14px; }
  .feature-art { aspect-ratio: 324 / 249; border-radius: 32px; }
  .feature-art img { width: 100%; height: 100%; object-fit: cover; max-width: none; }

  .onchain { padding-top: 160px; }
  .tabs { display: flex; flex-direction: column; gap: 12px; }
  .tab-list { display: flex; flex-direction: column; gap: 12px; }
  .tab, .tab.is-active { background: var(--surface); border-color: transparent; border-radius: 32px; padding: 24px; height: auto; min-height: 196px; justify-content: space-between; cursor: default; }
  .tabs { min-height: 0; }
  .tab .tab-icon { display: flex; width: 40px; height: 40px; opacity: 1; margin-bottom: 0; border-radius: 12px; }
  .tab, .tab-icon, .tab-title, .tab-desc { transition: none; }
  .tab-icon svg { width: 23px; height: 23px; }
  .tab .tab-title, .tab.is-active .tab-title { font-size: 32px; }
  .tab .tab-desc { display: block; max-height: none; opacity: 1; font-size: 14px; margin-top: 8px; }
  .tab-panel { display: flex !important; min-height: 0; padding: 24px; border-radius: 32px; gap: 40px; animation: none; }
  .panel-text { font-size: 20px; }
  .panel-foot p { font-size: 14px; margin-bottom: 20px; }
  .panel-logos img { height: 29px; }

  .news { padding-top: 160px; }
  .news-track { gap: 16px; padding-left: 24px; scroll-padding-left: 24px; }
  .news-card { flex-basis: 320px; }

  .community { padding-top: 160px; }
  .bg-dots-2 { display: none; }
  .community-cards { flex-direction: column; gap: 14px; }
  .community-card { min-height: 187px; padding: 24px; border-radius: 32px; }
  .social-bubble { width: 65px; height: 65px; }
  .social-bubble svg { width: 32px; height: 32px; }
  .community-count { font-size: 40px; }
  .newsletter { padding: 48px 16px 40px; border-radius: 32px; }
  .newsletter .h-lg { font-size: 32px; margin-bottom: 30px; }
  .newsletter-form input { height: 50px; padding: 8px 52px 8px 24px; font-size: 16px; }
  .newsletter-form button { width: 36px; height: 36px; right: 8px; top: 7px; }
  .newsletter-form button svg { width: 36px; height: 36px; }

  .backed { padding-top: 160px; }
  .backed-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
  .backed-card { aspect-ratio: 158 / 86; padding: 24px 16px; border-radius: 32px; }
  .backed-card img { width: 82%; height: 50%; }

  .footer { grid-template-columns: 1fr; padding-top: 160px; gap: 24px; }
  .footer-cta { padding: 24px; border-radius: 32px; }
  .footer-cta .h-lg { font-size: 32px; }
  .footer-social { flex-wrap: wrap; justify-content: flex-start; gap: 24px; }
  .footer-social a { flex: 0 0 70px; width: 70px; height: 70px; }
  .footer-social svg { width: 36px; height: 36px; }
  .footer-links-card { padding: 24px; border-radius: 32px; gap: 24px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .container-wide, .container-mid, .container-narrow { width: calc(100% - 16px); }
  .ecosystem, .more, .onchain, .news, .community, .backed, .testimonials, .contact, .live, .lead { padding-inline: 18px; }
  .lead { padding-top: 100px; } .lead-card { grid-template-columns: 1fr; border-radius: 32px; }
  .lead-intro { padding: 32px 24px; } .lead-form { padding: 24px; } .lead-row { grid-template-columns: 1fr; }
  .live-pin { padding: 100px 0 24px; height: auto; position: static; overflow: visible; } .live-copy { font-size: 16px; margin-bottom: 24px; } .mac { width: 100%; }
  .contact { padding-top: 120px; } .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 380px; border-radius: 32px; } .contact-card { padding: 24px; border-radius: 32px; }
  .booker { grid-template-columns: 1fr; } .slots { border-left: 0; border-top: 1.5px solid var(--line); } .slot-list { max-height: 220px; }
  .cal { padding: 12px; } .cal-week, .cal-grid { grid-template-columns: repeat(7, 1fr); }
  .testimonials { padding-top: 120px; }
  .t-grid { grid-template-columns: 1fr; gap: 12px; }
  .t-card.tall { grid-row: auto; } .t-card.wide { grid-column: auto; }
  .t-card { padding: 24px; border-radius: 24px; }
  .t-card.tall blockquote, .t-card.wide blockquote { font-size: 22px; }
  .hero-mobile-title, .hero-mobile-copy { padding-inline: 12px; }
  .h-display { font-size: 72px; }
  .h-2xl { font-size: 48px; }
}

/* ------------------------------------------------------------------ */
/* Reduced motion                                                       */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .reveal .ch { opacity: 1; transform: none; animation: none; }
  .hero-title-block, .hero-copy-block, .hero-video, .hero-actions, .hero-copy-block p, .tab-panel { animation: none; }
  .news-track { scroll-behavior: auto; }
  .btn, .nav-pill, .tab, .arrow img, .footer-social a, .newsletter-form button { transition: none; }
}

/* Resources menu footer link */
.res-all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: -14px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ember-text) !important; }
.res-all:hover { background: var(--tile); } .res-all .res-chev { width: 14px; height: 14px; margin: 0; color: currentColor; }
.mobile-res-all { display: block; margin-top: 10px; font-weight: 700; color: var(--ember-text) !important; }
.mobile-nav .mobile-res-group a.mobile-res-more { font-size: 13px; font-weight: 700; color: var(--ember-text); }

/* FAQ toggle icon: plus that morphs into a minus */
.home-faq summary::before, .home-faq summary::after, .res-faq summary::before, .res-faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--color-ember); transition: transform .32s cubic-bezier(.22,.8,.2,1); }
.home-faq summary::before, .res-faq summary::before { transform: rotate(90deg); }
.home-faq[open] summary::before, .res-faq[open] summary::before { transform: rotate(0deg) scaleX(0); }
.home-faq[open] summary::after, .res-faq[open] summary::after { transform: rotate(180deg); }
.res-faq summary::before, .res-faq summary::after { width: 14px; }

/* Pricing */
.pricing { padding-top: 200px; position: relative; z-index: 1; }
.pricing .h-2xl { margin-bottom: 20px; }
.price-sub { max-width: 640px; margin: 0 auto 32px; text-align: center; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.price-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 auto 36px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); position: relative; left: 50%; transform: translateX(-50%); }
.price-tab { font: 600 14px/1 var(--font-dm-sans); padding: 12px 22px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.price-tab:hover { color: var(--ember-text); } .price-tab.is-on { background: var(--dark); color: #fff; }
.price-panel { display: none; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-panel.is-on { display: grid; animation: price-in .38s var(--ease-out) both; }
@keyframes price-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.is-static .price-panel.is-on { animation: none; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 28px; background: var(--surface); color: var(--ink-2); border: 1.5px solid var(--line); transition: box-shadow .3s, transform .3s; }
.price-card:hover { box-shadow: 0 30px 60px -40px rgba(20,22,43,.35); transform: translateY(-2px); }
.price-card.is-featured { background: var(--color-midnight); color: rgba(255,255,255,.82); border-color: transparent; }
.price-badge { position: static; align-self: flex-start; margin: -6px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--color-ember); color: #fff; }
.price-name { margin: 0; font: 700 20px/1.2 var(--font-dm-sans); letter-spacing: -0.01em; color: var(--ink); } .price-card.is-featured .price-name { color: #fff; }
.price-amt { margin: 0; display: flex; align-items: baseline; gap: 8px; } .price-amt b { font: 800 48px/1 "Archivo", var(--font-dm-sans); letter-spacing: -0.03em; color: var(--ink); } .price-amt small { font-size: 14px; font-weight: 500; } .price-amt b { white-space: nowrap; } .price-from { font-size: 14px; font-weight: 600; color: var(--ink-2); } .price-card.is-featured .price-from { color: rgba(255,255,255,.82); } .price-card.is-featured .price-amt b { color: #fff; }
.price-time { margin: 0 0 6px; align-self: flex-start; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--tile); color: var(--ember-text); } .price-card.is-featured .price-time { background: rgba(255,255,255,.1); color: var(--color-sulfur); }
.price-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; flex: 1; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; } .price-list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ember-text); } .price-card.is-featured .price-list svg { color: var(--color-sulfur); }
.price-card .btn { justify-content: center; }
.price-note { margin: 28px 0 0; text-align: center; font-size: 14px; color: var(--ink-2); } .price-note a { color: var(--ember-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .pricing { padding-top: 120px; } .price-panel { grid-template-columns: 1fr; } .price-tabs { display: flex; left: 0; transform: none; width: 100%; } .price-tab { flex: 1; padding: 12px 8px; } .price-card { padding: 28px; } }

/* Pricing strip under Services (links to pricing.html) */
.price-strip { margin-top: 28px; }
.price-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 16px 28px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-2); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.price-strip-inner:hover { border-color: var(--color-ember); box-shadow: 0 20px 40px -30px rgba(20,22,43,.35); }
.price-strip-inner b { color: var(--ink); font-weight: 700; }
.price-strip-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ember-text); } .price-strip-cta .res-chev { width: 14px; height: 14px; margin: 0; color: currentColor; }
.res-body .pricing { padding-top: 8px; }
@media (max-width: 1024px) { .price-strip-inner { border-radius: 24px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 22px; } }

/* Lead form: service picker */
.lead-services { border: 0; margin: 0; padding: 0; min-width: 0; }
.lead-services legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink); } .lead-services legend small { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.lead-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-pills label { position: relative; cursor: pointer; }
.lead-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lead-pills span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink); transition: background .18s, border-color .18s, color .18s; }
.lead-pills span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink-3); transition: background .18s, border-color .18s; }
.lead-pills label:hover span { border-color: var(--ink); }
.lead-pills input:checked + span { background: var(--color-ember); border-color: var(--color-ember); color: #fff; } .lead-pills input:checked + span::before { background: var(--surface); border-color: #fff; }
.lead-pills input:focus-visible + span { box-shadow: 0 0 0 4px rgba(51,64,255,.18); }
.price-strip-tag { font-size: 13px; color: var(--ink-3); }

/* ================= Automation row: lead pipeline ================= */
.art-midnight { background: var(--color-midnight); }
.flow { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 30px 34px 28px; font-family: var(--font-dm-sans); color: #fff;
  background: radial-gradient(90% 70% at 70% 30%, rgba(51,64,255,.22), transparent 60%), radial-gradient(60% 50% at 20% 90%, rgba(152,160,255,.12), transparent 60%),
              linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 40px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 100%; }
.flow-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.flow-title { display: flex; align-items: center; gap: 12px; } .flow-title b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.flow-run { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #86EFAC; background: rgba(34,197,94,.12); padding: 5px 10px; border-radius: 999px; }
.flow-run i { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; animation: flow-blink 1.6s ease-in-out infinite; }
@keyframes flow-blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); } }
.flow-mode { display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.flow-mode button { font: 600 12px var(--font-dm-sans); padding: 7px 13px; border-radius: 999px; border: 0; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; transition: background .2s, color .2s; }
.flow-mode button.is-on { background: var(--color-ember); color: #fff; box-shadow: 0 6px 18px -6px rgba(51,64,255,.8); } .flow-mode button:hover:not(.is-on) { color: #fff; }
.flow-vals { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.55); }
.flow-vals span { margin-right: 4px; }
.flow-vals button { font: 700 12px var(--font-dm-sans); padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: rgba(255,255,255,.75); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.flow-vals button.is-on { background: rgba(152,160,255,.16); border-color: var(--color-sulfur); color: #fff; }
.flow-svg-wrap { flex: 1; min-height: 0; display: flex; align-items: center; }
.flow-svg { width: 100%; height: auto; max-height: 100%; display: block; overflow: visible; }
.flow-track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 6; stroke-linecap: round; }
.flow-prog, .flow-prog-glow { fill: none; stroke: url(#flow-grad); stroke-width: 6; stroke-linecap: round; }
.flow-prog-glow { stroke-width: 14; opacity: .55; }
.flow-node-bg { fill: #1B1E3A; stroke: rgba(255,255,255,.18); stroke-width: 2; transition: fill .35s, stroke .35s; }
.flow-node-ring { fill: none; stroke: var(--color-ember); stroke-width: 2; opacity: 0; }
.flow-node svg { color: rgba(255,255,255,.7); transition: color .35s; }
.flow-node-label { font: 600 13px var(--font-dm-sans); fill: rgba(255,255,255,.55); transition: fill .35s; }
.flow-node.is-on .flow-node-bg { fill: var(--color-ember); stroke: var(--color-ember); } .flow-node.is-on svg { color: #fff; } .flow-node.is-on .flow-node-label { fill: #fff; }
.flow-node.is-on .flow-node-ring { animation: flow-ring 1.2s ease-out 1; }
@keyframes flow-ring { 0% { opacity: .9; r: 20; } 100% { opacity: 0; r: 38; } }
.flow-node.is-lost .flow-node-bg { fill: #FF6B5E; stroke: #FF6B5E; } .flow-node.is-lost svg { color: #2B0B08; } .flow-node.is-lost .flow-node-label { fill: #FF8A7E; }
.flow-node.is-dim { opacity: .35; }
.flow-chip rect { fill: rgba(27,30,58,.92); stroke: rgba(255,255,255,.12); stroke-width: 1; }
.flow-chip-ic svg { color: var(--color-sulfur); }
.flow-chip-t { font: 700 12.5px var(--font-dm-sans); fill: #fff; } .flow-chip-m { font: 500 11px var(--font-dm-sans); fill: rgba(255,255,255,.62); }
.flow-chip-pay rect { fill: rgba(27,158,90,.18); stroke: rgba(34,197,94,.5); } .flow-chip-pay .flow-chip-ic svg { color: #86EFAC; } .flow-chip-pay .flow-chip-t { fill: #86EFAC; }
.flow-chip-clock rect { fill: rgba(255,107,94,.16); stroke: rgba(255,107,94,.55); } .flow-chip-clock .flow-chip-ic svg { color: #FF8A7E; } .flow-chip-clock .flow-chip-t { fill: #FF8A7E; }
.flow-chip-in { opacity: 0; transform: translateY(8px) scale(.96); transform-box: fill-box; transform-origin: center; transition: opacity .35s ease, transform .45s cubic-bezier(.22,.8,.2,1); }
.flow-chip.is-on .flow-chip-in { opacity: 1; transform: none; }
.flow-dot .core { fill: #fff; stroke: var(--color-ember); stroke-width: 3; } .flow-dot .halo { fill: var(--color-ember); opacity: .8; filter: url(#flow-dot-glow); }
.flow-dot.is-lost circle { animation: flow-lost .9s ease-in forwards; } .flow-dot.is-lost .core { stroke: #FF6B5E; } .flow-dot.is-lost .halo { fill: #FF6B5E; }
@keyframes flow-lost { 0% { opacity: 1; } 30% { transform: translateX(-4px); } 60% { transform: translateX(4px); } 100% { opacity: 0; transform: translateY(12px); } }
.flow-dot.is-done circle { animation: flow-done .6s ease-out forwards; } @keyframes flow-done { to { opacity: 0; transform: scale(2); } }
.flow-foot { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; }
.flow-stat { position: relative; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); display: grid; gap: 2px; }
.flow-stat small { font-size: 11px; color: rgba(255,255,255,.6); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.flow-stat b { font: 800 24px "Archivo", var(--font-dm-sans); letter-spacing: -0.02em; } .flow-stat.is-won b { color: #86EFAC; } .flow-stat.is-lost b { color: #FF8A7E; } .flow-stat.is-lost.is-zero b { color: rgba(255,255,255,.4); }
.flow-gain { position: absolute; right: 14px; bottom: 100%; font: 800 16px "Archivo", var(--font-dm-sans); color: #86EFAC; opacity: 0; pointer-events: none; }
.flow-gain.is-on { animation: flow-gain 1.3s ease-out both; } .flow-gain.is-lost { color: #FF8A7E; }
@keyframes flow-gain { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }
.flow-send { font: 700 13px var(--font-dm-sans); padding: 15px 20px; border-radius: 999px; border: 0; background: #fff; color: var(--color-midnight); cursor: pointer; white-space: nowrap; transition: transform .15s, background .2s; }
.flow-send:hover { background: var(--color-sulfur); } .flow-send:active { transform: scale(.96); }
.is-static .flow-chip-in, .is-static .flow-node-bg, .is-static .flow-node-label { transition: none !important; } .is-static .flow-run i, .is-static .flow-node-ring { animation: none !important; }
@media (max-width: 1024px) { .flow { padding: 18px; gap: 8px; } .flow-foot { grid-template-columns: 1fr 1fr; } .flow-send { grid-column: 1 / -1; } .flow-vals { flex-wrap: wrap; } .flow-title b { font-size: 16px; } }

/* lead pipeline: value slider + failure states */
.flow-val { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px 12px; font-size: 12px; color: rgba(255,255,255,.6); max-width: 420px; }
.flow-val b { font: 800 15px "Archivo", var(--font-dm-sans); color: #fff; letter-spacing: -0.01em; min-width: 64px; }
.flow-val input[type=range] { width: 100%; accent-color: var(--color-ember); height: 22px; cursor: pointer; }
.flow-chip-ok rect { fill: rgba(27,158,90,.18); stroke: rgba(34,197,94,.5); } .flow-chip-ok .flow-chip-ic svg { color: #86EFAC; } .flow-chip-ok .flow-chip-t { fill: #86EFAC; }
.flow-chip-warn rect { fill: rgba(255,190,90,.12); stroke: rgba(255,190,90,.45); } .flow-chip-warn .flow-chip-ic svg { color: #FFD08A; } .flow-chip-warn .flow-chip-t { fill: #FFD08A; }
.flow-chip-fail rect { fill: rgba(255,107,94,.16); stroke: rgba(255,107,94,.6); } .flow-chip-fail .flow-chip-ic svg { color: #FF8A7E; } .flow-chip-fail .flow-chip-t { fill: #FF8A7E; }
.flow-node.is-warn .flow-node-bg { fill: #B7791F; stroke: #FFD08A; } .flow-node.is-warn svg { color: #fff; } .flow-node.is-warn .flow-node-label { fill: #FFD08A; }

/* paid node lands green */
.flow-node[data-node="paid"].is-on .flow-node-bg, .flow-node[data-node="review"].is-on .flow-node-bg { fill: #22C55E; stroke: #22C55E; } .flow-node[data-node="paid"].is-on svg, .flow-node[data-node="review"].is-on svg { color: #062B14; }
.flow-node[data-node="paid"].is-on .flow-node-label, .flow-node[data-node="review"].is-on .flow-node-label { fill: #86EFAC; } .flow-node[data-node="paid"].is-on .flow-node-ring, .flow-node[data-node="review"].is-on .flow-node-ring { stroke: #22C55E; }

/* Site-wide kinetic grid background (one fixed canvas behind every page) */
.bg-site { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }

/* Feature rows stack as sticky layers while scrolling (port of the stacked-cards effect) */
.feature-stack { display: flex; flex-direction: column; gap: 32px; }
.feature-stack-end { height: 42vh; }
.feature-stack > :nth-child(n) { grid-column: auto; grid-row: auto; width: auto; justify-self: auto; }
.feature-row { position: sticky; top: calc(96px + var(--i, 0) * 18px); display: grid; grid-template-columns: 41fr 59fr; gap: 16px; transform-origin: 50% 0; will-change: transform; z-index: calc(1 + var(--i, 0)); }
.feature-row.art-first { grid-template-columns: 59fr 41fr; }
.feature-row > .feature-card, .feature-row > .feature-art { min-height: 44.4cqw; height: auto; }
.feature-row > .feature-card { padding-bottom: 40px; }
/* One continuous card per row: the text panel and the art panel share a single rounded shell with no gap. */
.feature-row { gap: 0; border-radius: 40px; overflow: hidden; background: var(--surface); }
.feature-row > .feature-card, .feature-row > .feature-art { border-radius: 0; }
.feature-row::after { content: ""; position: absolute; inset: 0; border-radius: 40px; background: var(--dark); opacity: 0; pointer-events: none; transition: opacity .2s; opacity: var(--dim, 0); }
@media (max-width: 1024px) { .feature-row, .feature-row.art-first { grid-template-columns: 1fr; top: calc(72px + var(--i, 0) * 12px); border-radius: 32px; } .feature-row > .feature-card, .feature-row > .feature-art { height: auto; min-height: 60vw; } .feature-stack-end { height: 30vh; } }

/* Services funnel: the section pins while a visitor is walked through the funnel */
.funnel-track { height: 300vh; }
.funnel { position: relative; min-height: 565px; border-radius: 40px; overflow: hidden; background: var(--dark);
  background-image: radial-gradient(70% 60% at 65% 35%, rgba(51,64,255,.28), transparent 62%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 100% 40px, 40px 100%; color: #fff; font-family: var(--font-dm-sans); }
.funnel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.funnel-cap { position: absolute; left: 32px; right: 32px; top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline; padding: 16px 20px; border-radius: 16px; background: rgba(27,30,58,.82); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.funnel-cap small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-sulfur); }
.funnel-cap b { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.funnel-cap span { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.7); }
.funnel-hint { position: absolute; bottom: 22px; right: 28px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); transition: opacity .4s; }
.funnel-hint.is-off { opacity: 0; }
@media (max-width: 1024px) { .funnel-track { height: auto; } .tabs.has-funnel { position: static; } .funnel { grid-column: 1; grid-row: auto; min-height: 520px; } .funnel-cap { left: 16px; right: 16px; top: 16px; } }

/* Services: tabs + text panel on the left, funnel on the right, pinned together */
.services-pin { position: sticky; top: 96px; }
.services-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.onchain.container-wide .h-2xl { max-width: 1166px; margin-left: auto; margin-right: auto; }
.services-pin .tabs { grid-template-columns: 340px 1fr; min-height: 565px; }
.services-pin .tab { padding: 22px 32px; } .services-pin .tab.is-active { padding: 32px; }
.services-pin .tab-title { font-size: 28px; } .services-pin .tab.is-active .tab-title { font-size: 40px; }
.services-pin .tab-panel { padding: 36px; min-height: 565px; }
.services-pin .panel-text { font-size: 22px; line-height: 1.5; max-width: none; }
.services-pin .panel-foot p { margin-bottom: 18px; } .services-pin .panel-logos { gap: 18px; } .services-pin .panel-logos img { height: 24px; max-width: 110px; }
.services-pin .funnel { height: 100%; }
@media (max-width: 1280px) { .services-row { grid-template-columns: 1fr; } .services-pin .funnel { min-height: 560px; } }
@media (max-width: 1024px) { .services-pin { position: static; } .services-pin .tabs { grid-template-columns: 1fr; } }

.services-pin .tabs { min-width: 0; }
.services-pin .tab-panel { min-width: 0; overflow: hidden; }
.services-pin .panel-logos { flex-wrap: wrap; }
.services-pin .panel-text { font-size: 20px; }

/* Services funnel, drawn on the page itself (no box) */
.services-pin .funnel { background: none; border-radius: 0; overflow: visible; color: var(--ink); display: flex; flex-direction: column; }
.funnel-cap { position: static; margin: 0 0 6px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); backdrop-filter: none; }
.funnel-cap small { color: var(--ember-text); } .funnel-cap span { color: var(--ink-2); }
.funnel-canvas { position: relative; flex: 1; min-height: 360px; cursor: pointer; }
.funnel-sum { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: baseline; padding: 14px 20px; border-radius: 16px; background: var(--color-midnight); color: #fff; }
.funnel-sum span { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-sulfur); }
.funnel-sum b { font: 800 20px "Archivo", var(--font-dm-sans); letter-spacing: -0.02em; } .funnel-sum em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.7); }
.funnel-hint { position: static; margin-top: 10px; text-align: right; color: var(--ink-3); }

/* Funnel on its own white card so the page grid stays behind it */
.services-pin .funnel { background: var(--surface); border-radius: 40px; padding: 24px 24px 20px; overflow: hidden; }
.services-pin .funnel-cap { background: var(--page); border-color: transparent; }
.services-pin .funnel-sum { margin: 0; }
.services-pin .funnel-hint { margin-top: 8px; }

/* pinned services block: heading + row, all three cards share one bottom edge */
.services-pin .h-2xl { margin-bottom: 44px; }
.services-pin .tabs { align-items: stretch; min-height: 0; height: 100%; }
.services-pin .tab-panel { align-self: stretch; min-height: 0; }
.services-pin .funnel { min-height: 0; height: auto; }
.funnel-canvas { min-height: 300px; }
.services-pin .funnel-sum { margin-top: 6px; }

/* Funnel card: stepper on top, ledger at the bottom, 3D funnel between */
.funnel-steps { list-style: none; margin: 0 0 10px; padding: 0 6px; display: flex; align-items: flex-start; gap: 0; position: relative; }
.funnel-steps::before { content: ""; position: absolute; left: 14px; right: 14px; top: 8px; height: 2px; background: var(--line); }
.funnel-steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.funnel-steps li:last-child { flex: 0 0 auto; }
.funnel-steps i { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); box-sizing: border-box; transition: background .25s, border-color .25s, transform .25s; }
.funnel-steps i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--color-ember); opacity: 0; transition: opacity .25s; }
.funnel-steps span { font-size: 11px; font-weight: 600; color: var(--ink-3); white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.funnel-steps li.is-done i { border-color: var(--color-ember); background: var(--color-ember); }
.funnel-steps li.is-on i { border-color: var(--color-ember); transform: scale(1.15); } .funnel-steps li.is-on i::after { opacity: 1; }
.funnel-steps li.is-on span { opacity: 1; transform: none; color: var(--ink); font-weight: 700; font-size: 13px; }
.funnel-steps li:last-child span { position: absolute; right: 0; top: 26px; }
.funnel-line { margin: 14px 0 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); min-height: 42px; }
.funnel-ledger { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 14px; margin-top: 4px; border-top: 1.5px solid var(--line); }
.funnel-ledger b { display: block; font: 800 22px/1 "Archivo", var(--font-dm-sans); letter-spacing: -0.02em; color: var(--ink); }
.funnel-ledger div:last-child b { color: var(--ember-text); }
.funnel-ledger span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-3); }
.services-pin .funnel-cap, .services-pin .funnel-sum { display: none; }
@media (max-width: 1024px) { .funnel-ledger { grid-template-columns: 1fr 1fr; } }
.nav-social svg { width: 22px; height: 22px; }

/* Contact form: video panel (left) */
.lead-media { position: relative; min-height: 520px; background: var(--color-midnight); overflow: hidden; border-right: 1.5px solid #DFE2F5; }
.lead-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* FAQ section */
.faq { padding-top: 180px; padding-bottom: 40px; }
.faq .h-2xl { margin-bottom: 20px; }
.faq-sub { max-width: 640px; margin: 0 auto 40px; text-align: center; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; align-items: start; }
.faq-grid .home-faq { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq-grid .home-faq summary { padding: 18px 28px 18px 0; font-size: 16px; }
.faq-grid .home-faq p { font-size: 15px; margin-bottom: 18px; }
@media (max-width: 1024px) { .lead-media { min-height: 280px; border-right: 0; border-bottom: 1.5px solid #DFE2F5; } .faq { padding-top: 110px; } .faq-grid { grid-template-columns: 1fr; } }

/* Footer: white isotype + three strokes motif */
.footer-cta { position: relative; overflow: hidden; }
.footer-cta > * { position: relative; z-index: 1; }
.footer-strokes { position: absolute; right: -30px; top: 0; height: 100%; width: 260px; z-index: 0; pointer-events: none; opacity: .95; overflow: visible; }

/* dark-mode specifics found by the contrast audit */
[data-theme="dark"] .news-card .tag, [data-theme="dark"] .tag { color: #14162B; }
[data-theme="dark"] .hq-legend { background: rgba(25,28,51,.94); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
[data-theme="dark"] .hq-legend b { color: var(--ink); }
[data-theme="dark"] .rotating { color: var(--ember-text); }
[data-theme="dark"] .care-list button.is-active, [data-theme="dark"] .care-list button:hover { background: var(--ink-a08); }
[data-theme="dark"] .contact-card, [data-theme="dark"] .footer-links-card { box-shadow: inset 0 0 0 1.5px var(--line); }
[data-theme="dark"] .hq-map .maplibregl-ctrl-attrib { background: rgba(25,28,51,.8); color: var(--ink-3); } [data-theme="dark"] .hq-map .maplibregl-ctrl-attrib a { color: var(--ink-2); }

.ph-head i.ph-avatar { display: flex; align-items: center; justify-content: center; } .ph-head i.ph-avatar svg { width: 24px; height: 19px; display: block; }

/* Promo pop-up */
.promo { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.promo[hidden] { display: none; }
.promo-backdrop { position: absolute; inset: 0; background: rgba(8,9,20,.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.promo.is-on .promo-backdrop { opacity: 1; }
.promo-card { position: relative; width: min(520px, 100%); background: var(--surface); color: var(--ink); border-radius: 28px; padding: 36px 36px 28px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6), 0 0 0 1.5px var(--line); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.promo.is-on .promo-card { opacity: 1; transform: none; }
.promo-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink-2); display: flex; align-items: center; justify-content: center; cursor: pointer; } .promo-x svg { width: 16px; height: 16px; } .promo-x:hover { border-color: var(--color-ember); color: var(--ember-text); }
.promo-mark { width: 52px; height: 52px; border-radius: 16px; background: var(--color-ember); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; } .promo-mark svg { width: 34px; height: 26px; }
.promo-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-text); }
.promo-title { margin: 0 0 12px; font: 400 40px/1 var(--font-display); letter-spacing: .01em; color: var(--ink); }
.promo-copy { margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.promo-code { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--tile); border: 1.5px dashed rgba(51,64,255,.5); }
.promo-code span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.promo-code b { font: 800 22px "Archivo", var(--font-dm-sans); letter-spacing: .06em; color: var(--ink); }
.promo-copy-btn { font: 700 13px var(--font-dm-sans); padding: 10px 16px; border-radius: 999px; border: 0; background: var(--color-ember); color: #fff; cursor: pointer; } .promo-copy-btn.is-done { background: #1B9E5A; }
.promo-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.promo-later { font: 600 14px var(--font-dm-sans); border: 0; background: transparent; color: var(--ink-3); cursor: pointer; padding: 8px 4px; } .promo-later:hover { color: var(--ink); }
.promo-fine { margin: 16px 0 0; font-size: 12px; color: var(--ink-3); }
@media (max-width: 600px) { .promo-card { padding: 28px 22px 22px; } .promo-title { font-size: 32px; } .promo-code { grid-template-columns: 1fr auto; } .promo-code span { display: none; } .promo-actions { flex-wrap: wrap; } }

/* Tick boxes (contact form "What do you already have?") */
.lead-have { margin-top: 2px; }
.lead-have legend small { display: block; margin-top: 2px; }
.tick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tick-grid label { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .2s, transform .2s var(--ease-spring), color .2s; user-select: none; }
.tick-grid label:hover { border-color: var(--color-ember); transform: translateY(-1px); }
.tick-grid input { position: absolute; opacity: 0; width: 0; height: 0; }
.tick-grid span { flex: none; width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, transform .25s var(--ease-spring); }
.tick-grid span svg { width: 12px; height: 12px; color: #fff; stroke: #fff; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .3s ease .05s; }
.tick-grid input:checked + span { background: var(--color-ember); border-color: var(--color-ember); transform: scale(1.08); }
.tick-grid input:checked + span svg { stroke-dashoffset: 0; }
.tick-grid input:checked ~ span, .tick-grid label:has(input:checked) { color: var(--ink); border-color: var(--color-ember); }
.tick-grid input:focus-visible + span { outline: 2px solid var(--color-ember); outline-offset: 2px; }
@media (max-width: 600px) { .tick-grid { grid-template-columns: 1fr; } }

/* Form success pop-up (shares the promo shell) */
.done { z-index: 95; }
.done-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.done-card { width: min(600px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; padding: 32px 36px 26px; z-index: 1; }
.done-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; padding-right: 40px; }
.done-mark { position: relative; flex: none; width: 60px; height: 60px; border-radius: 18px; background: var(--color-ember); display: flex; align-items: center; justify-content: center; transform: scale(.6) rotate(-12deg); opacity: 0; transition: transform .6s var(--ease-spring) .1s, opacity .3s .1s; }
.done.is-on .done-mark { transform: none; opacity: 1; }
.done-mark > svg { width: 38px; height: 30px; }
.done-check { position: absolute; right: -8px; bottom: -8px; width: 28px; height: 28px; border-radius: 50%; background: #1B9E5A; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--surface); transform: scale(0); transition: transform .45s var(--ease-spring) .55s; }
.done-check::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #1B9E5A; opacity: 0; }
.done.is-on .done-check::after { animation: done-ring 1.1s ease-out .9s 2; }
@keyframes done-ring { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.done-check svg { width: 15px; height: 15px; }
.done-tick { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s ease .8s; }
.done.is-on .done-check { transform: scale(1); } .done.is-on .done-tick { stroke-dashoffset: 0; }
.done-title { font-size: 36px; margin: 0; }
.done-title, .done-copy, .done-head .promo-eyebrow { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); }
.done.is-on .done-head .promo-eyebrow { opacity: 1; transform: none; transition-delay: .15s; }
.done.is-on .done-title { opacity: 1; transform: none; transition-delay: .25s; }
.done.is-on .done-copy { opacity: 1; transform: none; transition-delay: .4s; }
.done-copy { margin-bottom: 18px; } .done-copy b { color: var(--ink); font-weight: 600; }
/* Timeline: a line draws down the left as each step arrives; step 1 is live */
.done-steps { list-style: none; margin: 0; padding: 0; display: grid; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; position: relative; }
.done-steps::before { content: ""; position: absolute; left: 29px; top: 28px; bottom: 28px; width: 2px; background: var(--line); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-out) .5s; }
.done.is-on .done-steps::before { transform: scaleY(1); }
.done-steps li { display: flex; gap: 14px; padding: 14px 16px; background: var(--surface); position: relative; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), background .25s; cursor: default; }
.done-steps li + li { border-top: 1.5px solid var(--line); }
.done-steps li:hover { background: var(--page); }
.done.is-on .done-steps li { opacity: 1; transform: none; }
.done.is-on .done-steps li:nth-child(1) { transition-delay: .5s; } .done.is-on .done-steps li:nth-child(2) { transition-delay: .8s; } .done.is-on .done-steps li:nth-child(3) { transition-delay: 1.1s; }
.done-n { position: relative; z-index: 1; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tile); color: var(--ember-text); font: 800 13px var(--font-dm-sans); display: flex; align-items: center; justify-content: center; margin-top: 1px; box-shadow: 0 0 0 4px var(--surface); transition: transform .25s var(--ease-spring), background .25s, color .25s; }
.done-n svg { display: none; width: 14px; height: 14px; }
.done-steps li:hover .done-n { transform: scale(1.12); }
.done-steps li.is-live .done-n { background: var(--color-ember); color: #fff; }
.done-steps li.is-live .done-n::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--color-ember); opacity: 0; animation: done-ring 1.6s ease-out 1.4s infinite; }
.done-steps b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.done-now { font: 700 10px/1 var(--font-dm-sans); letter-spacing: .1em; text-transform: uppercase; color: #1B9E5A; background: var(--ok-bg, #E8F6EE); padding: 5px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; vertical-align: 2px; }
.done-now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1B9E5A; animation: done-blink 1.2s ease-in-out infinite; }
@keyframes done-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.done-count { color: var(--ember-text); font-variant-numeric: tabular-nums; }
.done-steps p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.done-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.done-summary[hidden] { display: none; }
.done-summary div { display: flex; flex-wrap: wrap; gap: 6px; }
.done-summary i { font-style: normal; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--tile); color: var(--ember-text); transform: scale(.8); opacity: 0; transition: transform .4s var(--ease-spring), opacity .3s; }
.done.is-on .done-summary i { transform: none; opacity: 1; }
.done.is-on .done-summary i:nth-child(1) { transition-delay: 1.5s; } .done.is-on .done-summary i:nth-child(2) { transition-delay: 1.6s; } .done.is-on .done-summary i:nth-child(3) { transition-delay: 1.7s; } .done.is-on .done-summary i:nth-child(4) { transition-delay: 1.8s; }
.done-actions { margin-top: 18px; }
.done-actions .btn { position: relative; overflow: hidden; }
.done-actions .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); }
.done.is-on .done-actions .btn::after { animation: done-sheen 1.4s ease-out 1.9s 1; }
@keyframes done-sheen { to { left: 130%; } }
.done .promo-fine a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.is-static .done *, .is-static .done *::before, .is-static .done *::after { transition-delay: 0s !important; animation: none !important; }
.is-static .done .done-steps::before { transform: scaleY(1); }
@media (max-width: 600px) { .done-card { padding: 24px 20px 20px; border-radius: 22px; } .done-head { gap: 14px; margin-bottom: 12px; } .done-mark { width: 52px; height: 52px; border-radius: 15px; } .done-title { font-size: 28px; } .done-steps li { padding: 12px 14px; } .done-steps::before { left: 27px; } .done-actions { flex-wrap: wrap; gap: 10px 16px; } .done-actions .btn { width: 100%; justify-content: center; } }

/* Promo bar: fixed strip above the header, sliding continuously */
:root { --bar-h: 36px; }
body { padding-top: var(--bar-h); }
.promo-bar { position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 60; display: flex; align-items: center; overflow: hidden; background: var(--color-ember); color: #fff; text-decoration: none; }
.promo-track { display: flex; white-space: nowrap; will-change: transform; animation: promo-slide 36s linear infinite; }
.promo-group { display: flex; flex: none; }
.promo-group span { display: inline-flex; align-items: center; gap: 12px; padding: 0 20px; font: 700 12px/1 var(--font-dm-sans); letter-spacing: .14em; text-transform: uppercase; }
.promo-group b { background: #fff; color: var(--color-ember); padding: 5px 8px; border-radius: 6px; letter-spacing: .1em; }
.promo-group i { font-style: normal; opacity: .7; }
.promo-bar:hover .promo-track { animation-play-state: paused; }
@keyframes promo-slide { to { transform: translateX(-50%); } }
.is-static .promo-track, .promo-bar.is-off .promo-track { animation: none; }
@media (prefers-reduced-motion: reduce) { .promo-track { animation: none; } }
.nav { top: var(--bar-h); }
section[id] { scroll-margin-top: calc(110px + var(--bar-h)); }
.services-pin { top: calc(96px + var(--bar-h)); }
.feature-row { top: calc(96px + var(--bar-h) + var(--i, 0) * 18px); }
.res-progress { top: var(--bar-h); }
html[data-promo-expired] { --bar-h: 0px; } html[data-promo-expired] .promo-bar { display: none; }

/* Mobile QA fixes */
@media (max-width: 1024px) {
  .feature-row > .feature-art.art-midnight { height: auto; min-height: 0; }
  .art-midnight .flow { position: relative; inset: auto; }
  .flow-svg-wrap { min-height: 300px; }
  .flow-svg { height: auto; max-height: none; }
  .nav-social a, .mobile-nav-social a { padding: 4px; margin: -4px; }
  .res-crumb a { padding: 6px 0; display: inline-block; }
}
.nav-social a, .mobile-nav-social a { padding: 4px; margin: -4px; border-radius: 8px; }

/* Mobile QA fixes, round 2 */
@media (max-width: 1024px) {
  .feature-stack { gap: 20px; }
  .live-hint { display: none; }
  .hq-legend { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 14px; font-size: 13px; }
  .lead-media { height: 260px; min-height: 0; }
  .footer-social { flex-wrap: wrap; gap: 10px; } .footer-social a { width: 58px; height: 58px; }
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-map { min-height: 380px; } }
[data-theme="dark"] .res-bar { background: rgba(14,16,32,.96); border-top: 1px solid var(--line); }

@media (max-width: 1024px) {
  .feature-row > .feature-art.art-midnight { aspect-ratio: auto; height: auto; }
  .footer-social a { flex: 0 0 56px; width: 56px; height: 56px; aspect-ratio: auto; }
  .hq-legend { bottom: 34px; }
}

.footer-nap { font-style: normal; display: grid; gap: 4px; margin: 0 0 14px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.footer-nap b { color: var(--ink-2); font-weight: 700; margin-right: 6px; } .footer-nap a { color: var(--ember-text); display: inline-block; padding: 4px 0; }

/* ===== Mobile hero: full-bleed video with the title, copy and CTAs on top ===== */
.mac-poster { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 1024px) {
  .hero { padding-top: 14px; display: block; }
  .hero-mobile-title, .hero-mobile-copy, .corner { display: none !important; }
  .hero-card { position: relative; aspect-ratio: auto; height: auto; min-height: calc(100svh - 150px); border-radius: 32px; margin-top: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 22px 24px; overflow: hidden; }
  .hero-video { border-radius: 32px; }
  .hero-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,9,20,0) 25%, rgba(8,9,20,.55) 55%, rgba(8,9,20,.86) 100%); }
  .hero-title-block, .hero-copy-block { display: block !important; position: relative; z-index: 2; inset: auto; width: auto; max-width: none; background: transparent; padding: 0; border-radius: 0; animation: none; }
  .hero-title-block h1 { font-size: clamp(56px, 17vw, 84px); line-height: .95; color: #fff; margin: 0 0 14px; }
  .hero-title-block .rotating { color: var(--color-sulfur); }
  .hero-copy-block p { color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.45; margin: 0 0 18px; max-width: none; animation: none; }
  .hero-actions { flex-direction: column; gap: 10px; animation: none; }
  .hero-actions .btn-lg { width: 100%; min-height: 52px; justify-content: center; font-size: 16px; }
  .hero-actions .btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
  /* Live demo: a still of the site instead of the framed page (the framed site is too heavy for phone browsers) */
  .mac-poster { display: block; } .mac-site, .mac-loading { display: none !important; }
}

.live-copy-m { display: none; }
@media (max-width: 1024px) { .live-copy { display: none; } .live-copy-m { display: block; } .mac-poster { object-position: left top; } }

/* ===== Mobile pass 3: header clearance, pinned live demo, stacking, funnel, map ===== */
.hq-static { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.is-mapshot .hq-legend, body.is-mapshot .maplibregl-ctrl { display: none !important; }
body.is-mapshot .hq-map { display: block !important; } body.is-mapshot .hq-static { display: none !important; }
@media (max-width: 1024px) {
  .hero { padding-top: 96px; }
  .hero-card { min-height: calc(100svh - 190px); }
  .bg-site { display: none; }
  .more .h-display { font-size: clamp(52px, 17vw, 88px); margin-bottom: 40px; }
  .feature-row, .feature-row.art-first { position: sticky; top: 100px; }
  .feature-stack { padding-bottom: 0; } .feature-stack-end { height: 30vh; }
  /* Live demo on phones and tablets: pinned scroll-through, the same as desktop. This was switched off on 2026-09-20
     because the framed site cost a phone about 250 MB in the same tab and iOS Safari killed the page. The demo site
     was then cut to 5.9 MB of downloads and 22 MB of decoded images on a phone, which is what makes this safe. If the
     demo ever gets heavy again, the crash comes back: measure it before adding media to it. The still stays underneath
     the frame, so the screen is never blank while the site loads. */
  .live-pin { position: sticky; top: 0; height: 100svh; padding: 118px 0 12px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .mac-poster { display: block; } .mac-site, .mac-loading { display: block !important; }
  .live-hint { display: flex; }
  .live-copy { display: block; font-size: 15px; margin-bottom: 16px; } .live-copy-m { display: none; }
  .feature-row { will-change: auto; }   /* three sticky cards each held a GPU layer for the whole scroll */
  .hq-map { display: none; } .hq-static { display: block; }
  .hq-legend { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px; left: 12px; right: 12px; bottom: 12px; border-radius: 18px; }
  .hq-legend b { margin: 0 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
  .hq-legend span { font-size: 14px; }
}

/* Footer legal links, form consent, legal pages */
.footer-legal { margin: 8px 0 0; font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--ink-3); }
.footer-legal a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); } .footer-legal a:hover { color: var(--ember-text); }
.lead-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 13px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.lead-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--color-ember); }
.lead-note a { color: var(--ember-text); text-decoration: underline; text-underline-offset: 2px; }
.legal-date { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
.res-article.legal h2 { font-size: 22px; margin-top: 36px; }
.res-article.legal p, .res-article.legal li { font-size: 16px; }

/* Legal pages: body copy sits on a card */
.res-article.legal { background: var(--surface); border: 1.5px solid var(--line); border-radius: 28px; padding: 12px 40px 36px; }
.res-article.legal h2:first-child { margin-top: 20px; }
.res-article.legal h3 { font-family: var(--font-dm-sans); font-weight: 700; font-size: 17px; margin: 22px 0 6px; color: var(--ink); }
.lead-consent b { color: var(--ember-text); }
.lead-consent { flex-wrap: wrap; }
.lead-consent > span { flex: 1 1 0; min-width: 0; } /* text sits beside the box, never wraps under it */
.lead-consent .lead-error { flex-basis: 100%; padding-left: 28px; font-size: 13px; font-weight: 500; color: var(--bad-fg); display: none; }
.lead-consent.is-invalid { color: var(--ink); }
.lead-consent.is-invalid input { outline: 2px solid var(--bad-fg); outline-offset: 1px; border-radius: 3px; }
.lead-consent.is-invalid .lead-error { display: block; }
.lead-consent + .lead-consent { margin-top: -4px; }
.lead-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.res-article.legal .res-cta { margin: 36px -40px -36px; border-radius: 0 0 28px 28px; border-top: 1.5px solid var(--line); }
@media (max-width: 1024px) { .res-article.legal { padding: 8px 20px 24px; border-radius: 20px; } .res-article.legal .res-cta { margin: 28px -20px -24px; border-radius: 0 0 20px 20px; } }

.legal-hero { max-width: none; background: var(--surface); border: 1.5px solid var(--line); border-radius: 28px; padding: 32px 40px 28px; }
.legal-hero .res-lede { max-width: 760px; }
@media (min-width: 1025px) { .legal-hero { width: calc(100% - 352px); } } /* same column as the text card below (grid: 1fr + 32px gap + 320px aside) */
@media (max-width: 1024px) { .legal-hero { padding: 22px 20px 20px; border-radius: 20px; } }
