:root {
  --paper: #f1f0cc;
  --ink: #050000;
  --muted: #68645d;
  --white: #ffffff;
  --red: #fe6a69;
  --blue: #628fff;
  --yellow: #f0ff82;
  --soft: rgba(5, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(254, 106, 105, 0.18), transparent 31rem),
    radial-gradient(circle at bottom right, rgba(98, 144, 255, 0.18), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: "Inter", "Inter Variable", system-ui, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.hero,
.statement,
.split,
.proof,
.science,
.screenshots,
.final-cta,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 24px 0;
}

.brand,
.footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img,
.footer img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.hero {
  min-height: 670px;
  padding: 72px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 56px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-size: 112px;
  line-height: 1.02;
}

.hero-line {
  width: min(590px, 100%);
  margin-top: 24px;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 26px;
  line-height: 1.22;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 24px;
  font-weight: 700;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-xl {
  min-height: 70px;
  margin-top: 34px;
  padding: 0 34px;
  font-size: 18px;
}

.release-note,
.short-note,
.statement-copy,
.split p,
.structure-note,
.proof p,
.proof li,
.science p,
.science li,
.carousel-header p,
.final-cta p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.release-note {
  margin-top: 18px;
}

.short-note {
  max-width: 560px;
  margin-top: 24px;
  color: var(--ink);
}

.device-showcase {
  position: relative;
  min-height: 520px;
}

.device,
.screenshots figure {
  margin: 0;
}

.device {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(5, 0, 0, 0.13);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.phone {
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 235px;
  aspect-ratio: 1206 / 2622;
}

.tablet {
  top: 0;
  right: 0;
  width: min(390px, 78%);
  aspect-ratio: 2064 / 2752;
}

.statement {
  padding: 70px 0 76px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.statement h2 {
  max-width: 980px;
  font-size: 58px;
  line-height: 1.08;
}

.statement-copy {
  max-width: 760px;
  margin-top: 22px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.42;
}

.split,
.proof,
.science {
  padding: 68px 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 0.9fr);
  gap: 56px;
  border-bottom: 1px solid var(--ink);
}

.split h2,
.proof h2,
.science h2,
.final-cta h2 {
  font-size: 52px;
  line-height: 1.1;
}

.split p,
.proof p,
.science p {
  margin-top: 18px;
}

.steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
}

.steps article:last-child {
  border-bottom: 1px solid var(--ink);
}

.steps span {
  color: var(--blue);
  font-weight: 700;
}

.steps h3 {
  font-size: 22px;
  line-height: 1.12;
}

.steps p {
  grid-column: 2;
  margin-top: -4px;
}

.structure-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
}

.proof ul,
.science ul {
  margin: 0;
  padding: 0;
}

.proof ul {
  list-style: none;
  border-top: 1px solid var(--ink);
}

.proof li {
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
}

.science ul {
  margin-top: 22px;
  padding-left: 22px;
}

.science li + li {
  margin-top: 10px;
}

.screenshots {
  padding: 76px 0;
}

.carousel-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 30px;
}

.carousel-header h2 {
  font-size: 52px;
  line-height: 1.1;
}

.carousel-header p {
  max-width: 560px;
}

.carousel-track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 1px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 18px;
}

.carousel-track:focus {
  outline: 2px solid var(--blue);
  outline-offset: 8px;
}

.carousel-track::-webkit-scrollbar {
  height: 10px;
}

.carousel-track::-webkit-scrollbar-track {
  background: rgba(5, 0, 0, 0.08);
  border-radius: 999px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(5, 0, 0, 0.38);
  border-radius: 999px;
}

.screenshot-card {
  flex: 0 0 clamp(240px, 24vw, 315px);
  display: grid;
  gap: 14px;
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  border: 0;
  border-radius: 30px;
  background: transparent;
}

.screenshot-card figcaption {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.38;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.carousel-dots a {
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
}

.carousel-dots a:hover,
.carousel-dots a:focus {
  background: var(--ink);
}

.final-cta {
  padding: 72px 0 78px;
  border-top: 1px solid var(--ink);
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  max-width: 560px;
  margin-top: 18px;
}

.final-cta .button-xl {
  width: min(100%, 520px);
}

.footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--ink);
}

@media (max-width: 920px) {
  .hero,
  .split,
  .proof,
  .science,
  .carousel-header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    gap: 38px;
  }

  h1 {
    font-size: 80px;
  }

  .statement h2,
  .split h2,
  .proof h2,
  .science h2,
  .carousel-header h2,
  .final-cta h2 {
    font-size: 42px;
  }

  .device-showcase {
    min-height: 460px;
  }

  .phone {
    width: min(220px, 48%);
  }

  .tablet {
    width: min(360px, 72%);
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .statement,
  .split,
  .proof,
  .science,
  .screenshots,
  .final-cta,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-bottom: 58px;
  }

  h1 {
    font-size: 58px;
  }

  .hero-line {
    font-size: 22px;
  }

  .button-xl {
    width: 100%;
    min-height: 64px;
    padding: 0 18px;
    text-align: center;
  }

  .device-showcase {
    min-height: 390px;
  }

  .phone {
    width: 45%;
  }

  .tablet {
    width: 66%;
  }

  .statement,
  .split,
  .proof,
  .science,
  .screenshots,
  .final-cta {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .statement h2,
  .split h2,
  .proof h2,
  .science h2,
  .carousel-header h2,
  .final-cta h2 {
    font-size: 36px;
  }

  .steps article {
    grid-template-columns: 30px 1fr;
  }

  .carousel-track {
    gap: 16px;
    scroll-padding-inline: 0;
  }

  .screenshot-card img {
    max-width: calc(100vw - 28px);
  }

  .screenshot-card {
    flex-basis: min(76vw, 315px);
  }
}

/* Believe-subdomain privacy and navigation containment. */
.button:focus-visible,
.isolated-footer a:focus-visible,
.privacy-choices-button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.isolated-footer {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.footer-brand,
.isolated-footer nav {
  display: flex;
  align-items: center;
}

.footer-brand {
  gap: 12px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.isolated-footer nav {
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 15px;
}

.isolated-footer a:hover,
.privacy-choices-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-choices-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.measurement-consent {
  width: min(640px, calc(100% - 32px));
  max-height: min(760px, calc(100% - 32px));
  margin: auto;
  overflow: auto;
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
}

.measurement-consent::backdrop {
  background: rgba(0, 0, 0, 0.58);
}

.measurement-consent-fallback {
  position: fixed;
  inset: 16px;
  z-index: 1000;
}

.measurement-consent-inner {
  padding: 30px;
}

.measurement-consent h2 {
  margin: 0;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}

.measurement-consent h2:focus {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.measurement-consent p:not(.kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font: 400 16px/1.55 "Inter", Arial, sans-serif;
}

.measurement-consent-status {
  color: var(--ink) !important;
  font-weight: 600 !important;
}

.measurement-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.measurement-consent-actions button {
  min-height: 54px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: 600 15px/1.2 "Inter", Arial, sans-serif;
}

.measurement-consent-actions button:hover {
  background: var(--paper);
  color: var(--ink);
}

.measurement-consent-actions button:focus-visible,
.measurement-consent a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.measurement-consent-detail {
  font-size: 14px !important;
}

.measurement-consent-detail a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .isolated-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .measurement-consent-inner {
    padding: 24px 20px;
  }

  .measurement-consent h2 {
    font-size: 32px;
  }

  .measurement-consent-actions {
    grid-template-columns: 1fr;
  }
}
