/* Bear Camp static site */

:root {
  --ink: #25231d;
  --muted: #625c4f;
  --soft: #817663;
  --paper: #fbf7ee;
  --canvas: #f1e5d0;
  --canvas-deep: #dfc9aa;
  --green: #40533a;
  --green-deep: #2f3f2b;
  --green-soft: #dce7d3;
  --brown: #77593a;
  --brown-soft: #ead8bd;
  --ember: #b85f35;
  --ember-deep: #8f4528;
  --gold: #d5a64b;
  --line: #d7c6ab;
  --white: #fffdf8;
  --shadow: 0 12px 28px rgba(58, 44, 28, 0.12);
  --shadow-soft: 0 8px 18px rgba(58, 44, 28, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(64, 83, 58, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(64, 83, 58, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--green-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(184, 95, 53, 0.45);
  outline-offset: 3px;
}

p,
ul,
ol {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 238, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-links a,
.nav-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-menu[open] summary,
.nav-menu summary:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  list-style: none;
}

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

.nav-menu summary::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.35rem;
  border-right: 2px solid var(--soft);
  border-bottom: 2px solid var(--soft);
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center;
}

.nav-menu[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  width: 250px;
  padding: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-menu-panel a {
  width: 100%;
  justify-content: flex-start;
}

.page-shell,
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.home-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(64, 83, 58, 0.16), rgba(119, 89, 58, 0.12)),
    var(--canvas);
}

.home-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2.6rem;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
}

.home-hero-inner > *,
.project-hero-inner > *,
.page-hero-inner > *,
.intro-grid > *,
.content-grid > *,
.projects-grid > *,
.screenshot-grid > *,
.model-grid > * {
  min-width: 0;
}

.hero-mark {
  width: 142px;
  height: 142px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  color: var(--green-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 14px 0 0 var(--gold);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0.75rem;
  font-size: 3.2rem;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: 1.75rem;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 1.25rem;
  color: #3e392f;
  font-size: 1.12rem;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.button-primary {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.button-primary:hover {
  background: var(--green);
  color: var(--white);
}

.button-secondary {
  background: rgba(255, 253, 248, 0.8);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--white);
  color: var(--ink);
}

.button-accent {
  background: var(--ember);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.button-accent:hover {
  background: var(--ember-deep);
  color: var(--white);
}

.button-small {
  min-height: 36px;
  padding: 0.5rem 0.75rem;
  font-size: 0.92rem;
}

.camp-strip {
  background: var(--green-deep);
  color: var(--white);
}

.camp-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.camp-strip strong {
  color: var(--gold);
}

.camp-strip a {
  color: var(--white);
  font-weight: 800;
}

.camp-strip span {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
}

.section {
  margin: 2.2rem 0;
}

.section-compact {
  margin: 1.4rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.2rem;
}

.section-heading p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1rem;
  align-items: stretch;
}

.panel,
.project-card,
.screenshot,
.model-card,
.support-panel,
.download-section,
.contact-placeholder {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: 1.2rem;
}

.panel p:last-child,
.support-panel p:last-child,
.download-section p:last-child {
  margin-bottom: 0;
}

.camp-note {
  background: var(--brown-soft);
  border-color: #d7b98e;
}

.camp-note ul {
  margin-bottom: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.project-card {
  padding: 1rem;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

.project-card.featured {
  border-color: #b8a078;
  background: linear-gradient(180deg, var(--white), #fff6e7);
}

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

.project-card-media {
  display: block;
  margin: -1rem -1rem 0;
  border-bottom: 1px solid var(--line);
  background: #f6ecdc;
}

.project-card-media img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: left top;
}

.project-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.project-card .button-row {
  margin-top: auto;
}

.project-card .button-row .button {
  margin-top: 0;
  align-self: auto;
}

.status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.status-available {
  background: #dcebd5;
  color: #234121;
}

.status-developing {
  background: #f4dfad;
  color: #604015;
}

.status-placeholder {
  background: #e6dfd3;
  color: #51483b;
}

.status-request {
  background: #ead7b8;
  color: #5b3c18;
}

.status-coming {
  background: #e6d6bd;
  color: #684821;
}

.tag-list {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.22rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7efe1;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.support-panel {
  margin: 2.4rem 0;
  padding: 1.45rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 1.25rem;
  align-items: stretch;
  border: 2px solid #b88956;
  background:
    linear-gradient(135deg, rgba(184, 95, 53, 0.18), rgba(213, 166, 75, 0.18)),
    var(--white);
  box-shadow: 0 18px 36px rgba(58, 44, 28, 0.18);
}

.support-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.support-panel h2,
.support-panel h3 {
  margin-bottom: 0.65rem;
}

.support-panel h2 {
  font-size: 1.65rem;
}

.support-panel p {
  color: #463d31;
  margin-bottom: 0.8rem;
}

.support-laws {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.75rem 0 0.9rem;
  padding: 0;
  list-style: none;
}

.support-laws li {
  margin: 0;
  padding: 0.5rem 0.6rem;
  border: 1px solid #d5b989;
  border-radius: var(--radius);
  background: #fff8eb;
  color: var(--green-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.support-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  min-height: 285px;
  padding: 1.05rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(255, 244, 220, 0.94)),
    repeating-linear-gradient(135deg, rgba(213, 166, 75, 0.22) 0 8px, transparent 8px 16px);
}

.support-action::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--green-deep), var(--gold), var(--ember));
}

.support-action::after {
  content: "THANK YOU";
  position: absolute;
  right: -1.9rem;
  bottom: 4.2rem;
  padding: 0.28rem 2.1rem;
  background: rgba(64, 83, 58, 0.1);
  color: rgba(47, 63, 43, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(-18deg);
}

.support-action-kicker {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.45rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.support-amount {
  color: var(--ember-deep);
  font-size: clamp(3.4rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 0 3px 0 rgba(213, 166, 75, 0.22);
}

.support-action p {
  margin-bottom: 0;
  color: #3f3528;
  font-weight: 700;
}

.support-reasons {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-reasons li {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 800;
  position: relative;
}

.support-reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(213, 166, 75, 0.22);
}

.support-action .button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 48px;
  font-size: 1.02rem;
  box-shadow: 0 12px 22px rgba(143, 69, 40, 0.22);
}

.web-collab-panel {
  margin: 2.4rem 0;
  padding: 1.45rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.36fr);
  gap: 1.25rem;
  align-items: stretch;
  border: 2px solid #8fa173;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(64, 83, 58, 0.2), rgba(213, 166, 75, 0.16)),
    var(--white);
  box-shadow: 0 18px 36px rgba(58, 44, 28, 0.16);
}

.web-collab-panel h2 {
  margin-bottom: 0.65rem;
  font-size: 1.7rem;
}

.web-collab-panel > *,
.web-collab-action {
  min-width: 0;
}

.web-collab-panel p {
  color: #463d31;
  margin-bottom: 0.8rem;
  overflow-wrap: break-word;
}

.web-collab-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.05rem;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(241, 248, 233, 0.94)),
    repeating-linear-gradient(135deg, rgba(64, 83, 58, 0.12) 0 8px, transparent 8px 16px);
}

.web-collab-action p {
  margin-bottom: 0;
  color: var(--green-deep);
  font-weight: 800;
}

.web-collab-action .button {
  width: 100%;
  min-height: 46px;
  white-space: normal;
}

.page-hero,
.project-hero {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner,
.project-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.project-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.breadcrumb {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  font-weight: 800;
}

.project-summary {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 1rem;
  align-items: start;
}

.stack {
  display: grid;
  gap: 1rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  margin: 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff9ef;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.screenshot {
  overflow: hidden;
}

.screenshot img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #f6ecdc;
  border-bottom: 1px solid var(--line);
}

.screenshot-caption {
  padding: 0.85rem;
}

.screenshot-caption p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.info-list {
  display: grid;
  gap: 0.65rem;
}

.info-list div {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-list dt {
  margin-bottom: 0.1rem;
  color: var(--green-deep);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: var(--muted);
}

.related-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.related-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff9ef;
  font-weight: 800;
  text-decoration: none;
}

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

.model-card {
  padding: 1rem;
}

.model-preview {
  display: grid;
  min-height: 150px;
  place-items: center;
  margin-bottom: 0.85rem;
  border: 1px dashed #bfa781;
  border-radius: var(--radius);
  background: #fff9ef;
  color: var(--muted);
  font-weight: 800;
}

.download-section {
  margin: 2.2rem 0 0;
  padding: 1.25rem;
  background: var(--green-deep);
  color: var(--white);
}

.download-section h2,
.download-section h3 {
  color: var(--white);
}

.download-section p {
  color: rgba(255, 253, 248, 0.9);
}

.download-section .button-primary {
  background: var(--gold);
  color: #2d2113;
}

.download-section .button-primary:hover {
  background: #e0b967;
  color: #2d2113;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 253, 248, 0.22);
}

.download-meta div {
  min-width: 0;
}

.download-meta strong {
  display: block;
  color: var(--gold);
}

.download-meta span {
  color: rgba(255, 253, 248, 0.88);
}

.coming-soon {
  display: inline-flex;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
  font-weight: 800;
}

.page-content {
  max-width: 840px;
  margin: 2rem auto;
}

.page-content .panel + .panel {
  margin-top: 1rem;
}

.contact-placeholder {
  padding: 1rem;
  border-style: dashed;
  background: #fff9ef;
}

.contact-hero {
  background:
    linear-gradient(135deg, rgba(64, 83, 58, 0.18), rgba(184, 95, 53, 0.12)),
    var(--canvas);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 1rem;
  align-items: end;
}

.contact-hero-grid > *,
.contact-layout > *,
.contact-card {
  min-width: 0;
}

.contact-hero-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-hero-card {
  padding: 1rem;
}

.contact-hero-card a {
  display: inline-block;
  margin: 0.25rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-hero-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-page {
  margin: 2rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
  gap: 1rem;
  align-items: start;
}

.contact-card {
  padding: 1.15rem;
}

.contact-form-card {
  border-top: 4px solid var(--gold);
}

.contact-card-header {
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.contact-card-header h2 {
  max-width: 620px;
  margin-bottom: 0.45rem;
  overflow-wrap: break-word;
}

.contact-card-header p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--green-deep);
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid #cbb99d;
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(58, 44, 28, 0.04);
}

.form-field input,
.form-field select {
  min-height: 44px;
  padding: 0.6rem 0.7rem;
}

.form-field textarea {
  min-height: 170px;
  padding: 0.7rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ember);
  outline: 3px solid rgba(184, 95, 53, 0.18);
}

.form-note {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d5b989;
  border-radius: var(--radius);
  background: #fff8eb;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-submit-row {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.contact-submit-row p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.contact-side {
  display: grid;
  gap: 1rem;
}

.contact-checklist {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.contact-checklist li {
  margin: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-checklist li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.store-links-card a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.55rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff9ef;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.store-links-card a::after {
  content: ">";
  color: var(--ember-deep);
  font-weight: 900;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-content .panel h2:not(:first-child) {
  margin-top: 1.6rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #2f3f2b;
  color: var(--white);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
}

.footer-disclaimer {
  margin: 0;
  color: rgba(255, 253, 248, 0.78);
}

@media (max-width: 980px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-menu-panel {
    left: 0;
    right: auto;
  }

  .home-hero-inner,
  .intro-grid,
  .content-grid,
    .project-hero-inner,
    .support-panel,
    .web-collab-panel,
    .contact-hero-grid,
    .contact-layout {
    grid-template-columns: 1fr;
  }

  .support-panel .button {
    justify-self: start;
  }

  .support-laws {
    grid-template-columns: 1fr;
  }

  .projects-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-nav,
  .home-hero-inner,
  .camp-strip-inner,
  .page-hero-inner,
  .project-hero-inner,
  .footer-inner,
  main,
  .page-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .home-hero-inner {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-mark {
    width: 112px;
    height: 112px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  .nav-links a,
  .nav-menu summary {
    white-space: nowrap;
  }

  .nav-menu-panel {
    width: 260px;
  }

  .camp-strip-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .camp-strip span,
  .camp-strip a {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    white-space: normal;
  }

    .panel,
    .project-card,
    .support-panel,
    .web-collab-panel,
    .download-section,
    .screenshot,
    .model-card {
    width: 100%;
    max-width: 100%;
  }

  .projects-grid,
  .screenshot-grid,
  .feature-list,
  .model-grid,
  .download-meta,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-submit-row {
    align-items: stretch;
  }

  .contact-submit-row .button {
    width: 100%;
  }

  .project-card {
    min-height: 0;
  }

  .project-card-media img {
    height: 170px;
  }

  .screenshot img {
    height: auto;
  }
}

@media print {
  .site-header,
  .site-footer,
  .support-panel {
    display: none;
  }

  body {
    background: var(--white);
  }

  .panel,
  .project-card,
  .screenshot,
  .download-section {
    box-shadow: none;
  }
}
