@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  background-color: #fff8f0;
  color: #4a2e1c;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Layout ── */

.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */

nav {
  padding: 28px 0 0;
  margin-bottom: 48px;
}

nav .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(90, 61, 43, 0.55);
  transition: color 0.15s ease;
  letter-spacing: 0.01em;
}

nav a:hover {
  color: #905635;
}

nav a.brand {
  font-size: 1rem;
  font-weight: 800;
  color: #905635;
  margin-right: 8px;
}

nav a.brand:hover {
  color: #7a4828;
}

/* ── Typography ── */

h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #4a2e1c;
  line-height: 1.2;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #4a2e1c;
  margin-top: 40px;
  margin-bottom: 12px;
}

h2:first-of-type {
  margin-top: 32px;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #5a3d2b;
  margin-top: 24px;
  margin-bottom: 8px;
}

p {
  color: rgba(74, 46, 28, 0.85);
  margin-bottom: 16px;
}

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

a {
  color: #905635;
  text-decoration: underline;
  text-decoration-color: rgba(144, 86, 53, 0.4);
  text-underline-offset: 2px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: #7a4828;
  text-decoration-color: rgba(122, 72, 40, 0.7);
}

ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

ul li {
  color: rgba(74, 46, 28, 0.85);
  margin-bottom: 6px;
  line-height: 1.6;
}

ul li:last-child {
  margin-bottom: 0;
}

/* ── Page header ── */

.subtitle {
  font-size: 1.05rem;
  color: rgba(90, 61, 43, 0.65);
  font-weight: 600;
  margin-bottom: 6px;
}

.updated {
  font-size: 0.82rem;
  color: rgba(90, 61, 43, 0.45);
  font-weight: 600;
  margin-bottom: 40px;
  display: block;
}

/* ── Main content area ── */

main {
  flex: 1;
}

main .container {
  padding-bottom: 64px;
}

/* ── Divider ── */

hr {
  border: none;
  border-top: 1px solid rgba(144, 86, 53, 0.12);
  margin: 32px 0;
}

/* ── FAQ items ── */

.faq-item {
  margin-bottom: 28px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item .question {
  font-size: 1rem;
  font-weight: 700;
  color: #4a2e1c;
  margin-bottom: 8px;
}

.faq-item .answer {
  color: rgba(74, 46, 28, 0.82);
  margin-bottom: 0;
}

/* ── Contact card ── */

.contact-card {
  background: rgba(144, 86, 53, 0.07);
  border: 1px solid rgba(144, 86, 53, 0.15);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 40px;
}

.contact-card p {
  margin-bottom: 8px;
}

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

.contact-card .label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(90, 61, 43, 0.5);
  margin-bottom: 6px;
  display: block;
}

/* ── Footer ── */

footer {
  border-top: 1px solid rgba(144, 86, 53, 0.12);
  padding: 24px 0;
  margin-top: auto;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer p {
  font-size: 0.82rem;
  color: rgba(90, 61, 43, 0.45);
  margin-bottom: 0;
}

footer nav {
  padding: 0;
  margin: 0;
}

footer nav .container {
  padding: 0;
  gap: 16px;
}

footer nav a {
  font-size: 0.82rem;
  color: rgba(90, 61, 43, 0.45);
}

footer nav a:hover {
  color: #905635;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }

  nav .container {
    gap: 16px;
  }

  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-card {
    padding: 20px 20px;
  }
}
