/* apps.streamline.quest in the Milk design system 0.13: milk-white neutrals, Inter, Milk's
   card ring and chips, and its peacock (mor) for links. No inline styles; device.js picks
   which store badge each visitor sees. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --raised: #f8f8f5;
  --line: #eaeae5;
  --line-strong: #dfdfd9;
  --muted: #686864;
  --body: #33332f;
  --ink: #151513;
  --link: #006f8a;
  --mor: #0081a0;
  --focus: #3582ff;
  --depth: 0 6px 3px 0 rgba(40, 40, 44, 0.009), 0 3px 3px 0 rgba(40, 40, 44, 0.017), 0 1px 1px 0 rgba(40, 40, 44, 0.017);
  --card-hover: 0 2px 8px -4px rgba(40, 40, 44, 0.212);
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--raised);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { display: block; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 16px 32px;
}

/* Header */

.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.logo {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), var(--depth);
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--link);
}

h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0;
  max-width: 340px;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--body);
}

/* App cards */

.apps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px 14px;
  padding: 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), var(--depth);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(21, 21, 19, 0.06);
}

.info { min-width: 0; align-self: center; }

h2 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.info p {
  margin: 0;
  font-size: 15px;
  line-height: 22.5px;
  letter-spacing: -0.01em;
  color: var(--body);
}

.get {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.badge {
  display: inline-block;
  line-height: 0;
  border-radius: 9px;
}

.badge img { height: 44px; width: auto; }

/* Milk's chip, with the mor dot milkboard.io uses for "coming soon". */
.later {
  display: none;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.later::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--mor);
}

/* Milk's secondary button, for a product that lives on the web. */
.site-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ededea, var(--line-strong));
  box-shadow: 0 3px 4px -1px rgba(40, 40, 44, 0.128), 0 1px 0 0 rgba(255, 255, 255, 0.33) inset, 0 0 0 1px #d6d6d0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-button:hover {
  box-shadow: 0 3px 8px -2px rgba(40, 40, 44, 0.255), 0 1px 0 0 rgba(255, 255, 255, 0.7) inset, 0 0 0 1px #e7e7e3;
}

.site-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Which store each device sees (device.js sets data-device; without it, every badge shows). */
[data-device="android"] .apple { display: none; }
[data-device="ios"] .play { display: none; }
[data-device="ios"] .later { display: inline-flex; }

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.foot a { text-decoration: none; color: var(--ink); }

.foot a:hover { color: var(--link); }

.foot p {
  flex-basis: 100%;
  margin: 12px 0 0;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--muted);
}

@media (min-width: 640px) {
  .page { padding-top: 72px; }
  h1 { font-size: 44px; }
}
