/* Geodic — geodic.app
   One stylesheet for all three pages. Dark to match the app, which renders
   every session screen on black. */

:root {
  --bg: #08090b;
  --panel: #101216;
  --rule: #1e2127;
  --ink: #f2f3f5;
  --ink-dim: #9aa0a9;
  --accent: #5aa9ff;
}

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

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

body {
  margin: 0;
  padding: 0 20px 72px;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main, header, footer { max-width: 680px; margin: 0 auto; }

a { color: var(--accent); }
a:hover { color: #8cc4ff; }

/* ---- masthead ---- */

/* The generous bottom padding is doing real work: the masthead is centred and
   the body copy is left-aligned, and without a clear gap the two read as one
   ragged block rather than as a heading and its text. */
header { padding: 56px 0 46px; text-align: center; }

.globe { width: 168px; height: 168px; display: block; margin: 0 auto 22px; }

h1 {
  margin: 0;
  font-size: clamp(38px, 11vw, 54px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 14px auto 0;
  max-width: 30ch;
  color: var(--ink-dim);
  font-size: 19px;
}

/* A small mark for the inner pages, so they are recognisably the same site. */
.mark {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 26px 0 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.mark img { width: 34px; height: 34px; }

h2 {
  margin: 44px 0 14px;
  font-size: 22px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

h3 { margin: 26px 0 6px; font-size: 17px; font-weight: 620; }

p { margin: 0 0 16px; }

.lede { font-size: 19px; color: var(--ink-dim); }

/* ---- feature list ---- */

.features { list-style: none; margin: 30px 0 0; padding: 0; }

.features li {
  border-top: 1px solid var(--rule);
  padding: 20px 0 4px;
}

.features b { display: block; font-weight: 620; margin-bottom: 3px; }
.features span { color: var(--ink-dim); }

.note {
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 14px;
  color: var(--ink-dim);
  font-size: 15px;
}
.note b { color: var(--ink); }

ul.plain { padding-left: 20px; }
ul.plain li { margin-bottom: 8px; }

dt { font-weight: 620; margin-top: 22px; }
dd { margin: 4px 0 0; color: var(--ink-dim); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 1px 5px;
}

footer {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  color: var(--ink-dim);
  font-size: 15px;
}
footer a { margin-right: 18px; }
footer p { margin: 14px 0 0; }

.updated { color: var(--ink-dim); font-size: 15px; margin-top: -4px; }

@media (max-width: 500px) {
  body { font-size: 16px; }
  .globe { width: 132px; height: 132px; }
}
