:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d2327;
  --muted: #5b646b;
  --line: #e6e2da;
  --brand: #0b6b5d;
  --brand-dark: #07493f;
  --brand-soft: #e5f2ef;
  --warn: #b4410f;
  --warn-soft: #fdf0e8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Top banner */
.alert {
  background: var(--warn);
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 9px 16px;
}
.alert strong { font-weight: 700; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 17px; font-weight: 800;
}
header.site nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
header.site nav a:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 28px 0 56px; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 22px; }
.countdown {
  display: inline-flex; gap: 8px; align-items: center; background: var(--warn-soft); color: var(--warn);
  border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; margin-bottom: 18px;
}
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 30px; position: relative; margin: 8px 0; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 800; display: grid; place-items: center;
}

/* Dropzone */
.drop {
  background: var(--surface); border: 2px dashed #b9c9c5; border-radius: var(--radius); padding: 34px 26px;
  text-align: center; box-shadow: var(--shadow); transition: border-color .15s, background .15s;
}
.drop.over { border-color: var(--brand); background: var(--brand-soft); }
.drop h2 { margin: 6px 0 6px; font-size: 22px; }
.drop p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.drop .icon { font-size: 40px; line-height: 1; }
.btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn {
  appearance: none; border: 0; border-radius: 10px; padding: 13px 20px; font: inherit; font-weight: 650; cursor: pointer;
  background: var(--brand); color: #fff; text-decoration: none; display: inline-block;
}
.btn:hover { background: var(--brand-dark); }
.btn.secondary { background: var(--surface); color: var(--brand); border: 1.5px solid var(--brand); }
.btn.secondary:hover { background: var(--brand-soft); }
.btn.big { font-size: 19px; padding: 16px 28px; }
.btn[disabled] { opacity: .55; cursor: default; }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

.selected { text-align: left; margin-top: 18px; }
.selected .summary { font-weight: 650; margin-bottom: 8px; }
.filelist { max-height: 170px; overflow: auto; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }
.filelist div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 14px 0 6px; }
.progress > div { height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.err { color: var(--warn); font-weight: 600; margin-top: 10px; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 0 0 10px; letter-spacing: -0.01em; }
section .sub { color: var(--muted); margin: 0 0 30px; max-width: 680px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.compare figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.compare figcaption strong { color: var(--ink); }

.prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px; text-align: center; }
.price.pop { border: 2px solid var(--brand); }
.price .amt { font-size: 32px; font-weight: 800; }
.price .what { color: var(--muted); font-size: 14.5px; }
.includes { margin-top: 18px; color: var(--muted); font-size: 15px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 36px 0 60px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer a { color: var(--muted); }

/* Job page */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin: 20px 0; }
.status-line { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 650; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--brand-soft); border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.thumb { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.thumb img { width: 100%; aspect-ratio: 8.5/11; object-fit: contain; background: #f4f4f4; }
.thumb div { font-size: 12.5px; padding: 6px 8px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paybox { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--brand-soft); border-radius: 12px; padding: 20px 22px; margin-top: 22px; }
.paybox .amt { font-size: 34px; font-weight: 800; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .steps, .compare { grid-template-columns: 1fr; }
  .prices { grid-template-columns: repeat(2, 1fr); }
  header.site nav { display: none; }
}

.tree pre {
  background: #f6f5f1; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  font: 14px/1.55 ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; overflow-x: auto; margin: 0 0 16px;
}
.tree .checks li { font-size: 15.5px; }

.compare > *, .steps > *, .hero > * { min-width: 0; }
