:root {
  color-scheme: dark;
  --bg: #111;
  --text: #f2f2f2;
  --muted: #b4b4b4;
  --red: #ff3b30;
  --line: #303030;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
a,
button,
input {
  touch-action: manipulation;
}
:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}
.wrap {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}
.brand-logo {
  display: block;
  width: 1.6em;
  height: 1.6em;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-link {
  font-size: 15px;
  padding-block: 14px;
  text-decoration: none;
}
.nav-link:hover {
  text-decoration: underline;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding-block: 40px 56px;
}
h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
}
.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 420px;
  margin: 24px 0;
}
.primary {
  background: var(--red);
  color: #111;
  min-height: 48px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.primary:hover {
  background: #ff574e;
}
.primary:disabled {
  opacity: 0.65;
  cursor: wait;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 16px;
  border: 1px solid #777;
  border-radius: 8px;
  background: #050505;
  color: #fff;
  text-decoration: none;
}
.store-badge:hover { border-color: #fff; }
.store-badge svg { flex-shrink: 0; }
.store-badge span { display: grid; gap: 2px; }
.store-badge small { font-size: 11px; line-height: 1.2; }
.store-badge strong { font-size: 22px; line-height: 1.15; font-weight: 600; }
.preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  max-width: 500px;
  justify-self: end;
}
.phone {
  margin: 0;
  border: 2px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
  line-height: 0;
}
.main-phone {
  grid-column: 1;
  grid-row: 1;
}
.secondary-phone {
  grid-column: 2;
  grid-row: 1;
}
.phone img {
  width: 100%;
  height: auto;
  display: block;
}
.waitlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-block: 48px;
  border-top: 1px solid var(--line);
}
.waitlist h2,
.tour-heading h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin: 0 0 16px;
}
.waitlist-copy > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 400px;
}
.qr-block {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}
.qr-block img {
  width: 96px;
  height: 96px;
  background: white;
  flex-shrink: 0;
}
.qr-block div {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.qr-block span {
  color: var(--muted);
  max-width: 230px;
  line-height: 1.5;
}
.qr-block a {
  width: fit-content;
  padding-block: 10px;
}
.signup {
  align-self: start;
  min-width: 0;
}
.contact-fields > label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}
input[type="email"],
input[type="tel"] {
  width: 100%;
  height: 52px;
  background: var(--bg);
  border: 1px solid #666;
  border-radius: 6px;
  padding: 0 14px;
  color: var(--text);
  font-size: 16px;
}
input::placeholder {
  color: #aaa;
}
input[aria-invalid="true"] {
  border-color: #ffb4ab;
}
.contact-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.contact-switch {
  display: inline-block;
  min-height: 44px;
  margin-top: 4px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
  cursor: pointer;
}
.contact-switch:disabled { opacity: 0.65; cursor: wait; }
#sms-note { margin: -4px 0 18px; }
input[type="checkbox"] {
  accent-color: var(--red);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0 0;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
  color: #bdbdbd;
  margin: 12px 0;
  cursor: pointer;
}
.signup .primary {
  width: 100%;
}
.privacy-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 12px 0 0;
}
.privacy-note a {
  display: inline-block;
  padding-block: 8px;
}
#form-status {
  font-size: 15px;
  line-height: 1.5;
  margin: 14px 0 0;
  overflow-wrap: anywhere;
}
#form-status:empty {
  display: none;
}
#form-status.error {
  color: #ffb4ab;
}
#preview-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 12px 0 0;
}
.trap {
  position: absolute;
  left: -10000px;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 10px;
  left: 20px;
  padding: 15px;
  z-index: 10;
  background: var(--bg);
}
.app-tour {
  padding-block: 40px 48px;
}
.tour-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.tour-heading h2 {
  margin-bottom: 8px;
}
.tour-help {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.tour-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.tour-actions[hidden] {
  display: none;
}
.tour-arrow {
  height: 44px;
  width: 44px;
  border: 1px solid #666;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}
.tour-arrow:hover:not(:disabled) {
  border-color: var(--red);
  color: var(--red);
}
.tour-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.app-screens {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  list-style: none;
  margin: 0;
  padding: 6px 6px 24px;
  scrollbar-width: thin;
  scrollbar-color: #666 transparent;
}
.app-screens > li {
  flex: 0 0 248px;
  scroll-snap-align: start;
  min-width: 0;
}
.screen-open {
  display: block;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  width: 100%;
  cursor: zoom-in;
  line-height: 0;
}
.screen-open img {
  display: block;
  width: 100%;
  height: auto;
}
.screen-open:hover {
  border-color: #777;
}
.screen-copy {
  padding-top: 18px;
}
.screen-copy h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.screen-copy p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
#screen-viewer {
  background: var(--bg);
  color: var(--text);
  border: 1px solid #444;
  border-radius: 8px;
  padding: 16px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  width: 460px;
  overflow: auto;
}
#screen-viewer::backdrop {
  background: rgba(0, 0, 0, 0.88);
}
.viewer-header,
.viewer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.viewer-header {
  margin-bottom: 12px;
}
.viewer-header h2 {
  font-size: 18px;
  margin: 0;
}
.viewer-header button,
.viewer-controls button {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 0;
  min-height: 44px;
  cursor: pointer;
  font-size: 15px;
}
.viewer-header button:hover,
.viewer-controls button:hover {
  color: var(--red);
}
#viewer-image {
  height: min(800px, calc(100dvh - 180px));
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: 20px;
}
.viewer-controls {
  margin-top: 12px;
}
.viewer-controls span {
  font-size: 14px;
  color: var(--muted);
}
body.viewing-screen {
  overflow: hidden;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer .brand {
  font-size: 18px;
}
footer > a:last-child {
  font-size: 14px;
  color: var(--muted);
  padding-block: 14px;
}
.document {
  max-width: 680px;
  margin: 48px auto;
  padding: 0 24px;
  line-height: 1.7;
}
.document h1 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-top: 32px;
}
.document p {
  color: #bdbdbd;
}
.document .primary {
  margin-top: 16px;
}
@media (max-width: 850px) {
  .hero {
    gap: 28px;
  }
  .waitlist {
    gap: 32px;
  }
  .preview {
    gap: 10px;
  }
  .phone {
    border-radius: 18px;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 76px;
  }
  .brand {
    font-size: 21px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 24px 32px;
  }
  h1 {
    font-size: clamp(34px, 9vw, 44px);
    letter-spacing: -1.2px;
  }
  .intro > .primary {
    width: 100%;
    min-height: 52px;
  }
  .lede {
    font-size: 17px;
    margin-block: 20px;
  }
  .preview {
    width: 100%;
    max-width: 420px;
    justify-self: center;
    gap: 12px;
  }
  .waitlist {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px;
  }
  .waitlist h2,
  .tour-heading h2 {
    font-size: 26px;
  }
  .waitlist-copy {
    display: contents;
  }
  .waitlist-copy h2 {
    margin-bottom: -12px;
  }
  .waitlist-copy > p {
    margin: 0;
  }
  .signup {
    grid-row: 3;
  }
  .qr-block {
    margin-top: 0;
    padding-top: 8px;
  }
  .tour-heading {
    gap: 12px;
  }
  .tour-actions {
    gap: 8px;
  }
  .tour-help {
    font-size: 14px;
    max-width: 220px;
  }
  .app-tour {
    padding-block: 24px 32px;
  }
  .app-screens {
    gap: 20px;
  }
  .app-screens > li {
    flex-basis: min(248px, 78vw);
  }
  .stores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }
  .store-badge {
    justify-content: center;
    gap: 7px;
    padding: 10px 8px;
    min-height: 56px;
  }
  .store-badge svg { width: 23px; height: 28px; }
  .store-badge small { font-size: 10px; }
  .store-badge strong { font-size: clamp(16px, 4.3vw, 20px); }
  .hero { gap: 24px; }
  .preview { max-width: 360px; }
  .signup .primary { min-height: 52px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .header { gap: 12px; min-height: 68px; }
  .store-badge { gap: 5px; padding-inline: 6px; }
  .store-badge svg { width: 20px; }
  .qr-block { gap: 12px; }
  .tour-heading { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

[hidden] {
  display: none !important;
}
