/* ViceBudget static utility pages */

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

:root {
  --cream: #faf7f2;
  --warm-white: #f5f0e8;
  --stone: #e8e0d0;
  --sand: #d4c9b4;
  --bark: #8c7355;
  --cedar: #5c4a32;
  --charcoal: #2a2420;
  --text: #3a3028;
  --text-light: #6b5f52;
  --accent: #b85c38;
  --green: #4a7c59;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.75;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone);
}

.nav-logo {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--cedar);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-back {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: none;
}

.page-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 9rem 2rem 4rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: 'Lora', serif;
  color: var(--charcoal);
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 680px;
  color: var(--text-light);
  font-size: 1.05rem;
}

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.page-section {
  padding: 3rem 0;
  border-top: 1px solid var(--stone);
}

.page-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.page-section p,
.page-section li {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
}

.page-section a {
  color: var(--accent);
  font-weight: 500;
  text-decoration-thickness: 1px;
}

.page-section a:hover {
  color: var(--cedar);
}

.page-section p + p,
.page-section ul + p,
.page-section p + ul {
  margin-top: 1rem;
}

.page-section ul {
  display: grid;
  gap: 0.85rem;
  margin-left: 1.15rem;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.utility-card {
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid var(--stone);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.48);
}

.utility-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.utility-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.button-link.secondary {
  background: transparent;
  color: var(--accent);
}

@media (max-width: 720px) {
  nav {
    padding: 1rem 1.25rem;
  }

  .page-hero {
    padding: 8rem 1.25rem 3.25rem;
  }

  main {
    padding-inline: 1.25rem;
  }

  .utility-grid {
    grid-template-columns: 1fr;
  }
}
