/* Oasis Core site. The palette, type and rules follow the family's design language:
   navy ground, ink, one accent that means "the action" or "on", type before boxes. */

:root {
  --page: #081021;
  --surface: #101c31;
  --raised: #182842;
  --ink: #f2f6fb;
  --muted: #a9b9cc;
  --faint: #7589a3;
  --accent: #3cc8f5;
  --on-accent: #041220;
  --line: #213452;
  --amber: #f5b03c;
  --wrap: 1080px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --page: #eef0f4;
    --surface: #ffffff;
    --raised: #e4e8ec;
    --ink: #0a0f14;
    --muted: #414c55;
    --faint: #6e7a84;
    --accent: #0a66c8;
    --on-accent: #ffffff;
    --line: #dbe0e5;
    --amber: #a05a00;
    color-scheme: light;
  }
}

* { 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(--page);
  color: var(--ink);
  font-family: "MiSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */

.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 28px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 8px;
  color: var(--ink); text-decoration: none;
}
.wordmark:hover { text-decoration: none; }
.wordmark img { width: 30px; height: 30px; align-self: center; margin-right: 2px; }
.wordmark b { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.wordmark span { font-size: 12px; letter-spacing: 0.32em; color: var(--muted); }

.site-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-nav a { color: var(--muted); font-size: 15px; padding: 4px 0; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: 0 2px 0 var(--accent); }

/* Type */

h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 19px; letter-spacing: 0; }
p { margin: 0; }

.label {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; }
.quiet { color: var(--muted); }
.small { font-size: 14.5px; color: var(--faint); }

section { padding: 72px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
section > .wrap > h2 + .lede { margin-top: 14px; }

/* Status pill */

.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 12px;
}
.status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
}

/* Hero */

.hero { padding: 72px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 80px; }
.hero h1 { margin: 22px 0 20px; }
.hero .lede + .actions { margin-top: 30px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.button {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 16px; padding: 12px 22px; border-radius: 12px;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
.more { font-weight: 700; }
.more::after { content: " \2192"; }

/* Player screens */

.screens { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.screen {
  flex: 0 1 220px; aspect-ratio: 480 / 766; overflow: hidden;
  border-radius: 22px 22px 0 0; border: 1px solid var(--line); border-bottom: 0;
  background: #000; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.screens .screen:nth-child(2) { flex-basis: 250px; }
.screens.row { align-items: stretch; }
.screens.row .screen { border-radius: 22px; border-bottom: 1px solid var(--line); flex-basis: 230px; }
.caption { margin-top: 18px; text-align: center; }

/* Products on the front page */

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.product img { width: 76px; height: 76px; margin-bottom: 18px; }
.product h3 { font-size: 22px; }
.product .for { color: var(--muted); font-size: 15px; margin: 4px 0 12px; }
.product p + p { margin-top: 12px; }

/* Lists of features: a name, a quieter line, a hairline */

.features { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.features li { padding: 18px 0; border-top: 1px solid var(--line); }
.features h3 { margin-bottom: 5px; }
.features p { color: var(--muted); font-size: 16px; }
.features.three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }

.tag {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); border: 1px solid currentColor; border-radius: 6px; padding: 1px 7px;
  margin-left: 8px; vertical-align: 2px; font-weight: 400;
}

/* Two columns of prose */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split > div > * + * { margin-top: 14px; }

.plain { margin: 18px 0 0; padding: 0; list-style: none; }
.plain li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); }
.plain li b { color: var(--ink); font-weight: 700; }

/* Tables: free and Pro, players */

table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 16px; }
th, td { text-align: left; padding: 13px 16px 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
tbody th { font-weight: 700; }
td { color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* Page heads on inner pages */

.page-head { padding: 64px 0 56px; }
.page-head .wrap { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; align-items: start; }
.page-head img { width: 96px; height: 96px; }
.page-head h1 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 14px; }
.page-head .status { margin-top: 22px; }
.page-head.plain-head .wrap { display: block; }

/* What's coming */

.timeline { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.timeline h3 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.timeline .when { font-size: 22px; font-weight: 700; margin-bottom: 8px; }

/* Questions */

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin-top: 10px; max-width: 46em; }
details p + p { margin-top: 10px; }

.note {
  margin-top: 30px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--muted); font-size: 16px;
}
.note b { color: var(--ink); }

/* Footer */

.site-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--faint); font-size: 14.5px; }
.site-foot .wrap { display: grid; gap: 14px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--muted); }
.site-foot p { max-width: 62em; }

/* Narrow screens */

@media (max-width: 860px) {
  section { padding: 56px 0; }
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-bottom: 0; }
  .products, .timeline, .features.three { grid-template-columns: 1fr; gap: 36px; }
  .features, .features.three { grid-template-columns: 1fr; gap: 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .page-head .wrap { grid-template-columns: 1fr; gap: 20px; }
  .page-head img { width: 76px; height: 76px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .screens { gap: 10px; }
  .screens.row { flex-wrap: wrap; }
  .screens.row .screen { flex-basis: 44%; }
  .site-nav { gap: 4px 18px; }
}

/* Desktop screenshots */

.shot { margin: 36px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); background: var(--surface); }
.shot img { width: 100%; height: auto; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; gap: 0; } .shot { margin-top: 24px; border-radius: 10px; } }
@media (prefers-color-scheme: light) { .shot, .screen { box-shadow: 0 20px 50px rgba(20, 40, 80, 0.18); } }

/* Phone screenshots */

.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.phones:first-child { margin-top: 0; }
.phone { aspect-ratio: 9 / 20; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: #000; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; } .phone { border-radius: 20px; } }
@media (prefers-color-scheme: light) { .phone { box-shadow: 0 20px 50px rgba(20, 40, 80, 0.18); } }
