/* Raft theme recreation — jonmiller.net (archived 2023-12-28) */
:root {
  --raft-bg: #3A3767;
  --raft-fg: #FFFFFF;
  --raft-fg-alt: #FFFFFF;
  --raft-accent: #DB7358;
  --raft-bg-alt: #333060;
  --content-width: 1140px;
  --font-body: "Readex Pro", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--raft-bg);
  color: var(--raft-fg);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--raft-fg);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--raft-accent); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
  padding: 1.75rem 0;
}

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

.site-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.site-nav a {
  font-size: 1rem;
  font-weight: 400;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 4.5rem 0 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.35rem;
  font-weight: 300;
  max-width: 46rem;
  margin: 0 auto 0.75rem;
  opacity: 0.95;
}

.hero-illustration {
  margin: 3.5rem auto 0;
  max-width: 800px;
  padding: 0 1.5rem;
}

/* ---------- Features ---------- */
.features {
  padding: 5.5rem 0 3rem;
}

.features .columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.feature img {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
}

.feature h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.feature p {
  font-size: 1.05rem;
  opacity: 0.92;
}

/* ---------- Outro ---------- */
.outro {
  text-align: center;
  padding: 5rem 0 6rem;
}

.outro h2 {
  color: var(--raft-fg-alt);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.3;
  max-width: 52rem;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 2rem 0 2.5rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.social-links a:hover { background: var(--raft-accent); color: #fff; }

.social-links svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features .columns {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .feature img { margin-left: auto; margin-right: auto; }
  .hero { padding-top: 3rem; }
}
