/* Safe Shuffle — one stylesheet for the whole site. No fonts, no scripts. */

:root {
  --bg: #f6f8f9;
  --tint: #edf1f3;
  --surface: #ffffff;
  --text: #0f1c24;
  --muted: #55626e;
  --line: #dbe2e7;
  --brand: #0d2a3a;
  --accent: #117d45;
  --accent-ink: #ffffff;
  --numeral: #0a6670;
  /* The app icon's own gradient, deepened so white text sits on it. */
  --grad-a: #0a6670;
  --grad-b: #2c2f7d;
  /* The little app panels are always dark, as the app is. */
  --app-bg: #0c1116;
  --app-row: #161d24;
  --app-text: #f2f5f7;
  --app-muted: #8c98a3;
  --app-green: #30d158;
  --app-orange: #ff9f0a;
  --app-blue: #0a84ff;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(16 24 40 / 5%), 0 10px 30px rgb(16 24 40 / 7%);
  --display:
    ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1117;
    --tint: #0f171e;
    --surface: #131c24;
    --text: #e8edf2;
    --muted: #9aa7b4;
    --line: #22303a;
    --brand: #f1f5f8;
    --accent: #2fbf71;
    --accent-ink: #06210f;
    --numeral: #4fc3c9;
    --app-bg: #070b0f;
    --shadow: none;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.55 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    sans-serif;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--app-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  padding: 18px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  color: var(--brand);
}

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

.site-header nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-header nav a:hover {
  color: var(--text);
}

/* The home page's top band: header and hero on the icon's gradient. */

.top {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #ffffff;
  overflow: hidden;
}

.top .brand,
.top .site-header nav a:hover {
  color: #ffffff;
}

.top .brand img {
  box-shadow: 0 0 0 1px rgb(255 255 255 / 25%);
}

.top .site-header nav a {
  color: rgb(255 255 255 / 82%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 36px;
}

.hero-copy {
  padding-bottom: 56px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 13ch;
  text-wrap: balance;
}

.hero p.lede {
  font-size: clamp(18px, 2.1vw, 21px);
  color: rgb(255 255 255 / 86%);
  max-width: 34ch;
  margin: 0 0 30px;
}

.cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  text-decoration: none;
}

.top .cta {
  background: #ffffff;
  color: #0d2a3a;
  box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
}

.cta-note {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.top .cta-note {
  color: rgb(255 255 255 / 78%);
}

/* The phone runs off the bottom of the band, so only its top is framed. */
.hero-phone {
  align-self: end;
  justify-self: center;
  width: min(300px, 100%);
  height: 500px;
  overflow: hidden;
}

.hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  border: 7px solid #05080b;
  border-bottom: 0;
  border-radius: 44px 44px 0 0;
  box-shadow: 0 24px 60px rgb(0 0 0 / 40%);
}

/* Sections */

section {
  padding: 72px 0;
}

section.tinted {
  background: var(--tint);
}

section[id] {
  scroll-margin-top: 12px;
}

section h2 {
  font-family: var(--display);
  font-size: clamp(27px, 3.6vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 12px;
  color: var(--brand);
  text-wrap: balance;
}

section .intro {
  color: var(--muted);
  font-size: 18px;
  max-width: 52ch;
  margin: 0 0 36px;
}

/* How it works: a real sequence, so it gets numerals and a rule. */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 32px;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  list-style: none;
  border-top: 2px solid var(--line);
  padding-top: 18px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--numeral);
  margin-bottom: 12px;
}

.steps h3,
.feature h3 {
  font-family: var(--display);
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--brand);
}

.steps p,
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Features: each one opens with a small piece of the app, drawn in CSS. */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 20px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 12px 22px;
  box-shadow: var(--shadow);
}

.feature h3,
.feature p {
  padding: 0 10px;
}

.vig {
  height: 168px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 12px;
  background: var(--app-bg);
  color: var(--app-text);
  font-size: 14px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.vig b {
  font-weight: 600;
}

.vig i {
  font-style: normal;
}

/* Queue */

.q-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 10px;
  background: var(--app-row);
}

.q-tile,
.a-tile {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 7px;
  background: #2a333c;
  color: var(--app-muted);
}

.q-tile {
  width: 30px;
  height: 30px;
}

.q-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.q-text i {
  font-size: 12px;
  color: var(--app-green);
}

.q-held {
  background: transparent;
  box-shadow: inset 0 0 0 1px #2a333c;
}

.q-held b {
  color: var(--app-muted);
  text-decoration: line-through;
}

.q-held i {
  color: var(--app-orange);
}

/* What's in a song */

.vig-content {
  gap: 9px;
}

.c-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.c-info {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--app-muted);
  border-radius: 50%;
  color: var(--app-muted);
  font:
    italic 700 12px/1 Georgia,
    serif;
}

.c-line {
  display: flex;
  align-items: center;
  gap: 9px;
}

.c-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--app-orange);
}

.c-source {
  font-size: 12px;
  color: var(--app-muted);
}

/* Caregiver PIN */

.vig-pin {
  align-items: center;
  gap: 14px;
}

.p-label {
  color: var(--app-muted);
  font-size: 13px;
}

.p-dots {
  display: flex;
  gap: 14px;
}

.p-dots span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--app-muted);
}

.p-dots span:nth-child(-n + 2) {
  background: var(--app-text);
  border-color: var(--app-text);
}

.p-actions {
  display: flex;
  gap: 8px;
  font-size: 12px;
}

.p-actions span {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--app-row);
  color: #6cb4ff;
}

.p-actions span + span {
  background: #5ac8d8;
  color: #062126;
}

/* In the car */

.vig-car {
  gap: 14px;
}

.s-bubble {
  align-self: flex-start;
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--app-row);
  font-size: 15px;
}

.s-caption {
  font-size: 12px;
  color: var(--app-muted);
}

/* Artwork */

.vig-art {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.a-tile {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  font-size: 26px;
}

.a-cover {
  background:
    radial-gradient(circle at 30% 30%, #ffd166 0 18%, transparent 19%),
    linear-gradient(135deg, #ef476f, #7b2cbf 60%, #3a86ff);
}

.a-arrow {
  color: var(--app-muted);
  font-size: 20px;
}

/* What's playing? */

.vig-listen {
  align-items: center;
  gap: 16px;
}

.l-bars {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 56px;
}

.l-bars span {
  width: 5px;
  height: 30%;
  border-radius: 3px;
  background: var(--app-blue);
}

.l-bars span:nth-child(2),
.l-bars span:nth-child(8) {
  height: 55%;
}

.l-bars span:nth-child(3),
.l-bars span:nth-child(7) {
  height: 80%;
}

.l-bars span:nth-child(4),
.l-bars span:nth-child(6) {
  height: 45%;
}

.l-bars span:nth-child(5) {
  height: 100%;
}

.l-result {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(48 209 88 / 16%);
  color: var(--app-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Screens */

.screens-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 40px;
  align-items: start;
}

.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 250px));
  justify-content: center;
  gap: 28px;
}

.screens figure {
  margin: 0;
}

.screens figure + figure {
  margin-top: 48px;
}

.screens img {
  width: 100%;
  height: auto;
  border: 6px solid #05080b;
  border-radius: 36px;
  box-shadow: var(--shadow);
  display: block;
}

.screens figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* Honest limits */

.honest-wrap,
.pricing-wrap,
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: start;
}

.limits {
  list-style: none;
  margin: 0;
  padding: 0;
}

.limits li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.limits li:last-child {
  border-bottom: 1px solid var(--line);
}

.limits strong {
  color: var(--text);
}

/* Pricing */

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 460px;
  box-shadow: var(--shadow);
}

.price {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.price small {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.price-note {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
}

.price-card li {
  position: relative;
  margin: 9px 0;
  padding-left: 28px;
}

/* A drawn check mark, in the accent color. */
.price-card li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.32em;
  width: 7px;
  height: 13px;
  border: solid var(--accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* FAQ */

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}

/* Document pages: privacy and support */

.doc {
  max-width: 44rem;
  padding: 24px 24px 64px;
  margin: 0 auto;
}

.doc h1 {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.15;
  margin: 8px 0 4px;
  color: var(--brand);
}

.doc h2 {
  font-size: 20px;
  margin-top: 32px;
}

.doc .updated {
  color: var(--muted);
  margin-top: 0;
}

.doc li {
  margin: 8px 0;
}

@media (max-width: 820px) {
  .hero,
  .screens-wrap,
  .honest-wrap,
  .pricing-wrap,
  .faq-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .hero-copy {
    padding-bottom: 36px;
  }
  .faq-wrap h2 {
    margin-bottom: 20px;
  }
  .hero-phone {
    width: min(270px, 80%);
    height: 380px;
  }
}

@media (max-width: 560px) {
  /* The links drop to their own row under the brand rather than vanish. */
  .site-header .wrap {
    flex-wrap: wrap;
  }
  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  section {
    padding: 52px 0;
  }
  .wrap,
  .doc {
    padding-left: 20px;
    padding-right: 20px;
  }
}
