:root {
  --bg: #0f1410;
  --surface: #172018;
  --text: #e8efe6;
  --muted: #9aab98;
  --accent: #7cb518;
  --line: rgba(232, 239, 230, 0.12);
  --max: 720px;
  --header-h: 3.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(124, 181, 24, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(56, 102, 40, 0.25), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #a6e04a;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  background: rgba(15, 20, 16, 0.92);
  z-index: 100;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  position: relative;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  z-index: 2;
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: rgba(232, 239, 230, 0.35);
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-header.is-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.5rem 1rem 1rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  font-size: 0.95rem;
  background: rgba(15, 20, 16, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.site-header.is-open .nav {
  display: flex;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.nav a:first-child {
  border-top: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 0;
    border: none;
  }
}

main {
  padding: 3rem 0 4rem;
}

.legal {
  max-width: 42rem;
  margin-inline: auto;
}

.legal p {
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #10160d;
}

.btn-primary:hover {
  color: #10160d;
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(232, 239, 230, 0.35);
}

.card {
  margin-top: 2.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  text-align: left;
}

.meta {
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 0.95rem;
  text-align: left;
}

.legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  text-align: left;
}

.legal h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  text-align: left;
}

.legal p,
.legal li {
  color: #d5dfd2;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.legal ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.legal li + li {
  margin-top: 0.55rem;
}

.legal li::marker {
  color: var(--accent);
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: rgba(124, 181, 24, 0.08);
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.5rem 0;
  text-align: justify;
  text-justify: inter-word;
}

.disclaimer {
  font-size: 0.85rem;
  opacity: 0.9;
  text-align: justify;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer .disclaimer {
  text-align: left;
}
