:root {
  color-scheme: light;
  --ink: #18211d;
  --muted: #5d6b62;
  --panel: #ffffff;
  --line: #d8e0da;
  --wash: #f4f8f5;
  --mint: #dff4ea;
  --teal: #0f766e;
  --teal-dark: #095d55;
  --red: #b42318;
  --amber: #b45f06;
  --blue: #2563a8;
  --shadow: 0 20px 50px rgba(24, 33, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

nav a,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

nav a {
  color: var(--muted);
}

.nav-cta,
.button.primary {
  color: #ffffff;
  background: var(--teal);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: end;
  padding: 120px 32px 72px;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(244, 248, 245, 0.96) 0%, rgba(244, 248, 245, 0.88) 34%, rgba(244, 248, 245, 0.18) 78%), url("screenshots/dashboard.png");
  background-size: cover;
  background-position: center top;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  font-size: 2.4rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  color: #27362f;
  font-size: 1.26rem;
}

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

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.metric-band div {
  min-height: 132px;
  padding: 28px 32px;
  background: #ffffff;
}

.metric-band strong {
  display: block;
  color: var(--red);
  font-size: 2rem;
  line-height: 1.1;
}

.metric-band span {
  display: block;
  max-width: 260px;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: 96px 32px;
}

.section-heading,
.setup-copy,
.get-started-copy {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading p,
.setup-copy p,
.get-started-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.showcase {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.showcase.large {
  grid-column: 1 / -1;
}

.showcase img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
}

.showcase figcaption {
  padding: 18px 20px 20px;
  color: var(--muted);
  font-weight: 700;
}

.workflow {
  background: #ffffff;
}

.workflow-steps,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.workflow-steps article,
.faq-grid article,
.setup-list div,
.start-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-steps article,
.faq-grid article {
  padding: 24px;
}

.workflow-steps span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.workflow-steps p,
.faq-grid p {
  color: var(--muted);
}

.setup-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 34px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.setup-copy {
  margin: 0;
  text-align: left;
}

.setup-list {
  display: grid;
  gap: 14px;
}

.setup-list div {
  padding: 22px;
}

.setup-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--amber);
}

.setup-list span {
  color: var(--muted);
}

.get-started {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: center;
  background: var(--mint);
}

.get-started-copy {
  margin: 0;
  text-align: left;
}

.start-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.start-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq {
  background: #ffffff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px;
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.doc-template {
  background: #ffffff;
}

.doc-hero {
  padding: 96px 32px 40px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.doc-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: 3rem;
}

.doc-hero .eyebrow {
  max-width: 980px;
  margin-inline: auto;
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(240px, 300px);
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}

.doc-content {
  font-size: 1.05rem;
}

.doc-content h2,
.doc-content h3 {
  margin-top: 38px;
}

.doc-content p,
.doc-content li {
  color: #2f3d36;
}

.doc-content a {
  color: var(--teal-dark);
  font-weight: 700;
}

.doc-content ul,
.doc-content ol {
  padding-left: 1.4rem;
}

.doc-content .wp-block-separator {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.doc-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.doc-sidebar h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.doc-sidebar a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.doc-sidebar a.active,
.doc-sidebar a:hover {
  color: var(--teal-dark);
}

.doc-sidebar hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 680px;
    background-image: linear-gradient(180deg, rgba(244, 248, 245, 0.98) 0%, rgba(244, 248, 245, 0.9) 55%, rgba(244, 248, 245, 0.35) 100%), url("screenshots/dashboard.png");
  }

  .metric-band,
  .showcase-grid,
  .workflow-steps,
  .faq-grid,
  .setup-band,
  .get-started,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    position: static;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }

  .section {
    padding: 72px 20px;
  }

  .doc-hero {
    padding: 72px 20px 36px;
  }

  .doc-layout {
    padding: 40px 20px 72px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero {
    padding-inline: 20px;
  }

  nav a,
  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.25rem;
  }

  .doc-hero h1 {
    font-size: 2.25rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }
}
