@font-face {
  font-family: Manrope;
  src: url("/fonts/Manrope-Variable-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #5c5c5c;
  --soft: #737373;
  --surface: #f2f2f2;
  --line: #e5e5e5;
  --line-strong: #d6d6d6;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pad: max(20px, calc((100vw - 640px) / 2));
  --pw: 256px;
  --step: 55vh;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.page {
  overflow-x: clip;
}

.story {
  overflow: clip;
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.nav .brand img {
  width: 118px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-work {
  display: none;
}

.pill,
.nav-work {
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
}

.pill {
  display: inline-flex;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color 120ms;
}

.pill:hover {
  background: var(--surface);
}

/* Hero (mobile first) */

.hero {
  display: flex;
  flex-direction: column;
}

.hero-left {
  display: contents;
}

.hero > *,
.hero-left > * {
  width: 100%;
}

.headline {
  order: 1;
  padding: 28px var(--pad) 0;
  font-size: clamp(46px, calc(5vw + 1.5rem), 80px);
  font-weight: 800;
  line-height: 1.087;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.sub {
  order: 1;
  padding: 8px var(--pad) 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.01em;
}

.ask {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px var(--pad) 8px;
}

.ask-label {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 8px 0 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 32px;
  background: #ffffff;
}

.field:focus-within {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 20px;
  text-overflow: ellipsis;
}

.field input::placeholder {
  color: var(--soft);
  opacity: 1;
}

.field-hero {
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.07);
}

.send {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 120ms, transform 120ms;
}

.send:hover {
  background: #2a2a2a;
}

.send:active {
  transform: scale(0.97);
}

.textlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.textlink svg {
  color: var(--muted);
  width: 16px;
  height: 16px;
}

.textlink:hover {
  text-decoration: underline;
}

/* Phone */

.phone-block {
  order: 3;
  padding: 16px var(--pad) 20px;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: 12px;
}

.glow {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, rgba(238, 168, 64, 0.4), rgba(236, 178, 90, 0.18) 34%, rgba(232, 188, 120, 0.05) 56%, rgba(232, 188, 120, 0) 70%);
  background-image: radial-gradient(circle farthest-corner at 50% 50% in oklab, oklab(78.2% 0.066 0.158 / 62%) 0%, oklab(80.3% 0.053 0.154 / 30%) 34%, oklab(82.2% 0.041 0.149 / 8%) 56%, oklab(82.2% 0.041 0.149 / 0%) 70%);
  animation: glow-in 600ms var(--ease) both, breathe 6s ease-in-out 600ms infinite alternate;
}

.is-offscreen .glow {
  animation-play-state: paused;
}

.phone-box {
  position: relative;
  width: var(--pw);
  container-type: inline-size;
}

.phone {
  display: flex;
  width: 100%;
  aspect-ratio: 332 / 694;
  padding: 3.313cqw;
  border: 1px solid #3a3a3a;
  border-radius: 17.47cqw;
  background: #1c1c1e;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.18);
}

.screen {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 14.16cqw;
  background: #ffffff;
}

.shot {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease-out, visibility 0s linear 300ms;
}

.shot.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.island {
  position: absolute;
  left: 34.09%;
  top: 3.313cqw;
  width: 31.82%;
  height: 8.43cqw;
  border-radius: 6.02cqw;
  background: #000000;
}

/* Story controls (mobile pager) */

.ui {
  order: 4;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-areas: "prev cap next" "prev dots next";
  align-items: center;
  padding: 0 var(--pad) 56px;
}

.rail,
.labels {
  display: none;
}

.caps {
  grid-area: cap;
  display: grid;
  justify-items: center;
  text-align: center;
}

.cap {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 300ms ease-out, transform 300ms ease-out, visibility 0s linear 300ms;
}

.cap.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.cap-name {
  font-size: 24px;
  font-weight: 800;
  line-height: 30px;
}

.cap-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 21px;
}

.cap-more {
  display: none;
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 120ms, transform 120ms;
}

.pager-btn[hidden] {
  display: none;
}

.pager-btn:hover:not(:disabled) {
  background: var(--surface);
}

.pager-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.pager-btn:disabled {
  border-color: var(--line);
  color: #a3a3a3;
  cursor: default;
}

.prev {
  grid-area: prev;
}

.next {
  grid-area: next;
  justify-self: end;
}

.dots {
  grid-area: dots;
  justify-self: center;
  display: flex;
  align-items: center;
}

.dots[hidden] {
  display: none;
}

.dot {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.dot:focus-visible {
  outline-offset: -3px;
}

.dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--line-strong);
  transition: width 300ms ease-out, background-color 300ms;
}

.dot.is-active::after {
  width: 22px;
  background: var(--ink);
}

.sentinels {
  display: none;
}

/* For pros */

.pros {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px var(--pad);
  border-top: 1px solid var(--line);
}

.pros-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pros h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 38px;
  letter-spacing: -0.03em;
}

.rows li {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
}

.icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
}

.icon svg {
  width: 18px;
  height: 18px;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 120ms, transform 120ms;
}

.outline-btn:hover {
  background: var(--surface);
}

.outline-btn:active {
  transform: scale(0.97);
}

.browser {
  display: none;
}

/* Closing */

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 56px var(--pad);
  border-top: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}

.closing-mark {
  width: 48px;
  height: 48px;
}

.closing h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 38px;
  letter-spacing: -0.03em;
}

.ask-closing {
  width: 100%;
  max-width: 640px;
}

.field-closing {
  border-width: 1px;
}

.promises {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.closing-line {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

/* Footer */

.foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px var(--pad) 32px;
  border-top: 1px solid var(--line);
}

.foot-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot .brand {
  margin-block: -5px;
}

.foot .brand img {
  width: 110px;
}

.copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 16px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
}

.foot-links a:first-child {
  padding-left: 0;
}

.foot-links a:hover {
  text-decoration: underline;
}

/* Entrance */

.rise {
  animation: rise 500ms var(--ease) both;
}

.sub.rise {
  animation-delay: 40ms;
}

.ask.rise {
  animation-delay: 80ms;
}

.ui.rise {
  animation-delay: 160ms;
}

.rise-phone {
  animation: rise-phone 700ms var(--ease) 150ms both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes rise-phone {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes glow-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

@keyframes breathe {
  from {
    opacity: 0.8;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (min-width: 640px) {
  .field input {
    font-size: 18px;
    line-height: 24px;
  }

  .promises {
    flex-direction: row;
    justify-content: center;
    column-gap: 8px;
  }

  .promises li + li::before {
    content: "\00b7";
    content: "\00b7" / "";
    margin-right: 8px;
  }
}

/* Desktop: pinned story */

@media (min-width: 1024px) {
  :root {
    --pad: clamp(24px, 5vw, 72px);
    --pw: clamp(236px, calc((100vh - 190px) / 2.09), 332px);
    --sh: max(100vh, 700px);
  }

  .glow {
    width: calc(var(--pw) * 2.108);
    height: calc(var(--pw) * 2.108);
  }

  .story {
    position: relative;
    height: calc(var(--sh) + 4 * var(--step));
  }

  .stage {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: var(--sh);
    background: #ffffff;
  }

  .sentinels {
    display: block;
    position: absolute;
    inset: 0 0 auto 0;
    height: calc(4 * var(--step));
    pointer-events: none;
  }

  .sentinel {
    display: block;
    height: var(--step);
  }

  .nav {
    padding: 28px var(--pad);
  }

  .nav .brand img {
    width: 150px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-work {
    display: inline-flex;
    padding: 0 18px;
    font-size: 16px;
    line-height: 20px;
  }

  .nav-work:hover {
    text-decoration: underline;
  }

  .pill {
    padding: 0 20px;
    font-size: 16px;
    line-height: 20px;
  }

  .hero {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 620px) minmax(0, 560px);
    justify-content: space-between;
    align-items: center;
    column-gap: 24px;
    padding: 24px var(--pad) 48px;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .headline {
    padding: 0;
    font-size: clamp(56px, 6.4vw, 92px);
    line-height: 1.043;
  }

  .sub {
    margin-top: -24px;
    padding: 0;
    font-size: 22px;
    line-height: 30px;
  }

  .ask {
    width: min(100%, 560px);
    gap: 12px;
    padding: 0;
  }

  .ask-label {
    font-size: 18px;
    line-height: 24px;
  }

  .field {
    gap: 12px;
    min-height: 72px;
    padding: 0 10px 0 26px;
    border-radius: 36px;
  }

  .field-hero {
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
  }

  .field input {
    height: 52px;
  }

  .send {
    width: 52px;
    height: 52px;
  }

  .textlink {
    justify-content: flex-start;
    padding-left: 4px;
    font-size: 17px;
    line-height: 22px;
  }

  .textlink svg {
    width: 18px;
    height: 18px;
  }

  .phone-block {
    padding: 0;
  }

  .phone-stage {
    padding-block: calc(var(--pw) * 0.0994);
  }

  .shot {
    transition: opacity 400ms ease-in-out, visibility 0s linear 400ms;
  }

  .shot.is-active {
    transition-delay: 0s;
  }

  .ui {
    display: block;
    width: min(100%, 520px);
    padding: 8px 0 0;
  }

  .rail {
    display: flex;
    gap: 8px;
  }

  .bar {
    flex: 1 1 0;
    height: 4px;
    border-radius: 2px;
    background: var(--line-strong);
    transition: background-color 300ms;
  }

  .bar.is-reached {
    background: var(--ink);
  }

  .labels {
    display: flex;
    gap: 8px;
    margin-top: 18px;
  }

  .labels li {
    flex: 1 1 0;
  }

  .label {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-block: -10px;
    color: var(--soft);
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    text-decoration: none;
    transition: color 300ms;
  }

  .label.is-active {
    color: var(--ink);
  }

  .label:hover {
    color: var(--ink);
  }

  .caps {
    margin-top: 18px;
    justify-items: start;
    text-align: left;
  }

  .cap {
    display: block;
    transition: opacity 400ms ease-out, transform 400ms ease-out, visibility 0s linear 400ms;
  }

  .cap.is-active {
    transition-delay: 0s;
  }

  .cap-name {
    display: none;
  }

  .cap-text {
    font-size: 18px;
    line-height: 26px;
  }

  .cap-more {
    display: inline;
  }

  .pager-btn,
  .dots {
    display: none;
  }

  .pager-btn[hidden],
  .dots[hidden] {
    display: none;
  }

  /* For pros */

  .pros {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    padding: 112px var(--pad);
  }

  .pros-copy {
    flex: 0 0 auto;
    width: min(420px, 38%);
    gap: 36px;
  }

  .pros h2 {
    font-size: 56px;
    line-height: 60px;
  }

  .rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .rows li {
    gap: 16px;
    font-size: 20px;
    line-height: 24px;
  }

  .icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .icon svg {
    width: 20px;
    height: 20px;
  }

  .outline-btn {
    align-self: flex-start;
  }

  .browser {
    display: flex;
    flex: 0 1 760px;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--surface);
  }

  .browser-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 40px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
  }

  .traffic {
    display: flex;
    gap: 7px;
  }

  .traffic i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--line-strong);
  }

  .url {
    flex: 1 1 0;
    height: 24px;
    border-radius: 6px;
    background: #ffffff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
  }

  .spacer {
    flex: 0 0 47px;
  }

  .browser img {
    width: 100%;
  }

  /* Closing */

  .closing {
    gap: 32px;
    padding: 120px var(--pad) 112px;
  }

  .closing-mark {
    width: 64px;
    height: 64px;
  }

  .closing h2 {
    font-size: 64px;
    line-height: 68px;
    letter-spacing: -0.035em;
  }

  .field-closing {
    min-height: 76px;
    padding: 0 12px 0 28px;
  }

  .field-closing input {
    font-size: 19px;
    line-height: 24px;
  }

  .promises {
    font-size: 15px;
  }

  .closing-line {
    font-size: 16px;
    line-height: 20px;
  }

  /* Footer */

  .foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px var(--pad) 36px;
  }

  .foot-brand {
    gap: 20px;
  }

  .foot .brand {
    margin-block: 0;
  }

  .foot .brand img {
    width: 140px;
  }

  .copy {
    font-size: 14px;
    line-height: 18px;
  }

  .foot-links {
    gap: 8px;
  }

  .foot-links a {
    padding: 0 14px;
  }

  .foot-links a:first-child {
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  .rise-phone,
  .glow {
    animation: none;
  }

  .glow {
    opacity: 0.9;
  }

  .shot,
  .cap,
  .bar,
  .label,
  .dot::after,
  .pill,
  .send,
  .pager-btn,
  .outline-btn {
    transition: none;
  }

  .send:active,
  .pager-btn:active,
  .outline-btn:active {
    transform: none;
  }
}
