/* Rohr Software — shared styles.
   Layout: one centered column (max 1040px) with a slim top nav; sections separated by a heavy top rule and a mono label. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #141a24;
  --muted: #5a6474;
  --rule: #dde2ea;
  --accent: #2459d6;
  --accent-soft: #e5ecfb;
  --accent-ink: #ffffff;
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117; --surface: #151b25; --ink: #e9edf3; --muted: #9ba6b8; --rule: #263041;
    --accent: #7aa5ff; --accent-soft: #1a2640; --accent-ink: #0d1117;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  padding: 0 20px;
}
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; }
main.wrap { padding-block: 40px 72px; display: grid; gap: 72px; }

.label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.lede { font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 40ch; }
.prose { display: grid; gap: 14px; max-width: 64ch; }
.muted { color: var(--muted); }

/* Nav */
.nav { border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav ul a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); }

/* Sections */
section { display: grid; gap: 24px; }
.section-head { display: grid; gap: 8px; border-top: 2px solid var(--ink); padding-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px var(--font-body); text-decoration: none;
  background: var(--ink); color: var(--bg); border-radius: 12px; padding: 12px 20px;
}
.btn.secondary { background: var(--accent-soft); color: var(--accent); }
.btn:hover { filter: brightness(1.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* App list */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.app {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 16px;
  padding: 20px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; align-content: start;
}
.app .icon { width: 56px; height: 56px; border-radius: 13px; grid-row: span 3; background: var(--accent-soft); }
.app .icon.blank { display: grid; place-items: center; font: 800 22px var(--font-display); color: var(--accent); }
.app p { font-size: 15.5px; color: var(--muted); }
.app .links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; font-weight: 600; margin-top: 6px; }
.app .links a { text-decoration: none; }
.pill { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.group { display: grid; gap: 14px; }

/* Footer */
footer.site { border-top: 1px solid var(--rule); }
footer.site .wrap { padding-block: 28px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); }
