/* FieldBid — Workwear Modern
   Paper + Graphite + Copper. Built for contractors. */

:root {
  /* Core palette — Paper + Steel + Copper */
  --paper: #F7F2EA;
  --graphite: #1E2A33;
  --steel-700: #2D343B;
  --steel-500: #46515C;
  --concrete: #E6E0D7;
  --copper: #B85A2A;
  --copper-deep: #8F421F;
  --copper-tint: #F3E3DA;
  --teal: #1F6F6B;
  --ink: #0B0F14;
  --white: #FFFFFF;

  /* Functional */
  --ok: #1F7A3A;
  --bad: #B42318;

  /* Text on dark */
  --text-on-dark: #F2F0EC;
  --text-muted-dark: #9A958E;

  /* Borders */
  --border: #E6E0D7;
  --border-light: #EDE9E2;

  /* Radii */
  --radius: 8px;
  --radius-lg: 12px;

  /* Fonts */
  --font: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Barlow Condensed', 'Barlow', -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  color: inherit;
}

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

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

.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-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 1.9rem;
  height: 1.9rem;
  display: block;
  border-radius: 0.35rem;
}

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

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

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

.hero-copy {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--copper);
  padding: 0.3rem 0.7rem;
  border: 1.5px solid rgba(184, 90, 42, 0.4);
  border-radius: 4px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}

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

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

.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(--copper);
  font-weight: 700;
  font-size: 1rem;
}

/* ---- Form Card (Worksheet feel) ---- */
.form-card {
  background: var(--white);
  border: 1.5px solid var(--concrete);
  border-top: 4px solid var(--copper);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.form-card h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.form-card h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--copper);
  margin-top: 0.5rem;
}

.form-intro {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: var(--steel-500);
  line-height: 1.45;
}

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

label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--steel-500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

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(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder {
  color: #B0AAA2;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184, 90, 42, 0.12);
}

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

button:hover {
  background: var(--copper-deep);
  box-shadow: 0 2px 8px rgba(143, 66, 31, 0.3);
}

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

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

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

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

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

.form-note {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--steel-500);
  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 (editorial stat callout) ---- */
.social-proof {
  background: var(--paper);
  padding: 2rem 0;
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.proof-inner::before,
.proof-inner::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--copper);
  max-width: 140px;
  opacity: 0.35;
}

.social-proof p {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--steel-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.social-proof strong {
  color: var(--copper);
  font-size: 1.4em;
  font-weight: 700;
}

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

.value-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}

.value-section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--copper);
  margin: 0.75rem auto 0;
}

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

.value-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.5s ease, transform 0.5s ease;
}

.value-card:hover {
  border-color: var(--copper);
  box-shadow: 0 2px 8px rgba(30, 42, 51, 0.06);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.value-card p {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: var(--steel-500);
  line-height: 1.5;
}

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

/* ---- Bottom CTA (flex filler) ---- */
.bottom-cta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--graphite);
  color: var(--text-on-dark);
  padding: 3rem 0;
  min-height: 0;
}

.bottom-cta-inner {
  text-align: center;
}

.bottom-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
}

.bottom-cta p {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: var(--text-muted-dark);
  max-width: 38ch;
  margin-inline: auto;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.85rem 2.5rem;
  background: var(--copper);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  background: var(--copper-deep);
  box-shadow: 0 2px 8px rgba(143, 66, 31, 0.3);
}

/* ---- Footer (warm graphite) ---- */
.site-footer {
  background: var(--graphite);
  color: var(--text-on-dark);
  border-top: 3px solid var(--copper);
}

.footer-inner {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  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(--copper);
}

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

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

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

.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: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.legal-card h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.last-updated {
  margin: 0.5rem 0 1.15rem;
  color: var(--steel-500);
  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(--steel-500);
}

.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(--copper);
  font-weight: 600;
}

/* ---- Responsive ---- */
@media (min-width: 760px) {
  .container {
    width: min(1080px, 100% - 3rem);
  }

  .hero {
    padding: 4.5rem 0 5rem;
  }

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

  .hero-copy {
    text-align: left;
  }

  .subhead {
    margin: 1rem 0 0;
  }

  .hero-points {
    display: flex;
  }

  .form-card {
    padding: 2rem;
  }

  .social-proof {
    padding: 2.5rem 0;
  }

  .value-section {
    padding: 4rem 0 4.5rem;
  }

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

  .value-card {
    padding: 1.15rem 1.35rem;
  }

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

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

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

/* ---- SEO / Resource Pages ---- */
.resource-main {
  background: var(--paper);
  padding-bottom: 3rem;
}

.resource-hero {
  padding: 2.2rem 0 1.2rem;
}

.resource-hero .eyebrow {
  margin-bottom: 0.8rem;
  background: var(--copper-tint);
  border-color: rgba(184, 90, 42, 0.35);
  color: var(--copper-deep);
}

.resource-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.page-lead {
  margin-top: 0.75rem;
  max-width: 62ch;
  color: var(--steel-500);
  font-size: 1rem;
}

.resource-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.2rem 0 1.2rem;
}

.resource-nav a {
  text-decoration: none;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: var(--steel-500);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.resource-nav a:hover {
  border-color: var(--copper);
  color: var(--copper-deep);
  background: var(--copper-tint);
}

.resource-article {
  display: grid;
  gap: 0.9rem;
}

.resource-section {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-lg);
  padding: 1rem 1.05rem;
}

.resource-section h2 {
  font-family: var(--font-heading);
  font-size: 1.38rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.resource-section h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--ink);
}

.resource-section p,
.resource-section li,
.resource-section td,
.resource-section th,
.resource-section caption {
  color: var(--steel-500);
}

.resource-section p,
.resource-section ul {
  margin-top: 0.55rem;
}

.resource-section ul {
  padding-left: 1.15rem;
}

.resource-section a,
.llm-doc a {
  color: var(--copper-deep);
}

.feature-grid,
.pricing-grid,
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.resource-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.95rem;
}

.price-card p {
  margin-top: 0.35rem;
}

.price {
  margin-top: 0.55rem;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 6vw, 2.2rem);
  line-height: 1;
  color: var(--ink);
}

.price span {
  margin-left: 0.25rem;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--steel-500);
  font-weight: 600;
}

.featured-plan {
  border-color: rgba(184, 90, 42, 0.45);
  box-shadow: 0 2px 10px rgba(30, 42, 51, 0.06);
}

.simple-list {
  display: grid;
  gap: 0.45rem;
}

.faq-item p {
  margin-top: 0.4rem;
}

.table-wrap {
  margin-top: 0.7rem;
  overflow-x: auto;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.comparison-table caption {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
  font-weight: 500;
}

.comparison-table th,
.comparison-table td {
  padding: 0.72rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table thead th {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background: #faf7f2;
}

.comparison-table tbody th {
  width: 28%;
  font-weight: 700;
  color: var(--ink);
}

.comparison-table tbody tr:nth-child(even) {
  background: #fbfaf7;
}

.llm-main {
  padding-top: 2.2rem;
}

.llm-doc {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
}

.llm-doc-header p {
  color: var(--steel-500);
}

.llm-doc h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.llm-doc h2 {
  margin-top: 1.3rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}

.llm-doc ul {
  margin-top: 0.5rem;
  padding-left: 1.15rem;
}

.llm-fact-list {
  list-style: none;
  padding-left: 0;
}

.llm-fact-list li {
  margin: 0;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
}

.llm-fact-list li:last-child {
  border-bottom: 0;
}

.llm-quote {
  margin-top: 0.6rem;
  padding: 0.75rem 0.85rem;
  border-left: 3px solid var(--copper);
  background: var(--copper-tint);
  color: var(--graphite);
  font-weight: 500;
}

@media (min-width: 760px) {
  .resource-main {
    padding-bottom: 4rem;
  }

  .resource-hero {
    padding: 3rem 0 1.4rem;
  }

  .resource-nav {
    padding-bottom: 1.45rem;
  }

  .resource-section {
    padding: 1.45rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .faq-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resource-card {
    padding: 1.1rem;
  }

  .llm-doc {
    padding: 1.7rem 1.9rem;
  }
}
