:root {
  --bg: #e7cfc4;
  --ink: #252424;
  --muted: #3a3736;
  --panel: #29262a;
  --white: #fff;
  --red: #fb1117;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select {
  font: inherit;
}

.page {
  min-height: 100vh;
  background: var(--bg);
}

.hero {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  background: var(--bg);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 26% 50%;
  transform: scaleX(-1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(231, 207, 196, 0.98) 0%, rgba(231, 207, 196, 0.88) 27%, rgba(231, 207, 196, 0.16) 55%, rgba(231, 207, 196, 0) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  align-items: center;
  gap: clamp(24px, 5vw, 88px);
  width: min(1420px, calc(100% - 48px));
  min-height: 74vh;
  margin: 0 auto;
  padding: 54px 0 46px;
}

.lead-form {
  grid-column: 2;
  width: 100%;
  max-width: 430px;
  justify-self: end;
}

.brand {
  display: block;
  margin: 0 0 34px auto;
  color: var(--ink);
  text-decoration: none;
}

.brand__top {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

.brand__mark {
  width: 82px;
  height: 82px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text {
  display: grid;
  gap: 3px;
  letter-spacing: 11px;
  line-height: 0.94;
  text-align: left;
}

.brand__text strong,
.brand__text span {
  display: block;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 700;
}

.brand__text span {
  font-weight: 300;
}

.brand__subtitle {
  display: block;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  text-align: right;
}

.field {
  position: relative;
  display: block;
  margin: 0 0 18px;
}

.field span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.field input,
.field select {
  width: 100%;
  height: 54px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(231, 207, 196, 0.36);
  outline: none;
  padding: 0 26px;
  appearance: none;
}

.field input::placeholder {
  color: var(--ink);
  opacity: 1;
}

.field input:focus,
.field select:focus {
  box-shadow: 0 0 0 3px rgba(251, 17, 23, 0.18);
}

.field--select::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.field select {
  color: var(--ink);
  padding-left: 28px;
  padding-right: 56px;
}

.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  max-width: 405px;
  margin: 22px 0 32px;
  font-size: 15px;
  line-height: 1.25;
}

.consent input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.consent a {
  color: var(--ink);
  font-weight: 700;
}

.button {
  width: min(100%, 430px);
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  background: #111;
  transform: translateY(-1px);
}

.headline {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  max-width: 680px;
  margin: 80px 0 0;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.form-status:empty {
  display: none;
}

.headline span {
  display: block;
  font-size: clamp(48px, 5.8vw, 104px);
  font-weight: 300;
  line-height: 0.9;
}

.headline strong {
  display: block;
  color: transparent;
  -webkit-text-stroke: 3px var(--white);
  text-stroke: 3px var(--white);
  font-size: clamp(62px, 7vw, 132px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 34px min(5vw, 96px) 38px;
  color: var(--white);
  background: var(--panel);
}

.feature {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-width: 0;
  text-align: center;
}

.feature__icon {
  display: block;
  width: 122px;
  height: 106px;
  object-fit: contain;
}

.feature p {
  margin: 0;
  font-size: clamp(18px, 1.45vw, 28px);
  font-weight: 300;
  line-height: 1.2;
}

.results {
  overflow: hidden;
  padding: clamp(72px, 8vw, 124px) 0 clamp(68px, 7vw, 108px);
  background:
    radial-gradient(circle at 88% 5%, rgba(251, 17, 23, 0.06), transparent 28%),
    #f8f2ef;
}

.results__inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.results__header {
  margin-bottom: clamp(38px, 5vw, 70px);
}

.results__eyebrow,
.results__kicker {
  margin: 0 0 13px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.results__header h2 {
  margin: 0;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.results__intro {
  max-width: 430px;
  margin: 0 0 6px;
  color: #5f5957;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
}

.results__spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.78fr);
  min-height: 440px;
  border-radius: 30px;
  overflow: hidden;
  color: var(--white);
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(46, 31, 27, 0.16);
}

.comparison {
  --position: 50%;
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #c9ccca;
  user-select: none;
  touch-action: pan-y;
}

.gallery-panel {
  position: relative;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
  background: #e8ded9;
}

.gallery-panel[hidden] {
  display: none;
}

.comparison__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison__after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--position));
}

.comparison__label {
  position: absolute;
  z-index: 2;
  top: 24px;
  padding: 9px 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison__label--before {
  left: 24px;
}

.comparison__label--after {
  right: 24px;
}

.comparison__line {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-1px);
  pointer-events: none;
}

.comparison__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 58px;
  height: 58px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
}

.comparison__chevron {
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

.comparison__chevron--left {
  transform: rotate(-135deg);
}

.comparison__chevron--right {
  transform: rotate(45deg);
}

.comparison__range {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: col-resize;
}

.comparison:focus-within .comparison__handle {
  outline: 4px solid rgba(251, 17, 23, 0.26);
  outline-offset: 4px;
}

.results__spotlight-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(34px, 4vw, 62px);
}

.results__number {
  position: absolute;
  top: 36px;
  right: 38px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 74px;
  font-weight: 700;
  line-height: 1;
}

.results__spotlight-copy h3 {
  max-width: 100%;
  margin: 0 0 18px;
  font-size: clamp(30px, 2.45vw, 38px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
}

.results__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.results__cta span {
  color: var(--red);
  font-size: 26px;
  transition: transform 180ms ease;
}

.results__cta:hover span {
  transform: translateX(5px);
}

.results__thumbs {
  display: grid;
  grid-auto-columns: minmax(190px, 24%);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  margin-top: clamp(38px, 5vw, 64px);
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--ink) rgba(37, 36, 36, 0.1);
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.results__thumbs::-webkit-scrollbar {
  height: 6px;
}

.results__thumbs::-webkit-scrollbar-track {
  background: rgba(37, 36, 36, 0.1);
}

.results__thumbs::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: var(--ink);
}

.result-thumb {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e6dad4;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.result-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.result-thumb:hover {
  transform: translateY(-2px);
}

.result-thumb:hover img {
  transform: scale(1.025);
}

.result-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 180ms ease;
}

.result-thumb.is-active {
  box-shadow: 0 10px 28px rgba(46, 31, 27, 0.18);
}

.result-thumb.is-active::after {
  border-color: var(--red);
}

.result-thumb:focus-visible {
  outline: 3px solid rgba(251, 17, 23, 0.32);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.results__note {
  margin: 20px 0 0;
  color: #817976;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero__image {
    object-position: 38% 42%;
    opacity: 0.82;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(231, 207, 196, 0.99) 0%, rgba(231, 207, 196, 0.86) 52%, rgba(231, 207, 196, 0.32) 100%);
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(540px, calc(100% - 32px));
    padding-top: 34px;
  }

  .lead-form {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .headline {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    max-width: 420px;
    margin: 10px 0 0;
    text-align: left;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 24px;
  }

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

  .comparison {
    min-height: min(62vw, 560px);
  }

  .results__spotlight-copy {
    min-height: 240px;
  }

  .results__thumbs {
    grid-auto-columns: minmax(190px, 34%);
  }
}

@media (max-width: 560px) {
  .brand {
    margin-bottom: 28px;
  }

  .brand__top {
    justify-content: flex-start;
  }

  .brand__mark {
    width: 64px;
    height: 64px;
  }

  .brand__text {
    letter-spacing: 7px;
  }

  .brand__text strong,
  .brand__text span {
    font-size: 30px;
  }

  .brand__subtitle {
    text-align: left;
    font-size: 16px;
  }

  .button {
    font-size: 20px;
  }

  .headline strong {
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
  }

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

  .results {
    padding-block: 66px;
  }

  .results__inner {
    width: min(100% - 28px, 1320px);
  }

  .results__header h2 {
    font-size: clamp(42px, 13.5vw, 56px);
    line-height: 0.94;
    letter-spacing: -0.065em;
    white-space: nowrap;
  }

  .results__intro {
    font-size: 17px;
  }

  .results__spotlight {
    border-radius: 22px;
  }

  .comparison {
    min-height: 310px;
  }

  .comparison__image {
    object-fit: cover;
  }

  .gallery-panel {
    min-height: 310px;
  }

  .comparison__label {
    top: 16px;
  }

  .comparison__label--before {
    left: 16px;
  }

  .comparison__label--after {
    right: 16px;
  }

  .comparison__handle {
    width: 50px;
    height: 50px;
  }

  .results__spotlight-copy {
    min-height: 220px;
    padding: 30px 26px;
  }

  .results__number {
    top: 25px;
    right: 25px;
    font-size: 58px;
  }

  .results__thumbs {
    grid-auto-columns: 42%;
    gap: 10px;
  }

  .result-thumb {
    border-radius: 12px;
  }
}

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