/* greensoftug.com: the company site. Colours follow Report Card Studio's. */
:root {
  --ink: #15201c;
  --ink-soft: #454b45;
  --muted: #585e57;
  --night: #12211c;
  --forest: #173f33;
  --forest-soft: #e4efe9;
  --paper: #f7f4ec;
  --surface: #ffffff;
  --sand: #efebe2;
  --line: #e6e0d2;
  --amber-soft: #fbf1dc;
  --amber-ink: #6e4a08;
  --on-night: #f7f4ec;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece9e1;
    --ink-soft: #c9cbc4;
    --muted: #a6aca4;
    --night: #2c4a3f;
    --forest: #7cc1a6;
    --forest-soft: #1c3029;
    --paper: #121714;
    --surface: #1a211e;
    --sand: #242c28;
    --line: #2c3530;
    --amber-soft: #2f2618;
    --amber-ink: #f0c977;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 'Public Sans', system-ui, sans-serif;
}
a { color: inherit; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(32px, 6vw, 52px); letter-spacing: -0.01em; }
h2 { font-size: 26px; margin-top: 1.6em; }
h3 { font-size: 20px; }
p, ul { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header and tabs */
header { border-bottom: 1px solid var(--line); background: var(--surface); }
header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 21px; }
.brand i { width: 28px; height: 28px; border-radius: 8px; background: var(--forest); display: inline-block; position: relative; }
.brand i::after { content: ''; position: absolute; inset: 7px 9px 7px 9px; border-radius: 50% 0; background: var(--paper); transform: rotate(45deg); }
nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
nav a { text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: 15px; color: var(--ink-soft); }
nav a:hover { background: var(--sand); color: var(--ink); }
nav a[aria-current='page'] { background: var(--forest-soft); color: var(--ink); font-weight: 600; }

main { padding: 48px 0 72px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 640px; }

/* App cards */
.apps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 32px; }
.app { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.app.first { border-color: var(--forest); box-shadow: 0 10px 30px -18px rgba(18, 33, 28, 0.45); }
.app h3 { margin: 0; }
.app p { color: var(--ink-soft); margin: 0; flex: 1; }
.app .tag { align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--forest-soft); color: var(--forest); }
.app .tag.soon { background: var(--sand); color: var(--muted); }
.app.later { border-style: dashed; background: transparent; }
.btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 10px 18px; border-radius: 12px; background: var(--night); color: var(--on-night); text-decoration: none; font-weight: 700; font-size: 15px; }
.btn:hover { filter: brightness(1.15); }
.btn.quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.points { padding-left: 20px; color: var(--ink-soft); }

.draft { border-radius: 12px; background: var(--amber-soft); color: var(--amber-ink); padding: 10px 14px; font-size: 14.5px; margin-bottom: 24px; }
.updated { color: var(--muted); font-size: 14px; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; padding-bottom: 28px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer span { margin-right: auto; }

/* What we do */
.services { display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.services h3 { font-size: 18px; margin-bottom: 4px; }
.services p { color: var(--ink-soft); margin: 0; }
.addr { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
