@font-face {
  font-family: 'Figtree';
  src: url('fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
/* The app's own colours (src/renderer/src/styles.css): teal for actions, the apple's red as the brand. */
:root {
  --bg: #ffffff;
  --bg-soft: #f2f4f3;
  --text: #17211f;
  --muted: #55615e;
  --accent: #0e5a5a;
  --accent-hover: #093f3f;
  --accent-text: #ffffff;
  --link: #0e5a5a;
  --border: #dfe4e2;
  --focus: #0e5a5a;
  --gutter: 16px;
  --head: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    1.0625rem/1.65 'Figtree',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  overflow-wrap: break-word;
}
a {
  color: var(--link);
  text-underline-offset: 0.15em;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  background: var(--bg);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}
.skip:focus {
  top: 0.5rem;
}
.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wide {
  max-width: 64rem;
}
header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
}
nav a {
  display: inline-block;
  padding: 0.4rem 0;
}
main {
  padding-bottom: 3rem;
}
h1,
h2,
h3 {
  font-family: var(--head);
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 2rem 0 1rem;
}
h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
}
h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
}
.hero {
  background: var(--bg-soft);
  padding: 1.5rem 0 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.8rem 1.4rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
}
.btn-secondary {
  background: transparent;
  color: var(--link);
  border: 2px solid var(--accent);
  cursor: pointer;
  list-style: none;
}
.btn-secondary::-webkit-details-marker {
  display: none;
}
.btn-secondary:hover {
  background: var(--bg);
}
details.mac {
  margin: 0 0 1rem;
}
/* The sign-up forms: Mac (inside its details) and the launch list. */
.notify {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
  max-width: 24rem;
}
.notify input[type='email'] {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  min-height: 44px;
}
/* "Windows only for now" above the invite note. */
.platform {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}
/* "The beta is invite-only": the download link is in the invite email. */
.invite {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 0.4rem 0.4rem 0;
}
/* The launch sign-up: a full-width teal band between the hero and the rest of the page. */
.launch {
  background: var(--accent);
  color: var(--accent-text);
  padding: 2rem 0 2.25rem;
  text-align: center;
}
.launch h2 {
  margin: 0;
}
.launch .notify {
  margin: 1rem auto 0;
  max-width: 32rem;
}
.launch .notify input[type='email'] {
  background: var(--bg);
}
/* Amber, so the button stands out from the teal and from the white email box. */
.launch .btn {
  background: #f5b942;
  color: var(--text);
}
.launch .btn:hover {
  background: #e8a825;
}
.launch .btn-note,
.launch a {
  color: var(--accent-text);
}
.launch :focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
button.btn {
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  justify-content: center;
}
.btn:hover {
  background: var(--accent-hover);
}
.btn-note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
figure {
  margin: 1.5rem 0;
}
.guide video {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
}

.guide img {
  max-width: 100%;
  height: auto;
}
.tour {
  margin: 0 0 2rem;
}
.tour-lead {
  margin: 0 0 0.75rem;
}
.tour video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--bg-soft);
}
figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}
figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
.hero h1 {
  margin-top: 0.75rem;
}
.hero figure {
  margin: 0;
}
.hero-film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--bg-soft);
}
/* "button." outweighs the plain button.btn and .btn:hover rules further down. */
button.btn.hero-sound {
  margin-top: 0.75rem;
  border: 2px solid var(--accent);
}
button.btn.hero-sound:hover {
  background: var(--bg);
}
/* The privacy notice's opt-out (ADR-096): hidden until track.js can run it. */
button.btn.stats-choice {
  border: 2px solid var(--accent);
}
button.btn.stats-choice:hover {
  background: var(--bg-soft);
}
button.btn.stats-choice[hidden] {
  display: none;
}
ul.ticks {
  list-style: none;
  padding: 0;
}
ul.ticks li {
  padding-left: 1.75rem;
  position: relative;
}
ul.ticks li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.45em;
  width: 0.45rem;
  height: 0.8rem;
  border: solid var(--accent);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}
.callout {
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
}
.callout p {
  margin: 0.4rem 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.95rem;
}
th,
td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--bg-soft);
}
.note {
  color: var(--muted);
  font-size: 0.95rem;
}
footer.site {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
footer.site ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
footer.site a {
  color: var(--link);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 2.5rem;
}
footer.site .brand {
  margin-right: 0;
  color: var(--text);
}
footer.site p {
  margin: 0;
}
li + li {
  margin-top: 0.35rem;
}
nav li + li,
footer.site li + li {
  margin-top: 0;
}
/* The video needs room for its words, so the hero is wider than the rest of the page, and its two
   columns sit side by side only on a wide screen. */
@media (min-width: 68rem) {
  .hero .wide,
  body:has(.hero-film) header.site .wide,
  body:has(.hero-film) footer.site .wide,
  body:has(.hero-film) .launch .wide {
    max-width: 82rem;
  }
  .hero-grid {
    grid-template-columns: 1fr 1.7fr;
    gap: 2.5rem;
  }
  /* Level with the top of the headline. */
  .hero figure {
    margin-top: 1rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: background-color 0.15s;
  }
}
@media (min-width: 40rem) {
  :root {
    --gutter: 24px;
  }
  h1 {
    font-size: 2.5rem;
  }
}
/* The blog. */
.post-picture,
.post-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.post-picture {
  margin: 1.25rem 0;
}
.post-card img {
  aspect-ratio: 5 / 2;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.post-list {
  list-style: none;
  padding: 0;
}
.post-card {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.post-card[hidden] {
  display: none;
}
.post-card h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.25rem;
}
.post-card p {
  margin: 0;
}
.post-meta {
  color: var(--muted);
  font-size: 0.95rem;
}
.post-card .post-cat {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.blog-search input {
  display: block;
  width: 100%;
  font: inherit;
  padding: 0.6rem 0.7rem;
  margin-top: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  min-height: 44px;
}
.categories ul,
.post-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0;
}
.categories li + li,
.post-tags li + li {
  margin-top: 0;
}
.categories a,
.post-tags li {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.95rem;
  text-decoration: none;
}
.categories a[aria-current='page'] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}
.blog-cta {
  margin: 2.5rem 0 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--bg-soft);
}
.blog-cta h2 {
  margin: 0 0 0.25rem;
}
