/* Tracker marketing site — light glass, May 2026 */

:root {
  --bg: #f8f9fc;
  --bg-soft: #eef2f9;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.95);
  --shadow: 0 8px 40px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.08);
  --teal: #0d9488;
  --teal-soft: rgba(13, 148, 136, 0.1);
  --violet: #7c3aed;
  --violet-soft: rgba(124, 58, 237, 0.1);
  --blue: #2563eb;
  --rose: #e11d48;
  --amber: #d97706;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --header-h: 72px;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 8% 12%, rgba(186, 230, 253, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 45% at 92% 8%, rgba(221, 214, 254, 0.42), transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(167, 243, 208, 0.32), transparent 55%),
    linear-gradient(165deg, #fafbff 0%, #f0f4ff 45%, #f5fbf9 100%);
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: #0f766e; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 800; margin: 0 0 0.5em; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.125rem;
  max-width: 42rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Icons */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
  color: var(--teal);
  flex-shrink: 0;
}

.icon-wrap.violet { background: var(--violet-soft); color: var(--violet); }
.icon-wrap.blue { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.icon-wrap.amber { background: rgba(217, 119, 6, 0.1); color: var(--amber); }
.icon-wrap.rose { background: rgba(225, 29, 72, 0.08); color: var(--rose); }

.icon-wrap .icon-svg,
.icon-wrap svg {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-wrap.lg {
  width: 3.25rem;
  height: 3.25rem;
}

.icon-wrap.lg .icon-svg,
.icon-wrap.lg svg {
  width: 1.6rem;
  height: 1.6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--violet));
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #fff !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text) !important;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn-secondary:hover {
  background: #fff;
  color: var(--text) !important;
}

.btn .icon-wrap {
  width: 1.25rem;
  height: 1.25rem;
  background: transparent;
  color: inherit;
}

.btn .icon-wrap svg { width: 1rem; height: 1rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
  background: rgba(248, 249, 252, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  background: linear-gradient(135deg, var(--teal), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle .icon-wrap { background: transparent; width: 2rem; height: 2rem; }

/* Hero */
.hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 999px;
  padding: 0.35em 1em;
  margin-bottom: 1.25rem;
}

.hero h1 { margin-bottom: 0.6em; }

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-trust strong { color: var(--text); }

.hero-visual {
  padding: 1.5rem;
  position: relative;
}

.hero-mock {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(145deg, #fff 0%, #f1f5f9 100%);
  min-height: 320px;
  padding: 1.25rem;
}

.mock-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.12);
}

.mock-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mock-col {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.mock-col-title {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-card {
  background: var(--glass);
  border-radius: 8px;
  padding: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.mock-card.accent { border-left: 3px solid var(--teal); }

/* Stats strip */
.stats-strip {
  padding: 2rem 0;
  border-block: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-num span { color: var(--teal); }

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Pain cards */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pain-card {
  padding: 1.5rem;
}

.pain-card h3 { color: var(--rose); font-size: 1rem; }

.pain-card p { font-size: 0.95rem; margin: 0; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-card p { margin: 0; font-size: 0.95rem; }

.benefit-card .outcome {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35em;
  display: block;
}

/* Roles */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.role-card {
  padding: 1.75rem;
  text-align: center;
}

.role-card .icon-wrap {
  margin: 0 auto 1rem;
  width: 3.5rem;
  height: 3.5rem;
}

.role-card .icon-wrap svg { width: 1.75rem; height: 1.75rem; }

.role-card ul {
  text-align: left;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.role-card li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: flex-start;
}

.role-card li .icon-wrap {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  background: transparent;
}

.role-card li .icon-wrap svg { width: 1rem; height: 1rem; }

/* Features bento */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 1rem;
}

.feature-tile {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-tile.wide { grid-column: span 2; }
.feature-tile.tall { grid-row: span 2; }

.feature-tile p { margin: 0; font-size: 0.92rem; }

/* Comparison */
.compare-wrap {
  overflow-x: auto;
  padding: 0.25rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 500;
}

.compare-table tbody tr.is-highlight,
.compare-table tbody tr:hover {
  background: rgba(13, 148, 136, 0.04);
}

.compare-table .col-tracker {
  background: rgba(13, 148, 136, 0.06);
  font-weight: 600;
}

.compare-table .yes { color: var(--teal); font-weight: 600; }
.compare-table .no { color: var(--text-muted); }
.compare-table .partial { color: var(--amber); }

.check-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.check-cell .icon-wrap {
  width: 1.25rem;
  height: 1.25rem;
  background: transparent;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step-card {
  padding: 1.75rem;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(13, 148, 136, 0.2);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-card p { margin: 0; font-size: 0.95rem; }

/* Scenarios */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.scenario-card {
  padding: 1.5rem;
}

.scenario-card .who {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.scenario-card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
}

.scenario-card .result {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.scenario-card .result .icon-wrap {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question .icon-wrap {
  transition: transform 0.25s;
  background: transparent;
  color: var(--text-muted);
  width: 1.5rem;
  height: 1.5rem;
}

.faq-item.is-open .faq-question .icon-wrap { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer { max-height: 280px; }

.faq-answer p {
  padding-bottom: 1.25rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* CTA block */
.cta-block {
  text-align: center;
  padding: 3.5rem 2rem;
}

.cta-block h2 { max-width: 16ch; margin-inline: auto; }

.cta-block p {
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a { color: var(--text-muted); }

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: rgba(248, 249, 252, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s;
  display: none;
}

.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta .btn { width: 100%; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .features-bento { grid-template-columns: repeat(2, 1fr); }
  .feature-tile.wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .header-cta .btn-secondary { display: none; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    background: rgba(248, 249, 252, 0.98);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.3s;
    gap: 0;
  }

  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid rgba(15, 23, 42, 0.06); }

  .pain-grid,
  .roles-grid,
  .steps,
  .benefits-grid,
  .scenario-grid { grid-template-columns: 1fr; }

  .features-bento { grid-template-columns: 1fr; }
  .feature-tile.tall { grid-row: span 1; }

  .sticky-cta { display: block; }
  body { padding-bottom: 4.5rem; }
}
