:root {
  --ink: #18211f;
  --ink-soft: #43514d;
  --forest: #17362f;
  --forest-2: #245b4c;
  --paper: #f6f5f1;
  --white: #ffffff;
  --mist: #e7ece9;
  --line: #cfd7d3;
  --signal: #df5c45;
  --signal-dark: #bd4634;
  --ok: #17714f;
  --warn: #a35121;
  --radius: 6px;
  --shadow: 0 18px 50px rgba(25, 38, 34, 0.12);
  --content: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input { font: inherit; letter-spacing: 0; }

button,
label,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

img { display: block; max-width: 100%; }

[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--forest);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  background: rgba(246, 245, 241, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  background: var(--forest);
  border-radius: 4px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.brand-mark span {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 8px;
  height: 8px;
  background: var(--signal);
}

.brand-name {
  font-size: 22px;
  font-weight: 760;
  line-height: 1;
}

.brand-name small {
  color: var(--signal);
  font-size: inherit;
  font-weight: inherit;
}

.main-nav { display: flex; gap: 28px; }

.main-nav a,
.footer-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.footer-links a:hover { color: var(--signal-dark); }

.header-action {
  justify-self: end;
  padding: 10px 15px;
  background: var(--forest);
  border-radius: 4px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.header-action:hover { background: var(--forest-2); }

main { overflow: hidden; }

.intro {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 34px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: end;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--signal-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.intro h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-lead {
  max-width: 710px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.intro-facts {
  margin: 0;
  padding: 0 0 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.intro-facts div { padding: 15px 12px 0 0; }
.intro-facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.intro-facts dt { color: var(--ink-soft); font-size: 12px; text-transform: uppercase; }
.intro-facts dd { margin: 5px 0 0; font-size: 15px; font-weight: 750; }

.workbench {
  width: min(var(--content), calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto 76px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(500px, 1.18fr);
  background: var(--white);
  border: 1px solid #bdc7c2;
  box-shadow: var(--shadow);
}

.control-pane {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.step-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 15px;
}

.step-head-upload { margin-top: 28px; }
.step-head > span { color: var(--signal-dark); font-size: 12px; font-weight: 800; }
.step-head h2 { margin: 0; font-size: 17px; line-height: 1.2; }

.document-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.document-tab {
  min-height: 68px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--white);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.document-tab:nth-child(odd) { border-right: 1px solid var(--line); }
.document-tab:nth-child(n+3) { border-top: 1px solid var(--line); }
.document-tab:hover { background: #f2f5f3; }

.document-tab.is-active {
  position: relative;
  background: var(--forest);
  color: var(--white);
}

.document-tab.is-active::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: var(--signal);
  content: "";
}

.document-tab span { font-size: 14px; font-weight: 750; }
.document-tab small { margin-top: 3px; color: #677671; font-size: 12px; }
.document-tab.is-active small { color: #cbdad5; }

.upload-zone {
  min-height: 98px;
  padding: 17px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 13px;
  background: #f5f8f6;
  border: 1px dashed #91a39c;
  cursor: pointer;
  transition: background 150ms, border-color 150ms;
}

.upload-zone:hover,
.upload-zone.is-dragging { background: #edf5f1; border-color: var(--forest-2); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--forest); color: var(--white); border-radius: 4px; }
.upload-icon svg { width: 20px; height: 20px; }
.upload-copy strong, .upload-copy small { display: block; }
.upload-copy strong { font-size: 15px; }
.upload-copy small { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }
.upload-arrow { color: var(--ink-soft); }
.upload-arrow svg { width: 20px; height: 20px; }

.options-head {
  margin: 25px 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.options-head > span { font-size: 13px; font-weight: 800; }
.options-head small { color: var(--ink-soft); font-size: 12px; }
.option-list { border-top: 1px solid var(--line); }

.option-row {
  min-height: 60px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.option-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.switch {
  position: relative;
  width: 34px;
  height: 20px;
  background: #c6ceca;
  border-radius: 12px;
  transition: background 150ms;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  content: "";
  transition: transform 150ms;
}

.option-row input:checked + .switch { background: var(--forest-2); }
.option-row input:checked + .switch::after { transform: translateX(14px); }
.option-row input:focus-visible + .switch { outline: 3px solid rgba(36, 91, 76, 0.22); outline-offset: 2px; }
.option-row > span:nth-of-type(2) strong, .option-row > span:nth-of-type(2) small { display: block; }
.option-row > span:nth-of-type(2) strong { font-size: 13px; }
.option-row > span:nth-of-type(2) small { color: var(--ink-soft); font-size: 11px; }
.option-row > b { color: var(--ink-soft); font-size: 11px; font-weight: 650; }

.privacy-facts .option-row { cursor: default; grid-template-columns: 34px minmax(0, 1fr); }
.privacy-facts .option-row > svg { width: 20px; height: 20px; color: var(--forest-2); }
.privacy-facts .option-row > span strong,
.privacy-facts .option-row > span small { display: block; }
.privacy-facts .option-row > span strong { font-size: 13px; }
.privacy-facts .option-row > span small { color: var(--ink-soft); font-size: 11px; }
.consent-check { margin-top: 16px; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; color: var(--ink-soft); font-size: 11px; line-height: 1.45; cursor: pointer; }
.consent-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--forest-2); }
.consent-check a { color: var(--signal-dark); }
.consent-check input:focus-visible { outline: 3px solid rgba(36, 91, 76, 0.22); outline-offset: 2px; }

.privacy-line {
  margin-top: 21px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.privacy-line svg { flex: none; width: 16px; height: 16px; color: var(--ok); }

.preview-pane {
  min-width: 0;
  padding: 20px 20px 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #e3e8e5;
}

.preview-toolbar {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 12px;
}

.preview-toolbar > div { display: flex; align-items: center; gap: 8px; font-weight: 750; color: var(--ink); }
.live-dot { width: 7px; height: 7px; background: var(--signal); }

.compare {
  position: relative;
  width: min(100%, 500px);
  height: 566px;
  margin: 0 auto;
  overflow: hidden;
  background: #d3d8d6;
  border: 8px solid var(--white);
  box-shadow: 0 12px 36px rgba(24, 33, 31, 0.16);
  touch-action: pan-y;
}

.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 52%; overflow: hidden; border-right: 2px solid var(--white); }
.compare-before img { width: 500px; max-width: none; }
.compare-range { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-handle { position: absolute; z-index: 4; top: 50%; left: 52%; display: grid; place-items: center; width: 40px; height: 40px; background: var(--white); border: 1px solid #bec8c3; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.18); transform: translate(-50%, -50%); pointer-events: none; }
.compare-handle svg { width: 18px; height: 18px; }
.compare-label { position: absolute; z-index: 3; top: 12px; padding: 5px 8px; background: rgba(24, 33, 31, 0.82); color: var(--white); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.compare-label-before { left: 12px; }
.compare-label-after { right: 12px; }

.preview-footer {
  min-height: 76px;
  padding: 14px 2px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.preview-footer p { max-width: 380px; margin: 0; color: var(--ink-soft); font-size: 12px; }
.preview-footer p strong { color: var(--ink); }
.checks { display: flex; gap: 12px; }
.checks span { display: inline-flex; align-items: center; gap: 3px; color: var(--forest-2); font-size: 11px; font-weight: 750; }
.checks svg { width: 13px; height: 13px; }

.processing {
  min-height: 566px;
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(250px, 1fr);
  align-items: center;
  gap: 34px;
  padding: 46px;
  background: var(--forest);
  color: var(--white);
}

.processing-image { aspect-ratio: 3 / 4; overflow: hidden; background: #ced5d2; border: 7px solid var(--white); }
.processing-image img { width: 100%; height: 100%; object-fit: cover; opacity: .68; filter: grayscale(.3); }
.spinner { display: block; width: 30px; height: 30px; margin-bottom: 22px; border: 3px solid rgba(255,255,255,.25); border-top-color: var(--signal); border-radius: 50%; animation: spin .85s linear infinite; }
.processing-copy h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 500; }
.processing-copy p { min-height: 48px; margin: 10px 0 24px; color: #c9d8d3; font-size: 14px; }
.process-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.process-steps li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #9eb2ab; font-size: 12px; }
.process-steps li.is-current { color: var(--white); font-weight: 750; }
.process-steps li.is-done::before { margin-right: 7px; color: #81c6ab; content: "✓"; }
@keyframes spin { to { transform: rotate(360deg); } }

.result-state {
  min-height: 566px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(250px, .82fr) minmax(220px, 1fr);
  align-items: center;
  gap: 34px;
  background: var(--forest);
  color: var(--white);
}

.result-image-wrap { position: relative; max-height: 500px; overflow: hidden; border: 7px solid var(--white); box-shadow: 0 12px 35px rgba(0,0,0,.25); }
.result-image-wrap img { width: 100%; max-height: 486px; object-fit: contain; background: #e9eceb; }
.result-image-wrap > span { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; background: var(--signal); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.result-ok { display: flex; align-items: center; gap: 8px; }
.result-ok svg { width: 22px; height: 22px; color: #8dd4b8; }
.result-summary > p { color: #c9d8d3; font-size: 13px; }
.result-warnings { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.result-warnings li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #f5d3c9; font-size: 12px; }

.error-state { min-height: 566px; padding: 80px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: #f0e9e5; }
.error-state > svg { width: 30px; height: 30px; color: var(--signal-dark); }
.error-state h3 { margin: 18px 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 500; }
.error-state p { max-width: 440px; margin: 0 0 22px; color: var(--ink-soft); }

.checkout,
.paid-state {
  width: min(var(--content), calc(100% - 48px));
  margin: -42px auto 76px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.checkout-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.checkout-head h2, .paid-state h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 500; }
.checkout-head > p { max-width: 370px; margin: 0; color: var(--ink-soft); font-size: 13px; text-align: right; }

.plans { margin: 26px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.plan { position: relative; min-height: 132px; padding: 18px; display: block; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.plan:hover { border-color: #82958d; }
.plan.is-selected { border: 2px solid var(--forest); padding: 17px; background: #f3f7f5; }
.plan.is-disabled { opacity: .45; cursor: not-allowed; }
.plan input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan-top strong { font-size: 14px; }
.plan-top b { white-space: nowrap; color: var(--signal-dark); font-size: 16px; }
.plan > small { display: block; max-width: 250px; margin-top: 24px; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.plan-tag { position: absolute; top: -9px; right: 14px; padding: 3px 7px; background: var(--signal); color: var(--white); font-size: 9px; font-weight: 800; text-transform: uppercase; }

.checkout-form { display: grid; grid-template-columns: 1fr minmax(320px, .75fr); gap: 12px; }
.email-field { display: flex; flex-direction: column; gap: 5px; }
.email-field span { color: var(--ink-soft); font-size: 11px; font-weight: 650; }
.email-field input { height: 52px; padding: 0 15px; border: 1px solid #9aa9a3; border-radius: 4px; background: var(--white); color: var(--ink); }
.email-field input:focus { border-color: var(--forest-2); outline: 3px solid rgba(36, 91, 76, .13); }

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.primary-button { background: var(--signal); border: 1px solid var(--signal); color: var(--white); }
.primary-button:hover { background: var(--signal-dark); border-color: var(--signal-dark); }
.primary-button:disabled { opacity: .6; cursor: wait; }
.primary-button b { margin-left: auto; }
.primary-button svg { width: 18px; height: 18px; }
.secondary-button { background: transparent; border: 1px solid var(--forest); color: var(--forest); }
.secondary-button:hover { background: #edf3f0; }
.checkout-note { margin: 12px 0 0; display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--ink-soft); font-size: 10px; }
.checkout-note svg { width: 13px; height: 13px; }

.paid-state { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 0; }
.paid-state > div:first-child { display: grid; place-items: center; width: 56px; height: 56px; background: #e6f2ed; color: var(--ok); }
.paid-state > div:first-child svg { width: 30px; height: 30px; }
.paid-state p { margin: 7px 0 0; color: var(--ink-soft); }
.download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.standards-band,
.price-section,
.faq-section {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-title { max-width: 760px; margin-bottom: 35px; }
.section-title h2,
.method-copy h2,
.guarantee-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.13;
}

.standards-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.standards-table thead,
.standards-table tbody { display: contents; }
.standard-row { min-height: 70px; display: grid; grid-template-columns: 1.15fr .8fr 1fr 1.3fr; align-items: center; border-bottom: 1px solid var(--line); }
.standard-row > * { padding: 12px 18px 12px 0; font-size: 14px; }
.standard-row > * + * { padding-left: 18px; border-left: 1px solid var(--line); }
.standard-row th { font-size: 15px; font-weight: 750; text-align: left; }
.standard-head { min-height: 42px; color: var(--ink-soft); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.standard-head th { font-size: 10px; }

.method-band {
  padding: 80px max(24px, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 80px;
  background: var(--forest);
  color: var(--white);
}

.method-copy > p:not(.eyebrow) { max-width: 560px; color: #c6d6d0; font-size: 16px; line-height: 1.65; }
.method-copy blockquote { margin: 32px 0 0; padding: 15px 0 15px 20px; border-left: 3px solid var(--signal); color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.edge-proof { margin: 0; }
.edge-proof img { width: 100%; aspect-ratio: 792 / 510; object-fit: cover; background: var(--white); }
.edge-proof figcaption { padding: 14px 0 0; display: flex; justify-content: space-between; gap: 20px; color: #c6d6d0; font-size: 11px; }
.edge-proof figcaption strong { color: var(--white); font-size: 12px; }

.public-prices { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.public-prices article { min-height: 245px; padding: 24px; position: relative; }
.public-prices article + article { border-left: 1px solid var(--line); }
.public-prices article > span { color: var(--signal-dark); font-size: 11px; font-weight: 800; }
.public-prices h3 { margin: 25px 0 5px; font-size: 16px; }
.public-prices article > strong { font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 500; }
.public-prices p { max-width: 260px; margin: 45px 0 0; color: var(--ink-soft); font-size: 13px; }
.price-featured { background: #e9eeeb; }
.price-featured::after { position: absolute; top: 20px; right: 20px; width: 9px; height: 9px; background: var(--signal); content: ""; }

.family-line { min-height: 86px; padding: 0 22px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 48px; background: var(--white); border-bottom: 1px solid var(--line); }
.family-line > div { display: flex; align-items: center; gap: 12px; }
.family-line > div:first-child svg { width: 23px; height: 23px; color: var(--forest-2); }
.family-line > div:first-child span strong, .family-line > div:first-child span small { display: block; }
.family-line > div:first-child span strong { font-size: 14px; }
.family-line > div:first-child span small { color: var(--ink-soft); font-size: 11px; }
.family-line > div:not(:first-child) { gap: 18px; }
.family-line > div:not(:first-child) span { color: var(--ink-soft); font-size: 12px; }
.family-line > div:not(:first-child) strong { font-size: 15px; }

.guarantee-band {
  padding: 70px max(24px, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: 100px minmax(0, 800px);
  gap: 30px;
  background: #e9ded7;
}

.guarantee-mark { width: 80px; height: 80px; display: grid; place-items: center; border: 1px solid var(--signal-dark); border-radius: 50%; color: var(--signal-dark); }
.guarantee-mark svg { width: 30px; height: 30px; }
.guarantee-band p:last-child { max-width: 760px; margin: 16px 0 0; color: var(--ink-soft); }
.guarantee-band a { color: var(--signal-dark); font-weight: 700; }

.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; width: 18px; height: 18px; transition: transform 160ms; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { margin: -2px 0 22px; padding-right: 60px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.site-footer {
  min-height: 210px;
  padding: 45px max(24px, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 50px;
  background: var(--ink);
  color: var(--white);
}

.footer-brand p { margin: 9px 0 0; color: #aebbb6; font-size: 12px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #d4ddda; }
.footer-legal { justify-self: end; text-align: right; }
.footer-legal p { margin: 0 0 10px; color: #aebbb6; font-size: 11px; line-height: 1.65; }
.footer-legal a { color: #d4ddda; }

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: 420px;
  padding: 14px 16px;
  background: var(--ink);
  border-left: 4px solid var(--signal);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 13px;
}

.legal-main { width: min(850px, calc(100% - 40px)); min-height: 70vh; margin: 0 auto; padding: 60px 0 80px; }
.legal-main h1 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 500; }
.legal-main h2 { margin: 36px 0 10px; font-size: 19px; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.legal-main a { color: var(--signal-dark); }
.legal-updated { margin: 0 0 35px; color: var(--ink-soft); font-size: 12px; }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 12px; border: 1px solid var(--line); font-size: 13px; text-align: left; vertical-align: top; }
.legal-table th { background: #e8ecea; }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .intro { grid-template-columns: 1fr; gap: 28px; }
  .intro-copy { max-width: 780px; }
  .workbench { grid-template-columns: 390px minmax(0, 1fr); }
  .control-pane { padding: 24px; }
  .compare { height: 530px; }
  .processing, .result-state { min-height: 530px; padding: 28px; gap: 24px; }
  .method-band { gap: 45px; }
  .faq-section { grid-template-columns: 1fr; gap: 15px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { display: none; }
}

@media (max-width: 820px) {
  .intro { padding-top: 38px; }
  .intro h1 { font-size: 46px; }
  .workbench { grid-template-columns: 1fr; }
  .control-pane { border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-pane { min-height: 680px; }
  .compare { width: min(100%, 480px); }
  .checkout { margin-top: -38px; }
  .plans { grid-template-columns: 1fr; }
  .plan { min-height: 100px; }
  .plan > small { margin-top: 12px; }
  .checkout-form { grid-template-columns: 1fr; }
  .method-band { grid-template-columns: 1fr; }
  .method-copy { max-width: 700px; }
  .public-prices { grid-template-columns: 1fr; }
  .public-prices article { min-height: 170px; }
  .public-prices article + article { border-top: 1px solid var(--line); border-left: 0; }
  .public-prices p { margin-top: 20px; }
  .family-line { grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px; }
  .family-line > div:first-child { grid-column: 1 / -1; }
  .paid-state { grid-template-columns: auto 1fr; }
  .download-actions { grid-column: 1 / -1; justify-content: stretch; }
  .download-actions > * { flex: 1; }
}

@media (max-width: 600px) {
  .site-header { min-height: 62px; padding: 0 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 19px; }
  .header-action { padding: 8px 10px; font-size: 12px; }
  .intro, .workbench, .checkout, .paid-state, .standards-band, .price-section, .faq-section { width: calc(100% - 24px); }
  .intro { padding: 30px 0 24px; }
  .intro h1 { font-size: 38px; }
  .intro h1 br { display: none; }
  .intro-lead { font-size: 16px; }
  .intro-facts { grid-template-columns: 1fr; }
  .intro-facts div, .intro-facts div + div { padding: 10px 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .intro-facts dt, .intro-facts dd { display: inline; }
  .intro-facts dd { margin-left: 8px; }
  .workbench { margin-bottom: 55px; }
  .control-pane { padding: 19px 16px; }
  .document-tabs { grid-template-columns: 1fr; }
  .document-tab { min-height: 58px; }
  .document-tab:nth-child(odd) { border-right: 0; }
  .document-tab:nth-child(n+2) { border-top: 1px solid var(--line); }
  .upload-zone { grid-template-columns: 42px minmax(0, 1fr); }
  .upload-arrow { display: none; }
  .option-row { grid-template-columns: 34px minmax(0, 1fr); }
  .option-row > b { display: none; }
  .preview-pane { min-height: 0; padding: 12px 12px 0; }
  .preview-toolbar { min-height: 38px; }
  .preview-toolbar > span { max-width: 130px; text-align: right; }
  .compare { width: 100%; height: auto; aspect-ratio: 413 / 531; border-width: 5px; }
  .compare-before img { width: calc(100vw - 46px); }
  .preview-footer { align-items: flex-start; flex-direction: column; }
  .checks { width: 100%; justify-content: space-between; }
  .processing, .result-state { min-height: 540px; grid-template-columns: 1fr; padding: 24px; }
  .processing-image, .result-image-wrap { max-width: 245px; max-height: 340px; margin: 0 auto; }
  .processing-copy h3 { font-size: 26px; }
  .error-state { min-height: 480px; padding: 35px 24px; }
  .checkout, .paid-state { margin-top: -20px; padding: 20px 16px; }
  .checkout-head { align-items: flex-start; flex-direction: column; }
  .checkout-head > p { text-align: left; }
  .checkout-head h2, .paid-state h2 { font-size: 27px; }
  .plan-top { padding-right: 0; }
  .checkout-form .primary-button { width: 100%; }
  .standards-band, .price-section, .faq-section { padding: 55px 0; }
  .section-title h2, .method-copy h2, .guarantee-band h2 { font-size: 31px; }
  .standard-head { display: none; }
  .standard-row { min-height: 0; padding: 16px 0; grid-template-columns: 1fr 1fr; gap: 8px; }
  .standard-row > *, .standard-row > * + * { padding: 0; border-left: 0; font-size: 12px; }
  .standard-row > th { grid-column: 1 / -1; font-size: 14px; }
  .method-band { padding: 55px 20px; }
  .method-copy blockquote { font-size: 18px; }
  .edge-proof figcaption { flex-direction: column; gap: 4px; }
  .family-line { grid-template-columns: 1fr; }
  .family-line > div:first-child { grid-column: auto; }
  .family-line > div:not(:first-child) { justify-content: space-between; }
  .guarantee-band { padding: 50px 20px; grid-template-columns: 1fr; }
  .guarantee-mark { width: 58px; height: 58px; }
  .faq-list details p { padding-right: 0; }
  .site-footer { padding: 38px 20px; grid-template-columns: 1fr; gap: 25px; }
  .footer-legal { justify-self: start; text-align: left; }
  .toast { right: 12px; bottom: 12px; left: 12px; }
  .legal-main h1 { font-size: 34px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; }
  .legal-table th { display: none; }
  .legal-table tr { margin-bottom: 10px; border: 1px solid var(--line); }
  .legal-table td { border: 0; }
  .legal-table td + td { border-top: 1px solid var(--line); font-weight: 750; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
