:root {
  --background: #080808;
  --surface: #111113;
  --surface-strong: #171719;
  --text: #f5f4f2;
  --muted: #9b989d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #e21d2b;
  --accent-dark: #9b101b;
  --success: #38c978;
  --shell: 1180px;
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body:not(.is-ready) {
  visibility: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 0.98;
}

::selection {
  background: var(--accent);
  color: white;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

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

.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  padding: 0 20px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
}

.button--primary:hover {
  border-color: #f02a38;
  background: #f02a38;
}

.button--primary:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.button--small {
  min-height: 38px;
  padding-inline: 16px;
  font-size: 13px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 8, 8, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 820;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.site-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: white;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.language-switcher button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #68666b;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--surface-strong);
  color: var(--text);
}

.hero {
  min-height: 920px;
  padding: 150px 0 100px;
  border-bottom: 1px solid var(--line);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: 84px;
}

.hero__copy {
  padding-bottom: 30px;
}

.hero h1 {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(54px, 7.4vw, 104px);
  font-weight: 840;
}

.hero h1 span,
.section-heading h2 span,
.split-feature h2 span,
.analytics-heading h2 span,
.early-access h2 span {
  color: #6b686d;
}

.hero__lead {
  max-width: 610px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero waitlist-form {
  display: block;
  max-width: 560px;
  margin-top: 38px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  color: #706d72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__facts span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0 2px 24px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__product {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__screen-label {
  position: absolute;
  z-index: 2;
  top: 82px;
  left: -54px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #7c797e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: left top;
}

.hero__screen-rule {
  width: 54px;
  height: 1px;
  background: var(--line-strong);
}

.phone-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 46px;
  background: #000;
  box-shadow: 0 38px 90px -38px rgba(0, 0, 0, 0.95);
}

.phone-shot::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-shot--hero {
  width: min(100%, 376px);
  aspect-ratio: 1206 / 2310;
}

.waitlist-form__row {
  display: flex;
  gap: 10px;
}

.waitlist-form input {
  min-width: 0;
  min-height: 52px;
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  outline: 0;
  background: var(--surface);
  color: white;
  padding: 0 20px;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.waitlist-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 29, 43, 0.16);
}

.waitlist-form input::placeholder {
  color: #666369;
}

.waitlist-form .button {
  min-height: 52px;
  padding-inline: 26px;
}

.waitlist-form__message {
  min-height: 20px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.waitlist-form__message.is-success {
  color: var(--success);
}

.waitlist-form__message.is-error {
  color: #ff6d77;
}

.waitlist-form__note {
  margin-top: 2px;
  color: #656268;
  font-size: 12px;
}

.waitlist-form__note a {
  color: #99969b;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
}

.waitlist-form__note a:hover {
  color: var(--text);
}

.section {
  padding: 140px 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.split-feature h2,
.analytics-heading h2,
.early-access h2 {
  margin-top: 18px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 820;
}

.section-heading > p:last-child,
.analytics-heading > p,
.early-access__inner > div > p:last-child {
  max-width: 640px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.section--workflow {
  border-bottom: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
  margin-top: 80px;
}

.product-story {
  display: flex;
  min-height: 720px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 38px 38px 0;
}

.product-story--offset {
  margin: 0;
}

.product-story__copy {
  position: relative;
  width: 100%;
  max-width: 390px;
  padding-left: 58px;
}

.product-story__number {
  position: absolute;
  top: 4px;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.product-story h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.product-story p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.phone-shot--product {
  width: min(100%, 300px);
  height: 500px;
  margin-top: 34px;
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
}

.section--progress {
  padding-top: 140px;
  border-bottom: 1px solid var(--line);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 110px;
}

.split-feature__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.screen-backdrop {
  position: absolute;
  top: 120px;
  left: 50%;
  color: transparent;
  font-size: clamp(92px, 13vw, 180px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  opacity: 0.7;
  transform: translateX(-50%) rotate(-90deg);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}

.phone-shot--detail {
  width: min(100%, 390px);
  height: 760px;
}

.split-feature__copy {
  position: relative;
  z-index: 1;
}

.split-feature__lead {
  max-width: 570px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.detail-list {
  max-width: 590px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.detail-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  font-size: 14px;
  font-weight: 760;
}

.detail-list dd {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section--analytics {
  padding-bottom: 170px;
}

.analytics-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 80px;
}

.analytics-heading > p {
  margin-bottom: 4px;
}

.analytics-heading h2 {
  font-size: clamp(42px, 5.2vw, 64px);
}

.analytics-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 84px;
}

.analytics-shot {
  position: relative;
  display: flex;
  height: 640px;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 28px 0;
}

.analytics-shot img {
  width: min(100%, 320px);
  height: auto;
  align-self: flex-start;
  border: 1px solid var(--line-strong);
  border-radius: 34px 34px 0 0;
  object-fit: initial;
}

.analytics-shot--charts {
  margin: 0;
}

.analytics-shot figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(12, 12, 13, 0.86);
  padding: 18px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.analytics-shot figcaption span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.analytics-shot figcaption strong {
  font-size: 14px;
}

.early-access {
  padding: 0 0 110px;
}

.early-access__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  align-items: end;
  gap: 90px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 80px 0;
}

.early-access waitlist-form {
  display: block;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.legal-section {
  padding: 0 0 110px;
  scroll-margin-top: 88px;
}

.legal-page .legal-section {
  padding-top: 150px;
}

.legal-navigation__back {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease;
}

.legal-navigation__back:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.legal-section__layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  gap: 90px;
  border-top: 1px solid var(--line-strong);
  padding-top: 80px;
}

.legal-section__header h2 {
  margin-top: 16px;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 820;
}

.legal-section__header > p:not(.kicker):not(.legal-section__date) {
  max-width: 380px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.legal-section__date {
  margin-top: 22px;
  color: #656268;
  font-size: 12px;
}

.legal-section__content {
  border-top: 1px solid var(--line);
}

.legal-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
  gap: 36px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.legal-item h3 {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.legal-item p {
  max-width: 670px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer {
  padding: 28px 0 40px;
  color: #706d72;
  font-size: 12px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-footer .brand {
  color: var(--text);
  font-size: 14px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-self: end;
  gap: 22px;
}

.site-footer__links a {
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 0.72, 0.28, 1);
}

.reveal--delay {
  transition-delay: 100ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero__product {
    justify-content: flex-end;
    padding-right: 10%;
  }

  .hero__screen-label {
    left: calc(50% - 230px);
  }

  .workflow-grid {
    gap: 20px;
  }

  .product-story {
    min-height: 700px;
    padding-inline: 24px;
  }

  .phone-shot--product {
    width: min(100%, 286px);
    height: 480px;
  }

  .split-feature {
    gap: 60px;
  }

  .analytics-heading,
  .early-access__inner,
  .legal-section__layout {
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-nav,
  .site-header .button--small {
    display: none;
  }

  .hero {
    padding: 122px 0 80px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__product {
    justify-content: center;
    padding-right: 0;
  }

  .hero__screen-label {
    display: none;
  }

  .section {
    padding: 96px 0;
  }

  .section-heading h2,
  .split-feature h2,
  .analytics-heading h2,
  .early-access h2 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .workflow-grid,
  .analytics-screens,
  .analytics-heading,
  .split-feature,
  .early-access__inner,
  .legal-section__layout {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    margin-top: 56px;
  }

  .product-story,
  .product-story--offset {
    min-height: 680px;
    margin: 0;
  }

  .section--progress {
    padding-top: 96px;
  }

  .split-feature__visual {
    order: 2;
  }

  .phone-shot--detail {
    height: 720px;
  }

  .analytics-heading {
    gap: 0;
  }

  .analytics-screens {
    gap: 24px;
    margin-top: 56px;
  }

  .analytics-shot--charts {
    margin: 0;
  }

  .analytics-shot img {
    width: min(100%, 330px);
    height: auto;
    max-height: none;
    object-fit: initial;
  }

  .analytics-shot {
    height: 650px;
  }

  .early-access {
    padding-bottom: 70px;
  }

  .early-access__inner {
    align-items: start;
    gap: 42px;
    padding: 64px 0;
  }

  .early-access waitlist-form {
    justify-self: start;
  }

  .legal-section {
    padding-bottom: 76px;
  }

  .legal-page .legal-section {
    padding-top: 120px;
  }

  .legal-section__layout {
    gap: 46px;
    padding-top: 64px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer__inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  .hero__facts {
    gap: 8px 14px;
  }

  .hero__facts span:not(:last-child)::after {
    margin-left: 14px;
  }

  .waitlist-form__row {
    flex-direction: column;
  }

  .waitlist-form .button {
    width: 100%;
  }

  .phone-shot {
    border-radius: 38px;
  }

  .phone-shot--hero {
    width: min(100%, 340px);
  }

  .product-story {
    min-height: 650px;
    padding: 30px 18px 0;
  }

  .product-story__copy {
    padding-left: 46px;
  }

  .phone-shot--product {
    width: min(100%, 270px);
    height: 450px;
    border-radius: 34px 34px 0 0;
  }

  .phone-shot--detail {
    width: min(100%, 350px);
    height: 690px;
  }

  .detail-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legal-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .analytics-shot figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .analytics-shot {
    height: 610px;
    padding: 20px 16px 0;
  }

  .site-footer__links {
    gap: 14px;
  }

  .legal-navigation__back {
    max-width: 154px;
    min-height: 34px;
    padding: 5px 12px;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }
}

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

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

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