:root {
  --navy: #0a1628;
  --navy-2: #0f2744;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --gold: #c9a227;
  --slate: #64748b;
  --text: #1a2332;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.narrow { width: min(720px, 92%); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo-img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.logo-text { font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; }
.nav-links { display: flex; list-style: none; gap: 1.5rem; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--navy); text-decoration: none; }
.nav-menu { display: flex; align-items: center; gap: 1.25rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: 0.15s ease; text-decoration: none;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-dark); color: white; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline { background: white; color: var(--navy); border-color: var(--border); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.hero {
  position: relative; overflow: hidden;
  padding: 4.5rem 0 5rem;
  background: linear-gradient(165deg, #0a1628 0%, #0f2744 55%, #134e4a 100%);
  color: white;
}
.hero-glow {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.35), transparent 70%);
  top: -120px; right: -80px; pointer-events: none;
}
.hero-inner { position: relative; max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.85rem; margin-bottom: 1.25rem;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1.1rem;
}
.hero-title em { font-style: italic; color: #5eead4; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 540px; margin-bottom: 1.75rem; }
.hero-sub strong { color: white; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.hero .btn-ghost { color: white; border-color: rgba(255,255,255,0.35); }
.hero-trust { font-size: 0.9rem; color: rgba(255,255,255,0.55); }

/* Hero mini board preview */
.hero-preview { margin-top: 2.25rem; max-width: 420px; }
.hero-preview-card {
  background: rgba(15, 39, 68, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.hpc-top {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem; font-weight: 600;
}
.hpc-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.hpc-live { margin-left: auto; color: #5eead4; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hpc-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.88);
  padding: 0.45rem 0; border-top: 1px solid rgba(255,255,255,0.06);
}
.hpc-pill {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem; border-radius: 6px; white-space: nowrap;
}
.hpc-sent { background: rgba(94,234,212,0.15); color: #5eead4; }
.hpc-follow { background: rgba(251,191,36,0.15); color: #fbbf24; }
.hpc-ar { background: rgba(248,113,113,0.18); color: #fca5a5; }
.hpc-age { color: rgba(255,255,255,0.4); font-size: 0.75rem; }

.section { padding: 4.5rem 0; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem;
  font-weight: 700; color: var(--teal); margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--navy); margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.section-lead { color: var(--slate); font-size: 1.1rem; max-width: 560px; margin-bottom: 2rem; }

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem;
}
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; }
.card p { color: var(--slate); font-size: 0.98rem; }

.deliverables {
  list-style: none; counter-reset: d; max-width: 640px;
}
.deliverables li {
  counter-increment: d; position: relative;
  padding: 1rem 1rem 1rem 3.25rem; margin-bottom: 0.65rem;
  background: white; border: 1px solid var(--border); border-radius: 12px;
}
.deliverables li::before {
  content: counter(d); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--navy); color: white; font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hours-note { margin-top: 1.25rem; color: var(--slate); font-size: 0.95rem; }

/* ========== System showcase (board / scripts / scoreboard) ========== */
.system {
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 40%, #fff 100%);
  border-block: 1px solid var(--border);
}
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.75rem;
  margin-bottom: 3.5rem;
}
.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }
.showcase-copy h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: var(--navy); margin: 0.5rem 0 0.75rem; letter-spacing: -0.02em;
}
.showcase-copy p { color: var(--slate); font-size: 1.02rem; margin-bottom: 1rem; max-width: 36ch; }
.showcase-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--teal);
  background: rgba(13,148,136,0.1); padding: 0.3rem 0.65rem; border-radius: 999px;
}
.showcase-bullets {
  list-style: none; margin-top: 0.5rem;
}
.showcase-bullets li {
  position: relative; padding: 0.4rem 0 0.4rem 1.5rem;
  color: var(--navy); font-size: 0.95rem; font-weight: 500;
}
.showcase-bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.75rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--teal);
}

/* Board mock */
.board-mock {
  background: #0a1628;
  border-radius: 20px;
  padding: 1rem 1rem 1.15rem;
  box-shadow: 0 24px 64px rgba(10, 22, 40, 0.28);
  border: 1px solid rgba(255,255,255,0.06);
}
.board-mock-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.35rem 0.5rem 0.9rem; color: rgba(255,255,255,0.55); font-size: 0.8rem;
}
.board-mock-title { color: rgba(255,255,255,0.9); font-weight: 600; font-size: 0.88rem; }
.board-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem;
}
.board-col {
  background: rgba(255,255,255,0.04);
  border-radius: 12px; padding: 0.55rem;
  min-height: 220px;
}
.board-col-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: rgba(255,255,255,0.5);
  padding: 0.25rem 0.35rem 0.55rem;
}
.board-count {
  background: rgba(255,255,255,0.1); color: #5eead4;
  font-size: 0.7rem; padding: 0.1rem 0.4rem; border-radius: 999px;
}
.job-card {
  background: #fff; border-radius: 10px; padding: 0.7rem 0.75rem;
  margin-bottom: 0.5rem; box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.job-card-active { box-shadow: 0 0 0 2px rgba(13,148,136,0.45), 0 4px 16px rgba(0,0,0,0.12); }
.job-card-won { border-left: 3px solid #0d9488; }
.job-card-ar { border-left: 3px solid #dc2626; }
.job-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; }
.job-trade {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--teal-dark); background: rgba(13,148,136,0.1); padding: 0.15rem 0.4rem; border-radius: 4px;
}
.job-age { font-size: 0.68rem; font-weight: 600; color: var(--slate); }
.age-warn { color: #b45309; }
.age-danger { color: #dc2626; }
.age-ok { color: #0d9488; }
.job-card h4 { font-size: 0.88rem; color: var(--navy); margin-bottom: 0.15rem; font-weight: 600; }
.job-cust { font-size: 0.75rem; color: var(--slate); margin-bottom: 0.35rem; }
.job-amt { font-size: 0.95rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.job-next {
  margin-top: 0.4rem; font-size: 0.7rem; color: var(--teal-dark);
  background: rgba(13,148,136,0.08); padding: 0.3rem 0.4rem; border-radius: 6px;
}

/* Scripts mock */
.scripts-mock {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; align-items: start;
}
.script-phone {
  background: #0f172a; border-radius: 24px; padding: 1rem 1rem 1.15rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255,255,255,0.08);
}
.script-phone-bar {
  display: flex; flex-direction: column; gap: 0.15rem;
  color: white; font-weight: 600; font-size: 0.95rem;
  padding: 0.25rem 0.35rem 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0.85rem;
}
.script-phone-sub { font-size: 0.72rem; font-weight: 500; color: rgba(255,255,255,0.45); }
.script-bubble {
  background: #0d9488; color: white; border-radius: 16px 16px 4px 16px;
  padding: 0.85rem 1rem; font-size: 0.9rem; line-height: 1.45;
  max-width: 95%; margin-left: auto;
}
.script-meta { text-align: right; font-size: 0.7rem; color: rgba(255,255,255,0.35); margin: 0.4rem 0 1rem; }
.script-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: #5eead4; margin-bottom: 0.4rem;
}
.script-email {
  background: rgba(255,255,255,0.06); border-radius: 12px; padding: 0.85rem;
  color: rgba(255,255,255,0.85); font-size: 0.82rem; line-height: 1.45;
}
.script-email-sub { font-weight: 700; color: white; margin-bottom: 0.4rem; font-size: 0.88rem; }
.script-link { color: #5eead4; }
.script-stack { display: flex; flex-direction: column; gap: 0.65rem; }
.script-chip {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  padding: 0.9rem 1rem; box-shadow: var(--shadow);
}
.script-chip-k {
  display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--teal); margin-bottom: 0.4rem;
}
.script-chip p { font-size: 0.88rem; color: var(--navy); line-height: 1.45; font-style: italic; }

/* Scoreboard + template dual */
.dual-show {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.score-mock, .template-mock {
  background: white; border: 1px solid var(--border); border-radius: 20px;
  padding: 1.5rem; box-shadow: var(--shadow);
}
.score-mock-head h3, .template-mock-head h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.45rem;
  color: var(--navy); margin: 0.5rem 0 1.15rem;
}
.score-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.75rem;
}
.score-tile {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 0.9rem 1rem;
}
.score-tile-hero {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(145deg, #0a1628, #0f2744); border: none; color: white;
}
.score-tile-warn { border-color: #fecaca; background: #fef2f2; }
.score-k {
  display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--slate); margin-bottom: 0.35rem;
}
.score-tile-hero .score-k { color: rgba(255,255,255,0.55); }
.score-v {
  display: block; font-size: 1.65rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.03em; line-height: 1.1;
}
.score-tile-hero .score-v { font-size: 2.4rem; color: #5eead4; }
.score-tile-warn .score-v { color: #dc2626; }
.score-s { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 0.35rem; }
.score-foot { margin-top: 1rem; font-size: 0.82rem; color: var(--slate); }

.template-doc {
  background: #fafafa; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden;
}
.template-doc-bar {
  background: var(--navy); color: white; font-size: 0.85rem; font-weight: 600;
  padding: 0.7rem 1rem;
}
.template-line {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--slate);
}
.template-line span:last-child { color: var(--navy); font-weight: 500; text-align: right; }
.template-total {
  background: rgba(13,148,136,0.06); font-weight: 700;
}
.template-total span { color: var(--navy) !important; font-weight: 700 !important; font-size: 1.05rem; }
.template-note {
  padding: 0.75rem 1rem; font-size: 0.8rem; color: var(--slate); font-style: italic;
}

.system-cta {
  text-align: center; padding: 1.5rem 0 0.5rem;
}
.system-cta p { margin-top: 0.85rem; color: var(--slate); font-size: 0.95rem; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem;
}
.pricing-card h3 { margin-bottom: 0.75rem; }
.pricing-featured {
  border-color: var(--teal); box-shadow: 0 16px 48px rgba(13,148,136,0.15);
  position: relative;
}
.pricing-tag {
  position: absolute; top: -12px; left: 1.25rem;
  background: var(--teal); color: white; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.65rem; border-radius: 999px;
}
.price { margin: 0.5rem 0 0.25rem; }
.price .amount { font-size: 2.4rem; font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }
.price .per { font-size: 1rem; color: var(--slate); font-weight: 500; }
.price-sub { color: var(--slate); font-size: 0.9rem; margin-bottom: 1rem; }
.pricing-card ul { list-style: none; margin: 1rem 0 1.5rem; }
.pricing-card li {
  padding: 0.4rem 0 0.4rem 1.4rem; position: relative; color: var(--slate); font-size: 0.95rem;
}
.pricing-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}

.who { background: white; border-block: 1px solid var(--border); }
.who p { color: var(--slate); font-size: 1.08rem; }

.faq details {
  background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.15rem; margin-bottom: 0.65rem;
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq details p { margin-top: 0.65rem; color: var(--slate); }

.cta-section { padding-bottom: 5rem; }
.cta-panel {
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  color: white; border-radius: 24px; padding: 3rem 2rem; text-align: center;
  box-shadow: var(--shadow);
}
.cta-logo { margin: 0 auto 1.25rem; border-radius: 14px; }
.cta-panel h2 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; margin-bottom: 0.5rem; }
.cta-sub { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.cta-note { margin-top: 1.25rem; font-size: 0.9rem; color: rgba(255,255,255,0.55); max-width: 420px; margin-left: auto; margin-right: auto; }
.cta-note a { color: #5eead4; }
.cta-social { margin-top: 1rem; }
.cta-social a { color: rgba(255,255,255,0.75); font-weight: 500; }

.site-footer { padding: 2rem 0 2.5rem; border-top: 1px solid var(--border); background: white; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { border-radius: 8px; }
.footer-brand p { color: var(--slate); font-size: 0.85rem; }
.footer-copy { color: var(--slate); font-size: 0.85rem; }

@media (max-width: 960px) {
  .showcase, .showcase-reverse { grid-template-columns: 1fr; direction: ltr; }
  .scripts-mock { grid-template-columns: 1fr; }
  .dual-show { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .score-tile-hero { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .grid-3, .pricing-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: white; border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1rem 4%; align-items: stretch;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0.75rem; }
  .board-cols {
    display: flex; overflow-x: auto; gap: 0.65rem;
    scroll-snap-type: x mandatory; padding-bottom: 0.35rem;
  }
  .board-col { min-width: 200px; scroll-snap-align: start; flex-shrink: 0; }
}
