@font-face {
  font-family: "Albert Sans";
  src: url("/assets/fonts/albert-sans/AlbertSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }

html { background: #0F1211; color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #0F1211;
  color: #ECEFED;
  font-family: Manrope, system-ui, sans-serif;
}

a { text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid #4CC594; outline-offset: 3px; }

.page {
  /* Space between logo and kicker. 290px matches the 390x844 design; on shorter
     screens it shrinks (and the app screen crops with it) so the headline and
     both buttons stay above the fold: 417px = logo 43 + intro 174 + buttons 176 + 24. */
  --vh: 100vh;
  --gap: max(48px, min(290px, var(--vh) - 417px));
  position: relative;
  max-width: 440px;
  min-height: var(--vh);
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@supports (height: 100svh) {
  .page { --vh: 100svh; }
}

/* Cropped app screen, bleeds off the right edge */
.hero {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(40px + var(--gap));
  /* clips the screen image but lets the fade run 2px past the bottom edge */
  clip-path: inset(0 0 -2px 0);
}
.hero img {
  position: absolute;
  left: 118px;
  top: min(66px, calc((40px + var(--gap)) * .2));
  width: 340px;
  height: auto;
  border-radius: 48px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 -2px 0;
  background: linear-gradient(180deg, rgba(15, 18, 17, 0) 45%, #0F1211 96%);
}

.top {
  position: relative;
  padding: 28px 24px 0;
  margin-bottom: var(--gap);
  display: flex;
  align-items: center;
}
.top img { height: 15px; width: auto; display: block; }

.intro {
  position: relative;
  margin-top: auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
}

.kicker { font-size: 15px; letter-spacing: .12em; color: #4CC594; }

h1 {
  margin: 0;
  font-family: "Albert Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: -.035em;
}
h1 span { color: #4CC594; }

.ctas {
  position: relative;
  padding: 32px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
}
.cta-text { display: flex; flex-direction: column; gap: 2px; }
.cta-sub { font-size: 13px; font-weight: 500; }
.chev { font-size: 22px; line-height: 1; }

.cta-primary { background: #ECEFED; color: #0F1211; }
.cta-primary .cta-sub { color: #3E4441; }
.cta-primary:hover { background: #FFFFFF; color: #0F1211; }

.cta-secondary { background: #1A201D; border: 1px solid #3A4440; color: #ECEFED; box-sizing: content-box; }
.cta-secondary .cta-sub { color: #A9B1AD; }
.cta-secondary .chev { color: #4CC594; }
.cta-secondary:hover,
.cta-secondary:active { background: #212825; color: #ECEFED; }

.current {
  position: relative;
  padding: 28px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.current-head {
  font-size: 14px;
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.current-title { font-size: 14px; font-weight: 700; color: #ECEFED; }
.tag { font-size: 11px; letter-spacing: .12em; color: #8C9590; }

.stores { display: flex; gap: 8px; }
.store {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 12px;
  background: #171C1A;
  color: #ECEFED;
  font-size: 14px;
  font-weight: 700;
}
.store:hover { background: #1D2421; color: #FFFFFF; }

.foot {
  position: relative;
  padding: 48px 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  color: #8C9590;
}
.by { display: flex; align-items: center; gap: 8px; }
.by img { height: 12px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .65; }
