/* ==========================================================================
   linkiir.com — design system

   Neutrals are a single cool Zinc ramp on pure white. Exactly one saturated
   colour carries the brand: electric indigo. Everything else is greyscale,
   which is what makes the accent read as loud without the page getting busy.
   Support colours (emerald, violet, amber, rose, sky) are for status and
   category only, never for decoration.

   Courier New stays as the technical texture, on eyebrows, labels and data.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* accent: the one saturated colour on the site */
  --blue:        #4f46e5;   /* indigo 600, primary  */
  --blue-700:    #4338ca;   /* indigo 700, pressed  */
  --blue-050:    #eef2ff;   /* indigo 050, tint     */

  /* support: status and category only */
  --green:       #059669;   /* emerald 600 */
  --green-050:   #ecfdf5;
  --purple:      #7c3aed;   /* violet 600  */
  --purple-050:  #f5f3ff;
  --amber:       #d97706;   /* amber 600   */
  --amber-050:   #fffbeb;
  --coral:       #e11d48;   /* rose 600    */
  --coral-050:   #fff1f2;
  --teal:        #0ea5e9;   /* sky 500     */
  --teal-050:    #f0f9ff;

  /* neutrals: Zinc */
  --ink:         #09090b;   /* zinc 950, headings   */
  --ink-2:       #3f3f46;   /* zinc 700, body       */
  --ink-3:       #71717a;   /* zinc 500, muted      */
  --ink-4:       #a1a1aa;   /* zinc 400, dim        */
  --line:        #e4e4e7;   /* zinc 200, hairline   */
  --line-2:      #f4f4f5;   /* zinc 100, soft rule  */

  /* surfaces */
  --bg:          #ffffff;   /* page                 */
  --bg-2:        #fafafa;   /* zinc 050, alt band   */
  --bg-3:        #f4f4f5;   /* zinc 100, sunken     */
  --white:       #ffffff;   /* cards                */

  /* dark surfaces (product UI mockups) */
  --dk-0:        #0a0a0a;
  --dk-1:        #121212;
  --dk-2:        #1a1a1a;
  --dk-3:        #242424;
  --dk-line:     #2a2a2a;
  --dk-text:     #e8e8e8;
  --dk-dim:      #8a8a8a;

  /* type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Courier New", Courier, "Nimbus Mono PS", monospace;

  /* metrics */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --nav-h: 68px;

  --shadow-1: 0 1px 2px rgba(9,9,11,.05), 0 2px 8px rgba(9,9,11,.04);
  --shadow-2: 0 2px 4px rgba(9,9,11,.05), 0 12px 32px rgba(9,9,11,.08);
  --shadow-3: 0 8px 16px rgba(9,9,11,.06), 0 32px 64px rgba(9,9,11,.12);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; margin: 0 0 .5em; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
h4 { font-size: 1.03rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
code, kbd, pre { font-family: var(--mono); }
::selection { background: #e0e7ff; color: var(--ink); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: 88px 0; position: relative; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 120px 0; }
.bg-white  { background: var(--white); }
.bg-soft  { background: var(--bg-2); }
.bg-blue   { background: var(--blue-050); }
.bg-green  { background: var(--green-050); }
.bg-ink    { background: var(--ink); color: #d4d4d8; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.divider-top { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 56px; align-items: center; }
.split-rev > *:first-child { order: 2; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1rem;
  display: block;
  font-weight: 700;
}
.kicker.k-green  { color: var(--green); }
.kicker.k-purple { color: var(--purple); }
.kicker.k-amber  { color: #b45309; }
.kicker.k-coral  { color: #be123c; }
.kicker.k-dim    { color: var(--ink-4); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-3); max-width: 62ch; line-height: 1.55; }
.mono { font-family: var(--mono); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.muted { color: var(--ink-3); }
.dim { color: var(--ink-4); }
.mw-60 { max-width: 60ch; }
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.75rem}.mt-4{margin-top:2.5rem}.mt-5{margin-top:3.5rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.75rem}.mb-4{margin-bottom:2.5rem}

/* Highlighter bar. Painted as a background band so it survives a line wrap:
   the old absolutely-positioned bar forced white-space:nowrap, which let long
   headings overflow their grid column. */
.hl {
  --hl-c: rgba(79,70,229, .17);
  background-image: linear-gradient(to bottom,
    transparent 68%, var(--hl-c) 68%, var(--hl-c) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hl-green { --hl-c: rgba(5,150,105, .17); }
.hl-blue  { --hl-c: rgba(14,165,233, .20); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  padding: .78rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: #27272a; color: #fff; box-shadow: var(--shadow-2); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 2px 12px rgba(79,70,229,.28); }
.btn-blue:hover { background: var(--blue-700); color: #fff; box-shadow: 0 6px 20px rgba(79,70,229,.34); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 2px 12px rgba(5,150,105,.26); }
.btn-green:hover { background: #047857; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); border-color: var(--ink-4); color: var(--ink); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.center .btn-row { justify-content: center; }
.arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.txtlink {
  font-weight: 600; display: inline-flex; align-items: center; gap: .4rem;
  font-size: .95rem;
}
.txtlink:hover .arrow { transform: translateX(3px); }

/* ---------- badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 6px;
  background: var(--blue-050); color: var(--blue-700);
  border: 1px solid rgba(79,70,229,.16);
}
.badge.b-green  { background: var(--green-050);  color: #047857; border-color: rgba(5,150,105,.2); }
.badge.b-amber  { background: var(--amber-050);  color: #96600a; border-color: rgba(217,119,6,.28); }
.badge.b-purple { background: var(--purple-050); color: #6d28d9; border-color: rgba(124,58,237,.2); }
.badge.b-coral  { background: var(--coral-050);  color: #be123c; border-color: rgba(225,29,72,.22); }
.badge.b-gray   { background: #f4f4f5; color: var(--ink-3); border-color: var(--line); }
.pill-note {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .9rem .4rem .55rem; color: var(--ink-2); box-shadow: var(--shadow-1);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.dot-pulse { position: relative; }
.dot-pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--green); opacity: 0; animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.7); opacity: .9 } 100% { transform: scale(1.6); opacity: 0 } }

/* ---------- nav ---------- */
.nav-spacer { height: var(--nav-h); }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(9,9,11,.05); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand svg { display: block; }
.brand-word { font-size: 1.28rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 6px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .5rem .7rem; border-radius: 8px;
  font-size: .935rem; font-weight: 550; color: var(--ink-2); cursor: pointer;
  background: none; border: 0; font-family: var(--sans);
}
.nav-link:hover { background: rgba(9,9,11,.05); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--blue); }
.nav-link .chev { width: 10px; height: 10px; opacity: .5; transition: transform .2s ease; }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }
.nav-item.open > .nav-link { background: rgba(9,9,11,.05); color: var(--ink); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 310px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-3); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-item { display: flex; gap: 12px; padding: 10px 11px; border-radius: 10px; align-items: flex-start; }
.dd-item:hover { background: var(--bg-2); }
.dd-ico {
  flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue); margin-top: 1px;
}
.dd-ico.i-green  { background: var(--green-050);  color: #047857; }
.dd-ico.i-purple { background: var(--purple-050); color: #6d28d9; }
.dd-ico.i-amber  { background: var(--amber-050);  color: #b45309; }
.dd-ico.i-coral  { background: var(--coral-050);  color: #be123c; }
.dd-t { font-size: .93rem; font-weight: 650; color: var(--ink); display: flex; align-items: center; gap: .35rem; line-height: 1.3; }
.dd-d { font-size: .81rem; color: var(--ink-3); line-height: 1.4; margin: 2px 0 0; }
.dd-sep { height: 1px; background: var(--line-2); margin: 6px 8px; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-mob-cta { display: none; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--line); border-radius: 9px;
  width: 40px; height: 38px; cursor: pointer; place-items: center; color: var(--ink);
}

/* ---------- hero ---------- */
.hero { padding: 76px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); gap: 52px; align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); margin-bottom: 1.9rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; font-family: var(--mono); font-size: .8rem; color: var(--ink-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }

/* soft background blobs */
.blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob.b1 { width: 480px; height: 480px; background: #e0e7ff; top: -190px; right: -120px; }
.blob.b2 { width: 400px; height: 400px; background: #ede9fe; bottom: -220px; left: -140px; opacity: .5; }
.blob.b3 { width: 320px; height: 320px; background: #e0f2fe; top: 120px; left: 42%; opacity: .34; }

/* ---------- flow diagram: lines with dots travelling along them ---------
   Two SVGs, one wide and one stacked, swapped at 860px. Both use SMIL
   animateMotion with an <mpath> pointing at the same path the line is drawn
   from, so a dot can never drift off its wire no matter how the box scales.
   site.js pauses every animation here when prefers-reduced-motion is set.
   ----------------------------------------------------------------------- */
.flowviz { position: relative; }
.flow-svg { display: block; width: 100%; height: auto; }
.flow-svg .fv-wire   { fill: none; stroke: var(--line); stroke-width: 1.5; }
.flow-svg .fv-box    { fill: var(--white); stroke: var(--line); stroke-width: 1.5; }
.flow-svg .fv-hub    { fill: var(--ink); stroke: var(--ink); }
.flow-svg .fv-name   { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: var(--ink); }
.flow-svg .fv-sub    { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; fill: var(--ink-4); text-transform: uppercase; }
.flow-svg .fv-hub-name { font-family: var(--sans); font-size: 17px; font-weight: 700; fill: #ffffff; }
.flow-svg .fv-hub-sub  { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; fill: #a5b4fc; }
.flow-svg .fv-in     { fill: var(--blue); }
.flow-svg .fv-out    { fill: var(--green); }
.flow-svg .fv-halo-in  { fill: var(--blue);  opacity: .18; }
.flow-svg .fv-halo-out { fill: var(--green); opacity: .18; }

.flow-svg.is-stacked { display: none; }
@media (max-width: 860px) {
  .flow-svg.is-wide { display: none; }
  .flow-svg.is-stacked { display: block; max-width: 420px; margin: 0 auto; }
}

/* legend under the diagram */
.flow-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; }
.flow-key span {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}
.flow-key i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.flow-key i.k-in  { background: var(--blue); }
.flow-key i.k-out { background: var(--green); }
.flow-key i.k-hub { background: var(--ink); }

/* ---------- hero wire backdrop -----------------------------------------
   The same idea at a whisper: long curves crossing the hero with dots
   drifting along them. Masked to stay clear of the headline and the video.
   ----------------------------------------------------------------------- */
.wirebg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  mask-image: radial-gradient(ellipse 68% 54% at 50% 42%, transparent 28%, #000 76%);
  -webkit-mask-image: radial-gradient(ellipse 68% 54% at 50% 42%, transparent 28%, #000 76%);
}
.wirebg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wirebg .wb-wire { fill: none; stroke: #d9d9de; stroke-width: 1.4; }
.wirebg .wb-dot  { fill: var(--blue); opacity: .9; }
.wirebg .wb-dot.alt { fill: var(--green); }
@media (max-width: 720px) { .wirebg { display: none; } }

.dotgrid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(9,9,11,.09) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
}

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: #d4d4d8; }
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card-ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue); margin-bottom: 16px;
}
.card-ico.i-green  { background: var(--green-050);  color: #047857; }
.card-ico.i-purple { background: var(--purple-050); color: #6d28d9; }
.card-ico.i-amber  { background: var(--amber-050);  color: #b45309; }
.card-ico.i-coral  { background: var(--coral-050);  color: #be123c; }
.card-ico.i-teal   { background: var(--teal-050);   color: #0a8fa8; }
.card-tint-blue   { background: linear-gradient(160deg, var(--blue-050), var(--white) 62%); }
.card-tint-green  { background: linear-gradient(160deg, var(--green-050), var(--white) 62%); }
.card-tint-amber  { background: linear-gradient(160deg, var(--amber-050), var(--white) 62%); }
.card-tint-purple { background: linear-gradient(160deg, var(--purple-050), var(--white) 62%); }

.feat-list { list-style: none; padding: 0; margin: 0; }
.feat-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .85rem; font-size: .95rem; min-width: 0; }
.feat-list li:last-child { margin-bottom: 0; }
.feat-list li > span:last-child, .feat-list li > *:not(.check):not(.x-mark) { min-width: 0; overflow-wrap: anywhere; }
.feat-list a { overflow-wrap: anywhere; }
.check {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green-050);
  color: #047857; display: grid; place-items: center; margin-top: 1px;
}
.check.c-blue { background: var(--blue-050); color: var(--blue); }
.x-mark { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #f4f4f5; color: var(--ink-4); display: grid; place-items: center; margin-top: 1px; }

/* ---------- stats ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-1); }
.stat { padding: 30px 26px; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat-n { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-l { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-top: 10px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; position: relative; padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 52s; }
@keyframes slide { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.mq-chip {
  font-family: var(--mono); font-size: .86rem; font-weight: 700; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1.05rem; white-space: nowrap; box-shadow: var(--shadow-1);
  display: inline-flex; align-items: center; gap: .5rem;
}
.mq-chip .sq { width: 6px; height: 6px; border-radius: 2px; background: var(--blue); flex: none; }
.mq-chip:nth-child(3n) .sq { background: var(--green); }
.mq-chip:nth-child(3n+1) .sq { background: var(--amber); }
.mq-chip:nth-child(5n) .sq { background: var(--purple); }

/* ---------- code block ---------- */
.code {
  background: var(--dk-1); border: 1px solid var(--dk-line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-3); font-family: var(--mono);
}
.code-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--dk-2); border-bottom: 1px solid var(--dk-line); }
.code-tabs { display: flex; gap: 4px; overflow-x: auto; }
.code-tab {
  font-family: var(--mono); font-size: .78rem; color: var(--dk-dim); background: none; border: 0;
  padding: .35rem .7rem; border-radius: 6px; cursor: pointer; white-space: nowrap;
}
.code-tab:hover { color: var(--dk-text); background: rgba(255,255,255,.05); }
.code-tab.on { color: var(--dk-text); background: rgba(255,255,255,.09); }
.code-name { font-size: .78rem; color: var(--dk-dim); margin-left: auto; }
.code-body { padding: 16px 0; overflow-x: auto; font-size: .82rem; line-height: 1.72; }
.code-body pre { margin: 0; }
.code-pane { display: none; }
.code-pane.on { display: block; }
.ln { display: block; padding: 0 18px 0 0; white-space: pre; color: #d4d4d4; }
.ln::before {
  content: attr(data-n); display: inline-block; width: 34px; padding-right: 14px;
  text-align: right; color: #4a4a4a; user-select: none;
}
.t-key  { color: #c586c0; }
.t-str  { color: #86e38b; }
.t-num  { color: #b5cea8; }
.t-com  { color: #6a9955; font-style: italic; }
.t-fn   { color: #7dd3fc; }
.t-prop { color: #9cdcfe; }
.t-punc { color: #8a8a8a; }
.t-warn { color: #d97706; }

/* ---------- product UI frame ---------- */
.frame {
  border-radius: var(--r-lg); overflow: hidden; background: var(--dk-0);
  border: 1px solid #262626; box-shadow: var(--shadow-3);
}
.frame-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: #171717; border-bottom: 1px solid var(--dk-line);
}
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.frame-dots i:nth-child(1) { background: #ff5f57; }
.frame-dots i:nth-child(2) { background: #febc2e; }
.frame-dots i:nth-child(3) { background: #28c840; }
.frame-url {
  font-family: var(--mono); font-size: .72rem; color: #7a7a7a; background: #101010;
  border: 1px solid #262626; border-radius: 6px; padding: .25rem .7rem; margin: 0 auto;
}
.frame-cap {
  font-family: var(--mono); font-size: .76rem; color: var(--ink-4);
  margin-top: 12px; text-align: center; letter-spacing: .03em;
}
.frame-float { position: relative; }
.frame-tag {
  position: absolute; z-index: 3; background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: .5rem .8rem; box-shadow: var(--shadow-2);
  font-family: var(--mono); font-size: .74rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: .45rem;
}

/* ---------- flow diagram (animated) ---------- */
.flow { display: flex; align-items: stretch; gap: 0; flex-wrap: nowrap; overflow-x: auto; padding: 4px; }
.flow-node {
  flex: 1 1 0; min-width: 132px; background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--r); padding: 14px; text-align: center; box-shadow: var(--shadow-1);
}
.flow-node .fn-k { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.flow-node .fn-t { font-size: .88rem; font-weight: 700; color: var(--ink); margin-top: 4px; }
.flow-node.n-src  { border-color: rgba(79,70,229,.4);  background: linear-gradient(180deg, var(--blue-050), #fff 70%); }
.flow-node.n-tx   { border-color: rgba(124,58,237,.4); background: linear-gradient(180deg, var(--purple-050), #fff 70%); }
.flow-node.n-dst  { border-color: rgba(5,150,105,.4); background: linear-gradient(180deg, var(--green-050), #fff 70%); }
.flow-wire { flex: 0 0 46px; position: relative; align-self: center; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-4) 0 5px, transparent 5px 10px); opacity: .5; }
.flow-wire::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 3px rgba(79,70,229,.18);
  animation: travel 2.4s cubic-bezier(.4,0,.6,1) infinite;
}
.flow-wire:nth-of-type(2)::after { animation-delay: .5s; background: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,.18); }
.flow-wire:nth-of-type(3)::after { animation-delay: 1s; background: var(--green); box-shadow: 0 0 0 3px rgba(5,150,105,.18); }
@keyframes travel { 0% { left: -4px; opacity: 0 } 15% { opacity: 1 } 85% { opacity: 1 } 100% { left: calc(100% - 4px); opacity: 0 } }
@keyframes travel-v { 0% { top: -4px; opacity: 0 } 15% { opacity: 1 } 85% { opacity: 1 } 100% { top: calc(100% - 4px); opacity: 0 } }

/* stack the flow vertically on narrow screens so nothing forces the page wide */
@media (max-width: 760px) {
  .flow { flex-direction: column; align-items: stretch; overflow: visible; gap: 0; }
  .flow-node { min-width: 0; flex: 0 0 auto; }
  .flow-wire {
    flex: 0 0 26px; width: 2px; height: 26px; align-self: center;
    background: repeating-linear-gradient(180deg, var(--ink-4) 0 5px, transparent 5px 10px);
  }
  .flow-wire::after { left: -3px; top: -4px; animation-name: travel-v; }
}

/* ---------- chat mockup ---------- */
.chat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.chat-hd { display: flex; align-items: center; gap: .6rem; padding: 13px 18px; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.chat-hd .ch-t { font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.msg { display: flex; gap: 11px; align-items: flex-start; }
.av {
  flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--mono); font-size: .7rem; font-weight: 700; color: #fff; background: var(--ink-3);
}
.av.a-blue { background: var(--blue); } .av.a-green { background: var(--green); }
.av.a-purple { background: var(--purple); } .av.a-amber { background: #e8990f; }
.msg-b { min-width: 0; }
.msg-hd { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.msg-who { font-size: .88rem; font-weight: 700; color: var(--ink); }
.msg-org { font-family: var(--mono); font-size: .68rem; color: var(--ink-4); background: #f4f4f5; border-radius: 4px; padding: .1rem .35rem; }
.msg-time { font-family: var(--mono); font-size: .68rem; color: var(--ink-4); }
.msg-t { font-size: .92rem; color: var(--ink-2); margin: 3px 0 0; line-height: 1.5; }
.msg-t code { background: #f4f4f5; border-radius: 4px; padding: .08em .35em; font-size: .86em; color: #b45309; }
.typing { display: inline-flex; gap: 3px; align-items: center; padding: .3rem 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); animation: bounce 1.3s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .18s } .typing i:nth-child(3) { animation-delay: .36s }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .4 } 30% { transform: translateY(-5px); opacity: 1 } }

/* ---------- table ---------- */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: var(--shadow-1); }
.tbl-scroll { overflow-x: auto; max-height: 74vh; overflow-y: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.tbl thead th {
  position: sticky; top: 0; z-index: 2; background: var(--bg-2);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line);
  white-space: nowrap; font-weight: 700;
}
table.tbl thead th.c { text-align: center; }
table.tbl tbody td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.tbl tbody td.c { text-align: center; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: #ffffff; }
.ad-name { display: flex; align-items: center; gap: 11px; min-width: 220px; }
.ad-logo {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; color: #fff; letter-spacing: -.02em;
}
.ad-t { display: block; font-weight: 650; color: var(--ink); font-size: .92rem; line-height: 1.25; }
.ad-id { display: block; font-family: var(--mono); font-size: .7rem; color: var(--ink-4); margin-top: 1px; }
.yes { color: var(--green); }
.no  { color: #d4d4d8; }
.tick { display: inline-grid; place-items: center; width: 20px; height: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cat-pill {
  display: inline-block; font-family: var(--mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .01em; padding: .25rem .55rem; border-radius: 6px; white-space: nowrap;
  color: var(--cc, var(--ink-3)); background: color-mix(in srgb, var(--cc, #a1a1aa) 11%, #fff);
  border: 1px solid color-mix(in srgb, var(--cc, #a1a1aa) 26%, #fff);
}
@supports not (color: color-mix(in srgb, red 10%, white)) {
  .cat-pill { color: var(--ink-3); background: #f4f1ea; border-color: var(--line); }
}
.net-toolbar {
  position: sticky; top: var(--nav-h); z-index: 20; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.net-empty {
  display: none; padding: 56px 24px; text-align: center; color: var(--ink-3);
}

/* ---------- downloads ---------- */
.dl-path {
  display: block; min-width: 280px; font-family: var(--mono); font-size: .78rem; color: var(--ink);
  background: #f6f3ec; border: 1px solid var(--line); border-radius: 7px;
  padding: .45rem .6rem; line-height: 1.5; overflow-wrap: anywhere;
}
.dl-path .dl-dir { display: block; color: var(--ink-4); }
.dl-note { display: block; font-size: .78rem; color: var(--ink-4); margin-top: 6px; max-width: 46ch; }
.gate {
  max-width: 620px; margin: 0 auto; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-2); position: relative;
}
.gate-lock {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue); margin-bottom: 18px;
}
.unlocked-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--green-050); border: 1px solid rgba(5,150,105,.24);
  border-radius: var(--r); padding: .7rem 1rem; font-size: .88rem; color: #047857;
}
.unlocked-bar .ub-r { margin-left: auto; }
table.tbl td .btn { white-space: nowrap; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters-right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
@media (max-width: 720px) { .filters-right { margin-left: 0; width: 100%; } .filters-right .btn { flex: 1; justify-content: center; } }
.search-box { position: relative; flex: 1 1 240px; min-width: 220px; max-width: 380px; }
.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-4); pointer-events: none; }
.search-box input {
  width: 100%; font-family: var(--mono); font-size: .88rem; color: var(--ink);
  padding: .68rem .9rem .68rem 2.35rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); outline: none;
}
.search-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,70,229,.13); }
.sel {
  font-family: var(--mono); font-size: .85rem; color: var(--ink-2); background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; padding: .68rem 2rem .68rem .8rem; outline: none;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238b95a6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center;
}
.sel:focus { border-color: var(--blue); }
.chipbar { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--ink-3);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .85rem; cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.chip:hover { border-color: var(--ink-4); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.count-row { display: flex; flex-wrap: wrap; gap: 8px; }
.count-card {
  flex: 1 1 150px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px;
}
.count-card .cn { font-size: 1.55rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.count-card .cl { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); margin-top: 7px; }

/* ---------- pricing ---------- */
.seg {
  display: inline-flex; background: #f4f4f5; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px;
}
.seg button {
  font-family: var(--mono); font-size: .82rem; font-weight: 700; color: var(--ink-3);
  background: none; border: 0; border-radius: 999px; padding: .5rem 1rem; cursor: pointer;
  transition: all .16s ease; white-space: nowrap;
}
.seg button:hover { color: var(--ink); }
.seg.seg-fill { width: 100%; }
.seg.seg-fill button { flex: 1; }
.seg button.on { background: var(--white); color: var(--ink); box-shadow: var(--shadow-1); }
.switch { display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; user-select: none; position: relative; }
.switch input { position: absolute; left: 8px; top: 12px; width: 1px; height: 1px; opacity: 0; margin: 0; }
.switch .track {
  width: 46px; height: 26px; border-radius: 999px; background: #ddd8ce; position: relative;
  transition: background .2s ease; flex: none;
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s cubic-bezier(.3,1.6,.6,1);
}
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { box-shadow: 0 0 0 3px rgba(5,150,105,.28); }
.switch .sw-l { font-family: var(--mono); font-size: .85rem; font-weight: 700; color: var(--ink-2); }

.price-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); overflow: hidden;
}
.price-cfg { padding: 30px; border-bottom: 1px solid var(--line-2); display: grid; gap: 26px; }
.cfg-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; }
.cfg-t { font-size: 1rem; font-weight: 700; color: var(--ink); }
.cfg-d { font-size: .86rem; color: var(--ink-3); margin: 3px 0 0; max-width: 46ch; }
.price-out { padding: 30px; background: linear-gradient(160deg, var(--bg-2), var(--white) 70%); }
.price-big { display: flex; align-items: flex-start; gap: .3rem; }
.price-cur { font-size: 1.4rem; font-weight: 700; color: var(--ink-3); margin-top: .55rem; }
.price-num { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-per { font-family: var(--mono); font-size: .82rem; color: var(--ink-4); align-self: flex-end; margin-bottom: .55rem; letter-spacing: .04em; }
.price-lines { margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 16px; }
.pl { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .84rem; padding: .4rem 0; color: var(--ink-2); }
.pl .pl-v { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl.pl-total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .8rem; font-size: .95rem; }
.pl.pl-off .pl-v { color: var(--green); }

.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: start; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-1); position: relative; }
.tier.pop { border-color: var(--blue); box-shadow: 0 4px 28px rgba(79,70,229,.14); }
.tier-flag {
  position: absolute; top: -11px; left: 28px; background: var(--blue); color: #fff;
  font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: 5px;
}
.tier-n { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); font-weight: 700; }
.tier-p { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.035em; margin: 10px 0 2px; line-height: 1; }
.tier-sub { font-family: var(--mono); font-size: .76rem; color: var(--ink-4); }
.tier-d { font-size: .9rem; color: var(--ink-3); margin: 14px 0 20px; }

/* ---------- compare table ---------- */
.cmp { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--white); }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); text-align: left; }
.cmp thead th { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.cmp td.c, .cmp th.c { text-align: center; }
.cmp tbody tr:hover { background: #ffffff; }
.cmp .grp td { background: var(--bg-2); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 44px 20px 0; font-size: 1.03rem; font-weight: 650; color: var(--ink);
  position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.35rem; color: var(--ink-4); font-weight: 400; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 0 22px; color: var(--ink-3); font-size: .96rem; max-width: 72ch; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- timeline / steps ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 20px; padding-bottom: 32px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--blue);
  width: 40px; height: 40px; border-radius: 11px; background: var(--blue-050);
  display: grid; place-items: center; border: 1px solid rgba(79,70,229,.18);
}
.step::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 6px; width: 1.5px; background: var(--line); }
.step:last-child::after { display: none; }
.step h4 { margin-bottom: .3rem; font-size: 1.05rem; }
.step p { font-size: .93rem; color: var(--ink-3); margin: 0; }

/* ---------- quote ---------- */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-1); }
.quote-t { font-size: clamp(1.1rem, 1.9vw, 1.42rem); color: var(--ink); font-weight: 550; line-height: 1.45; letter-spacing: -.015em; margin: 0 0 20px; }
.quote-by { display: flex; align-items: center; gap: 12px; }
.quote-by .qn { font-size: .92rem; font-weight: 700; color: var(--ink); }
.quote-by .qr { font-family: var(--mono); font-size: .76rem; color: var(--ink-4); }

/* ---------- cta band ---------- */
.cta-band {
  background: var(--ink); color: #d4d4d8; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 62px);
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #9aa6ba; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0);
  background-size: 24px 24px; opacity: .7;
  mask-image: radial-gradient(ellipse 70% 90% at 88% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 88% 20%, #000, transparent 70%);
}
.cta-band > * { position: relative; }

/* ---------- page hero ---------- */
.phero { padding: 66px 0 44px; position: relative; overflow: hidden; }
.phero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.crumbs { font-family: var(--mono); font-size: .76rem; color: var(--ink-4); margin-bottom: 1.1rem; letter-spacing: .04em; }
.crumbs a { color: var(--ink-4); } .crumbs a:hover { color: var(--blue); }
.crumbs span { opacity: .5; margin: 0 .45rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #a1a1aa; padding: 62px 0 30px; font-size: .9rem; }
.footer h5 {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; margin: 0 0 16px; font-weight: 700;
}
.footer a { color: #a1a1aa; display: inline-block; padding: .2rem 0; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0; }
.footer-brand .brand-word { color: #fff; }
.footer-bot {
  margin-top: 46px; padding-top: 24px; border-top: 1px solid #1d2637;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .76rem; color: #71717a;
}
.footer-bot a { color: #71717a; }

/* ---------- forms ---------- */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
.field label {
  display: block; font-family: var(--mono); font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: .72rem .85rem; outline: none; transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,70,229,.13); background: #fff;
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--coral); }
@media (max-width: 720px) { .fields { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .07s } .rv-d2 { transition-delay: .14s } .rv-d3 { transition-delay: .21s } .rv-d4 { transition-delay: .28s }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; top: var(--nav-h); left: 0; right: 0; max-height: calc(100vh - var(--nav-h));
    overflow-y: auto; background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px; box-shadow: var(--shadow-3);
  }
  .nav.menu-open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 8px 12px;
    padding: 0 0 0 6px; min-width: 0; display: none;
  }
  .nav.menu-open .nav-item.open .dropdown { display: block; }
  .nav-link { justify-content: space-between; width: 100%; padding: .8rem .7rem; font-size: 1rem; }
  /* .nav-links is hidden here, so nothing pushes the right-hand group over — do it explicitly */
  .nav-cta { margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
  .nav.menu-open .nav-mob-cta {
    display: flex; flex-direction: column; gap: 8px; padding: 12px 6px 4px;
    border-top: 1px solid var(--line-2); margin-top: 8px;
  }
  .nav-mob-cta .btn { justify-content: center; }
  /* product UI mockups: scale to fit rather than force a scrollbar */
  .frame .gu { zoom: .84; }
  .frame { overflow-x: auto; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split-rev > *:first-child { order: 0; }
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .tier-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .nav-burger { margin-left: auto; }
  .nav-inner { gap: 14px; }
  .frame .gu { zoom: .66; }
  /* comfortable touch targets */
  .chip { padding: .62rem 1rem; font-size: .8rem; }
  .seg button { padding: .7rem 1rem; }
  .txtlink { padding: .3rem 0; }
  .faq summary { padding-top: 22px; padding-bottom: 22px; }
  .section { padding: 62px 0; }
  .section-lg { padding: 76px 0; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cfg-row { grid-template-columns: 1fr; gap: 12px; }
  .frame-url { display: none; }
  .hero { padding: 48px 0 44px; }
}
@media (max-width: 520px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .stat:last-child { border-bottom: 0; }
  .seg { width: 100%; overflow-x: auto; }
}

/* ---------- roadmap rows ---------- */
.road { display: grid; gap: 0; }
.road-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px 0; border-top: 1px solid var(--line-2);
}
.road-row:first-child { border-top: 0; padding-top: 0; }
.road-row:last-child { padding-bottom: 0; }
.road-row .badge { margin-top: 3px; white-space: nowrap; }
.road-row h4 { font-size: 1rem; margin: 0 0 .3rem; }
@media (max-width: 520px) {
  .road-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ---------- centred hero with a product video ---------- */
/* copy, video and the spec line read as one block, so keep the gaps tight */
.hero-centered { padding: 60px 0 64px; }
.hero-centered .hero-copy { max-width: 780px; margin: 0 auto 30px; }
.hero-centered .hero-copy h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin-bottom: .55em; }
.hero-centered .hero-copy .lead { margin-left: auto; margin-right: auto; max-width: 60ch; }
.hero-centered .hero-copy .btn-row { margin-top: 1.6rem; }
.hero-centered .hero-meta { justify-content: center; margin-top: 1.5rem; }
.hero-video { max-width: 940px; margin: 0 auto; }

/* responsive 16:9 embed */
.video-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
}
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; }
.video-embed iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0; display: block;
}

/* inline version used further down a page */
.video-inline { max-width: 860px; margin: 0 auto; }

@media (max-width: 720px) {
  .hero-centered { padding: 38px 0 46px; }
  .hero-centered .hero-copy { margin-bottom: 24px; }
}

/* ---------- form submission status ---------- */
.form-status {
  margin: 1rem 0 0;
  padding: .8rem 1rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  line-height: 1.5;
}
.form-status.is-ok {
  background: var(--green-050);
  border: 1px solid rgba(5,150,105,.26);
  color: #047857;
}
.form-status.is-err {
  background: var(--coral-050);
  border: 1px solid rgba(225,29,72,.28);
  color: #be123c;
}
.form-status a { color: inherit; text-decoration: underline; }
button[type="submit"][disabled] { opacity: .65; cursor: default; transform: none; }

/* Integration Network toolbar: selects otherwise size to their longest option
   ("Data platforms & warehouses"), which pushed the buttons onto a second row. */
.net-toolbar #net-cat    { width: 200px; }
.net-toolbar #net-dir    { width: 176px; }
.net-toolbar #net-status { width: 158px; }
.net-toolbar .sel { text-overflow: ellipsis; }
@media (max-width: 900px) {
  .net-toolbar #net-cat,
  .net-toolbar #net-dir,
  .net-toolbar #net-status { width: auto; flex: 1 1 auto; }
}
