:root {
  --ink: #161615;
  --muted: #666158;
  --paper: #fbf4e8;
  --surface: #fffaf1;
  --line: #ddd3c3;
  --teal: #0f766e;
  --teal-dark: #0d514c;
  --coral: #d84f45;
  --amber: #c8912f;
  --violet: #5b5bd6;
  --shadow: 0 18px 60px rgba(34, 30, 24, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, .82), transparent 22%),
    var(--paper);
  letter-spacing: 0;
}

button,
input,
a {
  font: inherit;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  background: rgba(247, 243, 234, .92);
  border-bottom: 1px solid rgba(31, 28, 22, .08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 900;
  font-size: 13px;
}

.brand-text {
  display: grid;
  gap: 1px;
  font-weight: 850;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topnav a {
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.topnav a:hover {
  background: rgba(15, 118, 110, .08);
  color: var(--teal-dark);
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: 34px 28px 36px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 580px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 58px;
  line-height: .98;
  font-weight: 920;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 920;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.lead {
  margin-bottom: 24px;
  color: #3f3a33;
  font-size: 19px;
  line-height: 1.55;
}

.memory-stack {
  position: relative;
  height: 178px;
  margin-top: 32px;
  max-width: 500px;
}

.memory-card {
  position: absolute;
  width: 168px;
  height: 138px;
  padding: 10px 10px 28px;
  background: #fffdf8;
  border: 1px solid rgba(43, 36, 26, .16);
  box-shadow: 0 14px 36px rgba(55, 44, 31, .14);
}

.memory-card span {
  position: absolute;
  left: 12px;
  bottom: 7px;
  color: #70675b;
  font-size: 12px;
  font-weight: 900;
}

.memory-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  overflow: hidden;
}

.old-card {
  left: 4px;
  top: 10px;
  transform: rotate(-7deg);
}

.old-card img {
  filter: sepia(.75) grayscale(.45);
}

.clear-card {
  left: 140px;
  top: 2px;
  transform: rotate(4deg);
}

.clear-card img {
  filter: contrast(1.12) saturate(1.08) brightness(1.05);
}

.memory-note {
  position: absolute;
  left: 284px;
  top: 46px;
  width: 178px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, .86);
  color: #5f574d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.trust-row {
  display: grid;
  gap: 10px;
}

.trust-row span {
  position: relative;
  padding-left: 26px;
  color: #38342f;
  font-weight: 780;
  line-height: 1.35;
}

.trust-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 5px #d9eee8;
}

.restore-workbench {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
  isolation: isolate;
}

.restore-workbench::before {
  content: "";
  position: absolute;
  inset: -18px -12px auto auto;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: rgba(15, 118, 110, .12);
  z-index: -1;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.mode {
  min-height: 42px;
  padding: 0 8px;
  border: 1px solid #e4dacb;
  border-radius: 8px;
  background: #fbf7ef;
  color: #5f584d;
  cursor: pointer;
  font-weight: 850;
}

.mode.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.dropzone {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 14px;
  border: 1.5px dashed #c8b99f;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .6)),
    repeating-linear-gradient(135deg, rgba(200, 145, 47, .08) 0 8px, transparent 8px 16px);
}

.dropzone.is-dragging {
  border-color: var(--teal);
  background: rgba(15, 118, 110, .08);
}

.dropzone input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.dropzone strong {
  display: block;
  font-size: 17px;
  margin-bottom: 3px;
}

.dropzone span {
  color: var(--muted);
  font-size: 14px;
}

.drop-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--teal);
  position: relative;
}

.drop-icon::before,
.drop-icon::after {
  content: "";
  position: absolute;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.drop-icon::before {
  width: 22px;
  height: 4px;
  border-radius: 4px;
}

.drop-icon::after {
  width: 4px;
  height: 22px;
  border-radius: 4px;
}

.ghost-button,
.primary-button,
.pay-button {
  border: 0;
  border-radius: 8px;
  min-height: 46px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost-button {
  background: #fff;
  color: var(--teal-dark);
  border: 1px solid rgba(15, 118, 110, .25);
}

.primary-button {
  background: var(--teal);
  color: #fff;
}

.pay-button {
  background: var(--coral);
  color: #fff;
  gap: 4px;
}

.preview-stage {
  margin-top: 14px;
  border: 1px solid #e4dacb;
  border-radius: 8px;
  overflow: hidden;
  background: #211d18;
}

.preview-toolbar {
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  font-weight: 800;
}

.preview-toolbar span:last-child {
  color: #d7f4ee;
}

.compare-frame {
  position: relative;
  height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .06), transparent 22%),
    linear-gradient(135deg, #171513, #2c261f);
  display: grid;
  place-items: center;
  padding: 34px;
}

.compare-photo {
  position: relative;
  width: min(88%, 620px);
  height: 100%;
  max-height: 356px;
  overflow: hidden;
  border: 10px solid #f7f1e5;
  background: #f7f1e5;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

.photo-layer {
  position: absolute;
  inset: 0;
}

.photo-before {
  z-index: 1;
}

.photo-layer img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.photo-before img {
  filter: sepia(.95) grayscale(.85) contrast(.55) brightness(.58) blur(2px);
}

.photo-after {
  clip-path: inset(0 0 0 56%);
  z-index: 2;
}

.photo-after img {
  filter: contrast(1.3) saturate(1.38) brightness(1.16);
}

body.has-upload .photo-after img {
  filter: contrast(1.36) saturate(1.45) brightness(1.2);
}

body.has-upload .photo-after::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, transparent 0 46%, rgba(255, 244, 220, .1) 75%),
    linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 34%, transparent 64%, rgba(15, 118, 110, .1));
  mix-blend-mode: screen;
}

body.has-upload[data-mode="restore"] .photo-after img {
  filter: grayscale(0) contrast(1.32) saturate(1.36) brightness(1.22);
}

body[data-mode="restore"]:not(.has-upload) .photo-before img,
body[data-mode="restore"]:not(.has-upload) .photo-after img {
  filter: none;
}

body[data-mode="restore"]:not(.has-upload) .photo-before::before {
  opacity: 0;
}

body[data-mode="enhance"]:not(.has-upload) .photo-before img {
  filter: none;
}

body[data-mode="enhance"]:not(.has-upload) .photo-after img {
  filter: none;
}

body[data-mode="enhance"]:not(.has-upload) .photo-before::before {
  opacity: 0;
}

body.has-upload[data-mode="retro"] .photo-after img {
  filter: sepia(.32) saturate(1.12) contrast(1.08) brightness(1.04);
}

body.has-upload[data-mode="coloring"] .photo-after img {
  filter: grayscale(1) contrast(3.1) brightness(1.28);
}

body.has-upload[data-mode="family"] .photo-after img {
  filter: contrast(1.12) saturate(1.12) brightness(1.08);
}

body[data-mode="retro"] .photo-after img {
  filter: sepia(.28) saturate(1.16) contrast(1.08);
  transform: rotate(-1deg);
}

body[data-mode="coloring"] .photo-after img {
  filter: grayscale(1) contrast(2.7) brightness(1.22);
}

body[data-mode="coloring"] .photo-after::before {
  content: "";
  position: absolute;
  inset: 9% 8%;
  z-index: 3;
  pointer-events: none;
  background: rgba(255, 255, 255, .78);
  mix-blend-mode: screen;
}

body[data-mode="family"] .photo-after img {
  filter: contrast(1.08) saturate(1.08) brightness(1.04);
}

.photo-before::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(104deg, transparent 16%, rgba(255, 244, 206, .78) 16.5%, transparent 18.2%),
    linear-gradient(74deg, transparent 62%, rgba(255, 244, 206, .64) 62.4%, transparent 64%),
    linear-gradient(-8deg, transparent 45%, rgba(255, 244, 206, .42) 45.3%, transparent 46%),
    radial-gradient(circle at 18% 28%, rgba(44, 28, 16, .38) 0 5%, transparent 5.8%),
    radial-gradient(circle at 76% 70%, rgba(44, 28, 16, .3) 0 4%, transparent 4.8%),
    radial-gradient(circle at 50% 48%, rgba(255, 244, 206, .22) 0 18%, transparent 18.8%),
    repeating-linear-gradient(90deg, rgba(255, 246, 214, .18) 0 1px, transparent 1px 13px),
    rgba(68, 46, 24, .12);
}

body[data-mode="retro"] .photo-before::before,
body[data-mode="family"] .photo-before::before,
body[data-mode="coloring"] .photo-before::before {
  opacity: .45;
}

.watermark {
  position: absolute;
  z-index: 4;
  inset: auto 18px 18px auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .65);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 900;
  border-radius: 6px;
  background: rgba(0, 0, 0, .25);
}

.compare-label {
  position: absolute;
  top: 10px;
  z-index: 4;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .42);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.label-before {
  left: 10px;
}

.label-after {
  right: 10px;
}

.scan-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 12%;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  animation: scan 4.2s ease-in-out infinite;
}

@keyframes scan {
  0%, 22% { transform: translateX(0); opacity: 0; }
  35% { opacity: 1; }
  70% { transform: translateX(930%); opacity: 1; }
  100% { transform: translateX(930%); opacity: 0; }
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56%;
  width: 2px;
  background: #fff;
  z-index: 5;
  box-shadow: 0 0 18px rgba(0, 0, 0, .32);
}

.compare-handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.compare-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: solid var(--teal);
  border-width: 0 3px 3px 0;
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0;
  cursor: ew-resize;
}

.progress {
  height: 5px;
  background: rgba(255, 255, 255, .08);
}

.progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--amber);
  transition: width .45s ease;
}

.action-row {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 10px;
  margin-top: 14px;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.product-card {
  min-height: 132px;
  padding: 24px;
  border: 0;
  background: #fffaf1;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.product-card.is-active {
  background: #f3fbf8;
  box-shadow: inset 0 4px 0 var(--teal);
}

.product-card:hover {
  background: #f8f1e6;
}

.product-card strong,
.product-card span {
  display: block;
}

.product-card strong {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.18;
}

.product-card span {
  color: var(--muted);
  line-height: 1.4;
}

.section {
  padding: 72px 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(280px, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head .eyebrow {
  margin: 0;
}

.example-grid,
.flow-grid,
.price-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.example-grid {
  grid-template-columns: repeat(3, 1fr);
}

.all-products-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.example-card,
.flow-step,
.price-card,
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.example-card {
  overflow: hidden;
}

.example-card h3,
.example-card p {
  padding-inline: 16px;
}

.example-card h3 {
  margin-top: 16px;
}

.example-card p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.mini-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 210px;
  background: #201d19;
}

.mini {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
}

.mini.old {
  filter: sepia(.72) grayscale(.4);
  background:
    repeating-linear-gradient(110deg, rgba(255, 255, 255, .22) 0 2px, transparent 2px 24px),
    var(--photo);
  background-size: auto, cover;
  background-position: center, center;
}

.mini.new {
  filter: contrast(1.16) saturate(1.12) brightness(1.05);
}

.generation-preview {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1.1fr 30px 1fr;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, .92), rgba(240, 232, 216, .76)),
    radial-gradient(circle at 78% 18%, rgba(15, 118, 110, .13), transparent 28%);
  border-bottom: 1px solid var(--line);
}

.generation-sources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.generation-sources span,
.generation-result {
  position: relative;
  min-height: 72px;
  border: 7px solid #fffaf1;
  background: #d8c5aa;
  box-shadow: 0 8px 18px rgba(44, 34, 24, .14);
  overflow: hidden;
}

.generation-sources span::before,
.generation-result::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 17%;
  width: 24px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #75513c;
}

.generation-sources span::after,
.generation-result::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13%;
  width: 56px;
  height: 38px;
  transform: translateX(-50%);
  border-radius: 38px 38px 6px 6px;
  background: #27485a;
}

.generation-sources span {
  padding: 48px 4px 4px;
  color: #433a31;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.generation-sources span:nth-child(1) {
  filter: sepia(.75) grayscale(.35);
}

.generation-sources span:nth-child(2) {
  background: #c9b592;
  filter: sepia(.55);
}

.generation-sources span:nth-child(3) {
  background: #d4dfdc;
}

.generation-sources span:nth-child(4) {
  background: #e6d9c4;
}

.generation-arrow {
  width: 28px;
  height: 28px;
  border: solid var(--teal);
  border-width: 0 5px 5px 0;
  transform: rotate(-45deg);
  justify-self: center;
}

.generation-result {
  min-height: 164px;
  background: linear-gradient(135deg, #e8ded0, #9dbab3);
}

.generation-result::before {
  width: 36px;
  height: 40px;
  top: 15%;
  box-shadow:
    -42px 16px 0 -4px #8a6048,
    42px 16px 0 -4px #b27b5a,
    -22px 54px 0 -7px #a67656,
    24px 56px 0 -8px #7c543d;
}

.generation-result::after {
  width: 146px;
  height: 72px;
  bottom: 14%;
  background: #33596d;
}

.generation-result span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  color: #fffaf1;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.single-preview {
  min-height: 210px;
  position: relative;
  overflow: hidden;
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
}

.retro-preview {
  margin: 18px;
  min-height: 174px;
  border: 13px solid #fffaf1;
  border-bottom-width: 42px;
  box-shadow: 0 16px 28px rgba(40, 32, 22, .22);
  filter: sepia(.26) saturate(1.15) contrast(1.05);
  transform: rotate(-2deg);
}

.retro-preview span {
  position: absolute;
  left: 12px;
  bottom: -34px;
  color: #5b5349;
  font-size: 15px;
  font-weight: 900;
}

.coloring-preview {
  background:
    linear-gradient(#fffaf1, #fffaf1);
  border-bottom: 1px solid var(--line);
}

.coloring-preview::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  width: 84px;
  height: 94px;
  transform: translateX(-50%);
  border: 5px solid #23201c;
  border-radius: 45% 45% 48% 48%;
  background:
    radial-gradient(circle at 35% 42%, #23201c 0 3px, transparent 3.5px),
    radial-gradient(circle at 65% 42%, #23201c 0 3px, transparent 3.5px),
    linear-gradient(#23201c, #23201c) 50% 68% / 28px 4px no-repeat,
    transparent;
}

.coloring-preview::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 160px;
  height: 98px;
  transform: translateX(-50%);
  border: 5px solid #23201c;
  border-bottom: 0;
  border-radius: 70px 70px 8px 8px;
  background:
    linear-gradient(35deg, transparent 45%, #23201c 46% 48%, transparent 49%) 16px 18px / 42px 42px no-repeat,
    linear-gradient(-35deg, transparent 45%, #23201c 46% 48%, transparent 49%) 102px 18px / 42px 42px no-repeat;
}

.flow-grid {
  grid-template-columns: repeat(3, 1fr);
}

.flow-step {
  padding: 22px;
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.flow-step p,
.price-card p,
details p {
  color: var(--muted);
  line-height: 1.55;
}

.story-band {
  padding: 78px 28px;
  background: #211d18;
  color: #fffaf1;
}

.story-copy,
.story-grid {
  max-width: 1224px;
  margin-left: auto;
  margin-right: auto;
}

.story-copy {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(300px, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.story-copy .eyebrow {
  color: #f0b55d;
  margin: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.story-card {
  border: 1px solid rgba(255, 250, 241, .14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 250, 241, .07);
}

.story-card p {
  margin: 0;
  padding: 16px;
  color: #f3eadb;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 760;
}

.story-photo {
  height: 210px;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .18)), var(--photo);
  background-size: cover;
  background-position: center;
}

.pricing {
  max-width: none;
  background: #f0ebe0;
}

.pricing .section-head,
.pricing .price-grid {
  max-width: 1224px;
  margin-left: auto;
  margin-right: auto;
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  padding: 22px;
}

.price-card.is-featured {
  border-color: rgba(15, 118, 110, .55);
  box-shadow: 0 16px 40px rgba(15, 118, 110, .12);
}

.price {
  margin: 8px 0 12px;
  font-size: 34px;
  font-weight: 920;
  color: var(--teal-dark);
}

.price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.faq-grid {
  grid-template-columns: 1fr;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 17px;
}

details p {
  margin: 12px 0 0;
}

.demo-credit {
  max-width: 1224px;
  margin: -34px auto 38px;
  padding: 0 28px;
  color: var(--muted);
  font-size: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 21, .58);
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  background: var(--surface);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #f0eadf;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.modal-actions {
  margin-top: 18px;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    font-size: 42px;
  }

  .section-head,
  .story-copy,
  .example-grid,
  .all-products-grid,
  .story-grid,
  .flow-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .product-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar {
    height: auto;
    min-height: 64px;
    padding: 10px 14px;
  }

  .topnav {
    display: none;
  }

  .hero,
  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.02;
    margin-bottom: 14px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .trust-row {
    gap: 8px;
  }

  .trust-row span {
    font-size: 15px;
  }

  .memory-stack {
    height: 150px;
    max-width: 100%;
  }

  .memory-card {
    width: 138px;
    height: 116px;
  }

  .clear-card {
    left: 108px;
  }

  .memory-note {
    left: 228px;
    top: 34px;
    width: min(170px, calc(100vw - 270px));
  }

  .mode-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-strip {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
    padding: 18px 14px;
  }

  .dropzone {
    grid-template-columns: 44px 1fr;
    min-height: 92px;
    padding: 12px;
    gap: 10px;
  }

  .drop-icon {
    width: 44px;
    height: 44px;
  }

  .ghost-button {
    grid-column: 1 / -1;
  }

  .compare-frame {
    height: 320px;
  }

  .action-row {
    grid-template-columns: 1fr;
  }

  .preview-toolbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    height: 56px;
    gap: 2px;
  }
}

@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }

  .mode {
    min-height: 40px;
    font-size: 12px;
  }

  .compare-frame {
    height: 280px;
  }

  .memory-stack {
    display: none;
  }
}
