/* ============================================================
   MALLDTA â€” Dark Glassmorphism Design System
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* Dark slate (lifted from near-black) with white glass surfaces */
  --bg-0: #131a2c;
  --bg-1: #1a2237;
  --bg-2: #232d47;

  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-bg-strong: rgba(255, 255, 255, 0.17);
  --glass-brd: rgba(255, 255, 255, 0.20);
  --glass-brd-hi: rgba(255, 255, 255, 0.36);

  /* Translucent scrims for bars that sit behind text (must follow the theme) */
  --scrim-bar: rgba(20, 27, 45, 0.66);
  --scrim-panel: rgba(21, 28, 47, 0.88);
  --scrim-chip: rgba(26, 34, 55, 0.8);
  --scrim-foot: rgba(19, 26, 44, 0.55);

  --txt: #ffffff;
  --txt-dim: #c6cfe6;
  --txt-mute: #949fbd;

  --brand: #5b8cff;
  --brand-2: #8b5cf6;
  --brand-3: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;

  --grad: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 52%, var(--brand-3) 100%);
  --grad-soft: linear-gradient(120deg, rgba(91, 140, 255, 0.16), rgba(34, 211, 238, 0.08));

  --blur: 22px;
  --blur-lg: 40px;

  --r-sm: 12px;
  --r: 18px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow: 0 24px 60px -18px rgba(4, 8, 20, 0.7);
  --shadow-glow: 0 0 0 1px rgba(91, 140, 255, 0.28), 0 20px 50px -20px rgba(91, 140, 255, 0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1180px;
  --nav-h: 72px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip; /* clip avoids turning <html> into a scroll container */
}

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--txt);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand-3);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(91, 140, 255, 0.35); color: #fff; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--brand), var(--brand-2));
  border-radius: var(--r-pill);
  border: 3px solid var(--bg-1);
}

/* ---------- Ambient background ---------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1100px 700px at 12% -8%, rgba(91, 140, 255, 0.28), transparent 62%),
    radial-gradient(900px 620px at 92% 4%, rgba(139, 92, 246, 0.32), transparent 60%),
    radial-gradient(1000px 800px at 50% 108%, rgba(34, 211, 238, 0.2), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 32%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 32%, #000 25%, transparent 78%);
  opacity: 0.55;
  pointer-events: none;
}

.orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}
.orb-a {
  width: 460px; height: 460px; top: -140px; left: -120px;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.75), transparent 68%);
  animation: float 18s var(--ease) infinite alternate;
}
.orb-b {
  width: 400px; height: 400px; top: 22%; right: -140px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.7), transparent 68%);
  animation: float 22s var(--ease) 1.5s infinite alternate-reverse;
}
.orb-c {
  width: 520px; height: 520px; bottom: -220px; left: 32%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 68%);
  animation: float 26s var(--ease) 3s infinite alternate;
}

@keyframes float {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(40px, -46px, 0) scale(1.09); }
  100% { transform: translate3d(-30px, 34px, 0) scale(0.95); }
}

body.no-orbs .orb, body.no-orbs .bg-canvas { animation: none; }

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  box-shadow: var(--shadow);
  position: relative;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.3), transparent 38%, transparent 65%, rgba(255, 255, 255, 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
}

.glass-hover {
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease), background 0.45s var(--ease);
}
.glass-hover:hover {
  transform: translateY(-6px);
  border-color: var(--glass-brd-hi);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.card { padding: clamp(22px, 3vw, 32px); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

/* Nothing should ever push the page sideways */
img, svg, video, table, pre, code, .terminal, .news-form, .btn-row, .issue, .quote-by, .info-card, .tl-body, .crumb, .crumbs { max-width: 100%; }
.term-body, .quote blockquote, .issue p, .lead, h1, h2, h3 { overflow-wrap: break-word; }

.section { padding-block: clamp(72px, 10vw, 132px); position: relative; }
.section-tight { padding-block: clamp(52px, 7vw, 88px); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Prevent grid/flex children from forcing tracks wider than the viewport */
.hero-grid > *,
.split > *,
.contact-layout > *,
.grid > *,
.stats > *,
.terms > * { min-width: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.split-text-left { grid-template-columns: 0.95fr 1.05fr; }

.section-head { max-width: 660px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-3);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.24);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 10px var(--brand-3);
}

h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }

.h1 { font-size: clamp(2.3rem, 6vw, 4.15rem); letter-spacing: -0.04em; }
.h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); letter-spacing: -0.032em; }
.h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--txt-dim);
  max-width: 60ch;
}
.section-head.center .lead { margin-inline: auto; }

p + p { margin-top: 1em; }
.muted { color: var(--txt-dim); }
.mono { font-family: var(--mono); font-size: 0.86em; }
.center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--glass-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  border: 1px solid var(--glass-brd);
  background: var(--btn-bg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), color 0.3s var(--ease);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.btn:hover { transform: translateY(-2px); border-color: var(--glass-brd-hi); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.985); }

.btn-primary {
  border-color: transparent;
  color: #fff;
  background: var(--grad);
  background-size: 180% 180%;
  box-shadow: 0 14px 34px -12px rgba(91, 140, 255, 0.75);
  transition: transform 0.28s var(--ease), box-shadow 0.35s var(--ease), background-position 0.7s var(--ease);
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 20px 46px -12px rgba(91, 140, 255, 0.9);
}

.btn-ghost { background: transparent; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.btn .ico { width: 18px; height: 18px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand-3);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 13px; color: #67e8f9; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Header / nav ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
  z-index: 120;
  box-shadow: 0 0 14px rgba(91, 140, 255, 0.8);
}

.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: var(--scrim-bar);
  border-bottom-color: var(--glass-brd);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 10px 40px -20px rgba(4, 8, 20, 0.75);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex: none;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 8px 22px -8px rgba(91, 140, 255, 0.85);
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.07); }
.brand-mark svg { width: 21px; height: 21px; color: #fff; }
.brand span em { font-style: normal; color: var(--brand-3); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--txt-dim);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-link:hover { color: var(--txt); background: var(--glass-bg); }
.nav-link.active { color: var(--txt); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 20px; height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(91, 140, 255, 0.9);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  cursor: pointer;
  color: var(--txt-dim);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              transform 0.3s var(--ease), background 0.3s var(--ease);
}
.icon-btn:hover { color: var(--txt); border-color: var(--glass-brd-hi); transform: translateY(-2px); background: var(--glass-bg-strong); }
.icon-btn svg { width: 18px; height: 18px; }

.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--txt);
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.burger span + span { margin-top: 4px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Light theme (glass stays glass) ---------- */
[data-theme="light"] {
  --bg-0: #eef1fa;
  --bg-1: #f4f6fd;
  --bg-2: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-brd: rgba(15, 23, 42, 0.1);
  --glass-brd-hi: rgba(15, 23, 42, 0.2);
  --scrim-bar: rgba(255, 255, 255, 0.72);
  --scrim-panel: rgba(255, 255, 255, 0.92);
  --scrim-chip: rgba(255, 255, 255, 0.88);
  --scrim-foot: rgba(255, 255, 255, 0.7);
  --txt: #0d1424;
  --txt-dim: #47536e;
  --txt-mute: #6c7794;
  --brand: #2f5fe0;
  --brand-2: #7c3aed;
  --brand-3: #0891b2;
  color-scheme: light;
}
[data-theme="light"] body { background: var(--bg-0); }
[data-theme="light"] .bg-canvas {
  background:
    radial-gradient(1000px 640px at 10% -8%, rgba(91, 140, 255, 0.3), transparent 60%),
    radial-gradient(880px 600px at 94% 6%, rgba(139, 92, 246, 0.24), transparent 60%),
    radial-gradient(900px 700px at 50% 106%, rgba(34, 211, 238, 0.2), transparent 60%),
    linear-gradient(180deg, #f6f8ff, #eef1fa 60%, #ffffff);
}
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
}
[data-theme="light"] .glass { box-shadow: 0 24px 55px -22px rgba(30, 45, 90, 0.4); }
[data-theme="light"] .glass::before {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), transparent 45%, rgba(255, 255, 255, 0.4));
}
[data-theme="light"] .header.scrolled { background: rgba(255, 255, 255, 0.7); }
[data-theme="light"] .orb { opacity: 0.42; filter: blur(80px); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  padding: 18px clamp(18px, 4vw, 32px) 30px;
  background: var(--scrim-panel);
  border-bottom: 1px solid var(--glass-brd);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
[data-theme="light"] .mobile-nav { background: rgba(255, 255, 255, 0.9); }

.mobile-nav a {
  display: block;
  padding: 14px 6px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--txt-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--txt); padding-left: 14px; }
.mobile-nav .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(56px, 10vw, 120px));
  padding-bottom: clamp(60px, 9vw, 110px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(34px, 5vw, 62px);
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 7px;
  border-radius: var(--r-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  font-size: 0.82rem;
  color: var(--txt-dim);
  margin-bottom: 26px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.hero-badge:hover { border-color: var(--glass-brd-hi); transform: translateY(-2px); }
.hero-badge b {
  padding: 3px 11px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-actions { margin-top: 34px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--glass-brd);
  flex-wrap: wrap;
}
.avatars { display: flex; }
.avatars .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-1);
  margin-left: -12px;
  overflow: hidden;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}
.avatars .avatar:first-child { margin-left: 0; }
.avatars .avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-meta small { color: var(--txt-mute); font-size: 0.85rem; display: block; }
.stars { color: var(--warn); letter-spacing: 2px; font-size: 0.9rem; }

/* Terminal / code card */
.hero-visual { position: relative; }

.terminal {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(6, 9, 17, 0.66);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow), var(--shadow-glow);
  backdrop-filter: blur(var(--blur-lg)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(150%);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.7s var(--ease);
  font-family: var(--mono);
}
.terminal:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg) translateY(-4px); }
[data-theme="light"] .terminal { background: rgba(12, 16, 28, 0.9); }

.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.term-title { margin-left: 8px; font-size: 0.76rem; color: var(--txt-mute); font-family: var(--font); }

.term-body {
  padding: 20px 22px 24px;
  font-size: 0.845rem;
  line-height: 1.95;
  min-height: 268px;
}
.term-body .ln { display: block; opacity: 0; transform: translateY(6px); animation: lineIn 0.5s var(--ease) forwards; }
.c-prompt { color: var(--brand-3); }
.c-cmd { color: var(--txt); }
.c-key { color: #c4b5fd; }
.c-str { color: #86efac; }
.c-num { color: #fcd34d; }
.c-dim { color: var(--txt-mute); }
.c-ok { color: var(--ok); }

@keyframes lineIn { to { opacity: 1; transform: none; } }

.term-body .cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--brand-3);
  vertical-align: text-bottom;
  animation: blink 1.05s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--scrim-chip);
  border: 1px solid var(--glass-brd-hi);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  animation: bob 5s var(--ease) infinite alternate;
  white-space: nowrap;
}
.float-chip svg { width: 16px; height: 16px; }
.chip-a { top: -22px; right: 14px; animation-delay: 0.4s; }
.chip-b { bottom: -20px; left: -14px; animation-delay: 1.6s; }
.chip-ok { color: var(--ok); }
.chip-brand { color: var(--brand-3); }

@keyframes bob {
  from { transform: translateY(-7px); }
  to   { transform: translateY(9px); }
}

/* ---------- Splash (home) ---------- */
.splash {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 40px);
  position: relative;
}

.splash-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 660px;
  padding: clamp(38px, 7vw, 66px) clamp(24px, 5vw, 58px);
  border-radius: 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(40px) saturate(170%);
  -webkit-backdrop-filter: blur(40px) saturate(170%);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  animation: cardIn 1.1s var(--ease-out) both;
  animation-delay: 120ms;
}

/* slow light sweep across the glass */
.splash-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.09) 48%, transparent 58%);
  background-size: 260% 100%;
  background-position: 180% 0;
  animation: sheen 8s var(--ease) 1.4s infinite;
  pointer-events: none;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); filter: blur(16px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes sheen {
  0%       { background-position: 180% 0; }
  55%, 100% { background-position: -80% 0; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes markIn {
  from { opacity: 0; transform: scale(0.86); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes logoFloat {
  from { transform: translateY(-5px); }
  to   { transform: translateY(7px); }
}

.splash-mark {
  width: clamp(104px, 17vw, 148px);
  margin: 0 auto clamp(26px, 4vw, 36px);
  animation: markIn 0.9s var(--ease-out) both;
  animation-delay: 420ms;
}

.splash-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--glass-brd-hi);
  box-shadow:
    0 18px 50px -14px rgba(91, 140, 255, 0.55),
    0 0 70px -18px rgba(139, 92, 246, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: logoFloat 7s var(--ease) 1.4s infinite alternate;
}

.splash-title {
  font-size: clamp(1.7rem, 5.2vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  animation: riseIn 0.85s var(--ease-out) both;
  animation-delay: 620ms;
}

.splash-sub {
  margin-top: 16px;
  font-size: clamp(0.95rem, 2.1vw, 1.1rem);
  line-height: 1.5;
  color: var(--txt-dim);
  letter-spacing: 0.015em;
  animation: riseIn 0.85s var(--ease-out) both;
  animation-delay: 780ms;
}

.splash-rule {
  width: 60px;
  height: 1px;
  margin: clamp(26px, 4vw, 34px) auto;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--glass-brd-hi), transparent);
  animation: ruleIn 0.9s var(--ease-out) both;
  animation-delay: 900ms;
}

@keyframes ruleIn {
  from { opacity: 0; transform: scaleX(0.2); }
  to   { opacity: 1; transform: none; }
}

.splash-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
  color: var(--txt-mute);
  animation: riseIn 0.85s var(--ease-out) both;
  animation-delay: 1040ms;
}

.splash-links a {
  position: relative;
  transition: color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}
.splash-links a:hover { color: var(--brand-3); letter-spacing: 0.02em; }
.splash-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
  transition: transform 0.4s var(--ease);
}
.splash-links a:hover::after { transform: scaleX(1); }
.splash-links .dot-sep { opacity: 0.35; }

/* ---------- About page ---------- */
.about {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 84px) clamp(18px, 4vw, 32px) clamp(48px, 8vw, 96px);
  display: grid;
  gap: clamp(18px, 2.6vw, 26px);
}

.panel {
  position: relative;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 28px;
  animation: riseIn 0.85s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--txt-mute);
  margin-bottom: 26px;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.backlink:hover { color: var(--brand-3); gap: 13px; }
.backlink svg { width: 15px; height: 15px; }

.about .h1 { font-size: clamp(2rem, 5.4vw, 3.3rem); }
.about .lead { margin-top: 20px; }

.rule-left {
  width: 100%;
  margin: 26px 0 0;
  transform-origin: 0 50%;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-head .tile-icon { margin: 0; }
.panel-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); }

.bullets {
  display: grid;
  gap: 15px;
  margin-top: 6px;
}
.bullets li {
  position: relative;
  padding-left: 32px;
  color: var(--txt-dim);
  font-size: 0.98rem;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px -1px rgba(91, 140, 255, 0.9);
}
.bullets li strong { color: var(--txt); font-weight: 600; }

.panel-foot {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--glass-brd);
  font-size: 0.88rem;
  color: var(--txt-mute);
}

/* ---------- Data lists ---------- */
.rows { display: grid; }
.rows > * {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-brd);
  font-size: 0.95rem;
}
.rows > *:first-child { border-top: 1px solid var(--glass-brd); }
.rows .k { color: var(--txt-dim); }
.rows .k .sub { display: block; color: var(--txt-mute); font-size: 0.82rem; margin-top: 2px; }
.rows .v { color: var(--txt); font-weight: 600; text-align: right; white-space: nowrap; }
.rows .v.big { font-size: 1.08rem; letter-spacing: -0.01em; }
.rows .v.mono { font-family: var(--mono); font-size: 0.92rem; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips > span {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  color: var(--txt-dim);
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chips > span:hover { color: var(--txt); border-color: var(--glass-brd-hi); }

/* ---------- Marquee / logos ---------- */
.logos { padding-block: clamp(30px, 5vw, 54px); border-block: 1px solid var(--glass-brd); }
.logos p {
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin-bottom: 22px;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track {
  display: flex;
  gap: 58px;
  width: max-content;
  animation: scrollX 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }
.logo-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--txt-mute);
  letter-spacing: -0.02em;
  opacity: 0.75;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.logo-item:hover { opacity: 1; color: var(--txt); }
.logo-item svg { width: 21px; height: 21px; }

/* ---------- Feature cards ---------- */
.feature { position: relative; overflow: hidden; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--glass-brd);
  color: var(--brand-3);
  margin-bottom: 20px;
  transition: transform 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.feature:hover .feature-icon {
  transform: translateY(-3px) rotate(-7deg);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--txt-dim); font-size: 0.95rem; }

.tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(91, 140, 255, 0.14);
  border: 1px solid rgba(91, 140, 255, 0.28);
  color: #b6c8ff;
}
.tag.ok { background: rgba(52, 211, 153, 0.13); border-color: rgba(52, 211, 153, 0.3); color: #86efac; }
.tag.cyan { background: rgba(34, 211, 238, 0.13); border-color: rgba(34, 211, 238, 0.3); color: #a5f3fc; }
.tag.violet { background: rgba(139, 92, 246, 0.15); border-color: rgba(139, 92, 246, 0.32); color: #ddd6fe; }
[data-theme="light"] .tag { color: #2b47a8; }
[data-theme="light"] .tag.ok { color: #047857; }
[data-theme="light"] .tag.cyan { color: #0e7490; }
[data-theme="light"] .tag.violet { color: #5b21b6; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.stat { text-align: center; padding: 30px 16px; }
.stat .num {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .num .suffix { -webkit-text-fill-color: var(--brand-3); }
.stat small { display: block; margin-top: 10px; color: var(--txt-mute); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 22px; align-items: start; }
.step-num {
  counter-increment: step;
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.28rem;
  background: var(--grad-soft);
  border: 1px solid var(--glass-brd);
  color: var(--brand-3);
  position: relative;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step-num::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  z-index: -1;
}
.step:hover .step-num { color: #fff; box-shadow: var(--shadow-glow); }
.step h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step p { color: var(--txt-dim); font-size: 0.94rem; }

/* ---------- Testimonials ---------- */
.quote { position: relative; display: flex; flex-direction: column; gap: 18px; }
.quote-mark {
  font-size: 3.4rem;
  line-height: 0.6;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote blockquote { color: var(--txt-dim); font-size: 0.98rem; flex: 1; }
.quote blockquote b { color: var(--txt); font-weight: 600; }
.quote-by { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--glass-brd); }
.ava {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: var(--grad);
  flex: none;
  overflow: hidden;
}
.ava img { width: 100%; height: 100%; object-fit: cover; }
.quote-by strong { display: block; font-size: 0.93rem; }
.quote-by span { font-size: 0.8rem; color: var(--txt-mute); }

/* ---------- Pricing ---------- */
.price { display: flex; flex-direction: column; padding: 32px 28px; }
.price.featured {
  border-color: rgba(91, 140, 255, 0.42);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.1), rgba(139, 92, 246, 0.05));
  box-shadow: var(--shadow), var(--shadow-glow);
}
.price-badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--grad);
  color: #fff;
}
.price h3 { font-size: 1.05rem; color: var(--txt-dim); font-weight: 600; }
.price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 12px 0 4px;
  line-height: 1;
}
.price .amount span { font-size: 0.95rem; font-weight: 500; color: var(--txt-mute); letter-spacing: 0; }
.price > p { color: var(--txt-mute); font-size: 0.86rem; margin-top: 6px; }
.price ul { display: grid; gap: 11px; margin: 24px 0 28px; }
.price li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--txt-dim); align-items: flex-start; }
.price li svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 3px; }
.price li.off { color: var(--txt-mute); }
.price li.off svg { color: var(--txt-mute); opacity: 0.5; }
.price .btn { margin-top: auto; }

/* ---------- Forms ---------- */
.field { position: relative; margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin-bottom: 8px;
}
.field label .req { color: var(--bad); }

.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-brd);
  color: var(--txt);
  font-size: 0.96rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
[data-theme="light"] .input,
[data-theme="light"] .textarea,
[data-theme="light"] .select { background: rgba(255, 255, 255, 0.7); }

.input::placeholder, .textarea::placeholder { color: var(--txt-mute); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: rgba(91, 140, 255, 0.65);
  background: rgba(91, 140, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.14);
  transform: translateY(-1px);
}
.textarea { resize: vertical; min-height: 132px; line-height: 1.6; }
.select { appearance: none; cursor: pointer; padding-right: 44px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--txt-dim);
  border-bottom: 2px solid var(--txt-dim);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select option { background: var(--bg-2); color: var(--txt); }

.field.invalid .input,
.field.invalid .textarea,
.field.invalid .select { border-color: rgba(251, 113, 133, 0.7); box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12); }
.err {
  display: block;
  font-size: 0.78rem;
  color: var(--bad);
  margin-top: 7px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease);
}
.field.invalid .err { max-height: 44px; opacity: 1; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: var(--txt-dim); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  width: 21px; height: 21px;
  flex: none;
  margin-top: 1px;
  border-radius: 7px;
  border: 1.5px solid var(--glass-brd-hi);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  transition: all 0.28s var(--ease);
}
.check .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(0.5); transition: all 0.28s var(--ease); }
.check input:checked + .box { background: var(--grad); border-color: transparent; }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.2); }

.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--txt-mute); margin-top: 16px; }
.form-note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }

.alert {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--r);
  font-size: 0.9rem;
  margin-bottom: 22px;
  border: 1px solid;
}
.alert.show { display: flex; animation: alertIn 0.45s var(--ease) both; }
.alert-ok { background: rgba(52, 211, 153, 0.11); border-color: rgba(52, 211, 153, 0.35); color: #86efac; }
.alert-bad { background: rgba(251, 113, 133, 0.11); border-color: rgba(251, 113, 133, 0.35); color: #fda4af; }
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
[data-theme="light"] .alert-ok { color: #047857; }
[data-theme="light"] .alert-bad { color: #be123c; }

/* ---------- Contact detail cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.ccard {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backdrop-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  overflow: hidden;
}
.ccard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 140, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.ccard:hover {
  transform: translateY(-3px);
  border-color: var(--glass-brd-hi);
  box-shadow: 0 18px 40px -22px rgba(91, 140, 255, 0.55);
}
.ccard:hover::before { opacity: 1; }
a.ccard { color: inherit; text-decoration: none; }
.ccard-ic {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.22), rgba(139, 92, 246, 0.18));
  border: 1px solid var(--glass-brd-hi);
  color: var(--brand-3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.ccard:hover .ccard-ic {
  transform: scale(1.06) rotate(-4deg);
  box-shadow: 0 0 22px -4px rgba(91, 140, 255, 0.6);
}
.ccard-ic svg { width: 19px; height: 19px; }
.ccard-ic.wa { background: linear-gradient(135deg, rgba(37, 211, 102, 0.24), rgba(16, 185, 129, 0.18)); color: #4ade80; }
.ccard-ic.wa:hover { box-shadow: 0 0 22px -4px rgba(37, 211, 102, 0.6); }
.ccard-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ccard-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--txt-mute);
  font-weight: 600;
}
.ccard-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--txt);
  word-break: break-word;
  line-height: 1.35;
}
.ccard-sub { font-size: 0.82rem; color: var(--txt-dim); line-height: 1.5; }
.ccard-value .num { color: var(--brand-3); }
a.ccard:hover .ccard-value { color: var(--brand-3); }

/* ---------- Floating WhatsApp button ---------- */
.wa-fab {
  position: fixed;
  right: clamp(18px, 3vw, 30px);
  bottom: clamp(18px, 3vw, 30px);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 11px;
  height: 60px;
  padding: 0 22px 0 18px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 18px 40px -14px rgba(37, 211, 102, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  -webkit-backdrop-tap-highlight-color: transparent;
}
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid rgba(37, 211, 102, 0.6);
  animation: waPulse 2.6s var(--ease) infinite;
  pointer-events: none;
}
.wa-fab svg { width: 27px; height: 27px; flex: none; fill: currentColor; }
.wa-fab span { white-space: nowrap; }
.wa-fab:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 26px 52px -14px rgba(37, 211, 102, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.wa-fab:active { transform: translateY(-1px) scale(0.99); }
@keyframes waPulse {
  0%   { opacity: 0.85; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.22); }
  100% { opacity: 0; transform: scale(1.22); }
}
/* Keep clear of a back-to-top button if one is ever added to these pages. */
body:has(.to-top) .wa-fab { bottom: calc(clamp(18px, 3vw, 30px) + 62px); }

/* ---------- Input focus glow ---------- */
.form-glass {
  position: relative;
  border-radius: clamp(20px, 3vw, 28px);
  padding: clamp(24px, 3.4vw, 38px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.form-glass::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.65), rgba(139, 92, 246, 0.5), rgba(34, 211, 238, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.form-glass:focus-within::before { opacity: 1; }

.input:focus, .textarea:focus, .select:focus {
  border-color: rgba(91, 140, 255, 0.75);
  background: rgba(91, 140, 255, 0.09);
  box-shadow:
    0 0 0 4px rgba(91, 140, 255, 0.16),
    0 0 26px -4px rgba(91, 140, 255, 0.55),
    0 0 52px -14px rgba(139, 92, 246, 0.45);
  animation: inputGlow 2.4s var(--ease) infinite;
}
.textarea:focus { animation: none; }
@keyframes inputGlow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.16), 0 0 24px -6px rgba(91, 140, 255, 0.5), 0 0 46px -16px rgba(139, 92, 246, 0.4); }
  50%      { box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.2),  0 0 32px -3px rgba(91, 140, 255, 0.68), 0 0 62px -12px rgba(139, 92, 246, 0.55); }
}
.field.invalid .input:focus,
.field.invalid .textarea:focus,
.field.invalid .select:focus {
  border-color: rgba(251, 113, 133, 0.8);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.15), 0 0 24px -6px rgba(251, 113, 133, 0.5);
  animation: none;
}
.field:has(.input:focus) .field-glow,
.field:has(.textarea:focus) .field-glow,
.field:has(.select:focus) .field-glow { opacity: 1; transform: scaleX(1); }
.field-glow {
  position: absolute;
  left: 14px; right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--grad-2, #8b5cf6), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}

@media (max-width: 560px) {
  .wa-fab { height: 54px; padding: 0 17px; }
  .wa-fab span { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ---------- Newsletter: post cards ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg, 22px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 140, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.post-card:hover {
  transform: translateY(-7px);
  border-color: rgba(91, 140, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 28px 54px -26px rgba(91, 140, 255, 0.62),
    0 0 0 1px rgba(91, 140, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.post-card:hover::after { opacity: 1; }

.post-cover {
  position: relative;
  height: 132px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-brd);
  background:
    radial-gradient(120% 120% at 18% 8%, rgba(91, 140, 255, 0.42), transparent 62%),
    radial-gradient(110% 110% at 88% 96%, rgba(139, 92, 246, 0.34), transparent 60%),
    linear-gradient(140deg, rgba(30, 40, 64, 0.88), rgba(20, 27, 45, 0.76));
}
.post-card[data-hue="cyan"] .post-cover {
  background:
    radial-gradient(120% 120% at 18% 8%, rgba(34, 211, 238, 0.42), transparent 62%),
    radial-gradient(110% 110% at 88% 96%, rgba(91, 140, 255, 0.32), transparent 60%),
    linear-gradient(140deg, rgba(30, 40, 64, 0.88), rgba(20, 27, 45, 0.76));
}
.post-card[data-hue="violet"] .post-cover {
  background:
    radial-gradient(120% 120% at 18% 8%, rgba(139, 92, 246, 0.44), transparent 62%),
    radial-gradient(110% 110% at 88% 96%, rgba(56, 189, 248, 0.28), transparent 60%),
    linear-gradient(140deg, rgba(30, 40, 64, 0.88), rgba(20, 27, 45, 0.76));
}
.post-card[data-hue="green"] .post-cover {
  background:
    radial-gradient(120% 120% at 18% 8%, rgba(52, 211, 153, 0.38), transparent 62%),
    radial-gradient(110% 110% at 88% 96%, rgba(34, 211, 238, 0.26), transparent 60%),
    linear-gradient(140deg, rgba(30, 40, 64, 0.88), rgba(20, 27, 45, 0.76));
}
.post-cover svg {
  width: 46px;
  height: 46px;
  color: rgba(255, 255, 255, 0.82);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
  transition: transform 0.55s var(--ease);
}
.post-card:hover .post-cover svg { transform: scale(1.12) rotate(-5deg); }
.post-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  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: 26px 26px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
}
.post-draft {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.34);
}

.post-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 20px 22px 22px;
}
.post-title {
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--txt);
}
.post-excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--txt-dim);
  margin: 0;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--glass-brd);
  font-size: 0.76rem;
  color: var(--txt-mute);
}
.post-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-3);
  cursor: default;
}
.post-more svg { width: 13px; height: 13px; }

/* ---------- Newsletter: inline subscribe ---------- */
.sub-inline {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.sub-inline .field { flex: 1 1 240px; margin-bottom: 0; }
.sub-inline .btn { flex: 0 0 auto; }

.sample-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 18px;
  margin-top: 22px;
  border-radius: var(--r);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.32);
}
.sample-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
[data-theme="light"] .sample-note { color: #92400e; }

@media (max-width: 620px) {
  .sub-inline .btn { width: 100%; }
}

/* ---------- Sticky nav: clear the fixed header ---------- */
.about { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 84px)); }
.splash { padding-top: calc(var(--nav-h) + clamp(20px, 5vw, 40px)); }
.backlink { position: relative; z-index: 1; }

@keyframes alertIn {
  from { opacity: 0; transform: translateY(-10px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Newsletter inline ---------- */
.news-form {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-brd);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-form:focus-within { border-color: rgba(91, 140, 255, 0.55); box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.13); }
.news-form .input {
  border: none;
  background: transparent;
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.news-form .input:focus { box-shadow: none; background: transparent; transform: none; }

/* ---------- Topic / plan pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--txt-dim);
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.pill:hover { color: var(--txt); border-color: var(--glass-brd-hi); transform: translateY(-2px); }
.pill.active {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 10px 26px -12px rgba(91, 140, 255, 0.9);
}

/* ---------- Accordion ---------- */
.acc-item { margin-bottom: 14px; overflow: hidden; }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.acc-head:hover { color: var(--brand-3); }
.acc-icon {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-brd);
  transition: transform 0.45s var(--ease), background 0.35s var(--ease);
}
.acc-icon svg { width: 13px; height: 13px; }
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--grad); border-color: transparent; }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.acc-panel p { padding: 0 24px 22px; color: var(--txt-dim); font-size: 0.93rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2), var(--brand-3));
  opacity: 0.4;
}
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: flex-start; padding-bottom: 26px; position: relative; }
.tl-dot {
  width: 56px; height: 56px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: var(--bg-1);
  border: 1px solid var(--glass-brd-hi);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--brand-3);
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--ease);
}
.tl-item:hover .tl-dot {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08) rotate(-6deg);
  box-shadow: var(--shadow-glow);
}
.tl-body { padding-top: 6px; }
.tl-body h4 { font-size: 1.02rem; margin-bottom: 5px; }
.tl-body p { color: var(--txt-dim); font-size: 0.92rem; }

/* ---------- Team ---------- */
.member { text-align: center; }
.member-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
  background: var(--grad);
  display: grid;
  place-items: center;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.07); }
.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 13, 0.75));
}
.member-initials { position: absolute; z-index: 1; font-size: 1.5rem; font-weight: 800; color: #fff; }
.member h3 { font-size: 1.02rem; }
.member span { font-size: 0.85rem; color: var(--brand-3); }
.member .socials { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.member .socials a {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  color: var(--txt-dim);
  transition: all 0.3s var(--ease);
}
.member .socials a:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.member .socials svg { width: 15px; height: 15px; }

/* ---------- Values / icon tiles ---------- */
.tile-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--glass-brd);
  color: var(--brand);
  flex: none;
  transition: all 0.4s var(--ease);
}
.tile-icon svg { width: 21px; height: 21px; }
.tile:hover .tile-icon { color: #fff; background: var(--grad); border-color: transparent; box-shadow: var(--shadow-glow); }

.tile { display: flex; gap: 16px; align-items: flex-start; }
.tile h3 { font-size: 1.02rem; margin-bottom: 5px; }
.tile p { color: var(--txt-dim); font-size: 0.92rem; }

/* ---------- Info cards ---------- */
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-card .tile-icon { margin-top: 2px; }
.info-card h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.11em; color: var(--txt-mute); margin-bottom: 7px; font-weight: 600; }
.info-card a, .info-card p { font-size: 0.98rem; color: var(--txt); }
.info-card a { transition: color 0.25s var(--ease); }
.info-card a:hover { color: var(--brand-3); }

/* ---------- Contact: split layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(22px, 3vw, 34px); align-items: start; }

.map-card { position: relative; height: 260px; overflow: hidden; }
.map-card svg { width: 100%; height: 100%; }
.map-pin { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.map-pin i {
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(91, 140, 255, 0.7);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 22px rgba(91, 140, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 140, 255, 0); }
}
.map-overlay {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  padding: 14px 18px;
  border-radius: var(--r);
  background: var(--scrim-bar);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.map-overlay strong { display: block; font-size: 0.95rem; }
.map-overlay span { font-size: 0.8rem; color: var(--txt-dim); }

/* ---------- FAQ / newsletter archive ---------- */
.issue { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px; }
.issue-no {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--glass-brd);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--brand-3);
  flex: none;
  font-family: var(--mono);
}
.issue h3 { font-size: 1.02rem; margin-bottom: 8px; }
.issue p { color: var(--txt-dim); font-size: 0.92rem; }
.issue-meta { display: flex; gap: 14px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.issue-meta span { font-size: 0.78rem; color: var(--txt-mute); display: inline-flex; align-items: center; gap: 6px; }
.issue-meta svg { width: 14px; height: 14px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 6vw, 68px) clamp(24px, 5vw, 60px); }
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -10%;
  background: var(--grad);
  opacity: 0.11;
  filter: blur(60px);
  animation: float 20s var(--ease) infinite alternate;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .h2 { margin-bottom: 16px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(52px, 8vw, 96px)); padding-bottom: clamp(46px, 7vw, 84px); }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 0.83rem; color: var(--txt-mute); margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a { transition: color 0.25s var(--ease); }
.crumbs a:hover { color: var(--brand-3); }
.crumbs .sep { opacity: 0.45; }
.crumbs .current { color: var(--txt-dim); }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out), filter 0.75s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="scale"] { transform: scale(0.93); }
[data-reveal="blur"]  { filter: blur(18px); transform: translateY(14px); }

[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Blur-to-clear headline on load */
.blur-up {
  display: block;
  opacity: 0;
  filter: blur(18px);
  transform: translateY(14px);
  animation: blurUp 1s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes blurUp {
  to { opacity: 1; filter: blur(0); transform: none; }
}

/* Page load veil */
#veil {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-0);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#veil.hide { opacity: 0; visibility: hidden; }
.veil-ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--brand);
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--glass-brd); background: var(--scrim-foot); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); margin-top: clamp(60px, 8vw, 100px); }
[data-theme="light"] .footer { background: rgba(255, 255, 255, 0.55); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(26px, 4vw, 48px); padding-block: clamp(44px, 6vw, 64px); }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-mute); margin-bottom: 16px; font-weight: 600; }
.footer li + li { margin-top: 10px; }
.footer li a { font-size: 0.92rem; color: var(--txt-dim); transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer li a:hover { color: var(--brand-3); padding-left: 5px; }
.footer-about p { color: var(--txt-dim); font-size: 0.92rem; margin-top: 16px; max-width: 38ch; }
.socials { display: flex; gap: 9px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  color: var(--txt-dim);
  transition: all 0.3s var(--ease);
}
.socials a:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.socials svg { width: 17px; height: 17px; }

.footer-news { padding-bottom: 34px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
  border-top: 1px solid var(--glass-brd);
  font-size: 0.85rem;
  color: var(--txt-mute);
  flex-wrap: wrap;
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--brand-3); }
.footer-bottom a { transition: color 0.25s var(--ease); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 999;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--scrim-chip);
  border: 1px solid var(--glass-brd-hi);
  color: var(--txt);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all 0.4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 200;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 20px;
  border-radius: var(--r-pill);
  background: var(--scrim-panel);
  border: 1px solid var(--glass-brd-hi);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  animation: toastIn 0.45s var(--ease) both;
  pointer-events: auto;
}
.toast.out { animation: toastOut 0.4s var(--ease) forwards; }
.toast svg { width: 18px; height: 18px; color: var(--ok); }
.toast.bad svg { color: var(--bad); }
@keyframes toastIn { from { opacity: 0; transform: translateY(18px); filter: blur(10px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px); filter: blur(8px); } }

/* ---------- Utility ---------- */
.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;
}
.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--glass-brd-hi), transparent); border: 0; margin-block: clamp(40px, 6vw, 72px); }

/* ============================================================
   Business build â€” shared components & premium polish
   ============================================================ */

/* Nav CTA: sits with the links on desktop, hidden with them on mobile */
.nav-cta { flex: none; margin-right: 2px; }
.mobile-cta { margin-top: 18px; }

/* Footer detail */
.footer .brand { margin-bottom: 2px; }
.footer-addr { display: block; font-size: 0.92rem; color: var(--txt-dim); line-height: 1.55; }
.footer-news { padding-bottom: 34px; }
.footer-news h4 { margin-bottom: 8px; }
.footer-news p { color: var(--txt-dim); font-size: 0.92rem; max-width: 54ch; }
.footer-news .news-form { max-width: 480px; margin-top: 16px; }
.footer li span.mono { font-size: 0.82rem; }

/* Inline trust chips used under the hero and section heads */
.kpi-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.kpi {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  font-size: 0.84rem;
  color: var(--txt-dim);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.kpi:hover { border-color: var(--glass-brd-hi); transform: translateY(-2px); }
.kpi svg { width: 15px; height: 15px; color: var(--brand-3); flex: none; }
.kpi b { color: var(--txt); font-weight: 600; }

/* Service cards */
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-meta .tag { background: var(--glass-bg); border-color: var(--glass-brd); color: var(--txt-dim); }
.feature .link-arrow { margin-top: 18px; font-size: 0.9rem; }

/* Route / destination rows */
.route-list { display: grid; gap: 12px; }
.route-item { display: flex; align-items: center; gap: 14px; padding: 15px 18px; }
.r-ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--glass-brd);
  color: var(--brand-3);
  flex: none;
}
.r-ic svg { width: 18px; height: 18px; }
.route-item strong { display: block; font-size: 0.95rem; }
.route-item span { font-size: 0.84rem; color: var(--txt-mute); }

/* Hairline glow divider */
.glow-line {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--glass-brd-hi) 45%, var(--glass-brd-hi) 55%, transparent);
}

/* Blog */
.blog-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.blog-empty { display: none; padding: 40px 0; text-align: center; color: var(--txt-mute); }
.blog-empty.show { display: block; }
.post-card .post-draft { flex: none; }

/* Wider, calmer panels for business pages */
.panel-lg { padding: clamp(26px, 3.6vw, 46px); }

/* Keep the CTA band readable when it is the last block before the footer */
.cta-band { margin-top: 0; }

/* Hero logo plate: the association mark on its own glass card */
.mark-plate {
  display: grid;
  place-items: center;
  padding: clamp(26px, 5vw, 52px);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.mark-plate img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -28px rgba(4, 8, 20, 0.9);
}

/* Consent row on the enquiry form sits tighter than a normal field */
.field.check-row { margin-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 560px; width: 100%; }
  .terminal { transform: none; }
  .terminal:hover { transform: translateY(-4px); }
  .split, .split-text-left { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .float-chip { display: none; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .burger { display: grid; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap { padding-inline: 18px; }
  .g-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .news-form { flex-direction: column; border-radius: var(--r-lg); padding: 12px; }
  .news-form .btn { width: 100%; }
  .step { grid-template-columns: 46px 1fr; gap: 16px; }
  .step-num { width: 46px; height: 46px; border-radius: 14px; font-size: 1.05rem; }
  .tl-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .tl-dot { width: 44px; height: 44px; border-radius: 14px; font-size: 0.72rem; }
  .timeline::before { left: 21px; }
  .term-body { font-size: 0.74rem; padding: 16px; min-height: 0; }
  .splash { padding: 18px; }
  .splash-card { border-radius: 26px; }
  .splash-links { gap: 6px 14px; font-size: 0.84rem; }
  .panel { border-radius: 22px; }
  .bullets li { padding-left: 28px; font-size: 0.95rem; }
  .rows > * { flex-direction: column; align-items: flex-start; gap: 4px; }
  .rows .v { text-align: left; white-space: normal; }
  .toast-wrap { left: 14px; right: 14px; bottom: 14px; }
  .toast { font-size: 0.85rem; padding: 12px 16px; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .blur-up { opacity: 1 !important; transform: none !important; filter: none !important; }
  .panel { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .splash-card, .splash-card::after, .splash-mark, .splash-logo,
  .splash-title, .splash-sub, .splash-rule, .splash-links {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media print {
  .header, .footer, .to-top, .orb, .bg-canvas, .bg-grid, #veil, .mobile-nav { display: none !important; }
  body { background: #fff; color: #000; }
  .glass { border: 1px solid #ccc; box-shadow: none; background: #fff; }
}

