/* Footprint Free Software — site styles. No external fonts, scripts or trackers. */
:root {
  --brand: #1f6f5c;
  --brand-dark: #165244;
  --brand-light: #e3f1ec;
  --text: #1b1f1e;
  --sub: #5d6764;
  --line: #dce3e0;
  --bg: #f6f8f7;
  --white: #ffffff;
  --max: 980px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 19px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--sub); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }

/* Hero */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.5px; }
.hero p.lead { font-size: 20px; color: var(--sub); max-width: 680px; margin: 0 0 24px; }

.btn { display: inline-block; background: var(--brand); color: var(--white); text-decoration: none; padding: 12px 20px; border-radius: 10px; font-weight: 600; }
.btn:hover { background: var(--brand-dark); color: var(--white); }
.btn.secondary { background: var(--brand-light); color: var(--brand); }

/* Sections */
section { padding: 48px 0; }
h2 { font-size: 28px; margin: 0 0 16px; line-height: 1.25; }
h3 { font-size: 20px; margin: 24px 0 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--white); }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--sub); }

.promise { background: var(--brand); color: var(--white); border-radius: 16px; padding: 28px; }
.promise h2 { color: var(--white); }
.promise ul { margin: 0; padding-left: 20px; }
.promise li { margin-bottom: 6px; }

.tag { display: inline-block; background: var(--brand-light); color: var(--brand); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

/* Long-form pages (privacy, support) */
.doc { padding: 40px 0 56px; max-width: 760px; }
.doc h1 { font-size: 36px; margin: 0 0 6px; }
.doc .meta { color: var(--sub); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 28px 0; color: var(--sub); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--sub); }

@media (max-width: 600px) {
  .hero { padding: 44px 0 40px; }
  section { padding: 36px 0; }
}

/* Small helpers (no inline styles: the security policy blocks them) */
.mt { margin-top: 12px !important; }
.note { margin-top: 18px; color: var(--sub); }
