:root {
  --blue: #1b4fd8;
  --blue-deep: #12379b;
  --orange: #ff9a4d;
  --ink: #0f1830;
  --muted: #4a5573;
  --bg: #f6f7fb;
  --card: #ffffff;
  --line: #dde2ef;
  --accent: var(--blue);
  --error: #b42318;
  --ok: #067647;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1fa;
    --muted: #a9b3cc;
    --bg: #0b1226;
    --card: #131c36;
    --line: #26314f;
    --accent: #6e95ff;
    --error: #ff8a80;
    --ok: #6ce9a6;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.top, main, .foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { border-radius: 8px; }

.top-cta {
  font-weight: 600;
  text-decoration: none;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 850;
}

h1 em {
  font-style: normal;
  color: var(--orange);
}

.lede {
  margin: 0 0 28px;
  max-width: 34em;
  color: var(--muted);
  font-size: 19px;
}

.lede strong { color: var(--ink); }

.button {
  display: inline-block;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.button:hover { background: var(--blue-deep); }
.button:disabled { opacity: 0.6; cursor: default; }

.fine {
  color: var(--muted);
  font-size: 14px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
}

.platform-pill svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* An iPhone: the app's screenshot in a black bezel, with the Dynamic Island drawn over the top
   so every screenshot looks the same. */
.phone {
  position: relative;
  aspect-ratio: 644 / 1400;
  border: 9px solid #0b0b0f;
  border-radius: 46px;
  overflow: hidden;
  background: #0b0b0f;
  box-shadow: 0 0 0 1px #3a3d45, 0 30px 60px -20px rgba(15, 24, 48, 0.45);
}

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

.phone::after {
  content: "";
  position: absolute;
  top: 1.4%;
  left: 50%;
  width: 31%;
  height: 4.1%;
  border-radius: 999px;
  background: #0b0b0f;
  transform: translateX(-50%);
}

.hero-phones {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 40px 0;
}

/* A blue disc behind the phone, the app icon's color. */
.hero-phones::before {
  content: "";
  position: absolute;
  width: min(460px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4d7bff, var(--blue) 70%);
}

.hero-phones .phone { width: 290px; }

/* Sections */

section { padding: 56px 0; }

h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards + .cards { margin-top: 16px; }

/* The two things Skipstop does better than other apps, given more room. */
.cards.primary { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.cards.primary li { padding: 32px; }
.cards.primary h3 { font-size: 24px; }
.cards.primary p { font-size: 17px; }
.cards.primary li { display: flex; flex-direction: column; }
.cards.primary .phone {
  width: min(260px, 80%);
  margin: 28px auto -120px;
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
}
.cards.primary li { overflow: hidden; }
.cards.primary li > p { flex: 1; }

.cards li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}

.cards li::before {
  content: "";
  display: block;
  width: 36px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: var(--orange);
}

.cards h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.cards p { margin: 0; color: var(--muted); font-size: 16px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 56px 20px 20px;
  border-top: 6px solid var(--blue);
  color: var(--muted);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -21px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 6px solid var(--blue);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
}

.steps strong { display: block; color: var(--ink); }

/* Waitlist */

.join {
  margin: 24px 0;
  padding: 48px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
}

.join > p { max-width: 40em; color: var(--muted); }

.waitlist {
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin-top: 28px;
}

.waitlist label, .waitlist legend { font-weight: 600; font-size: 15px; }

.waitlist input[type="email"], .waitlist input[type="text"] {
  width: 100%;
  margin-bottom: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.waitlist input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-color: var(--accent);
}

.waitlist fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

.waitlist legend { width: 100%; margin-bottom: 8px; }

.choice { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; }
.choice input { accent-color: var(--blue); width: 18px; height: 18px; }

.optional { color: var(--muted); font-weight: 400; }

.waitlist .button { justify-self: start; margin-top: 6px; }

.status { min-height: 1.5em; margin: 4px 0 0; font-weight: 600; }
.status.ok { color: var(--ok); }
.status.error { color: var(--error); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */

.faq details {
  max-width: 760px;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 18px 0;
  font-weight: 700;
  cursor: pointer;
}

.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 32px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.foot p { margin: 0; }

/* Plain text pages */

.prose { max-width: 720px; padding: 24px 0 64px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); }
.prose h2 { margin-top: 40px; font-size: 24px; }
.prose p, .prose li { color: var(--muted); }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 32px; }
  .hero-phones .phone { width: 240px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .join { padding: 28px 20px; }
}
