/* Arca Holdings. Light and dark follow the device. No scripts. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --text: #141414;
  --body: #2B2B2B;
  --muted: #5C5C5C;
  --rule: #E2E2E2;
  --underline: #A8A8A8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --text: #EDEDED;
    --body: #D4D4D4;
    --muted: #A3A3A3;
    --rule: #2E2E2E;
    --underline: #6B6B6B;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: clamp(28px, 5vw, 56px) clamp(24px, 6vw, 64px) clamp(40px, 8vw, 96px);
  background: var(--bg);
  color: var(--text);
  font-family: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

p, ul, dl, dd, figure { margin: 0; }

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

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

a:hover { text-decoration-color: currentColor; }

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

.muted { color: var(--muted); }

/* The name and the menu, on every page */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: clamp(4px, 3vw, 28px);
}

.brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }

.site-header nav a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a:hover { color: var(--text); }

.site-header nav a[aria-current="page"] { color: var(--text); font-weight: 500; }

/* Headings and opening lines */

h1 {
  margin: 0;
  font-size: clamp(30px, 3.2vw + 12px, 36px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.intro { display: flex; flex-direction: column; gap: 12px; }

.intro p { font-size: 18px; line-height: 1.45; color: var(--body); }

.intro .status { font-size: 15px; line-height: 1.5; color: var(--muted); }

.lede { font-size: 17px; line-height: 1.55; color: var(--body); }

/* A part of a page, under a rule */

.part {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.part > p { font-size: 16px; line-height: 1.6; color: var(--body); }

/* An app: its icon, name and a line about it */

.app {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--text);
  text-decoration: none;
}

.app img { width: 52px; height: 52px; flex: none; }

.app-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.app-name { font-size: 19px; font-weight: 500; line-height: 1.25; }

.app-summary { font-size: 16px; line-height: 1.45; color: var(--body); }

.app-status { font-size: 14px; line-height: 1.45; color: var(--muted); }

.app-title { display: flex; gap: 16px; align-items: center; }

.app-title img { width: 60px; height: 60px; flex: none; }

/* Screenshots, three across */

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 2.4vw, 16px);
}

.shots figure { display: flex; flex-direction: column; gap: 8px; }

.shots img {
  display: block;
  width: 100%;
  aspect-ratio: 664 / 1440;
  border: 1px solid var(--rule);
  border-radius: clamp(10px, 2.6vw, 18px);
}

.shots figcaption { font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }

/* Short points: a few words in bold, a line or two under them */

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px 32px;
}

.points div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.points dt { font-size: 16px; font-weight: 600; line-height: 1.35; }

.points dd { font-size: 15px; line-height: 1.55; color: var(--body); }

/* Plain facts: a label, then what it is */

.facts {
  display: grid;
  grid-template-columns: minmax(96px, max-content) minmax(0, 1fr);
  gap: 10px 24px;
  font-size: 16px;
  line-height: 1.5;
}

.facts dt { color: var(--muted); }

.facts dd { color: var(--body); overflow-wrap: anywhere; }

.facts dd span { display: block; font-size: 14px; color: var(--muted); }

@media (max-width: 480px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts dd { margin-bottom: 14px; }
  .facts dd:last-child { margin-bottom: 0; }
}

.links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; font-weight: 500; }

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

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

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

/* Privacy */

.doc { gap: 36px; }

.doc-header { display: flex; flex-direction: column; gap: 10px; }

.updated { font-size: 14px; line-height: 1.5; color: var(--muted); }

.doc-header .lede { margin-top: 8px; }

.doc section { display: flex; flex-direction: column; gap: 10px; }

.doc section p,
.doc section ul {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}

.doc section ul { padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; }
