:root {
  color-scheme: light;
  --forest-deep: #183b30;
  --forest: #315d49;
  --water: #497d83;
  --water-light: #e5f1ef;
  --ink: #28332d;
  --muted: #66716b;
  --gold: #b9833d;
  --gold-dark: #8a5a20;
  --white: #ffffff;
  --border: #dfd2b6;
  --shadow: 0 18px 45px rgba(24, 59, 48, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(185, 131, 61, 0.22), transparent 22rem),
    linear-gradient(180deg, #f7eed9 0, #fffdf7 32rem, #edf4ef 100%);
  line-height: 1.65;
}

a { color: var(--water); text-underline-offset: 0.18em; }

a:focus-visible,
summary:focus-visible {
  outline: 4px solid #d9ae61;
  outline-offset: 4px;
  border-radius: 6px;
}

.site-header {
  width: min(1120px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  background: rgba(24, 59, 48, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(24, 59, 48, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-size: 1.18rem;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--forest-deep);
  background: linear-gradient(145deg, #e7c780, #b9833d);
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 900;
}

nav { display: flex; gap: 8px; }

nav a {
  padding: 8px 12px;
  color: var(--white);
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); }

main { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

.hero {
  max-width: 870px;
  margin: 88px auto 54px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  letter-spacing: -0.035em;
}

h2 { margin-bottom: 12px; font-size: clamp(1.4rem, 3vw, 2rem); }

.intro {
  max-width: 740px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.intro-small { margin: -8px 0 32px; color: var(--muted); font-size: 1.1rem; }

.badges {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.badges span {
  padding: 8px 14px;
  color: var(--forest-deep);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card, .document, .contact-panel {
  background: rgba(255, 253, 247, 0.95);
  border: 1px solid rgba(223, 210, 182, 0.92);
  box-shadow: var(--shadow);
}

.card { padding: clamp(26px, 5vw, 46px); border-radius: 28px; }
.card p { min-height: 3.3em; color: var(--muted); }

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  background: var(--water-light);
  border-radius: 18px;
  font-size: 1.9rem;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 13px;
  box-shadow: 0 9px 20px rgba(138, 90, 32, 0.22);
  font-weight: 850;
  text-decoration: none;
}

.button:hover { filter: brightness(1.05); transform: translateY(-1px); }

.contact-panel {
  margin: 26px 0 80px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 24px;
}

.contact-panel h2 { margin: 0; }
.email-link { font-weight: 850; word-break: break-word; }
.document-layout { width: min(890px, calc(100% - 36px)); }

.document {
  margin: 52px 0 64px;
  padding: clamp(26px, 6vw, 64px);
  border-radius: 30px;
}

.document h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.document h2 { margin-top: 36px; padding-top: 3px; }
.document li + li { margin-top: 6px; }
.updated { margin: -8px 0 28px; color: var(--muted); font-weight: 700; }

.summary-box {
  margin: 28px 0 34px;
  padding: 18px 20px;
  background: var(--water-light);
  border-left: 5px solid var(--water);
  border-radius: 12px;
}

.document-actions {
  margin-top: 42px;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.text-link { font-weight: 800; }
.faq-list { display: grid; gap: 12px; }

details {
  overflow: hidden;
  background: #fffcf4;
  border: 1px solid var(--border);
  border-radius: 15px;
}

summary {
  padding: 17px 20px;
  color: var(--forest-deep);
  cursor: pointer;
  font-weight: 850;
}

details[open] summary { border-bottom: 1px solid var(--border); background: #f3ead6; }
details p, details ol { margin: 0; padding: 17px 22px 19px; }
details ol { padding-left: 42px; }
details ol + p { padding-top: 0; }

.safety-notice, .support-contact {
  margin-top: 38px;
  padding: 24px;
  border-radius: 18px;
}

.safety-notice { background: #fff4d8; border-left: 5px solid var(--gold); }
.support-contact { background: var(--water-light); }
.safety-notice h2, .support-contact h2 { margin-bottom: 8px; }

footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid rgba(102, 113, 107, 0.2);
  font-size: 0.9rem;
}

footer p { margin: 0; }
footer div { display: flex; gap: 16px; }

@media (max-width: 700px) {
  .site-header, .contact-panel, footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header { margin-top: 10px; }
  nav { width: 100%; }
  nav a { flex: 1; text-align: center; }
  .hero { margin-top: 58px; }
  .card-grid { grid-template-columns: 1fr; }
  .card p { min-height: auto; }
  .document-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
