:root {
  --green: #1c7c3c;
  --green-dark: #145e2c;
  --green-tint: #eef5ef;
  --ink: #15140f;
  --muted: #6c6a63;
  --line: #e2e0d9;
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --card: #ffffff;
  --warn: #b5341f;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(20,20,15,.05);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
h1, h2, h3 { letter-spacing: -.01em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.label { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--muted); }
.divider { width: 56px; height: 4px; background: var(--green); border: none; margin: 18px 0; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-weight: 800; font-size: 26px; color: var(--green); text-decoration: none; letter-spacing: -.02em; }
.logo span { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--green); }

/* Buttons — black primary action (industrial), green for forms */
.btn {
  display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; font-weight: 700;
  text-decoration: none; padding: 15px 30px; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  font-size: 16px; transition: background .15s, color .15s; line-height: 1;
}
.btn:hover { background: #2c2a22; }
.btn::after { content: "›"; font-size: 20px; line-height: 0; margin-top: -2px; }
.btn.primary { background: var(--green); border-color: var(--green); }
.btn.primary:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn.ghost:hover { background: var(--green-tint); }
.btn.danger { background: #fff; color: var(--warn); border-color: var(--warn); }
.btn.danger::after, .btn.noarrow::after { content: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.sm { padding: 9px 18px; font-size: 14px; }
.btn.sm::after { font-size: 16px; }

/* Hero */
.hero { background: #fff; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; align-items: stretch; padding: 0 28px; }
.hero-text { padding: 78px 56px 78px 0; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; margin: 14px 0 0; color: var(--green); font-weight: 800; }
.hero p { font-size: 19px; max-width: 480px; margin: 0 0 32px; color: var(--ink); }
.hero-points { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.hero-points span { font-size: 14px; color: var(--muted); font-weight: 600; }
.hero-points span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }
.hero-media { background: var(--ink); position: relative; overflow: hidden; min-height: 420px; margin-right: -28px; }
.hero-media .machine { position: absolute; inset: 0; background:
  repeating-linear-gradient(135deg, #1c1b16 0 22px, #201f19 22px 44px); }
.hero-media .badge-xl { position: absolute; left: 40px; bottom: 40px; color: #fff; }
.hero-media .badge-xl b { display: block; font-size: 52px; line-height: 1; color: #fff; font-weight: 800; }
.hero-media .badge-xl em { font-style: normal; color: #9bd3a8; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.hero-media .stripe { position: absolute; top: 0; left: 0; width: 8px; height: 100%; background: var(--green); }

/* Sections */
section { padding: 72px 0; }
section h2 { font-size: 32px; margin: 0 0 10px; font-weight: 800; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 36px; max-width: 640px; }
.bg-alt { background: var(--bg-alt); }

/* Grid / cards */
.grid { display: grid; gap: 0; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.grid.cols-3 > * { border-right: 1px solid var(--line); }
.grid.cols-3 > *:last-child { border-right: none; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.grid.cols-3 .card { border: none; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; font-size: 17px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field .hint { color: var(--muted); font-weight: 400; font-size: 13px; }
input, select, textarea {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 15px;
  font-family: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(28,124,60,.13); }
textarea { resize: vertical; min-height: 84px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox { display: flex; align-items: center; gap: 9px; }
.checkbox input { width: auto; }

/* Line items */
.line-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; background: var(--bg-alt); }
.line-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.seg button { background: #fff; border: none; padding: 8px 22px; font-weight: 700; cursor: pointer; color: var(--muted); font-size: 14px; }
.seg button.active { background: var(--green); color: #fff; }
.line-del { background: none; border: none; font-size: 24px; color: var(--muted); cursor: pointer; line-height: 1; padding: 0 6px; }
.line-del:hover { color: var(--warn); }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.row3 .field { margin-bottom: 14px; }
.row4 { display: grid; grid-template-columns: 1.5fr 1fr 1fr .7fr; gap: 12px; align-items: end; }
.row4 .field { margin-bottom: 10px; }
.more-toggle { background: none; border: none; color: var(--green); font-weight: 700; font-size: 13px; cursor: pointer; padding: 4px 0; }
.more-toggle:hover { text-decoration: underline; }
.more-fields { margin-top: 6px; }
@media (max-width: 860px) { .row4 { grid-template-columns: 1fr 1fr; } }

/* Badges */
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.open, .badge.bidding { background: var(--green-tint); color: var(--green-dark); }
.badge.accepted, .badge.won { background: var(--green); color: #fff; }
.badge.cancelled, .badge.expired { background: #f6e7e3; color: var(--warn); }
.badge.invited, .badge.lost { background: #efeee9; color: var(--muted); }
.badge.submitted { background: #fbf1dc; color: #8a6412; }

/* Tables */
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
table.data td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:hover td { background: var(--bg-alt); }

/* Offers */
.offer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; }
.offer.best { border-color: var(--green); border-width: 2px; }
.offer .price { font-size: 26px; font-weight: 800; color: var(--green); }
.offer .price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.best-tag { background: var(--green); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; text-transform: uppercase; letter-spacing: .04em; }

/* Notices */
.notice { padding: 14px 16px; border-radius: var(--radius); margin: 16px 0; font-size: 15px; }
.notice.ok { background: var(--green-tint); color: var(--green-dark); border: 1px solid #cfe6d4; }
.notice.err { background: #f9e9e5; color: #8e2718; border: 1px solid #eecabf; }
.notice.info { background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 0; border: 1px solid var(--line); }
.stat { padding: 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .n { font-size: 30px; font-weight: 800; color: var(--green); }
.stat .l { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Footer */
footer.site { background: var(--ink); color: #b9b7ad; padding: 44px 0; margin-top: 0; font-size: 14px; }
footer.site a { color: #fff; }

/* Pricing plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 44px auto 0; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--green); }
.plan-badge { position: absolute; top: -12px; left: 30px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.plan-name { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.plan-price { font-size: 38px; font-weight: 800; color: var(--ink); margin: 6px 0 2px; }
.plan-price span { font-size: 17px; font-weight: 600; color: var(--muted); }
.plan-tag { color: var(--green); font-weight: 700; margin: 0 0 18px; }
.plan-feat { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan-feat li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; border-bottom: 1px solid var(--line); }
.plan-feat li::before { content: "✓"; color: var(--green); font-weight: 800; position: absolute; left: 0; }
.plan-pick { width: 100%; justify-content: center; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.muted { color: var(--muted); }
.center { text-align: center; }
.mt { margin-top: 22px; }
.hidden { display: none !important; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-text { padding: 56px 0 40px; }
  .hero-media { margin: 0 -28px; min-height: 240px; }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-3 > * { border-right: none; border-bottom: 1px solid var(--line); }
  .grid.cols-3 > *:last-child { border-bottom: none; }
  .grid.cols-2, .row, .row3 { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: none; }
}
