/* ==========================================================================
   Exseed — stylesheet
   Plain CSS, no build step. Colours and sizes live in :root below.
   ========================================================================== */

:root {
  /* surfaces */
  --ink-0: #061015;
  --ink-1: #0a171d;
  --ink-2: #0e1f26;
  --ink-3: #132a32;
  --line: rgba(150, 200, 208, 0.12);
  --line-2: rgba(150, 200, 208, 0.22);

  /* text */
  --text: #ecf4f3;
  --text-2: #b1c5c6;
  --text-3: #7e9699;

  /* the Exseed spectrum: leaf -> mint -> cyan -> periwinkle (seed to intelligence) */
  --c1: #a6e36b;
  --c2: #3ee6a0;
  --c3: #2fd3e6;
  --c4: #8ea2ff;
  --amber: #f3c56b;
  --accent: var(--c2);
  --accent-ink: #04241a;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ink-1);
}

body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text-2);
  font: 400 1.0625rem/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(62, 230, 160, 0.3); color: var(--text); }

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

h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- small type helpers ---------- */
.mono { font-family: var(--font-mono); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--text-3);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--accent));
  box-shadow: 0 0 14px var(--dot, var(--accent));
}

.grad {
  background: linear-gradient(95deg, var(--c1), var(--c2) 40%, var(--c3) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin: 0.55em 0 0.45em;
}
.lead {
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 40rem;
}

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  box-shadow: 0 0 0 0 rgba(62, 230, 160, 0);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(62, 230, 160, 0.55);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  --bg: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: rgba(62, 230, 160, 0.5);
  box-shadow: none;
}
.btn-sm { min-height: 40px; padding: 0 1.05rem; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
}
.link-arrow:hover { border-color: currentColor; gap: 0.65rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(8, 20, 25, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: var(--text-2);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: #08141a;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-header.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-cta-mobile { display: block; }
  .nav-links .nav-cta-mobile a {
    margin-top: 18px;
    border: 0;
    text-align: center;
    color: var(--accent-ink);
  }
}
.nav-cta-mobile { display: none; }

/* ---------- ambient light (slowly drifting glows) ---------- */
.glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, rgba(62, 230, 160, 0.14)), transparent);
  animation: drift var(--drift, 36s) ease-in-out infinite alternate;
}
.glow.g-mint { --glow: rgba(62, 230, 160, 0.13); }
.glow.g-cyan { --glow: rgba(47, 211, 230, 0.11); }
.glow.g-peri { --glow: rgba(142, 162, 255, 0.12); }
.glow.g-leaf { --glow: rgba(166, 227, 107, 0.09); }

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6%, 4%, 0) scale(1.08); }
  100% { transform: translate3d(-5%, 7%, 0) scale(0.96); }
}

/* ---------- sections ---------- */
main { display: block; }
.section {
  position: relative;
  padding-block: clamp(88px, 11vw, 150px);
  overflow: clip;
}
.section > .wrap { position: relative; z-index: 1; }
.section-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head .section-title { margin-bottom: 0; }
.section-head .lead { margin: 0; }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(920px, calc(100svh - var(--header-h)));
  overflow: clip;
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(62, 230, 160, 0.09), transparent 60%),
    radial-gradient(60% 50% at 95% 20%, rgba(142, 162, 255, 0.10), transparent 65%);
}
.hero .glow.g-mint { top: -30%; left: -20%; }
.hero .glow.g-peri { top: -10%; right: -25%; --drift: 44s; }

.hero-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(48px, 9vh, 110px) 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
}
.hero h1 .quiet {
  display: block;
  margin-top: 0.14em;
  color: var(--text-3);
  font-weight: 700;
  font-size: 0.56em;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.hero-intro h2 {
  font-size: clamp(1.18rem, 1.6vw, 1.4rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.hero-intro p { color: var(--text-2); font-size: 1.08rem; }
.hero-intro .hl { color: var(--c2); font-weight: 600; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 1.8rem;
}
.hero-note {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-3);
}

/* hero art: noisy lines that settle into one clean line */
.hero-art {
  position: relative;
  z-index: 1;
  height: clamp(150px, 22vw, 280px);
  pointer-events: none;
}
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-foot { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.hero-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-3);
}
.hero-bar .loc { display: inline-flex; align-items: center; gap: 8px; }
.hero-bar .loc svg { width: 14px; height: 14px; }

/* ---------- services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  --c: var(--c2);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.card::before {
  /* soft spotlight that follows the pointer */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 16%, transparent), transparent 60%);
  transition: opacity 0.4s;
}
.card:hover { border-color: color-mix(in srgb, var(--c) 38%, transparent); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card .glyph { width: 60px; height: 60px; color: var(--c); margin-bottom: 26px; }
.card .glyph svg { width: 100%; height: 100%; overflow: visible; }
.card .idx {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--c);
  margin-bottom: 8px;
}
.card h3 { font-size: 1.28rem; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; margin-bottom: 1.2rem; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  white-space: nowrap;
}
.card[data-c="1"] { --c: var(--c1); }
.card[data-c="2"] { --c: var(--c2); }
.card[data-c="3"] { --c: var(--c3); }
.card[data-c="4"] { --c: var(--c4); }

.works-with {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-3);
}
.works-with strong { color: var(--text-2); font-weight: 500; }

/* glyph line-work */
.glyph .base { stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.glyph .faint { stroke: currentColor; stroke-width: 1.2; fill: none; opacity: 0.3; }
.glyph .fill { fill: currentColor; }

/* line drawing (paths marked data-draw are drawn when they scroll into view) */
.js [data-draw] { transition: stroke-dashoffset var(--draw-dur, 1.8s) var(--ease) var(--draw-delay, 0s); }

/* ---------- SME offer ---------- */
.sme { background: linear-gradient(180deg, transparent, rgba(14, 31, 38, 0.55) 30%, transparent); }
.sme .glow.g-leaf { top: 0; left: -30%; }
.sme .glow.g-cyan { bottom: -20%; right: -25%; --drift: 48s; }

.growth-art { width: min(640px, 100%); margin: 8px 0 36px; }
.growth-art svg { width: 100%; height: auto; overflow: visible; }
.growth-art .growth-tip { transform-box: fill-box; transform-origin: center; }
.js .growth-art .growth-tip { opacity: 0; transition: opacity 0.6s ease 2.4s; }
.js .growth-art.is-in .growth-tip { opacity: 1; animation: tip 2.8s ease-in-out 3s infinite; }
@keyframes tip { 50% { transform: scale(1.6); opacity: 0.6; } }
.growth-art .caption {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-3);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  --c: var(--c1);
  position: relative;
  padding: 26px 26px 8px 0;
}
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent);
  transform-origin: left;
  transition: transform 0.9s var(--ease) var(--d, 0s);
}
.js .steps:not(.is-in) .step::before { transform: scaleX(0); }
.step:nth-child(2) { --c: var(--c2); --d: 0.25s; }
.step:nth-child(3) { --c: var(--c3); --d: 0.5s; }
.step:nth-child(4) { --c: var(--c4); --d: 0.75s; }
.step .num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c);
  margin-bottom: 14px;
}
.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c, var(--c2)) 45%, transparent);
  color: var(--c, var(--c2));
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
}
.step h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 0.55rem; }
.step p { font-size: 0.98rem; }

.offer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px clamp(20px, 4vw, 56px);
  margin-top: 48px;
  padding: 26px clamp(20px, 3vw, 34px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, rgba(62, 230, 160, 0.09), rgba(47, 211, 230, 0.04) 55%, rgba(142, 162, 255, 0.06));
}
.offer-text { display: flex; flex-direction: column; gap: 6px; }
.offer-title {
  color: var(--text);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}
.offer-note { font-size: 0.98rem; color: var(--text-2); margin: 0; max-width: 38rem; }

/* ---------- automations: tabs + live panel ---------- */
.automate {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(80px, 10vw, 130px);
}
.automate h3.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-top: 0.5em; }
.flow-tabs {
  display: grid;
  gap: 6px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.flow-tab {
  --c: var(--c2);
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 2px 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.flow-tab:hover { background: rgba(255, 255, 255, 0.025); }
.flow-tab[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.035);
  border-color: color-mix(in srgb, var(--c) 35%, transparent);
}
.flow-tab .ix {
  grid-row: span 2;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--c);
}
.flow-tab .t { color: var(--text); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.flow-tab .d { color: var(--text-3); font-size: 0.9rem; line-height: 1.45; }
.flow-tab .bar {
  grid-column: 2;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
  display: none;
}
.flow-tab[aria-selected="true"] .bar { display: block; }
.flow-tab .bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--c);
  transform-origin: left;
  transform: scaleX(0);
}
.flow-tab.is-timing .bar i { animation: tabtimer var(--tab-dur, 9s) linear forwards; }
@keyframes tabtimer { to { transform: scaleX(1); } }

.panel {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 25, 31, 0.92), rgba(6, 16, 21, 0.92));
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.76rem;
}
.panel-head .name { color: var(--text-2); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--c2);
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: blink 1.6s ease-in-out infinite;
}
.status.is-done { color: var(--c3); }
.status.is-done::before { animation: none; }
@keyframes blink { 50% { opacity: 0.35; } }

.panel-steps { margin: 0; padding: 6px 0; list-style: none; min-height: 318px; }
.panel-steps li {
  display: grid;
  grid-template-columns: 76px 1fr 44px;
  align-items: start;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px dashed var(--line);
  opacity: 0.28;
  transition: opacity 0.4s;
}
.panel-steps li:last-child { border-bottom: 0; }
.panel-steps li.is-active,
.panel-steps li.is-done { opacity: 1; }
.panel-steps .tag {
  justify-self: start;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--tc, var(--text-2));
  background: color-mix(in srgb, var(--tc, var(--text-2)) 12%, transparent);
}
.panel-steps .tag[data-k="trigger"] { --tc: var(--c1); }
.panel-steps .tag[data-k="ai"] { --tc: var(--c4); }
.panel-steps .tag[data-k="check"] { --tc: var(--c3); }
.panel-steps .tag[data-k="action"] { --tc: var(--c2); }
.panel-steps .tag[data-k="human"] { --tc: var(--amber); }
.panel-steps .txt { color: var(--text); line-height: 1.5; }
.panel-steps .txt small { display: block; color: var(--text-3); font-size: 0.72rem; margin-top: 2px; }
.panel-steps .st { justify-self: end; color: var(--text-3); font-size: 0.72rem; }
.panel-steps li.is-done .st { color: var(--c2); }
.panel-steps li.is-active .st::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--c3);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.panel-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.74rem;
}
.panel-foot .result { color: var(--text-2); }
.panel-foot .result b { color: var(--c2); font-weight: 500; }

/* ---------- enterprise ---------- */
.enterprise .glow.g-peri { top: 10%; right: -30%; }
.confluence { margin: 8px 0 56px; }
.confluence svg { width: 100%; height: auto; overflow: visible; }
.confluence .src { stroke: url(#cf-grad); stroke-width: 1.5; fill: none; opacity: 0.7; }
.confluence .flow {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 0.1 26;
  animation: flow 3.2s linear infinite;
}
.confluence .flow.slow { animation-duration: 4.4s; }
.confluence .flow.c1 { stroke: var(--c1); }
.confluence .flow.c2 { stroke: var(--c2); }
.confluence .flow.c3 { stroke: var(--c3); }
.confluence .flow.c4 { stroke: var(--c4); }
@keyframes flow { to { stroke-dashoffset: -52.2; } }
.confluence .lbl { font-family: var(--font-mono); font-size: 15px; fill: var(--text-3); }
.confluence .lbl.hub { fill: var(--text-2); }
.confluence .node { fill: var(--ink-1); stroke: var(--c3); stroke-width: 1.4; }
.confluence .node.big { stroke: var(--c2); }
@media (max-width: 700px) {
  .confluence { overflow: hidden; margin-inline: calc(var(--gutter) * -1); }
  .confluence svg { width: 820px; max-width: none; margin-left: calc(50% - 410px); }
  .confluence .lbl.hub { font-size: 18px; }
  .confluence .lbl.minor { display: none; }
}

.caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.caps li {
  padding: 22px 22px 22px 0;
  border-bottom: 1px solid var(--line);
}
.caps li:not(:nth-child(4n + 1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.caps .n { display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--c3); margin-bottom: 8px; }
.caps strong { display: block; color: var(--text); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.caps span.d { font-size: 0.92rem; color: var(--text-3); line-height: 1.5; display: block; }
.enterprise .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 40px; }

/* ---------- principles ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.principles li { padding-top: 22px; border-top: 1px solid var(--line-2); }
.principles .k { font-family: var(--font-mono); font-size: 0.74rem; color: var(--c2); margin-bottom: 12px; display: block; }
.principles h3 { font-size: 1.18rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.principles p { font-size: 0.96rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  color: var(--text);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--c2), var(--c2)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--c2), var(--c2)) center / 1.5px 12px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 22px; max-width: 44rem; }
.faq-list .answer p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.contact { background: linear-gradient(180deg, transparent, rgba(14, 31, 38, 0.6)); }
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.contact-copy { position: relative; z-index: 1; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0.45em 0 0.4em; }
.contact .lead { max-width: 34rem; }
.mail-line { margin: 1.6rem 0 1.2rem; }
.mail-big {
  display: inline-block;
  color: var(--text);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-decoration: none;
  background: linear-gradient(90deg, var(--c1), var(--c2) 50%, var(--c3)) left bottom / 100% 3px no-repeat;
  padding-bottom: 8px;
  transition: background-size 0.35s var(--ease), color 0.25s;
}
.mail-big:hover { color: var(--c2); background-size: 0 3px; background-position: right bottom; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-3); }
.contact-meta a { color: var(--text-2); text-decoration: none; }
.contact-meta a:hover { color: var(--accent); }
.copy-mail {
  min-width: 11ch; /* width of "copy e-mail", so the row doesn't shift */
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s;
}
.copy-mail:hover, .copy-mail.is-done { color: var(--accent); }
.copy-mail.is-fallback { user-select: text; cursor: text; }

/* ripples art */
.contact-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: center; pointer-events: none; }
.ripples { position: absolute; left: 50%; top: 50%; width: 140%; max-width: none; transform: translate(-50%, -50%); }
.ripples circle.r { fill: none; stroke: url(#rp-grad); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--ink-0);
  padding: 64px 0 28px;
  font-size: 0.94rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-grid h4 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--text-3);
  margin-bottom: 14px;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--text-2); text-decoration: none; }
.foot-grid a:hover { color: var(--text); }
.foot-about p { color: var(--text-3); max-width: 22rem; margin-top: 14px; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-3);
}
.foot-bottom a { color: var(--text-3); }

/* ---------- registered office: street revealed on click ---------- */
.addr-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.addr--word .addr-btn {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.addr--word .addr-btn:hover,
.addr--word.is-open .addr-btn { color: var(--c2); }
.addr--link .addr-btn {
  margin-left: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.78em;
  color: var(--c2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.addr--link .addr-btn:hover { color: var(--c1); }
.addr-out {
  font-family: var(--font-mono);
  font-size: 0.9em;
  letter-spacing: 0;
  color: var(--c2);
  white-space: nowrap;
  transition: color 0.3s;
}
.addr-out.is-decrypting { color: var(--c3); }
.addr--link:not(.addr--inline) .addr-out { display: block; margin-bottom: 2px; }
.addr--inline .addr-out::before { content: " ("; }
.addr--inline .addr-out::after { content: ")"; }
.addr .addr-out:empty { display: none; }

/* ---------- inner pages (insights, privacy, 404) ---------- */
.page-hero {
  position: relative;
  padding: clamp(72px, 11vw, 140px) 0 clamp(40px, 6vw, 64px);
  overflow: clip;
  border-bottom: 1px solid var(--line);
}
.page-hero .glow.g-mint { top: -60%; left: -25%; }
.page-hero .glow.g-peri { top: -40%; right: -30%; --drift: 44s; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.045em; margin: 0.35em 0 0.3em; }
.page-hero .lead { margin: 0; }

.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.post-card { text-decoration: none; }
.post-card .meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-3); margin-bottom: 14px; }
.post-card h2 { font-size: 1.5rem; letter-spacing: -0.025em; margin-bottom: 0.6rem; }
.post-card p { font-size: 0.98rem; }
.post-card .link-arrow { margin-top: auto; }
.post-card.placeholder { border-style: dashed; background: transparent; justify-content: center; }
.post-card.placeholder:hover { transform: none; }

.prose { max-width: 46rem; font-size: 1.09rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.025em; margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.2rem; letter-spacing: -0.015em; margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--c2); }
.prose a { color: var(--c2); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--c2);
  color: var(--text);
  font-size: 1.15rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-3);
}
.article-cta {
  margin-top: 56px;
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(62, 230, 160, 0.08), rgba(142, 162, 255, 0.05));
}
.article-cta h2 { margin-top: 0; }
.article-cta p { color: var(--text-2); }

/* ---------- scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* safety net: if main.js never runs, show everything after a moment */
.js:not(.reveal-ready) [data-reveal] { animation: reveal-fallback 0.6s ease 2.5s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .caps li:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .caps li:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
  .principles { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-bar .tags-line { display: none; }
}

@media (max-width: 820px) {
  .hero-grid,
  .section-head,
  .automate,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .contact-art { position: absolute; right: -30%; top: 50%; width: 90%; transform: translateY(-50%); opacity: 0.55; z-index: 0; }
  .section-head { align-items: start; }
  .panel { position: relative; top: 0; }
  .post-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .caps { grid-template-columns: 1fr; }
  .caps li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .principles { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .offer .btn { justify-self: start; }
  .hero-bar .tags-line { display: none; }
  .panel-steps li { grid-template-columns: 64px 1fr 30px; gap: 10px; padding: 12px 14px; }
  .panel-head .pre, .panel-foot [data-flow-sector] { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .confluence .flow { display: none; }
}
