:root {
  --bg: #070814;
  --bg-soft: #0d1021;
  --ink: #f7fbff;
  --muted: #d9dcea;
  --soft: #9aa4ba;
  --panel: #0e1220;
  --panel-strong: #17182a;
  --panel-soft: #080b18;
  --line: rgba(85, 216, 255, 0.24);
  --line-strong: rgba(255, 63, 104, 0.52);
  --champagne: #ffe38a;
  --gold: #ffc857;
  --emerald: #47f586;
  --ruby: #ff3f68;
  --cyan: #55d8ff;
  --sapphire: #3478ff;
  --violet: #b35cff;
  --diamond: #ecfbff;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(52, 120, 255, 0.2) 0%, transparent 32%),
    linear-gradient(225deg, rgba(255, 63, 104, 0.14) 0%, transparent 34%),
    linear-gradient(315deg, rgba(71, 245, 134, 0.1) 0%, transparent 42%),
    #070814;
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: radial-gradient(rgba(85, 216, 255, 0.18) 1px, transparent 1.5px);
  background-position: 0 0;
  background-size: 24px 24px;
  opacity: 0.62;
}

body::after {
  content: "";
  position: fixed;
  left: 62px;
  top: 120px;
  bottom: 36px;
  z-index: -2;
  width: 1px;
  background: linear-gradient(180deg, rgba(85, 216, 255, 0), rgba(85, 216, 255, 0.5), rgba(255, 63, 104, 0.42), rgba(71, 245, 134, 0.35));
  box-shadow:
    0 0 0 7px rgba(85, 216, 255, 0.04),
    0 120px 0 0 rgba(85, 216, 255, 0.22),
    0 240px 0 0 rgba(255, 63, 104, 0.2),
    0 360px 0 0 rgba(71, 245, 134, 0.18);
}

a {
  color: var(--diamond);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms ease, opacity 180ms ease;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 10000;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff;
  color: #050505;
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(85, 216, 255, 0.18);
  background: #070814;
}

.header-inner {
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 186px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(85, 216, 255, 0.22)) drop-shadow(0 0 14px rgba(255, 63, 104, 0.12));
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a:hover {
  color: var(--cyan);
  background: #10152a;
}

.header-actions {
  display: flex;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #10152a;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: var(--diamond);
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #101323;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 42%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.btn:hover::after {
  opacity: 1;
  animation: button-sheen 850ms ease forwards;
}

.btn-primary {
  color: #07110a;
  border-color: rgba(85, 216, 255, 0.68);
  background: linear-gradient(135deg, var(--emerald), var(--cyan) 48%, var(--gold));
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: #1b1228;
}

.btn-glow {
  box-shadow: 0 0 0 1px rgba(85, 216, 255, 0.18), 0 0 28px rgba(52, 120, 255, 0.24), 0 0 18px rgba(255, 63, 104, 0.12);
}

.breadcrumb {
  max-width: var(--max);
  margin: 14px auto 0;
  padding: 0 16px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--gold);
}

main {
  overflow: hidden;
  counter-reset: content-section;
}

.hero {
  position: relative;
  max-width: none;
  min-height: calc(100vh - 82px);
  margin: 0;
  display: grid;
  align-items: stretch;
  padding: 52px max(24px, calc((100vw - var(--max)) / 2 + 16px)) 64px;
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, #070814 0%, rgba(7, 8, 20, 0.97) 34%, rgba(7, 8, 20, 0.42) 72%, rgba(7, 8, 20, 0.78) 100%),
    linear-gradient(135deg, rgba(52, 120, 255, 0.18) 0%, transparent 38%),
    linear-gradient(245deg, rgba(255, 63, 104, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, rgba(7, 8, 20, 0.35), #070814 100%);
}

.hero-media {
  position: absolute;
  top: 96px;
  right: max(18px, calc((100vw - var(--max)) / 2 - 86px));
  bottom: 54px;
  z-index: -1;
  width: min(50vw, 690px);
  overflow: hidden;
  border: 1px solid rgba(85, 216, 255, 0.26);
  border-radius: 0;
  background: #090d1a;
  clip-path: polygon(13% 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 0 0 52px rgba(85, 216, 255, 0.16), 0 0 34px rgba(255, 63, 104, 0.1), 0 26px 80px rgba(0, 0, 0, 0.58);
  animation: art-float 7s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 20, 0.16), rgba(7, 8, 20, 0.4));
  pointer-events: none;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.2) contrast(1.08) brightness(0.98);
  transform: scale(1.18);
  transform-origin: center 82%;
  animation: hero-drift 16s ease-in-out infinite alternate;
}

.hero-image-home {
  transform: scale(1.05);
  transform-origin: center center;
  animation-name: home-hero-drift;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin: 0 auto auto 0;
  padding: 86px 0 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: hero-enter 650ms ease both;
}

.hero-copy > * {
  max-width: 590px;
}

.breadcrumb + main .hero {
  min-height: calc(100vh - 116px);
  padding-top: 42px;
}

.breadcrumb + main .hero .hero-media {
  top: 70px;
  bottom: 50px;
}

.breadcrumb + main .hero .hero-copy {
  margin: 0 auto auto 0;
  padding-top: 118px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border: 1px solid rgba(100, 255, 227, 0.36);
  border-radius: 0;
  color: var(--cyan);
  background: #0a1725;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.comparison-copy h1 {
  margin: 8px 0 16px;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 68px;
  line-height: 0.95;
  color: transparent;
  background: linear-gradient(92deg, var(--diamond) 0%, var(--cyan) 23%, var(--emerald) 46%, var(--ruby) 72%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(85, 216, 255, 0.34), 0 0 34px rgba(255, 63, 104, 0.16), 0 0 44px rgba(71, 245, 134, 0.12);
  text-wrap: balance;
}

.hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 20px;
  line-height: 1.55;
}

.freshness-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 10px 12px;
  border: 1px solid rgba(85, 216, 255, 0.24);
  border-radius: var(--radius);
  color: #fff;
  background: #0b1120;
}

.freshness-badge span {
  color: var(--muted);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 22px;
}

.quick-stats span {
  min-height: 80px;
  padding: 13px 15px;
  border: 1px solid rgba(85, 216, 255, 0.22);
  border-radius: 0;
  background: #0b1120;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow: inset 0 1px 0 rgba(85, 216, 255, 0.08);
}

.quick-stats b {
  display: block;
  margin-bottom: 4px;
  color: var(--champagne);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-actions,
.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.toc,
.content-band,
.update-history {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 72px max(24px, calc((100vw - var(--max)) / 2 + 16px));
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(120deg, rgba(52, 120, 255, 0.1) 0%, transparent 36%),
    linear-gradient(250deg, rgba(255, 63, 104, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, rgba(14, 18, 32, 0.94), rgba(7, 8, 20, 0.96));
  box-shadow: none;
}

.toc {
  padding-top: 36px;
  padding-bottom: 36px;
  background: #080b18;
}

.content-band {
  counter-increment: content-section;
}

.content-band::after {
  content: counter(content-section, decimal-leading-zero);
  position: absolute;
  top: 28px;
  right: max(24px, calc((100vw - var(--max)) / 2 + 16px));
  z-index: 0;
  color: transparent;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 104px;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(85, 216, 255, 0.2);
  pointer-events: none;
}

.toc h2 {
  margin-top: 0;
  color: var(--gold);
  font-size: 22px;
}

.toc ol {
  columns: 2;
  margin-bottom: 0;
}

.toc a {
  color: var(--muted);
  font-weight: 750;
}

.toc a:hover {
  color: var(--cyan);
}

.content-band h2 {
  margin-top: 0;
  color: transparent;
  background: linear-gradient(90deg, var(--diamond), var(--cyan) 38%, var(--ruby) 72%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 48px;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(85, 216, 255, 0.18), 0 0 22px rgba(255, 63, 104, 0.12);
  text-wrap: balance;
}

.content-band h3 {
  color: #fff;
  line-height: 1.2;
}

.content-band p,
.content-band li,
td {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090d1a;
  overflow: hidden;
}

th,
td {
  padding: 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #07110a;
  background: linear-gradient(90deg, var(--cyan), var(--diamond) 48%, var(--gold));
}

.feature-grid,
.gallery-grid,
.step-grid,
.testimonials-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.testimonial,
.step-grid article,
.contact-grid article,
.feature-grid > article,
.pros-cons > div {
  position: relative;
  padding: 17px;
  border: 1px solid rgba(85, 216, 255, 0.2);
  border-radius: 0;
  background: #0e1220;
  box-shadow: inset 0 1px 0 rgba(85, 216, 255, 0.08);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.feature-card::before,
.testimonial::before,
.step-grid article::before,
.contact-grid article::before,
.feature-grid > article::before,
.pros-cons > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(180deg, var(--cyan), var(--ruby), var(--gold), var(--emerald));
  opacity: 0.8;
}

.feature-card:hover,
.testimonial:hover,
.step-grid article:hover,
.contact-grid article:hover,
.feature-grid > article:hover,
.pros-cons > div:hover,
.comparison-card:hover,
.gallery-grid figure:hover {
  transform: translateY(-4px);
  border-color: rgba(85, 216, 255, 0.52);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), 0 0 26px rgba(85, 216, 255, 0.13), 0 0 18px rgba(255, 63, 104, 0.1);
}

.step-grid article span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  color: #07110a;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  font-weight: 900;
}

.caution,
.disclosure-box,
.age-note {
  padding: 13px 14px;
  border: 1px solid rgba(190, 105, 255, 0.32);
  border-left: 4px solid var(--violet);
  border-radius: 0;
  color: var(--muted);
  background: #111222;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(85, 216, 255, 0.18);
  border-radius: 0;
  background: #090d1a;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.gallery-grid img,
.comparison-card-thumb,
.comparison-image {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 300ms ease;
}

.gallery-grid img {
  aspect-ratio: 800 / 600;
}

.gallery-grid figure:hover img,
.comparison-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.1);
}

.gallery-grid figcaption,
.comparison-visuals figcaption,
.comparison-wide figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 750;
}

.calculator-container,
.promo-panel {
  display: grid;
  gap: 12px;
}

.calculator-container input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #090d1a;
  font: inherit;
}

.calculator-container input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 221, 240, 0.16);
  outline: none;
}

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

.calculator-result p {
  min-height: 72px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #101323;
}

.author-box {
  display: flex;
  gap: 16px;
  align-items: center;
}

.author-box img {
  width: 96px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rich-list li {
  margin: 10px 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(85, 216, 255, 0.18);
  border-radius: 0;
  color: var(--ink);
  background: #0e1220;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.faq-question:hover {
  border-color: var(--line-strong);
  background: #17182a;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  color: #07110a;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  transition: transform 180ms ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  background: #090d1a;
  transition: max-height 260ms ease, padding 260ms ease;
}

.faq-item.active .faq-question {
  border-radius: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 560px;
  padding: 14px;
}

.update-history summary {
  cursor: pointer;
  color: var(--champagne);
  font-weight: 850;
}

.site-footer {
  margin-top: 42px;
  padding: 34px 16px 96px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0e1220, #070814);
}

.footer-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 22px;
}

.footer-logo {
  width: 190px;
}

.site-footer nav a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
}

.site-footer nav a:hover {
  color: var(--champagne);
}

.trust-badges {
  max-width: var(--max);
  margin: 24px auto;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.trust-badges img {
  width: auto;
  max-height: 54px;
  padding: 3px;
  border-radius: 4px;
  background: #fff;
}

.footer-disclaimer {
  max-width: var(--max);
  margin: auto;
  color: var(--muted);
  font-size: 14px;
}

.mobile-sticky-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #090d1a;
  box-shadow: var(--shadow);
}

.mobile-sticky-cta.visible {
  display: flex;
  animation: sticky-rise 220ms ease both;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 16px;
  z-index: 10000;
  width: min(980px, calc(100% - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(85, 216, 255, 0.24);
  border-radius: var(--radius);
  background: #070814;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.58), 0 0 28px rgba(85, 216, 255, 0.12), 0 0 18px rgba(255, 63, 104, 0.1);
  transform: translateX(-50%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-content {
  max-width: var(--max);
  margin: auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.error-page {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  color: var(--champagne);
  font-size: 100px;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.overview,
.gallery,
.testimonials,
.verdict,
.calculator-section,
.faq-section,
.comparison-status,
.external-source {
  scroll-margin-top: 88px;
}

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

.comparison-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comparison-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #0e1220;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.comparison-card a:first-child {
  display: block;
  overflow: hidden;
}

.comparison-card-thumb {
  aspect-ratio: 4 / 3;
}

.comparison-image {
  aspect-ratio: 16 / 9;
}

.comparison-card-body {
  padding: 16px;
}

.comparison-hero {
  width: min(calc(100% - 32px), var(--max));
  margin: 24px auto 30px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
}

.comparison-copy,
.comparison-visuals {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.comparison-copy {
  padding: 26px;
}

.comparison-visuals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
}

.comparison-visuals figure,
.comparison-wide {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #090d1a;
}

.external-project-link {
  min-width: 240px;
}

.js-ready .reveal-target {
  opacity: 0;
  transform: translateY(18px);
}

.js-ready .reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.18) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.25) translate3d(-1.2%, 0.8%, 0);
  }
}

@keyframes home-hero-drift {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-0.8%, 0.6%, 0);
  }
}

@keyframes art-float {
  from {
    transform: translate3d(0, 0, 0) rotate(-0.4deg);
  }
  to {
    transform: translate3d(0, -16px, 0) rotate(0.4deg);
  }
}

@keyframes button-sheen {
  to {
    left: 115%;
  }
}

@keyframes sticky-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  .hero h1,
  .comparison-copy h1 {
    font-size: 64px;
  }

  .hero-media {
    width: min(56vw, 650px);
  }
}

@media (max-width: 1080px) {
  .quick-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body::after {
    left: 10px;
    top: 108px;
    bottom: 0;
  }

  .site-header {
    position: sticky;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 0 18px 42px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 8, 20, 0.2), #070814 74%),
      linear-gradient(90deg, rgba(7, 8, 20, 0.9), rgba(7, 8, 20, 0.55));
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: min(100%, 640px);
    height: 330px;
    margin: 28px auto 8px;
    clip-path: none;
    border-color: rgba(85, 216, 255, 0.18);
    animation: art-float 6s ease-in-out infinite alternate;
  }

  .breadcrumb + main .hero {
    min-height: auto;
    padding: 0 18px 42px;
  }

  .breadcrumb + main .hero .hero-media {
    top: auto;
    bottom: auto;
  }

  .breadcrumb + main .hero .hero-copy {
    margin: 0;
    padding-top: 22px;
  }

  .hero-copy {
    width: 100%;
    margin: 0;
    padding: 22px 0 0;
    text-align: center;
  }

  .hero-copy > * {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1,
  .comparison-copy h1 {
    font-size: 46px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 18px;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #090d1a;
    box-shadow: var(--shadow);
  }

  .site-nav.nav--open {
    display: flex;
    animation: sticky-rise 180ms ease both;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-logo {
    width: 128px;
  }

  .feature-grid,
  .gallery-grid,
  .step-grid,
  .testimonials-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .toc ol {
    columns: 1;
  }

  .comparison-hero {
    grid-template-columns: 1fr;
  }

  .comparison-grid,
  .comparison-grid.compact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-actions .btn {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-media {
    height: 260px;
    margin-top: 18px;
  }

  .hero-media-home {
    height: min(380px, calc(100vw - 28px));
  }

  .freshness-badge {
    justify-content: center;
  }

  .hero-actions,
  .error-actions {
    justify-content: center;
  }

  .hero h1,
  .comparison-copy h1 {
    font-size: 39px;
  }

  .content-band h2 {
    font-size: 34px;
  }

  .content-band,
  .toc,
  .comparison-copy {
    padding: 44px 18px;
  }

  .toc {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .feature-grid,
  .gallery-grid,
  .step-grid,
  .testimonials-grid,
  .contact-grid,
  .pros-cons,
  .calculator-result,
  .footer-grid,
  .comparison-grid,
  .comparison-grid.compact {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    transform: none;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .mobile-sticky-cta {
    font-size: 13px;
  }

  .quick-stats {
    grid-template-columns: 1fr 1fr;
  }

  .author-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .external-project-link {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .hero h1,
  .comparison-copy h1 {
    font-size: 34px;
  }

  .hero-media {
    height: 230px;
  }

  .hero-media-home {
    height: min(360px, calc(100vw - 26px));
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }
}
