/* ==========================================================
   RENAR STUDIO
   One world: the logo unfolded. Square (input) → line
   (process) → circle (result) → arcs (reach). Navy ground,
   signal blue for things that move, sky for what comes out.
   ========================================================== */

@font-face { font-family: "Renar Display"; src: url("../fonts/renar-display-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Renar Display"; src: url("../fonts/renar-display-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Renar Text"; src: url("../fonts/renar-text-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Renar Text"; src: url("../fonts/renar-text-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Renar Text"; src: url("../fonts/renar-text-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  /* palette */
  --navy-950: #060B17;
  --navy: #0B1222;
  --navy-850: #0F182C;
  --navy-800: #142039;
  --line: #22304D;
  --line-soft: #1A2640;
  --blue: #2E6BFF;
  --blue-600: #1F56E0;
  --blue-300: #8FB0FF;
  --sky: #5EC8FF;
  --ink: #EEF3FC;
  --ink-2: #B6C2D6;     /* secondary text on navy, 9:1 */
  --slate: #94A3B8;     /* tertiary text on navy, 7:1 */
  --on-blue: #FFFFFF;
  --on-blue-2: #F0F4FF;
  --blue-field: #2259E6;   /* blue that carries text at AA */
  --blue-btn: #2660EA;

  /* type */
  --display: "Renar Display", "Inter Display", Inter, system-ui, sans-serif;
  --text: "Renar Text", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(2.75rem, 1.4rem + 5.6vw, 6rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-h3: clamp(1.35rem, 1.15rem + .8vw, 1.75rem);
  --fs-lede: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;

  /* space */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, .6rem + 2.6vw, 2.5rem);
  --section: clamp(5.5rem, 3.5rem + 7vw, 10rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-lift: 0 18px 40px -18px rgba(3, 8, 20, .75), 0 2px 6px -2px rgba(3, 8, 20, .5);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--blue);
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.02em; line-height: 1.15; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--line) var(--navy-950); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--line); border: 3px solid var(--navy-950); border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--blue); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 1rem; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.35rem;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--text); font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-btn); color: #fff; box-shadow: 0 10px 22px -12px rgba(2, 6, 18, .9); }
.btn-primary:hover { background: var(--blue-600); }
.btn-primary:focus-visible { outline-color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); background: rgba(238, 243, 252, .04); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--on-blue-2); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.link-btn { background: none; border: 0; padding: .25rem 0; color: var(--sky); cursor: pointer; text-decoration: underline; text-underline-offset: .25em; font-size: var(--fs-small); }
.link-btn:hover { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 34, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.header-row { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: var(--fs-small); font-weight: 500; transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: #fff; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: .3rem .6rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; color: var(--slate); cursor: pointer; min-width: 38px; min-height: 30px; }
.lang button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--line-soft); padding: 1rem var(--gutter) 1.5rem; display: grid; gap: .25rem; background: var(--navy); }
.mobile-menu a:not(.btn) { padding: .85rem 0; text-decoration: none; font-size: 1.125rem; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 1rem; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(3rem, 1.5rem + 4.5vw, 5.5rem); position: relative; overflow: hidden; }
.hero::before { /* faint field so the wire has somewhere to live */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 92%, rgba(46, 107, 255, .16), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(94, 200, 255, .06), transparent 70%);
}
.hero .wrap { position: relative; }
.hero-title { font-size: var(--fs-hero); max-width: 12ch; letter-spacing: -.04em; line-height: .98; }
.hero-lede { display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 2.5rem; align-items: end; justify-content: space-between; margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.hero-lede p { font-size: var(--fs-lede); color: var(--ink-2); margin: 0; max-width: 34rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* the flow band: logo anatomy as a working diagram */
.flow-band { margin-top: clamp(3.5rem, 2rem + 4vw, 6rem); padding-bottom: clamp(4rem, 2rem + 5vw, 7rem); position: relative; }
.flow { --fgap: clamp(1.5rem, .5rem + 4vw, 5rem); position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) auto minmax(0, 1fr); align-items: center; column-gap: var(--fgap); }
.flow > * { grid-row: 1; }
.flow-wire { grid-column: 1 / 3; align-self: center; height: 2px; background: var(--line); margin-right: calc(-1 * var(--fgap)); position: relative; z-index: 0; border-radius: 2px; }
.wire-pulse { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--sky)); transform-origin: left; transform: scaleX(1); }
.flow-in { grid-column: 1; position: relative; z-index: 1; display: flex; align-items: center; gap: 1.1rem; }
.node { flex: none; position: relative; }
.node-square { width: 44px; height: 44px; border-radius: 11px; background: var(--blue); box-shadow: 0 0 0 6px var(--navy); }
.flow-card {
  background: var(--navy-850); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1rem 1.15rem 1.05rem; max-width: 22rem; box-shadow: var(--shadow-lift);
}
.flow-label { margin: 0 0 .35rem; font-size: var(--fs-xs); color: var(--slate); font-variant-numeric: tabular-nums; }
.flow-name { margin: 0; font-weight: 600; font-size: 1rem; }
.flow-msg { margin: .15rem 0 0; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.45; }

.flow-core { grid-column: 2; position: relative; z-index: 1; display: grid; justify-items: center; gap: .7rem; }
.node-circle {
  width: 92px; height: 92px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; box-shadow: 0 0 0 10px var(--navy), 0 22px 40px -16px rgba(1, 4, 12, .95);
}
.node-circle svg { width: 38px; height: 38px; stroke: #fff; stroke-width: 6; stroke-linecap: round; fill: none; transform: translateX(-4px); }
.flow-core-label { margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); background: var(--navy); padding: .1rem .5rem; border-radius: 6px; }

.flow-out { grid-column: 3; position: relative; z-index: 1; list-style: none; margin: 0; padding: 0 0 0 2rem; display: grid; gap: .6rem; justify-self: start; }
.flow-out::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 2px; background: var(--sky); opacity: .55; transform-origin: center; }
.flow-out li {
  position: relative;
  display: flex; align-items: center; gap: .75rem;
  background: var(--navy-850); border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1.1rem .55rem .6rem; font-size: var(--fs-small); font-weight: 500;
  box-shadow: var(--shadow-lift);
}
.flow-out li::before { content: ""; position: absolute; left: -2rem; top: 50%; width: 2rem; height: 2px; margin-top: -1px; background: var(--sky); opacity: .55; }
.flow-out svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(94, 200, 255, .12); stroke: var(--sky); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.flow-foot { display: flex; gap: 1.25rem; align-items: baseline; flex-wrap: wrap; margin-top: 2rem; color: var(--slate); font-size: var(--fs-small); }
.flow-foot p { margin: 0; }

/* the one authored motion moment: an enquiry travels through the system */
.flow.is-ready .flow-card,
.flow.is-ready .node-square,
.flow.is-ready .flow-core,
.flow.is-ready .flow-out li { opacity: 0; }
.flow.is-playing .node-square { animation: pop .5s var(--ease-out) .1s both; }
.flow.is-playing .flow-card { animation: rise .7s var(--ease-out) .25s both; }
.flow.is-ready .wire-pulse { transform: scaleX(0); }
.flow.is-ready .flow-out::before { transform: scaleY(0); }
.flow.is-playing .wire-pulse { animation: wire 1.3s var(--ease-out) .8s both; }
.flow.is-playing .flow-out::before { animation: spine .6s var(--ease-out) 1.75s both; }
.flow.is-playing .flow-core { animation: pop .6s var(--ease-out) 1.2s both; }
.flow.is-playing .node-circle { animation: ping 1.4s var(--ease-out) 1.6s 1 both; }
.flow.is-playing .flow-out li { animation: slide .7s var(--ease-out) both; animation-delay: calc(1.9s + var(--i) * .32s); }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes slide { from { opacity: 0; transform: translateX(-18px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wire { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes spine { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ping {
  0% { box-shadow: 0 0 0 10px var(--navy), 0 0 0 10px rgba(46,107,255,.55), 0 22px 40px -16px rgba(1,4,12,.95); }
  100% { box-shadow: 0 0 0 10px var(--navy), 0 0 0 34px rgba(46,107,255,0), 0 22px 40px -16px rgba(1,4,12,.95); }
}

/* ---------- section rhythm ---------- */
section { position: relative; }
.why, .sites, .autos, .work, .process, .about { padding-block: var(--section); }
.why { border-top: 1px solid var(--line-soft); }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: start; }
.why-copy h2 { max-width: 14ch; margin-bottom: 1.75rem; }
.why-copy p { color: var(--ink-2); max-width: 36rem; font-size: var(--fs-lede); line-height: 1.55; }
.facts { margin: .4rem 0 0; display: grid; gap: 0; }
.fact { padding: 1.6rem 0 1.5rem; border-top: 1px solid var(--line); }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact dt { font-family: var(--display); font-weight: 500; font-size: 1.375rem; line-height: 1.36; letter-spacing: -.015em; margin-bottom: .45rem; }
.fact dd { margin: 0; color: var(--ink-2); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.fact cite { font-style: normal; color: var(--slate); white-space: nowrap; }
.fact cite::before { content: "Source: "; }
html[lang="tr"] .fact cite::before { content: "Kaynak: "; }

/* ---------- service rows (automations) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); column-gap: 2rem; row-gap: .4rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-name { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -.015em; line-height: 1.3; }
.svc-desc { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.55; }
.svc-demo { grid-column: 2; justify-self: start; font-size: var(--fs-small); font-weight: 500; color: var(--sky); text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; margin-top: .25rem; }
.svc-demo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.svc-demo:hover { color: #fff; text-decoration: underline; }

/* ---------- work ---------- */
.work-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.work-head h2 { max-width: 13ch; }
.work-head p { color: var(--ink-2); margin: 0; }
.case { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); border-top: 1px solid var(--line-soft); }
.case-flip .case-media { order: 2; }
.frame { position: relative; border-radius: var(--r-lg); background: var(--navy-950); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.frame-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); background: var(--navy-850); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.case-video { width: 100%; aspect-ratio: 1030 / 720; object-fit: cover; background: #000; }
.demo-pill { position: absolute; top: 9px; right: 12px; font-size: var(--fs-xs); font-weight: 600; color: var(--sky); background: rgba(94, 200, 255, .1); border: 1px solid rgba(94, 200, 255, .25); padding: .1rem .6rem; border-radius: 999px; }
.sound-btn { position: absolute; left: 14px; bottom: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(6, 11, 23, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: var(--fs-xs); font-weight: 600; padding: .5rem .85rem; border-radius: 999px; cursor: pointer; transition: background .2s; }
.sound-btn:hover { background: var(--blue); border-color: var(--blue); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: var(--r-sm); border: 1px solid var(--line-soft); background: var(--navy-850); }
.case-copy h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -.03em; }
.case-kind { color: var(--slate); margin: .5rem 0 1.75rem; }
.case-facts { margin: 0 0 1.75rem; display: grid; gap: 1rem; }
.case-facts div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; }
.case-facts dt { font-size: var(--fs-small); font-weight: 600; color: var(--sky); }
.case-facts dd { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.steps { list-style: none; counter-reset: s; margin: 0 0 1.75rem; padding: 0 0 0 1.1rem; border-left: 2px solid var(--line); display: grid; gap: .9rem; }
.steps li { counter-increment: s; position: relative; padding-left: 1.4rem; font-size: var(--fs-small); line-height: 1.5; }
.steps li::before { content: ""; position: absolute; left: calc(-1.1rem - 7px); top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--blue); }
.steps li:first-child::before { border-radius: 3px; background: var(--blue); }
.steps li:last-child::before { background: var(--sky); border-color: var(--sky); }
.case-result { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.35; letter-spacing: -.01em; margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }

/* ---------- try (the one region drenched in signal blue) ---------- */
.try { background: var(--blue-field); color: var(--on-blue); padding-block: var(--section); overflow: hidden; }
.try::after { /* the logo's reach arcs, at architectural scale */
  content: ""; position: absolute; right: -14rem; top: 50%; width: 46rem; height: 46rem; transform: translateY(-50%);
  border-radius: 50%; border: 2px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 7rem rgba(255,255,255,.035), 0 0 0 7.15rem rgba(255,255,255,.1);
  pointer-events: none;
}
.try-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: center; }
.try-copy h2 { max-width: 12ch; }
.try-copy > p { color: var(--on-blue-2); font-size: var(--fs-lede); margin: 1.25rem 0 2.25rem; max-width: 34rem; }
.try-form { display: grid; gap: 1.25rem; max-width: 36rem; }
.choice { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.choice legend { font-size: var(--fs-small); font-weight: 600; margin-bottom: .6rem; padding: 0; }
.choice-opt { position: relative; cursor: pointer; }
.choice-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-body { display: grid; gap: .2rem; height: 100%; padding: .95rem 1rem 1rem 2.6rem; border-radius: var(--r-md); border: 1.5px solid rgba(255,255,255,.35); background: rgba(6, 11, 23, .1); transition: border-color .2s, background .2s; position: relative; }
.choice-body::before { content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); }
.choice-opt input:checked + .choice-body { background: #fff; color: var(--navy); border-color: #fff; }
.choice-opt input:checked + .choice-body::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 4px, transparent 5px); }
.choice-opt input:focus-visible + .choice-body { outline: 2px solid #fff; outline-offset: 3px; }
.choice-name { font-weight: 600; font-size: var(--fs-small); }
.choice-desc { font-size: var(--fs-xs); opacity: .8; line-height: 1.4; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field { display: grid; gap: .4rem; font-size: var(--fs-small); font-weight: 500; }
.field input { min-height: 50px; padding: .7rem .95rem; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.4); background: rgba(6, 11, 23, .14); color: #fff; caret-color: #fff; transition: border-color .2s, background .2s; }
.field input::placeholder { color: rgba(255,255,255,.7); }
.field input:focus { outline: none; border-color: #fff; background: rgba(6, 11, 23, .22); }
.field input[aria-invalid="true"] { border-color: #FFD3D3; }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #1f52d6 inset; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-xs); line-height: 1.5; color: var(--on-blue-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--navy); flex: none; }
.consent a { color: #fff; }
.try-submit { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: .25rem; }
.form-status { margin: 0; font-size: var(--fs-small); font-weight: 500; max-width: 26rem; }
.form-status[data-state="error"] { color: #FFE3E3; }
.form-status[data-state="ok"] { color: #fff; }

.owner h3 { font-family: var(--text); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--on-blue-2); margin-bottom: 1rem; }
.phone { background: var(--navy); border-radius: 30px; padding: 1.25rem; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .55); display: grid; gap: .65rem; max-width: 24rem; }
.notif { background: var(--navy-800); border: 1px solid var(--line); border-radius: 18px; padding: .9rem 1rem 1rem; color: var(--ink); }
.notif-2 { opacity: .78; }
.notif-head { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: var(--slate); margin-bottom: .5rem; }
.notif-head img { border-radius: 6px; }
.notif-head time { margin-left: auto; }
.notif-title { margin: 0 0 .25rem; font-weight: 600; }
.notif-lines { list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.5; font-variant-numeric: tabular-nums; }
.notif-lines b { color: var(--ink); font-weight: 500; }
.notif-btn { display: inline-block; margin-top: .75rem; font-size: var(--fs-xs); font-weight: 600; color: #fff; background: var(--blue-btn); padding: .4rem .8rem; border-radius: 999px; }
.owner-note { margin: 1rem 0 0; font-size: var(--fs-xs); color: var(--on-blue-2); }

/* ---------- process ---------- */
.process h2 { max-width: 16ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: p; position: relative; }
.process-list::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.process-list li { counter-increment: p; position: relative; padding: 3.75rem 1.75rem 0 0; }
.process-list li::before {
  content: counter(p); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums;
  background: var(--navy); border: 2px solid var(--blue); border-radius: 50%; color: #fff;
}
.process-list li:first-child::before { border-radius: 11px; background: var(--blue); }
.process-list li:last-child::before { border-color: var(--sky); }
.process-list h3 { font-size: 1.3125rem; margin-bottom: .6rem; }
.process-list p { color: var(--ink-2); font-size: var(--fs-small); margin: 0; max-width: 17rem; }

/* ---------- about ---------- */
.about { background: var(--navy-850); border-block: 1px solid var(--line-soft); }
.about-grid { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: center; }
.founder { margin: 0; }
.founder-photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800); border: 1px solid var(--line); position: relative; }
.founder-photo img.photo { width: 100%; height: 100%; object-fit: cover; }
.monogram { position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(70% 55% at 50% 60%, rgba(46, 107, 255, .2), transparent 70%);
}
.monogram img { width: 46%; opacity: .95; }
.founder figcaption { display: grid; margin-top: 1rem; }
.founder-name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; }
.founder-role { color: var(--slate); font-size: var(--fs-small); }
.about-copy h2 { margin-bottom: 1.75rem; }
.about-copy p { color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.6; max-width: 40rem; }
.about-copy p:last-child { color: var(--ink); font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.35; letter-spacing: -.015em; margin: 1.75rem 0 0; }

/* ---------- cta ---------- */
.cta { padding-block: var(--section); text-align: left; }
.cta-inner { display: grid; gap: 1.5rem; }
.cta h2 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); letter-spacing: -.04em; max-width: 13ch; }
.cta p { color: var(--ink-2); font-size: var(--fs-lede); max-width: 38rem; margin: 0; }
.cta-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: .75rem; }
.cta-mail { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); }
.cta-mail:hover { text-decoration-color: var(--sky); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 3.5rem 0 2rem; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) auto auto; gap: 2rem clamp(2rem, 1rem + 4vw, 5rem); }
.footer-brand p { color: var(--slate); font-size: var(--fs-small); max-width: 24rem; margin: 1rem 0 0; }
.footer-brand img { width: 140px; }
.footer-links { display: grid; grid-template-columns: 1fr; gap: .65rem; align-content: start; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: var(--fs-small); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); color: var(--slate); font-size: var(--fs-xs); }
.footer-base p { margin: 0; }
.footer-base a { color: var(--slate); }
.footer-base a:hover { color: #fff; }
.footer-legal { margin-top: 2.5rem; display: grid; gap: .4rem; max-width: 60rem; }
.footer-legal p { margin: 0; font-size: .75rem; line-height: 1.55; color: var(--slate); opacity: .85; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.legal-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; font-size: var(--fs-small); }
.legal-links a { color: var(--ink-2); }

/* ==========================================================
   V2 · websites, automations, motion
   ========================================================== */

/* hero: a working canvas under the headline */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(148, 163, 184, .2) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(75% 65% at 62% 78%, #000 15%, transparent 72%);
  mask-image: radial-gradient(75% 65% at 62% 78%, #000 15%, transparent 72%);
  opacity: .7;
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift { to { background-position: 28px 56px; } }

.packet { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); opacity: 0; }
.flow.is-done .packet { animation: travel 3.6s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.flow.is-done .flow-out li svg { animation: tick 3.6s ease-out infinite; animation-delay: calc(var(--i) * .12s); }
@keyframes tick { 0%, 86% { background: rgba(94, 200, 255, .12); } 92% { background: rgba(94, 200, 255, .42); } 100% { background: rgba(94, 200, 255, .12); } }

/* nav: where you are */
.nav a { position: relative; }
.nav a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--blue); }

.text-link { color: var(--sky); font-weight: 500; text-decoration: underline; text-underline-offset: .28em; text-decoration-color: rgba(94, 200, 255, .4); }
.text-link:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- websites ---------- */
.sites { border-top: 1px solid var(--line-soft); overflow: hidden; }
.sites-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.3fr); gap: clamp(2.5rem, 1rem + 6vw, 6.5rem); align-items: center; }
.sites-copy h2 { max-width: 15ch; margin-bottom: 1.4rem; }
.sites-lede { color: var(--ink-2); font-size: var(--fs-lede); max-width: 34rem; }
.sites-points { list-style: none; margin: 2.25rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.sites-points li { padding-top: .95rem; border-top: 1px solid var(--line); display: grid; gap: .3rem; }
.sites-points b { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.sites-points span { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }

.build { position: relative; }
.build-frame { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--navy-950); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85); }
.build-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--navy-850); border-bottom: 1px solid var(--line-soft); }
.build-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.build-url { margin-left: 12px; flex: 1; max-width: 260px; background: var(--navy); border-radius: 999px; padding: 3px 12px; font-size: var(--fs-xs); color: var(--slate); }
.build-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0E1628; transition: background-color .8s var(--ease-out); }

.wf { position: absolute; inset: 0; padding: 5% 6%; display: grid; grid-template-rows: auto 1fr auto; gap: 7%; }
.wf span, .wf-img { display: block; border-radius: 4px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(148, 163, 184, .45); transform-origin: left center; transform: scaleX(0); transition: transform .7s var(--ease-out), background-color .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.wf-nav { display: flex; align-items: center; gap: 4%; }
.wf-nav span { width: 8%; height: 7px; }
.wf-nav .wf-logo { width: 13%; height: 14px; }
.wf-nav .wf-cta { margin-left: auto; width: 13%; height: 20px; border-radius: 999px; }
.wf-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 7%; align-items: center; }
.wf-text { display: grid; gap: 11px; }
.wf-h { height: 20px; width: 92%; }
.wf-h2 { width: 64%; }
.wf-p { height: 8px; width: 86%; margin-top: 4px; }
.wf-p2 { width: 58%; margin-top: 0; }
.wf-btn { height: 24px; width: 36%; border-radius: 999px !important; margin-top: 10px; }
.wf-img { aspect-ratio: 4 / 3; border-radius: 10px; transform-origin: center; }
.wf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%; }
.wf-cards span { height: 52px; border-radius: 8px; transform-origin: bottom center; transform: scaleY(0); }

/* stagger the wireframe being drawn */
.wf-nav span:nth-child(2) { transition-delay: .06s; } .wf-nav span:nth-child(3) { transition-delay: .1s; } .wf-nav span:nth-child(4) { transition-delay: .14s; } .wf-nav span:nth-child(5) { transition-delay: .18s; }
.wf-h { transition-delay: .25s; } .wf-h2 { transition-delay: .32s; } .wf-p { transition-delay: .4s; } .wf-p2 { transition-delay: .45s; } .wf-btn { transition-delay: .55s; }
.wf-img { transition-delay: .35s; }
.wf-cards span:nth-child(1) { transition-delay: .6s; } .wf-cards span:nth-child(2) { transition-delay: .68s; } .wf-cards span:nth-child(3) { transition-delay: .76s; }

.build:not([data-phase="idle"]) .wf span, .build:not([data-phase="idle"]) .wf-img { transform: none; }
.build[data-phase="design"] .build-view { background: #F3F6FB; }
.build[data-phase="design"] .wf span, .build[data-phase="design"] .wf-img { box-shadow: none; transition-delay: 0s; }
.build[data-phase="design"] .wf-nav span { background: #C9D3E3; }
.build[data-phase="design"] .wf-nav .wf-logo { background: #0B1222; }
.build[data-phase="design"] .wf-nav .wf-cta, .build[data-phase="design"] .wf-btn { background: var(--blue); }
.build[data-phase="design"] .wf-h { background: #0B1222; }
.build[data-phase="design"] .wf-p { background: #AEB9CB; }
.build[data-phase="design"] .wf-img { background: linear-gradient(135deg, #2E6BFF, #5EC8FF); }
.build[data-phase="design"] .wf-cards span { background: #fff; box-shadow: 0 8px 18px -10px rgba(11, 18, 34, .35); }

.build-live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease-out), transform 1.4s var(--ease-out); }
.build[data-phase="live1"] .live-1, .build[data-phase="live2"] .live-2 { opacity: 1; transform: none; }

.tokens { position: absolute; right: -22px; top: 24%; z-index: 2; background: var(--navy-850); border: 1px solid var(--line); border-radius: var(--r-md); padding: .85rem .95rem; box-shadow: var(--shadow-lift); display: grid; gap: .7rem; opacity: 0; transform: translateX(18px) scale(.96); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.build[data-phase="design"] .tokens { opacity: 1; transform: none; transition-delay: .25s; }
.tokens-row { display: flex; gap: 6px; }
.tokens-row span { width: 22px; height: 22px; border-radius: 6px; background: var(--c); border: 1px solid rgba(255, 255, 255, .14); }
.tokens-type { display: grid; }
.tokens-type b { font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1; letter-spacing: -.02em; }
.tokens-type small { color: var(--slate); font-size: .75rem; margin-top: .3rem; }

.build-steps { display: flex; gap: .5rem; margin-top: 1.1rem; }
.build-steps span { font-size: var(--fs-xs); font-weight: 600; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--line); color: var(--slate); transition: background-color .4s, color .4s, border-color .4s; }
.build[data-phase="wire"] [data-step="wire"],
.build[data-phase="design"] [data-step="design"],
.build[data-phase="live1"] [data-step="live"],
.build[data-phase="live2"] [data-step="live"] { background: var(--blue-btn); border-color: var(--blue-btn); color: #fff; }
.build-caption { margin: .7rem 0 0; min-height: 1.5em; font-size: var(--fs-xs); color: var(--slate); }
.build-caption span { display: none; }
.build[data-phase="live1"] .cap-1, .build[data-phase="live2"] .cap-2 { display: inline; }

/* ---------- automations ---------- */
.autos { background: var(--navy-850); border-block: 1px solid var(--line-soft); }
.autos-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: 2rem 4rem; align-items: end; }
.autos-head h2 { max-width: 12ch; }
.autos-head p { color: var(--ink-2); margin: 0; }

.canvas-card { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--navy-950); overflow: hidden; box-shadow: 0 40px 80px -44px rgba(0, 0, 0, .9); }
.canvas-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.15rem; border-bottom: 1px solid var(--line-soft); }
.canvas-title { color: var(--ink-2); font-weight: 500; font-size: var(--fs-small); }
.run-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-xs); font-weight: 600; padding: .25rem .75rem; border-radius: 999px; border: 1px solid var(--line); color: var(--slate); transition: background-color .3s, color .3s, border-color .3s; white-space: nowrap; }
.run-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.run-pill[data-state="running"] { color: var(--sky); border-color: rgba(94, 200, 255, .4); }
.run-pill[data-state="running"] i { animation: blink 1s steps(2, start) infinite; }
.run-pill[data-state="done"] { color: #fff; background: var(--blue-btn); border-color: var(--blue-btn); }
@keyframes blink { to { visibility: hidden; } }

.canvas-scroll { overflow-x: auto; scrollbar-width: thin; }
.canvas { position: relative; aspect-ratio: 1000 / 420; min-width: 760px; container-type: inline-size;
  background-image: radial-gradient(rgba(148, 163, 184, .16) 1px, transparent 1.3px); background-size: 22px 22px; }
.canvas-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.canvas-edges path { fill: none; stroke: var(--line); stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke .35s; }
.canvas-edges path.is-lit { stroke: var(--blue); }
.canvas-edges .pkt { fill: #fff; stroke: var(--blue); stroke-width: 3; }

.cnode {
  position: absolute; left: calc(var(--x) / 1000 * 100%); top: calc(var(--y) / 420 * 100%);
  transform: translate(-50%, -50%); width: 15%;
  display: flex; align-items: center; gap: .65em; padding: .75em .8em;
  background: var(--navy-800); border: 1px solid var(--line); border-radius: 12px;
  font-size: max(10px, 1.32cqw); line-height: 1.25;
  transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.cnode b { display: block; font-weight: 600; color: var(--ink); font-size: 1em; }
.cnode small { display: block; color: var(--slate); font-size: .88em; margin-top: .15em; }
.cnode-txt { min-width: 0; }
.cnode.is-active { border-color: var(--blue); background: #18264A; transform: translate(-50%, -50%) scale(1.04); }
.cnode.is-done { border-color: rgba(94, 200, 255, .55); }
.cnode::after { content: ""; position: absolute; top: -.6em; right: -.6em; width: 1.5em; height: 1.5em; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230B1222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
  transform: scale(0); transition: transform .4s var(--ease-out); }
.cnode.is-done::after { transform: scale(1); }
.cnode-ico { flex: none; width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: rgba(94, 200, 255, .12) center / 55% no-repeat; }
.ico-sq { border-radius: .55em; background: var(--blue); }
.ico-ai { background: rgba(46, 107, 255, .2); color: var(--blue-300); font-weight: 700; font-size: .78em; width: 3.1em; height: 3.1em; letter-spacing: .02em; }
.ico-send { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 4.5 3.5 11l6 2.2m11-8.7-4 15-7-6.3m11-8.7-11 8.7m0 0v5.3l3-3'/%3E%3C/svg%3E"); }
.ico-grid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M9.5 9.5v10'/%3E%3C/svg%3E"); }
.ico-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2.5'/%3E%3Cpath d='m4.5 7 7.5 6 7.5-6'/%3E%3C/svg%3E"); }
.ico-clock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.cnode-router { width: auto; padding: 0; background: none; border: 0; }
.cnode-router::after { display: none; }
.router-dot { display: block; width: 3.8em; height: 3.8em; border-radius: 50%; background: var(--blue); border: .35em solid var(--navy-950); box-shadow: 0 0 0 1px var(--line); }
.cnode-router.is-active { transform: translate(-50%, -50%) scale(1.12); background: none; }

.run-log { list-style: none; margin: 0; padding: .85rem 1.15rem; border-top: 1px solid var(--line-soft); font-size: var(--fs-xs); line-height: 1.6; color: var(--slate); font-variant-numeric: tabular-nums; height: calc(4 * 1.6em + 1.7rem); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%); mask-image: linear-gradient(180deg, transparent 0, #000 45%); }
.run-log li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-log li { display: flex; gap: 1rem; animation: logIn .45s var(--ease-out) both; }
.run-log time { flex: none; opacity: .75; }
.run-log .ok { color: var(--sky); }
.run-log .fail { color: #FFB4B4; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.canvas-note { color: var(--slate); font-size: var(--fs-xs); margin: .9rem 0 0; }

.tools { margin-top: clamp(3rem, 2rem + 3vw, 5rem); display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 2rem; align-items: center; }
.tools h3 { font-family: var(--text); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--ink-2); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: .7rem; list-style: none; margin: 0; padding: 0; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { padding: .55rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); color: var(--ink-2); white-space: nowrap; background: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

.svc-grid { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 1rem + 3vw, 4rem); }
.svc-grid .svc { grid-template-columns: 1fr; }
.svc-grid .svc-demo { grid-column: 1; }
.svc-grid .svc:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }

/* ---------- process: the line fills as you arrive ---------- */
.process-list::before { transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.process-list.is-in::before { transform: none; }
.process-list li::before { transition: background-color .5s, border-color .5s; }
.js .process-list:not(.is-in) li::before { border-color: var(--line); background: var(--navy); }
.process-list li:nth-child(2)::before { transition-delay: .45s; }
.process-list li:nth-child(3)::before { transition-delay: .9s; }
.process-list li:nth-child(4)::before { transition-delay: 1.35s; }

/* ---------- reveals: restrained, only where things arrive ---------- */
.js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
.js [data-reveal].is-in, .js [data-reveal-group].is-in > * { opacity: 1; transform: none; filter: none; }
.js [data-reveal-group] > *:nth-child(2) { transition-delay: .07s; }
.js [data-reveal-group] > *:nth-child(3) { transition-delay: .14s; }
.js [data-reveal-group] > *:nth-child(4) { transition-delay: .21s; }
.js [data-reveal-group] > *:nth-child(5) { transition-delay: .28s; }
.js [data-reveal-group] > *:nth-child(6) { transition-delay: .35s; }

/* demo form run log on blue */
.run-log-light { border: 0; padding: .25rem 0 0; height: auto; color: var(--on-blue-2); justify-content: flex-start; font-size: var(--fs-small); -webkit-mask-image: none; mask-image: none; }
.run-log-light .ok { color: #fff; }
.run-log-light .fail { color: #FFE3E3; }

@media (max-width: 900px) {
  .tokens { right: 10px; top: 14%; }
  .tools { grid-template-columns: 1fr; gap: 1rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .svc:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .sites-points { grid-template-columns: 1fr; }
  /* the scenario runs top to bottom on phones */
  .canvas { aspect-ratio: auto; min-width: 0; display: grid; gap: .7rem; padding: 1.25rem 1rem 1.25rem 2.6rem; background-size: 18px 18px; }
  .canvas::before { content: ""; position: absolute; left: 1.3rem; top: 2rem; bottom: 2rem; width: 2px; background: var(--line); }
  .canvas-edges { visibility: hidden; }
  .cnode { position: relative; left: auto; top: auto; transform: none; width: 100%; font-size: .875rem; }
  .cnode.is-active { transform: scale(1.02); }
  .cnode::before { content: ""; position: absolute; left: calc(-1.3rem - 5px); top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--navy-950); border: 2px solid var(--line); transition: background-color .3s, border-color .3s; }
  .cnode.is-done::before, .cnode.is-active::before { background: var(--blue); border-color: var(--blue); }
  .cnode-router { display: none; }
  .canvas-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid, .marquee-track { animation: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .process-list::before { transform: none !important; }
}

/* tool chips: original category icons (no third-party logos) */
.marquee-track li { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1.1rem .6rem .7rem; font-weight: 500; color: var(--ink); }
.t-ico { width: 30px; height: 30px; border-radius: 9px; flex: none; background: rgba(94, 200, 255, .1) center / 62% no-repeat; border: 1px solid rgba(94, 200, 255, .18); }
.t-grid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M3.5 14.5h17M9.5 4.5v15'/%3E%3C/svg%3E"); }
.t-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2.5'/%3E%3Cpath d='m4.5 7 7.5 6 7.5-6'/%3E%3C/svg%3E"); }
.t-cal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.t-calok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M9 15l2 2 4-4'/%3E%3C/svg%3E"); }
.t-send { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 4.5 3.5 11l6 2.2m11-8.7-4 15-7-6.3m11-8.7-11 8.7'/%3E%3C/svg%3E"); }
.t-chat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 18.5 4 21l3-1.2A8.5 8.5 0 1 0 5 18.5z'/%3E%3C/svg%3E"); }
.t-cam { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M17 7h.01'/%3E%3C/svg%3E"); }
.t-hash { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4 7 20M17 4l-2 16M4.5 9h16M3.5 15h16'/%3E%3C/svg%3E"); }
.t-page { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h7l4 4v13H7z'/%3E%3Cpath d='M14 3.5v4h4M10 12h5M10 16h5'/%3E%3C/svg%3E"); }
.t-table { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M12 9.5v10'/%3E%3C/svg%3E"); }
.t-crm { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='9' r='3'/%3E%3Cpath d='M3.5 19a5.5 5.5 0 0 1 11 0M16 7h4.5M16 11h4.5M17 15h3.5'/%3E%3C/svg%3E"); }
.t-bag { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12.5H6z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
.t-spark { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 13.8 10.2 20.5 12l-6.7 1.8L12 20.5l-1.8-6.7L3.5 12l6.7-1.8z'/%3E%3C/svg%3E"); }
.t-nodes { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='12' r='2.5'/%3E%3Ccircle cx='18.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='17.5' r='2.5'/%3E%3Cpath d='M8 12h4m0 0 4-4.5M12 12l4 4.5'/%3E%3C/svg%3E"); }
.ico-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13.5V18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4.5M4 13.5 6.5 5h11l2.5 8.5M4 13.5h4.5l1.5 2.5h4l1.5-2.5H20'/%3E%3C/svg%3E"); }
.ico-ok { background-color: #2E9E6B !important; border-color: #2E9E6B !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7.5'/%3E%3C/svg%3E"); }

/* ---------- hero v3: copy left, website + automation at a glance right ---------- */
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.hero-title { font-size: clamp(2.75rem, 1.6rem + 3.6vw, 4.6rem); max-width: 12ch; }
.hero-text { font-size: var(--fs-lede); color: var(--ink-2); max-width: 32rem; margin: clamp(1.25rem, .8rem + 1.5vw, 2rem) 0 0; }
.hero-top .hero-actions { margin-top: 2rem; }

/* hero deck: a stack of system cards; the front one is draggable */
.hero-deck { position: relative; user-select: none; -webkit-user-select: none; }
.js .hero-deck { animation: liveIn 1s var(--ease-out) .1s both; }
@keyframes liveIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.deck-stack { position: relative; display: grid; padding-top: 1.35rem; }
.deck-card { grid-area: 1 / 1; position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--navy-950); overflow: hidden; box-shadow: 0 50px 90px -45px rgba(0, 0, 0, .95); transform-origin: 50% 0; transition: transform .55s var(--ease-out), opacity .45s ease, filter .45s ease; will-change: transform; }
.deck-card[data-pos="0"] { z-index: 3; cursor: grab; touch-action: pan-y; }
.deck-card[data-pos="0"].is-drag { cursor: grabbing; transition: none; }
.deck-card[data-pos="1"] { z-index: 2; transform: translateY(-.65rem) scale(.955); filter: brightness(.85); border-color: #2C3D63; }
.deck-card[data-pos="2"] { z-index: 1; transform: translateY(-1.3rem) scale(.91); filter: brightness(.62); border-color: #2C3D63; }
.deck-card:not([data-pos="0"]) .live-panel, .deck-card:not([data-pos="0"]) .live-tag { visibility: hidden; }
.deck-card.is-out { transition: transform .4s cubic-bezier(.4, 0, .8, .5), opacity .4s ease; opacity: 0; }
.deck-card.is-nudge { animation: nudge 1.4s var(--ease-out) 1; }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-26px) rotate(-1.8deg); } 55% { transform: translateX(8px) rotate(.4deg); } }
.deck-head { display: flex; align-items: center; gap: .85rem; padding: .85rem 1.05rem; background: var(--navy-850); border-bottom: 1px solid var(--line-soft); }
.deck-head b { display: block; font: 600 1rem/1.2 var(--display); letter-spacing: -.01em; color: #fff; }
.deck-head small { display: block; margin-top: .15rem; font-size: .8125rem; color: var(--ink-2); }
.deck-n { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 10px; background: var(--blue); color: #fff; font: 600 .9375rem/1 var(--display); font-variant-numeric: tabular-nums; }
.deck-n i { font-style: normal; font-size: .625rem; opacity: .7; margin-left: 1px; }
.deck-nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .35rem; }
.deck-btn { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--navy-850); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s, transform .2s var(--ease-out); }
.deck-btn:hover { background: var(--blue-btn); border-color: var(--blue-btn); }
.deck-btn:active { transform: scale(.94); }
.deck-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.deck-btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.deck-hint { margin: 0; display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: var(--slate); text-align: center; }
.deck-hint svg { flex: none; width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--sky); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; animation: hintSwipe 2.4s ease-in-out infinite; }
@keyframes hintSwipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px) rotate(-8deg); } }
.hero-deck .live-foot { border-top: 0; padding: .6rem 0 0; text-align: center; }
.live-body { position: relative; }
.live-shot { position: relative; display: grid; aspect-ratio: 16 / 6.6; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.live-shot img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.live-tag { position: absolute; z-index: 1; top: .8rem; right: .8rem; display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(6, 11, 23, .72); border: 1px solid var(--line); font: 600 .75rem/1 var(--text); color: var(--ink); }
.live-tag i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.live-panel { position: relative; padding: .7rem 1.1rem .75rem; background: var(--navy-950); min-height: 12.9rem; }
.live-log { list-style: none; margin: 0; padding: 0; position: relative; }
.live-log::before { content: ""; position: absolute; left: 4.7rem; top: .7rem; bottom: .9rem; width: 2px; background: var(--line); transform-origin: top; transform: scaleY(var(--grow, 0)); transition: transform .6s var(--ease-out); }
.live-log li { position: relative; display: grid; grid-template-columns: 3.4rem 1.6rem minmax(0, 1fr); column-gap: .6rem; align-items: start; padding: .26rem 0; opacity: 0; transform: translateY(8px); filter: blur(3px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), filter .5s var(--ease-out); }
.live-log li.is-in { opacity: 1; transform: none; filter: none; }
.live-log time { font: 500 .75rem/1.6rem var(--text); font-variant-numeric: tabular-nums; color: var(--slate); }
.live-log .dot { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); border: 1.5px solid var(--sky); box-shadow: 0 0 0 4px rgba(15, 24, 44, .95); }
.live-log .dot svg { width: .85rem; height: .85rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.live-log .k-in .dot { color: var(--sky); }
.live-log .k-ai .dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.live-log .k-ok .dot { background: #1F9D6B; border-color: #1F9D6B; color: #fff; }
.live-log b { display: block; font: 600 .9375rem/1.3 var(--text); color: var(--ink); padding-top: .15rem; }
.live-log small { display: block; margin-top: .1rem; font-size: .8125rem; color: var(--slate); }
.live-log .k-ai b { color: #fff; }
.live-log .k-ai b::after { content: "AI"; margin-left: .45rem; padding: .12rem .38rem; border-radius: 5px; background: rgba(46, 107, 255, .22); color: var(--sky); font-size: .6875rem; letter-spacing: .04em; vertical-align: .12em; }
.live-result { margin: .6rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: .6rem; font: 600 1rem/1.3 var(--display); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.live-result.is-in { opacity: 1; transform: none; }
.live-result::before { content: ""; flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #1F9D6B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.live-result em { font-style: normal; color: var(--sky); }
.live-foot { margin: 0; padding: .7rem 1.1rem .85rem; font-size: .75rem; color: var(--slate); border-top: 1px solid var(--line-soft); }

/* demo fine print, tagline */
.fine-print { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); font-size: var(--fs-xs); color: var(--slate); max-width: 46rem; }
.about-copy .tagline { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.12; letter-spacing: -.03em; color: #fff; max-width: 18ch; }
.footer-brand .footer-tag { color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 1.0625rem; margin: 1rem 0 .25rem; }
.footer-brand .footer-tag + p { margin-top: 0; }

/* CTA: the logo's reach arcs, quietly */
.cta { overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta::after { right: -9rem; bottom: -15rem; width: 34rem; height: 34rem; border: 1.5px solid rgba(94, 200, 255, .18); }
.cta::before { right: -15rem; bottom: -21rem; width: 46rem; height: 46rem; border: 1px solid rgba(94, 200, 255, .09); }
.cta-inner { position: relative; z-index: 1; }

@media (max-width: 1080px) {
  .hero-top { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
}
@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-deck { max-width: 36rem; width: 100%; }
  .hero-title { max-width: 12ch; }
}
@media (max-width: 640px) {
  .live-panel { padding: .75rem .8rem .7rem; min-height: 14rem; }
  .live-log li { grid-template-columns: 3rem 1.5rem minmax(0, 1fr); column-gap: .5rem; }
  .live-log::before { left: 4.1rem; }
  .live-log b { font-size: .875rem; } .live-log small { font-size: .75rem; }
  .deck-head { padding: .7rem .8rem; }
  .deck-head small { font-size: .75rem; }
  .cta::after, .cta::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-deck, .live-tag i, .deck-hint svg, .deck-card.is-nudge { animation: none !important; }
  .deck-card { transition: none !important; }
}


/* ---------- automations v3: three switchable scenarios ---------- */
.ico-chat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 18.5 4 21l3-1.2A8.5 8.5 0 1 0 5 18.5z'/%3E%3Cpath d='M8.5 11h.01M12 11h.01M15.5 11h.01'/%3E%3C/svg%3E"); }
.ico-book { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4.5h10.5a2 2 0 0 1 2 2V20H7a2 2 0 0 1-2-2z'/%3E%3Cpath d='M5 18a2 2 0 0 1 2-2h10.5M9 8.5h5M9 11.5h3'/%3E%3C/svg%3E"); }
.ico-cal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M9 15l2 2 4-4'/%3E%3C/svg%3E"); }
.ico-user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.5'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E"); }
.ico-chart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V4M4 20h16'/%3E%3Cpath d='m7.5 15 3.5-4 3 2.5 5-6.5'/%3E%3C/svg%3E"); }
.ico-check { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='4'/%3E%3Cpath d='m8 12.5 3 3 5.5-6'/%3E%3C/svg%3E"); }
.ico-swap { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h13l-3.5-3.5M20 16H7l3.5 3.5'/%3E%3C/svg%3E"); }
.canvas-top { padding: .6rem .7rem .6rem .6rem; }
.scn-tabs { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; }
.scn-tabs::-webkit-scrollbar { display: none; }
.scn-tabs button { position: relative; display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; padding: .55rem .95rem; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--slate); font: 500 var(--fs-small)/1.2 var(--text); cursor: pointer; overflow: hidden; transition: color .25s, background-color .25s, border-color .25s; }
.scn-tabs button:hover { color: var(--ink); }
.scn-tabs button[aria-selected="true"] { color: var(--ink); background: var(--navy-800); border-color: var(--line); }
.scn-tabs button:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.scn-num { font: 600 .6875rem/1 var(--text); letter-spacing: .08em; color: var(--sky); opacity: .75; font-variant-numeric: tabular-nums; }
.scn-tabs button[aria-selected="true"] .scn-num { opacity: 1; }
.scn-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.scn-tabs button.is-running .scn-bar { animation: scnBar 7.5s linear forwards; }
@keyframes scnBar { to { transform: scaleX(1); } }

.scn-meta { list-style: none; margin: 0; padding: .7rem 1.15rem; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-xs); }
.scn-meta li { display: inline-flex; gap: .5rem; align-items: baseline; }
.scn-meta span { color: var(--slate); text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; font-weight: 600; }
.scn-meta b { color: var(--ink); font-weight: 500; }
.scn-panel[hidden] { display: none; }
.scn-panel:not([hidden]) .canvas { animation: scnIn .5s var(--ease-out) both; }
@keyframes scnIn { from { opacity: 0; transform: translateY(6px); } }

/* AI nodes: a slow rotating halo, brighter while running */
.cnode-agent { border-color: rgba(46, 107, 255, .55); background: linear-gradient(180deg, #17254A, var(--navy-800)); }
.cnode-agent::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--sky) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: halo 4s linear infinite; opacity: .55; }
.cnode-agent.is-active::before { opacity: 1; animation-duration: 1.2s; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes halo { to { --ang: 360deg; } }
.cnode-kb { border-style: dashed; background: rgba(20, 32, 57, .6); }
.canvas-edges path.edge-dash { stroke-dasharray: 5 5; }
.cnode-human .cnode-ico { background-color: rgba(148, 163, 184, .14); }
@media (prefers-reduced-motion: reduce) { .cnode-agent::before { animation: none; } .scn-tabs button.is-running .scn-bar { animation: none; } }
@media (max-width: 640px) {
  .canvas-top { flex-direction: column; align-items: stretch; }
  .canvas-top .run-pill { align-self: flex-start; margin-left: .35rem; }
  .scn-tabs button { padding: .5rem .75rem; }
  .cnode-agent::before { display: none; }
}


/* ---------- impact: calculator, fun fact, how it adds up ---------- */
.gain { padding-block: var(--section); }
.eyebrow { margin: 0 0 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.gain-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 1rem 4rem; align-items: end; }
.gain-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.gain-head h2 { max-width: 14ch; }
.gain-head > p:last-child { margin: 0; color: var(--ink-2); }

.calc { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--navy-850); }
.calc-in { display: grid; gap: 2rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.slider { display: grid; gap: .7rem; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 500; }
.slider output { font: 600 1.25rem/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.slider small { color: var(--slate); font-size: var(--fs-xs); line-height: 1.45; }
.slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; margin: .4rem 0; cursor: pointer;
  background: linear-gradient(90deg, var(--blue) 0 var(--fill, 50%), var(--line) var(--fill, 50%) 100%); }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 4px 14px rgba(0,0,0,.45); transition: transform .2s; }
.slider input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); }
.slider input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.slider input[type=range]:focus-visible { outline: 2px solid var(--sky); outline-offset: 6px; }

.calc-out { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--blue-field); color: #fff; position: relative; overflow: hidden; }
.calc-out::after { content: ""; position: absolute; right: -7rem; top: -7rem; width: 18rem; height: 18rem; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); box-shadow: 0 0 0 3.5rem rgba(255,255,255,.035); pointer-events: none; }
.calc-big { margin: 0; display: grid; gap: .25rem; position: relative; }
.calc-big b { font: 600 clamp(3.5rem, 2.4rem + 4vw, 5.75rem)/.95 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc-big span { font-size: var(--fs-lede); color: var(--on-blue-2); }
.calc-grid { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.22); border-radius: var(--r-md); overflow: hidden; position: relative; }
.calc-grid div { background: #2357DD; padding: 1rem .95rem; }
.calc-grid dt { font: 600 1.4rem/1.1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.calc-grid dd { margin: .3rem 0 0; font-size: var(--fs-xs); line-height: 1.4; color: var(--on-blue-2); }
.calc-note { margin: 0; font-size: var(--fs-xs); color: var(--on-blue-2); position: relative; }

.funfact { margin-top: 1rem; display: flex; align-items: center; gap: 1rem; padding: .85rem .85rem .85rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--navy-850); }
.funfact-k { flex: none; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--sky); padding: .3rem .65rem; border-radius: 999px; }
.funfact p { margin: 0; flex: 1; display: grid; min-width: 0; color: var(--ink-2); font-size: var(--fs-small); }
.funfact .ff { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s var(--ease-out); }
.funfact .ff.is-on { opacity: 1; transform: none; }
.funfact-next { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--navy-800); color: var(--ink); cursor: pointer; font-size: 1rem; transition: background-color .2s, border-color .2s; }
.funfact-next:hover { background: var(--blue-btn); border-color: var(--blue-btn); }

.stack { margin-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.stack h3 { font: 600 var(--fs-h2)/1.08 var(--display); letter-spacing: -.035em; margin: 0; max-width: 18ch; text-wrap: balance; }
.stack-lede { margin: 1rem 0 0; color: var(--ink-2); font-size: var(--fs-lede); max-width: 40rem; }

/* the logo, unfolded: square (website) → line → circle (AI agents) → arcs (you) */
.sys { --sys-gap: clamp(1.25rem, .5rem + 2vw, 2.25rem); --mark: 4.1rem; margin-top: clamp(2.25rem, 1.5rem + 2vw, 3.25rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--sys-gap); align-items: start; }
.sys-node { position: relative; z-index: 0; }
.sys-node:not(:last-child)::after { content: ""; position: absolute; z-index: -1; top: calc(var(--mark) / 2 - 1px); left: 1rem; right: calc(-1 * var(--sys-gap) - 1rem); height: 2px; background: var(--blue); }
.sys-core:not(:last-child)::after { background: linear-gradient(90deg, var(--blue), var(--sky)); }
.sys-mark { display: grid; place-items: center; height: var(--mark); margin-bottom: 1.1rem; }
.sys-sq::before { content: ""; width: 1.6rem; height: 1.6rem; border-radius: 6px; background: var(--blue); box-shadow: 0 0 0 8px var(--navy); }
.sys-sq { width: 1.6rem; }
.sys-ci { width: var(--mark); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 8px var(--navy), 0 18px 40px -16px rgba(46, 107, 255, .85); }
.sys-ci svg { width: 2.2rem; height: 2.2rem; transform: translateX(-3px); stroke: #fff; stroke-width: 6; stroke-linecap: round; fill: none; }
.sys-arc { width: 2.6rem; background: var(--navy); box-shadow: 0 0 0 8px var(--navy); }
.sys-arc svg { width: 2.6rem; height: 2.6rem; stroke: var(--sky); stroke-width: 6; stroke-linecap: round; fill: none; }
.sys-node > b { display: block; font: 600 clamp(1.25rem, 1.1rem + .55vw, 1.55rem)/1.18 var(--display); letter-spacing: -.02em; color: var(--ink-2); max-width: 16ch; text-wrap: balance; }
.sys-node > b em { font-style: normal; color: #fff; }
.sys-core > b em { color: var(--sky); }
.sys-tags { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.sys-tags li { font-size: var(--fs-xs); line-height: 1; padding: .5rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--navy-850); }
.sys-core { padding: 0 1.5rem 1.6rem; border-radius: var(--r-lg); background: linear-gradient(180deg, transparent calc(var(--mark) / 2), #11203F calc(var(--mark) / 2), var(--navy-850)); }
.sys-core .sys-tags li { border-color: rgba(46, 107, 255, .45); color: var(--ink); background: rgba(46, 107, 255, .1); }
.sys-note { margin: 1.1rem 0 0; font-size: var(--fs-small); color: var(--slate); max-width: 36ch; }

@media (max-width: 900px) {
  .gain-head, .calc { grid-template-columns: 1fr; }
  .sys { grid-template-columns: 1fr; gap: 2rem; --mark: 3.4rem; }
  .sys-node { display: grid; grid-template-columns: var(--mark) minmax(0, 1fr); column-gap: 1.1rem; }
  .sys-node > .sys-mark { grid-row: 1 / span 3; align-self: start; margin: 0; justify-self: center; }
  .sys-node > b { max-width: none; padding-top: .55rem; }
  .sys-node:not(:last-child)::after { top: calc(var(--mark) / 2); bottom: calc(-2rem - var(--mark) / 2); left: calc(var(--mark) / 2 - 1px); right: auto; width: 2px; height: auto; }
  .sys-core:not(:last-child)::after { background: linear-gradient(180deg, var(--blue), var(--sky)); }
  .sys-core { padding: 0 0 0; background: none; }
  .sys-ci svg { width: 1.8rem; height: 1.8rem; }
}
@media (max-width: 640px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-grid div { display: flex; align-items: baseline; gap: .75rem; }
  .calc-grid dd { margin: 0; }
  .funfact { border-radius: var(--r-md); align-items: flex-start; flex-wrap: wrap; }
  .funfact p { flex-basis: 100%; order: 3; }
  .funfact-next { margin-left: auto; }
}


/* ---------- pricing ---------- */
.pricing { padding-block: var(--section); background: var(--navy-850); border-block: 1px solid var(--line-soft); }
.pricing-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 1rem 4rem; align-items: end; }
.pricing-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.pricing-head h2 { max-width: 13ch; }
.pricing-head > p:last-child { margin: 0; color: var(--ink-2); }
.pk-tabs { margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding: .4rem; border: 1px solid var(--line); border-radius: 18px; background: var(--navy-950); }
.pk-tabs button { position: relative; display: grid; gap: .2rem; justify-items: start; text-align: left; padding: .9rem 1.1rem; border-radius: 13px; border: 1px solid transparent; background: none; color: var(--slate); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.pk-tabs button:hover { color: var(--ink); }
.pk-tabs button[aria-selected="true"] { background: var(--navy-800); border-color: var(--line); color: var(--ink); }
.pk-tabs button:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.pk-name { font: 600 1rem/1.25 var(--display); }
.pk-range { font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.pk-tabs button[aria-selected="true"] .pk-range { color: var(--sky); }
.pk-save { position: absolute; top: .7rem; right: .8rem; font-size: .6875rem; font-weight: 700; color: var(--navy); background: var(--sky); padding: .2rem .5rem; border-radius: 999px; }
.pk-panel[hidden] { display: none; }
.pk-panel:not([hidden]) .tier { animation: scnIn .5s var(--ease-out) both; }
.pk-panel:not([hidden]) .tier:nth-child(2) { animation-delay: .06s; }
.pk-panel:not([hidden]) .tier:nth-child(3) { animation-delay: .12s; }
.tiers { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--navy); }
.tier-pop { border-color: var(--blue); background: linear-gradient(180deg, #14244D, var(--navy) 55%); box-shadow: 0 30px 60px -40px rgba(46, 107, 255, .55); }
.tier-badge { position: absolute; top: -.75rem; left: 1.5rem; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue-btn); padding: .3rem .7rem; border-radius: 999px; }
.tier h3 { margin: 0; font: 600 1.375rem/1.2 var(--display); letter-spacing: -.02em; }
.tier-for { margin: .35rem 0 0; color: var(--slate); font-size: var(--fs-small); min-height: 2.9em; }
.tier-price { margin: 1.25rem 0 1.25rem; display: flex; align-items: baseline; gap: .4rem; font: 600 clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem)/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.tier-dash { color: var(--slate); font-weight: 500; font-size: .7em; }
.tier-list { list-style: none; margin: 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: .7rem; flex: 1; }
.tier-list li { position: relative; padding-left: 1.6rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.45; }
.tier-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: rgba(94, 200, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%235EC8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat; }
.tier-time { margin: 1.4rem 0 1.1rem; display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); color: var(--slate); padding: .65rem .8rem; border-radius: 10px; background: var(--navy-850); }
.tier-time b { color: var(--ink); font-weight: 600; }
.tier-cta { width: 100%; justify-content: center; }
.price-foot { margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; }
.promise li { display: grid; gap: .2rem; padding: 1.1rem 1.2rem 1.1rem 3rem; background: var(--navy); position: relative; }
.promise li::before { content: ""; position: absolute; left: 1.15rem; top: 1.2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--blue-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat; }
.promise b { font-weight: 600; font-size: var(--fs-small); }
.promise span { color: var(--slate); font-size: var(--fs-xs); line-height: 1.45; }
.price-range-note { padding: 1.25rem 1.3rem; border: 1px dashed var(--line); border-radius: var(--r-md); }
.price-range-note h3 { margin: 0 0 .45rem; font: 600 1rem/1.3 var(--display); }
.price-range-note p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
.price-legal { margin: 1.5rem 0 0; font-size: .75rem; line-height: 1.55; color: var(--slate); max-width: 62rem; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.faq-side { position: sticky; top: 7rem; }
.faq-side h2 { max-width: 10ch; }
.faq-side > p:not(.eyebrow) { color: var(--ink-2); margin: 1.25rem 0 1.75rem; max-width: 24rem; }
.faq-group { margin: 2.5rem 0 .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.faq-group:first-child { margin-top: 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.15rem 0; cursor: pointer; font: 500 1.0625rem/1.4 var(--display); letter-spacing: -.005em; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa summary:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 4px; }
.qa summary i { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .25s, border-color .25s, transform .35s var(--ease-out); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease-out); }
.qa[open] summary i { background: var(--blue-btn); border-color: var(--blue-btn); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { margin: 0 0 1.35rem; color: var(--ink-2); max-width: 44rem; line-height: 1.65; }
.qa[open] p { animation: qaIn .35s var(--ease-out) both; }
@keyframes qaIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- contact ---------- */
.contact { padding-block: var(--section); background: var(--navy-950); border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -16rem; top: -14rem; width: 40rem; height: 40rem; border-radius: 50%; border: 1.5px solid rgba(94, 200, 255, .12); box-shadow: 0 0 0 6rem rgba(46, 107, 255, .025); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.contact-side { position: sticky; top: 7rem; }
.contact-side h2 { max-width: 11ch; }
.contact-lede { color: var(--ink-2); font-size: var(--fs-lede); margin: 1.25rem 0 2rem; max-width: 28rem; }
.next-steps { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1px; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: .9rem; padding: .85rem 0; border-top: 1px solid var(--line-soft); }
.next-steps li::before { content: counter(ns, decimal-leading-zero); grid-row: span 2; font: 600 .75rem/1.9 var(--text); color: var(--sky); letter-spacing: .06em; }
.next-steps b { font-weight: 600; }
.next-steps span { color: var(--slate); font-size: var(--fs-small); }
.contact-alt { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; font-size: var(--fs-small); color: var(--slate); }
.contact-alt a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.contact-alt a:hover { text-decoration-color: var(--sky); }

.cform-card { background: #F6F8FC; color: var(--navy); border-radius: 26px; padding: clamp(1.5rem, 1rem + 2.2vw, 2.75rem); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); }
.cform { display: grid; gap: 2rem; }
.cf-step { border: 0; margin: 0; padding: 0; display: grid; gap: 1.15rem; min-width: 0; }
.cf-sep { border: 0; height: 1px; background: #DDE3EE; margin: 0; }
.cf-step legend { display: flex; align-items: center; gap: .65rem; padding: 0; margin-bottom: .6rem; font: 600 1.125rem/1.2 var(--display); letter-spacing: -.01em; }
.cf-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 .75rem/1 var(--text); }
.cf-q { display: grid; gap: .65rem; border-radius: 12px; }
.cf-q[data-invalid] .cf-label { color: #C2261B; }
.cf-q[data-invalid] .chip span { border-color: #E9A39C; }
.cf-label { margin: 0; font-size: var(--fs-small); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid #D3DAE6; background: #fff; font-size: var(--fs-small); font-weight: 500; color: #253047; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover span { border-color: #9FB0CB; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input[type=checkbox]:checked + span::before { content: ""; width: 14px; height: 14px; margin-left: -.15rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-field { display: grid; gap: .45rem; font-size: var(--fs-small); font-weight: 600; align-content: start; }
.cf-field em { font-style: normal; font-weight: 400; color: #6B778C; font-size: var(--fs-xs); }
.cf-field small { font-weight: 400; color: #6B778C; font-size: var(--fs-xs); line-height: 1.45; }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 12px; border: 1.5px solid #D3DAE6; background: #fff; color: var(--navy); font: 400 1rem/1.4 var(--text); transition: border-color .2s, box-shadow .2s; }
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-field textarea::placeholder { color: #8A95A8; }
.cf-field select { -webkit-appearance: none; appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230B1222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .9rem center / 14px no-repeat; }
.cf-field :is(input, select, textarea):focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 107, 255, .14); }
.cf-field [aria-invalid="true"] { border-color: #D9534A; }
.cf-call { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 14px; border: 1.5px solid #D3DAE6; background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s; }
.cf-call:has(input:checked) { border-color: var(--blue); background: #EEF3FF; }
.cf-call input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--blue); flex: none; }
.cf-call-body { display: grid; gap: .2rem; }
.cf-call b { font-size: var(--fs-small); }
.cf-call small { color: #5A667C; font-size: var(--fs-xs); line-height: 1.45; }
.consent-dark { color: #4A5568; }
.consent-dark input { accent-color: var(--blue); }
.consent-dark a { color: var(--blue-600); }
.cf-submit { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.cform .form-status { color: #3D4A60; }
.cform .form-status[data-state="error"] { color: #C2261B; }
.cform .form-status[data-state="ok"] { color: #1E7A4E; }
.cf-done { display: grid; justify-items: start; gap: .9rem; padding: 1rem 0; outline: none; }
.cf-done[hidden] { display: none; }
.cf-done-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 55% no-repeat; animation: cardIn .6s var(--ease-out) both; }
.cf-done h3 { margin: 0; font: 600 1.75rem/1.15 var(--display); letter-spacing: -.02em; }
.cf-done p { margin: 0 0 .5rem; color: #3D4A60; max-width: 30rem; }
.cf-done .btn-ghost { color: var(--navy); border-color: #C5CEDD; }

@media (max-width: 1100px) {
  .pk-save { position: static; margin-top: .35rem; }
}
@media (max-width: 1000px) {
  .tiers { grid-template-columns: 1fr; max-width: 34rem; }
  .price-foot { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pricing-head, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-side, .contact-side { position: static; }
}
@media (max-width: 640px) {
  .pk-tabs { grid-template-columns: 1fr; }

  .promise { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .cform-card { border-radius: 20px; margin-inline: calc(var(--gutter) * -.4); }
}

/* ---------- privacy page ---------- */
.legal { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); margin-bottom: 1rem; }
.legal h2 { font-size: 1.375rem; letter-spacing: -.015em; margin: 2.5rem 0 .75rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--slate); font-size: var(--fs-small); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .flow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); --fgap: 1.75rem; }
  .flow-card { max-width: none; }
}
@media (max-width: 900px) {
  .hero-lede { grid-template-columns: 1fr; gap: 1.75rem; }
  .why-grid, .sites-grid, .try-grid, .about-grid, .work-head, .autos-head { grid-template-columns: 1fr; }
  .case, .case-flip { grid-template-columns: 1fr; }
  .case-flip .case-media { order: 0; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .process-list::before { display: none; }
  .about-grid { justify-items: start; }
  .founder { width: min(100%, 20rem); }
  /* the system runs top to bottom on narrow screens */
  .flow { grid-template-columns: 1fr; justify-items: start; row-gap: 1.25rem; }
  .flow > * { grid-row: auto; grid-column: 1; }
  .flow-wire { display: none; }
  .flow::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); }
  .flow-core { grid-auto-flow: column; align-items: center; justify-items: start; margin-left: -6px; }
  .node-circle { width: 56px; height: 56px; box-shadow: 0 0 0 8px var(--navy), 0 16px 32px -14px rgba(1, 4, 12, .95); }
  .node-circle svg { width: 26px; height: 26px; }
  .flow-out { padding-left: 0; margin-left: 3.25rem; }
  .flow-out::before, .flow-out li::before { display: none; }
}
@media (max-width: 640px) {
  .brand img { width: 128px; }
  .header-actions .btn-sm { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .svc { grid-template-columns: 1fr; }
  .svc-demo { grid-column: 1; }
  .choice, .field-row { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .case-facts div { grid-template-columns: 1fr; gap: .25rem; }
  .footer-links { grid-template-columns: 1fr; }
  .try::after { right: -26rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .flow.is-ready .flow-card, .flow.is-ready .node-square, .flow.is-ready .flow-core, .flow.is-ready .flow-out li { opacity: 1; }
  .wire-pulse { transform: none !important; }
  .flow-out::before { transform: none !important; }
}

/* bot protection (Cloudflare Turnstile): mostly invisible, only shows if a check is needed */
.bot-check { margin: 6px 0 14px; max-width: 420px; }
.bot-check:empty { display: none; }
