/* ============================================================
   Automa — prototype styles (Phase B)
   Palette: graphite #202522 / warm white #F5F4EF /
            system green #B9D96C / sage gray #8A9690
   Type: Manrope (headings) + Inter (body)
   Mobile-first. Paste into CodePen's CSS panel.
   ============================================================ */

:root {
  --graphite: #202522;
  --warm-white: #F5F4EF;
  --green: #B9D96C;
  --sage: #8A9690;
  --ink-soft: #3a3f39;
  --line: #e3e1d8;
  --radius: 12px;
  --wrap: 1080px;
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: 2.4rem; font-weight: 800; }
h2 { font-size: 1.75rem; font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--graphite);
  color: var(--warm-white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary {
  background: var(--green);
  color: var(--graphite);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(32, 37, 34, 0.18); }
.btn-ghost {
  border-color: var(--graphite);
  color: var(--graphite);
  background: transparent;
}
.btn-ghost:hover { background: rgba(32, 37, 34, 0.06); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 239, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--graphite);
  border-radius: 2px;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
}
.site-nav.open { display: flex; }
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.site-nav a:last-child { border-bottom: 0; }
.site-nav .nav-cta {
  margin-top: 0.6rem;
  text-align: center;
  border-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(185, 217, 108, 0.16), transparent 70%),
    var(--warm-white);
}
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.hero h1 { max-width: 16ch; }
.lede {
  font-size: 1.15rem;
  max-width: 34rem;
  color: var(--ink-soft);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 1.2rem;
}
.trust-line {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: #efeee7; }
.section-dark {
  background: var(--graphite);
  color: var(--warm-white);
}
.section-dark .section-intro { color: #cfccc0; }
.section-intro {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.section-dark .card { background: #2a2f2a; border-color: #3a4038; }
.card-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: -0.3rem 0 0.8rem;
}
.card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}
.section-dark .card ul { color: #cfccc0; }
.card li { margin-bottom: 0.35rem; }
.card .btn { margin-top: 1.2rem; }

.price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  margin: 0.4rem 0 1rem;
}
.price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.mini-head {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.4rem 0 0.4rem;
}
.card-featured { border: 2px solid var(--green); }

/* ---------- Industries ---------- */
.industry-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.industry-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
}
.industry-list strong {
  font-family: var(--font-head);
  display: block;
  margin-bottom: 0.15rem;
}
.industry-list span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
.steps li {
  background: #2a2f2a;
  border: 1px solid #3a4038;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--graphite);
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.steps p { color: #cfccc0; margin: 0; }

/* ---------- Form ---------- */
.form { margin-top: 2rem; }
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.field .optional { font-weight: 400; color: var(--sage); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--graphite);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--green);
  outline-offset: 1px;
  border-color: var(--graphite);
}
.form .btn { width: 100%; }
.form-note { margin-top: 1rem; font-weight: 600; min-height: 1.5em; }
.prototype-note {
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: #efeee7;
  border: 1px dashed var(--sage);
  border-radius: 8px;
  padding: 0.8rem 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite);
  color: var(--warm-white);
  padding: 2.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  gap: 1.4rem;
}
.footer-brand p { color: #cfccc0; margin: 0.2rem 0 0; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}
.site-footer nav a {
  color: #cfccc0;
  text-decoration: none;
  font-weight: 500;
}
.site-footer nav a:hover { color: var(--green); }
.copyright { color: var(--sage); font-size: 0.85rem; margin: 0; }

/* ---------- Tablet & desktop ---------- */
@media (min-width: 700px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.1rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .industry-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .form .btn { width: auto; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    background: none;
    border: 0;
    padding: 0;
  }
  .site-nav a { border-bottom: 0; padding: 0.3rem 0; }
  .site-nav a:not(.btn):hover { color: #5b665c; }
  .site-nav .nav-cta { margin-top: 0; }
  .hero { padding: 6rem 0 5rem; }
  .section { padding: 5rem 0; }
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .copyright { grid-column: 1 / -1; }
}
