/* Squares — the app's own paper and ink: pine, cream, answer green. */
:root {
  --paper:       #f4f0e4;
  --paper-2:     #ebe5d4;
  --pine:        #12211b;
  --ink:         #12211b;
  --ink-2:       #3a4a42;
  --ink-3:       #6d7a73;
  --rule:        rgba(18, 33, 27, 0.12);
  --rule-soft:   rgba(18, 33, 27, 0.06);
  --green:       #1c7a45;
  --green-deep:  #145c33;
  --green-soft:  rgba(28, 122, 69, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-feature-settings: "kern", "liga", "calt";
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* The grid paper the app is drawn on, faint enough to read through. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(18,33,27,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18,33,27,0.045) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 28px; }

header.nav { padding: 28px 0 12px; border-bottom: 1px solid var(--rule-soft); }
header.nav .row { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px; font-weight: 600;
  color: var(--ink); text-decoration: none; letter-spacing: -0.3px;
}
.back { font-size: 14px; color: var(--ink-3); text-decoration: none; font-weight: 500; }
.back:hover { color: var(--green); }

main { padding: 56px 0 96px; }

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 30, "opsz" 144;
  font-size: 52px; line-height: 1.05; letter-spacing: -1.5px; font-weight: 500;
  margin: 0 0 12px; color: var(--ink);
}
.date { font-size: 14px; color: var(--ink-3); margin: 0 0 48px; font-family: ui-monospace, monospace; }
.lede { font-size: 20px; color: var(--ink-2); margin: 0 0 40px; }

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px; line-height: 1.25; letter-spacing: -0.4px; font-weight: 500;
  margin: 52px 0 16px; color: var(--ink);
}
h3 { font-size: 18px; font-weight: 600; margin: 32px 0 8px; color: var(--ink); }

p, li { color: var(--ink-2); margin: 0 0 16px; }
ul { padding-left: 24px; }
li { margin-bottom: 8px; }
strong { color: var(--ink); font-weight: 600; }

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

.hero-box {
  background: var(--green-soft);
  border-left: 3px solid var(--green);
  border-radius: 4px;
  padding: 24px 28px;
  margin: 0 0 48px;
}
.hero-box p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink); }

/* The way in. The page describes the app at some length; this is for the
   reader who has decided three paragraphs ago and only wants the door. */
.play {
  margin: 0 0 44px;
}
.play a {
  display: inline-block;
  background: var(--green);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 8px;
}
.play a:hover { background: var(--green-deep); color: var(--paper); }
.play a:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; }
.play .soon {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink-3);
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 40px 0 8px;
}
.shots img {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  border: 1px solid var(--rule);
  background: var(--pine);
}
.caption { font-size: 13px; color: var(--ink-3); margin: 0 0 40px; }

footer.foot {
  border-top: 1px solid var(--rule-soft);
  padding: 32px 0 48px;
  font-size: 13px; color: var(--ink-3);
}
footer.foot .foot-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
footer.foot a { color: var(--ink-3); text-decoration: none; }
footer.foot a:hover { color: var(--green); }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  main { padding: 36px 0 64px; }
  h1 { font-size: 36px; letter-spacing: -1px; }
  h2 { font-size: 22px; margin-top: 40px; }
  body { font-size: 16px; }
  .lede { font-size: 18px; }
  .hero-box { padding: 20px 22px; }
  .hero-box p { font-size: 16px; }
  .shots { gap: 10px; }
}
