/* ==========================================================================
   Brenvia AI — site styles
   Plain CSS, no build step. Dark, editorial theme.
   ========================================================================== */

:root {
  --bg: #0B1016;
  --surface: #111922;
  --surface-2: #16212C;
  --line: rgba(236, 231, 221, 0.12);
  --line-strong: rgba(236, 231, 221, 0.22);
  --text: #ECE7DD;
  --text-soft: #BDB8AE;
  --muted: #8E98A3;
  --accent: #D6A45A;
  --accent-hover: #E2B571;
  --accent-2: #7DBBA3;
  --warn: #E39A82;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1200px;
  --gutter: 16px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 40px; }
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: radial-gradient(circle at center, rgba(236, 231, 221, 0.05) 1px, transparent 1.5px);
  background-size: 28px 28px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
}

img, svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

main:focus {
  outline: none;
}

/* Mobile menu: lock the page and dim it behind the open menu. */
@media (max-width: 859px) {
  html.nav-open {
    overflow: hidden;
  }

  html.nav-open body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(11, 16, 22, 0.6);
    animation: fadeIn 0.25s var(--ease);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
}

::selection {
  background: rgba(214, 164, 90, 0.35);
  color: var(--text);
}

/* ---------- Utilities ---------- */

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--maxw) + (var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
  outline-color: var(--text);
}

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  flex: none;
  align-self: flex-start;
  width: 28px;
  height: 1px;
  margin-top: calc(0.7em - 0.5px);
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--muted {
  color: var(--muted);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  max-width: 21ch;
  text-wrap: balance;
}

.h2 em,
.hero-title em,
.page-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.lede {
  max-width: 38rem;
  color: var(--text-soft);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
}

/* Avoid single-word last lines in running text. */
.hero-sub,
.lede,
.step-desc,
.stat-note,
.founder-bio,
.hero-index li > span:last-child {
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(11, 16, 22, 0.74);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.brand-ai {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: var(--text-soft);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
}

.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s, top 0.25s var(--ease);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5.25px; }
.nav-toggle-bars span:nth-child(3) { top: 10.5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 5.25px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 5.25px;
  transform: rotate(-45deg);
}

@media (max-width: 859px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  }

  .js .site-nav.is-open {
    display: block;
    animation: navIn 0.25s var(--ease);
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
  }

  .js .site-nav .nav-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.125rem;
    color: var(--text);
  }

  .js .nav-cta {
    margin-top: 20px;
  }

  .js .nav-cta .btn {
    width: 100%;
  }

  /* Without JavaScript, keep the links reachable inline. */
  html:not(.js) .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 14px;
  }

  html:not(.js) .site-nav ul {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(64px, 10vw, 136px) clamp(56px, 8vw, 104px);
}

/* Heroes slide up behind the transparent sticky header (68px + 1px border)
   so the glow has no hard edge where the header ends. */
.hero,
.page-hero {
  margin-top: calc(-1 * var(--header-h) - 1px);
  padding-top: calc(var(--header-h) + 1px + clamp(64px, 10vw, 136px));
}

.hero-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 88% 12%, rgba(214, 164, 90, 0.12), rgba(214, 164, 90, 0.06) 30%, rgba(214, 164, 90, 0.02) 60%, rgba(214, 164, 90, 0) 80%);
  pointer-events: none;
}

.hero-title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.5rem, 1.1rem + 6.2vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.028em;
}

.hero-title .line {
  display: block;
}

.hero-sub {
  max-width: 40rem;
  margin-top: 32px;
  color: var(--text-soft);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.55;
}

.hero .capture {
  margin-top: 36px;
}

.hero-index {
  display: grid;
  gap: 14px;
  margin: clamp(56px, 8vw, 96px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

@media (min-width: 760px) {
  .hero-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.hero-index li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--text-soft);
  font-size: 0.9375rem;
}

.hero-index .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.hero-index strong {
  font-weight: 500;
  color: var(--text);
}

/* ---------- Email capture ---------- */

.capture {
  width: 100%;
  max-width: 540px;
}

.capture-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(17, 25, 34, 0.85);
  transition: border-color 0.2s;
}

.capture-field:focus-within {
  border-color: rgba(214, 164, 90, 0.6);
}

.capture-field input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.capture-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.capture-field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 999px;
}

.capture.is-invalid .capture-field {
  border-color: var(--warn);
}

.capture-status {
  min-height: 1.6em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.capture-status[data-state="error"] {
  color: var(--warn);
}

.capture-status[data-state="success"] {
  color: var(--accent-2);
}

.capture-status a {
  color: var(--text);
  text-underline-offset: 3px;
}

@media (max-width: 479px) {
  .capture-field {
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
  }

  .capture-field input {
    padding: 12px;
  }

  .capture-field .btn {
    width: 100%;
  }
}

/* ---------- Credibility row ---------- */

.cred {
  padding-block: 40px 64px;
  border-top: 1px solid var(--line);
}

.cred-list {
  /* Common logo height; each logo scales it by its own --h (set inline)
     so wide wordmarks and near-square emblems read at a similar weight. */
  --logo-h: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

/* 8 entries: 2 columns on phones, then two even rows of 4. */
@media (min-width: 640px) {
  .cred-list {
    --logo-h: 30px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .cred-list {
    --logo-h: 32px;
  }
}

.cred-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 20px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

/* Each tile dims to the same level and lifts on hover or keyboard focus. */
.cred-list li > * {
  opacity: 0.72;
  transition: opacity 0.25s var(--ease);
}

.cred-list li:hover > *,
.cred-list li:focus-within > * {
  opacity: 1;
}

/* The link fills the tile so the whole cell is clickable. */
.cred-link {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  text-decoration: none;
}

/* Logos show as one flat ivory silhouette (the standard monochrome/reversed
   variant) so the mixed brand colours don't compete. brightness(0) flattens
   the artwork to black; invert + sepia then lift it to about var(--text). */
.cred-logo {
  flex: none;
  width: auto;
  height: calc(var(--logo-h) * var(--h, 1));
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(88%) sepia(16%);
}

/* IIT Guwahati's emblem is built from white shapes inside a coloured disc,
   so a flat silhouette fills in to a solid circle. The #cred-knockout SVG
   filter (in index.html) instead drops the white shapes out and paints the
   rest the same ivory, which is how a reversed one-colour emblem reads. */
.cred-logo--knockout {
  filter: url(#cred-knockout);
}

.cred-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Mark-only logos sit beside the organisation's name. */
.cred-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: left;
}

.cred-lockup .cred-logo {
  max-width: none;
}

.cred-name {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(88px, 11vw, 152px);
  border-top: 1px solid var(--line);
}

/* Anchor jumps land on the section heading, not the empty top padding. */
.section[id] {
  scroll-margin-top: calc(24px - clamp(88px, 11vw, 152px));
}

.section-head {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin-bottom: clamp(48px, 7vw, 88px);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: clamp(80px, 10vw, 136px);
}

.step {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.step-head {
  display: grid;
  gap: 16px 48px;
  align-items: start;
}

@media (min-width: 960px) {
  .step-head {
    grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.6fr) minmax(0, 1.3fr);
  }
}

.step-index {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.step-index .num {
  color: var(--accent);
}

.step-index .rule {
  width: 24px;
  height: 1px;
  background: var(--line-strong);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.step-desc {
  padding-top: 8px;
  color: var(--text-soft);
  font-size: 1.0625rem;
}

/* ---------- Visual frame (shared) ---------- */

.visual {
  position: relative;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(16px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(22, 33, 44, 0.72), rgba(17, 25, 34, 0.5));
  overflow: hidden;
}

.visual-caption {
  margin: 18px 4px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 72ch;
}

.visual-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: clamp(18px, 3vw, 30px);
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.visual-bar strong {
  color: var(--text-soft);
  font-weight: 500;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.c-brass { color: var(--accent); }
.c-sage { color: var(--accent-2); }
.c-warn { color: var(--warn); }
.c-soft { color: var(--text-soft); }
.c-muted { color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.chip::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.tag-illus {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}

/* ---------- Tool chips: the systems each step runs through ----------
   Brand glyphs (assets/logos, from Simple Icons) keep their official colors,
   unaltered, on a light tile. A glyph under 3:1 against that tile sits on the
   dark tile instead; it is never recolored. Brands without a glyph we may
   use get a text chip with a generic category icon (assets/icons), never a
   drawing of their mark. */

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tool {
  --t: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  height: 24px;
  padding: 0 9px 0 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(236, 231, 221, 0.035);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.tools > .tool:nth-child(2) { --t: 1; }
.tools > .tool:nth-child(3) { --t: 2; }

.tool-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.tool-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #F4F1EA;
}

.tool-tile img {
  width: 14px;
  height: 14px;
}

/* Filled slate tile, same weight as the light one; every glyph on it
   stays above 4:1. */
.tool-tile--dark {
  background: #28333F;
}

/* Text chip for brands with no usable glyph: neutral category icon. */
.tool--generic .tool-tile {
  background: rgba(236, 231, 221, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.tool-mark {
  flex: none;
  width: 18px;
  height: 18px;
}

.tool--brenvia {
  border-color: rgba(214, 164, 90, 0.35);
  color: var(--accent);
}

/* Glyph-only chip for tight spots; the name is in alt and title. */
.tool--icon {
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
}

.tool--icon .tool-tile {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

/* Brand chips only fade: the glyphs are never moved or resized. */
@keyframes toolIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Visual A: Map (current state) ---------- */

.map-canvas {
  position: relative;
  height: clamp(560px, 50vw, 640px);
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.map-link {
  fill: none;
  stroke: rgba(236, 231, 221, 0.36);
  stroke-width: 1.4;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
}

.map-link.is-loop {
  stroke: rgba(227, 154, 130, 0.5);
}

.map-link-mask {
  fill: none;
  stroke: #fff;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 0);
  stroke-dashoffset: var(--len, 0);
  transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1) var(--d, 0ms);
}

.map.is-drawn .map-link-mask {
  stroke-dashoffset: 0;
}

.map.is-drawn .map-link {
  animation: march 2.4s linear 4;
}

@keyframes march {
  to { stroke-dashoffset: -20; }
}

.map-node {
  position: absolute;
  z-index: 1;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: clamp(212px, 19vw, 228px);
  padding: 10px 12px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.8);
  font-size: 0.8125rem;
  line-height: 1.38;
  color: var(--text);
}

.map-node .chip {
  display: flex;
  margin-bottom: 6px;
}

.map-node .tools {
  margin-top: 10px;
}

.js .map .map-node {
  opacity: 0;
  scale: 0.94;
}

.js .map.is-active .map-node {
  animation: nodeIn 0.6s var(--ease) forwards;
  animation-delay: calc(var(--i) * 150ms);
}

/* Tools fade in once their node has settled at full size. */
.js .map .tool {
  opacity: 0;
}

.js .map.is-active .tool {
  animation: toolIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 150ms + 600ms + var(--t) * 90ms);
}

@keyframes nodeIn {
  to { opacity: 1; scale: 1; }
}

/* The scattered layout needs room for nodes carrying tool chips; below
   960px the nodes fall into a staggered two-column grid instead. */
@media (max-width: 959px) {
  .map-canvas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 28px;
    height: auto;
    padding-bottom: 28px;
  }

  .map-node {
    position: relative;
    left: auto;
    top: auto;
    align-self: start;
    transform: none;
    width: auto;
    font-size: 0.8125rem;
  }

  .map-node:nth-of-type(even) {
    margin-top: 28px;
    margin-bottom: -28px;
  }
}

@media (max-width: 479px) {
  .map-canvas {
    column-gap: 16px;
  }

  .map-node {
    padding-inline: 10px;
  }

  .map-node .tools {
    margin-top: 8px;
    gap: 4px;
  }

  .map-node .tool {
    gap: 5px;
    padding-right: 7px;
  }
}

/* ---------- Visual B: Flow (redesigned) ---------- */

.flow-grid {
  --g: clamp(28px, 3.6vw, 48px);
  --rg: 60px;
  --hh: 98px;
  --dur: 6.5s;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--g);
  row-gap: var(--rg);
  padding: 4px 0 8px;
}

.flow-track {
  position: relative;
  z-index: 0;
  grid-row: 1;
  grid-column: 1 / -1;
  align-self: center;
  height: 2px;
  margin-inline: calc((100% - 4 * var(--g)) / 10);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(214, 164, 90, 0.35), rgba(125, 187, 163, 0.6));
}

.flow-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(214, 164, 90, 0.18), 0 0 20px 5px rgba(214, 164, 90, 0.55);
  animation: pulseX var(--dur) linear infinite;
}

@keyframes pulseX {
  0% { left: 0; opacity: 0; }
  5% { opacity: 1; }
  85% { left: 100%; opacity: 1; }
  92%, 100% { left: 100%; opacity: 0; }
}

.flow-node {
  position: relative;
  z-index: 1;
  grid-row: 1;
  grid-column: var(--c);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 104px;
  padding: 14px 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 0.875rem;
  line-height: 1.35;
  animation: nodeGlow var(--dur) linear infinite;
  animation-delay: calc(var(--dur) * 0.85 * var(--p) - 0.15s);
}

.flow-node strong {
  font-weight: 500;
  color: var(--text);
}

.flow-node .sub {
  color: var(--muted);
  font-size: 0.8125rem;
}

.flow-node--done {
  border-color: rgba(125, 187, 163, 0.4);
}

/* Systems sit at the foot of each stage so they line up across the row. */
.flow-node .tools {
  margin-top: auto;
  padding-top: 4px;
}

@media (min-width: 960px) {
  .flow-node .tools {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes nodeGlow {
  0% {
    border-color: rgba(214, 164, 90, 0.9);
    box-shadow: 0 0 0 3px rgba(214, 164, 90, 0.12), 0 0 30px -6px rgba(214, 164, 90, 0.5);
  }
  16%, 100% {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 0 rgba(214, 164, 90, 0);
  }
}

.flow-branch {
  position: relative;
  grid-row: 2;
  grid-column: 3 / 5;
  display: flex;
  justify-content: center;
}

.flow-bracket {
  position: absolute;
  top: calc(-1 * var(--rg));
  bottom: calc(var(--hh) / 2);
  left: calc((100% - var(--g)) / 4);
  right: calc((100% - var(--g)) / 4);
  border: 1.5px dashed rgba(214, 164, 90, 0.5);
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.flow-bracket .leg-label {
  position: absolute;
  top: 34%;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.flow-bracket .leg-label--out {
  right: calc(100% + 10px);
}

.flow-bracket .leg-label--in {
  left: calc(100% + 10px);
}

.flow-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 3px rgba(214, 164, 90, 0.5);
  opacity: 0;
  animation: bracketDot calc(var(--dur) * 2) linear infinite;
  animation-delay: calc(var(--dur) * 0.85 * 0.5);
}

@keyframes bracketDot {
  0% { left: 0; top: 0; opacity: 0; }
  3% { opacity: 1; }
  12% { left: 0; top: 100%; }
  28% { left: 100%; top: 100%; }
  37% { left: 100%; top: 0; opacity: 1; }
  40%, 100% { left: 100%; top: 0; opacity: 0; }
}

.flow-human {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: min(220px, 72%);
  height: var(--hh);
  padding: 10px 14px;
  border: 1px solid rgba(214, 164, 90, 0.45);
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 0.875rem;
  line-height: 1.3;
  animation: humanGlow calc(var(--dur) * 2) linear infinite;
  animation-delay: calc(var(--dur) * 0.85 * 0.5);
}

.flow-human strong {
  font-weight: 500;
}

.flow-human .tools {
  margin-top: 2px;
}

@keyframes humanGlow {
  0%, 14% { box-shadow: 0 0 0 0 rgba(214, 164, 90, 0); }
  20% { box-shadow: 0 0 0 3px rgba(214, 164, 90, 0.14), 0 0 28px -6px rgba(214, 164, 90, 0.55); }
  30%, 100% { box-shadow: 0 0 0 0 rgba(214, 164, 90, 0); }
}

.js .flow:not(.is-active) .flow-pulse,
.js .flow:not(.is-active) .flow-node,
.js .flow:not(.is-active) .flow-dot,
.js .flow:not(.is-active) .flow-human {
  animation-play-state: paused;
}

/* Tools appear stage by stage, in the order the pulse travels. */
.js .flow .tool {
  opacity: 0;
}

.js .flow.is-active .tool {
  animation: toolIn 0.5s var(--ease) both;
  animation-delay: calc(300ms + var(--p, 0.6) * 1100ms + var(--t) * 90ms);
}

@media (max-width: 959px) {
  .flow-grid {
    --rg: 18px;
    --hh: 70px;
    grid-template-columns: minmax(0, 1fr);
  }

  /* Runs from the first stage's dot to the last one's, whatever the
     stage heights: dots sit at a fixed 22px from each stage's top. */
  .flow-track {
    grid-row: 1 / 6;
    grid-column: 1;
    justify-self: start;
    align-self: stretch;
    width: 2px;
    height: auto;
    margin: 22px 0 calc(-1 * (var(--rg) + 22px)) 19px;
    background: linear-gradient(180deg, rgba(214, 164, 90, 0.35), rgba(125, 187, 163, 0.6));
  }

  .flow-pulse {
    top: 0;
    left: 50%;
    animation-name: pulseY;
  }

  .flow-node {
    grid-row: var(--r);
    grid-column: 1;
    min-height: 0;
    margin-left: 44px;
    gap: 4px;
  }

  .flow-node::before {
    content: "";
    position: absolute;
    top: 17px;
    left: -30px;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(214, 164, 90, 0.7);
    border-radius: 50%;
    background: var(--bg);
  }

  .flow-branch {
    grid-row: 4;
    grid-column: 1;
    justify-content: flex-start;
    margin-left: 96px;
  }

  .flow-bracket {
    top: calc(-1 * var(--rg));
    bottom: calc(-1 * var(--rg));
    left: -36px;
    right: auto;
    width: 36px;
    border: 0;
    border-left: 1.5px dashed rgba(214, 164, 90, 0.5);
    border-radius: 0;
  }

  .flow-bracket::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1.5px dashed rgba(214, 164, 90, 0.5);
  }

  .flow-bracket .leg-label {
    display: none;
  }

  /* Keep "Exception" beside the branch, reading up the dashed line. */
  .flow-bracket .leg-label--out {
    display: block;
    top: 50%;
    left: auto;
    right: calc(100% + 6px);
    line-height: 1.2;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
  }

  .flow-dot {
    animation-name: bracketDotY;
  }

  .flow-human {
    width: auto;
    flex: 1 1 auto;
    height: auto;
    min-height: var(--hh);
  }
}

@keyframes pulseY {
  0% { top: 0; opacity: 0; }
  5% { opacity: 1; }
  85% { top: 100%; opacity: 1; }
  92%, 100% { top: 100%; opacity: 0; }
}

@keyframes bracketDotY {
  0% { top: 0; left: 0; opacity: 0; }
  3% { opacity: 1; }
  12% { top: 50%; left: 0; }
  18% { top: 50%; left: 100%; opacity: 1; }
  20% { top: 50%; left: 100%; opacity: 0; }
  21% { top: 50%; left: 0; opacity: 0; }
  23% { opacity: 1; }
  35% { top: 100%; left: 0; opacity: 1; }
  38%, 100% { top: 100%; left: 0; opacity: 0; }
}

/* ---------- Visual C: Agent roster ---------- */

.roster {
  display: grid;
  gap: 20px;
}

/* Side-by-side only once the table has room for its Systems column. */
@media (min-width: 1200px) {
  .roster {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.roster-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg);
}

.roster-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.roster-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.roster-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}

.roster-count::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px 1px rgba(125, 187, 163, 0.6);
}

.roster-cols,
.roster-row {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.1fr) 76px minmax(0, 0.8fr) 100px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.roster-cols {
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.roster-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.roster-row + .roster-row {
  border-top: 1px solid var(--line);
}

.r-agent {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.r-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.r-team,
.r-run {
  color: var(--muted);
  font-size: 0.875rem;
}

.r-status {
  display: flex;
}

.r-systems {
  flex-wrap: nowrap;
}

/* Each agent's systems connect just before its status flips to Live.
   Only the entry is animated, and only opacity. */
.js .roster[data-prepped="true"] .r-systems .tool {
  opacity: 0;
}

.js .roster[data-prepped="true"] .roster-row.is-connected .r-systems .tool {
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  transition-delay: calc(var(--t) * 80ms);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.45s, background-color 0.45s, border-color 0.45s;
}

.pill::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill.is-live {
  border-color: rgba(125, 187, 163, 0.45);
  background: rgba(125, 187, 163, 0.12);
  color: var(--accent-2);
}

.pill.is-live::before {
  animation: livePulse 2s ease-out infinite;
}

.pill.just-flipped {
  animation: pillPop 0.5s var(--ease);
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 187, 163, 0.6); }
  100% { box-shadow: 0 0 0 6px rgba(125, 187, 163, 0); }
}

@keyframes pillPop {
  0% { transform: scale(0.9); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.roster-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.roster-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(125, 187, 163, 0.12), transparent 60%),
    var(--bg);
}

.stat-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(3.2rem, 2rem + 4vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--text);
}

.stat-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 799px) {
  .roster-cols {
    display: none;
  }

  .roster-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "agent status"
      "team run"
      "systems systems";
    row-gap: 4px;
    padding: 14px 16px;
  }

  .r-agent { grid-area: agent; }
  .r-status { grid-area: status; justify-self: end; }
  .r-team { grid-area: team; padding-left: 38px; }
  .r-run { grid-area: run; justify-self: end; }
  .r-systems { grid-area: systems; padding-left: 38px; margin-top: 4px; }
}

/* ---------- Demo CTA ---------- */

.demo-card {
  position: relative;
  display: grid;
  gap: 32px;
  padding: clamp(28px, 6vw, 80px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(214, 164, 90, 0.15), transparent 55%),
    radial-gradient(70% 100% at 100% 100%, rgba(125, 187, 163, 0.1), transparent 60%),
    var(--surface);
}

@media (min-width: 1200px) {
  .demo-card {
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, 1fr);
    align-items: center;
    column-gap: clamp(32px, 4vw, 64px);
  }
}

.demo-copy {
  display: grid;
  gap: 20px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 64px 36px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
  }
}

.footer-desc {
  max-width: 30rem;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 960px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-base a {
  color: var(--muted);
  text-decoration: none;
}

.footer-base a:hover {
  color: var(--text);
}

.footer-legal {
  max-width: 46rem;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- About page ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(64px, 10vw, 136px) clamp(56px, 8vw, 104px);
}

.page-title {
  max-width: 17ch;
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.4rem, 1.3rem + 4.8vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -0.024em;
  text-wrap: balance;
}

.page-hero .lede {
  margin-top: 32px;
  max-width: 42rem;
}

.founders {
  display: grid;
  gap: 24px;
}

@media (min-width: 860px) {
  .founders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.founder {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface), rgba(17, 25, 34, 0.6));
}

.avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 10px;
  border: 1px solid rgba(214, 164, 90, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(214, 164, 90, 0.24), rgba(214, 164, 90, 0.05) 70%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.founder-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-wrap: balance;
}

.founder-bio {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

/* The founder's name links to their LinkedIn profile; the arrow marks it as external. */
.founder-link {
  white-space: nowrap;
  text-decoration: underline 1px transparent;
  text-underline-offset: 0.16em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.founder-link:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.founder-link .btn-arrow {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.2em;
  vertical-align: 0.3em;
  color: var(--accent);
}

.founder-link:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* ---------- Small screens: minimum label sizes ---------- */

@media (max-width: 639px) {
  .tag-illus,
  .r-icon,
  .flow-bracket .leg-label {
    font-size: 0.6875rem;
  }

  .chip,
  .visual-bar,
  .roster-foot,
  .stat-label {
    font-size: 0.75rem;
  }
}

/* ---------- Pause looping animations while off screen ---------- */

[data-visual].is-offscreen *,
[data-visual].is-offscreen *::before,
[data-visual].is-offscreen *::after {
  animation-play-state: paused !important;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--rd, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .hero-title .line {
  opacity: 0;
  translate: 0 0.28em;
  animation: lineIn 0.95s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 130ms + 80ms);
}

@keyframes lineIn {
  to { opacity: 1; translate: 0 0; }
}

/* ---------- Reduced motion: no animation, final states ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .js .hero-title .line {
    opacity: 1;
    translate: none;
  }

  .js .map .map-node {
    opacity: 1;
    scale: 1;
  }

  .js .map .tool,
  .js .flow .tool {
    opacity: 1;
  }

  .map-link-mask {
    stroke-dashoffset: 0 !important;
  }

  .flow-pulse,
  .flow-dot {
    display: none;
  }
}
