/* Zentrum Solutions design system: tokens, primitives, then one block per section. */

:root {
  --primary: #2fb0f7;
  --primary-dark: #0a8bd6;
  --primary-light: #9ad9fc;
  --accent: #3a42ac;
  --accent-dark: #2c3390;
  --navy: #002e5f;
  --background: #f7f9fc;
  --surface: #ffffff;
  --ink: #0e1525;
  --muted: #5b6578;
  --divider: #e3e8f0;
  --deep: #060c1a;
  --deep-2: #0b1426;

  --flame: #ff7a1a;
  --flame-dark: #e05e00;
  --flame-light: #ffd2ad;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-card: 1.5rem;
  --radius-small: 1rem;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-card: 0 1px 2px rgba(14, 21, 37, 0.04), 0 12px 32px -12px rgba(14, 21, 37, 0.12);
}

/* Highlight colour: sky blue by default, a warm flame on the heating page. */
:root {
  --highlight: var(--primary);
  --highlight-dark: var(--primary-dark);
  --highlight-light: var(--primary-light);
}
.theme-heating {
  --highlight: var(--flame);
  --highlight-dark: var(--flame-dark);
  --highlight-light: var(--flame-light);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
::selection { background: var(--highlight-light); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: #cfe3f3; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography ---------- */
.font-display { font-family: var(--font-display); }
.font-serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; }
.font-mono { font-family: var(--font-mono); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.eyebrow::before {
  content: ''; width: 1.5rem; height: 1px; background: currentColor; opacity: 0.6;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow-light { color: rgba(255, 255, 255, 0.65); }

.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 7.5vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h1 .font-serif { font-weight: 500; letter-spacing: -0.02em; }
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h2 .font-serif { font-weight: 500; letter-spacing: -0.015em; }
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead { font-size: clamp(1rem, 1.4vw, 1.1875rem); line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted); }
.text-balance { text-wrap: balance; }
.gradient-text {
  background: linear-gradient(135deg, var(--highlight) 0%, var(--highlight-dark) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-light {
  background: linear-gradient(120deg, #ffffff 0%, var(--highlight-light) 45%, var(--highlight) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 4rem); }
.container-narrow { max-width: 64rem; }
.section { padding-block: clamp(5rem, 11vw, 10rem); position: relative; }
.section-tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { max-width: 46rem; display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.stack-sm > * + * { margin-top: 0.75rem; }

/* ---------- Primitives ---------- */
.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 60;
  opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glass {
  background: rgba(247, 249, 252, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(47, 176, 247, 0.16);
}
.glass-dark {
  background: rgba(6, 12, 26, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.grid-bg {
  background-image:
    linear-gradient(rgba(47, 176, 247, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 176, 247, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ring-pulse { animation: ring-pulse 2s infinite; }
@keyframes ring-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--highlight) 60%, transparent); }
  70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--highlight) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--highlight) 0%, transparent); }
}
.dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--highlight); display: inline-block; flex: none; }
.dot-live { background: #22c55e; animation: ring-pulse-green 2s infinite; }
@keyframes ring-pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.lift-on-hover { transition: transform 0.3s var(--ease), color 0.2s; }
.lift-on-hover:hover { transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.9375rem; line-height: 1.2; cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.25s, box-shadow 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  transform: translateY(100%); transition: transform 0.5s var(--ease);
}
.btn:hover { transform: scale(1.03) translateY(-1px); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.98); }
.btn > * { position: relative; }
.btn-primary {
  background: var(--highlight); color: #fff;
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--highlight) 75%, transparent);
}
.btn-primary:hover { background: var(--highlight-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2740; }
.btn-glass { color: #fff; }
.btn-outline { border-color: var(--divider); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-weight: 600; font-size: 0.9375rem; color: var(--highlight-dark);
}
.link-arrow .icon { transition: transform 0.3s var(--ease); width: 1rem; height: 1rem; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 1rem; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: calc(100% - 2rem); max-width: 68rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s, color 0.35s;
  color: #fff;
}
.nav.is-scrolled, .nav.on-light {
  background: rgba(247, 249, 252, 0.78);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-color: rgba(14, 21, 37, 0.07);
  box-shadow: 0 10px 30px -18px rgba(14, 21, 37, 0.35);
  color: var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 0.625rem; }
.brand-mark {
  position: relative; width: 2.25rem; height: 2.25rem; border-radius: 999px;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 2px rgba(47, 176, 247, 0.25);
  transition: box-shadow 0.3s;
}
.brand:hover .brand-mark { box-shadow: 0 0 0 4px rgba(47, 176, 247, 0.35); }
.brand-mark img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.02em; }
.brand-name span { font-weight: 500; opacity: 0.6; }
.nav-links { display: none; align-items: center; gap: 0.25rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; padding: 0.5rem 0.875rem; border-radius: 999px;
  opacity: 0.82; transition: opacity 0.2s, background-color 0.2s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.nav-links a:hover, .nav-links a[aria-current='page'] { opacity: 1; background: rgba(127, 140, 160, 0.14); }
.nav-links .dot { width: 0.4rem; height: 0.4rem; background: var(--flame); }
.nav-cta { display: none; }
.nav-toggle {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 0; background: transparent;
  display: grid; place-items: center; cursor: pointer; color: inherit;
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(6, 12, 26, 0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  color: #fff; padding: 6.5rem 1.5rem 2rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.menu-link {
  font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; letter-spacing: -0.03em;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu .btn { margin-top: 1.5rem; }
.menu-open { overflow: hidden; }
.nav.menu-is-open { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.nav.menu-is-open .nav-cta { visibility: hidden; }
@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--deep); color: #fff; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75) saturate(1.1); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(6, 12, 26, 0.82) 0%, rgba(6, 12, 26, 0.35) 42%, rgba(6, 12, 26, 0.78) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 45%; z-index: -1;
  background: linear-gradient(0deg, var(--deep) 0%, rgba(6, 12, 26, 0) 100%);
}
.hero-glow {
  position: absolute; z-index: -1; width: 46rem; height: 46rem; border-radius: 999px;
  right: -14rem; top: -16rem; filter: blur(90px); opacity: 0.35;
  background: radial-gradient(circle, var(--highlight) 0%, transparent 65%);
}
.hero-line { position: absolute; left: 0; right: 0; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent); }
.hero-line.top { top: 0; } .hero-line.bottom { bottom: 0; }
.hero-content { position: relative; z-index: 1; padding-top: 8.5rem; padding-bottom: clamp(4.5rem, 9vh, 7rem); width: 100%; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.9rem 0.45rem 0.55rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-pill .icon { width: 0.95rem; height: 0.95rem; color: var(--highlight); }
.hero-pill-badge {
  display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.hero h1 { margin-top: 1.75rem; max-width: 15ch; }
.hero h1 .hero-line-2 { display: block; }
.hero h1 .hl-sentence { display: block; }
/* Plus Jakarta's full stop has a wide left bearing that shows under tight tracking. */
.h1 .stop { margin-left: -0.06em; }
.hero-sub { margin-top: 1.75rem; max-width: 37rem; color: rgba(255, 255, 255, 0.74); font-size: clamp(1rem, 1.5vw, 1.1875rem); line-height: 1.65; }
.hero-ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-meta {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta .icon { width: 0.875rem; height: 0.875rem; color: var(--highlight); }
.hero-scroll {
  position: absolute; right: clamp(1rem, 4vw, 4rem); bottom: 2rem; z-index: 1;
  display: none; flex-direction: column; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.hero-scroll i { width: 1px; height: 3.5rem; background: rgba(255, 255, 255, 0.15); position: relative; overflow: hidden; }
.hero-scroll i::after {
  content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--highlight); animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@media (min-width: 768px) { .hero-scroll { display: flex; } }

/* Floating particles, top right of the hero */
.particles { position: absolute; top: 18%; right: 6%; width: 18rem; height: 14rem; z-index: 0; pointer-events: none; }
.particle { position: absolute; color: var(--highlight); opacity: 0.9; animation: float 6s ease-in-out infinite; }
.particle svg { width: 100%; height: 100%; }
.particle-dot { border-radius: 999px; background: var(--highlight); box-shadow: 0 0 18px var(--highlight); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 639px) { .particles { top: 5.25rem; right: 0.5rem; width: 9rem; height: 3.5rem; opacity: 0.7; } }

/* ---------- Product spotlight ---------- */
.spotlight-wrap { position: relative; z-index: 2; margin-top: -3rem; }
.spotlight {
  position: relative; overflow: hidden; border-radius: 2rem; color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 122, 26, 0.38) 0%, rgba(255, 122, 26, 0) 55%),
    linear-gradient(135deg, #10192f 0%, #0a1222 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid; gap: 2rem; align-items: center;
  box-shadow: 0 30px 80px -40px rgba(6, 12, 26, 0.8);
}
.spotlight .tag {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.75rem; border-radius: 999px;
  background: rgba(255, 122, 26, 0.14); color: #ffb37a;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.spotlight h2 { margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.625rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.035em; }
.spotlight p { margin-top: 0.875rem; color: rgba(255, 255, 255, 0.7); max-width: 36rem; }
.spotlight-ctas { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.spotlight .btn-primary { --highlight: var(--flame); --highlight-dark: var(--flame-dark); }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1.35fr 1fr; } }

/* Mini "incoming call" card used in spotlights */
.callcard {
  border-radius: 1.25rem; padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid; gap: 1rem;
}
.callcard-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.callcard-who { display: flex; align-items: center; gap: 0.75rem; }
.callcard-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--flame), #ffb37a); color: #fff;
}
.callcard-name { font-weight: 600; font-size: 0.9375rem; }
.callcard-sub { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55); }
.wave { display: flex; align-items: center; gap: 3px; height: 2.25rem; }
.wave i { flex: 1; border-radius: 99px; background: linear-gradient(180deg, #ffb37a, var(--flame)); height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -0.3s; } .wave i:nth-child(3n+1) { animation-delay: -0.6s; } .wave i:nth-child(4n) { animation-delay: -0.9s; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.callcard-line { font-size: 0.875rem; color: rgba(255, 255, 255, 0.82); padding: 0.75rem 0.9rem; border-radius: 0.9rem; background: rgba(255, 255, 255, 0.05); }
.callcard-line b { color: #fff; font-weight: 600; }
.callcard-line.ok { background: rgba(34, 197, 94, 0.12); color: #bbf7d0; display: flex; gap: 0.5rem; align-items: center; }
.callcard-line.ok .icon { width: 1rem; height: 1rem; color: #4ade80; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-card);
  padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(14, 21, 37, 0.04), 0 24px 48px -20px rgba(14, 21, 37, 0.2); }
.feature-card p { color: var(--muted); font-size: 0.9375rem; }
.check-list { display: grid; gap: 0.55rem; font-size: 0.875rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-list .icon { width: 1rem; height: 1rem; margin-top: 0.2rem; color: var(--highlight-dark); }
.check-list.light li { color: rgba(255, 255, 255, 0.78); }
.check-list.light .icon { color: var(--highlight); }

.demo {
  position: relative; height: 11rem; border-radius: 1.25rem; overflow: hidden;
  border: 1px solid var(--divider); background: #f3f6fb;
}

/* 3a. Stacked shuffler */
.shuffler { display: grid; place-items: center; background: linear-gradient(180deg, #f5f8fd 0%, #eaf1f9 100%); }
.shuffle-card {
  position: absolute; left: 1rem; right: 1rem; top: 1.4rem;
  background: var(--surface); border: 1px solid var(--divider); border-radius: 1rem;
  padding: 0.85rem 1rem; box-shadow: 0 12px 26px -16px rgba(14, 21, 37, 0.35);
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), filter 0.7s var(--ease);
  display: grid; gap: 0.35rem;
}
.shuffle-card[data-pos='0'] { z-index: 3; transform: translateY(0) scale(1); opacity: 1; }
.shuffle-card[data-pos='1'] { z-index: 2; transform: translateY(1.6rem) scale(0.94); opacity: 0.75; filter: blur(0.5px); }
.shuffle-card[data-pos='2'] { z-index: 1; transform: translateY(3.1rem) scale(0.88); opacity: 0.45; filter: blur(1px); }
.shuffle-card[data-pos='out'] { z-index: 4; transform: translateY(-2.5rem) scale(1.02); opacity: 0; }
.shuffle-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.shuffle-text { font-size: 0.875rem; font-weight: 600; line-height: 1.35; }
.shuffle-result { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 600; color: #15803d; }
.shuffle-result .icon { width: 0.85rem; height: 0.85rem; }
.shuffle-result.warn { color: #c2410c; }

/* 3b. Signature animation: falling particles onto a surface */
.signature { background: linear-gradient(180deg, #eef7ff 0%, #d9ecfb 70%, #c9e3f7 100%); }
.theme-heating .signature { background: linear-gradient(180deg, #eaf3ff 0%, #f3ecf3 55%, #ffe1c4 100%); }
.sig-blob { position: absolute; border-radius: 999px; background: rgba(255, 255, 255, 0.6); filter: blur(18px); }
.sig-head, .sig-foot {
  position: absolute; left: 0.875rem; right: 0.875rem; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: #3a4a63;
}
.sig-head { top: 0.75rem; } .sig-foot { bottom: 0.7rem; }
.sig-status { display: inline-flex; align-items: center; gap: 0.45rem; background: rgba(255, 255, 255, 0.75); padding: 0.25rem 0.55rem; border-radius: 999px; }
.sig-status-text { animation: rain-fadein 0.5s var(--ease); }
.sig-source { position: absolute; left: 0.75rem; right: 0.75rem; top: 1.85rem; height: 1rem; z-index: 2; }
.sig-field { position: absolute; inset: 2.4rem 0 3.1rem 0; z-index: 1; }
.sig-particle {
  position: absolute; top: 0; left: 50%; width: 0.85rem; height: 1.1rem;
  animation: rain-fall 2.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  opacity: 0;
}
.sig-particle svg { width: 100%; height: 100%; overflow: visible; }
.sig-surface { position: absolute; left: 0; right: 0; bottom: 2.1rem; height: 1.25rem; z-index: 2; }
.sig-ripple {
  position: absolute; bottom: 2.55rem; width: 0.9rem; height: 0.3rem; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--highlight) 70%, transparent);
  animation: rain-ripple 2.4s ease-out infinite; opacity: 0; z-index: 2;
}
@keyframes rain-fall {
  0% { transform: translate(-50%, -10px) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translate(-50%, 95px) rotate(40deg); opacity: 0; }
}
@keyframes rain-ripple {
  0% { transform: translateX(-50%) scale(0.4); opacity: 0.9; }
  80% { transform: translateX(-50%) scale(3.5); opacity: 0; }
  100% { transform: translateX(-50%) scale(3.5); opacity: 0; }
}
@keyframes rain-fadein { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: translateY(0); } }

/* 3c. Cursor on a scheduler */
.scheduler { background: var(--surface); padding: 0.9rem; display: grid; grid-template-rows: auto 1fr; gap: 0.6rem; }
.sched-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sched-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem; }
.sched-day { font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.1em; text-align: center; color: var(--muted); }
.sched-slot {
  height: 1.55rem; border-radius: 0.45rem; background: #f1f4f9; border: 1px solid #e6ebf3;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.sched-slot.busy { background: repeating-linear-gradient(135deg, #eef1f6 0 4px, #e5e9f0 4px 8px); }
.sched-slot.is-target { border-color: var(--highlight); }
.sched-slot.is-picked { background: var(--highlight); border-color: var(--highlight); transform: scale(1.04); }
.sched-cursor {
  position: absolute; z-index: 3; width: 1.15rem; height: 1.15rem; left: 80%; top: 80%;
  transition: left 0.9s var(--ease), top 0.9s var(--ease), transform 0.15s;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}
.sched-cursor.is-clicking { transform: scale(0.82); }
.sched-toast {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 4;
  display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.75rem; border-radius: 0.85rem;
  background: var(--ink); color: #fff; font-size: 0.75rem;
  transform: translateY(140%); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.sched-toast.is-shown { transform: none; opacity: 1; }
.sched-toast .icon { width: 1rem; height: 1rem; color: #4ade80; }
.sched-toast b { font-weight: 600; }

/* ---------- Pillars ---------- */
.pillars-section { position: relative; overflow: hidden; isolation: isolate; }
.pillars-blob { position: absolute; top: 50%; width: 36rem; height: 36rem; transform: translateY(-50%); border-radius: 999px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--blob) 28%, transparent) 0%, transparent 62%); }
.pillars { display: grid; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.pillar { padding: clamp(2rem, 4vw, 3rem) clamp(0.5rem, 2vw, 2.5rem); display: grid; gap: 0.75rem; position: relative; }
.pillar + .pillar { border-top: 1px solid var(--divider); }
.pillar-num {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  font-size: clamp(3.5rem, 7vw, 5.5rem); font-variant-numeric: tabular-nums;
}
.pillar p { color: var(--muted); max-width: 22rem; font-size: 0.9375rem; }
.pillar-sweep { height: 1px; width: 100%; overflow: hidden; position: relative; margin-top: 0.5rem; background: var(--divider); }
.pillar-sweep::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
  animation: pillar-sweep 3s ease-in-out infinite;
}
@keyframes pillar-sweep { 0% { transform: translateX(-100%); } 50% { transform: translateX(100%); } 100% { transform: translateX(100%); } }
@media (min-width: 1024px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar + .pillar { border-top: 0; border-left: 1px solid var(--divider); }
}

/* ---------- Protocol: sticky stack ---------- */
.protocol { display: grid; gap: 1.5rem; }
.step-card {
  position: sticky; top: 6rem;
  background: var(--surface); border: 1px solid var(--divider); border-radius: 2rem;
  box-shadow: 0 30px 60px -40px rgba(14, 21, 37, 0.35);
  display: grid; overflow: hidden; transform-origin: center top; will-change: transform;
}
.step-body { padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; gap: 1.1rem; align-content: center; }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.9375rem; letter-spacing: -0.01em;
  width: 3rem; height: 3rem; border-radius: 999px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--highlight) 12%, white); color: var(--highlight-dark);
}
.step-card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.625rem, 3.2vw, 2.5rem); line-height: 1.08; letter-spacing: -0.035em; }
.step-card p { color: var(--muted); max-width: 34rem; }
.step-media { min-height: 14rem; position: relative; }
.step-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .step-card { grid-template-columns: 3fr 2fr; min-height: 26rem; }
  .step-media { min-height: 0; }
}

/* ---------- Dark services grid ---------- */
.deep { background: var(--deep); color: #fff; }
.deep .muted, .deep .lead { color: rgba(255, 255, 255, 0.62); }
.deep .eyebrow { color: rgba(255, 255, 255, 0.55); }
.tiles {
  display: grid; gap: 1px; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 1.75rem; overflow: hidden;
}
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--deep); padding: clamp(1.75rem, 3vw, 2.5rem); display: grid; gap: 1rem; align-content: start; transition: background-color 0.3s; }
.tile:hover { background: #0b1324; }
.tile-icon {
  width: 3rem; height: 3rem; border-radius: 1rem; display: grid; place-items: center;
  background: color-mix(in srgb, var(--highlight) 14%, transparent); color: var(--highlight);
  transition: transform 0.4s var(--ease);
}
.tile:hover .tile-icon { transform: scale(1.1) rotate(-3deg); }
.tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.tile p { color: rgba(255, 255, 255, 0.6); font-size: 0.9375rem; }
.tile-note { margin-top: 1.25rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.45); }

/* ---------- Work / projects ---------- */
.work-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(14, 21, 37, 0.3); }
.work-media { aspect-ratio: 16 / 11; background: linear-gradient(135deg, #eaf3fd, #dfe8f6); overflow: hidden; display: grid; place-items: center; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-body { padding: 1.5rem; display: grid; gap: 0.6rem; flex: 1; align-content: start; }
.work-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-chip {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border-radius: 999px; background: #eef3fa; color: #3a4a63;
}
.tag-chip.ai { background: color-mix(in srgb, var(--primary) 14%, white); color: var(--primary-dark); }
.work-body p { color: var(--muted); font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work-body .link-arrow { margin-top: 0.25rem; }

/* Portfolio list: alternating wide rows */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-pills a {
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--divider); background: var(--surface);
  font-size: 0.875rem; font-weight: 600; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-pills a:hover { border-color: var(--ink); }
.filter-pills a[aria-current='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.case { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--divider); border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-card); }
.case + .case { margin-top: 1.5rem; }
.case-media { background: linear-gradient(135deg, #eaf3fd, #dfe8f6); min-height: 16rem; display: grid; place-items: center; }
.case-media img { width: 100%; height: 100%; max-height: 30rem; object-fit: contain; }
.case-body { padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; gap: 1rem; align-content: center; }
.case-body p { color: var(--muted); }
@media (min-width: 900px) {
  .case { grid-template-columns: 1fr 1fr; }
  .case:nth-child(even) .case-media { order: 2; }
}

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
.quote-card {
  background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.5rem; align-content: space-between;
  box-shadow: var(--shadow-card);
}
.quote-card blockquote { font-size: 1.0625rem; line-height: 1.65; color: #26324a; }
.quote-mark { width: 2rem; height: 2rem; color: var(--highlight); }
.quote-who { display: flex; align-items: center; gap: 0.85rem; }
.quote-who img { width: 3rem; height: 3rem; border-radius: 999px; object-fit: cover; }
.quote-name { font-weight: 700; font-family: var(--font-display); letter-spacing: -0.01em; }
.quote-role { font-size: 0.8125rem; color: var(--muted); }

/* ---------- Trust badges ---------- */
.badges { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .badges { grid-template-columns: repeat(3, 1fr); } }
.badge-card {
  background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-small);
  padding: 1.75rem; display: grid; gap: 0.75rem; box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease);
}
.badge-card:hover { transform: translateY(-4px); }
.badge-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.9rem; display: grid; place-items: center; background: color-mix(in srgb, var(--highlight) 12%, white); color: var(--highlight-dark); }
.badge-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.badge-card p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Callouts ---------- */
.alert-band {
  border-radius: 2rem; padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(135deg, #1a0f08 0%, #2a160a 100%); color: #fff;
  border: 1px solid rgba(255, 122, 26, 0.25);
  display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden;
}
.alert-band::after {
  content: ''; position: absolute; width: 28rem; height: 28rem; right: -10rem; top: -12rem; border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.35), transparent 65%); filter: blur(20px);
}
.alert-icon { width: 3.5rem; height: 3.5rem; border-radius: 1.1rem; display: grid; place-items: center; background: rgba(255, 122, 26, 0.16); color: #ffb37a; }
.alert-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1; }
.alert-band p { color: rgba(255, 255, 255, 0.72); max-width: 44rem; margin-top: 0.6rem; }
.alert-band strong { color: #fff; }
.phone-chip {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.2rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.01em; white-space: nowrap;
}
.phone-chip small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
@media (min-width: 900px) { .alert-band { grid-template-columns: auto 1fr auto; } }

.try-card {
  display: grid; gap: 2rem; align-items: center;
  background: var(--surface); border: 1px solid var(--divider); border-radius: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-card);
}
.try-card .callcard { background: var(--deep); }
@media (min-width: 900px) { .try-card { grid-template-columns: 1.2fr 1fr; } }
.big-number {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1; display: inline-flex; align-items: center; gap: 0.75rem;
}
.big-number .icon { width: 1.75rem; height: 1.75rem; color: var(--highlight); }

/* ---------- Pricing ---------- */
.price-card {
  position: relative; overflow: hidden; border-radius: 2rem; padding: clamp(2rem, 5vw, 4rem);
  background: var(--deep); color: #fff; display: grid; gap: 2rem; align-items: center;
}
.price-card::before {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 34rem; height: 34rem; border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--highlight) 45%, transparent), transparent 65%); filter: blur(30px);
}
.price-card > * { position: relative; }
.price {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95;
  font-size: clamp(3.5rem, 9vw, 6.5rem);
}
.price small { font-size: 0.28em; font-weight: 600; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.65); }
.price-from { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 900px) { .price-card { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--divider); border-radius: 1.25rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq details[open] { border-color: color-mix(in srgb, var(--highlight) 40%, var(--divider)); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.3s var(--ease); color: var(--highlight-dark); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 1.5rem 1.4rem; color: var(--muted); max-width: 48rem; }

/* ---------- Forms ---------- */
.contact-wrap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1000px) { .contact-wrap { grid-template-columns: 1fr 1.15fr; } }
.contact-facts { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-fact { display: flex; gap: 0.85rem; align-items: center; }
.contact-fact .badge-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.8rem; }
.contact-fact small { display: block; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-fact a, .contact-fact span { font-weight: 600; }
.next-steps { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.85rem; counter-reset: step; }
.next-steps li { counter-increment: step; position: relative; padding-left: 2.85rem; min-height: 2rem; padding-top: 0.2rem; color: var(--muted); }
.next-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 600;
  color: var(--highlight-dark); background: color-mix(in srgb, var(--highlight) 14%, transparent);
}
.next-steps b { color: var(--ink); font-weight: 600; }
.mini-quote { margin: 2rem 0 0; padding: 1.1rem 1.25rem; border-left: 3px solid var(--highlight); background: color-mix(in srgb, var(--highlight) 6%, transparent); border-radius: 0 1rem 1rem 0; }
.mini-quote blockquote { margin: 0; font-size: 0.9875rem; color: var(--ink); }
.mini-quote figcaption { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-card {
  background: var(--surface); border: 1px solid var(--divider); border-radius: 2rem;
  padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 30px 60px -40px rgba(14, 21, 37, 0.35); position: relative;
}
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.8125rem; font-weight: 600; color: #26324a; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 0.9rem; border: 1px solid var(--divider);
  background: #fbfcfe; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; font-size: 0.9375rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--highlight); background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--highlight) 16%, transparent);
}
.form-note { font-size: 0.8125rem; color: var(--muted); }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-error { display: none; color: #b91c1c; font-size: 0.875rem; font-weight: 500; }
form[data-state='error'] .form-error { display: block; }
.spinner { width: 1.1rem; height: 1.1rem; display: none; animation: spin 0.8s linear infinite; }
form[data-state='sending'] .spinner { display: block; }
form[data-state='sending'] .btn-label-idle { display: none; }
.btn-label-sending { display: none; }
form[data-state='sending'] .btn-label-sending { display: inline; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-sent {
  display: none; text-align: center; padding: 2rem 1rem; gap: 1rem; justify-items: center;
}
.form-sent .badge-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: #dcfce7; color: #15803d; }
.form-sent .badge-icon .icon { width: 1.6rem; height: 1.6rem; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-sent { display: grid; animation: rain-fadein 0.5s var(--ease); }

.dropzone {
  position: relative; border: 1.5px dashed #c8d3e3; border-radius: 1rem; padding: 1.5rem; text-align: center; cursor: pointer;
  background: #fbfcfe; transition: border-color 0.2s, background-color 0.2s; display: grid; gap: 0.4rem; justify-items: center;
}
.dropzone.is-over { border-color: var(--highlight); background: color-mix(in srgb, var(--highlight) 6%, white); }
.dropzone .icon { width: 1.5rem; height: 1.5rem; color: var(--highlight-dark); }
.dropzone strong { font-size: 0.9375rem; }
.dropzone span { font-size: 0.8125rem; color: var(--muted); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice-grid label { cursor: pointer; position: relative; }
.choice-grid input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-grid span {
  display: inline-block; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--divider);
  font-size: 0.875rem; font-weight: 500; background: #fbfcfe; transition: all 0.2s;
}
.choice-grid input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice-grid input:focus-visible + span { outline: 2px solid var(--highlight); outline-offset: 2px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--deep); color: #fff;
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
}
.page-hero .hero-glow { opacity: 0.3; }
.page-hero .grid-bg-dark {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%);
}
.page-hero h1 { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.045em; max-width: 18ch; }
.page-hero p { margin-top: 1.25rem; max-width: 40rem; color: rgba(255, 255, 255, 0.7); font-size: clamp(1rem, 1.4vw, 1.1875rem); }

/* Values and process (about page) */
.value-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.timeline { display: grid; gap: 1px; background: var(--divider); border: 1px solid var(--divider); border-radius: 1.75rem; overflow: hidden; }
@media (min-width: 700px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline-item { background: var(--surface); padding: 2rem; display: grid; gap: 0.6rem; align-content: start; }
.timeline-item .font-mono { font-size: 0.75rem; color: var(--highlight-dark); letter-spacing: 0.1em; }
.timeline-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.timeline-item p { color: var(--muted); font-size: 0.9375rem; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 2rem; padding: clamp(2.25rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, var(--navy) 0%, #062248 55%, #0a1a3a 100%); color: #fff;
  display: grid; gap: 1.75rem; align-items: center;
}
.cta-band::after { content: ''; position: absolute; width: 30rem; height: 30rem; border-radius: 999px; right: -8rem; bottom: -14rem; background: radial-gradient(circle, rgba(47, 176, 247, 0.45), transparent 65%); filter: blur(30px); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin-top: 0.75rem; max-width: 36rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }

/* ---------- Prose (blog, privacy) ---------- */
.prose { max-width: 46rem; font-size: 1.0625rem; line-height: 1.75; color: #26324a; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.2; margin-top: 2em; color: var(--ink); }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; margin-top: 1.6em; color: var(--ink); }
.prose h4 { font-weight: 700; margin-top: 1.4em; }
.prose a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: 1rem; height: auto; }
.prose blockquote { border-left: 3px solid var(--primary); padding-left: 1rem; color: var(--muted); }
.prose .rich-text > * + * { margin-top: 1.1em; }

.blog-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.pager { display: flex; justify-content: center; align-items: center; gap: 0.75rem; margin-top: 3rem; font-size: 0.875rem; }
.pager a, .pager span { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--divider); background: var(--surface); }
.pager span[aria-disabled='true'] { opacity: 0.45; }
.post-cover { margin-top: 2.5rem; border-radius: 1.5rem; overflow: hidden; max-width: 56rem; }
.post-cover img { width: 100%; height: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: rgba(255, 255, 255, 0.7); padding: clamp(4rem, 8vw, 6rem) 0 2rem; position: relative; overflow: hidden; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer .brand-name { color: #fff; }
.footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.65rem; font-size: 0.9375rem; }
.footer a:hover { color: #fff; }
.footer-blurb { margin-top: 1rem; max-width: 22rem; font-size: 0.9375rem; }
.status-pill {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.55rem 0.95rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem; color: rgba(255, 255, 255, 0.8);
}
.status-pill b { color: #fff; font-weight: 600; }
.footer-bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4);
}
.footer-word {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8;
  font-size: clamp(4rem, 17vw, 15rem); color: rgba(255, 255, 255, 0.035); margin-top: 2.5rem; user-select: none; white-space: nowrap;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .step-card { position: relative; top: auto; }
}
