/* Agentic Reliability — landing page */
:root {
  --cream: #f7f4ef;
  --cream-deep: #efeae2;
  --white: #ffffff;
  --charcoal: #2c2f2d;
  --charcoal-soft: #4a4f4b;
  --muted: #6b716c;
  --line: #e2ddd4;
  --sage: #6fa86a;
  --sage-deep: #5a9256;
  --sage-soft: #e8f2e6;
  --orange: #e89a3c;
  --orange-deep: #d6872a;
  --orange-soft: #fdf3e6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(44, 47, 45, 0.04), 0 8px 24px rgba(44, 47, 45, 0.06);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-decoration: none; }
a:hover { color: var(--orange-deep); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
}

.brand:hover { color: inherit; }

.brand img.logo {
  height: 40px;
  width: auto;
}

.brand img.icon {
  height: 36px;
  width: 36px;
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--charcoal-soft);
}

.nav a:hover {
  color: var(--charcoal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--orange-deep);
  color: #fff !important;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
}

.hero .subhead {
  font-size: 1.15rem;
  color: var(--charcoal-soft);
  max-width: 36rem;
  margin: 0 0 1rem;
}

.hero .supporting {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin: 0 0 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--charcoal-soft);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--sage);
  color: var(--charcoal);
  background: var(--white);
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.hero-card .icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
}

.hero-card .icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card .card-title {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.score-preview {
  display: grid;
  gap: 0.65rem;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.9rem;
}

.score-row strong { font-weight: 600; }

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.badge-ready { background: var(--sage-soft); color: var(--sage-deep); }
.badge-risky { background: var(--orange-soft); color: var(--orange-deep); }
.badge-fix { background: #f3e8e6; color: #a14b3c; }

.hero-card .caption {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* Problem */
.problem {
  padding: 1rem 0 4rem;
}

.problem-strip {
  background: var(--charcoal);
  color: #f3f1ec;
  border-radius: 22px;
  padding: 2.5rem 2.25rem;
  position: relative;
  overflow: hidden;
}

.problem-strip::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 154, 60, 0.22), transparent 70%);
  pointer-events: none;
}

.problem-strip h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 38ch;
}

.problem-strip p {
  margin: 0 0 1rem;
  color: #d5d2cb;
  max-width: 52rem;
  font-size: 1.05rem;
}

.problem-strip .close {
  margin: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Sections shared */
section.block {
  padding: 4rem 0;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 0.65rem;
}

.block h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.lead {
  font-size: 1.08rem;
  color: var(--charcoal-soft);
  max-width: 44rem;
  margin: 0 0 2rem;
}

/* Assessment */
.assessment {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.cover-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.cover-card .dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--sage);
}

.cover-card:nth-child(2) .dot { background: var(--orange); }
.cover-card:nth-child(3) .dot { background: var(--sage); }
.cover-card:nth-child(4) .dot { background: var(--sage); }

.cover-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.45;
}

/* What you get */
.deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.deliverable {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.45rem;
  box-shadow: var(--shadow);
}

.deliverable .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.deliverable:nth-child(2) .num {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.deliverable h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.deliverable p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Trust */
.trust {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.lockup {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.lockup span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Final CTA */
.final-cta {
  padding: 4.5rem 0;
}

.cta-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.cta-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.cta-panel > div > p {
  margin: 0 0 1.5rem;
  color: var(--charcoal-soft);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.soft-form {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.35rem;
  border: 1px solid var(--line);
}

.soft-form h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 0.65rem;
}

.form-grid label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-grid input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.form-grid input:focus {
  outline: 2px solid rgba(111, 168, 106, 0.35);
  border-color: var(--sage);
}

.form-grid .btn {
  margin-top: 0.35rem;
  width: 100%;
  border: none;
  font-family: inherit;
}

.form-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.footer-brand img {
  height: 28px;
  width: 28px;
}

.footer-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.footer-meta a {
  color: var(--charcoal-soft);
  font-weight: 500;
}

.footer-meta a:hover { color: var(--orange-deep); }

.footer-note {
  max-width: 28rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 420px;
  }

  .deliverables,
  .lockups {
    grid-template-columns: 1fr;
  }

  .cover-grid {
    grid-template-columns: 1fr;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .brand img.logo {
    height: 34px;
  }
}

@media (max-width: 520px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .hero { padding: 3rem 0 2.5rem; }
  .problem-strip { padding: 1.75rem 1.35rem; }
  .cta-panel { padding: 1.5rem; }
  .brand img.logo { display: none; }
  .brand img.icon { display: block; }
  .btn-primary { padding: 0.75rem 1.1rem; font-size: 0.92rem; }
}
