/* OneNote Reports for Jira — landing. Same minimalist shape as
   msplannertojira.com — white nav, two-column hero, 3-up features,
   single colored CTA, dark footer. */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --text: #1a1a1a;
  --text-muted: #5e6772;
  --text-faint: #97a0af;
  --border: #ebebeb;
  --border-strong: #d8d8d8;

  --brand: #6a3eb4;          /* the purple from the stacked-pages logo */
  --brand-hover: #5a35a0;
  --brand-soft: #f0e8fa;

  --accent: #c941b7;         /* magenta — used very sparingly */
  --info: #3787e2;

  --dark: #1a1f2c;
  --max-w: 1100px;

  --font-ui: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Menlo", "Consolas", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────── Nav ─────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ────────────────────────────── Buttons ──────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  text-align: center;
  white-space: nowrap;
}
.btn-lg { padding: 12px 22px; font-size: 15px; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }

.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-soft); }

/* ─────────────────────────────── Hero ────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 24px 96px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--text);
}

.hero .lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-note { font-size: 13px; color: var(--text-faint); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 64px;
  }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 16px; max-width: none; }
}

/* ───────────────────────── Hero preview card ─────────────────────── */

.preview {
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  font-size: 13px;
}
.preview-chrome {
  display: flex;
  gap: 0;
  background: var(--bg-soft);
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}
.preview-tab {
  padding: 7px 12px;
  border-radius: 5px 5px 0 0;
  color: var(--text-faint);
}
.preview-tab.active {
  background: #fff;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 -1px 0 var(--border) inset;
}
.preview-body { padding: 18px 20px 20px; }
.preview-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  table-layout: fixed;
}
/* Column widths: Key | Summary (flex) | Status | Notes.
   Fixed widths on Key + Status keep the SCRUM-42 keys and "In Progress"
   pills on one line; Summary and Notes share the remainder. */
.preview-table th:nth-child(1),
.preview-table td:nth-child(1) { width: 96px; }
.preview-table th:nth-child(3),
.preview-table td:nth-child(3) { width: 108px; }
.preview-table th:nth-child(4),
.preview-table td:nth-child(4) { width: 26%; }

.preview-table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  padding: 7px 8px;
  border-bottom: 1px solid var(--border);
}
.preview-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.preview-table tr:last-child td { border-bottom: none; }
.preview-table .k {
  font-family: var(--font-mono);
  color: var(--info);
  font-size: 12px;
  white-space: nowrap;
}
.preview-table .n {
  color: var(--text-muted);
  font-style: italic;
  background: rgba(106, 62, 180, 0.04);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pill.in-progress { background: #e6f0ff; color: #2257c4; }
.pill.todo { background: #f0f0f0; color: #4a4a4a; }
.pill.blocked { background: #fde3de; color: #b32400; }

/* ───────────────────────────── Features ──────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 72px 24px;
  border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }
}

.feature {
  text-align: left;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ─────────────────────────────── CTA ─────────────────────────────── */

.cta {
  background: var(--brand);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .cta { padding: 56px 0; }
  .cta h2 { font-size: 24px; }
}

/* ───────────────────────────── Footer ────────────────────────────── */

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: inline-flex; gap: 24px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: #fff; }
