:root {
  --radical-orange: #e93c1d;
  --radical-dark: #2C3E50;
  --radical-light-grey: #f5f5f5;
  --radical-grey: #4a5c6a;
  --radical-light: #ecf0f1;
  --radical-tab-grey: #f8f9fa;
  --radical-tab-border: #dee2e6;
  --radical-hover-grey: #e9ecef;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--radical-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 4px solid var(--radical-orange);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-nav a {
  color: var(--radical-dark);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--radical-orange);
}

/* Main content */
main {
  flex: 1;
  padding: 2rem 0;
}

.hero {
  padding: 2rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.hero h1 {
  color: var(--radical-orange);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

h1, h2, h3 {
  line-height: 1.3;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.4rem; }

a {
  color: var(--radical-orange);
  text-decoration: none;
}

a:hover {
  color: #e55a2b;
}

/* Resource grid */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  display: block;
  padding: 1.5rem;
  background: var(--radical-light-grey);
  border-radius: 0.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.resource-card:hover {
  border-color: var(--radical-orange);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.resource-card h2 {
  color: var(--radical-orange);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.resource-card p {
  color: var(--radical-grey);
  font-size: 0.9rem;
}

/* Page summaries */
.page-summary {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.page-summary h2 {
  margin-bottom: 0.25rem;
}

.page-summary p {
  color: var(--radical-grey);
}

/* Footer */
.site-footer {
  background: var(--radical-dark);
  color: var(--radical-light);
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--radical-orange);
}

.site-footer .version {
  font-size: 0.8rem;
  color: var(--radical-grey);
}
