:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-elevated: #f5f5f5;
  --text: #0a0a0a;
  --text-muted: #525252;
  --text-soft: #737373;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.85;
}

code {
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  background: var(--bg-elevated);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, 720px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand__mark,
.footer__logo {
  border-radius: 10px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--text);
  opacity: 1;
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 10px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn--primary:hover {
  background: #262626;
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  background: var(--bg-soft);
  opacity: 1;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 0.95rem;
}

.btn--invert {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}

.btn--invert:hover {
  background: #f5f5f5;
}

/* Hero */
.hero {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 55%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.lead {
  margin: 0 0 28px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero__bullets li::before {
  content: "— ";
  color: var(--text-soft);
}

.hero__visual {
  margin: 0;
}

.hero__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
}

.hero__frame img {
  width: 100%;
  object-fit: cover;
}

.hero__visual figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Audience */
.audience {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  text-align: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag-row span {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
}

/* Sections */
section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Pain / compare cards */
.pain {
  background: var(--bg-soft);
}

.compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-cards__item {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}

.compare-cards__item h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.compare-cards__item ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.compare-cards__item--before {
  opacity: 0.92;
}

.compare-cards__item--after {
  border-color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pillar-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.pillar-card__icon {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.pillar-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Steps */
.workflow {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.steps li span {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--text);
  color: #fff;
  border-radius: 8px;
}

/* Presets */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.preset-chip {
  padding: 16px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.preset-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 72ch;
}

/* Metrics table */
.metrics-table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.metrics-table th,
.metrics-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.metrics-table thead th {
  background: var(--bg-soft);
  font-weight: 600;
}

.metrics-table tbody tr:last-child td {
  border-bottom: none;
}

.metrics-table td:last-child {
  font-weight: 600;
}

/* Benefits / start */
.benefits {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.benefits__copy h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.benefits__card {
  padding: 32px;
  border: 1px solid var(--text);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.benefits__card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.benefits__card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.benefits__hint {
  margin-top: 16px !important;
  font-size: 0.82rem !important;
  color: var(--text-soft) !important;
}

.req-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.req-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1em;
  border-left: 2px solid var(--border);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 18px;
  background: var(--bg);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA band */
.cta-band {
  padding: 56px 0;
  background: var(--text);
  color: #fafafa;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0;
  color: #a3a3a3;
  max-width: 48ch;
}

/* Footer */
.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    order: 1;
  }

  .hero__visual {
    order: 0;
  }

  .compare-cards,
  .pillar-grid,
  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  section {
    padding: 52px 0;
  }

  .hero {
    padding-top: 32px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}