:root {
  --background: hsl(34 36% 93%);
  --foreground: hsl(215 25% 20%);
  --card: hsl(34 38% 97%);
  --muted: hsl(34 26% 88%);
  --muted-foreground: hsl(215 12% 45%);
  --primary: hsl(185 30% 40%);
  --border: hsl(33 22% 80%);
  --cta: hsl(28 80% 52%);
  --cta-hover: hsl(28 85% 46%);
  --cta-foreground: #ffffff;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.top-link {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

header.hero,
section,
nav.internal,
aside.cta-box,
footer.page-footer {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  margin: 1rem 0;
}

header.hero h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
}

header.hero h1 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  margin: 0.3rem 0 0.8rem;
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  margin-top: 0;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

p,
li {
  color: var(--foreground);
}

ul,
ol {
  margin-top: 0.5rem;
  padding-left: 1.3rem;
}

.notice {
  background: var(--muted);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-top: 1rem;
}

nav.internal ul {
  margin: 0.4rem 0 0;
}

aside.cta-box h2 {
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-block;
  margin-top: 0.7rem;
  background: var(--cta);
  color: var(--cta-foreground);
  padding: 0.72rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
}

.cta-button:hover,
.cta-button:focus {
  background: var(--cta-hover);
  color: var(--cta-foreground);
  text-decoration: none;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}

footer.page-footer {
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  header.hero,
  section,
  nav.internal,
  aside.cta-box,
  footer.page-footer {
    padding: 1.5rem 1.7rem;
  }
}
