:root {
  color-scheme: light dark;
  --bg: #eef8f3;
  --bg-deep: #dcefea;
  --ink: #123e3e;
  --muted: #557778;
  --line: rgba(18, 62, 62, 0.14);
  --card: rgba(255, 255, 255, 0.82);
  --soft: rgba(210, 235, 228, 0.62);
  --gold: #c59e35;
  --gold-deep: #9a7416;
  --teal: #0c666b;
  --shadow: 0 24px 80px rgba(8, 47, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.88) 0 8%, transparent 27%),
    radial-gradient(circle at 12% 44%, rgba(65, 160, 157, 0.14) 0 12%, transparent 33%),
    linear-gradient(150deg, var(--bg), var(--bg-deep));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  margin: 0;
  min-height: 100vh;
}

body::before,
body::after {
  border: 1px solid rgba(197, 158, 53, 0.28);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body::before {
  height: 360px;
  right: -160px;
  top: 82px;
  width: 360px;
}

body::after {
  bottom: -210px;
  height: 420px;
  left: -180px;
  width: 420px;
}

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-deep);
}

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1060px;
  padding: 24px 28px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(8, 47, 53, 0.14);
}

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

nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 9px 14px;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  background: var(--card);
  color: var(--ink);
}

.landing,
.document-shell {
  margin: 0 auto;
  max-width: 1000px;
  padding: 54px 24px 80px;
}

.document-shell {
  max-width: 860px;
  padding-top: 34px;
}

.card {
  backdrop-filter: blur(22px);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero {
  overflow: hidden;
  padding: clamp(38px, 7vw, 78px);
  position: relative;
}

.hero::after {
  background: radial-gradient(circle, rgba(248, 215, 114, 0.9) 0 8%, rgba(197, 158, 53, 0.23) 9% 24%, transparent 25%);
  content: "";
  height: 420px;
  opacity: 0.6;
  position: absolute;
  right: -155px;
  top: -155px;
  width: 420px;
}

.eyebrow {
  color: var(--gold-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  letter-spacing: -0.055em;
  margin: 0;
  max-width: 760px;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 720px;
}

.action-row,
.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  padding: 13px 20px;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, #d7b557, #bf9225);
  box-shadow: 0 12px 26px rgba(154, 116, 22, 0.2);
  color: #073a3e;
}

.button.secondary {
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

.link-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.resource-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  color: var(--ink);
  display: grid;
  gap: 4px;
  min-height: 168px;
  padding: 26px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.resource-card:hover {
  box-shadow: 0 18px 44px rgba(8, 47, 53, 0.1);
  color: var(--ink);
  transform: translateY(-3px);
}

.resource-card strong {
  font-size: 1.2rem;
  margin-top: auto;
}

.resource-card span:last-child {
  color: var(--muted);
}

.resource-icon {
  align-items: center;
  background: var(--soft);
  border-radius: 50%;
  color: var(--gold-deep);
  display: flex;
  font-size: 1.25rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.document {
  padding: clamp(28px, 6vw, 64px);
}

.document h1 {
  font-size: clamp(2.4rem, 7vw, 4.3rem);
}

.document section {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 34px;
}

.document p {
  color: var(--muted);
  margin: 12px 0 0;
}

.document li {
  color: var(--muted);
  margin: 9px 0;
  padding-left: 5px;
}

.document strong {
  color: var(--ink);
}

.privacy-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.privacy-summary div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 6px;
  padding: 18px;
}

.privacy-summary span {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

details {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
}

summary {
  cursor: pointer;
  font-weight: 750;
  padding: 18px 30px 18px 0;
  position: relative;
}

summary::marker {
  color: var(--gold-deep);
}

details p {
  margin: 0;
  padding: 0 0 18px;
}

.contact-panel {
  align-items: center;
  background: linear-gradient(145deg, rgba(10, 91, 96, 0.09), rgba(197, 158, 53, 0.12));
  border: 1px solid var(--line) !important;
  border-radius: 24px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px !important;
}

.contact-panel h2,
.contact-panel p {
  margin-bottom: 0;
}

.support-email {
  flex: 0 0 auto;
}

.safety-note {
  background: rgba(197, 158, 53, 0.1);
  border-left: 4px solid var(--gold);
  border-radius: 6px 18px 18px 6px;
  margin-top: 20px;
  padding: 18px 20px;
}

.safety-note p {
  margin-top: 4px;
}

.steps {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.steps li {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.steps > li > span {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-deep);
  display: flex;
  flex: 0 0 auto;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.steps p {
  margin: 2px 0 0;
}

footer {
  color: var(--muted);
  display: flex;
  font-size: 0.84rem;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 28px 36px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #062c31;
    --bg-deep: #0b4549;
    --ink: #f3fbf7;
    --muted: #b7ceca;
    --line: rgba(218, 239, 232, 0.14);
    --card: rgba(8, 55, 59, 0.82);
    --soft: rgba(120, 181, 174, 0.11);
    --gold: #e0bf63;
    --gold-deep: #e0bf63;
    --teal: #9edbd3;
    --shadow: 0 28px 90px rgba(0, 15, 18, 0.38);
  }

  body {
    background:
      radial-gradient(circle at 82% 8%, rgba(34, 100, 102, 0.6) 0 8%, transparent 28%),
      radial-gradient(circle at 12% 44%, rgba(98, 178, 167, 0.1) 0 12%, transparent 33%),
      linear-gradient(150deg, var(--bg), var(--bg-deep));
  }

  .card,
  .resource-card {
    border-color: rgba(207, 231, 223, 0.12);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 18px;
  }

  .brand span {
    display: none;
  }

  nav a {
    padding: 8px 11px;
  }

  .landing,
  .document-shell {
    padding: 24px 14px 56px;
  }

  .card {
    border-radius: 26px;
  }

  .link-grid,
  .privacy-summary {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .support-email {
    width: 100%;
  }

  footer {
    flex-direction: column;
    gap: 4px;
    padding: 0 20px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
