@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@300;400;500;600&display=swap");

:root {
  --paper: #f5f1eb;
  --paper-deep: #e8e1d8;
  --ink: #171715;
  --muted: #746f69;
  --line: rgba(23, 23, 21, 0.14);
  --rust: #bb4431;
  --green: #6b8066;
  --dark: #1a1a18;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(57, 49, 42, 0.08);
  border-radius: 50%;
  content: "";
}

body::before {
  top: -220px;
  left: -180px;
}

body::after {
  right: -210px;
  bottom: -210px;
}

.grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

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

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.24em;
}

.brand img {
  border-radius: 10px;
}

.header-cta,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: 180ms ease;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  align-items: center;
  min-height: calc(100vh - 89px);
  padding: 56px 0 80px;
  gap: clamp(40px, 7vw, 110px);
}

.eyebrow,
.section-number {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--muted);
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2 {
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  font-size: clamp(58px, 7.2vw, 104px);
}

h2 {
  font-size: clamp(48px, 6vw, 86px);
}

h1 em,
h2 em {
  color: var(--rust);
  font-style: normal;
}

.hero-lede {
  max-width: 580px;
  margin-bottom: 34px;
  color: #55514c;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 300;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  min-width: 186px;
  padding: 11px 20px 12px;
  gap: 13px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 23, 21, 0.18);
}

.store-button svg {
  width: 25px;
  fill: currentColor;
}

.store-button span {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
}

.store-button small {
  display: block;
  margin-bottom: 1px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.text-link {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.availability {
  margin: 22px 0 0;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  max-height: 780px;
}

.hero-visual > img {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  max-height: 76vh;
  border-radius: 34px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 36px 90px rgba(71, 55, 42, 0.2);
  transform: rotate(2deg);
}

.orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(72, 62, 52, 0.15);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
  top: 10%;
  right: -18%;
}

.orbit-two {
  width: 300px;
  height: 300px;
  bottom: -8%;
  left: -12%;
}

.paper-note {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 126px;
  min-height: 118px;
  place-content: center;
  background: #fdfcf9;
  box-shadow: 0 16px 35px rgba(37, 30, 24, 0.16);
  text-align: center;
}

.paper-note::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 9px;
  background: linear-gradient(135deg, #fdfcf9 5px, transparent 0) 0 0/10px 10px repeat-x;
  content: "";
}

.paper-note strong {
  font-size: 36px;
  font-weight: 300;
}

.paper-note span {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.paper-note-one {
  top: 10%;
  right: -8%;
  transform: rotate(5deg);
}

.paper-note-two {
  bottom: 12%;
  left: -10%;
  transform: rotate(-6deg);
}

.manifesto {
  padding: 130px 0;
  background: var(--dark);
  color: var(--paper);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
}

.manifesto .section-number {
  color: #8d8982;
}

.manifesto h2 {
  margin-top: -10px;
  font-size: clamp(60px, 8vw, 118px);
}

.manifesto p:last-child {
  max-width: 620px;
  margin: 0 0 0 auto;
  color: #b8b3ab;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.65;
}

.screens {
  padding: 140px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin-bottom: 64px;
  gap: 40px;
}

.section-heading h2 {
  margin: 0;
}

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

.screen-card {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ede7df;
}

.screen-card-alt {
  background: #ddd8cf;
}

.screen-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 34px 36px;
  background: linear-gradient(to bottom, rgba(245, 241, 235, 0.98) 70%, rgba(245, 241, 235, 0));
}

.screen-copy > span {
  color: var(--rust);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.screen-copy h3 {
  margin: 16px 0 10px;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.screen-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.screen-card > img {
  position: absolute;
  left: 50%;
  bottom: -80px;
  width: auto;
  height: clamp(560px, 48vw, 690px);
  max-width: none;
  border-radius: 28px;
  object-fit: contain;
  box-shadow: 0 26px 65px rgba(38, 31, 25, 0.17);
  transform: translateX(-50%) rotate(-2deg);
}

.screen-card-alt > img {
  transform: translateX(-50%) rotate(2deg);
}

.features {
  padding: 130px 0;
  border-block: 1px solid var(--line);
  background: #ebe5dd;
}

.section-heading.compact {
  margin-bottom: 80px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.feature {
  min-height: 280px;
  padding: 28px 24px 24px 0;
  border-right: 1px solid var(--line);
}

.feature + .feature {
  padding-left: 24px;
}

.feature:last-child {
  border-right: 0;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 72px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 20px;
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.video-showcase {
  padding: 130px 0;
  background: var(--dark);
  color: var(--paper);
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(56px, 9vw, 140px);
}

.video-copy .section-number {
  margin-bottom: 42px;
  color: #8d8982;
}

.video-copy h2 {
  max-width: 760px;
}

.video-copy > p:not(.section-number) {
  max-width: 560px;
  margin-bottom: 34px;
  color: #b8b3ab;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
}

.video-copy .text-link {
  border-color: rgba(245, 241, 235, 0.25);
}

.video-frame {
  position: relative;
  width: min(100%, 390px);
  justify-self: center;
  padding: 10px;
  border: 1px solid rgba(245, 241, 235, 0.2);
  border-radius: 32px;
  background: #090909;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
}

.video-frame::before {
  position: absolute;
  z-index: 2;
  top: 19px;
  left: 50%;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 23px;
  background: #000;
}

.closing {
  padding: 120px 0;
}

.closing-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  padding: 88px clamp(34px, 7vw, 100px);
  background: var(--rust);
  color: #fff;
}

.closing-card > div:not(.closing-mark) {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.closing-card .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.closing-card h2 {
  font-size: clamp(58px, 8vw, 108px);
}

.closing-card h2 em {
  color: #211c19;
}

.closing-copy {
  max-width: 540px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.store-button-light {
  background: #fff;
  color: var(--ink);
}

.closing-mark {
  position: absolute;
  right: -60px;
  bottom: -190px;
  color: rgba(255, 255, 255, 0.09);
  font-size: 720px;
  font-weight: 300;
  line-height: 1;
}

.android-note {
  margin: 18px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 0 36px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

.footer-brand {
  color: var(--ink);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 0.72fr;
    gap: 32px;
  }

  .paper-note {
    display: none;
  }

  .screen-card {
    min-height: 680px;
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 48px;
  }

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 32px, 560px);
  }

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

  .header-cta {
    padding: 9px 13px;
    font-size: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 70px 0 90px;
  }

  h1 {
    font-size: clamp(52px, 15vw, 78px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-visual {
    margin-top: 32px;
  }

  .hero-visual > img {
    max-height: none;
    width: 88%;
  }

  .manifesto,
  .screens,
  .features,
  .video-showcase,
  .closing {
    padding: 90px 0;
  }

  .manifesto-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .manifesto h2 {
    margin-top: 12px;
  }

  .manifesto p:last-child {
    font-size: 17px;
  }

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

  .screen-card {
    min-height: 690px;
  }

  .screen-copy {
    padding: 28px 26px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature + .feature {
    min-height: 230px;
    padding: 26px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .feature:first-child {
    border-top: 0;
  }

  .feature-icon {
    margin-bottom: 45px;
  }

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

  .video-copy .section-number {
    margin-bottom: 24px;
  }

  .video-frame {
    width: min(100%, 360px);
    transform: none;
  }

  .closing-card {
    min-height: 590px;
    padding-top: 58px;
  }

  .closing-mark {
    right: -100px;
    bottom: -90px;
    font-size: 500px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: left;
  }

  .site-footer p,
  .site-footer p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
