:root {
  --bg: #dcd4cc;
  --surface: #e8e0d8;
  --surface-alt: #a5bac1;
  --border: #c0b8a8;
  --text: #2a2a2a;
  --text-muted: #6a6a6a;
  --accent: #586d7f;
  --accent-hover: #3d5060;
  --btn-bg: #586d7f;
  --btn-text: #ffffff;
  --btn-hover: #3d5060;
}

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

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Nav --- */

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-nav {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-nav__links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

.site-nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a.active {
  color: var(--accent);
}

/* --- Content --- */

.site-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
  width: 100%;
}

.page__title {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* --- Homepage --- */

.home__hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.home__hero h1 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.home__hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-style: italic;
}

.home__about {
  padding: 2rem 0;
}

.home__about h2 {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.home__about p {
  margin-bottom: 1rem;
}

.home__about p:last-child {
  margin-bottom: 0;
}

/* --- Guides --- */

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.guide-card:hover {
  border-color: var(--surface-alt);
}

.guide-card h2 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.guide-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.guide-card__link {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  font-size: 0.85rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.guide-card__link:hover {
  background: var(--btn-hover);
}

/* --- Contact --- */

.contact-form {
  max-width: 32rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  line-height: 1.5;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-submit {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: var(--btn-hover);
}

/* Honeypot */
.form-group--hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* --- Footer --- */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.site-footer__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem;
  text-align: center;
}

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer__social a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-footer__social a:hover {
  color: var(--accent);
}

.site-footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Links --- */

a {
  color: var(--accent);
  transition: color 0.2s;
}

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

/* --- Responsive --- */

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }

  .site-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-nav__links {
    gap: 1.25rem;
  }

  .home__hero h1 {
    font-size: 1.8rem;
  }
}
