:root {
  --ink: #16221b;
  --muted: #647168;
  --paper: #fffdf7;
  --warm: #f4efe4;
  --line: #d8ddd7;
  --green: #1d6847;
  --green-dark: #12452f;
  --mint: #dff3e8;
  --orange: #ed7c36;
  --shadow: 0 24px 70px rgba(31, 48, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfaf6;
  font: 16px/1.58 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(216, 221, 215, .8);
  background: rgba(251, 250, 246, .92);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 800; }
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--green);
  font-family: Georgia, serif;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: #3b483f; text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-cta { padding: 9px 15px; color: white !important; border-radius: 999px; background: var(--green); }
.hero { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(42px, 7vw, 90px); align-items: center; padding: 88px 0 92px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.03em; }
.hero h1 { max-width: 750px; margin-bottom: 24px; font: 700 clamp(44px, 5.8vw, 76px)/1.02 Georgia, serif; }
.hero h1 span { color: var(--green); font-style: italic; }
.hero-lead { max-width: 650px; color: #46534b; font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin: 32px 0 26px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:disabled { opacity: .65; cursor: wait; }
.primary { color: white; background: var(--green); box-shadow: 0 10px 25px rgba(29, 104, 71, .2); }
.primary:hover { background: var(--green-dark); }
.secondary { color: var(--green); background: var(--mint); box-shadow: none; }
.text-link { color: var(--green); font-weight: 800; text-underline-offset: 4px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; color: var(--muted); font-size: 13px; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 6px; color: var(--green); font-weight: 900; }
.document-preview {
  position: relative;
  padding: 34px clamp(25px, 4vw, 50px) 42px;
  border: 1px solid #e5dfd1;
  border-radius: 5px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(1.1deg);
}
.document-preview::after { content: ""; position: absolute; z-index: -1; inset: 10px -10px -10px 10px; border: 1px solid #e4ddd0; background: #f5f0e6; }
.paper-top { display: flex; gap: 5px; margin-bottom: 28px; }
.paper-top span { width: 7px; height: 7px; border-radius: 50%; background: #cdd5cf; }
.document-label { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.document-preview h2 { margin-bottom: 9px; font: 700 28px/1.1 Georgia, serif; }
.document-preview h3 { margin: 25px 0 9px; font-size: 14px; letter-spacing: 0; }
.document-preview p { font-size: 14px; }
.preview-muted { color: var(--muted); }
.task-preview { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.task-preview b { color: var(--green); text-align: right; }
.value-strip { display: flex; justify-content: center; gap: 10px; margin: 0 calc(50% - 50vw); padding: 22px 24px; color: #dce9e1; background: var(--green-dark); text-align: center; }
.value-strip p { margin: 0; }
.section { padding: 105px 0; border-bottom: 1px solid var(--line); }
.section > h2, .section > div > h2 { max-width: 780px; margin-bottom: 42px; font: 700 clamp(35px, 5vw, 54px)/1.08 Georgia, serif; }
.steps, .audiences, .price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 28px; }
.steps article, .audiences article, .price-cards article { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.steps span { color: var(--orange); font: 800 14px/1 monospace; }
.steps h3, .audiences h3 { margin: 38px 0 10px; font-size: 22px; }
.steps p, .audiences p { margin-bottom: 0; color: var(--muted); }
.example-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; }
.example-section > div > h2 { margin-bottom: 20px; }
.comparison { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.comparison article { padding: 24px; border-radius: 16px; }
.comparison article > span { font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.comparison-before { color: #6f6961; background: var(--warm); }
.comparison-after { border: 1px solid #b9dcca; background: var(--mint); }
.comparison-after h3 { margin: 18px 0 12px; }
.comparison-arrow { color: var(--orange); font-size: 27px; font-weight: 900; }
.audiences { grid-template-columns: repeat(2, 1fr); }
.audiences article { background: transparent; }
.audiences h3 { margin-top: 0; }
.price-cards article { display: flex; min-height: 230px; flex-direction: column; }
.price-cards p { font-weight: 800; }
.price-cards strong { margin: 18px 0 12px; font: 700 36px/1 Georgia, serif; }
.price-cards span, .price-note { color: var(--muted); }
.price-cards .featured { color: white; border-color: var(--green); background: var(--green); transform: translateY(-10px); }
.price-cards .featured span { color: #d7ebe0; }
.upload-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px, 7vw, 90px);
  margin: 105px 0;
  padding: clamp(28px, 6vw, 70px);
  border-radius: 26px;
  color: white;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}
.upload-card h2 { font: 700 clamp(34px, 4vw, 50px)/1.08 Georgia, serif; }
.upload-card .eyebrow { color: #81d0a7; }
.upload-card > div p:last-child { color: #c3d7cb; }
.upload-form { display: grid; gap: 18px; padding: 26px; border-radius: 18px; color: var(--ink); background: white; }
.upload-form label > span:first-child { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 750; }
.upload-form input[type="text"] { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.file-picker { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-picker [data-file-name] { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.field-note { margin: -10px 0 0; color: var(--muted); font-size: 12px; }
.checkbox { display: grid !important; grid-template-columns: auto 1fr; gap: 9px; align-items: start; font-size: 13px; }
.checkbox input { margin-top: 4px; }
.checkbox span { margin: 0 !important; font-weight: 400 !important; }
.form-message { min-height: 22px; margin: -7px 0 0; color: var(--muted); font-size: 13px; }
.form-message.error, .error { color: #b32f2f; }
.faq { border-bottom: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { padding: 22px 0; font-size: 19px; font-weight: 800; cursor: pointer; }
.faq details p { max-width: 800px; margin-top: -5px; color: var(--muted); }
.site-footer { padding: 45px 0; color: #bfccc4; background: #101b14; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; gap: 24px; }
.content-page { max-width: 820px; padding: 85px 0 110px; }
.content-page h1 { margin-bottom: 26px; font: 700 clamp(42px, 6vw, 66px)/1.04 Georgia, serif; }
.content-page .lead { margin-bottom: 55px; color: #46534b; font-size: 21px; }
.content-page h2 { margin: 48px 0 13px; font: 700 30px/1.15 Georgia, serif; }
.content-page li { margin: 7px 0; }
.callout, .content-cta { margin: 45px 0; padding: 30px; border-radius: 18px; background: var(--mint); }
.callout strong { font-size: 21px; }
.callout p { margin-bottom: 0; }
.content-cta h2 { margin-top: 0; }
.legal .lead { padding: 18px; border-left: 4px solid var(--orange); background: var(--warm); font-size: 16px; }
.legal-updated { margin-top: 55px; color: var(--muted); font-size: 13px; }
.message-page { min-height: 65vh; display: grid; align-content: center; justify-items: start; }
.message-page > span { color: var(--orange); font: 800 18px monospace; }
.message-page h1 { margin: 10px 0; font: 700 50px Georgia, serif; }
.message-page p { max-width: 600px; margin-bottom: 26px; color: var(--muted); }
.protocol { padding: 25px 0; }
.protocol > h1 { font: 700 clamp(36px, 5vw, 54px)/1.08 Georgia, serif; }
.protocol > h2 { margin-top: 38px; font: 700 27px Georgia, serif; }
.muted { color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--warm); font-size: 13px; }
.status-card { max-width: 850px; margin: 70px auto; padding: clamp(25px, 5vw, 50px); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.status-badge { display: inline-flex; padding: 6px 11px; border-radius: 999px; color: var(--green); background: var(--mint); font-size: 12px; font-weight: 850; }
.status-card h1 { margin: 20px 0 12px; font: 700 clamp(35px, 5vw, 52px) Georgia, serif; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 25px 0; }
.progress { height: 8px; overflow: hidden; border-radius: 99px; background: var(--warm); }
.progress span { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--green); animation: loading 1.5s ease-in-out infinite alternate; }
@keyframes loading { to { transform: translateX(150%); } }
.admin-shell { width: min(1450px, calc(100% - 30px)); margin: 45px auto 100px; }
.admin-top { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.admin-top h1 { margin: 0; font: 700 44px Georgia, serif; }
.admin-upload { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.admin-table { overflow-x: auto; margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.admin-table table { min-width: 1100px; }
.admin-table td { font-size: 13px; }
.admin-table button { border: 0; padding: 5px 8px; color: var(--green); background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.admin-table button.danger { color: #b32f2f; }
.pill { display: inline-flex; padding: 3px 7px; border-radius: 6px; background: var(--warm); font-size: 11px; font-weight: 800; }

@media (max-width: 850px) {
  nav a:not(.nav-cta) { display: none; }
  .hero, .example-section, .upload-card { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .document-preview { margin: 0 8px; }
  .steps, .price-cards { grid-template-columns: 1fr; }
  .audiences { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr; }
  .comparison-arrow { transform: rotate(90deg); text-align: center; }
  .value-strip { display: block; }
  .value-strip p { margin-bottom: 4px; }
  .price-cards .featured { transform: none; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 26px, 1160px); }
  .header-inner { min-height: 62px; }
  .hero h1 { font-size: 42px; }
  .hero-actions, .footer-inner, .admin-top { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section { padding: 72px 0; }
  .upload-card { margin: 70px 0; padding: 17px; }
  .upload-form { padding: 18px; }
  .file-picker { align-items: stretch; flex-direction: column; }
  .footer-links { flex-direction: column; gap: 8px; }
}
