/* ── Entrepreneur product page — same design language as calgron.com ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0b0f;
  --surface:   #111118;
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e8f0;
  --muted:     #6b6b80;
  --accent:    #c43508;
  --accent-hi: #e04a18;
  --mono:      'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 3px; }

.mono { font-family: var(--mono); }
.wrap { max-width: 1180px; width: 100%; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,11,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.wordmark { display: flex; align-items: baseline; gap: 6px; }
.wordmark .brand { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.18em; color: var(--text); }
.wordmark .sep   { font-family: var(--mono); font-size: 13px; color: #45454f; }
.wordmark .prod  { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; color: var(--accent-hi); }

.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; row-gap: 10px; }
.navlink { font-size: 14px; color: var(--muted); font-weight: 500; transition: color 0.15s; }
.navlink:hover { color: var(--text); }

.cta {
  background: var(--accent); color: #fff; font-weight: 600;
  border-radius: 8px; transition: background 0.2s;
}
.cta:hover { background: var(--accent-hi); }
.cta-sm { font-size: 14px; padding: 9px 18px; }
.cta-md { font-size: 15.5px; padding: 14px 26px; }
.cta-lg { font-size: 16px; padding: 15px 30px; display: inline-block; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero-wrap { position: relative; overflow: hidden; }
.hero-dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 50%, black 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 60% 50%, black 0%, transparent 80%);
}
.hero-glow {
  position: absolute; top: -120px; left: -80px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,53,8,0.16) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 44px; }
.hero-col { max-width: 720px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,53,8,0.1); border: 1px solid rgba(196,53,8,0.3);
  color: var(--accent-hi); font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: 4px; margin-bottom: 26px; text-transform: uppercase;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 52px);
  line-height: 1.1; font-weight: 600; letter-spacing: -0.03em;
  color: #fff; margin: 0 0 22px; text-wrap: balance;
}
.accent-word { color: var(--accent-hi); position: relative; }
.accent-word::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent); border-radius: 1px;
}
.lede { font-size: 18px; line-height: 1.7; color: var(--muted); margin: 0 0 30px; max-width: 560px; }

/* ── Persona selector ──────────────────────────────────────────────── */
.persona-block { margin-bottom: 30px; }
.persona-label {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 10px; text-transform: uppercase;
}
.persona-row { display: flex; gap: 10px; flex-wrap: wrap; }
.persona-btn {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  color: #94a3b8; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 18px; border-radius: 9px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.persona-btn:hover { border-color: rgba(196,53,8,0.4); color: var(--text); }
.persona-btn[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.persona-btn[aria-pressed="true"]:hover { background: var(--accent-hi); border-color: var(--accent-hi); }

.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.trial-note { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }

/* ── Persona visibility ────────────────────────────────────────────── */
.for-services, .for-products, .for-both { display: block; }
.persona-services .for-products, .persona-services .for-both { display: none; }
.persona-products .for-services, .persona-products .for-both { display: none; }
.persona-both     .for-services, .persona-both .for-products  { display: none; }

/* ── Screenshots ───────────────────────────────────────────────────── */
.shotbox { border-radius: 12px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 30px 80px -24px rgba(0,0,0,0.65); }
.shotbox img { display: block; width: 100%; height: auto; }
.shotlink { display: block; cursor: zoom-in; }
.caption { text-align: center; font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; margin: 18px 0 0; }
.hero-shot { padding-top: 24px; padding-bottom: 100px; }

/* On phones the screenshots are too small to read, so the caption carries the
   detail — set it in the body face at a readable size, and tell people the
   image opens full-size on tap. */
.tap-hint { display: none; }
@media (max-width: 760px) {
  .caption {
    text-align: left;
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: normal;
    margin-top: 14px;
  }
  .tap-hint {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #55555f;
    margin-top: 8px;
    text-transform: uppercase;
  }
}

/* ── Content sections ──────────────────────────────────────────────── */
.sec { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.sec-rev { flex-wrap: wrap-reverse; }
.sec-text { flex: 1 1 420px; min-width: 300px; }
.sec-shot { flex: 1 1 540px; min-width: 300px; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 16px; }
.sec h2 { font-size: clamp(1.5rem, 3.4vw, 30px); font-weight: 600; color: #fff; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
.sec p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0; }
.sec strong, .block strong { color: var(--text); font-weight: 600; }

.block { padding-top: 56px; padding-bottom: 56px; }
.block-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.block-head h2 { font-size: clamp(1.6rem, 4vw, 32px); font-weight: 600; color: #fff; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.block-head p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0; }

.expense-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pill {
  display: inline-flex; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; padding: 4px 11px; border-radius: 4px;
  margin-bottom: 16px; text-transform: uppercase;
}
.pill-muted  { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--muted); }
.pill-accent { background: rgba(196,53,8,0.1); border: 1px solid rgba(196,53,8,0.3); color: var(--accent-hi); }
.expense-grid .shotbox { margin-bottom: 16px; }
.expense-grid p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ── Also included ─────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 26px; transition: border-color 0.2s; }
.feature-card:hover { border-color: rgba(196,53,8,0.35); }
.feature-card h3 { font-size: 16px; font-weight: 600; color: #fff; letter-spacing: -0.01em; margin: 0 0 8px; }
.feature-card p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ── Final CTA ─────────────────────────────────────────────────────── */
.final { padding-top: 20px; padding-bottom: 110px; }
.final-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 64px 48px; text-align: center;
}
.final-glow {
  position: absolute; top: -140px; right: -100px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(196,53,8,0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.final-inner { position: relative; z-index: 1; }
.final-inner h2 { font-size: clamp(1.6rem, 4vw, 32px); font-weight: 600; color: #fff; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
.final-inner p { font-size: 16px; color: var(--muted); margin: 0 0 32px; }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-wordmark span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; color: var(--muted); }
.footer-wordmark .sep { letter-spacing: normal; color: #3a3a44; }
.footer-wordmark .prod { letter-spacing: 0.12em; }
.footer-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-right a { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; transition: color 0.15s; }
.footer-right a:hover { color: var(--text); }
.footer-right span { font-size: 12.5px; color: var(--muted); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
  .expense-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-inner { padding: 14px 20px; }
  .hero-inner { padding-top: 64px; }
  .hero-shot { padding-bottom: 64px; }
  .sec { gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .final-card { padding: 44px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
