/* Ignite Light — brings the marketing site onto the real app's actual
   light-mode identity (client/src/index.css's "Cool Slate" tokens,
   chosen 2026-08-27) instead of the old standalone emerald-ledger
   palette this site used to run. Same values, not just the same hue —
   picked so a visitor never sees two different brands between this page
   and a product screenshot. See progress_tracker.md's "Marketing site
   redesign" entry. */
:root {
  --bg: #ffffff;
  --surface: #f3f5f7;
  --text: #5b6570;
  --text-heading: #12161b;
  --border: #dfe3e8;
  --accent: #4f7a00;
  --accent-hover: #3f6200;
  --accent-bg: rgba(79, 122, 0, 0.08);
  --accent-border: rgba(79, 122, 0, 0.26);
  --button-bg: #c3ff3f;
  --button-bg-hover: #aee62c;
  --button-text: #141a10;
  --radius: 10px;
  --radius-sm: 6px;
  --max-width: 1120px;
  --sans: 'Work Sans', system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: 'Space Grotesk', system-ui, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: var(--heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

h1 { font-size: 44px; }
h2 { font-size: 32px; text-align: center; margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 6px; }

p { margin: 0 0 12px; }

a { color: var(--accent); text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 18px;
}

/* No border-radius here — the current mark (Logo.jsx's real path) is a
   transparent-background ink shape, not a filled square icon like the
   old logo.svg was. */
.brand-mark {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background-color 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-small { padding: 9px 16px; font-size: 14px; }

/* Fixed bright lime regardless of surroundings — the real app's own
   button rule (client/DESIGN.md: "button contrast is independent of
   page background"), not an accent-tinted fill. */
.btn-primary {
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 700;
}
.btn-primary:hover { background: var(--button-bg-hover); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-border);
}
.btn-outline:hover { background: var(--accent-bg); }

.btn-ghost {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent-border); color: var(--accent); }

/* Hero */

.hero { padding: 72px 0 88px; }

.hero-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-sub { font-size: 18px; max-width: 46ch; }

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-media img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Value strip */

.value-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-item h3 { font-size: 17px; }
.value-item p { font-size: 15px; margin: 0; }

/* Product screenshot */

.product-shot { padding: 64px 0 88px; }

/* No drop shadow — the real app has none anywhere (DESIGN.md's
   Flat-By-Default Rule); a border is the only elevation cue. The frame's
   chrome is light (white body, --surface bar) so the light-mode product
   screenshots inside it share the page's own Cool Slate tokens — a dark
   frame around light captures would present a third color story. (The
   frame was dark while the screenshots were dark-mode captures; both were
   moved to light together 2026-08-28.) */
.browser-frame {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.browser-frame-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.browser-frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c3cad2;
}

.browser-frame img {
  width: 100%;
  display: block;
}

/* Features */

.features { padding: 88px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card p { font-size: 15px; margin: 0; }

.features-note {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  margin: 32px 0 0;
}

/* How it works */

.how {
  background: var(--surface);
  padding: 88px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-row {
  display: grid;
  /* Screenshot gets the larger share (1.25fr vs 1fr copy) so the product
     capture reads big — it's the point of the section. Was 1fr/1.1fr with a
     wider 56px gap before the 2026-08-28 "make the screenshot bigger" pass. */
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}


.how-copy h2 { text-align: left; }

.how-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.how-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-steps h3 { font-size: 16px; margin-bottom: 4px; }
.how-steps p { font-size: 15px; margin: 0; }

/* Pricing */

.pricing { padding: 88px 0; }

.pricing-sub { text-align: center; font-size: 16px; margin-bottom: 44px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 24px;
  justify-content: center;
}

.pricing-grid-single {
  grid-template-columns: minmax(0, 640px);
}

.pricing-grid-single .price-card { padding: 40px 48px; }

.pricing-grid-single .price-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0;
}

/* JetBrains Mono, matching DESIGN.md's rule for money amounts app-wide —
   this is the one price on the page. */
.price {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 40px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 4px 0 8px;
}

.price span { font-size: 15px; font-weight: 500; color: var(--text); }

.price-desc { font-size: 15px; min-height: 44px; }

.price-features {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.price-features li {
  padding-left: 24px;
  position: relative;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.price-card .btn { width: 100%; }
.price-card .btn + .btn { margin-top: 10px; }

/* FAQ */

.faq {
  background: var(--surface);
  padding: 88px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  background: var(--bg);
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-heading);
  font-size: 16px;
}

details p {
  margin: 12px 0 0;
  font-size: 15px;
}

/* CTA band */

.cta-band { padding: 64px 0 96px; }

.cta-band-row {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band-row h2 { text-align: left; color: #fff; margin-bottom: 4px; }
.cta-band-row p { color: rgba(255,255,255,0.85); margin: 0; }
/* No white-button override here — the app's fixed-lime button (see
   .btn-primary above) already reads fine against any background,
   including this accent band, by design. */

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.footer-copy { color: var(--text); }

/* Responsive */

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero-row, .how-row { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .value-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .cta-band-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .value-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .pricing-grid-single .price-card { padding: 28px; }
  .pricing-grid-single .price-features { grid-template-columns: 1fr; }
}
