/* Accept All Cookies: one stylesheet for every page. No web fonts, no external requests. */

:root {
  color-scheme: light dark;
  --page: #ffffff;
  --sunk: #f6f5f3;
  --raised: #ffffff;
  --ink: #1e1915;
  --ink-2: #5f5750;
  --rule: #e8e5e1;
  --rule-strong: #d6d1cb;
  --accent: #8c4a17;
  --shadow: 30 25 21;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #141110;
    --sunk: #1b1816;
    --raised: #221e1b;
    --ink: #f2ede8;
    --ink-2: #aba299;
    --rule: #2e2925;
    --rule-strong: #403a35;
    --accent: #e5ac72;
    --shadow: 0 0 0;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -3rem;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--page);
  border-radius: 8px;
  z-index: 2;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: 100%;
  max-width: calc(66rem + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 3.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 1.625rem;
  height: 1.625rem;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: 0.9375rem;
}

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

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--ink);
}

.site-header nav a[aria-current="page"] {
  font-weight: 600;
}

/* Reading pages: privacy, terms, support, legal */

.doc {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.doc > * {
  max-width: var(--measure);
}

h1,
h2,
h3 {
  font-weight: 650;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  margin: 3rem 0 0.75rem;
}

h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  margin: 2rem 0 0.4rem;
}

p,
ul,
ol,
dl,
address {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.4rem;
}

li::marker {
  color: var(--ink-2);
}

address {
  font-style: normal;
}

strong {
  font-weight: 600;
}

.updated {
  color: var(--ink-2);
  font-size: 1.0625rem;
  margin-bottom: 2.25rem;
}

.summary {
  background: var(--sunk);
  border: 1px solid var(--rule);
  border-radius: 1.125rem;
  padding: 1.5rem 1.5rem 0.5rem;
  margin: 2rem 0 1rem;
}

.summary h2 {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
}

/* Legal notice details */

.facts {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
  margin-bottom: 2rem;
}

.facts dt,
.facts dd {
  margin: 0;
}

.facts dt {
  color: var(--ink-2);
  font-size: 0.875rem;
  padding-top: 0.8rem;
}

.facts dd {
  padding: 0.1rem 0 0.8rem;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 38rem) {
  .facts {
    grid-template-columns: 14rem 1fr;
  }

  .facts dt,
  .facts dd {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .facts dt {
    font-size: inherit;
    padding-right: 1.5rem;
  }
}

.translation {
  margin-top: 3.5rem;
  border-top: 1px solid var(--rule-strong);
}

.translation h2 {
  margin-top: 2.5rem;
}

/* Home */

.hero {
  display: grid;
  gap: 3rem;
  align-items: end;
  padding-top: clamp(3rem, 9vw, 7.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.hero h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 11em;
  margin-bottom: 1.5rem;
}

.lede {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32rem;
  margin: 0;
}

/* The cookie settings panel: a quiet joke on the name, and a true one. */

.jar {
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  padding: 1.25rem 1.375rem 1.125rem;
  max-width: 22rem;
  margin: 0;
  box-shadow:
    0 1px 2px rgb(var(--shadow) / 0.05),
    0 18px 40px -18px rgb(var(--shadow) / 0.28);
}

.jar-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.jar-title img {
  width: 1.5rem;
  height: 1.5rem;
}

.jar dl {
  margin: 0;
  font-size: 0.9375rem;
}

.jar dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule);
}

.jar dt,
.jar dd {
  margin: 0;
}

.jar dd {
  color: var(--ink-2);
}

.jar figcaption {
  border-top: 1px solid var(--rule);
  padding-top: 0.8rem;
  font-weight: 600;
}

@media (min-width: 52rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 4rem;
  }
}

/* Home sections: heading in a left rail, content to the right. */

.section {
  display: grid;
  gap: 1.5rem;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--rule);
}

.section > h2 {
  margin: 0;
  font-size: 1.375rem;
}

.section-intro {
  color: var(--ink-2);
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  max-width: 14rem;
}

@media (min-width: 52rem) {
  .section {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 4rem;
  }
}

/* Apps */

.apps {
  display: grid;
  gap: 3.5rem;
}

.app {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.app + .app {
  border-top: 1px solid var(--rule);
  padding-top: 3.5rem;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.app-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgb(var(--shadow) / 0.08);
  flex: none;
}

.app h3 {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: -0.025em;
}

.app-tagline {
  margin: 0.15rem 0 0;
  color: var(--ink-2);
}

.app-text p {
  max-width: 32rem;
}

.app-note {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.status {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 500;
}

.shot {
  margin: 0;
  width: min(13rem, 64%);
}

.shot img {
  width: 100%;
  border-radius: 1.75rem;
  border: 1px solid var(--rule);
  box-shadow:
    0 1px 2px rgb(var(--shadow) / 0.06),
    0 24px 48px -24px rgb(var(--shadow) / 0.35);
}

@media (min-width: 40rem) {
  .app {
    grid-template-columns: minmax(0, 1fr) 13rem;
    gap: 3rem;
  }

  .shot {
    width: 100%;
  }
}

/* Principles */

.principles {
  display: grid;
  gap: 2rem 3rem;
  margin: 0;
}

.principles div {
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}

.principles dt {
  font-weight: 650;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.principles dd {
  margin: 0;
  color: var(--ink-2);
}

@media (min-width: 40rem) {
  .principles {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact */

.contact-mail {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.contact-mail a {
  color: var(--ink);
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.contact-mail a:hover {
  text-decoration-color: var(--accent);
}

.contact p {
  max-width: 34rem;
}

.contact address {
  color: var(--ink-2);
}

/* Not found */

.lost {
  padding-top: clamp(3rem, 10vw, 8rem);
  padding-bottom: clamp(3rem, 10vw, 8rem);
}

.lost .lede {
  margin-bottom: 2rem;
}

.lost ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.lost li + li {
  margin-top: 0;
}

/* Footer */

.site-footer {
  background: var(--sunk);
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer .wrap {
  padding-top: 2.25rem;
  padding-bottom: 2.75rem;
}

.site-footer p {
  margin: 0 0 0.75rem;
}

.site-footer a {
  color: var(--ink-2);
}

.site-footer a:hover {
  color: var(--ink);
}

.company {
  max-width: 44rem;
}

.company span {
  white-space: nowrap;
}

.company strong {
  color: var(--ink);
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.footer-links li + li {
  margin-top: 0;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  text-decoration: underline;
}

.site-footer .no-cookies {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
