:root {
  --page: #f7f1e8;
  --ink: #2a2218;
  --board: #ede4d6;
  --saddle: #8b5a2b;
  --edge: #c47a3a;
  --mute: #8a7d6e;
  --cream: #fffaf3;
  --shadow: rgba(42, 34, 24, 0.12);
  --max: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(196, 122, 58, 0.18), transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(139, 90, 43, 0.14), transparent 50%),
    linear-gradient(180deg, #fbf6ee 0%, var(--page) 40%, #f0e6d6 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(42, 34, 24, 0.35) 11px,
      rgba(42, 34, 24, 0.35) 12px
    );
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  padding: 14px 18px;
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid rgba(139, 90, 43, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 16px var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--mute);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: var(--saddle);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(139, 90, 43, 0.1);
  border-color: rgba(139, 90, 43, 0.28);
  color: var(--ink);
}

.hero {
  display: grid;
  gap: 22px;
  margin-bottom: 40px;
  padding: 36px 28px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(139, 90, 43, 0.94), rgba(196, 122, 58, 0.88)),
    var(--saddle);
  color: #fffaf3;
  box-shadow: 0 18px 40px rgba(88, 54, 24, 0.28);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.12);
}

.hero h1,
.panel h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 16ch;
}

.hero p {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 250, 243, 0.9);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 18px;
  border-radius: 14px;
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cream);
  color: var(--saddle);
}

.btn-ghost {
  background: rgba(255, 250, 243, 0.12);
  color: var(--cream);
  border: 1px solid rgba(255, 250, 243, 0.35);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.card {
  background: rgba(255, 250, 243, 0.88);
  border: 1px solid rgba(139, 90, 43, 0.14);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 10px 24px var(--shadow);
}

.card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--saddle);
}

.card p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
}

.panel {
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(139, 90, 43, 0.16);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 14px 34px var(--shadow);
  max-width: var(--max);
}

.panel .lede {
  color: var(--mute);
  margin: 0 0 28px;
  font-size: 1.02rem;
}

.panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: var(--saddle);
  margin: 28px 0 10px;
}

.panel h2:first-of-type {
  margin-top: 0;
}

.panel p,
.panel li {
  color: var(--ink);
  font-size: 0.98rem;
}

.panel ul {
  padding-left: 1.2rem;
  margin: 8px 0 0;
}

.panel li + li {
  margin-top: 6px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 22px;
  font-size: 0.86rem;
  color: var(--mute);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--board);
  color: var(--saddle);
  font-weight: 600;
}

.contact-box {
  margin-top: 28px;
  padding: 18px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 90, 43, 0.1), rgba(196, 122, 58, 0.08));
  border: 1px solid rgba(139, 90, 43, 0.18);
}

.contact-box a {
  color: var(--saddle);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 90, 43, 0.35);
}

.contact-box a:hover {
  color: var(--edge);
}

.faq details {
  border-top: 1px solid rgba(139, 90, 43, 0.14);
  padding: 14px 0;
}

.faq details:first-of-type {
  border-top: none;
  padding-top: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 8px;
  color: var(--saddle);
  transition: transform 0.15s ease;
}

.faq details[open] summary::before {
  transform: rotate(90deg);
}

.faq p {
  margin: 10px 0 0;
  color: var(--mute);
}

.footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(139, 90, 43, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--mute);
  font-size: 0.88rem;
}

.footer a {
  color: var(--saddle);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  color: var(--edge);
}

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

  .hero,
  .panel {
    padding: 26px 18px;
  }
}
