/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617;
  color: #e5e7eb;
  line-height: 1.5;
}

/* Layout helpers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

/* Nav */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.guardian-image {
    max-width: 450px; /* smaller size */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* centers it */
}

.nav a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(148, 163, 184, 0.2);
  color: #f9fafb;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: #eab308;
  color: #020617;
  border-color: #eab308;
}

.btn-primary:hover {
  background: #facc15;
  border-color: #facc15;
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.85);
}

.btn-outline {
  background: transparent;
  color: #eab308;
  border-color: #eab308;
}

.btn-outline:hover {
  background: #eab308;
  color: #020617;
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  background: radial-gradient(circle at top, #0b1120 0%, #020617 50%, #020617 100%);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 16px;
}

.hero .lead {
  max-width: 540px;
  font-size: 0.98rem;
  color: #cbd5f5;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */
.section {
  padding: 40px 0 56px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.92);
  padding: 16px 14px 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.85);
}

.feature-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 24px 0 32px;
  background: #020617;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-text {
  font-size: 0.88rem;
  color: #9ca3af;
  max-width: 360px;
  margin: 6px 0 8px;
}

.footer-small {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* Basic typography for other pages */
main {
  padding: 24px 0 40px;
}

main .container > h1,
main .container > h2 {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
}
.right-hero {
    max-width: 360px;     /* adjust size here */
    float: right;
    margin-left: 30px;    /* space between image & text */
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .right-hero {
        float: none;
        margin: 0 auto 30px;
        display: block;
    }
}