/* ============================================================================
   WRKTMR — public SEO site styles
   Dark, minimal, matches the WRKTMR app brand. No external dependencies.
   ============================================================================ */

:root {
  --bg: #101915;
  --bg-elev: #17231d;
  --bg-elev2: #203127;
  --text: #e8f3eb;
  --muted: #a0b4a6;
  --border: #304638;
  --accent: #7adba3;
  --accent-strong: #32b86b;
  --link: #7adba3;
  --radius: 12px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  font-size: 18px;
}
.brand small { color: var(--muted); font-weight: 400; }
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav a { color: var(--text); font-size: 15px; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav .btn { margin-left: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-elev2);
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
}
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn-primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
  font-weight: 600;
}
.btn-primary:hover { filter: brightness(1.05); border-color: var(--accent-strong); }

/* ---------- Hero / page hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 64px 0 48px;
}
.page-hero { padding: 56px 0 24px; max-width: 820px; }
.eyebrow {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lead { font-size: 19px; color: var(--muted); margin: 0 0 16px; max-width: 640px; }
.sub { font-size: 16px; color: var(--muted); margin: 0 0 24px; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Preview ---------- */
.hero-preview { display: flex; justify-content: center; }
.preview-box {
  width: 100%;
  max-width: 380px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.preview-head {
  display: flex; justify-content: space-between;
  font-weight: 700; margin-bottom: 12px;
}
.preview-head .workspace { color: var(--muted); font-size: 12px; font-weight: 400; }
.preview-grid { display: grid; grid-template-columns: 1.1fr 1.35fr .7fr; border-top: 1px solid var(--border); }
.preview-panel { min-width: 0; padding: 12px; }
.preview-panel + .preview-panel { border-left: 1px solid var(--border); }
.preview-label { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.preview-task {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; color: var(--text);
}
.preview-task .done {
  width: 14px; height: 14px; border-radius: 4px;
  background: var(--accent-strong);
}
.preview-task > span:first-child:not(.done) { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--border); flex: 0 0 14px; }
.preview-task .strike { color: var(--muted); text-decoration: line-through; }
.preview-quick { color: var(--muted); border: 1px dashed var(--border); border-radius: 6px; font-size: 12px; margin-top: 8px; padding: 5px 6px; }
.preview-now { text-align: center; }
.preview-now > strong { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-timer {
  font-size: 28px; font-weight: 700; text-align: center;
  font-variant-numeric: tabular-nums; margin: 12px 0;
  color: var(--accent);
}
.preview-controls { display: flex; gap: 6px; justify-content: center; font-size: 12px; }
.preview-controls span, .preview-controls b { border: 1px solid var(--border); border-radius: 6px; padding: 5px 7px; font-weight: 600; }
.preview-controls b { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.preview-totals { display: grid; align-content: center; gap: 2px; }
.preview-totals strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.preview-totals small { color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.preview-row {
  display: flex; justify-content: space-between;
  color: var(--muted); font-size: 13px; border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* ---------- Sections ---------- */
.section { padding: 40px 0; border-top: 1px solid var(--border); }
.section h2 { font-size: 26px; margin: 0 0 12px; }
.section h3 { font-size: 18px; margin: 0 0 8px; }
.section p { max-width: 720px; }
.muted { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.highlight {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
  max-width: 760px;
}

/* ---------- Flow / steps ---------- */
.flow, .steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.flow li, .steps li { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; }
.flow .arrow, .steps .arrow { background: none; border: none; color: var(--muted); padding: 0; }
.flow { justify-content: flex-start; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 16px 0; max-width: 720px; }
.checklist li { padding: 8px 0 8px 28px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--accent-strong); font-weight: 700;
}

/* ---------- Report preview ---------- */
.report-preview {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; max-width: 420px;
}
.report-head { color: var(--muted); font-size: 13px; }
.big-num { font-size: 38px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.report-rows { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 8px; }
.report-row { display: flex; justify-content: space-between; padding: 6px 0; }

/* ---------- FAQ ---------- */
details { max-width: 760px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
details p { margin: 6px 0 14px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center; padding: 56px 20px;
  border-top: 1px solid var(--border);
}
.final-cta h2 { margin: 0 0 8px; }
.final-cta p { color: var(--muted); margin: 0 0 20px; }
.final-cta .cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-elev); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 32px 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.footer-col h4 { margin: 0 0 10px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col a, .footer-col div { display: block; color: var(--text); padding: 3px 0; font-size: 14px; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 20px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 32px; }
  .nav { gap: 12px; }
  .nav .btn { padding: 8px 12px; }
  h1 { font-size: 30px; }
  .lead { font-size: 17px; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .preview-totals { grid-column: 1 / -1; grid-template-columns: auto auto auto auto; align-items: baseline; border-left: 0 !important; border-top: 1px solid var(--border); }
}
