:root {
  --ink: #f1eee6;
  --ink-strong: #fffdf8;
  --muted: #bbb8b0;
  --dim: #92938c;
  --black: #0b0c0c;
  --surface: #131514;
  --surface-raised: #191b1a;
  --line: rgba(241, 238, 230, 0.13);
  --line-strong: rgba(241, 238, 230, 0.25);
  --accent: #43e0cf;
  --accent-hot: #72eddf;
  --accent-dark: #087f77;
  --accent-rgb: 67, 224, 207;
  --success: #7fb394;
  --danger: #e26b5e;
  --shell: min(1340px, calc(100vw - 64px));
  --sans: "Arial Nova", "Noto Sans", Arial, sans-serif;
  --mono: "Noto Sans Mono", "DejaVu Sans Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px),
    var(--black);
  background-size: 72px 72px;
  font-family: var(--sans);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.shell { width: var(--shell); margin-inline: auto; }

.ambient {
  position: fixed;
  width: 520px;
  height: 520px;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(130px);
  opacity: .09;
  z-index: -1;
}
.ambient-one { background: var(--accent); top: 4vh; right: -320px; }
.ambient-two { background: #287b82; top: 78vh; left: -390px; opacity: .08; }

.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.05em;
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink-strong);
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -.07em;
  line-height: 1;
}
.brand-now { color: var(--accent); }
.brand-mark {
  width: 38px;
  height: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform .35s ease;
}
.brand:hover .brand-mark { transform: rotate(12deg); }
.brand-mark i {
  display: block;
  height: 2px;
  background: var(--ink);
}
.brand-mark i:nth-child(2) { width: 65%; background: var(--accent); }

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  color: var(--muted);
  font-size: 14px;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--ink); }

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--ink);
}
.header-action span { color: var(--accent); font-size: 18px; }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 3.5vw, 54px);
  align-items: center;
  padding-block: 48px 58px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.eyebrow > span {
  width: 18px;
  height: 1px;
  background: var(--accent);
  box-shadow: 6px 0 0 rgba(var(--accent-rgb), .28);
}

.hero h1,
.section-heading h2,
.faq-intro h2,
.closing-card h2,
.job-topline h1 {
  margin: 24px 0 0;
  color: var(--ink-strong);
  font-size: clamp(52px, 5.3vw, 78px);
  line-height: .98;
  font-weight: 520;
  letter-spacing: -.065em;
}
.hero h1 { font-size: clamp(48px, 4vw, 60px); }
.hero h1 em,
.section-heading h2 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 520;
}

.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-benefits {
  list-style: none;
  max-width: 650px;
  margin: 27px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: .8fr 1.35fr;
  gap: 24px;
}
.hero-benefits li {
  padding-top: 14px;
  border-top: 1px solid rgba(var(--accent-rgb), .62);
}
.hero-benefits strong,
.hero-benefits span { display: block; }
.hero-benefits strong {
  color: var(--ink-strong);
  font-size: 16px;
  line-height: 1.25;
}
.hero-benefits span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.upload-form { margin-top: 29px; }
.service-availability {
  min-height: 34px;
  margin-bottom: 10px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(127,179,148,.2);
  background: rgba(127,179,148,.055);
  color: #a9c7b4;
  font-size: 12px;
  line-height: 1.35;
}
.service-availability i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 9px rgba(127,179,148,.55);
}
.service-availability[data-state="offline"] {
  border-color: rgba(240,138,127,.25);
  background: rgba(240,138,127,.06);
  color: #e2aaa4;
}
.service-availability[data-state="offline"] i {
  background: var(--danger);
  box-shadow: 0 0 9px rgba(240,138,127,.45);
}
.service-availability[data-state="busy"] {
  border-color: rgba(191,164,94,.28);
  background: rgba(191,164,94,.065);
  color: #cfbd8d;
}
.service-availability[data-state="busy"] i {
  background: #bfa45e;
  box-shadow: 0 0 9px rgba(191,164,94,.45);
}
.upload-surface {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 98px;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}
.upload-surface::before,
.upload-surface::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
}
.upload-surface::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.upload-surface::after {
  right: -1px; bottom: -1px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}
.upload-surface.is-dragging {
  border-color: var(--accent);
  background: #11201e;
  transform: translateY(-2px);
}
.upload-surface.is-uploading { pointer-events: none; }
.upload-surface.is-service-offline {
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.015);
}
.upload-surface.is-service-offline::before,
.upload-surface.is-service-offline::after { border-color: #5e605d; }

.upload-picker {
  appearance: none;
  border: 0;
  color: inherit;
  background: transparent;
  min-width: 0;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}
.upload-picker:disabled { cursor: not-allowed; opacity: .62; }
.upload-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.upload-icon svg { width: 19px; stroke: var(--accent); stroke-width: 1.5; }
.upload-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.upload-copy strong {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload-copy small { color: var(--muted); font-size: 13px; }

.primary-button {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #120d0a;
  min-width: 190px;
  padding: 0 20px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.primary-button b { font-size: 20px; font-weight: 400; }
.primary-button:hover { background: var(--accent-hot); }
.primary-button:disabled {
  background: #292b29;
  color: #6f716d;
  cursor: not-allowed;
}
.upload-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
  opacity: 0;
}
.upload-progress.is-visible { opacity: 1; }
.upload-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }

.upload-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.privacy-dot {
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(127,179,148,.5);
}
.form-error { color: #f08a7f; font-size: 14px; margin: 12px 0 0; }

.hero-visual { position: relative; padding: 27px 0 10px 28px; outline: none; }
.hero-visual::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.frame-index {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
}
.frame-index b { color: var(--ink); font-weight: 400; }

.hero-slides { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active {
  display: block;
}

.comparison {
  --position: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #222;
  user-select: none;
}
.comparison-hero { aspect-ratio: 18 / 9; }
.comparison-scene { position: absolute; inset: 0; overflow: hidden; }
.comparison-motion { position: absolute; inset: 0; overflow: hidden; }
.hero-slide.is-active .comparison-motion {
  animation: repair-photo-in 1.15s cubic-bezier(.22,.72,.24,1) both;
}
@keyframes repair-photo-in {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.comparison-sheet { position: absolute; inset: 0; overflow: hidden; }
.comparison-motion img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.comparison-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}
.comparison-after {
  z-index: 1;
  clip-path: inset(0 0 0 var(--position));
  filter: saturate(.97) contrast(1.01);
}
.comparison::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
  z-index: 4;
}
.comparison-handle {
  position: absolute;
  z-index: 3;
  top: 0; bottom: 0;
  left: var(--position);
  width: 1px;
  background: rgba(255,255,255,.88);
  pointer-events: none;
}
.comparison-handle span {
  position: absolute;
  top: 50%; left: 50%;
  width: 39px; height: 39px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--ink-strong);
  color: #171313;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.3);
  z-index: 2;
  transition: transform .2s ease, background-color .2s ease;
}
.comparison-grip svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #5f5d57;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.comparison.is-interacting .comparison-handle span {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent-hot);
}
.autoplay-ring {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%) rotate(-90deg);
  overflow: visible;
}
.autoplay-ring circle {
  fill: none;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}
.autoplay-ring-track { stroke: rgba(255,255,255,.35); }
.autoplay-ring-progress {
  stroke: var(--accent);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.comparison-range {
  appearance: none;
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: col-resize;
}
.compare-label {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  padding: 7px 9px;
  color: var(--ink);
  background: rgba(8,9,9,.73);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em;
  pointer-events: none;
}
.compare-label-before { left: 14px; }
.compare-label-after { right: 14px; }

.carousel-thumbnail {
  appearance: none;
  border: 1px solid var(--line);
  background: #111312;
  color: var(--ink);
  cursor: pointer;
}
.carousel-thumbnails {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(var(--example-count, 5), minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}
.carousel-thumbnail {
  position: relative;
  min-width: 0;
  height: auto;
  aspect-ratio: 18 / 9;
  padding: 4px;
  opacity: .48;
  overflow: hidden;
  transition: opacity .25s ease, border-color .25s ease, transform .25s ease;
}
.carousel-thumbnail:hover { opacity: .8; }
.carousel-thumbnail.is-active {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.thumbnail-image { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #202321; }
.thumbnail-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.thumbnail-number {
  position: absolute;
  left: 8px;
  bottom: 7px;
  padding: 2px 4px;
  color: var(--ink);
  background: rgba(8,9,9,.72);
  font-family: var(--mono);
  font-size: 10px;
}

.visual-note {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.visual-note p { margin: 0; }
.visual-note-line { width: 36px; height: 1px; margin-top: 6px; background: var(--line-strong); }

.proof-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}
.proof-track {
  width: max-content;
  min-width: 100%;
  min-height: 64px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 60px;
  padding-inline: 34px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.proof-track span { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.proof-track i { width: 4px; height: 4px; border: 1px solid var(--accent); transform: rotate(45deg); }

.section-heading {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: end;
  gap: 80px;
  margin-bottom: 70px;
}
.section-heading h2 { font-size: clamp(45px, 4.5vw, 66px); }
.section-heading > p,
.faq-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.price-section {
  padding-block: 125px 135px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .78fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: end;
}
.price-heading h2,
.context-title h2 {
  margin: 24px 0 0;
  color: var(--ink-strong);
  font-size: clamp(45px, 4.5vw, 66px);
  line-height: .98;
  font-weight: 520;
  letter-spacing: -.06em;
}
.price-heading h2 em { color: var(--accent); font-style: normal; font-weight: 520; }
.price-heading > p {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.price-summary {
  padding-left: clamp(28px, 4vw, 60px);
  border-left: 1px solid var(--line);
}
.price-value { display: flex; align-items: flex-start; color: var(--accent); line-height: .78; }
.price-value strong { font-size: clamp(82px, 9vw, 122px); font-weight: 520; letter-spacing: -.08em; }
.price-value span { margin: 6px 0 0 10px; font-family: var(--mono); font-size: 20px; }
.price-summary > p { margin: 27px 0 35px; color: var(--ink); font-size: 15px; line-height: 1.6; }
.price-summary ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-summary li {
  min-height: 42px;
  display: flex;
  align-items: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.price-summary li::before { content: "+"; margin-right: 12px; color: var(--accent); }

.preview-section {
  padding-block: 135px 150px;
  color: #171817;
  background: #eae6dc;
}
.preview-section .eyebrow { color: #76766f; }
.preview-section .section-heading h2 { color: #171817; }
.preview-section .section-heading h2 em { color: var(--accent-dark); }
.preview-section .section-heading > p { color: #555650; }
.preview-heading { margin-bottom: 72px; }
.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(320px, 1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
  max-width: 1160px;
  margin-inline: auto;
}
.preview-demo {
  width: 100%;
  max-width: 640px;
  margin: 0;
  border: 1px solid rgba(16,17,16,.24);
  background: #dcd8cf;
}
.preview-filebar {
  min-height: 46px;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #555650;
  border-bottom: 1px solid rgba(16,17,16,.2);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.preview-photo { position: relative; overflow: hidden; background: #252724; }
.preview-photo > img {
  width: 100%;
  height: auto;
}
.preview-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); pointer-events: none; }
.preview-watermarks {
  position: absolute;
  inset: -10%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  transform: rotate(-13deg);
  pointer-events: none;
}
.preview-watermarks span {
  color: rgba(255,255,255,.72);
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
  font-family: var(--mono);
  font-size: clamp(16px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: -.05em;
}
.preview-demo figcaption { padding: 17px; color: #555650; font-size: 13px; line-height: 1.6; }
.preview-offer { border-top: 1px solid rgba(16,17,16,.22); }
.preview-price {
  min-height: 154px;
  padding: 24px 0 28px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  border-bottom: 1px solid rgba(16,17,16,.22);
}
.preview-price .price-value { color: var(--accent-dark); }
.preview-price .price-value strong { font-size: clamp(78px, 8vw, 108px); }
.preview-price > p { margin: 0 0 3px; color: #555650; font-size: 14px; line-height: 1.55; }
.customer-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(16,17,16,.22); }
.preview-offer .customer-steps { border-top: 0; }
.customer-steps li {
  min-height: 116px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  align-content: center;
  border-bottom: 1px solid rgba(16,17,16,.22);
}
.step-number { color: var(--accent-dark); font-family: var(--mono); font-size: 11px; }
.customer-steps h3 { margin: 0 0 9px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.customer-steps p { max-width: 330px; margin: 0; color: #555650; font-size: 15px; line-height: 1.65; }

.cases-section { padding-block: 145px 155px; }
.cases-heading { margin-bottom: 76px; }
.case-list { border-top: 1px solid var(--line); }
.case-pair {
  padding-block: 52px 74px;
  display: grid;
  grid-template-columns: minmax(230px, .42fr) minmax(0, 1.58fr);
  gap: clamp(42px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}
.case-pair header {
  min-height: 0;
}
.case-pair header span { color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.case-pair h3 { margin: 18px 0 0; font-size: 25px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; }
.case-story { margin: 32px 0 0; color: var(--ink); font-size: 17px; line-height: 1.7; }
.case-repair {
  margin: 27px 0 0;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
}
.case-images {
  width: 100%;
  max-width: 920px;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.case-images figure { min-width: 0; margin: 0; }
.case-photo { position: relative; overflow: hidden; background: #222; }
.case-photo img {
  width: 100%;
  height: auto;
}
.case-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.case-images figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.case-images figure:last-child figcaption { color: var(--accent); }

.recovery-context { padding-block: 130px; border-block: 1px solid var(--line); background: var(--surface); }
.context-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); column-gap: clamp(70px, 11vw, 165px); row-gap: 72px; }
.context-title h2 { font-size: clamp(40px, 4.1vw, 59px); }
.context-copy { border-top: 1px solid var(--line); }
.context-copy p {
  margin: 0;
  padding-block: 24px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.8;
}
.context-copy strong { color: var(--ink); font-weight: 600; }
.context-action {
  min-height: 58px;
  margin-top: 28px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--accent);
  color: #101412;
  background: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.context-action:hover { background: var(--accent-hot); }
.context-action span { font-size: 17px; }
.recovery-questions {
  grid-column: 1 / -1;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.recovery-questions article {
  min-height: 270px;
  padding: 32px 34px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.recovery-questions article > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
}
.recovery-questions h3 {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--ink-strong);
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 520;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.recovery-questions p {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-section {
  padding-block: 145px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 130px;
}
.faq-intro h2 { font-size: clamp(42px, 4.2vw, 62px); margin-bottom: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent); font-family: var(--mono); font-size: 20px; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 590px; margin: -8px 46px 26px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.closing-section { padding-bottom: 125px; }
.closing-card {
  position: relative;
  min-height: 450px;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 115%, rgba(var(--accent-rgb),.17), transparent 48%),
    var(--surface);
}
.closing-code { color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.closing-card h2 { margin-top: 0; font-size: clamp(44px, 5vw, 70px); }
.closing-action {
  margin-top: 36px;
  min-width: 210px;
  padding: 18px 20px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  color: #17100d;
  background: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.closing-action span { font-size: 17px; }
.corner { position: absolute; width: 18px; height: 18px; }
.corner-tl { left: 13px; top: 13px; border-left: 1px solid var(--accent); border-top: 1px solid var(--accent); }
.corner-tr { right: 13px; top: 13px; border-right: 1px solid var(--accent); border-top: 1px solid var(--accent); }
.corner-bl { left: 13px; bottom: 13px; border-left: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }
.corner-br { right: 13px; bottom: 13px; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }

.site-footer {
  min-height: 120px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: var(--dim);
  font-size: 11px;
}
.brand-footer { color: var(--ink); font-size: 15px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer > span { text-align: right; font-family: var(--mono); }

/* Batch dashboard */
.batch-page { min-height: 100vh; }
.batch-shell { padding-block: 64px 110px; }
.batch-heading {
  display: grid;
  grid-template-columns: minmax(470px, .95fr) minmax(0, 1.05fr);
  column-gap: clamp(54px, 7vw, 100px);
  row-gap: 24px;
  align-items: end;
  margin-bottom: 54px;
}
.batch-heading > div:first-child { grid-row: 1 / 3; }
.batch-heading h1 {
  margin: 22px 0 0;
  color: var(--ink-strong);
  font-size: clamp(48px, 4.5vw, 68px);
  line-height: .98;
  font-weight: 520;
  letter-spacing: -.06em;
}
.batch-heading h1 em { color: var(--accent); font-style: normal; font-weight: inherit; }
.batch-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.batch-counters { display: flex; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.batch-counters div { min-width: 88px; padding-right: 22px; }
.batch-counters dt {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.batch-counters dd { margin: 8px 0 0; color: var(--ink); font-size: 30px; letter-spacing: -.04em; }
.batch-counters div:nth-child(2) dd { color: #d2b66d; }
.batch-counters div:last-child dd { color: var(--danger); }
.batch-counters div:nth-child(3) dd { color: var(--accent); }

.batch-workspace {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  background: rgba(19,21,20,.72);
}
.batch-queue { min-width: 0; border-right: 1px solid var(--line); }
.batch-panel-head {
  min-height: 88px;
  padding: 20px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.panel-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.batch-panel-head h2 { margin: 7px 0 0; font-size: 20px; font-weight: 520; letter-spacing: -.03em; }
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}
.live-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .75);
  animation: live-pulse 1.4s ease-in-out infinite alternate;
}
@keyframes live-pulse { to { opacity: .35; } }
.batch-filters { min-height: 50px; padding: 8px 14px; display: flex; gap: 5px; border-bottom: 1px solid var(--line); }
.batch-filters button {
  appearance: none;
  border: 1px solid transparent;
  padding: 0 10px;
  color: var(--dim);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}
.batch-filters button:hover { color: var(--ink); }
.batch-filters button.is-active { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.025); }
.batch-list { max-height: 650px; overflow-y: auto; scrollbar-color: var(--line-strong) transparent; }
.batch-list-loading { padding: 34px 23px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.batch-item { position: relative; border-bottom: 1px solid var(--line); transition: background-color .2s ease; }
.batch-item:hover,
.batch-item.is-active { background: rgba(255,255,255,.025); }
.batch-item.is-active::before,
.batch-item.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}
.batch-item-open {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 83px;
  padding: 17px 18px 13px 22px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.batch-item-number { padding-top: 2px; color: var(--dim); font-family: var(--mono); font-size: 10px; }
.batch-item-copy { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.batch-item-copy strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 600; }
.batch-item-copy small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 12px; }
.batch-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.batch-status i { width: 6px; height: 6px; border-radius: 50%; background: #d2b66d; box-shadow: 0 0 8px rgba(210,182,109,.45); }
.batch-item-completed .batch-status { color: var(--accent); }
.batch-item-completed .batch-status i { background: var(--accent); box-shadow: 0 0 9px rgba(var(--accent-rgb),.55); }
.batch-item-failed .batch-status i,
.batch-item-unsupported .batch-status i { background: var(--danger); box-shadow: none; }
.batch-item-progress { position: absolute; left: 60px; right: 18px; top: 70px; height: 1px; background: rgba(255,255,255,.055); }
.batch-item-progress span { display: block; height: 100%; background: #bfa45e; transition: width .55s ease; }
.batch-item-completed .batch-item-progress span { background: var(--accent); }
.batch-select {
  min-height: 38px;
  margin-left: 60px;
  padding-right: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.batch-select input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); }
.batch-select.is-disabled { color: var(--dim); cursor: default; }

.batch-inspector { min-width: 0; display: flex; flex-direction: column; }
.inspector-head { padding-inline: 28px; }
.inspector-status { color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.inspector-empty { flex: 1; min-height: 570px; padding: 60px; display: grid; place-items: center; align-content: center; text-align: center; }
.inspector-empty h3 { margin: 30px 0 0; font-size: 24px; font-weight: 520; letter-spacing: -.03em; }
.inspector-empty p { max-width: 520px; margin: 13px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.inspector-radar { position: relative; width: 120px; height: 120px; border: 1px solid var(--line-strong); border-radius: 50%; }
.inspector-radar::before,
.inspector-radar::after { content: ""; position: absolute; background: var(--line-strong); }
.inspector-radar::before { left: 50%; top: 10%; bottom: 10%; width: 1px; }
.inspector-radar::after { top: 50%; left: 10%; right: 10%; height: 1px; }
.inspector-radar i { position: absolute; inset: 18px; border: 1px solid var(--line); border-radius: 50%; }
.inspector-radar i:nth-child(2) { inset: 37px; }
.inspector-radar span { position: absolute; left: 50%; top: 50%; width: 42%; height: 1px; background: var(--accent); transform-origin: left; animation: radar-sweep 2.8s linear infinite; }
@keyframes radar-sweep { to { transform: rotate(360deg); } }
.inspector-result { padding: 28px; }
.batch-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.batch-compare-grid figure { min-width: 0; margin: 0; }
.batch-image-label { min-height: 42px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-bottom: 0; }
.batch-image-label span { color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.batch-image-label b { font-size: 12px; font-weight: 500; }
.batch-image-label-ready span,
.batch-image-label-ready b { color: var(--accent); }
.batch-image-frame { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: #090a0a; }
.batch-image-frame img { width: 100%; height: 100%; object-fit: contain; }
.batch-image-frame.image-unavailable::after { content: "Повреждённый JPEG не удалось показать в браузере"; position: absolute; inset: 0; padding: 30px; display: grid; place-items: center; color: var(--muted); background: #0d0f0e; text-align: center; font-size: 13px; line-height: 1.5; }
.inspector-actions { min-height: 84px; padding-top: 23px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.inspector-actions > div { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.inspector-actions strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; }
.inspector-actions span { color: var(--muted); font-size: 12px; }
.selection-button,
.select-all-button {
  appearance: none;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.selection-button { min-height: 48px; padding: 0 18px; font-size: 13px; }
.selection-button:hover,
.selection-button.is-selected { border-color: var(--accent); color: var(--accent); }
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-color: var(--accent);
  color: #101412;
  background: var(--accent);
  font-weight: 700;
}
.download-button:hover { color: #101412; background: #f0d37b; }
.download-button span { color: inherit; font-size: 17px; }

/* Compact batch result list */
.batch-workspace { min-height: 0; display: block; }
.batch-list-head,
.batch-item {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 132px 132px minmax(170px, 1fr) 146px;
  column-gap: 12px;
  align-items: center;
}
.batch-list-head {
  min-height: 40px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.batch-list-head span:nth-child(2),
.batch-list-head span:nth-child(3),
.batch-list-head span:last-child { text-align: center; }
.batch-list { max-height: none; overflow: visible; }
.batch-item {
  position: relative;
  min-height: 124px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease;
}
.batch-item:last-child { border-bottom: 0; }
.batch-item:hover { background: rgba(255,255,255,.02); }
.batch-item.is-selected { background: rgba(var(--accent-rgb),.035); }
.batch-item.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}
.batch-item-file { min-width: 0; display: flex; align-items: center; gap: 13px; }
.batch-item-number {
  flex: 0 0 auto;
  width: 28px;
  padding: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
}
.batch-item-copy { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.batch-item-copy strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 600; }
.batch-item-copy small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--dim); font-family: var(--mono); font-size: 9px; }
.batch-thumbnail-pair {
  appearance: none;
  position: relative;
  grid-column: 2 / 4;
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.batch-thumbnail-pair:disabled { cursor: default; }
.batch-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #090a0a;
  transition: border-color .18s ease;
}
.batch-thumbnail-pair:not(:disabled):hover .batch-thumb,
.batch-thumbnail-pair:not(:disabled):focus-visible .batch-thumb { border-color: rgba(var(--accent-rgb),.72); }
.batch-thumb > small {
  position: absolute;
  z-index: 2;
  left: 6px;
  top: 6px;
  padding: 3px 5px;
  color: #f0f2ed;
  background: rgba(5,6,6,.76);
  font-family: var(--mono);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.batch-thumb-after > small { color: var(--accent); }
.batch-thumb img { width: 100%; height: 100%; object-fit: contain; }
.batch-thumb-fallback {
  display: none;
  padding: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}
.batch-thumb.is-unavailable img { display: none; }
.batch-thumb.is-unavailable .batch-thumb-fallback { display: block; }
.batch-thumb-placeholder {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#bfa45e var(--progress), #2d302e 0);
}
.batch-thumb-placeholder::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: #101211;
}
.batch-thumb-placeholder b { position: relative; z-index: 1; color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 500; }
.batch-open-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 5px;
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(8,10,9,.88);
  font-size: 8px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity .18s ease;
}
.batch-thumbnail-pair:hover .batch-open-hint,
.batch-thumbnail-pair:focus-visible .batch-open-hint { opacity: 1; }
.batch-item-state { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.batch-item-state > small { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 11px; }
.batch-item .batch-item-progress { position: static; width: 100%; height: 2px; background: rgba(255,255,255,.055); }
.batch-item .batch-item-progress span { display: block; height: 100%; background: #bfa45e; transition: width .55s ease; }
.batch-item-completed .batch-item-progress span { background: var(--accent); }
.batch-choice-button {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255,255,255,.02);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.batch-choice-button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.batch-choice-button.is-selected { border-color: var(--accent); color: #101412; background: var(--accent); }
.batch-choice-button.is-ready { border-color: var(--accent); color: #101412; background: var(--accent); }
.batch-choice-button.is-ready:hover { color: #101412; background: #f0d37b; }
.batch-choice-button:disabled { color: var(--dim); background: transparent; opacity: .55; cursor: default; }
.batch-image-frame.image-unavailable::after { content: "Фотографию не удалось показать в браузере"; }

.modal-open { overflow: hidden; }
.batch-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; }
.batch-modal[hidden] { display: none; }
.batch-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(4,5,5,.84); cursor: default; }
.batch-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  background: #111312;
  box-shadow: 0 34px 110px rgba(0,0,0,.72);
}
.batch-modal-head {
  min-height: 86px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.batch-modal-head > div { min-width: 0; }
.batch-modal-head h2 { max-width: 760px; margin: 7px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 520; }
.batch-modal-close { appearance: none; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line-strong); color: var(--ink); background: transparent; font-size: 24px; font-weight: 300; cursor: pointer; }
.batch-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.batch-modal-content { padding: 24px; }
.batch-modal-actions { min-height: 76px; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.batch-modal-actions > div { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.batch-modal-actions strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; }
.batch-modal-actions span { color: var(--muted); font-size: 12px; }
.batch-modal .selection-button.is-selected { color: #101412; background: var(--accent); }

.batch-checkout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.selection-summary { min-width: 0; border-right: 1px solid var(--line); }
.selection-summary .batch-panel-head { min-height: 92px; }
.select-all-button { min-height: 38px; padding: 0 13px; color: var(--muted); font-size: 11px; }
.select-all-button:hover { color: var(--ink); border-color: var(--accent); }
.select-all-button:disabled { opacity: .35; cursor: default; }
.selected-files { min-height: 106px; padding: 20px 23px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 9px; }
.selected-files > p { margin: 9px 0; color: var(--muted); font-size: 14px; }
.selected-files button { appearance: none; max-width: 260px; min-height: 36px; padding: 0 10px 0 12px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(var(--accent-rgb),.32); color: var(--ink); background: rgba(var(--accent-rgb),.045); cursor: pointer; }
.selected-files button span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.selected-files button b { color: var(--accent); font-size: 15px; font-weight: 400; }
.price-calculator { padding: 25px 28px 28px; }
.price-total { margin-top: 16px; display: flex; align-items: flex-start; color: var(--accent); line-height: .8; }
.price-total strong { font-size: 66px; font-weight: 520; letter-spacing: -.07em; }
.price-total span { margin: 5px 0 0 8px; font-family: var(--mono); font-size: 16px; }
.price-calculator dl { margin: 25px 0 0; border-top: 1px solid var(--line); }
.price-calculator dl div { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.price-calculator dt,
.price-calculator dd { margin: 0; color: var(--muted); font-size: 11px; }
.price-calculator dd { color: var(--ink); }
.checkout-button { appearance: none; width: 100%; min-height: 54px; margin-top: 22px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border: 0; color: #101412; background: var(--accent); font-size: 13px; font-weight: 700; cursor: pointer; }
.checkout-button:disabled { color: #747772; background: #292c2a; cursor: default; }
.price-calculator > p { margin: 13px 0 0; color: var(--dim); font-size: 11px; line-height: 1.55; }

/* Full-height photo workspace */
.batch-page {
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.batch-page > .site-header { min-height: 76px; flex: 0 0 76px; }
.batch-shell {
  flex: 1;
  min-height: 0;
  padding-block: 18px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}
.batch-heading {
  min-height: 86px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.batch-heading > div:first-child { min-width: 0; grid-row: auto; }
.batch-heading .eyebrow { font-size: 9px; }
.batch-heading h1 {
  margin: 9px 0 0;
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 1;
  letter-spacing: -.045em;
}
.batch-heading p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.batch-counters { flex: 0 0 auto; padding: 0; border: 0; }
.batch-counters div { min-width: 100px; padding: 0 20px; border-left: 1px solid var(--line); }
.batch-counters div:last-child { padding-right: 0; }
.batch-counters dt { font-size: 8px; }
.batch-counters dd { margin-top: 5px; font-size: 25px; }

.batch-workspace { min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.batch-list-head { flex: 0 0 39px; min-height: 39px; }
.batch-list {
  min-height: 0;
  flex: 1;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), .42) rgba(255,255,255,.035);
}
.batch-list::-webkit-scrollbar { width: 8px; }
.batch-list::-webkit-scrollbar-track { background: rgba(255,255,255,.025); }
.batch-list::-webkit-scrollbar-thumb { border: 2px solid #131514; background: rgba(var(--accent-rgb), .5); }
.batch-item { min-height: 112px; padding-block: 8px; }

.batch-checkout {
  min-height: 88px;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(19,21,20,.94);
}
.selection-summary {
  min-width: 0;
  padding: 12px 16px 12px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
}
.selection-title { min-width: 100px; display: flex; flex-direction: column; gap: 5px; }
.selection-title > span { color: var(--dim); font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.selection-title strong { font-size: 18px; font-weight: 520; white-space: nowrap; }
.selected-files {
  min-width: 0;
  min-height: 38px;
  padding: 0;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.selected-files::-webkit-scrollbar { display: none; }
.selected-files > p { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }
.selected-files button { flex: 0 0 auto; }
.select-all-button { flex: 0 0 auto; white-space: nowrap; }
.price-calculator {
  min-width: 510px;
  padding: 12px 14px 12px 20px;
  display: grid;
  grid-template-columns: minmax(105px, 1fr) auto 218px;
  align-items: center;
  gap: 18px;
}
.price-copy { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.price-copy > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 11px; }
.price-copy small { color: var(--dim); font-size: 9px; }
.price-copy small b { color: var(--accent); font-weight: 500; }
.price-total { min-width: 76px; margin: 0; align-items: center; justify-content: flex-end; }
.price-total strong { font-size: 42px; }
.price-total span { margin: 0 0 0 6px; font-size: 13px; }
.checkout-button { width: 218px; min-height: 52px; margin: 0; }

/* Job page */
.job-page { min-height: 100vh; }
.job-header-note { color: var(--dim); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.job-shell { padding-block: 70px 50px; }
.job-topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.job-code, .result-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.job-topline h1 { margin-top: 14px; font-size: clamp(38px, 4.6vw, 62px); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px rgba(var(--accent-rgb),.5); }
.status-pill[data-status="completed"] i { background: var(--success); box-shadow: 0 0 9px rgba(127,179,148,.5); }
.status-pill[data-status="failed"] i,
.status-pill[data-status="unsupported"] i { background: var(--danger); }

.job-card { border: 1px solid var(--line-strong); background: var(--surface); }
.job-filebar {
  min-height: 88px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.file-icon {
  width: 46px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-family: var(--mono); font-size: 8px;
}
.job-filebar > div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.job-filebar strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 600; }
.job-filebar span { color: var(--dim); font-family: var(--mono); font-size: 9px; }
.job-percent { color: var(--ink) !important; font-size: 17px !important; }
.job-progress { height: 2px; background: #262827; }
.job-progress span { display: block; width: 0; height: 100%; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb),.3); transition: width .55s cubic-bezier(.22,.8,.35,1); }

.stage-layout { min-height: 500px; display: grid; grid-template-columns: 1.15fr .85fr; }
.scanner-card { padding: 50px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.scanner-frame {
  position: relative;
  flex: 1;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e100f;
}
.scanner-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle, black, transparent 72%);
}
.scanner-line {
  position: absolute; left: 8%; right: 8%; top: 0; height: 1px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(var(--accent-rgb),.65), 0 12px 30px rgba(var(--accent-rgb),.1);
  animation: scan 3.6s ease-in-out infinite alternate;
}
@keyframes scan { to { transform: translateY(318px); } }
.scanner-center { position: absolute; inset: 0; display: grid; place-items: center; }
.scanner-center span {
  width: 88px; height: 88px; border: 1px solid var(--line-strong); border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255,255,255,.018), 0 0 0 36px rgba(255,255,255,.01);
  animation: breathe 2s ease-in-out infinite alternate;
}
.scanner-center span::before,
.scanner-center span::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent); opacity: .7; }
.scanner-center span::before { width: 26px; height: 1px; transform: translate(-50%,-50%); }
.scanner-center span::after { width: 1px; height: 26px; transform: translate(-50%,-50%); }
@keyframes breathe { to { transform: scale(1.06); border-color: rgba(var(--accent-rgb),.5); } }
.scanner-label { margin-top: 14px; color: var(--dim); font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }

.stage-list { list-style: none; margin: 0; padding: 54px 46px; display: flex; flex-direction: column; justify-content: center; }
.stage-list li { position: relative; min-height: 88px; display: grid; grid-template-columns: 18px 1fr; gap: 16px; color: #5f615e; }
.stage-list li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 17px; bottom: -3px; width: 1px; background: #303230; }
.stage-list i { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 3px; border-radius: 50%; border: 1px solid #4d4f4c; background: var(--surface); }
.stage-list span { display: flex; flex-direction: column; gap: 6px; }
.stage-list b { font-size: 13px; font-weight: 500; }
.stage-list small { font-family: var(--mono); font-size: 8px; }
.stage-list li.is-active { color: var(--ink); }
.stage-list li.is-active i { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb),.08); }
.stage-list li.is-complete { color: #9a9c96; }
.stage-list li.is-complete i { border-color: var(--success); background: var(--success); }

.result-view { padding: 36px; }
.result-comparison { --position: 50%; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #080909; }
.result-before, .result-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #080909; }
.result-before { z-index: 2; clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.result-after-wrap { position: absolute; z-index: 1; inset: 0; }
.result-after { max-width: none; }
.result-actions { padding: 28px 2px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.result-actions h2, .terminal-view h2 { margin: 8px 0 8px; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.result-actions p, .terminal-view p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.download-button { min-height: 58px; min-width: 210px; }

.terminal-view { min-height: 430px; padding: 70px; display: flex; align-items: center; justify-content: center; gap: 38px; }
.terminal-symbol { width: 86px; height: 86px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(226,107,94,.5); color: var(--danger); font-family: var(--mono); font-size: 30px; border-radius: 50%; }
.terminal-view p { max-width: 520px; }
.secondary-button { display: inline-flex; margin-top: 24px; padding: 14px 18px; border: 1px solid var(--line-strong); font-size: 11px; }
.secondary-button:hover { border-color: var(--accent); }

.job-footerline { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--dim); font-size: 10px; }
.delete-button { appearance: none; border: 0; padding: 0; background: transparent; color: #827c78; font-size: 10px; cursor: pointer; border-bottom: 1px solid transparent; }
.delete-button:hover { color: var(--danger); border-bottom-color: var(--danger); }
.delete-button:disabled { opacity: .35; cursor: not-allowed; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 20; padding: 13px 18px; border: 1px solid var(--line-strong); background: #191b1a; box-shadow: 0 14px 50px rgba(0,0,0,.45); color: var(--ink); font-size: 11px; }

@media (max-width: 1020px) {
  :root { --shell: min(100% - 40px, 820px); }
  .main-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 72px; }
  .hero-copy { min-width: 0; max-width: 700px; }
  .hero-visual { width: 100%; max-width: 720px; margin-left: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .section-heading > p { max-width: 520px; }
  .price-section { grid-template-columns: 1fr; align-items: start; }
  .price-summary { max-width: 620px; padding-left: 0; border-left: 0; }
  .preview-layout { grid-template-columns: 1fr; }
  .case-pair { grid-template-columns: 1fr; gap: 38px; }
  .case-copy { max-width: 640px; }
  .case-images { justify-self: start; }
  .customer-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .customer-steps li { min-height: 170px; padding-right: 24px; grid-template-columns: 1fr; gap: 14px; border-right: 1px solid rgba(16,17,16,.22); }
  .customer-steps li:first-child { border-left: 1px solid rgba(16,17,16,.22); padding-left: 24px; }
  .context-layout { grid-template-columns: 1fr; }
  .context-copy { max-width: 720px; }
  .recovery-questions { margin-top: 0; }
  .faq-section { grid-template-columns: 1fr; gap: 70px; }
  .batch-heading { gap: 24px; }
  .batch-heading > div:first-child { grid-row: auto; }
  .batch-heading > p { max-width: 680px; }
  .batch-counters { border-left: 0; }
  .batch-counters div { min-width: 82px; padding: 0 14px; }
  .batch-workspace { grid-template-columns: 1fr; }
  .batch-list-head,
  .batch-item { grid-template-columns: minmax(160px, 1.3fr) 106px 106px minmax(140px, .9fr) 128px; column-gap: 9px; }
  .batch-list { max-height: none; }
  .batch-checkout { grid-template-columns: minmax(250px, 1fr) minmax(420px, auto); }
  .selection-summary { grid-template-columns: auto auto; border-right: 1px solid var(--line); border-bottom: 0; }
  .selected-files { display: none; }
  .price-calculator { min-width: 420px; grid-template-columns: auto 218px; }
  .price-copy { display: none; }
  .stage-layout { grid-template-columns: 1fr; }
  .scanner-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .stage-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .stage-list li { display: flex; min-height: 0; }
  .stage-list li::after { display: none; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 28px); }
  .site-header { min-height: 76px; }
  .brand { gap: 8px; font-size: 21px; }
  .brand-mark { width: 32px; height: 32px; padding: 7px 6px; }
  .header-action { font-size: 0; gap: 0; }
  .header-action span { font-size: 20px; }
  .hero { min-height: 0; gap: 54px; padding-block: 58px 70px; }
  .hero h1 { font-size: clamp(42px, 11.7vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-benefits { grid-template-columns: 1fr; gap: 18px; }
  .upload-surface { grid-template-columns: 1fr; }
  .primary-button { min-height: 56px; }
  .upload-foot { flex-direction: column; gap: 4px; }
  .hero-visual { padding-left: 15px; }
  .proof-track { justify-content: flex-start; animation: marquee 24s linear infinite; }
  @keyframes marquee { to { transform: translateX(-45%); } }
  .faq-section { padding-block: 95px; }
  .section-heading { margin-bottom: 48px; }
  .section-heading h2, .faq-intro h2 { font-size: 42px; }
  .carousel-thumbnail { padding: 3px; }
  .thumbnail-number { left: 6px; bottom: 5px; }
  .visual-note br { display: none; }
  .price-section { padding-block: 95px 105px; gap: 55px; }
  .price-heading h2, .context-title h2 { font-size: 42px; }
  .price-value strong { font-size: 86px; }
  .preview-section { padding-block: 95px 105px; }
  .preview-heading { margin-bottom: 50px; }
  .preview-filebar span:last-child { display: none; }
  .preview-demo figcaption { font-size: 13px; }
  .customer-steps { grid-template-columns: 1fr; }
  .customer-steps li,
  .customer-steps li:first-child { min-height: 0; padding: 24px 4px; grid-template-columns: 38px 1fr; gap: 14px; border-left: 0; border-right: 0; }
  .cases-section { padding-block: 100px 110px; }
  .cases-heading { margin-bottom: 50px; }
  .case-pair { padding-block: 30px 52px; }
  .case-pair header { min-height: 0; }
  .case-story { font-size: 16px; }
  .case-images { grid-template-columns: 1fr; gap: 28px; }
  .recovery-context { padding-block: 95px; }
  .context-layout { gap: 55px; }
  .recovery-questions { grid-template-columns: 1fr; }
  .recovery-questions article { min-height: 0; padding: 28px 24px 32px; }
  .closing-card { min-height: 390px; padding: 50px 24px; }
  .closing-card h2 { font-size: 44px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
  .batch-page { min-height: 560px; }
  .batch-shell { padding-block: 10px; gap: 10px; }
  .batch-heading { min-height: 98px; margin: 0; display: grid; grid-template-columns: 1fr; gap: 9px; }
  .batch-heading h1 { margin-top: 7px; font-size: 28px; }
  .batch-heading p { display: none; }
  .batch-counters { width: 100%; justify-content: space-between; }
  .batch-counters div { min-width: 0; flex: 1; padding: 8px 8px 0; border-top: 1px solid var(--line); border-left: 0; }
  .batch-counters div:first-child { padding-left: 0; }
  .batch-counters dt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 7px; }
  .batch-counters dd { margin-top: 4px; font-size: 20px; }
  .batch-workspace { min-height: 0; }
  .batch-filters button { flex: 0 0 auto; padding-inline: 8px; font-size: 10px; }
  .live-indicator { font-size: 0; gap: 0; }
  .batch-list-head { display: none; }
  .batch-item { grid-template-columns: minmax(0, 1fr) 132px; gap: 14px 12px; min-height: 0; padding: 16px; }
  .batch-item-file { grid-column: 1 / -1; }
  .batch-thumbnail-pair { grid-column: 1 / -1; }
  .batch-thumb > small { font-size: 8px; }
  .batch-open-hint { opacity: 1; }
  .batch-item-state { grid-column: 1; }
  .batch-choice-button { grid-column: 2; min-height: 48px; }
  .batch-compare-grid { grid-template-columns: 1fr; gap: 24px; }
  .batch-modal { padding: 14px; }
  .batch-modal-dialog { width: calc(100vw - 28px); max-height: calc(100vh - 28px); }
  .batch-modal-head { min-height: 78px; padding: 14px; }
  .batch-modal-head h2 { max-width: calc(100vw - 125px); font-size: 17px; }
  .batch-modal-content { padding: 14px; }
  .batch-modal-actions { align-items: stretch; flex-direction: column; }
  .selection-button { width: 100%; }
  .batch-checkout { min-height: 88px; grid-template-columns: minmax(0, 1fr) 190px; }
  .selection-summary { padding: 9px 10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; border-right: 1px solid var(--line); }
  .selection-title { min-width: 0; gap: 3px; }
  .selection-title strong { font-size: 16px; }
  .select-all-button { min-height: 26px; padding: 0; border: 0; color: var(--accent); font-size: 9px; }
  .price-calculator { min-width: 0; padding: 8px 9px; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .price-total { min-width: 48px; justify-content: flex-start; }
  .price-total strong { font-size: 31px; }
  .price-total span { font-size: 10px; }
  .checkout-button { width: 100%; min-height: 44px; padding-inline: 10px; font-size: 10px; }
  .checkout-button span { white-space: nowrap; }
  .checkout-button b { display: none; }
  .job-header-note { display: none; }
  .job-shell { padding-top: 48px; }
  .job-topline { align-items: flex-start; flex-direction: column; }
  .job-topline h1 { font-size: 40px; }
  .job-filebar { grid-template-columns: auto minmax(0, 1fr); }
  .job-percent { display: none; }
  .scanner-card { padding: 18px; }
  .scanner-frame { min-height: 260px; }
  @keyframes scan { to { transform: translateY(258px); } }
  .stage-list { grid-template-columns: 1fr; padding: 34px 24px; }
  .result-view { padding: 14px; }
  .result-comparison { aspect-ratio: 4/3; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .download-button { min-height: 58px; }
  .terminal-view { padding: 55px 24px; flex-direction: column; text-align: center; }
  .job-footerline { align-items: flex-start; flex-direction: column; padding-block: 18px; }
}

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