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

@font-face {
  font-family: "Michroma";
  src: url("https://fonts.gstatic.com/s/michroma/v21/PN_zRfy9qWD8fEagAMg_rzjb_-Da.woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter Variable";
  src: url("https://framerusercontent.com/assets/7lw0VWkeXrGYJT05oB3DsFy8BaY.woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Roboto";
  src: url("https://fonts.gstatic.com/s/roboto/v50/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbWmWggvWl0Qn.woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Trirong";
  src: url("https://fonts.gstatic.com/s/trirong/v17/7r3GqXNgp8wxdOdOr4ki2aZg-ug.woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

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

body {
  background: 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,
.brand-stage,
.hero,
.statement,
.split,
.proof,
.science,
.screenshots,
.final-cta,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  width: min(960px, calc(100% - 40px));
  height: 64px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, auto);
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

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

.brand {
  display: block;
  font-family: "Inter Variable", "Inter Variable Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-feature-settings: "cv09" 1, "cv01" 1, "cv11" 1, "cv05" 1;
  font-variation-settings: "opsz" 32, "wght" 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand img {
  display: none;
}

.brand-short {
  display: none;
}

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

.site-nav {
  display: contents;
  font-family: "Roboto", "Roboto Placeholder", sans-serif;
  font-size: 15px;
  font-feature-settings: "cv09" 1, "cv01" 1, "cv11" 1, "cv05" 1;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.site-nav a[aria-current="page"] {
  font-weight: 400;
}

.site-nav a:first-child {
  font-feature-settings: "cv09" 1, "cv01" 1, "cv11" 1, "cv05" 1, "ss03" 1;
  letter-spacing: -0.04em;
}

.brand-stage {
  width: min(960px, calc(100% - 40px));
  height: 100vh;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.brand-stage h1 {
  width: 100%;
  max-width: 100%;
  color: var(--red);
  font-family: "Michroma", "Michroma Placeholder", sans-serif !important;
  font-size: 72px;
  font-weight: 700;
  font-feature-settings: "cv09" 1, "cv01" 1, "cv11" 1, "cv05" 1, "ss03" 1;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-stage p {
  width: 100%;
  margin-top: 36px;
  color: rgb(98, 144, 255);
  font-family: "Trirong", "Trirong Placeholder", serif !important;
  font-size: 40px;
  font-weight: 400;
  font-feature-settings: "cv09" 1, "cv01" 1, "cv11" 1, "cv05" 1, "ss03" 1;
  letter-spacing: -0.04em;
  line-height: 1;
}

.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;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.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;
}

.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;
}

.device img,
.screenshot-card img {
  border-radius: 30px;
}

.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) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 12px;
  }

  .brand-stage {
    min-height: 430px;
    padding-top: 62px;
    padding-bottom: 72px;
  }

  .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,
  .brand-stage,
  .hero,
  .statement,
  .split,
  .proof,
  .science,
  .screenshots,
  .final-cta,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    width: 351px;
    max-width: 90%;
    height: 64px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, auto);
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .site-nav {
    display: contents;
    font-size: 15px;
    line-height: 1.2;
  }

  .site-nav a {
    display: inline;
    line-height: 1.2;
    transform: translateY(-0.5px);
  }

  .brand-full {
    display: none;
  }

  .brand-short {
    display: inline;
  }

  .brand {
    line-height: 1.25;
  }

  .brand-stage {
    width: 390px;
    max-width: 100%;
    height: 550px;
    min-height: 550px;
    padding: 80px 0;
  }

  .brand-stage h1 {
    width: 390px;
    max-width: 100%;
    font-size: 72px;
    line-height: 1em;
    transform: translateY(-7px);
  }

  .brand-stage p {
    width: 90%;
    max-width: 90%;
    margin-top: 18px;
    font-size: 40px;
    line-height: 1em;
    transform: translateY(-7px);
  }

  .brand-stage + .hero {
    margin-top: max(140px, calc(100vh - 590px));
  }

  .hero {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding-bottom: 58px;
  }

  .hero-copy,
  .hero-line,
  .release-note,
  .short-note {
    width: min(100%, 330px);
    max-width: calc(100vw - 28px);
  }

  h1 {
    font-size: 58px;
  }

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

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

  .device-showcase {
    margin-top: 32px;
    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);
  }
}
