/* Field Sales Tracker — public marketing site.
   No build step: plain CSS served straight from /public. */

:root {
  --ink: #122126;
  --teal: #0e6b69;
  --teal-dark: #074b4b;
  --mint: #ddf1ec;
  --background: #f5f7f4;
  --outline: #d8dfda;
  --muted: #667673;
  --white: #ffffff;
  --radius: 16px;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal);
}

img {
  max-width: 100%;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--outline);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--teal);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--teal);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 480px at 82% -12%, rgba(14, 107, 105, 0.16), transparent 62%),
    linear-gradient(180deg, var(--white), var(--background));
  border-bottom: 1px solid var(--outline);
  padding: 76px 0 68px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 16ch;
}

.hero p.lead {
  margin: 0 0 28px;
  font-size: clamp(1rem, 2vw, 1.16rem);
  color: var(--muted);
  max-width: 58ch;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--outline);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ---------- Sections ---------- */

.section {
  padding: 64px 0;
}

.section + .section {
  border-top: 1px solid var(--outline);
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section .intro {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 62ch;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 24px;
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 20px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 56px 0 72px;
}

.legal h1 {
  margin: 0 0 6px;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.legal h2 {
  margin: 34px 0 8px;
  font-size: 1.14rem;
}

.legal p,
.legal li {
  color: #2c3b40;
  font-size: 15.5px;
}

.legal ul {
  padding-left: 20px;
}

.legal .card + .card {
  margin-top: 20px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--outline);
  padding: 32px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
}

.site-footer a:first-child {
  margin-left: 0;
}

.site-footer a:hover {
  color: var(--teal);
}

@media (max-width: 640px) {
  .hero {
    padding: 52px 0 46px;
  }

  .site-nav {
    gap: 14px;
  }

  .section {
    padding: 46px 0;
  }
}
