:root {
  --bg: #f7f2e8;
  --surface: #fffaf0;
  --surface-strong: #ffffff;
  --ink: #181510;
  --muted: #6d6558;
  --line: #e4d9c7;
  --accent: #e1562c;
  --accent-dark: #a7371f;
  --olive: #40513b;
  --shadow: 0 24px 70px rgba(58, 43, 22, .14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at 18% 0%, #fff4d8 0, transparent 34rem), var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  backdrop-filter: blur(14px);
  background: rgba(247, 242, 232, .82);
  border-bottom: 1px solid rgba(228, 217, 199, .8);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  letter-spacing: .08em;
}
nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 15px; }
.nav-cta { color: var(--accent-dark); font-weight: 700; }

main { padding: 44px clamp(18px, 4vw, 64px) 72px; }
.hero {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 112px);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
h1, h2 { margin: 0; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(43px, 7vw, 86px); max-width: 860px; }
h2 { font-size: clamp(30px, 4vw, 52px); }
.lead { max-width: 690px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.primary { background: var(--ink); color: #fffaf0; box-shadow: 0 14px 30px rgba(24, 21, 16, .18); border-color: var(--ink); }
.secondary { background: rgba(255, 250, 240, .72); color: var(--ink); }
.wide { width: 100%; margin-top: 16px; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; color: var(--muted); }
.trust-list li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; background: rgba(255,255,255,.35); }

.uploader-card {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,250,240,.92));
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}
.card-head h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 12px; }
.card-head p { color: var(--muted); margin: 10px 0 0; }
.status-pill { display: inline-flex; border-radius: 999px; padding: 7px 12px; background: #f4e2ce; color: var(--accent-dark); font-weight: 800; font-size: 13px; }
.account-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
.account-panel > div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: #fffdf8;
}
.account-panel small { display:block; color: var(--muted); margin-bottom: 4px; }
.email-form { margin: 14px 0; }
.email-form label { display:block; font-weight: 800; margin-bottom: 8px; }
.inline-form { display:flex; gap: 8px; }
.inline-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  background: #fffdf8;
}
.dropzone.locked { opacity: .72; }
.dropzone {
  position: relative;
  margin-top: 22px;
  min-height: 218px;
  display: grid;
  place-items: center;
  border: 2px dashed #d3bea2;
  border-radius: 26px;
  background: #fff7e8;
  overflow: hidden;
}
.dropzone.is-dragover { border-color: var(--accent); background: #fff0de; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-content { text-align: center; pointer-events: none; display: grid; gap: 6px; }
.upload-icon { width: 58px; height: 58px; border-radius: 19px; background: var(--ink); color: white; display: grid; place-items: center; margin: 0 auto 8px; font-size: 24px; }
.drop-content strong { font-size: 22px; }
.drop-content small { color: var(--muted); }
.preview {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 16px; }
.preview p { margin: 4px 0 0; color: var(--muted); }
.result { min-height: 28px; margin-top: 14px; color: var(--muted); }
.result a { color: var(--accent-dark); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.result.error { color: #9f2424; }
.result.success { color: var(--olive); }
.pricing {
  max-width: 1200px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 24px;
  align-items: start;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: var(--surface-strong);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 30px rgba(58,43,22,.08);
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}
.price-card strong { display:block; font-size: 18px; margin-bottom: 6px; }
.price-card span { color: var(--muted); }
.download-link { font-weight: 900; }

.steps, .seo-block {
  max-width: 1200px;
  margin: 80px auto 0;
  display: grid;
  gap: 28px;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.step-grid li, .seo-card {
  background: rgba(255, 250, 240, .78);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
}
.step-grid span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: white; font-weight: 800; margin-bottom: 24px; }
.step-grid strong { display: block; font-size: 20px; }
.step-grid p, .seo-text p, .seo-card li { color: var(--muted); }
.seo-block { grid-template-columns: 1fr .8fr; align-items: start; }
.seo-card ul { margin: 14px 0 0; padding-left: 20px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(18px, 4vw, 64px); color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 840px) {
  .topbar { align-items: flex-start; }
  nav a:not(.nav-cta) { display: none; }
  main { padding-top: 28px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .uploader-card { border-radius: 28px; }
  .step-grid, .seo-block { grid-template-columns: 1fr; }
  h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
