:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #65746d;
  --paper: #f4f6f0;
  --card: #fff;
  --line: #dbe4da;
  --green: #175b45;
  --green-dark: #0e3d30;
  --lime: #c6e96e;
  --danger: #9b332b;
  --shadow: 0 18px 50px rgba(23, 35, 31, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 system-ui, sans-serif;
}
h1, h2, p { margin-top: 0; }
h1, h2, .brand { font-family: ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 28px;
}
.brand {
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.05em;
  text-decoration: none;
}
.brand span { color: #86a32d; }
nav { display: flex; gap: 22px; color: var(--muted); font-size: .9rem; }
main { max-width: 1180px; margin: 0 auto; padding: 28px 28px 80px; }
.eyebrow {
  color: var(--green);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 70px;
  align-items: end;
  padding: 70px 0 90px;
}
h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .94;
  letter-spacing: -.075em;
}
.lead { max-width: 650px; color: var(--muted); font-size: 1.18rem; }
.button {
  display: inline-block;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 13px 18px;
  text-decoration: none;
}
.primary { background: var(--green); color: #fff; }
.primary:hover { background: var(--green-dark); }
.primary:disabled { cursor: not-allowed; opacity: .45; }
.danger { background: #fff0ed; color: var(--danger); }
.hero .button { margin-top: 22px; }
.hero-note {
  padding: 26px;
  border: 1px solid #d6e1cc;
  border-radius: 18px;
  background: var(--lime);
  box-shadow: var(--shadow);
}
.hero-note strong { display: block; margin-bottom: 8px; font-size: 1.3rem; line-height: 1.15; }
.hero-note p { margin: 0; color: #30462c; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps article { padding: 28px 22px 30px 0; }
.steps article + article { padding-left: 22px; border-left: 1px solid var(--line); }
.steps b { color: #86a32d; }
.steps h2 { margin: 24px 0 6px; font-size: 1.35rem; }
.steps p { margin: 0; color: var(--muted); }
.workspace {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 70px;
  padding: 100px 0 30px;
}
.section-intro h2, .legal h2 {
  margin: 12px 0;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -.06em;
}
.section-intro > p:last-child, .legal > p { color: var(--muted); }
.panel {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.panel label { display: grid; gap: 7px; color: var(--green-dark); font-weight: 650; }
label em { color: var(--green); font-size: .75rem; font-style: normal; font-weight: 500; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--lime); border-color: var(--green); }
.upload {
  padding: 18px;
  border: 1px dashed #9fb497;
  border-radius: 10px;
  background: #f7faef;
}
.upload input { padding: 8px 0; border: 0; background: transparent; }
small, .status { color: var(--muted); font-weight: 400; }
.status { min-height: 24px; margin: 0; }
.status.error { color: var(--danger); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.preview { display: flex; gap: 10px; flex-wrap: wrap; }
.preview img { width: 94px; height: 76px; border-radius: 8px; object-fit: cover; background: #e9eee7; }
.review { padding-top: 50px; }
.suggestions {
  padding: 12px 0 0 20px;
  color: var(--muted);
}
.suggestions li { margin-bottom: 5px; }
.check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
}
.check input { width: auto; margin-top: 5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.legal {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 70px;
  padding: 80px 0 30px;
  border-top: 1px solid var(--line);
}
footer {
  display: flex;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}
@media (max-width: 760px) {
  nav { display: none; }
  main { padding-top: 10px; }
  .hero, .workspace, .legal { grid-template-columns: 1fr; gap: 34px; padding: 50px 0; }
  .hero { align-items: start; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article + article { padding: 22px 0; border-left: 0; }
  .steps article + article { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: 1fr; }
  footer { display: block; }
  footer span { display: block; margin-bottom: 8px; }
}
