/* Cloud Resume Challenge — Stuart Herriott */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --accent: #2563eb;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(15,23,42,0.08);
  --max-width: 900px;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

/* Layout containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.2rem;
}

/* Header */
.site-header {
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
}

.subtitle {
  color: var(--muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Card sections */
.card {
  background: var(--card);
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 1.8rem;
  margin: 0;
}

h2 {
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

ul {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.5rem;
}

footer.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* Visitor Counter Ticker */
.visitor-ticker {
  position: fixed;       /* stays in place when scrolling */
  bottom: 20px;          /* distance from bottom */
  right: 20px;           /* distance from right */
  background: var(--accent);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 50px;   /* makes it pill-shaped */
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow);
  z-index: 1000;         /* make sure it's on top */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
