:root {
  color-scheme: light;
  --color-neutral-background: #f7f8fa;
  --color-neutral-surface: #ffffff;
  --color-neutral-border: #d9dde5;
  --color-neutral-divider: #eef1f5;
  --color-text-default: #1e232b;
  --color-text-muted: #5b6170;
  --color-text-inverse: #ffffff;
  --color-brand-primary: #005a9c;
  --color-logo-purple: #6231ff;
  --color-reservation-accent: #007a7a;
  --color-dark-background: #14181e;
  --color-dark-surface: #20262f;
  --color-splash-background: #000004;
  --type-display-size: 28px;
  --type-display-line: 34px;
  --type-h3-size: 17px;
  --type-h3-line: 22px;
  --type-body-large-size: 17px;
  --type-body-large-line: 24px;
  --type-body-size: 15px;
  --type-body-line: 22px;
  --type-body-small-size: 13px;
  --type-body-small-line: 18px;
  --type-label-size: 13px;
  --type-label-line: 18px;
  --type-caption-size: 11px;
  --type-caption-line: 14px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-modal: 0 4px 16px rgba(0, 0, 0, 0.15);
  --max: 1160px;
}

@font-face {
  font-family: "Michroma";
  src: url("./assets/Michroma-Regular.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-neutral-background);
  color: var(--color-text-default);
  font-family:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  letter-spacing: 0;
}

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

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
  padding: 0 56px;
  border-bottom: 1px solid rgba(217, 221, 229, 0.86);
  background: rgba(247, 248, 250, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-lockup {
  width: 126px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

nav a {
  padding: 8px 12px;
  border-radius: 999px;
}

nav a:hover {
  background: var(--color-neutral-surface);
  color: var(--color-brand-primary);
}

.launch-hero {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  padding: 126px 40px 0;
  border-bottom: 1px solid var(--color-neutral-divider);
  background: var(--color-neutral-background);
}

.launch-hero::after {
  content: "";
  position: absolute;
  inset: 65% 0 0;
  background: var(--color-dark-background);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--color-brand-primary);
  font-size: var(--type-label-size);
  font-weight: 600;
  line-height: var(--type-label-line);
  letter-spacing: 0;
}

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

h1 {
  width: min(100%, 700px);
  margin: 0 auto 28px;
  line-height: 1;
}

h1 img {
  width: 100%;
  height: auto;
  filter: invert(1);
}

.hero-tagline {
  width: min(100%, 700px);
  margin: 0 auto 44px;
  color: var(--color-logo-purple);
  font-family: "Michroma", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 34px;
  line-height: 40px;
  white-space: nowrap;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--color-neutral-border);
  border-radius: var(--radius-lg);
  background: var(--color-neutral-surface);
  color: var(--color-text-default);
  box-shadow: var(--shadow-card);
  font-size: var(--type-body-size);
  font-weight: 600;
}

.store-button small {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--type-caption-size);
  font-weight: 400;
  line-height: var(--type-caption-line);
}

.store-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--color-splash-background);
  color: #ffffff;
}

.platform-icon {
  width: 23px;
  height: 23px;
}

.platform-icon use[href="#icon-apple"] {
  fill: currentColor;
}

.product-rail {
  position: absolute;
  left: 50%;
  bottom: -112px;
  z-index: 1;
  width: min(1160px, calc(100% - 80px));
  height: 420px;
  transform: translateX(-50%);
}

.rail-screen {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: var(--color-neutral-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.iphone-shell {
  position: relative;
  overflow: visible;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px;
  background: #0b0d12;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.iphone-shell::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 38px;
  height: 10px;
  border-radius: 999px;
  background: #050609;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateX(-50%);
}

.iphone-shell::after {
  content: "";
  position: absolute;
  top: 108px;
  right: 0;
  width: 3px;
  height: 58px;
  border-radius: 0 999px 999px 0;
  background: rgba(255, 255, 255, 0.24);
}

.iphone-shell > img {
  overflow: hidden;
  border-radius: 28px;
}

.rail-screen.iphone-shell {
  position: absolute;
}

.rail-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail-phone {
  z-index: 2;
  width: 230px;
  aspect-ratio: 1179 / 2559;
}

.rail-left {
  left: 0;
  bottom: 42px;
  transform: rotate(-8deg);
}

.rail-right {
  right: 0;
  bottom: 42px;
  transform: rotate(7deg);
}

.rail-desktop {
  z-index: 1;
  left: 50%;
  bottom: -96px;
  width: 720px;
  aspect-ratio: 1280 / 721;
  transform: translateX(-50%);
}

.rail-desktop.iphone-shell::before,
.rail-desktop.iphone-shell::after {
  display: none;
}

.flow-section,
.player-section,
.download-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.flow-section {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 48px;
  align-items: start;
  padding: 88px 0 80px;
}

.section-lead h2,
.text-stack h2,
.venue-copy h2,
.download-section h2 {
  margin: 0;
  font-size: var(--type-display-size);
  line-height: var(--type-display-line);
  font-weight: 700;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-neutral-border);
  border-bottom: 1px solid var(--color-neutral-border);
  list-style: none;
}

.flow-list li {
  min-height: 184px;
  padding: 24px 20px;
  border-left: 1px solid var(--color-neutral-border);
  color: var(--color-text-muted);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.flow-list li:first-child {
  border-left: 0;
}

.flow-list span {
  display: block;
  margin-bottom: 46px;
  color: var(--color-brand-primary);
  font-size: var(--type-label-size);
  font-weight: 600;
  line-height: var(--type-label-line);
}

.flow-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-default);
  font-size: var(--type-h3-size);
  line-height: var(--type-h3-line);
}

.player-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  padding: 34px 0 96px;
}

.phone-stage {
  justify-self: center;
  width: min(100%, 310px);
}

.phone-stage img {
  width: 100%;
  aspect-ratio: 1179 / 2559;
  object-fit: cover;
}

.text-stack {
  max-width: 620px;
}

.text-stack p,
.venue-copy p {
  margin: 16px 0 0;
  color: var(--color-text-muted);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.plain-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text-default);
  font-size: var(--type-body-size);
  font-weight: 600;
  line-height: var(--type-body-line);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color-reservation-accent);
}

.venue-section {
  overflow: hidden;
  padding: 86px 40px 96px;
  background: var(--color-dark-background);
  color: var(--color-text-inverse);
}

.venue-copy,
.venue-phone-wall,
.ops-grid {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.venue-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 50px;
  align-items: end;
}

.venue-copy .section-kicker {
  color: #9ccfff;
}

.venue-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.venue-phone-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
  margin-top: 52px;
  min-height: 610px;
  padding-bottom: 120px;
}

.venue-phone-wall::before {
  content: "";
  position: absolute;
  inset: 18% 0 12%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(32, 38, 47, 0.46);
}

.venue-phone {
  position: relative;
  z-index: 1;
  margin: 0;
}

.venue-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-phone-primary {
  justify-self: end;
  width: min(100%, 300px);
  aspect-ratio: 430 / 933;
  transform: rotate(-5deg);
}

.venue-phone-secondary {
  justify-self: center;
  width: min(100%, 270px);
  aspect-ratio: 1179 / 2559;
  transform: translateY(44px) rotate(3deg);
}

.venue-phone-tertiary {
  justify-self: start;
  width: min(100%, 250px);
  aspect-ratio: 430 / 933;
  transform: translateY(96px) rotate(9deg);
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 255, 255, 0.14);
}

.ops-grid p {
  min-height: 128px;
  margin: 0;
  padding: 22px;
  background: var(--color-dark-background);
}

.ops-grid strong,
.ops-grid span {
  display: block;
}

.ops-grid strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: var(--type-h3-size);
  line-height: var(--type-h3-line);
}

.ops-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 58px 0;
}

.download-section .section-kicker {
  margin-bottom: 10px;
}

.store-button-dark {
  border-color: rgba(30, 35, 43, 0.12);
  background: var(--color-dark-background);
  color: #ffffff;
}

.store-button-dark small {
  color: rgba(255, 255, 255, 0.66);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 56px;
  border-top: 1px solid var(--color-neutral-border);
  background: var(--color-neutral-surface);
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--color-text-muted);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.footer-links a:hover {
  color: var(--color-brand-primary);
}

@media (max-width: 1040px) {
  .launch-hero {
    min-height: 850px;
  }

  .product-rail {
    width: calc(100% - 40px);
  }

  .rail-phone {
    width: 178px;
  }

  .rail-desktop {
    width: 600px;
  }

  .flow-section,
  .player-section,
  .venue-copy,
  .venue-phone-wall,
  .ops-grid {
    grid-template-columns: 1fr;
  }

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

  .flow-list li:nth-child(3) {
    border-left: 0;
  }

  .player-section {
    gap: 38px;
  }

  .venue-phone-wall {
    gap: 28px;
    min-height: 0;
    padding-bottom: 76px;
  }

  .venue-phone-primary,
  .venue-phone-secondary,
  .venue-phone-tertiary {
    justify-self: center;
  }

  .venue-phone-primary {
    width: min(100%, 270px);
  }

  .venue-phone-secondary {
    width: min(100%, 240px);
    transform: translateY(28px) rotate(3deg);
  }

  .venue-phone-tertiary {
    width: min(100%, 220px);
    transform: translateY(58px) rotate(8deg);
  }

  .ops-grid {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .ops-grid p {
    min-height: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 62px;
    padding: 0 18px;
  }

  .brand-lockup {
    width: 112px;
  }

  nav {
    display: none;
  }

  .launch-hero {
    min-height: 812px;
    padding: 94px 18px 0;
  }

  .launch-hero::after {
    inset: 58% 0 0;
  }

  h1 {
    width: min(100%, 360px);
  }

  .hero-tagline {
    width: min(100%, 360px);
    font-size: 17px;
    line-height: 22px;
  }

  .store-row {
    width: 100%;
  }

  .store-button {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .product-rail {
    bottom: -24px;
    width: calc(100% - 28px);
    height: 300px;
  }

  .rail-desktop {
    left: 50%;
    bottom: 42px;
    width: 330px;
  }

  .rail-phone {
    width: 96px;
  }

  .rail-left {
    left: 8px;
    bottom: 20px;
  }

  .rail-right {
    right: 8px;
    bottom: 20px;
  }

  .flow-section,
  .player-section,
  .download-section {
    width: calc(100% - 28px);
  }

  .flow-section {
    gap: 30px;
    padding: 68px 0 58px;
  }

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

  .flow-list li,
  .flow-list li:nth-child(3) {
    min-height: 132px;
    border-left: 0;
    border-top: 1px solid var(--color-neutral-border);
  }

  .flow-list li:first-child {
    border-top: 0;
  }

  .flow-list span {
    margin-bottom: 20px;
  }

  .player-section {
    grid-template-columns: 1fr;
    padding-bottom: 70px;
  }

  .phone-stage {
    width: min(100%, 236px);
  }

  .venue-section {
    padding: 64px 14px 72px;
  }

  .venue-copy,
  .venue-phone-wall,
  .ops-grid {
    width: 100%;
  }

  .venue-phone-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 34px;
    padding-bottom: 46px;
  }

  .venue-phone-wall::before {
    inset: 16% -14px 12%;
  }

  .venue-phone-primary,
  .venue-phone-secondary,
  .venue-phone-tertiary {
    width: 100%;
  }

  .venue-phone-primary {
    transform: rotate(-6deg);
  }

  .venue-phone-secondary {
    transform: translateY(20px) rotate(2deg);
  }

  .venue-phone-tertiary {
    transform: translateY(44px) rotate(8deg);
  }

  .iphone-shell {
    padding: 6px;
    border-radius: 22px;
  }

  .iphone-shell::before {
    top: 10px;
    width: 24px;
    height: 7px;
  }

  .iphone-shell::after {
    top: 68px;
    height: 36px;
  }

  .iphone-shell > img {
    border-radius: 16px;
  }

  .download-section {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 18px;
  }
}
