:root {
  --ink: #1a3366;
  --ink-soft: #46598a;
  --sky: #549eed;
  --snow: #edf5ff;
  --ice: #cfe6fb;
  --scarf: #de383d;
  --gold: #ffc733;
  --card: #ffffff;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--scarf);
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 4.5rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(1040px, 100% - 40px);
  margin-inline: auto;
}

/* Top bar */

.bar {
  background: var(--card);
  border-bottom: 3px solid var(--ink);
}

.bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 22%;
}

.bar nav {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.bar nav a {
  text-decoration: none;
}

.bar nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

/* Home page hero */

.hero-art {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 520px;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  border-bottom: 3px solid var(--ink);
}

.hero {
  text-align: center;
  padding: 44px 0 56px;
}

.hero .icon {
  width: 112px;
  height: 112px;
  border-radius: 22%;
  margin: -100px auto 20px;
  border: 4px solid var(--card);
  box-shadow: 0 6px 0 rgba(26, 51, 102, 0.18);
  position: relative;
}

.hero p.lead {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  max-width: 34em;
  margin: 0 auto 1.4em;
  color: var(--ink-soft);
}

.button {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 30px;
  border-radius: 16px;
  border: 3px solid var(--ink);
  text-decoration: none;
}

.button.soon {
  background: var(--card);
  color: var(--ink);
  cursor: default;
}

.note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* Sections */

section {
  padding: 56px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 1.2em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

/* Screenshots: a row that scrolls sideways on narrow screens */

.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 20px 18px;
  scroll-snap-type: x mandatory;
  justify-content: safe center;
}

.shots img {
  width: 220px;
  flex: none;
  border-radius: 26px;
  border: 3px solid var(--ink);
  scroll-snap-align: center;
}

/* Video beside text */

.split {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.split video {
  width: 100%;
  border-radius: 26px;
  border: 3px solid var(--ink);
  background: var(--ice);
}

.split ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.split li {
  margin-bottom: 0.4em;
}

@media (max-width: 700px) {
  .split {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .split video {
    max-width: 280px;
  }
}

/* Privacy and support pages */

.page {
  padding: 48px 0 64px;
}

.page .wrap {
  width: min(720px, 100% - 40px);
}

.page h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.page h2 {
  font-size: 1.35rem;
  margin-top: 1.8em;
}

.page .updated {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.page li {
  margin-bottom: 0.5em;
}

.callout {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 1.4em 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

details {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 12px;
}

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

details[open] summary {
  margin-bottom: 0.6em;
}

details p:last-child,
details ul:last-child {
  margin-bottom: 0;
}

/* Footer */

footer {
  background: var(--ink);
  color: #fff;
  padding: 28px 0;
  font-size: 0.95rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: var(--gold);
}

footer nav {
  display: flex;
  gap: 20px;
}
