:root {
  --bg: #f5ead8;
  --surface: #ebddc5;
  --card: #f9f4ed;
  --text: #201e1d;
  --accent: #c67139;
  --accent-dark: #a95a29;
  --muted: #645c50;
  --subtle: #82796a;
  --faint: #a19786;
  --line: #dccfb7;
  --shadow: 0 10px 30px rgba(74, 52, 28, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Caprasimo", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand span { font-family: "Caprasimo", Georgia, serif; font-size: 24px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 16px/1 "Figtree", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(198, 113, 57, 0.3); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-lg { padding: 16px 30px; font-size: 17px; }

/* Hero */
.hero { padding: 56px 0 72px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block;
  background: var(--surface);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero mock (a real-looking job card, illustrative) */
.mock {
  background: var(--card);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-tech { font-weight: 700; }
.mock-time { color: var(--subtle); font-size: 14px; }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.badge-pending { background: #fff2eb; color: #b2622d; }
.badge-approved { background: #f0fae1; color: #728157; }
.mock-quote {
  background: var(--bg);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 14px;
}
.mock-arrow { text-align: center; color: var(--faint); font-size: 20px; margin: 4px 0 10px; }
.mock-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.mock-row:last-of-type { border-bottom: 0; }
.mock-row span:first-child { color: var(--subtle); }
.mock-actions { display: flex; gap: 8px; margin-top: 14px; }
.mock-actions .pill { flex: 1; text-align: center; padding: 9px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.pill-approve { background: var(--accent); color: #fff; }
.pill-edit { background: var(--surface); color: var(--muted); }
.mock-caption { text-align: center; color: var(--faint); font-size: 13px; margin-top: 12px; transform: rotate(-1.5deg); }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); }
.section-head p { color: var(--muted); margin: 14px 0 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--card);
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: "Caprasimo", serif;
  margin-bottom: 16px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

.band { background: var(--surface); border-radius: 40px; padding: 56px 40px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: var(--card); border-radius: 24px; padding: 26px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); }

.promise {
  background: var(--text);
  color: var(--bg);
  border-radius: 32px;
  padding: 48px 40px;
  text-align: center;
}
.promise h2 { font-size: clamp(28px, 4vw, 40px); max-width: 620px; margin: 0 auto 14px; }
.promise p { color: var(--faint); max-width: 560px; margin: 0 auto; }

.cta { text-align: center; }
.cta h2 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 14px; }
.cta p { color: var(--muted); margin: 0 auto 28px; max-width: 32em; }
.cta .hero-cta { justify-content: center; }

footer { padding: 36px 0 48px; color: var(--subtle); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; }
.foot .brand span { font-size: 20px; }
.foot .brand img { width: 30px; height: 30px; }

/* Request-access buttons stay hidden until config.js provides a URL */
[data-request-access][hidden] { display: none !important; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; }
  .mock { transform: none; }
  .mock-caption { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .features { grid-template-columns: 1fr; }
  .band { padding: 36px 18px; border-radius: 28px; }
  .promise { padding: 36px 22px; }
  section { padding: 44px 0; }
  .btn { padding: 11px 18px; }
  .btn-lg { padding: 14px 24px; }
}
