:root {
  color-scheme: light dark;
  --brand: #d2955b;
  --ink: #1e1713;
  --muted: #5f6661;
  --surface: #f7f9f7;
  --surface-raised: #ffffff;
  --line: #dfe5e0;
  --green: #1f6f5b;
  --blue: #356a86;
  --shadow: 0 18px 50px rgba(31, 47, 40, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7eee6;
    --muted: #c7b7aa;
    --surface: #101512;
    --surface-raised: #18211d;
    --line: #2d3a35;
    --green: #66c6a8;
    --blue: #8eb9cf;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--surface);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background: var(--surface);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(31, 111, 91, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 106, 134, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 74%);
}

a {
  color: inherit;
}

.page {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 20px clamp(18px, 4vw, 44px) 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 47, 40, 0.16);
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  background: color-mix(in srgb, var(--surface-raised), transparent 10%);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--green), var(--line) 48%);
}

.nav-link:focus-visible,
.brand-lockup:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand), white 18%);
  outline-offset: 3px;
}

.hero {
  padding: clamp(42px, 8vh, 84px) 0 34px;
  text-align: center;
}

.app-icon {
  width: 74px;
  height: 74px;
  display: block;
  margin: 0 auto 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.subtitle {
  width: min(100%, 620px);
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.24rem);
  line-height: 1.55;
}

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.content {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-raised), transparent 4%);
  box-shadow: var(--shadow);
}

.content h2,
.content h3 {
  margin: 1.6em 0 0.55em;
  line-height: 1.16;
  letter-spacing: 0;
}

.content h2:first-child {
  margin-top: 0;
}

.content h2 {
  font-size: clamp(1.36rem, 3vw, 1.8rem);
}

.content h3 {
  color: var(--green);
  font-size: 1.08rem;
}

.content p,
.content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.content p {
  margin: 0.72em 0;
}

.content ul {
  margin: 0.7em 0 1em;
  padding-left: 1.25em;
}

.content a {
  color: var(--blue);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 660px) {
  .page {
    padding-inline: 16px;
  }

  .topbar {
    align-items: flex-start;
    min-height: 44px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-link {
    min-height: 36px;
    padding-inline: 11px;
  }

  .hero {
    padding-top: 42px;
  }

  .content {
    padding: 20px;
  }
}
