:root {
  color-scheme: light;
  --ink: #121722;
  --night: #080d14;
  --muted: #647080;
  --line: #dbe3ea;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --teal: #00a7a5;
  --teal-2: #d7fbf8;
  --gold: #d98b3a;
  --rose: #c95a66;
  --violet: #6c5ce7;
  --shadow: 0 20px 70px rgba(13, 24, 39, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: var(--teal); text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 13, 20, 0.84);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 167, 165, 0.28), rgba(217, 139, 58, 0.28));
  color: #fff;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.nav-links a:hover { color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), #2c7be5);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 167, 165, 0.25);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.section .button.secondary,
.page-hero + .section .button.secondary {
  border-color: rgba(18, 23, 34, 0.18);
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 12% 22%, rgba(0, 167, 165, 0.34), transparent 34%),
    linear-gradient(90deg, rgba(8, 13, 20, 0.98) 0%, rgba(8, 13, 20, 0.88) 42%, rgba(8, 13, 20, 0.08) 78%),
    url("/assets/photo-scanning-hero-premium.png") center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, #fff);
  pointer-events: none;
}

.hero-inner, .section-inner {
  position: relative;
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 650px;
  padding: 90px 0 122px;
  color: #fff;
}

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

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 72px);
  text-wrap: balance;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  text-wrap: balance;
}

h3 { margin: 0 0 10px; font-size: 21px; }

.lead {
  max-width: 700px;
  color: #334052;
  font-size: 20px;
}

.hero .lead,
.page-hero .lead,
.visual-band .lead,
.visual-band p { color: rgba(255, 255, 255, 0.78); }

.hero-actions, .inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-strip {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 44px));
  margin: -70px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-item {
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f7fbfd);
  border-right: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  font-size: 24px;
}

.section { padding: 88px 0; }
.section.soft { background: var(--soft); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(13, 24, 39, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 167, 165, 0.34);
  box-shadow: var(--shadow);
}

.provider-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.provider-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--rose));
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #101926;
  color: #fff;
  font-weight: 900;
}

.score {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--teal-2);
  color: #08706f;
  font-size: 13px;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: #354255;
  font-size: 13px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #eef6f5;
  font-size: 13px;
  text-transform: uppercase;
}

.callout {
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff8ee;
  padding: 18px 20px;
}

.verdict {
  border-color: rgba(23, 111, 117, 0.35);
  background: #f3fbfa;
}

.callout .button.secondary {
  border-color: rgba(18, 23, 34, 0.18);
  background: #fff;
  color: var(--ink);
}

.page-hero {
  padding: 92px 0 66px;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 167, 165, 0.28), transparent 34%),
    linear-gradient(135deg, #0a1018, #17202d 60%, #26313f);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.media-hero {
  position: relative;
  overflow: hidden;
}

.media-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 24, 0.96), rgba(10, 16, 24, 0.68) 52%, rgba(10, 16, 24, 0.22)),
    var(--hero-art) center / cover no-repeat;
  z-index: 0;
}

.media-hero .section-inner { z-index: 1; }

.slides-hero { --hero-art: url("/assets/photo-scanning-hero.png"); }
.negatives-hero { --hero-art: url("/assets/photo-scanning-hero-premium.png"); }

.content { max-width: 850px; }
.content p, .content li { color: #334052; }

.visual-band {
  position: relative;
  overflow: hidden;
  background: #0b111a;
  color: #fff;
}

.visual-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(0, 167, 165, 0.16), transparent 42%),
    radial-gradient(circle at 85% 25%, rgba(217, 139, 58, 0.22), transparent 30%);
}

.scan-studio {
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    url("/assets/photo-scanning-hero.png") center / cover no-repeat;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  position: relative;
}

.scan-studio::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 42%;
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 240, 0.9), transparent);
  box-shadow: 0 0 28px rgba(0, 255, 240, 0.86);
  transform: rotate(-7deg);
}

.matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.matrix-card {
  min-height: 154px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.matrix-card strong {
  display: block;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.feature-image {
  min-height: 320px;
  border-radius: 14px;
  background: url("/assets/photo-scanning-hero.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.slides-image {
  background:
    linear-gradient(120deg, rgba(0, 167, 165, 0.16), rgba(217, 139, 58, 0.08)),
    url("/assets/photo-scanning-hero.png") center / cover no-repeat;
}

.negatives-image {
  background:
    linear-gradient(120deg, rgba(201, 90, 102, 0.18), rgba(0, 167, 165, 0.1)),
    url("/assets/photo-scanning-hero-premium.png") center / cover no-repeat;
}

.faq h3 { margin-top: 28px; }

.cool-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.cool-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(13, 24, 39, 0.05);
}

.footer {
  padding: 38px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.mini-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .hero { min-height: 720px; background-position: 62% center; }
  .hero-copy { padding-top: 64px; }
  .trust-strip, .grid, .two-col, .matrix, .media-split { grid-template-columns: 1fr; }
  .trust-strip { margin-top: -36px; }
  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td { display: block; width: 100%; }
  .comparison-table { border: 0; background: transparent; box-shadow: none; }
  .comparison-table thead { display: none; }
  .comparison-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(13, 24, 39, 0.05);
    overflow: hidden;
  }
  .comparison-table td {
    padding: 8px 12px;
    border-bottom: 0;
  }
  .comparison-table td:first-child {
    padding-top: 12px;
    color: var(--ink);
    font-weight: 800;
  }
  .comparison-table td:last-child { padding-bottom: 12px; }
  .footer-inner { flex-direction: column; }
}
