/* hearye — layout matched to the sample pages.
   Swap the tokens below when the palette changes. */

:root {
  --blue: #1abbff;
  --ink: #111111;
  --paper: #f5f5f5;
  --white: #ffffff;
  --card: #f3f3f3;
  --head: "Work Sans", sans-serif;
  --body: "Lato", sans-serif;
  --wrap: 1120px;
  --brick: url("assets/brick.svg?v=3");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 700; }

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

h1, h2, h3, .stat, .btn, .brand, .faq summary {
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}

/* ---------- header (sits on the hero) ---------- */

.hero { position: relative; }

.top {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 16px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 8px;
  color: var(--white);
}

.top nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  padding-top: 4px;
  white-space: nowrap;
}
.top nav a {
  font-size: 16px;
  text-decoration: none;
  line-height: 1.3;
}
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }

.brand {
  justify-self: center;
  color: var(--white);
  text-decoration: none;
  font-size: 28px;
  letter-spacing: 0.12em;
  line-height: 0.9;
  text-align: center;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.42em;
  margin-top: 4px;
}

.menu-toggle {
  display: none;
  justify-self: end;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

/* ---------- bands ---------- */

.band--orange {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--blue);
  color: var(--white);
}
.band--orange::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background-image: var(--brick);
  background-size: 720px auto;
  transform: rotate(-8deg);
  pointer-events: none;
}
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }

.band { padding: 88px 0; }
.band--orange.hero { padding: 0 0 72px; }

.center { text-align: center; }

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 auto 18px;
  max-width: 920px;
}
.lede {
  font-size: 20px;
  max-width: 760px;
  margin: 0 auto 36px;
}
.band--orange .lede { color: var(--white); }

/* ---------- hero ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0 8px;
}
.hero-grid:not(:has(img, .hero-proof)) { grid-template-columns: 1fr; max-width: 860px; }
.hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  margin-bottom: 22px;
}
.hero .copy { font-size: 18px; max-width: 540px; margin-bottom: 28px; }
.hero-art { width: 100%; height: auto; }

.hero-proof {
  background: var(--white);
  color: var(--ink);
  border-radius: 28px;
  padding: 28px 28px 12px;
}
.hero-proof-kicker {
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  margin-bottom: 8px;
}
.hero-proof ul { list-style: none; }
.hero-proof ul:not(.checklist) {
  display: grid;
  grid-template-columns: max-content 1fr;
}
.hero-proof .checklist { margin: 0; padding-bottom: 8px; }
.hero-proof .checklist li {
  font-size: 16px;
  line-height: 1.35;
  padding: 13px 0 13px 36px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: none;
}
.hero-proof .checklist li::before { left: 6px; top: 14px; }
.hero-proof .checklist li { display: block; }
.hero-proof .checklist strong {
  font-family: var(--body);
  font-weight: 700;
  font-size: inherit;
  letter-spacing: 0;
  line-height: inherit;
}
.hero-proof li {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  column-gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}
.hero-proof strong {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(28px, 2.4vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.hero-proof span {
  font-size: 16px;
  line-height: 1.25;
}

.mark {
  background: #111;
  color: var(--white);
  padding: 0 0.12em 0.02em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue);
  text-decoration: none;
  border-radius: 999px;
  padding: 20px 36px;
  font-size: 17px;
  border: none;
  cursor: pointer;
}
.band--paper .btn,
.band--white .btn,
.btn--fill {
  background: var(--blue);
  color: var(--white);
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  text-align: center;
}
.stats--4 { grid-template-columns: repeat(4, 1fr); }
.stats li {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--ink);
  border-radius: 28px;
  padding: 26px 16px;
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.15;
}

.pills-band {
  background: var(--paper);
  padding: 4px 0 42px;
}
.pills {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pills--4 { grid-template-columns: repeat(4, 1fr); }
.pills li {
  background: var(--blue);
  color: var(--white);
  border-radius: 22px;
  text-align: center;
  padding: 22px 14px;
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.15;
}

/* ---------- logo marquee ---------- */

.marquee {
  background: var(--paper);
  overflow: hidden;
  padding: 36px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 40s linear infinite;
  align-items: center;
  will-change: transform;
  backface-visibility: hidden;
}
/* spacing lives on each logo (not flex gap) so both halves are identical and the -50% loop is seamless */
.marquee img { height: 52px; width: auto; flex-shrink: 0; margin-right: 64px; }
.marquee img.wordmark { height: 32px; }
.marquee img.logo-lg { height: 64px; margin-block: -6px; }
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.chips li {
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: -0.01em;
}

/* ---------- cards ---------- */

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

.card {
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  padding: 28px 26px 32px;
}
.band--white .card { background: var(--card); }
.checklist {
  list-style: none;
  max-width: 760px;
  margin: 8px auto 0;
}
.checklist li {
  position: relative;
  padding: 18px 0 18px 48px;
  font-size: 19px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 20px;
  width: 9px;
  height: 17px;
  border: solid var(--blue);
  border-width: 0 4px 4px 0;
  border-radius: 1px;
  transform: rotate(45deg);
}
.card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.card p + p { margin-top: 14px; }
.card em { font-style: italic; display: block; margin-bottom: 12px; }
.num { color: var(--blue); }

.engine-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 26px 0;
}
.engine-stages h4 {
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 18px;
  margin-bottom: 10px;
}

.card ul { margin: 12px 0 12px 1.1em; }
.card li + li { margin-top: 6px; }

.card-photo {
  margin: 0;
  position: relative;
}
.card-photo img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 56% top;
}
.card-photo-name {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 22px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 16px;
}

.note {
  margin-top: 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  padding: 26px 28px;
  font-size: 18px;
}

.panel {
  background: var(--card);
  color: var(--ink);
  border-radius: 28px;
  padding: 48px 44px;
  max-width: 820px;
  margin: 0 auto;
}
.panel h2 { text-align: left; margin-bottom: 22px; }
.panel h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 26px 0 12px;
}
.panel p + p { margin-top: 14px; }

.panel .lede { margin: 0; }
.shift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.shift-col {
  background: var(--white);
  border-radius: 22px;
  padding: 26px 24px 28px;
}
.shift-col--now { background: var(--blue); color: var(--white); }
.panel .shift-col h3 { font-size: 22px; margin: 8px 0 12px; }
.shift-label {
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.shift-col--now .shift-label { opacity: 0.85; }

.split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border-radius: 28px;
  padding: 36px 40px;
  margin-top: 22px;
}
.split h3 { font-size: clamp(26px, 3vw, 36px); }

.card:has(> .btn) {
  display: flex;
  flex-direction: column;
}
.card > .btn {
  align-self: flex-start;
  margin-top: auto;
}
.card:has(> .btn) > p:last-of-type { margin-bottom: 22px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 200px));
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.gallery img,
.gallery video,
.gallery-video {
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 16px;
  background: var(--card);
}
.gallery img,
.gallery video {
  object-fit: cover;
  display: block;
}
.gallery-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1.5px dashed rgba(17, 17, 17, 0.28);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery-video::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent currentColor;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.quote {
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 22px;
}
.band--white .quote { background: var(--card); }
.quote span { display: block; margin-top: 10px; color: var(--blue); font-weight: 700; }

.price {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0 8px;
  color: var(--blue);
}
.price small { font-size: 0.42em; }

.price-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  text-align: left;
}
.keep {
  background: #ececec;
  border-radius: 28px;
  padding: 36px 32px;
}
.keep h3 {
  color: var(--blue);
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 16px;
}
.bullets {
  margin: 14px 0 0 1.15em;
}
.bullets li { margin: 10px 0; }
.bullets li::marker { color: var(--ink); }

.offer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.offer .card:nth-child(9),
.offer .card:nth-child(10) { grid-column: span 2; }
.offer .card { background: var(--white); }
.offer .card h3 {
  color: var(--blue);
  font-size: 18px;
}
.offer .card p { font-size: 16px; }

.callout {
  max-width: 680px;
  margin: 18px auto 0;
  text-align: center;
  background: var(--white);
}

.result {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.result .brand-logo {
  height: 64px;
  width: auto;
  max-width: 78%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}
.result .brand-link {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.result .brand-link .brand-logo { max-width: none; margin-bottom: 0; }
.result .brand-name { height: 15px; width: auto; }
.result-tag {
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--white);
  color: rgba(17, 17, 17, 0.55);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.result .proof-shot {
  width: 100%;
  height: auto;
  margin-top: auto;
  border-radius: 12px;
}

.compare-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border-radius: 22px;
  background: var(--white);
}
.band--white .compare-wrap { background: var(--card); }
.compare {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: left;
  font-size: 16px;
  line-height: 1.35;
}
.compare th,
.compare td {
  padding: 16px 18px;
  vertical-align: top;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}
.compare thead th {
  border-top: none;
  padding-top: 24px;
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 18px;
  line-height: 1.1;
}
.compare thead a { color: var(--blue); }
.compare thead small {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.compare th:first-child { width: 19%; }
.compare tbody th { font-weight: 700; }
.compare tbody th small { display: block; font-weight: 400; font-size: 14px; opacity: 0.7; }
.compare col.is-current { background: rgba(26, 187, 255, 0.1); }

.prose {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.prose p + p { margin-top: 16px; }
.subhead {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 48px auto 22px;
}

.list {
  list-style: none;
  max-width: 760px;
  margin: 28px auto 0;
  display: grid;
  gap: 12px;
}
.list li {
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 18px 16px 48px;
  position: relative;
}
.band--white .list li { background: var(--card); }
.list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--blue);
  font-weight: 800;
}

.faq { max-width: 820px; margin: 10px auto 0; }
.faq details { border-bottom: 1px solid rgba(0,0,0,.12); }
.band--orange .faq details { border-bottom-color: rgba(255,255,255,.35); }
.faq summary {
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-size: 16px;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 26px;
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 0 18px; font-size: 17px; }
.faq .faq-body p + p { margin-top: 10px; }
.faq a { color: var(--blue); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid, .cards--3, .cards--2, .cards--4, .engine-stages, .shift, .quotes, .split, .price-split {
    grid-template-columns: 1fr;
  }
  .offer { grid-template-columns: 1fr; }
  .offer .card:nth-child(9),
  .offer .card:nth-child(10) { grid-column: auto; }
  .pills, .pills--4 { grid-template-columns: 1fr; }
  .stats--4 { grid-template-columns: 1fr 1fr; }
  .card-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .card-photo img { object-position: 56% top; }
  .card-photo-name {
    right: 12px;
    bottom: 14px;
    font-size: 18px;
    padding: 12px 16px;
  }
  .gallery {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .panel { padding: 28px 20px; }
  .top { grid-template-columns: 1fr auto; }
  .brand { justify-self: end; font-size: 22px; }
  .menu-toggle { display: block; grid-column: 2; grid-row: 1; }
  .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .top nav {
    display: none;
    grid-column: 1 / -1;
    max-width: none;
    flex-direction: column;
    background: rgba(0,0,0,.18);
    border-radius: 16px;
    padding: 14px 16px;
  }
  .top nav.open { display: flex; }
}
