/* ============================================================
   GREYROCK — main.css
   Dark theme marketing site
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --color-bg:       #0D1117;
  --color-surface:  #161B22;
  --color-accent:   #3B82F6;
  --color-green:    #22C55E;
  --color-text:     #F0F6FC;
  --color-muted:    #8B949E;
  --color-danger:   #EF4444;
  --color-border:   #30363D;
  --color-orange:   #F59E0B;

  --radius-sm:  6px;
  --radius:    12px;
  --radius-lg: 20px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  --max-width: 1200px;
  --section-pad: 5rem 0;
  --section-pad-sm: 3rem 0;
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-muted   { color: var(--color-muted); }

/* ---- Buttons ---- */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: opacity 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-ghost:hover { background: rgba(59,130,246,0.08); text-decoration: none; }

.btn-large {
  height: 56px;
  padding: 0 2rem;
  font-size: 1rem;
}

.w-full { width: 100%; }

/* ---- Cards ---- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ---- Badges ---- */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2em 0.55em;
  border-radius: var(--radius-sm);
  vertical-align: middle;
}
.badge-pro   { background: var(--color-accent); color: #fff; }
.badge-free  { background: var(--color-green);  color: #000; }
.badge-green { background: var(--color-green);  color: #000; }
.badge-category { background: rgba(59,130,246,0.15); color: var(--color-accent); border: 1px solid rgba(59,130,246,0.25); }

/* ---- Quote Block ---- */
.quote-block {
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-text);
}
.quote-block p { margin: 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--color-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--color-text); }

.nav-links .nav-cta {
  height: 38px;
  padding: 0 1rem;
  font-size: 0.875rem;
  margin-left: 0.5rem;
  border-radius: var(--radius-sm);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, #0D1117 0%, #101620 100%);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  max-width: 820px;
  margin: 0 auto 1.25rem;
  letter-spacing: -0.03em;
}

.subheadline {
  font-size: 1.1875rem;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.trust-line {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

/* Screenshot pair */
.screenshot-pair {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.screenshot-placeholder {
  flex: 0 0 280px;
  max-width: 280px;
}

.screenshot-mock {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  min-height: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.screenshot-mock-pdf {
  background: #fff;
  color: #111;
}

.mock-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}
.mock-streak {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.mock-log-item {
  display: flex;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.mock-tag { color: var(--color-accent); font-weight: 600; }
.mock-date { color: var(--color-muted); }

/* PDF mock elements in screenshot */
.mock-pdf-header { font-size: 0.9rem; font-weight: 700; color: #111; text-align: center; margin-bottom: 0.25rem; }
.mock-pdf-sub    { font-size: 0.7rem; color: #555; text-align: center; margin-bottom: 1rem; }
.mock-pdf-incident { background: #f8f8f8; border: 1px solid #ddd; border-radius: 4px; padding: 0.75rem; margin-bottom: 1rem; }
.mock-pdf-date   { font-size: 0.7rem; color: #555; margin-bottom: 0.25rem; }
.mock-pdf-type   { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; }
.mock-badge-red  { background: #FEE2E2; color: #991B1B; font-size: 0.65rem; font-weight: 700; padding: 0.1em 0.4em; border-radius: 3px; }
.mock-badge-orange { background: #FEF3C7; color: #92400E; font-size: 0.65rem; font-weight: 700; padding: 0.1em 0.4em; border-radius: 3px; }
.mock-pdf-quote  { font-size: 0.75rem; color: #111; font-style: italic; }
.mock-pdf-footer { font-size: 0.65rem; color: #888; text-align: center; margin-top: 1rem; }

.screenshot-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem {
  background: var(--color-surface);
  padding: var(--section-pad);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.pull-quote {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-style: italic;
  text-align: center;
  color: var(--color-text);
  max-width: 760px;
  margin: 0 auto 3rem;
  border: none;
  quotes: none;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-col {
  text-align: center;
}
.problem-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-accent);
}
.problem-col h3 { margin-bottom: 0.75rem; }
.problem-col p  { color: var(--color-muted); }

/* ============================================================
   SOLUTION / FEATURE GRID
   ============================================================ */
.solution {
  padding: var(--section-pad);
}
.solution h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.feature-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-icon { color: var(--color-accent); }
.feature-card h3 { margin-bottom: 0.25rem; }
.feature-card p  { color: var(--color-muted); margin: 0; font-size: 0.9375rem; }

.section-cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   PDF PREVIEW
   ============================================================ */
.pdf-preview {
  background: var(--color-surface);
  padding: var(--section-pad);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.pdf-preview h2 { text-align: center; margin-bottom: 2.5rem; }

.pdf-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}

.pdf-mockup {
  background: #fff;
  color: #111;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  font-family: var(--font-mono), serif;
  font-size: 0.875rem;
  line-height: 1.6;
}

.pdf-doc-header {
  border-bottom: 2px solid #111;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.pdf-doc-title { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.pdf-doc-sub   { font-size: 0.8rem; color: #555; }
.pdf-doc-meta  { font-size: 0.75rem; color: #555; margin-top: 0.25rem; }

.pdf-incident { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px dashed #ccc; position: relative; }
.pdf-incident-fade { opacity: 0.4; overflow: hidden; max-height: 140px; }
.pdf-incident-fade::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(transparent, #fff);
}

.pdf-incident-header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.pdf-incident-date { font-size: 0.8rem; color: #444; }
.pdf-incident-type { font-size: 0.75rem; font-weight: 600; }
.pdf-badge-red    { background: #FEE2E2; color: #991B1B; font-size: 0.65rem; font-weight: 700; padding: 0.1em 0.45em; border-radius: 3px; }
.pdf-badge-orange { background: #FEF3C7; color: #92400E; font-size: 0.65rem; font-weight: 700; padding: 0.1em 0.45em; border-radius: 3px; }

.pdf-risk { font-size: 0.8rem; color: #333; margin-bottom: 0.5rem; }
.pdf-section-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #777; margin-bottom: 0.25rem; margin-top: 0.75rem; }
.pdf-verbatim { border: 1px solid #ccc; background: #f8f8f8; padding: 0.75rem; border-radius: 3px; font-style: italic; font-size: 0.875rem; margin-bottom: 0.5rem; }
.pdf-description, .pdf-response { font-size: 0.8rem; color: #333; }
.pdf-doc-footer { border-top: 1px solid #ccc; padding-top: 0.75rem; margin-top: 1.5rem; font-size: 0.7rem; color: #777; text-align: center; }

/* PDF right side */
.pdf-checklist-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.pdf-checklist-wrap h3 { margin-bottom: 0.5rem; }

.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; }
.check-icon { color: var(--color-green); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-pad);
}
.testimonials h2 { margin-bottom: 0.25rem; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card { display: flex; flex-direction: column; gap: 0.75rem; }
.stars { color: #FBBF24; font-size: 1.1rem; letter-spacing: 0.05em; }
.testimonial-quote { font-size: 0.9375rem; color: var(--color-text); font-style: italic; line-height: 1.65; flex: 1; }
.testimonial-author { font-size: 0.8rem; color: var(--color-muted); margin: 0; }
.disclaimer-small { font-size: 0.8rem; color: var(--color-muted); margin-top: 2rem; }

/* ============================================================
   HOW IT WORKS (home abbreviated)
   ============================================================ */
.how-it-works-steps {
  background: var(--color-surface);
  padding: var(--section-pad);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.how-it-works-steps h2 { text-align: center; margin-bottom: 2.5rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step { text-align: center; }
.step-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}
.step h3 { margin-bottom: 0.5rem; }
.step p   { color: var(--color-muted); font-size: 0.9375rem; }

/* ============================================================
   PRICING PREVIEW / PRICING FULL
   ============================================================ */
.pricing-preview,
.pricing-full {
  padding: var(--section-pad);
}
.pricing-preview h2,
.pricing-full h2 { text-align: center; margin-bottom: 1rem; }

.price-toggle-wrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.375rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.price-toggle-btn {
  padding: 0.5rem 1.25rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  transition: background 0.15s, color 0.15s;
}
.price-toggle-btn.active {
  background: var(--color-accent);
  color: #fff;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card { display: flex; flex-direction: column; gap: 1rem; }
.pricing-card-pro {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, var(--color-surface) 100%);
  position: relative;
}

.plan-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 0.2em 0.6em;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.plan-label { font-size: 1.125rem; font-weight: 700; color: var(--color-muted); }
.plan-price { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.plan-period { font-size: 1rem; font-weight: 400; color: var(--color-muted); }
.plan-note   { font-size: 0.8rem; color: var(--color-muted); margin: -0.75rem 0 0; }
.plan-desc   { font-size: 0.875rem; color: var(--color-muted); }

.plan-features { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; }

.link-accent { color: var(--color-accent); font-size: 0.9rem; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--color-bg) 0%, #10151f 100%);
  border-top: 1px solid var(--color-border);
}
.cta-final h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.cta-final .subheadline { max-width: 600px; margin: 0 auto 2rem; }

.store-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.store-badge-placeholder {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.footer-tagline { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.footer-store-btn { height: 42px; font-size: 0.875rem; }

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { color: var(--color-muted); font-size: 0.9rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--color-text); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--color-muted); margin: 0; }
.footer-disclaimer { max-width: 640px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #101620 0%, var(--color-bg) 100%);
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .subheadline { margin: 0; }

/* ============================================================
   HOW IT WORKS (detail page)
   ============================================================ */
.hiw-section { padding: var(--section-pad); }
.hiw-alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.hiw-block { }
.hiw-block-center { max-width: 760px; margin: 0 auto; }
.hiw-block-center h2 { margin-bottom: 1rem; }
.hiw-block-center p  { color: var(--color-muted); font-size: 0.9375rem; margin-bottom: 0.75rem; }

.hiw-block-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hiw-block-reverse { direction: rtl; }
.hiw-block-reverse > * { direction: ltr; }

.hiw-text h2 { margin-bottom: 1rem; }
.hiw-text p  { color: var(--color-muted); font-size: 0.9375rem; margin-bottom: 0.75rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.4rem; padding-left: 1rem; list-style: disc; }
.feature-list li { color: var(--color-muted); font-size: 0.9375rem; }

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 0.3em 0.75em;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* App mockup widget */
.app-mockup {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 340px;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.app-mockup-pause { text-align: center; }
.mockup-title { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 1rem; }
.mockup-field { margin-bottom: 0.75rem; }
.mockup-field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--color-muted); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.06em; }
.mockup-input  { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; font-size: 0.85rem; color: var(--color-text); }
.mockup-select { cursor: default; }
.mockup-textarea { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; font-size: 0.85rem; color: var(--color-text); min-height: 56px; line-height: 1.5; }
.mockup-textarea-sm { min-height: 44px; }
.mockup-result { border-color: var(--color-accent); }
.mockup-risk { font-size: 1.1rem; color: var(--color-danger); letter-spacing: 0.05em; }
.mockup-save { background: var(--color-accent); color: #fff; text-align: center; border-radius: var(--radius-sm); padding: 0.6rem 1rem; font-size: 0.875rem; font-weight: 600; margin-top: 0.75rem; }

.mockup-pause-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.mockup-timer { font-size: 3rem; font-weight: 700; color: var(--color-accent); margin-bottom: 0.75rem; font-variant-numeric: tabular-nums; }
.mockup-pause-text { color: var(--color-muted); font-size: 0.875rem; margin-bottom: 1rem; }
.mockup-streak-line { font-size: 0.875rem; color: var(--color-green); font-weight: 600; margin-bottom: 1rem; }

.mockup-templates { display: flex; flex-direction: column; gap: 0.5rem; }
.mockup-template-item { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; font-size: 0.8rem; color: var(--color-text); }
.mockup-template-pro { color: var(--color-accent); border-color: rgba(59,130,246,0.3); }

.mockup-tone-row { display: flex; gap: 0.4rem; margin-bottom: 0.75rem; }
.mockup-tone { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.35rem 0.65rem; font-size: 0.75rem; font-weight: 600; color: var(--color-muted); }
.mockup-tone.active { border-color: var(--color-accent); color: var(--color-accent); background: rgba(59,130,246,0.08); }

.mockup-streak-display { text-align: center; margin-bottom: 1rem; }
.mockup-streak-number { font-size: 4rem; font-weight: 700; color: var(--color-accent); line-height: 1; }
.mockup-streak-label { font-size: 0.875rem; color: var(--color-muted); margin-top: 0.25rem; }

.mockup-streak-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 0.5rem;
}
.streak-day {
  width: 100%;
  padding-bottom: 100%;
  background: var(--color-border);
  border-radius: 3px;
}
.streak-day.active { background: var(--color-accent); }

.mockup-goal { display: flex; justify-content: space-between; font-size: 0.85rem; padding: 0.4rem 0; border-bottom: 1px solid var(--color-border); }
.mockup-goal:last-child { border-bottom: none; }
.mockup-attach-area { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; border: 2px dashed var(--color-border); border-radius: var(--radius-sm); padding: 1rem; color: var(--color-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.mockup-attach-icon { font-size: 1.5rem; color: var(--color-accent); }
.mockup-attach-preview { font-size: 0.75rem; color: var(--color-accent); }
.mockup-pin-display { font-size: 2rem; text-align: center; letter-spacing: 0.5rem; color: var(--color-accent); margin: 1rem 0; }

/* Feature nav on features page */
.feature-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.feature-nav a { color: var(--color-muted); font-size: 0.875rem; border: 1px solid var(--color-border); border-radius: 999px; padding: 0.3em 0.85em; transition: all 0.15s; }
.feature-nav a:hover { color: var(--color-accent); border-color: var(--color-accent); text-decoration: none; }

/* Features page sections */
.features-section { padding: var(--section-pad); }
.features-section-alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.features-section h2 { margin-bottom: 0.5rem; }
.section-intro { color: var(--color-muted); max-width: 640px; margin-bottom: 2.5rem; }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--color-border);
}
.feature-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.feature-block-rev { }
.feature-block-rev .feature-block-text { order: 2; }
.feature-block-rev .feature-block-visual { order: 1; }

.feature-block-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.feature-block-header h3 { margin: 0; }
.feature-block-text p  { color: var(--color-muted); font-size: 0.9375rem; margin-bottom: 0.75rem; }
.feature-block-text ul { padding-left: 1.25rem; list-style: disc; }
.feature-block-text ul li { color: var(--color-muted); font-size: 0.9375rem; margin-bottom: 0.3rem; }

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.feature-grid-3 .card h4 { margin-bottom: 0.5rem; }
.feature-grid-3 .card p  { color: var(--color-muted); font-size: 0.875rem; margin: 0; }

/* ============================================================
   COMPARISON TABLE (pricing page)
   ============================================================ */
.comparison-section { padding: var(--section-pad); background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.comparison-table-wrap { overflow-x: auto; margin-top: 2rem; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparison-table th { padding: 0.75rem 1rem; text-align: left; border-bottom: 2px solid var(--color-border); color: var(--color-muted); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; }
.comparison-table th:not(:first-child) { text-align: center; }
.comparison-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.comparison-table td:not(:first-child) { text-align: center; }
.comparison-table tr:last-child td { border-bottom: none; }
.table-group-row td { background: rgba(59,130,246,0.06); color: var(--color-accent); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.5rem 1rem; }
.check-cell { color: var(--color-green); font-size: 1rem; }
.x-cell     { color: var(--color-border); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: var(--section-pad); }
.faq-list { max-width: 760px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 0; }
.faq-item { padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; cursor: default; }
.faq-a { color: var(--color-muted); font-size: 0.9375rem; margin: 0; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-listing { padding: var(--section-pad); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-grid-3 { grid-template-columns: repeat(3, 1fr); }

.blog-card { display: flex; flex-direction: column; gap: 0.75rem; transition: border-color 0.15s; }
.blog-card:hover { border-color: var(--color-accent); }
.blog-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.blog-date, .blog-readtime { font-size: 0.8rem; color: var(--color-muted); }
.blog-card-title { font-size: 1.0625rem; font-weight: 700; flex: 1; }
.blog-card-title a { color: var(--color-text); text-decoration: none; }
.blog-card-title a:hover { color: var(--color-accent); }
.blog-card-excerpt { color: var(--color-muted); font-size: 0.875rem; margin: 0; }
.blog-card-link { color: var(--color-accent); font-size: 0.875rem; font-weight: 600; margin-top: auto; }
.blog-card-link:hover { text-decoration: underline; }

.blog-empty { text-align: center; max-width: 560px; margin: 2rem auto; }
.blog-empty h2 { margin-bottom: 0.75rem; }
.blog-empty p  { color: var(--color-muted); margin-bottom: 1.5rem; }

.blog-cta-strip { padding: 2.5rem 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.blog-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.blog-cta-inner h3 { margin-bottom: 0.25rem; }
.blog-cta-inner p  { color: var(--color-muted); font-size: 0.9rem; margin: 0; }

/* Blog post */
.post-hero { padding: 4rem 0 3rem; background: linear-gradient(180deg, #101620 0%, var(--color-bg) 100%); border-bottom: 1px solid var(--color-border); }
.post-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.post-date, .post-readtime { font-size: 0.8rem; color: var(--color-muted); }
.post-hero h1 { max-width: 760px; margin-bottom: 1rem; }
.post-description { color: var(--color-muted); font-size: 1rem; max-width: 640px; margin-bottom: 0.5rem; }
.post-byline { font-size: 0.875rem; color: var(--color-muted); margin: 0; }

.post-body-section { padding: 4rem 0; }
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }

.post-article { min-width: 0; }
.post-content { font-size: 1rem; line-height: 1.75; color: var(--color-text); }
.post-content h2 { margin: 2rem 0 1rem; }
.post-content h3 { margin: 1.5rem 0 0.75rem; }
.post-content p  { margin-bottom: 1rem; color: var(--color-muted); }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.post-content li { color: var(--color-muted); margin-bottom: 0.4rem; }
.post-content blockquote { border-left: 3px solid var(--color-accent); background: var(--color-surface); padding: 1rem 1.25rem; border-radius: 0 4px 4px 0; margin: 1.5rem 0; font-style: italic; }
.post-content a  { color: var(--color-accent); }
.post-content strong { color: var(--color-text); }

.post-inline-cta { margin: 3rem 0; }
.post-inline-cta h3 { margin-bottom: 0.75rem; }
.post-inline-cta p  { color: var(--color-muted); font-size: 0.9375rem; margin-bottom: 1rem; }

.post-author {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.post-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.post-author strong { display: block; margin-bottom: 0.25rem; }
.post-author p { color: var(--color-muted); font-size: 0.875rem; margin: 0; }

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem; position: sticky; top: 80px; }
.sidebar-card h4 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 0.75rem; }
.sidebar-download h4 { color: var(--color-text); font-size: 1rem; text-transform: none; letter-spacing: 0; }
.sidebar-download p  { color: var(--color-muted); font-size: 0.875rem; margin-bottom: 1rem; }
.sidebar-trust { text-align: center; margin-top: 0.75rem; }
.sidebar-trust small { color: var(--color-muted); font-size: 0.75rem; }

.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.toc-list a { font-size: 0.8rem; color: var(--color-muted); transition: color 0.15s; display: block; padding: 0.2rem 0; }
.toc-list a:hover { color: var(--color-accent); text-decoration: none; }
.toc-h3 { padding-left: 0.75rem; }

.related-posts { padding: 3rem 0; border-top: 1px solid var(--color-border); }
.related-posts h2 { margin-bottom: 1.5rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: var(--section-pad); }
.contact-layout  { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.contact-form-wrap { }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: 0.9375rem; }
.alert-success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); color: var(--color-green); }
.alert-error   { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: var(--color-danger); }
.alert ul { padding-left: 1.25rem; list-style: disc; margin-top: 0.5rem; }
.alert li { margin-bottom: 0.25rem; }

.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; tab-index: -1; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--color-text); }
.required { color: var(--color-danger); }
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  color: var(--color-text);
  font-family: var(--font-sans);
  transition: border-color 0.15s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-muted); }
.form-disclaimer { font-size: 0.8rem; color: var(--color-muted); margin-top: 0.75rem; }

.contact-info-card { margin-bottom: 1rem; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.contact-info-card p  { color: var(--color-muted); font-size: 0.875rem; margin-bottom: 0.5rem; }
.contact-info-card ul { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-info-card ul li a { color: var(--color-accent); font-size: 0.875rem; }

/* ============================================================
   LEGAL PAGES (privacy, terms)
   ============================================================ */
.legal-section { padding: var(--section-pad); }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin: 2rem 0 0.75rem; font-size: 1.375rem; }
.legal-content h3 { margin: 1.5rem 0 0.5rem; font-size: 1.0625rem; }
.legal-content p  { color: var(--color-muted); font-size: 0.9375rem; margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 0.75rem; }
.legal-content ul li { color: var(--color-muted); font-size: 0.9375rem; margin-bottom: 0.35rem; }
.legal-content a  { color: var(--color-accent); }

/* ============================================================
   404
   ============================================================ */
.error-section { padding: 8rem 0; }
.error-code { font-size: 8rem; font-weight: 700; color: var(--color-border); line-height: 1; margin-bottom: 1rem; }
.error-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; list-style: none; margin-top: 0.75rem; }
.error-links a { color: var(--color-accent); font-size: 0.9375rem; }

/* ============================================================
   RESPONSIVE — 768px breakpoint
   ============================================================ */
@media (max-width: 900px) {
  .pdf-layout        { grid-template-columns: 1fr; }
  .pdf-checklist-wrap { text-align: center; align-items: center; display: flex; flex-direction: column; }
  .checklist         { align-items: flex-start; text-align: left; }
  .hiw-block-split   { grid-template-columns: 1fr; }
  .hiw-block-reverse { direction: ltr; }
  .feature-block     { grid-template-columns: 1fr; }
  .feature-block-rev .feature-block-text { order: 0; }
  .feature-block-rev .feature-block-visual { order: 0; }
  .post-layout       { grid-template-columns: 1fr; }
  .post-sidebar      { display: none; }
  .contact-layout    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 0; }

  /* Nav */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.1rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 0.65rem 0.5rem; }
  .nav-links .nav-cta { margin-left: 0; margin-top: 0.75rem; }

  /* Grid collapses */
  .problem-grid         { grid-template-columns: 1fr; }
  .feature-grid-2x2     { grid-template-columns: 1fr; }
  .testimonial-grid     { grid-template-columns: 1fr; }
  .steps-grid           { grid-template-columns: 1fr; }
  .pricing-cards        { grid-template-columns: 1fr; }
  .blog-grid            { grid-template-columns: 1fr; }
  .blog-grid-3          { grid-template-columns: 1fr; }
  .footer-grid          { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid-3       { grid-template-columns: 1fr; }
  .screenshot-pair      { flex-direction: column; align-items: center; }
  .screenshot-placeholder { max-width: 100%; flex: none; }
  .cta-group            { flex-direction: column; align-items: center; }
  .footer-bottom        { align-items: flex-start; text-align: left; }
  .blog-cta-inner       { flex-direction: column; text-align: center; }
  .price-toggle-wrap    { width: 100%; }
  .price-toggle-btn     { flex: 1; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.875rem; }
  .error-code { font-size: 5rem; }
}
