/* iClickit.help – clean static styles */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #0f766e;
  --accent-hover: #0d9488;
  --radius: 10px;
  --max: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo:hover { text-decoration: none; color: var(--accent); }

nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

nav a:hover, nav a.active {
  color: var(--accent);
  text-decoration: none;
}

/* Main */
main {
  flex: 1;
  padding: 2.5rem 0 3.5rem;
}

h1 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.25;
}

h2 {
  font-size: 1.25rem;
  font-weight: 650;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

p, li { color: var(--muted); margin-bottom: 0.9rem; }
p.lead { font-size: 1.1rem; color: var(--text); }

ul { padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.meta strong { color: var(--text); }

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

/* Mobile */
@media (max-width: 560px) {
  h1 { font-size: 1.55rem; }
  nav { gap: 0.9rem; }
  main { padding: 1.75rem 0 2.5rem; }
}
