:root {
  --bg: #0b0e17;
  --panel: #12161f;
  --bdr: #232836;
  --text: #eef1f6;
  --muted: #8b93a7;
  --blue: #6ca0d6;
  --steel: #7a9bbe;
  --ok: #7ecc49;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 20% -10%, #152038 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--bdr);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(11, 14, 23, 0.85);
  z-index: 10;
}

/*
 * ONE site banner — identical on every page.
 * Home:   allmkts.com
 * FINDmsg: allmkts.com/FINDmsg  (same mark + path only)
 */
.brand-logo {
  display: inline-flex;
  align-items: baseline; /* keep path on same baseline as wordmark */
  gap: 0;
  text-decoration: none !important;
  line-height: 1;
  position: relative;
}
.brand-logo:hover { opacity: 0.95; text-decoration: none !important; }

/* Wordmark unit (logo + star) */
.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  padding-left: 0.35em; /* room for star on top-left of "all" */
  padding-top: 0.2em;
}

/* Star: top-left corner of the allmkts.com wordmark */
.brand-mark::before {
  content: "";
  position: absolute;
  top: -0.05em;
  left: 0;
  width: 0.55em;
  height: 0.55em;
  background:
    radial-gradient(circle, #ffffff 0%, #d0eaff 22%, transparent 48%),
    linear-gradient(90deg, transparent 46%, #fff 50%, transparent 54%),
    linear-gradient(0deg, transparent 46%, #eaf4ff 50%, transparent 54%),
    linear-gradient(45deg, transparent 47%, rgba(255,255,255,0.85) 50%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(255,255,255,0.85) 50%, transparent 53%);
  filter: drop-shadow(0 0 6px #9cf) drop-shadow(0 0 14px rgba(140,190,255,0.85));
  pointer-events: none;
  animation: logo-spark 2.8s ease-in-out infinite;
}

.brand-all {
  font-weight: 800;
  background: linear-gradient(100deg, #7CFF4A 0%, #B8F54A 42%, #E8FF6A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #9AE64A;
  filter: drop-shadow(0 0 14px rgba(124, 255, 74, 0.4));
}
.brand-mkts {
  color: #ffffff;
  font-weight: 700;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.28);
}

/* Same font size as the wordmark — bottoms align with allmkts.com */
.brand-path {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
  position: relative;
  top: 0.03em; /* tiny optical nudge; caps sit higher, bottoms match */
}
/* Slash shorter so it doesn't dominate vertically */
.brand-slash {
  display: inline-block;
  font-weight: 500;
  transform: scaleY(0.72) translateY(-0.17em);
  transform-origin: center bottom;
  margin: 0 0.02em;
  opacity: 0.95;
}

@keyframes logo-spark {
  0%, 100% { opacity: 0.85; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.12); }
}

.foot .brand-all {
  background: linear-gradient(100deg, #7CFF4A 0%, #B8F54A 45%, #E8FF6A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.foot .brand-mkts {
  color: #fff;
  font-weight: 700;
  -webkit-text-fill-color: #fff;
}

.tabs { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
/* Tab buttons: clear separate-app chips with dark edges */
.tab {
  color: #b8b8c0;
  padding: 10px 22px;
  min-width: 7.5em;
  text-align: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #0c0c10;
  border: 1.5px solid #3a3a44;
  box-shadow: 0 1px 0 #000, inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.tab:hover {
  color: #fff;
  background: #16161c;
  border-color: #5a5a68;
  text-decoration: none;
}
.tab.active {
  color: #fff;
  background: #1a1a22;
  border-color: #9AE64A;
  box-shadow: 0 0 0 1px rgba(154,230,74,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}

main { max-width: 1100px; margin: 0 auto; padding: 40px 22px 80px; }

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.hero.product h1 { font-size: clamp(40px, 6vw, 56px); }
.lead { font-size: 18px; color: #c5cad6; max-width: 62ch; }
.badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ok);
  background: rgba(126, 204, 73, 0.1);
  border: 1px solid rgba(126, 204, 73, 0.25);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.cards {
  display: grid;
  /* Wider cards so screenshots aren't squeezed */
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--bdr);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
  min-width: 0; /* allow grid children to shrink cleanly */
}
a.card:hover { border-color: var(--blue); transform: translateY(-2px); text-decoration: none; }
.card.muted { opacity: 0.75; }
.card-kicker { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.card h2 { margin: 8px 0 8px; font-size: 22px; }
.card p { color: var(--muted); margin: 0 0 14px; }
.card-cta { color: var(--blue); font-weight: 600; font-size: 14px; display: inline-block; margin-top: 8px; }
/* Product screenshots: natural aspect ratio, not forced square */
.card img.shot,
.shot {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid #2a2a32;
  margin: 12px 0 8px;
  display: block;
  background: #0a0a0c;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  border: 1px solid transparent;
}
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.secondary { background: transparent; color: #fff; border-color: #3a4258; }
.btn.secondary:hover { border-color: var(--blue); }
.btn.block { display: block; text-align: center; width: 100%; }
.fine { color: var(--muted); font-size: 13px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 48px 0;
}
.grid-2 h2 { margin-top: 0; font-size: 20px; }
.checks { padding-left: 18px; color: #c5cad6; }
.checks li { margin: 8px 0; }
.checks.compact { margin: 12px 0 18px; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: #1a2030;
  padding: 1px 6px;
  border-radius: 6px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--bdr);
  border-radius: var(--radius);
  padding: 26px;
  margin: 18px 0;
}
.panel h2 { margin-top: 0; }
.muted-panel { opacity: 0.9; }
.price-card { max-width: 360px; }
.price { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-meta { color: var(--muted); margin-bottom: 8px; }

.steps { color: #c5cad6; padding-left: 20px; }
.steps li { margin: 10px 0; }

.foot {
  border-top: 1px solid var(--bdr);
  padding: 22px 28px 40px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  max-width: 960px;
  margin: 0 auto;
}
.muted { color: var(--muted); }

@media (max-width: 560px) {
  .top { flex-direction: column; align-items: flex-start; }
}

/* Brand alignment overrides */
.brand-logo {
  align-items: baseline !important;
}
.brand-mark {
  font-size: clamp(32px, 5vw, 48px) !important;
  padding-left: 0.42em !important;
  padding-top: 0.25em !important;
  align-items: baseline !important;
}
.brand-all {
  background: linear-gradient(100deg, #6CFF2A 0%, #A8F53A 35%, #D4FF5A 70%, #F0FF8A 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #9AE64A !important;
  filter: drop-shadow(0 0 16px rgba(124, 255, 74, 0.55)) !important;
}
.brand-mkts {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 0 20px rgba(255,255,255,0.35) !important;
}
.brand-path {
  display: inline-flex !important;
  align-items: baseline !important;
  font-size: clamp(32px, 5vw, 48px) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  position: relative !important;
  top: 0.03em !important;
}
.brand-slash {
  display: inline-block !important;
  font-weight: 500 !important;
  transform: scaleY(0.72) translateY(-0.17em) !important;
  transform-origin: center bottom !important;
  margin: 0 0.02em !important;
}
.brand-mark::before {
  top: -0.12em !important;
  left: 0 !important;
  width: 0.62em !important;
  height: 0.62em !important;
}
