:root {
  --bg: #f7f4ef;
  --bg-2: #efe8dd;
  --ink: #1c1a18;
  --muted: #5b5248;
  --accent: #1f5b4f;
  --accent-2: #b07f3b;
  --card: #ffffffcc;
  --border: #ded5c6;
  --shadow: 0 12px 30px rgba(18, 14, 10, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11100e;
    --bg-2: #1a1814;
    --ink: #f4efe7;
    --muted: #c2b7a7;
    --accent: #79c2b4;
    --accent-2: #e3b166;
    --card: #1d1b17cc;
    --border: #2a2620;
    --shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 20% -10%, var(--bg-2), transparent),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  letter-spacing: 0.2px;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

header {
  padding: 2rem 0 1rem;
}

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

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.hero {
  padding: 2.5rem 0 2rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hero-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--ink);
}

.hero .subheadline {
  font-size: 1.1rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 91, 79, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(31, 91, 79, 0.3);
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  box-shadow: none;
}

.section {
  padding: 2rem 0;
}

.grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 1.3rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
  border-bottom: none;
}

.details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: var(--card);
}

.details + .details {
  margin-top: 0.8rem;
}

.details summary {
  cursor: pointer;
  font-weight: 600;
}

.checklist {
  list-style: square;
  padding-left: 1.2rem;
  margin: 0.8rem 0 0;
}

.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 1.6rem 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 1.6rem;
  }
}
