/* FieldBid — "Built Solid" Design
   For contractors, not startups. */

:root {
  --dark: #1a1a1a;
  --charcoal: #242424;
  --amber: #F0A500;
  --amber-bright: #FFBA08;
  --amber-dark: #D4920A;
  --cream: #FDFBF7;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-mid: #5c564f;
  --text-on-dark: #f2f0ec;
  --text-muted-dark: #97928b;
  --border: #e0dbd4;
  --border-light: #eae6e0;
  --ok: #15803d;
  --bad: #dc2626;
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* ---- Container ---- */
.container {
  width: min(1080px, 100% - 2rem);
  margin-inline: auto;
}

/* ---- Header ---- */
.site-header {
  background: var(--dark);
  color: var(--text-on-dark);
  border-top: 4px solid var(--amber);
}

.header-inner {
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  color: var(--amber);
  font-size: 1.25rem;
}

.chip {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  letter-spacing: 0.02em;
}

/* ---- Hero ---- */
.hero {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 2.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  padding: 0.3rem 0.7rem;
  border: 1.5px solid rgba(240, 165, 0, 0.35);
  border-radius: 4px;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
}

.subhead {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted-dark);
  max-width: 34ch;
  line-height: 1.5;
}

.hero-points {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-points li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-on-dark);
  padding-left: 1.6rem;
  position: relative;
}

.hero-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 800;
  font-size: 1rem;
}

/* ---- Form Card ---- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-top: 5px solid var(--amber);
}

.form-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.form-intro {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.45;
}

#waitlist-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

input,
select {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  height: 3rem;
  padding: 0 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s ease;
}

input::placeholder {
  color: #b0aaa2;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
}

button {
  font-family: var(--font);
  margin-top: 0.5rem;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--dark);
  cursor: pointer;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

button:hover {
  background: var(--amber-dark);
}

button:active {
  transform: scale(0.985);
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-label {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.btn-price {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.8;
}

.btn-price s {
  opacity: 0.55;
  text-decoration: line-through;
}

.form-note {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--text-mid);
  text-align: center;
}

.status {
  margin: 0;
  min-height: 1.1rem;
  font-size: 0.88rem;
  text-align: center;
}

.status.ok {
  color: var(--ok);
  font-weight: 600;
}

.status.bad {
  color: var(--bad);
  font-weight: 600;
}

/* ---- Social Proof ---- */
.social-proof {
  background: var(--amber);
  color: var(--dark);
}

.social-proof p {
  margin: 0;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.social-proof strong {
  font-weight: 800;
  font-size: 1.1em;
}

/* ---- Value Section ---- */
.value-section {
  padding: 3rem 0 3.5rem;
  background: var(--cream);
}

.value-section h2 {
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--text);
}

.value-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow 0.2s ease, opacity 0.5s ease, transform 0.5s ease;
}

.value-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.value-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.value-card p {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.card-hidden {
  opacity: 0;
  transform: translateY(16px);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: var(--text-on-dark);
}

.footer-inner {
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a {
  color: var(--text-muted-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-inner > p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

/* ---- Legal Pages ---- */
.legal-body {
  background: var(--cream);
}

.legal-header {
  background: var(--dark);
  color: var(--text-on-dark);
  border-top: 4px solid var(--amber);
}

.legal-header .container {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
}

.legal-header a {
  text-decoration: none;
  font-weight: 700;
}

.legal-main {
  padding: 1.5rem 0 2.5rem;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.legal-card h1 {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.last-updated {
  margin: 0.5rem 0 1.15rem;
  color: var(--text-mid);
  font-size: 0.92rem;
}

.legal-card h2 {
  margin: 1.25rem 0 0.42rem;
  font-size: 1.03rem;
  font-weight: 700;
}

.legal-card p,
.legal-card li {
  color: var(--text-mid);
}

.legal-card ul {
  margin: 0.5rem 0 0.2rem;
  padding-left: 1.15rem;
}

.legal-nav {
  margin-top: 1.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-nav a {
  color: var(--amber-dark);
  font-weight: 600;
}

/* ---- Responsive ---- */
@media (min-width: 760px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2.5rem;
  }

  .form-card {
    padding: 1.75rem;
  }

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

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .legal-main {
    padding: 2rem 0 3rem;
  }

  .legal-card {
    padding: 2rem;
  }
}
