/*
 * AppStandd home (appstandd.in) - a classic look of its own: ivory paper, serif
 * headings, ink-navy text, thin rules and a muted gold accent. Each app keeps its
 * own design on its own pages (Re-Parking: style.css under /re-parking).
 */
:root {
  --paper: #f8f5ee;
  --paper-2: #fffdf8;
  --ink: #1f2a44;
  --ink-soft: #3d4660;
  --muted: #6b6f7b;
  --rule: #d8cfbd;
  --gold: #a8843f;
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* masthead */
.masthead { text-align: center; padding: 40px 16px 0; }
.masthead .monogram { display: block; margin: 0 auto 14px; width: 56px; height: 56px; }
.masthead h1 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(2.3rem, 7vw, 3.4rem);
  letter-spacing: 0.02em; margin: 0; line-height: 1.1;
}
.masthead .motto {
  margin: 10px 0 0; font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.rule-double { max-width: 960px; margin: 26px auto 0; border: 0; border-top: 3px double var(--rule); }

.intro {
  max-width: 640px; margin: 26px auto 8px; padding: 0 16px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft);
}

/* section label with rules on both sides */
.label {
  display: flex; align-items: center; gap: 14px; max-width: 960px; margin: 30px auto 18px; padding: 0 16px;
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.label::before, .label::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }

/* the apps */
.catalogue {
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  max-width: 960px; width: 100%; margin: 0 auto; padding: 0 16px 48px;
}
.entry {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px;
  padding: 24px; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(31, 42, 68, 0.04);
}
.entry-head { display: flex; gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.entry-head img { border-radius: 12px; flex: none; }
.entry h2 { font-family: var(--serif); font-size: 1.45rem; margin: 0; line-height: 1.2; }
.entry .meta { margin: 2px 0 0; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.entry > p { margin: 14px 0 0; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px;
  border-radius: 4px; border: 1px solid var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  background: transparent; color: var(--ink);
}
.button.solid { background: var(--ink); color: var(--paper-2); }
.button:hover { background: var(--ink); color: var(--paper-2); }
.button.solid:hover { background: #2c3a5e; }
.button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.small-links { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }
.small-links a { color: var(--muted); }
.entry.soon {
  justify-content: center; text-align: center; background: transparent; border-style: dashed; box-shadow: none;
}
.entry.soon h2 { font-size: 1.2rem; color: var(--ink-soft); }
.entry.soon p { margin-top: 6px; color: var(--muted); font-style: italic; font-family: var(--serif); }

.colophon {
  margin-top: auto; text-align: center; padding: 20px 16px 26px; font-size: 0.85rem; color: var(--muted);
  border-top: 1px solid var(--rule);
}
.colophon a { color: var(--muted); }
