/* ==========================================================================
   FresQuo — marketing site
   --------------------------------------------------------------------------
   Colour comes from the product (packages/frontend): the Tailwind slate ramp,
   indigo-500 as the action colour, mint as the accent, and the pipeline hues
   from the map legend. If a colour is on this page, it is on a screen in the
   app.

   Structure and rhythm take after frame.io (near-black canvas, oversized
   display type, full-bleed product imagery, scroll-driven storytelling) and
   kzero.com (monospace micro-labels with a leading slash, two-tone headlines,
   clipped-corner buttons).
   ========================================================================== */

:root {
  /* Canvas — deeper than the app so screenshots read as objects on a surface */
  --bg:            #06070a;
  --bg-raise:      #0a0c12;
  --surface:       #0e111a;
  --surface-hi:    #141824;
  --border:        rgba(148, 163, 184, 0.13);
  --border-strong: rgba(148, 163, 184, 0.26);

  /* Ink */
  --text:  #edf0f7;
  --muted: #97a1b4;
  --dim:   #626d82;

  /* Brand + pipeline statuses, straight from the app */
  --brand:    #6366f1;
  --brand-lt: #8b8ffb;
  --mint:     #33ffac;
  --active:   #22c55e;
  --pending:  #eab308;
  --prospect: #ea580c;
  --imminent: #a855f7;
  --paused:   #3b82f6;

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 22px;
  /* Screenshots keep a tighter corner than the surrounding cards — the product
     UI inside them is squared off, and a soft frame fights it. */
  --radius-shot: 8px;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.04;
}

::selection { background: var(--brand); color: #fff; }

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

/* ------------------------------------------------------- page ambience -- */

/* Two slow-drifting washes + a fine grain, so the black is never flat. */
.ambience {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

/* Starfield. Two layers of the same tile at different scales, so the repeat
   never resolves into a visible grid, and each drifts at its own rate for a
   little parallax. Echoes the star field in the product's own map view. */
.ambience::before,
.ambience::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: url("../img/stars.svg");
  background-repeat: repeat;
  pointer-events: none;
}

.ambience::before {
  background-size: 600px 600px;
  opacity: 0.30;
  animation: stars-near 260s linear infinite;
}

.ambience::after {
  background-size: 340px 340px;
  background-position: 130px 70px;
  opacity: 0.16;
  animation: stars-far 420s linear infinite;
}

@keyframes stars-near { to { transform: translate3d(-600px, -300px, 0); } }
@keyframes stars-far  { to { transform: translate3d(340px, -170px, 0); } }

.ambience__blob {
  position: absolute;
  width: 62vw;
  height: 62vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.ambience__blob--a {
  top: -22vw;
  left: -14vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.42), transparent 66%);
  animation: drift-a 26s var(--ease) infinite alternate;
}

.ambience__blob--b {
  top: 8vw;
  right: -20vw;
  background: radial-gradient(circle, rgba(51, 255, 172, 0.16), transparent 66%);
  animation: drift-b 32s var(--ease) infinite alternate;
}

@keyframes drift-a {
  to { transform: translate3d(9vw, 7vw, 0) scale(1.14); }
}
@keyframes drift-b {
  to { transform: translate3d(-8vw, 11vw, 0) scale(1.1); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------- layout -- */

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

/* Long-form pages: a narrower column so the measure sits centred rather than
   stranded against the left edge of a 1240px container. */
.wrap--narrow { max-width: 940px; }

section { position: relative; }
section[id] { scroll-margin-top: 92px; }

.band { padding-block: clamp(84px, 12vw, 168px); }
.band--tight { padding-block: clamp(56px, 8vw, 104px); }
.rule { border-top: 1px solid var(--border); }

/* --------------------------------------------------------- typography -- */

/* Monospace micro-label with a leading slash — kzero's tell, and it suits a
   product whose own UI is full of uppercase tracked labels. */
.tag {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}

.tag::before {
  content: "/";
  color: var(--mint);
  font-weight: 500;
}

.tag--index::before { content: "/" counter(section-counter, decimal-leading-zero); }

body { counter-reset: section-counter; }
.counts { counter-increment: section-counter; }

.display {
  font-size: clamp(2.35rem, 5.6vw, 4.15rem);
  font-weight: 600;
  letter-spacing: -0.036em;
  line-height: 1.02;
  text-wrap: balance;
}

/* Second line of a headline, in the product's accent. <em> is used for the
   emphasis semantics, not for italics — hence the explicit reset. */
h1 em, h2 em, h3 em, .display em {
  font-style: normal;
  color: var(--mint);
}

.h-md { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.03em; }

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}

.section-head { max-width: 800px; margin-bottom: clamp(44px, 6vw, 76px); }

.mono-note {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ------------------------------------------------------------- buttons -- */

.btn {
  --clip: 11px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 40px -16px rgba(99, 102, 241, 0.95);
}
.btn--primary:hover { background: var(--brand-lt); box-shadow: 0 18px 46px -14px rgba(99, 102, 241, 1); }

/* Clipped corner — angular counterpoint to the solid primary. */
.btn--ghost {
  background: rgba(148, 163, 184, 0.06);
  border-color: var(--border-strong);
  color: var(--text);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--clip)), calc(100% - var(--clip)) 100%, 0 100%);
}
.btn--ghost:hover { background: rgba(148, 163, 184, 0.13); border-color: var(--mint); }

.btn--sm { padding: 11px 18px; font-size: 12px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* --------------------------------------------------------------- nav ---- */

/* Floating masthead, after SSZ: fully integrated with the page at rest — no
   bar, no hairline, content runs underneath — then surface, blur and rule
   resolve in as the page moves. It never jumps between the two states. */
/* A pill, suspended — after Bedrock.
 *
 * The outer element is a positioning frame only: transparent, no background,
 * and it keeps its place in the flow so nothing underneath needs a top offset.
 * Everything visible lives on __inner, which is what lets the bar be narrower
 * than the viewport and float clear of all three edges. The page then reads as
 * one continuous surface with a control layer above it, rather than as content
 * that has been cut off by a strip of chrome.
 *
 * pointer-events: none on the frame keeps the gutter either side of the pill
 * clickable, which matters because the frame spans the full width. */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 16px var(--gutter);
  background: transparent;
  border: 0;
  pointer-events: none;
  transition: padding 0.45s var(--ease);
}

.nav > * { pointer-events: auto; }

.nav__inner {
  position: relative;            /* containing block for the mega panels */
  width: min(100%, var(--maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
  padding-inline: 30px;
  border-radius: 999px;

  /* Opaque black, not a translucent tint. The canvas behind it is already
     near-black, so a translucent bar reads as a slightly different grey that
     never quite matches anything — and a backdrop-filter on a bar that spans
     the viewport makes the browser blur everything under it on every frame,
     which is one of the more expensive things to ask for during a scroll. */
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -34px rgba(0, 0, 0, 1);

  transition: min-height 0.45s var(--ease), box-shadow 0.45s var(--ease),
              border-color 0.45s var(--ease);
}

/* Scrolled: the pill tightens and lifts, rather than changing colour. */
.nav.is-stuck { padding-block: 10px; }

.nav.is-stuck .nav__inner {
  min-height: 62px;
  border-color: var(--border-strong);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 1);
}

/* Reading progress — a small piece of feedback that makes a long page feel alive. */
.nav__progress {
  position: absolute;
  left: 30px;
  bottom: 0;
  height: 2px;
  width: 0;
  max-width: calc(100% - 60px);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--mint));
  box-shadow: 0 0 14px rgba(51, 255, 172, 0.55);
  transition: width 0.08s linear;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand sup { font-size: 0.46em; font-weight: 500; letter-spacing: 0; top: -0.75em; }

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}

/* Direct children only — the mega panel lives inside this list and must not
   inherit the uppercase monospace treatment meant for the top-level items. */
.nav__links > li > a {
  display: block;
  padding: 8px 14px;
  border-radius: 7px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav__links > li > a:hover,
.nav__links > li > a[aria-current="page"],
.nav__item.is-open > .nav__trigger { color: var(--text); background: rgba(148, 163, 184, 0.08); }

.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  padding: 9px 11px;
  cursor: pointer;
}

/* ----------------------------------------------------------- mega menu -- */

/* The trigger is a real link to the section index: hovering opens the panel,
   clicking (or tapping, where there is no hover) just navigates. That keeps the
   menu useful on touch without a second tap-to-open state to maintain. */
/* Static, so the panel's containing block is the pill rather than the one
   menu item — the panel spans the bar, it does not hang off a word. */
.nav__item { position: static; }

.nav__trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}

.nav__caret {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  transition: transform 0.25s var(--ease);
}

.nav__item.is-open .nav__caret { transform: rotate(180deg); }

/* position:fixed with no `top` keeps the panel's static vertical position —
   directly under the masthead — while spanning the full viewport width. */
/* The panel spans the pill, not the viewport, and hangs beneath it — anchored
   to .nav__inner, which is the positioned ancestor. A full-bleed panel under a
   floating bar looks detached from the thing that opened it. */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 55;
  border-radius: 22px;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }

/* The panel is already inset to the pill's width, so the inner .wrap must not
   inset it a second time — it only needs to match the pill's inline padding. */
.mega .wrap { max-width: none; padding-inline: 30px; }

.mega__inner {
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: 36px 42px;
}

.mega__lead .tag { margin-bottom: 14px; }
.mega__lead .tile__go { margin-top: 0; }

.mega__blurb {
  color: var(--muted);
  font-size: 15px;
  max-width: 30ch;
  margin-bottom: 22px;
}

.mega__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mega__list a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.mega__list a:hover {
  background: rgba(148, 163, 184, 0.07);
  border-color: var(--border);
  transform: translateY(-2px);
}

.mega__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  flex: none;
  padding-top: 3px;
  min-width: 2ch;
}

.mega__list strong {
  display: block;
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--text);
}

.mega__list em {
  display: block;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 5px;
}

/* Word-length markers (a category rather than "01") need their own line, or
   they eat half the column and wrap every title. */
.mega__list--stacked a { display: block; }

.mega__list--stacked .mega__num {
  display: block;
  margin-bottom: 9px;
  padding-top: 0;
}

@media (max-width: 1080px) {
  .mega__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- hero -- */

.hero { padding-block: clamp(72px, 11vw, 150px) clamp(48px, 7vw, 90px); text-align: center; }

.hero .tag { justify-content: center; }
.hero .lede { margin-inline: auto; margin-top: 26px; }
.hero .btn-row { justify-content: center; }

.hero h1 {
  font-size: clamp(3rem, 8.6vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 0.98;
}

.hero__sub {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: clamp(12px, 1.15vw, 14px);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ------------------------------------------------------------- shots ---- */

/* Product screenshots sit in restrained window chrome so they read as software.
   The hero shot gets a wide, glowing stage; inline shots stay quieter. */
.shot {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-shot);
  background: var(--bg-raise);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset,
              0 40px 90px -50px rgba(0, 0, 0, 1);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 26%);
  pointer-events: none;
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.045);
}

.shot__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(148, 163, 184, 0.28); }

.shot__label {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.shot img { width: 100%; height: auto; }

.shot-caption { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--dim); }

/* Hero stage: wider than the text column, lit from beneath. */
.stage {
  position: relative;
  /* The screenshot is the payoff, so it wants a beat of silence before it —
     close to the buttons it reads as an attachment to them rather than as the
     thing the page is about. */
  margin-top: clamp(76px, 10vw, 136px);
  max-width: 1180px;
  margin-inline: auto;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 12% 8% -8%;
  background: radial-gradient(60% 50% at 50% 50%, rgba(99, 102, 241, 0.5), transparent 70%);
  filter: blur(70px);
  z-index: -1;
}

.stage .shot { transform: perspective(2200px) rotateX(2.6deg); }

/* --------------------------------------------------------------- video -- */

/* Holding frame for an explainer. Reserves the exact 16:9 the real embed will
   occupy, so dropping in an <iframe> or <video> shifts nothing on the page. */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  gap: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-shot);
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(99, 102, 241, 0.16), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-raise));
}

/* Once real media is in, it fills the frame and the placeholder is irrelevant. */
.video > iframe,
.video > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video__inner { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 24px; }

.video__play {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(148, 163, 184, 0.07);
  color: var(--text);
}

.video__play svg { width: 24px; height: 24px; margin-left: 3px; }

.video__label {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.video__note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pending);
}

/* --------------------------------------------------------------- cards -- */

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); }

/* Cursor-tracked spotlight; --mx/--my are written by site.js. */
.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-raise));
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(99, 102, 241, 0.16), transparent 62%);
  pointer-events: none;
}

.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }

.card h3 { font-size: 1.06rem; font-weight: 550; letter-spacing: -0.02em; margin-bottom: 11px; }
.card p { color: var(--muted); font-size: 15px; }

.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 20px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: var(--brand-lt);
}

.card__icon svg { width: 20px; height: 20px; }

.card__n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mint);
  display: block;
  margin-bottom: 14px;
}

/* Blind-spot list — each item carries a pipeline colour from the app legend. */
.marks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }

.marks li { position: relative; padding-left: 32px; color: var(--text); font-weight: 400; }

.marks li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--brand));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot, var(--brand)) 16%, transparent),
              0 0 16px color-mix(in srgb, var(--dot, var(--brand)) 60%, transparent);
}

/* ------------------------------------------------------------- marquee -- */

/* An endless strip of what the platform actually holds — motion that carries
   information rather than decorating. */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding-block: 22px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: slide 42s linear infinite;
}

.marquee__track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}

.marquee__track span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

@keyframes slide { to { transform: translateX(-50%); } }

.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------------------------------------------------------------- flow -- */

/* Scroll-driven "how it works": the step rail pins while the screenshots
   advance beside it. Falls back to a plain stack under 940px. */
.flow { display: grid; gap: clamp(28px, 4vw, 60px); }

@media (min-width: 940px) {
  .flow { grid-template-columns: 0.78fr 1.22fr; align-items: start; }
  .flow__rail { position: sticky; top: 132px; }
}

.flow__step {
  padding: 22px 0 22px 26px;
  border-left: 2px solid var(--border);
  transition: border-color 0.35s var(--ease), opacity 0.35s var(--ease);
  opacity: 0.42;
}

.flow__step.is-active { opacity: 1; border-left-color: var(--mint); }

.flow__step h3 { font-size: clamp(1.3rem, 2.3vw, 1.85rem); margin-bottom: 10px; }
.flow__step p { color: var(--muted); font-size: 15.5px; }

.flow__step .card__n { color: var(--dim); transition: color 0.35s var(--ease); }
.flow__step.is-active .card__n { color: var(--mint); }

.flow__panels { display: grid; gap: clamp(28px, 5vw, 64px); }

/* -------------------------------------------------------------- pricing - */

.tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); align-items: start; }

.tier {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-raise));
}

.tier--feature {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 40px 90px -56px rgba(99, 102, 241, 1);
}

.tier__name {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tier--feature .tier__name { color: var(--mint); }

.tier__price {
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.036em;
  margin-block: 18px 4px;
}

.tier__price span { font-size: 0.4em; font-weight: 400; color: var(--muted); letter-spacing: 0; font-family: var(--mono); }

.tier__seats { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.08em; }
.tier__blurb { margin-top: 18px; color: var(--muted); font-size: 15px; }

.tier .btn { width: 100%; margin-block: 28px; }

.tier__list-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.tier__list {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.tier__list li { position: relative; padding-left: 26px; }

.tier__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

/* ----------------------------------------------------------- statements - */

.statement { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }

.statement span {
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: var(--prospect);
  text-decoration-thickness: 1.5px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.usecases {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.usecases li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raise);
  font-weight: 400;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.usecases li:hover { border-color: var(--border-strong); background: var(--surface); }
.usecases svg { width: 19px; height: 19px; color: var(--mint); flex: none; }

/* ------------------------------------------------------------------ cta - */

.cta {
  position: relative;
  padding: clamp(52px, 8vw, 100px) clamp(28px, 6vw, 80px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(99, 102, 241, 0.26), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-raise));
  text-align: center;
  overflow: hidden;
}

.cta .lede { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* --------------------------------------------------------------- forms -- */

.form { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }

.field { display: grid; gap: 9px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 17px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-raise);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input::placeholder, .field textarea::placeholder { color: var(--dim); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(51, 255, 172, 0.12);
}

.field textarea { min-height: 150px; resize: vertical; }

@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact-detail { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--border); }

.contact-detail dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact-detail dd { margin: 0; font-size: 1.05rem; }
.contact-detail a { text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.contact-detail a:hover { color: var(--mint); border-color: var(--mint); }

/* -------------------------------------------------------------- footer -- */

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

.footer__grid { display: grid; gap: 44px; grid-template-columns: 1.4fr repeat(3, 1fr); }

@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

.footer h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--mint); }

.footer__base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

/* --------------------------------------------------- interior page head -- */

/* Interior pages open on type rather than a product shot — the shot comes once
   the reader has a reason to look at it. */
.page-hero { padding-block: clamp(96px, 13vw, 168px) clamp(40px, 6vw, 72px); }
.page-hero .lede { margin-top: 26px; }

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 26px;
}

.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--mint); }
.crumb span { color: var(--dim); }

/* ---------------------------------------------------------------- tiles -- */

/* Linked cards for the use-case and insight indexes. The whole tile is the
   link, so the hit area matches what it looks like. */
.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-raise));
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(99, 102, 241, 0.16), transparent 62%);
  pointer-events: none;
}

.tile:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }

.tile__kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
}

.tile h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.tile p { color: var(--muted); font-size: 15px; }

.tile__go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.tile__go svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.tile:hover .tile__go svg { transform: translateX(4px); }

/* -------------------------------------------------------------- roadmap -- */

/* Marks a band describing something not yet shipping. Deliberately loud enough
   that it cannot be mistaken for the capability sections around it. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--pending) 40%, transparent);
  background: color-mix(in srgb, var(--pending) 10%, transparent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pending);
  margin-left: 12px;
  vertical-align: middle;
}

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

/* A section can hold shipped and planned things at once — the deployment band
   does. The pill states which, per card, so the reader never has to infer it. */
.pill--live {
  border-color: color-mix(in srgb, var(--active) 40%, transparent);
  background: color-mix(in srgb, var(--active) 10%, transparent);
  color: var(--active);
}

/* Inside a card the pill sits on its own line under the heading, not beside a
   display heading, so it needs no left offset. */
.card .pill { margin: 0 0 14px; }

.card--planned {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--pending) 22%, var(--border));
}

.card--planned .card__icon {
  background: color-mix(in srgb, var(--pending) 12%, transparent);
  border-color: color-mix(in srgb, var(--pending) 28%, transparent);
  color: var(--pending);
}

.band--roadmap .card {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--pending) 22%, var(--border));
}

.band--roadmap .card__icon {
  background: color-mix(in srgb, var(--pending) 12%, transparent);
  border-color: color-mix(in srgb, var(--pending) 28%, transparent);
  color: var(--pending);
}

/* ----------------------------------------------------------------- team -- */

/* Member cards after the SSZ pattern: a square portrait frame that holds its
   place before there is a photograph, a monospace role, a clamped bio that
   grows a Read more control only when it actually overflows, and contact links. */
.team {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
}

.member { display: flex; flex-direction: column; }

.member__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 20px;
}

.member__photo img,
.member__photo svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.member:hover .member__photo img { transform: scale(1.03); }

/* No portrait yet: the frame keeps its place rather than collapsing, and says
   plainly why it is empty instead of pretending to be a design choice. */
.member__photo--pending { display: grid; place-items: center; padding: 18px; text-align: center; }

.member__photo--pending span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.member__name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.member__role {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}

.member__bio {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.member__bio.is-open { -webkit-line-clamp: unset; overflow: visible; }
.member__bio p + p { margin-top: 1em; }

.readmore {
  align-self: flex-start;
  margin-top: 10px;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.readmore:hover { color: var(--mint); border-bottom-color: var(--mint); }

.member__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }

.member__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.member__link svg { width: 13px; height: 13px; flex: none; }
.member__link:hover { color: var(--mint); }
/* Icon-only variant.
 *
 * Without its label the link loses the hit area the text was providing, so it
 * gets a real one — 34px square. The accessible name lives in aria-label and
 * a visually hidden span; an icon with neither says nothing to anyone not
 * looking at it. */
.member__link--icon {
  gap: 0;
  width: 34px;
  height: 34px;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

.member__link--icon svg { width: 15px; height: 15px; }

.member__link--icon:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.member__links { gap: 10px; }


/* ------------------------------------------------------------ cta paths -- */

/* Three named ways in, all landing on contact. Distinct enough to self-select
   against without three separate destinations to maintain. */
.paths {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: clamp(36px, 5vw, 52px);
  text-align: left;
}

.path {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.04);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.path:hover {
  border-color: var(--mint);
  background: rgba(51, 255, 172, 0.05);
  transform: translateY(-3px);
}

.path__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}

.path h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.path p { font-size: 14.5px; color: var(--muted); }

/* ---------------------------------------------------------------- prose -- */

/* Long-form body for insight posts. Narrow measure, generous leading — the
   rest of the site is display type, this is the one place built for reading. */
.prose { max-width: 68ch; margin-inline: auto; font-size: 1.075rem; line-height: 1.78; color: #cbd3e1; }

.prose > * + * { margin-top: 1.5em; }

.prose h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 2.4em;
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2em;
}

.prose strong { color: var(--text); font-weight: 600; }

.prose a { color: var(--mint); text-decoration: none; border-bottom: 1px solid rgba(51, 255, 172, 0.35); }
.prose a:hover { border-bottom-color: var(--mint); }

.prose ul, .prose ol { padding-left: 1.3em; margin-block: 1.5em; }
.prose li + li { margin-top: 0.6em; }
.prose li::marker { color: var(--dim); }

.prose figure { margin: 2.4em 0; }
.prose figure .shot-caption { margin-top: 12px; }

/* Pull quote — one per post at most, for the sentence the piece turns on. */
.pull {
  margin: 2.6em 0;
  padding-left: 26px;
  border-left: 2px solid var(--mint);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Cover artwork. The same SVG serves all three placements — full-bleed header,
   index thumbnail, menu thumbnail — so a post has one image, not three crops. */
.post-cover {
  margin: 0 0 clamp(36px, 5vw, 56px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-shot);
  overflow: hidden;
  background: var(--bg-raise);
}

.post-cover img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; }

/* Thumbnail on an index tile. Sits above the kicker, full card width. */
.tile__thumb {
  display: block;
  margin: -32px -32px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raise);
}

.tile__thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* Thumbnail in the mega menu. Small, so the artwork has to survive at 72px. */
.mega__thumb {
  flex: none;
  width: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-raise);
}

.mega__thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* With a thumbnail the row is horizontal again, so the stacked variant's
   block-level marker has to go back inline. */
.mega__list--stacked a { display: flex; gap: 14px; align-items: flex-start; }
.mega__list--stacked .mega__num { display: block; margin-bottom: 6px; padding-top: 0; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 26px;
}

.post-meta .is-cat { color: var(--mint); }

/* ------------------------------------------------------------ related --- */

.related {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 24px;
}

/* ------------------------------------------------------------- reveals -- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  .marquee__track { animation: none; }
  .ambience__blob { animation: none; }
  .ambience::before, .ambience::after { animation: none; }
  .stage .shot { transform: none; }
}

/* --------------------------------------------------------------- small -- */

/* Nine links plus the brand and the call button need ~1200px before they start
   fighting for room, so the masthead collapses there rather than squeezing the
   row. Raised from 1080 when "Try it" joined the menu — if items are removed
   again, bring it back down; a hamburger on a wide screen is a small loss but
   it is still a loss. */
@media (max-width: 1200px) {
  .nav__links {
    display: none;
    position: absolute;
    /* Anchored to the header, which changes height between states. */
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 22px;
    background: rgba(6, 7, 10, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .nav__links.is-open { display: flex; }
  .nav__links li { padding-block: 4px; }
  .nav__toggle { display: block; }
  .stage .shot { transform: none; }

  /* No hover on touch, so the trigger is simply a link to the section index
     and the panel never appears. One less state to get wrong. */
  .mega { display: none; }
  .nav__caret { display: none; }
}

/* The call button survives the collapse — it only goes once the phone-width
   masthead genuinely has no room for it beside the brand and the toggle. */
@media (max-width: 640px) { .nav .btn { display: none; } }

/* ================================================================ WordPress ==

   Everything below exists only in the WordPress build. The rules above are the
   design system, shared byte-for-byte with the static site — keep additions
   down here so the two never have to be diffed.
   ========================================================================== */

/* Accessibility ----------------------------------------------------------- */

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

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
}

/* The admin bar is 32px of fixed chrome the sticky masthead has to clear. */
.admin-bar .nav { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}

/* Elementor ---------------------------------------------------------------- */

/* FresQuo widgets emit their own <section class="band">, so Elementor's own
   section, column and widget wrappers must add no padding of their own —
   otherwise every band is double-spaced. */
.elementor-section-wrap > .elementor-section,
.elementor-widget-wrap,
.elementor-widget-container { padding: 0 !important; }

.elementor-section.elementor-section-boxed > .elementor-container { max-width: none; }

/* Elementor resets figure margins with

     .elementor .elementor-widget:not(.a):not(.b) figure { margin: 0 }

   which is four class-level components plus a type — nothing sane outranks it,
   and it was eating the space above the hero screenshot. Overriding a vendor
   reset is what !important is actually for; the alternative is a selector
   nobody can read. */
.elementor .stage { margin-top: clamp(76px, 10vw, 136px) !important; }

/* One motion system. Elementor marks animated elements invisible until its own
   observer fires; with its animation stylesheet dequeued that class would
   otherwise hide content permanently. */
.elementor-invisible { visibility: visible !important; }

/* Inside the editor an author must be able to see what they are editing, so
   reveals start settled rather than waiting for a scroll that never comes. */
.elementor-editor-active .reveal,
.elementor-editor-preview .reveal {
  opacity: 1;
  transform: none;
}

/* Comments and pagination -------------------------------------------------- */

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(38px, 5vw, 60px);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-links a.page-numbers:hover { border-color: var(--border-strong); color: var(--text); }
.nav-links .page-numbers.current { border-color: var(--brand); color: var(--text); }

.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding-block: 22px; border-bottom: 1px solid var(--border); }
.comment-form input:not([type="submit"]),
.comment-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
