/* Deliberately hand-written and dependency-free: the landing page has to render fast and
   be indexable, and there is nothing here a framework would do better. */

:root {
  --ink: #0f1419;
  --ink-soft: #3d4754;
  --muted: #6b7684;
  --line: #e2e6ec;
  --soft: #f7f8fa;
  --accent: #16406e;
  --accent-bright: #1e5fa8;
  --ok: #1f9d55;
  --warn: #c77700;
  --bad: #c0392b;
  --shadow: 0 1px 2px rgba(15, 20, 25, 0.06), 0 8px 24px rgba(15, 20, 25, 0.06);
  --shadow-lift: 0 2px 4px rgba(15, 20, 25, 0.08), 0 18px 48px rgba(15, 20, 25, 0.12);
  --radius: 0.75rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-bright); }

main { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem 1rem; }

h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.9rem; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); letter-spacing: -0.01em; margin: 0 0 0.6rem; }
h3 { font-size: 1rem; margin: 0 0 0.35rem; }

.lead { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 1.75rem; }
.section-lead { color: var(--muted); max-width: 46rem; margin: 0 0 1.75rem; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 0.86rem; }

/* -- header / footer ------------------------------------------------------ */

header.site {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.wordmark {
  font-weight: 750;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  color: var(--accent);
  text-decoration: none;
}
.tagline { color: var(--muted); font-size: 0.8rem; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem 3.5rem;
  max-width: 68rem;
  margin: 3rem auto 0;
}
footer.site nav { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
footer.site a { font-size: 0.88rem; }

/* -- hero ----------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
  padding: 1.5rem 0 3.5rem;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.3rem 0.7rem;
  background: #eaf1f9;
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* The preview is the pitch: show the document, tilted just enough to read as an object. */
.hero-preview { margin: 0; }
.hero-preview img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 1242 / 1200;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero-preview figcaption {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* -- order form ----------------------------------------------------------- */

.order-form {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  max-width: 30rem;
}
.field + .field { margin-top: 0.9rem; }
.order-form label { display: block; font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 0.35rem; }
.order-form input[type="text"],
.order-form input:not([type]),
.order-form input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  font: inherit;
  background: var(--soft);
  transition: border-color 0.15s, background 0.15s;
}
.order-form input:focus {
  outline: none;
  border-color: var(--accent-bright);
  background: #fff;
}
#vin { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
#vin::placeholder { letter-spacing: 0.08em; font-weight: 400; }

/* Not flex: the label is a sentence with links in it, and flex would break it into
   separate lines at every element boundary. */
.order-form .consent {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.1rem;
  padding-left: 1.65rem;
  text-indent: -1.65rem;
  line-height: 1.5;
}
.order-form .consent input { margin-right: 0.55rem; vertical-align: middle; }

.order-form button {
  margin-top: 1.2rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 0.45rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background 0.15s, transform 0.05s;
}
.order-form button:hover { background: var(--accent-bright); }
.order-form button:active { transform: translateY(1px); }
.order-form button .price {
  background: rgba(255, 255, 255, 0.16);
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  font-size: 0.92rem;
}
.under-button { margin: 0.7rem 0 0; font-size: 0.8rem; color: var(--muted); text-align: center; }

.errors {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem 0.75rem 1.7rem;
  background: #fdecea;
  border-left: 3px solid var(--bad);
  border-radius: 0.4rem;
  color: #8f2a20;
  font-size: 0.88rem;
}

/* -- trust strip ---------------------------------------------------------- */

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4rem;
}
.trust div { background: var(--soft); padding: 1.1rem 1.25rem; }
.trust strong { display: block; font-size: 0.95rem; }
.trust span { font-size: 0.85rem; color: var(--muted); }

/* -- sections ------------------------------------------------------------- */

section { margin-bottom: 4rem; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.shots figure { margin: 0; }
.shots img {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 18%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.shots a:hover img { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.shots figcaption { margin-top: 0.75rem; font-size: 0.87rem; color: var(--muted); }
.shots figcaption strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.15rem; }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.cards article {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
}
.cards p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq summary::marker { color: var(--muted); }
.faq p { color: var(--muted); margin: 0.6rem 0 0; max-width: 46rem; }

.cta {
  text-align: center;
  padding: 2.75rem 1.5rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cta p { color: var(--muted); margin: 0 0 1.4rem; }
.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0.45rem;
  text-decoration: none;
  font-weight: 650;
}
.cta-button:hover { background: var(--accent-bright); }

/* -- order status --------------------------------------------------------- */

.order { max-width: 44rem; padding-top: 1.5rem; }
.status {
  margin: 1.5rem 0;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--muted);
  border-radius: 0.6rem;
  background: var(--soft);
}
.status.done { border-left-color: var(--ok); background: #f1faf4; }
.status.failed { border-left-color: var(--bad); background: #fdf4f3; }
.status .state { margin: 0 0 0.4rem; font-weight: 650; font-size: 1.05rem; }
.download {
  display: inline-block;
  margin: 0.7rem 0 0.4rem;
  padding: 0.7rem 1.4rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0.45rem;
  text-decoration: none;
  font-weight: 650;
}
.download:hover { background: var(--accent-bright); }

/* -- legal ---------------------------------------------------------------- */

.legal { max-width: 46rem; padding-top: 1.5rem; }
.legal h2 { font-size: 1.1rem; margin-top: 2rem; }
.legal li { margin-bottom: 0.4rem; color: var(--ink-soft); }
.legal p { color: var(--ink-soft); line-height: 1.6; }
.legal-date { font-size: 0.85rem; opacity: 0.7; }
.todo {
  padding: 0.9rem 1.1rem;
  background: #fdf6e8;
  border-left: 3px solid var(--warn);
  border-radius: 0.4rem;
  font-size: 0.9rem;
}
.requisites { list-style: none; padding-left: 0; }
.requisites li { padding: 0.35rem 0; border-bottom: 1px solid var(--line, #e8e8ea); }
/* Таблица с основаниями обработки на узком экране не помещается: пусть уезжает
   внутри своей рамки, а не растягивает страницу вбок. */
.legal-table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.legal-table th, .legal-table td { padding: 0.5rem 0.7rem; border: 1px solid var(--line, #e8e8ea); text-align: left; vertical-align: top; }
.legal-table th { background: #f6f6f8; font-weight: 600; }

/* -- narrow screens ------------------------------------------------------- */

@media (max-width: 60rem) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .hero-preview { order: -1; }
  .hero-preview img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
  .order-form { max-width: none; }
  section { margin-bottom: 3rem; }
}
