/* sevenrack.com (TILT-94). The app's palette (apps/web/src/styles/tokens.css),
   system fonts only: nothing is loaded from another origin. */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1b1f2a;
  --muted: #5c6370;
  --primary: #3b5bdb;
  --border: #dfe3ec;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1f2a;
    --surface: #232838;
    --text: #f6f7fb;
    --muted: #a8afbf;
    --primary: #748ffc;
    --border: #353b4f;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
}
a {
  color: var(--primary);
}
/* Widths (SRCK-130): the home page uses a laptop's width (up to 72rem);
   the privacy and support pages keep a readable text column. The side
   gutter grows from 1rem on phones to 2.5rem on wide screens. */
.site-header,
main,
.site-footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
main.page-text {
  max-width: 50rem;
}
.page-home .hero p {
  max-width: 46rem;
}
@media (max-width: 34rem) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 1.75rem;
  }
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}
.brand img {
  border-radius: 8px;
}
nav {
  display: flex;
  gap: 1rem;
}
nav a {
  text-decoration: none;
}
nav a[aria-current='page'] {
  color: var(--text);
  font-weight: 600;
}
main {
  padding-bottom: 2rem;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 1.5rem 0 0.5rem;
}
h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}
.lede {
  font-size: 1.2rem;
  color: var(--muted);
}
.meta {
  color: var(--muted);
  font-size: 0.95rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.card,
.summary,
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.card {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.card h2 {
  margin: 0 0 0.25rem;
  color: var(--primary);
}
.card p {
  margin: 0;
  color: var(--muted);
}
.summary {
  padding: 0.25rem 1.25rem;
}
.summary h2 {
  margin-top: 1rem;
}
details {
  margin: 0.75rem 0;
  padding: 0.75rem 1.25rem;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin: 0.5rem 0 0;
}
code {
  font-size: 0.9em;
}
.site-footer {
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}
/* Home hero (SRCK-129): the Play feature graphic as a banner. The h1 stays
   for screen readers and search; the banner already shows the name. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hero__banner {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 32px -12px rgb(59 91 219 / 0.45);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}
.hero__cta span {
  color: var(--muted);
  font-size: 0.95rem;
}
.button {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  /* The light theme's blue in both themes: white text stays at 6:1. */
  background: #3b5bdb;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  filter: brightness(1.08);
}
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Screenshots (SRCK-129): three per row on wider screens, a swipeable strip
   on phones. */
.shots__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.shots figure {
  margin: 0;
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 24px -14px rgb(27 31 42 / 0.5);
}
.shots figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
}
.shots figcaption b {
  display: block;
  color: var(--text);
}
.shots__tablet {
  max-width: 22rem;
  margin: 1.75rem auto 0 !important;
}
@media (max-width: 34rem) {
  .shots__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }
  .shots__list li {
    flex: 0 0 58%;
    scroll-snap-align: start;
  }
}

/* Get the app (SRCK-129): one row per device. Apple asks for at least
   40 px of badge height and clear space around it (SRCK-126). */
.get {
  scroll-margin-top: 1rem;
}
.get__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.get__table th,
.get__table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--border);
}
.get__table thead th {
  border-top: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.get__table tbody th {
  white-space: nowrap;
}
.get__table p {
  margin: 0 0 0.5rem;
}
.get__table ol {
  margin: 0 0 0.5rem;
  padding-left: 1.4rem;
}
.get__table li + li {
  margin-top: 0.35rem;
}
.get__badge {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0.5rem;
}
.get__badge img {
  height: 48px;
  width: auto;
}
.get__note {
  font-size: 0.9rem;
  color: var(--muted);
}
.pill {
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill--live {
  background: rgb(47 158 68 / 0.15);
  color: #237a36;
}
.pill--beta {
  background: rgb(240 140 0 / 0.16);
  color: #a35a00;
}
@media (prefers-color-scheme: dark) {
  .pill--live {
    color: #69db7c;
  }
  .pill--beta {
    color: #ffc078;
  }
}
/* Phones: each device becomes a card; the column headings are dropped. */
@media (max-width: 34rem) {
  .get__table,
  .get__table tbody,
  .get__table tr,
  .get__table th,
  .get__table td {
    display: block;
  }
  .get__table thead {
    display: none;
  }
  .get__table tbody th {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    padding-bottom: 0.25rem;
  }
  .get__table tbody tr + tr th {
    border-top: 1px solid var(--border);
  }
  .get__table td {
    border-top: 0;
    padding-top: 0.25rem;
  }
  .get__table tbody tr:first-child th {
    border-top: 0;
  }
}

/* Laptops and wider (SRCK-130): banner beside the intro, all six
   screenshots in one row. */
@media (min-width: 60rem) {
  .page-home .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 2.5rem;
    align-items: center;
    margin-top: 1rem;
  }
  .page-home .hero__banner {
    grid-row: 1 / span 4;
    margin: 0;
  }
  .page-home .hero .lede {
    margin-top: 0;
    font-size: 1.35rem;
  }
  .shots__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  /* The download table and the iPad shot share a row. */
  .duo {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
  .duo .shots__tablet {
    margin: 4.25rem 0 0 !important;
    max-width: none;
  }
}
