/* No web fonts, no analytics, no third-party requests. A privacy policy page
   that phones home would be a poor advertisement for the policy. */
:root {
  color-scheme: light dark;
  --bg: #fbfbfa;
  --fg: #1a1a18;
  --muted: #5f5f58;
  --rule: #e3e3dd;
  --accent: #2f6f4f;
  --on-accent: #ffffff;
  --card: #ffffff;
  --shadow: rgba(14, 17, 22, .18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14140f;
    --fg: #ebebe4;
    --muted: #9a9a90;
    --rule: #2c2c25;
    --accent: #7fc9a0;
    --on-accent: #0f1a14;
    --card: #1c1c16;
    --shadow: rgba(0, 0, 0, .5);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.wrap.wide { max-width: 66rem; padding: 2rem 1.25rem 4rem; }
header.site { display: flex; align-items: baseline; gap: .6rem; margin-bottom: 2rem; }
.mark {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 650; font-size: 1.15rem; letter-spacing: -.01em;
  color: var(--fg); text-decoration: none;
}
.mark-icon { width: 22px; height: 22px; flex: none; }
.mark-text span { color: var(--accent); }
header.site .tag { color: var(--muted); font-size: .9rem; }
header.site .nav { margin-left: auto; color: var(--muted); font-size: .95rem; text-decoration: none; }
header.site .nav:hover { color: var(--accent); }
h1 { font-size: 3.2rem; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .75rem; text-wrap: pretty; }
h2 { font-size: 1.35rem; margin: 0 0 1.25rem; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
p, li { color: var(--fg); }
.lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.75rem; max-width: 32ch; text-wrap: pretty; }
a { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .94rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .7rem; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.scroll { overflow-x: auto; }
.note { background: var(--card); border: 1px solid var(--rule); border-radius: .5rem; padding: 1rem 1.15rem; }
.note p:last-child { margin-bottom: 0; }
.note p:first-child { margin-top: 0; }
footer.site { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .875rem; }
footer.site address { font-style: normal; }
sup { font-size: .7em; }

/* ---- Landing page ---- */
section { margin: 0 0 4rem; }
.hero {
  display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center;
  padding: 2.5rem 0 3.5rem;
}
.eyebrow {
  margin: 0 0 1.25rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem;
  padding: .85rem 1.4rem; border-radius: .6rem;
  background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.cta-link { font-weight: 500; text-decoration: none; }
.cta-link:hover { text-decoration: underline; }
.hero .note { background: none; border: 0; padding: 0; margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }

/* The app's Folders screen, in the app's own dark palette (docs/DESIGN.md). */
.phone {
  width: 280px; height: 580px; margin: 0 auto; padding: 14px; border-radius: 36px;
  background: #0b0d0c; box-shadow: 0 30px 60px var(--shadow);
}
.screen {
  height: 100%; border-radius: 26px; overflow: hidden; background: #111412; color: #ecefe9;
  display: flex; flex-direction: column;
}
.screen-head { display: flex; flex-direction: column; padding: 22px 16px 8px; }
.screen-title { font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.screen-meta { font-size: 11px; color: #98a099; margin-top: 2px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 9px; padding: 4px 14px; flex: 1; align-content: start; overflow: hidden; }
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile .fold { height: 6px; margin: 0 8px; border-radius: 6px 6px 0 0; background: #20261f; }
.tile .cover { aspect-ratio: 16 / 10; border-radius: 10px; border: 1px solid #2a302b; overflow: hidden; }
.tile .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile b { font-size: 12px; font-weight: 600; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile small { font-size: 10px; color: #98a099; }
.t1 { background: #2e4a3e; } .t2 { background: #3a4650; } .t3 { background: #4a3b32; }
.t4 { background: #3b3a52; } .t5 { background: #2b3a4d; } .t6 { background: #4a4030; }
.tabs { display: flex; padding: 8px 6px 12px; background: #181c19; border-top: 1px solid #2a302b; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: #98a099; }
.tab .ind { display: flex; align-items: center; justify-content: center; width: 40px; height: 20px; border-radius: 10px; }
.tab svg { width: 18px; height: 18px; }
.tab.on { color: #7fc9a0; }
.tab.on .ind { background: #24352c; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.card {
  padding: 1.6rem; border: 1px solid var(--rule); border-radius: .9rem; background: var(--card);
}
.card .icon { width: 24px; height: 24px; color: var(--accent); margin-bottom: .75rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; text-wrap: pretty; }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.split h2 { margin: 0; }
.split p { margin: 0 0 .9rem; text-wrap: pretty; }
.split p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .wrap { padding-top: 1.25rem; }
  h1 { font-size: 2.25rem; }
  .lede { font-size: 1.05rem; max-width: none; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding: 1.5rem 0 2.5rem; }
  .btn { width: 100%; justify-content: center; }
  .phone { width: 240px; height: 496px; padding: 12px; border-radius: 32px; }
  .screen { border-radius: 22px; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: .75rem; }
  .split h2 { margin-bottom: .25rem; }
}
