:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --ink: #181d19;
  --muted: #5d655e;
  --line: #d2d2c9;
  --moss: #19362f;
}
* { box-sizing: border-box; }
html { font-family: Arial, "Segoe UI", sans-serif; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
.wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 19px; font-weight: 900; letter-spacing: -.045em; white-space: nowrap; }
.brand img { width: 41px; height: 41px; }
.brand strong { font-weight: 400; letter-spacing: -.035em; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
nav a[aria-current] { border-bottom: 2px solid var(--ink); }
nav a:hover { text-decoration: underline; }
h1, h2, p { margin-top: 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero { padding: 96px 0 78px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1, .workflow h2, .section-heading h2, .page-head h1 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.065em;
}
.hero h1 { font-size: clamp(64px, 10vw, 148px); line-height: .95; margin: 0 0 54px; }
.hero h1 em { font-weight: 400; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 54px; }
.lead { font-size: clamp(19px, 2vw, 25px); line-height: 1.42; max-width: 640px; margin: 0; }
.actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 49px; padding: 12px 20px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 14px Arial, "Segoe UI", sans-serif; text-decoration: none; cursor: pointer; transition: background .16s, color .16s; }
.button:hover { background: var(--ink); color: #fff; }
.button.primary { background: var(--ink); color: #fff; }
.button.primary:hover { background: var(--moss); }
.text-link { font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link:hover { color: #526e3c; }
.button:focus-visible, a:focus-visible, .comparison:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #8baa56; outline-offset: 4px; }
.showcase { border-top: 1px solid var(--line); padding: 75px 0 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(50px, 6vw, 84px); line-height: 1; margin: 0; }
.section-heading > p { max-width: 380px; color: var(--muted); margin: 0; }
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.comparison { margin: 0; min-width: 0; cursor: pointer; }
.comparison-wide { grid-column: 1 / -1; }
.photo-pair { position: relative; display: flex; align-items: center; justify-content: center; height: clamp(300px, 31vw, 460px); background: #17322d; overflow: hidden; }
.comparison-wide .photo-pair { height: clamp(340px, 38vw, 480px); }
.example-grid .comparison:nth-child(2) .photo-pair { height: clamp(270px, 27vw, 325px); }
.photo-pair img { display: block; width: 100%; height: 100%; object-fit: contain; }
.photo-before { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.comparison:hover .photo-before, .comparison:focus-visible .photo-before, .comparison.is-original .photo-before { opacity: 1; }
.comparison figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.view-state { color: var(--muted); white-space: nowrap; }
.example-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.workflow { padding: 84px 0 115px; border-top: 1px solid var(--line); }
.workflow h2 { font-size: clamp(44px, 5.2vw, 74px); line-height: 1.05; margin: 22px 0 55px; }
.workflow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; border-top: 1px solid var(--ink); padding: 23px 0 55px; }
.workflow-list p { max-width: 340px; color: var(--muted); }
.workflow-list strong { color: var(--ink); display: block; font-weight: 800; margin-bottom: 7px; }
.page-head { max-width: 840px; padding: 85px 0 35px; }
.page-head h1 { font-size: clamp(50px, 6.5vw, 85px); line-height: 1; margin: 15px 0 22px; }
.page-head > p:last-child { font-size: 20px; color: var(--muted); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .75fr); gap: 25px; align-items: start; margin: 12px 0 100px; }
.panel, .aside { border-top: 1px solid var(--ink); padding: 26px 0; }
.panel h2, .aside h2 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; letter-spacing: -.04em; margin: 0 0 14px; }
.aside p, .download-panel p { color: var(--muted); }
.panel label { display: block; font-weight: 700; margin: 0 0 7px; }
.panel input, .panel textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: inherit; padding: 12px 14px; margin-bottom: 21px; }
.panel textarea { resize: vertical; }
.panel .hint { margin: -11px 0 22px; color: var(--muted); font-size: 14px; }
.form-status { min-height: 26px; }
.form-status.error { color: #a22222; }
.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 15px 0; }
.download-panel h2 { font-family: Georgia, "Times New Roman", serif; font-size: 36px; margin: 10px 0; }
.platform { font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.availability { max-width: 320px; border-left: 2px solid var(--ink); padding-left: 16px; }
.below { margin-bottom: 90px; }
.success { min-height: 50vh; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0; }
.footer-row div { display: flex; gap: 22px; }
footer a { color: var(--muted); }
.admin-panel { margin: 12px 0 90px; }
.admin-access { display: flex; align-items: flex-start; gap: 14px; }
.admin-access input { max-width: 500px; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--line); }
th { font-size: 14px; }
td { word-break: break-word; }
@media (max-width: 900px) {
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 30px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header-row { gap: 14px; align-items: flex-start; flex-direction: column; padding: 15px 0; }
  .brand img { width: 36px; height: 36px; }
  nav { gap: 20px; }
  .hero { padding: 65px 0; }
  .hero h1 { font-size: clamp(61px, 12vw, 92px); margin-bottom: 36px; }
  .actions { white-space: normal; }
  .showcase { padding: 55px 0; }
  .example-grid { grid-template-columns: 1fr; gap: 26px; }
  .comparison-wide { grid-column: auto; }
  .photo-pair { height: 260px; }
  .comparison-wide .photo-pair, .example-grid .comparison:nth-child(2) .photo-pair { height: 190px; }
  .workflow { padding: 65px 0 85px; }
  .workflow-list { grid-template-columns: 1fr; gap: 15px; }
  .form-layout { grid-template-columns: 1fr; gap: 15px; }
  .download-panel { align-items: flex-start; flex-direction: column; }
  .page-head { padding-top: 60px; }
  .admin-access { flex-direction: column; }
  .admin-access input { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo-before, .button { transition: none; }
}
