/* ─── MeshThreader landing site ───────────────────────────────── */

:root {
  --bg0: #06080a;
  --bg1: #0a0d0e;
  --bg2: #11161a;
  --bg3: #1a2127;
  --bg4: #232c33;

  --t0: #d4dedb;
  --t1: #98a8a1;
  --t2: #5e706a;
  --t3: #3a4a45;

  --green:     #6dffb4;
  --green-dim: #2a8c5f;
  --amber:     #ffb547;
  --red:       #ff5a5f;

  --grid-line: rgba(109, 255, 180, 0.04);
  --border:    rgba(109, 255, 180, 0.15);
  --border-strong: rgba(109, 255, 180, 0.35);

  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --maxw: 1180px;
  --panel-w: 520px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg0);
  color: var(--t0);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(109, 255, 180, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 181, 71, 0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent 0px, transparent 2px,
    rgba(0,0,0,0.12) 2px, rgba(0,0,0,0.12) 3px);
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
  mix-blend-mode: multiply;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 101;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ─── nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(6, 8, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text { color: var(--t0); }
.logo-by {
  font-size: 9.5px;
  color: var(--t2);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.logo:hover .logo-text { color: var(--green); transition: color .2s; }
.logo svg { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.navlinks {
  display: flex;
  gap: 28px;
  color: var(--t1);
}
.navlinks a {
  position: relative;
  transition: color .2s;
  cursor: pointer;
}
.navlinks a:hover { color: var(--green); }
.navlinks a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--green);
  transition: width .3s;
}
.navlinks a:hover::after { width: 100%; }

/* Highlighted nav CTA: subtle green pill for "Get Your Tools" */
.navlinks a.nav-cta {
  padding: 5px 12px;
  border: 1px solid var(--green);
  border-radius: 2px;
  color: var(--green);
  background: rgba(109, 255, 180, 0.04);
  transition: background .2s, color .2s, box-shadow .2s;
}
.navlinks a.nav-cta:hover {
  background: var(--green);
  color: var(--bg0);
  box-shadow: 0 0 16px rgba(109, 255, 180, 0.35);
}
.navlinks a.nav-cta::after { display: none; }

/* ─── hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 32px 120px;
  max-width: var(--maxw);
  margin: 0 auto;
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 30%, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 30%, transparent);
  pointer-events: none;
}

.hero-content { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: rgba(109, 255, 180, 0.03);
}
.eyebrow-text {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.08em;
}

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.pulse-sm { width: 6px; height: 6px; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

.title {
  font-family: var(--mono);
  font-size: clamp(40px, 7.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 36px;
}
.title .line {
  display: block;
  opacity: 0;
  animation: rise .8s cubic-bezier(.2,.7,.3,1) forwards;
}
.title .line:nth-child(1) { animation-delay: .1s; }
.title .line:nth-child(2) { animation-delay: .2s; }
.title .accent {
  color: var(--green);
  text-shadow: 0 0 24px rgba(109, 255, 180, 0.3);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lede {
  max-width: 620px;
  font-size: 16px;
  color: var(--t1);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  background: transparent;
  color: var(--t0);
  text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: var(--bg0);
  border-color: var(--green);
  font-weight: 700;
}
.btn-primary:hover {
  background: transparent;
  color: var(--green);
  box-shadow: 0 0 24px rgba(109, 255, 180, 0.25);
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--t0);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

/* hero screenshot placeholder slot */
.hero-shot {
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--bg1);
  max-width: 760px;
  box-shadow:
    0 0 0 1px rgba(109, 255, 180, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  animation: rise .8s cubic-bezier(.2,.7,.3,1) .7s forwards;
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--t2);
}
.shot-title {
  margin-left: 10px;
  color: var(--t1);
}
.shot-body {
  padding: 0;
}
.shot-body-phones {
  padding: 24px 16px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(109,255,180,0.04), transparent),
    var(--bg0);
}
.shot-frame {
  width: 100%;
  background: var(--bg0);
}
.shot-frame svg {
  display: block;
  width: 100%;
  height: auto;
}
/* 4 phones in a row at the hero */
/* Hero quartet: horizontal scroll-snap carousel showing ~2 phones at a
   time. Swipe (touch) or scroll horizontally with trackpad/mouse to
   reveal the others. Keeps the hero compact so the next section stays
   visible below the fold. */
.shot-phones-4 {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.shot-phones-4::-webkit-scrollbar { height: 6px; }
.shot-phones-4::-webkit-scrollbar-track { background: transparent; }
.shot-phones-4::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.shot-phones-4 .shot-phone {
  /* Each phone is sized so 2 fit comfortably side-by-side in the
     available width, with a peek of the third visible to signal there's
     more to swipe. */
  flex: 0 0 calc(50% - 18px);
  height: 360px;
  scroll-snap-align: start;
  max-width: 380px;
}

/* swipe-hint label below the quartet, hides once scrolling */
.shot-phones-4 + .swipe-hint {
  display: block;
  text-align: center;
  font-size: 10.5px;
  color: var(--t2);
  letter-spacing: 0.1em;
  margin-top: 8px;
  opacity: 0.7;
}

/* window dots (shared) */
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5a5f; }
.dot-y { background: #ffb547; }
.dot-g { background: #6dffb4; }

/* ─── section base ───────────────────────────────────────── */
.section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 32px;
  z-index: 1;
}
.section-alt {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(rgba(109, 255, 180, 0.015), rgba(109, 255, 180, 0.015)),
    repeating-linear-gradient(45deg, transparent 0, transparent 80px, var(--grid-line) 80px, var(--grid-line) 81px);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border);
}
.sec-num {
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.section h2 {
  font-family: var(--mono);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ─── demos (coming soon) ─────────────────────────────────── */
.soon-block { max-width: 720px; }
.soon-frame {
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: var(--bg1);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.soon-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--t2);
}
.soon-title { margin-left: 10px; }
.soon-body {
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(109,255,180,0.06), transparent),
    repeating-linear-gradient(45deg, transparent 0, transparent 40px, var(--grid-line) 40px, var(--grid-line) 41px);
}
.soon-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: rgba(0,0,0,0.4);
}
.soon-heading {
  font-family: var(--mono);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--t0);
  margin-bottom: 16px;
}
.soon-text {
  max-width: 440px;
  margin: 0 auto;
  color: var(--t1);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── lite tools ────────────────────────────────────────── */
.lite-intro {
  max-width: 760px;
  color: var(--t1);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.tool-card {
  border: 1px solid var(--border);
  background: var(--bg1);
  padding: 24px 22px;
  border-radius: 3px;
  position: relative;
  transition: all .25s;
  /* button reset */
  font-family: var(--mono);
  color: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.tool-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: var(--bg2);
}
.tool-tag {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.tool-card-soon {
  opacity: 0.92;
}
.tool-card-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(255,181,71,0.03) 14px, rgba(255,181,71,0.03) 15px);
  pointer-events: none;
  border-radius: inherit;
}
.tool-tag-soon {
  color: var(--amber) !important;
}
.tool-card-suite {
  border-color: var(--border-strong);
}
.tool-card-suite::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(109,255,180,0.04) 14px, rgba(109,255,180,0.04) 15px);
  pointer-events: none;
  border-radius: inherit;
}
.tool-tag-suite {
  color: var(--green) !important;
  font-weight: 700;
}

/* Featured tool card — bigger, full width, hero-style for the main product */
.tool-card-featured {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--green);
  background:
    linear-gradient(135deg, rgba(109,255,180,0.08) 0%, rgba(109,255,180,0.02) 60%, transparent 100%),
    var(--bg1);
  padding: 32px 36px;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 28px;
  position: relative;
  transition: all .25s;
  font-family: var(--mono);
  color: inherit;
  box-shadow: 0 0 0 1px rgba(109,255,180,0.05), 0 8px 32px rgba(0,0,0,0.3);
}
.tool-card-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(109,255,180,0.15), 0 16px 48px rgba(0,0,0,0.5), 0 0 24px rgba(109,255,180,0.15);
  border-color: var(--green);
}
.featured-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.tool-tag-featured {
  color: var(--green) !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0 !important;
}
.featured-badge {
  font-size: 10px;
  color: var(--bg0);
  background: var(--green);
  padding: 3px 10px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.tool-name-featured {
  font-size: clamp(24px, 3.4vw, 32px) !important;
  line-height: 1.15;
  margin-bottom: 14px !important;
  color: var(--t0);
}
.tool-desc-featured {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--t0) !important;
  margin-bottom: 16px !important;
}
.featured-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.featured-features li {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  color: var(--t1);
  line-height: 1.5;
}
.featured-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 10px;
}
.tool-link-featured {
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}
.tool-card-featured:hover .tool-link-featured {
  color: var(--green);
  letter-spacing: 0.04em;
}

/* Featured download item in the Downloads slide-over */
.dl-item-featured {
  border-color: var(--green) !important;
  background:
    linear-gradient(135deg, rgba(109,255,180,0.06), rgba(109,255,180,0.01)),
    var(--bg0);
  box-shadow: 0 0 0 1px rgba(109,255,180,0.08);
}
.dl-item-tag-featured {
  color: var(--green) !important;
  font-weight: 700;
}
.tool-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--t0);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.tool-desc {
  font-size: 13px;
  color: var(--t1);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.tool-desc strong { color: var(--green); font-weight: 700; }
.tool-link {
  font-size: 11.5px;
  color: var(--green);
  letter-spacing: 0.06em;
  padding-top: 12px;
  border-top: 1px dashed var(--bg3);
  transition: color .2s, transform .2s;
  display: inline-block;
}
.tool-card:hover .tool-link {
  color: var(--t0);
  transform: translateX(3px);
}
.lite-platforms-row {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  flex-wrap: wrap;
}
.lite-platforms-row li {
  font-size: 11.5px;
  color: var(--t0);
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: rgba(0,0,0,0.4);
}

/* ─── footer ────────────────────────────────────────────── */
.foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg1);
  padding: 60px 32px 24px;
  margin-top: 60px;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px dashed var(--border);
}
.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
}
.foot-tag {
  font-size: 13px;
  color: var(--t1);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 10px;
}
.foot-credit {
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.06em;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.foot-col h5 {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  font-weight: 500;
}
.foot-col a, .foot-col span {
  display: block;
  font-size: 12.5px;
  color: var(--t1);
  padding: 3px 0;
  transition: color .2s;
  cursor: pointer;
}
.foot-col a:hover { color: var(--green); }

.foot-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--t2);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE-OVER PANELS
   ═══════════════════════════════════════════════════════════ */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: var(--panel-w);
  max-width: 100vw;
  background: var(--bg1);
  border-left: 1px solid var(--border-strong);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  box-shadow: none;
}
.panel.active {
  transform: translateX(0);
  box-shadow: -24px 0 64px rgba(0,0,0,0.6);
}

.panel-head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 36px 20px;
  border-bottom: 1px dashed var(--border);
  background: var(--bg1);
}
.panel-eyebrow {
  display: block;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.panel-title h2 {
  font-family: var(--mono);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--t0);
}
.panel-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--t1);
  width: 32px;
  height: 32px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
  flex-shrink: 0;
}
.panel-close:hover {
  border-color: var(--green);
  color: var(--green);
}

.panel-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 28px 36px 60px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--t1);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.panel-body::-webkit-scrollbar { width: 8px; }
.panel-body::-webkit-scrollbar-track { background: transparent; }
.panel-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.panel-lede {
  font-size: 15px;
  color: var(--t0);
  margin-bottom: 20px;
  line-height: 1.65;
}
.panel-body p { margin-bottom: 14px; }
.panel-body strong { color: var(--t0); font-weight: 700; }
.panel-body em { color: var(--t0); font-style: italic; }
.panel-body a { color: var(--green); text-decoration: underline; text-decoration-color: var(--green-dim); }
.panel-h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 30px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--bg3);
}
.panel-list {
  list-style: none;
  margin-bottom: 14px;
  padding-left: 0;
}
.panel-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  line-height: 1.65;
}
.panel-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-size: 10px;
}
.panel-note {
  font-size: 12px;
  color: var(--t2);
  font-style: italic;
  margin-bottom: 16px;
}
.panel-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}

/* ── downloads panel specifics ── */
.code-timing-note {
  border-left: 2px solid var(--amber);
  background: rgba(255, 181, 71, 0.04);
  padding: 10px 14px;
  margin: 16px 0;
  font-size: 12.5px;
  color: var(--t1);
  line-height: 1.65;
  border-radius: 0 3px 3px 0;
}
.code-timing-note strong { color: var(--amber); }

.fellowship-row {
  margin: 24px 0 28px;
}
.fellowship-row .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 14px;
}

.code-gate {
  border: 1px solid var(--border-strong);
  background: rgba(109, 255, 180, 0.02);
  border-radius: 3px;
  padding: 18px 20px;
  margin-bottom: 32px;
}
.code-label {
  display: block;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.code-row {
  display: flex;
  gap: 8px;
}
.code-row input {
  flex: 1;
  background: var(--bg0);
  border: 1px solid var(--bg3);
  color: var(--t0);
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.code-row input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.code-status {
  font-size: 11.5px;
  margin-top: 10px;
  min-height: 16px;
  margin-bottom: 0;
}
.code-status.ok { color: var(--green); }
.code-status.err { color: var(--amber); }

.dl-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dl-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  background: var(--bg0);
  padding: 16px 18px;
  border-radius: 3px;
  transition: border-color .2s;
}
.dl-item:hover { border-color: var(--border-strong); }
.dl-item-info {
  flex: 1;
  min-width: 0;
}
.dl-item-tag {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.dl-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--t0);
  margin-bottom: 4px;
}
.dl-item-desc {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.55;
}
.dl-btn {
  flex-shrink: 0;
  font-size: 12px;
  padding: 8px 14px;
}
.dl-btn[data-locked="true"] {
  background: transparent;
  color: var(--t2);
  border-color: var(--bg3);
  cursor: pointer; /* still clickable — focuses code input */
  opacity: 0.7;
}
.dl-btn[data-locked="true"]:hover {
  border-color: var(--border);
  color: var(--t1);
  box-shadow: none;
}
.dl-hint {
  font-size: 10.5px;
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-top: 8px;
  font-style: italic;
}
.dl-item-soon { opacity: 0.6; }
.dl-soon {
  font-size: 11px;
  color: var(--amber);
  padding: 5px 12px;
  border: 1px solid rgba(255,181,71,0.3);
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* ── EULA panel specifics ── */
.panel-body-legal { font-size: 12.5px; }
.panel-body-legal .panel-h3 {
  font-size: 12px;
  margin: 24px 0 10px;
}
.panel-meta {
  font-size: 11px;
  color: var(--t2);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.legal-notice {
  border: 1px solid var(--border-strong);
  background: rgba(109,255,180,0.03);
  padding: 14px 16px;
  border-radius: 3px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--t0);
  line-height: 1.6;
}
.legal-foot {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px dashed var(--bg3);
  font-size: 11px;
  color: var(--t2);
}

/* ─── transport blocks (hero) ───────────────────────────── */
.transport-blocks {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 8px 0 40px;
  flex-wrap: wrap;
  max-width: 920px;
}
.tb {
  flex: 1 1 130px;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background:
    linear-gradient(rgba(109,255,180,0.04), rgba(109,255,180,0.01)),
    var(--bg1);
  text-align: center;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  /* button reset */
  font-family: var(--mono);
  color: inherit;
  cursor: pointer;
}
.tb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(109,255,180,0.08), transparent);
  pointer-events: none;
}
.tb:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(109,255,180,0.1);
}
.tb-tag {
  font-size: 9.5px;
  color: var(--green);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  padding: 2px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}
.tb-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--t0);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.tb-desc {
  font-size: 10.5px;
  color: var(--t2);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

/* ─── video embed (for demos section, when ready) ─────── */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: var(--bg0);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── btn-lg variant ────────────────────────────────────── */
.btn-lg {
  padding: 16px 30px;
  font-size: 14px;
}

/* ─── "what else does it do" prominent card ─────────────── */
.more-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 760px;
  margin: 24px 0 60px;
  padding: 24px 28px;
  background:
    linear-gradient(135deg, rgba(109,255,180,0.06), rgba(109,255,180,0.01)),
    var(--bg1);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--green);
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  font-family: var(--mono);
  color: inherit;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.more-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 200px;
  background: radial-gradient(ellipse 100% 100% at 100% 50%, rgba(109,255,180,0.12), transparent);
  pointer-events: none;
}
.more-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(109,255,180,0.15);
}
.more-card-left { flex: 1; min-width: 0; position: relative; z-index: 1; }
.more-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--green);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.more-headline {
  font-family: var(--mono);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--t0);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.more-desc {
  font-size: 13px;
  color: var(--t1);
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}
.more-card-right {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.more-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--green);
  font-size: 18px;
  transition: all .25s;
}
.more-card:hover .more-arrow {
  background: var(--green);
  color: var(--bg0);
  transform: translateX(4px);
}

/* ─── under-construction notice (in downloads panel) ────── */
.wip-notice {
  border: 1px solid rgba(255, 181, 71, 0.4);
  background: rgba(255, 181, 71, 0.06);
  padding: 14px 18px;
  border-radius: 3px;
  margin-bottom: 24px;
  font-size: 12.5px;
  color: var(--amber);
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.wip-notice strong { color: var(--amber); font-weight: 700; }
.wip-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}

/* Suite-only notice (green/integration vibe vs amber/work-in-progress) */
.suite-only-notice {
  border: 1px solid var(--border-strong);
  background: rgba(109, 255, 180, 0.05);
  padding: 14px 18px;
  border-radius: 3px;
  margin-bottom: 24px;
  font-size: 12.5px;
  color: var(--t0);
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.suite-only-notice strong { color: var(--green); font-weight: 700; }
.suite-only-icon {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  color: var(--green);
}

/* ─── ™ symbol consistent sizing ────────────────────────── */
sup.tm {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--t2);
  margin-left: 1px;
  font-weight: 400;
}
.accent sup.tm,
.tb sup.tm,
.title sup.tm { color: var(--green); opacity: 0.6; }

/* ─── Suite section (the bigger thing in development) ──── */
.suite-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.suite-copy {
  position: sticky;
  top: 80px;
}
.suite-lede {
  font-size: 16px;
  color: var(--t0);
  line-height: 1.65;
  margin-bottom: 24px;
}
.suite-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 181, 71, 0.35);
  background: rgba(255, 181, 71, 0.05);
  border-radius: 3px;
  font-size: 13px;
  color: var(--t0);
  line-height: 1.6;
}
.suite-status strong {
  color: var(--amber);
  font-weight: 700;
}
.suite-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
  margin-top: 6px;
}
.suite-features {
  border-left: 1px dashed var(--border);
  padding-left: 32px;
}
.suite-features-head {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--bg3);
}
.suite-features .panel-list li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--t1);
}
.suite-features .panel-list strong {
  color: var(--t0);
}

/* ─── cta hint text (in tool detail panels) ─────────────── */
.cta-hint {
  font-size: 11px;
  color: var(--amber);
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ─── video embed frame (for YouTube demo) ──────────────── */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg0);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════
   IMAGE SLOTS & LIGHTBOX
   ═══════════════════════════════════════════════════════════ */

/* generic slot: shows image when loaded, placeholder when not */
.img-slot {
  position: relative;
  background: var(--bg0);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.img-slot .img-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: zoom-in;
}
.img-slot img[data-img] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .2s, transform .25s;
}
.img-slot .img-link:hover img[data-img] {
  opacity: 0.9;
  transform: scale(1.01);
}

/* placeholder shown when image not present */
.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(109,255,180,0.05), transparent),
    repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(109,255,180,0.02) 12px, rgba(109,255,180,0.02) 13px);
  pointer-events: none;
}
.img-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}
.placeholder-label {
  color: var(--t2);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1px dashed var(--border);
  border-radius: 2px;
  background: rgba(0,0,0,0.3);
}

/* hidden state when image successfully loads */
.img-slot.has-image .img-placeholder { display: none; }
.img-slot:not(.has-image) .img-link { cursor: default; pointer-events: none; }
.img-slot:not(.has-image) img[data-img] { display: none; }

/* WIDE 16:9 slot */
.shot-wide {
  aspect-ratio: 16 / 9;
}

/* PHONE slot — a scrollable WINDOW (~phone proportion) for tall phone
   screenshots. The image renders at full natural width inside; the
   viewport stays compact at 280px × 360px. Scroll to see the rest, or
   click to open the lightbox. */
.shot-phone {
  width: 280px;
  height: 360px;
  max-width: 100%;
  aspect-ratio: auto;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background: var(--bg0);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.shot-phone::-webkit-scrollbar { width: 6px; }
.shot-phone::-webkit-scrollbar-track { background: transparent; }
.shot-phone::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.shot-phone .img-link {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
}
.shot-phone img[data-img] {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
  border-radius: 0;
}
.phone-placeholder {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

/* Row of phone shots side-by-side */
.shot-phones {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.shot-phones-2 .shot-phone,
.shot-phones-4 .shot-phone { width: 280px; height: 360px; }

/* Row of wide (16:9) shots side-by-side, e.g. Windows app screenshots */
.shot-wides {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.shot-wides .shot-wide {
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 100%;
}

/* slot variants for placement */
.suite-shot {
  margin-top: 40px;
}
.panel-shot {
  margin: 20px 0 28px;
}
.panel-shot-centered {
  margin-left: auto;
  margin-right: auto;
}

/* ═══════ LIGHTBOX OVERLAY ═══════ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow-y: auto;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(0,0,0,0.6);
  color: var(--t0);
  font-size: 18px;
  cursor: pointer;
  z-index: 301;
  transition: all .2s;
}
.lightbox-close:hover {
  border-color: var(--green);
  color: var(--green);
}
.lightbox-stage {
  max-width: min(1200px, 95vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: auto;
}
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}
.lightbox-caption {
  color: var(--t1);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0;
}

/* lock body scroll when lightbox open */
body.lightbox-open { overflow: hidden; }

/* ─── responsive ────────────────────────────────────────── */
@media (max-width: 880px) {
  .nav { padding: 12px 18px; }
  .navlinks { gap: 16px; font-size: 11px; }
  .hero { padding: 48px 18px 80px; }
  .section { padding: 56px 18px; }
  .foot-inner { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .soon-body { padding: 40px 24px; }
  .panel { width: 100vw; border-left: 0; }
  .panel-head { padding: 24px 22px 16px; }
  .panel-body { padding: 20px 22px 50px; }
  .dl-item { flex-direction: column; align-items: stretch; gap: 12px; }
  .dl-btn { width: 100%; justify-content: center; }
  .tool-card-featured { padding: 22px 22px; }
  .featured-features { grid-template-columns: 1fr; }
  .transport-blocks { gap: 6px; }
  .tb { flex: 1 1 calc(50% - 4px); min-width: calc(50% - 4px); }
  .more-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 22px; }
  .more-card-right { align-self: flex-end; }
  .logo-by { display: none; }
  .suite-grid { grid-template-columns: 1fr; gap: 32px; }
  .suite-copy { position: static; }
  .suite-features { border-left: 0; border-top: 1px dashed var(--border); padding-left: 0; padding-top: 24px; }
  .shot-phones { gap: 10px; }
  .shot-phone { width: 100%; max-width: 280px; height: 320px; }
  .shot-phones-2 .shot-phone,
  .shot-phones-4 .shot-phone { width: calc(50% - 6px); height: 280px; max-width: none; }
  .shot-body-phones { padding: 16px 10px; }
  .lightbox { padding: 20px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  /* Footer: keep the 3 columns but lay each column's links out as
     horizontal wrap, not vertical stack. Saves a ton of vertical space. */
  .foot-cols { grid-template-columns: 1fr; gap: 20px; }
  .foot-col { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
  .foot-col h5 { width: 100%; margin-bottom: 4px; }
  .foot-col a, .foot-col span {
    display: inline-block;
    padding: 2px 0;
  }
  .foot-col a + a::before {
    content: '·';
    color: var(--t2);
    margin-right: 12px;
    margin-left: -8px;
  }

  .code-row { flex-direction: column; }
  .code-row .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .title .line { opacity: 1; }
  .hero-shot { opacity: 1; }
}
