/* ============================================================
   Web Text Expander — shared site styles
   tokens + base + landing + nav + footer + article-index
   ============================================================ */

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  /* Brand / accent (teal–cyan) */
  --teal: #1EA8BA;
  --teal-bright: #2DC4D8;
  --teal-deep: #16808F;
  --teal-ink: #0E5862;
  --teal-soft: #CFEEF3;
  --teal-tint: #ECF8FA;

  /* Browser brand colors */
  --chrome: #2f72e8;
  --firefox: #f0772b;

  /* Dark surfaces (ink) */
  --ink-950: #0b0d0f;
  --ink-900: #111417;
  --ink-850: #161a1e;
  --ink-800: #1c2126;
  --ink-line: #2a3036;

  /* Light surfaces & text */
  --bg: #ffffff;
  --bg-tint: #f4f7f9;
  --bg-tint-2: #eef3f5;
  --ink: #0f1b1f;
  --ink-2: #33454b;
  --ink-3: #647178;
  --ink-4: #9aa6ab;
  --line: #e4ebee;
  --line-2: #d3dde1;

  /* Accent — warm */
  --gold: #f6c12e;

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing / radius / shadow / motion */
  --maxw: 1180px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(16,30,35,.06), 0 2px 6px rgba(16,30,35,.05);
  --sh-md: 0 4px 12px rgba(16,30,35,.07), 0 12px 28px rgba(16,30,35,.08);
  --sh-lg: 0 8px 24px rgba(16,30,35,.10), 0 28px 60px rgba(16,30,35,.12);
  --sh-teal: 0 8px 22px rgba(30,168,186,.28);
  --ease: cubic-bezier(.22,1,.36,1);

  /* Circuit-board texture (inlined) */
  --circuit: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22540%22%20height%3D%22540%22%20viewBox%3D%220%200%20540%20540%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%220.07%22%20stroke-width%3D%221.4%22%3E%3Cpath%20d%3D%22M40%2040%20H180%20V120%20H300%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M300%20120%20V260%20H460%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M40%20200%20H120%20V340%20H260%20V460%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M460%2040%20V160%20H380%20V300%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M100%20480%20H240%20V380%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M500%20480%20V360%20H400%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M200%2060%20V160%20H120%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M340%20460%20H460%20V380%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M60%20300%20H40%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M270%20200%20V40%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.1%22%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2240%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22120%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22460%22%20cy%3D%22260%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%22200%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22260%22%20cy%3D%22460%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22460%22%20cy%3D%2240%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22380%22%20cy%3D%22300%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22240%22%20cy%3D%22380%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22500%22%20cy%3D%22360%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%2260%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22340%22%20cy%3D%22460%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22270%22%20cy%3D%22200%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3Ccircle%20cx%3D%22120%22%20cy%3D%22340%22%20r%3D%224%22%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* ============================================================
   Base resets & element defaults
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.section-pad { padding: 100px 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-head { max-width: 690px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.section-head p { color: var(--ink-3); margin-top: 16px; font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 14px 24px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 19px; height: 19px; }
.btn .btn-ico { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--sh-teal); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-chrome { background: var(--chrome); color: #fff; box-shadow: 0 8px 22px rgba(47,114,232,.28); }
.btn-chrome:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-firefox { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-firefox:hover { transform: translateY(-2px); border-color: var(--firefox); box-shadow: var(--sh-sm); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.on-dark .btn-firefox { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); }
.on-dark .btn-firefox:hover { border-color: var(--firefox); background: rgba(255,255,255,.1); }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }

/* ---------- Logo mark ---------- */
.logo-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--ink-950); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 22px; height: 22px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 70px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  letter-spacing: .01em; transition: color .15s;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-mark-text { font-weight: 700; }

/* ============================================================
   HERO — shared + Hero B (light + typing demo)
   ============================================================ */
.hero { display: none; }
.hero.active { display: block; }
.heroB { background: linear-gradient(180deg, var(--teal-tint), #fff 70%); overflow: hidden; }
.heroB .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 92px 0 100px; }
.heroB h1 { font-size: clamp(42px, 5.4vw, 68px); font-weight: 700; margin-top: 22px; }
.heroB h1 .accent { color: var(--teal-deep); }
.heroB .sub { color: var(--ink-3); font-size: 20px; max-width: 460px; margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 30px; color: var(--ink-3); font-size: 14.5px; }
.heroB .mini-logos { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; margin-top: 38px; }
.heroB .mini-logos .ml-lead { font-size: 13.5px; color: var(--ink-3); font-weight: 600; flex: none; }
.heroB .mini-logos .ml-row { display: flex; align-items: center; gap: 10px; overflow: hidden; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%); mask-image: linear-gradient(90deg, #000 60%, transparent 100%); }
.heroB .mini-logos .ml-logo { width: 30px; height: 30px; flex: none; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--sh-sm); transition: transform .18s var(--ease); }
.heroB .mini-logos .ml-logo:hover { transform: translateY(-3px); }
.heroB .mini-logos .ml-logo svg { width: 18px; height: 18px; }
.heroB .mini-logos .ml-logo img { width: 22px; height: 22px; object-fit: contain; }

/* Typing demo card */
.demo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.demo-body { padding: 26px 26px 30px; }
.demo-to { font-size: 13px; color: var(--ink-4); margin-bottom: 8px; }
.demo-field {
  min-height: 168px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px;
  font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
}
.demo-field .typed { color: var(--ink); }
.demo-trigger { font-family: var(--font-mono); font-weight: 700; color: var(--teal-deep); background: var(--teal-tint); border-radius: 6px; padding: 1px 6px; }
.demo-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--teal); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.demo-foot kbd {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; background: var(--bg-tint-2);
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 3px 8px; color: var(--ink-2);
}
.demo-toast {
  position: absolute; right: 22px; top: 26px; background: var(--ink-950); color: #fff;
  font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--sh-lg);
  opacity: 0; transform: translateY(-6px); transition: all .3s var(--ease); white-space: nowrap;
}
.demo-toast.show { opacity: 1; transform: translateY(0); }
.demo-toast .tk { color: var(--teal-bright); display: inline-flex; }
.demo-toast .tk svg { width: 14px; height: 14px; }

/* play-demo (used by How section) */
.play-demo {
  max-width: 760px; margin: 0 auto; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: 14px; box-shadow: var(--sh-lg); backdrop-filter: blur(6px);
}
.play-demo .inner { background: var(--ink-900); border: 1px solid var(--ink-line); border-radius: var(--r-lg); padding: 22px 24px; text-align: left; }
.play-demo .inner .lbl { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; }
.play-demo .inner .txt { font-size: 18px; line-height: 1.6; margin-top: 12px; min-height: 92px; color: rgba(255,255,255,.92); }
.play-demo .inner .demo-trigger { background: rgba(30,168,186,.2); color: var(--teal-bright); }
.play-demo .inner .demo-caret { background: var(--teal-bright); }

/* ---- main hero video link ---- */
.hero-video { display: inline-flex; align-items: center; gap: 13px; margin-top: 26px; text-decoration: none; cursor: pointer; width: fit-content; }
.hero-video .pp {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal-deep);
  transition: background .25s, color .25s, box-shadow .25s;
}
.hero-video .pp svg { width: 16px; height: 16px; margin-left: 2px; }
.hero-video .hv-txt { display: flex; flex-direction: column; line-height: 1.3; }
.hero-video .hv-txt b { font-size: 15.5px; color: var(--ink); font-weight: 700; }
.hero-video .hv-txt span { font-size: 13.5px; color: var(--ink-3); }
.hero-video:hover .pp { background: var(--teal); color: #fff; box-shadow: var(--sh-teal); }

/* ---- per-feature video link ---- */
.fvideo {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--teal-deep);
  text-decoration: none; cursor: pointer; transition: gap .2s var(--ease), color .2s;
}
.fvideo .pp { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-deep); transition: background .2s, color .2s; }
.fvideo .pp svg { width: 11px; height: 11px; margin-left: 1px; }
.fvideo:hover { color: var(--teal); gap: 12px; }
.fvideo:hover .pp { background: var(--teal); color: #fff; }

/* ---- video lightbox ---- */
.vid-modal {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 28px; background: rgba(8,11,13,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s var(--ease);
}
.vid-modal.open { display: flex; opacity: 1; }
.vid-dialog {
  width: min(900px, 100%); background: var(--ink-950); border: 1px solid var(--ink-line);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  transform: translateY(12px) scale(.98); transition: transform .3s var(--ease);
}
.vid-modal.open .vid-dialog { transform: none; }
.vid-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 14px 22px; }
.vid-head .t { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: #fff; letter-spacing: -.01em; }
.vid-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink-line); background: transparent; color: rgba(255,255,255,.7); cursor: pointer; display: grid; place-items: center; transition: all .2s; flex: none; }
.vid-close:hover { background: rgba(255,255,255,.08); color: #fff; }
.vid-close svg { width: 17px; height: 17px; }
.vid-frame { position: relative; aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; border-top: 1px solid var(--ink-line); }
.vid-frame iframe, .vid-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   SOCIAL PROOF STRIP
   ============================================================ */
.proof-strip { background: var(--bg); border-bottom: 1px solid var(--line); }
.proof-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 38px; padding: 26px 28px; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 11px; }
.proof-item .big { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.proof-item .lbl { font-size: 14px; color: var(--ink-3); line-height: 1.25; max-width: 150px; }
.proof-item .big .inf { display: block; height: 22px; width: 44px; }
.proof-sep { width: 1px; height: 34px; background: var(--line); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--bg-tint); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px;
  position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step .num {
  width: 42px; height: 42px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-deep);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 20px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--ink-3); font-size: 15.5px; }
.step .ico { position: absolute; top: 30px; right: 28px; color: var(--teal); opacity: .9; }
.step .ico svg { width: 26px; height: 26px; }
.how-demo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--ink-950); border-radius: var(--r-xl);
  overflow: hidden; color: #fff; box-shadow: var(--sh-lg);
}
.how-demo .left { padding: 52px 50px; display: flex; flex-direction: column; justify-content: center; }
.how-demo .left h3 { font-size: 30px; margin-bottom: 14px; }
.how-demo .left p { color: rgba(255,255,255,.7); font-size: 16px; }
.how-demo .left .kbd-row { display: flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.6); }
.how-demo .left kbd { font-family: var(--font-mono); font-size: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 4px 9px; color: #fff; }
.how-demo .right { background: var(--ink-900); padding: 40px; display: grid; place-items: center; border-left: 1px solid var(--ink-line); }
.how-demo .play-demo { background: transparent; border: 0; box-shadow: none; padding: 0; width: 100%; }

/* ============================================================
   FEATURES — bento
   ============================================================ */
.features { background: var(--bg); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.fcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.fcard .ico {
  width: 48px; height: 48px; border-radius: 13px; background: var(--teal-tint); color: var(--teal-deep);
  display: grid; place-items: center; margin-bottom: 18px; flex: none;
}
.fcard .ico svg { width: 25px; height: 25px; }
.fcard h3 { font-size: 20px; margin-bottom: 9px; }
.fcard p { color: var(--ink-3); font-size: 15px; line-height: 1.55; }
.feat-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--teal-deep); background: var(--teal-tint); padding: 4px 10px; border-radius: var(--r-pill); align-self: flex-start; }
.feat-tag.free { color: #8a6d00; background: #fdf3d4; }

/* feature mini-visuals */
.fviz {
  margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-tint); padding: 14px 15px; font-family: var(--font-mono);
  font-size: 12.5px; color: var(--ink-2); overflow: hidden;
}
.viz-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.viz-chip { background: var(--teal-tint); color: var(--teal-deep); font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); }
.viz-chip.more { background: transparent; color: var(--ink-4); border: 1px dashed var(--line-2); }
.viz-doc { font-family: var(--font-body); font-size: 13px; line-height: 1.5; }
.viz-doc .b { font-weight: 700; color: var(--ink); }
.viz-doc .i { font-style: italic; }
.viz-doc .a { color: var(--teal-deep); text-decoration: underline; }
.viz-doc ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-3); }
.viz-doc li { margin: 1px 0; }
.viz-cmd .bar { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; color: var(--ink-4); }
.viz-cmd .bar svg { width: 14px; height: 14px; flex: none; }
.viz-cmd .bar .blink { width: 1px; height: 14px; margin-left: -6px; background: var(--teal); animation: blink 1s steps(1) infinite; }
.viz-cmd .res { margin-top: 7px; display: flex; flex-direction: column; gap: 4px; }
.viz-cmd .res .r { display: flex; justify-content: space-between; padding: 5px 9px; border-radius: 7px; color: var(--ink-3); }
.viz-cmd .res .r.on { background: var(--teal-tint); color: var(--teal-deep); font-weight: 600; }
.viz-cmd .res .r b { color: inherit; }
.viz-sync { display: flex; align-items: center; justify-content: center; gap: 14px; }
.viz-sync .box { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 10px 6px; color: var(--ink-3); }
.viz-sync .box svg { width: 18px; height: 18px; margin-bottom: 3px; color: var(--teal-deep); }
.viz-sync .arrows { color: var(--teal); flex: none; }
.viz-sync .arrows svg { width: 20px; height: 20px; display: block; }
.viz-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.viz-tags .tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--teal-tint); border: 1px solid transparent; color: var(--teal-deep); font-size: 12.5px; font-weight: 600; }
.viz-tags .tag svg { width: 11px; height: 11px; opacity: .6; }
.viz-tags .add { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--line); color: var(--ink-4); font-size: 12.5px; }
.viz-tags .add svg { width: 12px; height: 12px; flex: none; }
.viz-caret { font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.viz-caret .mark { display: inline-block; width: 2px; height: 1.05em; background: var(--teal); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.viz-caret .pin { font-family: var(--font-mono); font-size: 10px; color: var(--teal-deep); background: var(--teal-tint); border-radius: 5px; padding: 1px 5px; margin-left: 6px; }
.viz-date { display: flex; align-items: center; gap: 11px; }
.viz-date .cal { width: 40px; height: 40px; border-radius: 9px; background: #fff; border: 1px solid var(--line); flex: none; display: flex; flex-direction: column; overflow: hidden; text-align: center; }
.viz-date .cal .m { background: var(--teal); color: #fff; font-size: 8px; font-weight: 700; padding: 2px 0; letter-spacing: .05em; }
.viz-date .cal .d { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.5; }
.viz-date .out { font-family: var(--font-body); font-size: 13px; color: var(--ink-3); }
.viz-date .out b { color: var(--ink); font-weight: 600; }
.viz-menu { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 5px; box-shadow: var(--sh-sm); }
.viz-menu .mi { font-family: var(--font-body); font-size: 12.5px; padding: 6px 9px; border-radius: 6px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.viz-menu .mi.on { background: var(--teal-tint); color: var(--teal-deep); font-weight: 600; }
.viz-menu .mi.on svg { width: 14px; height: 14px; }
.viz-chat { display: flex; flex-direction: column; gap: 7px; font-family: var(--font-body); font-size: 12.5px; }
.viz-chat .bub { padding: 7px 11px; border-radius: 12px; max-width: 85%; }
.viz-chat .bub.you { background: #fff; border: 1px solid var(--line); color: var(--ink-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.viz-chat .bub.us { background: var(--teal); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.viz-chat .meta { font-family: var(--font-mono); font-size: 10px; color: var(--ink-4); align-self: flex-end; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.viz-everywhere { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.viz-everywhere .a { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.viz-everywhere .a svg { width: 22px; height: 22px; }
.viz-everywhere .a img { width: 24px; height: 24px; object-fit: contain; }
.viz-fill { font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.viz-fill .ph { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: #8a6d00; background: #fdf3d4; border-radius: 5px; padding: 1px 6px; }
.viz-fill .mark { display: inline-block; width: 2px; height: 1.05em; background: var(--teal); vertical-align: -2px; animation: blink 1s steps(1) infinite; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--ink-950); color: #fff; overflow: hidden; }
.reviews::before { content: ""; position: absolute; inset: 0; background-image: var(--circuit); background-size: 540px; opacity: .35; -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 80%); mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 80%); }
.reviews .section-head h2 { color: #fff; }
.reviews .eyebrow { color: var(--teal-bright); }
.reviews .rev-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rcard {
  background: var(--ink-850); border: 1px solid var(--ink-line); border-radius: var(--r-lg);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.rcard .quote-mark { color: var(--teal-bright); font-family: var(--font-display); font-size: 44px; line-height: .6; height: 26px; }
.rcard p { color: rgba(255,255,255,.84); font-size: 15px; line-height: 1.55; flex: 1; }
.rcard .who { display: flex; align-items: center; gap: 11px; margin-top: 22px; }
.rcard .who .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; flex: none; }
.rcard .who .nm { font-weight: 700; font-size: 14px; }
.rcard .who .rl { font-size: 12.5px; color: rgba(255,255,255,.5); }
.rcard .stars { margin-bottom: 16px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg-tint); }
.price-toggle { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px; margin: 0 auto 44px; box-shadow: var(--sh-sm); }
.price-toggle button { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; border: 0; background: transparent; color: var(--ink-3); padding: 9px 22px; border-radius: var(--r-pill); cursor: pointer; transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.price-toggle button.on { background: var(--ink-950); color: #fff; }
.price-toggle .save { font-family: var(--font-mono); font-size: 11px; font-weight: 700; background: var(--gold); color: #4a3800; padding: 2px 7px; border-radius: var(--r-pill); }
.price-toggle button.on .save { background: var(--teal-bright); color: #053b35; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; display: flex; flex-direction: column; }
.pcard.plus { background: var(--ink-950); color: #fff; border: 0; position: relative; box-shadow: var(--sh-lg); }
.pcard .pname { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pcard.plus .pname { color: var(--teal-bright); }
.pcard .badge-pop { position: absolute; top: 28px; right: 28px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--r-pill); }
.pcard .price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; }
.pcard .price .amt { font-family: var(--font-display); font-weight: 700; font-size: 52px; letter-spacing: -.03em; }
.pcard .price .per { color: var(--ink-3); font-size: 16px; }
.pcard.plus .price .per { color: rgba(255,255,255,.6); }
.pcard .ptag { color: var(--ink-3); font-size: 14.5px; margin-bottom: 24px; }
.pcard.plus .ptag { color: rgba(255,255,255,.66); }
.pcard .feat-list { list-style: none; margin: 26px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 13px; }
.pcard.plus .feat-list { border-color: var(--ink-line); }
.pcard .feat-list li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--ink-2); }
.pcard.plus .feat-list li { color: rgba(255,255,255,.85); }
.pcard .feat-list .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep); display: grid; place-items: center; flex: none; }
.pcard .feat-list .ck svg { width: 12px; height: 12px; }
.pcard.plus .feat-list .ck { background: rgba(30,168,186,.22); color: var(--teal-bright); }
.pcard .feat-list .feat-vid { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--teal-bright); cursor: pointer; transition: opacity .2s; }
.pcard .feat-list .feat-vid:hover { opacity: .7; }
.pcard .feat-list .feat-vid .pp { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(30,168,186,.22); }
.pcard .feat-list .feat-vid .pp svg { width: 9px; height: 9px; margin-left: 1px; }
.pcard .li-head { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-top: 4px; }
.pcard.plus .li-head { color: rgba(255,255,255,.45); }
.price-note { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 28px; }

/* ============================================================
   ARTICLES
   ============================================================ */
.articles { background: var(--bg); }
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.acard { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: flex; flex-direction: column; }
.acard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.acard .thumb { height: 160px; display: grid; place-items: center; padding: 20px; }
.acard .thumb.t1 { background: linear-gradient(135deg, var(--teal-tint), var(--teal-soft)); color: var(--teal-deep); }
.acard .thumb.t2 { background: linear-gradient(135deg, #eef1fb, #dfe5f7); color: #4a5bb8; }
.acard .thumb.t3 { background: linear-gradient(135deg, #fdf3d4, #fbe6a8); color: #8a6d00; }
.art-scene { display: flex; align-items: center; gap: 12px; }
.art-scene .as-trigger { font-family: var(--font-mono); font-weight: 700; font-size: 16px; color: var(--teal-deep); background: #fff; border: 1.5px solid rgba(22,128,143,.25); padding: 8px 13px; border-radius: 10px; box-shadow: var(--sh-sm); }
.art-scene .as-arrow svg { width: 22px; height: 22px; opacity: .7; }
.art-scene .as-out { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--teal-ink); background: #fff; padding: 9px 15px; border-radius: 12px; border-bottom-left-radius: 4px; box-shadow: var(--sh-md); }
.art-vs { display: flex; align-items: center; gap: 12px; }
.art-vs .vs-side { display: flex; flex-direction: column; align-items: center; gap: 7px; font-family: var(--font-body); font-weight: 700; font-size: 13px; background: #fff; padding: 14px 16px; border-radius: 13px; box-shadow: var(--sh-sm); color: #4a5bb8; }
.art-vs .vs-side svg { width: 26px; height: 26px; }
.art-vs .vs-side.alt { color: #8089a8; }
.art-vs .vs-mid { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; background: #4a5bb8; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--sh-md); }
.art-prompt { position: relative; width: 168px; background: #fff; border-radius: 13px; padding: 16px; box-shadow: var(--sh-md); display: flex; flex-direction: column; gap: 9px; }
.art-prompt .ap-spark svg { width: 22px; height: 22px; color: var(--gold); }
.art-prompt .ap-line { height: 7px; border-radius: 4px; background: #f1e3b5; }
.art-prompt .ap-line.w1 { width: 100%; }
.art-prompt .ap-line.w2 { width: 64%; }
.art-prompt .ap-chip { align-self: flex-start; font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: #8a6d00; background: #fbe6a8; padding: 3px 9px; border-radius: var(--r-pill); }
.acard .abody { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.acard .cat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.acard h3 { font-size: 20px; margin: 10px 0 10px; }
.acard p { color: var(--ink-3); font-size: 14.5px; flex: 1; }
.acard .more { margin-top: 18px; color: var(--teal-deep); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.acard:hover .more { gap: 10px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-tint); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--sh-sm); border-color: var(--line-2); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--font-display); font-weight: 500; font-size: 17.5px; color: var(--ink); }
.faq-q .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-q .pm svg { width: 14px; height: 14px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a .inner { padding: 0 24px 24px; color: var(--ink-3); font-size: 15.5px; line-height: 1.6; max-width: 660px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { background: var(--ink-950); color: #fff; overflow: hidden; }
.finalcta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 50% 0%, rgba(30,168,186,.25), transparent 60%); }
.finalcta .wrap { position: relative; z-index: 1; text-align: center; padding: 100px 28px; }
.finalcta h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; }
.finalcta p { color: rgba(255,255,255,.72); font-size: 20px; margin: 18px auto 34px; max-width: 520px; }
.finalcta .hero-cta { justify-content: center; }
.finalcta .hero-proof { justify-content: center; color: rgba(255,255,255,.66); }
.finalcta .hero-proof b { color: #fff; font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 3fr; gap: 50px; padding-bottom: 44px; border-bottom: 1px solid var(--ink-line); }
.footer .logo { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 280px; line-height: 1.55; }
.footer-brand .badges { display: flex; gap: 10px; margin-top: 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,.68); transition: color .15s; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; font-size: 13.5px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 14px; }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .heroB .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .col-2, .col-3, .col-4 { grid-column: span 2; }
  .reviews .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .how-demo { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .section-pad { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .col-2, .col-3, .col-4 { grid-column: span 1; }
  .reviews .rev-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Articles index (blog.html) — page hero, featured, cards, CTA
   ============================================================ */

/* ============================================================
   Articles index page — built on the same tokens + base layers
   ============================================================ */

/* ---------- Page hero (compact dark banner) ---------- */
.page-hero { position: relative; background: var(--ink-950); color: #fff; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--circuit); background-size: 540px; opacity: .42;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 0%, #000 25%, transparent 78%);
          mask-image: radial-gradient(120% 120% at 50% 0%, #000 25%, transparent 78%);
}
.page-hero::after {
  content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 760px; height: 520px;
  background: radial-gradient(circle, rgba(30,168,186,.20), transparent 62%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; padding: 84px 28px 88px; text-align: center; max-width: 760px; }
.page-hero .eyebrow { color: var(--teal-bright); }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; line-height: 1.02; margin-top: 16px; }
.page-hero h1 .accent { color: var(--teal-bright); }
.page-hero p { color: rgba(255,255,255,.72); font-size: 19px; margin: 18px auto 0; max-width: 540px; line-height: 1.5; }

/* ---------- Articles index section ---------- */
.articles-index { background: var(--bg); }
.articles-index .art-grid { margin-bottom: 0; }

/* ---------- Text-only article cards ---------- */
.articles-index .acard { background: #fff; padding: 30px 28px; align-items: flex-start; }
.articles-index .acard h3 { font-size: 20px; line-height: 1.22; margin: 16px 0 10px; }
.articles-index .acard p { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; flex: 1; }
.articles-index .acard .more {
  margin-top: 22px; color: var(--teal-deep); font-weight: 600; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 6px;
}
.articles-index .acard:hover .more { gap: 10px; }

/* category chip (gives the grid rhythm without imagery) */
.articles-index .cat {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 11px; border-radius: var(--r-pill); margin: 0;
}
.cat.c-guide   { color: var(--teal-deep); background: var(--teal-tint); }
.cat.c-email   { color: #a85567; background: #fbe9ec; }
.cat.c-ai      { color: #8a6d00; background: #fdf3d4; }
.cat.c-compare { color: #4a5bb8; background: #eef1fb; }
.cat.c-help    { color: var(--ink-2); background: var(--bg-tint-2); }

/* ---------- Featured article (text, full width) ---------- */
.featured {
  position: relative; overflow: hidden; display: block;
  border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: var(--r-xl); padding: 46px 50px; margin-bottom: 40px;
  background: linear-gradient(120deg, var(--teal-tint), #fff 62%);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.featured:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.featured .ribbon { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 16px; }
.featured .ribbon svg { width: 14px; height: 14px; }
.featured h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; margin-bottom: 14px; max-width: 720px; }
.featured p { color: var(--ink-3); font-size: 17px; line-height: 1.6; max-width: 660px; }
.featured .more { margin-top: 26px; color: var(--teal-deep); font-weight: 600; font-size: 15.5px; display: inline-flex; align-items: center; gap: 7px; }
.featured:hover .more { gap: 11px; }

/* ---------- Article CTA strip ---------- */
.art-cta { background: var(--bg-tint); }
.art-cta .wrap { text-align: center; padding: 0; }
.art-cta .box {
  background: var(--ink-950); color: #fff; border-radius: var(--r-xl); overflow: hidden;
  position: relative; padding: 64px 32px; text-align: center;
}
.art-cta .box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 130% at 50% 0%, rgba(30,168,186,.22), transparent 60%); }
.art-cta .box > * { position: relative; z-index: 1; }
.art-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
.art-cta p { color: rgba(255,255,255,.72); font-size: 18px; margin: 16px auto 30px; max-width: 480px; }
.art-cta .hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .featured { padding: 32px 26px; }
}
