/* Shared shell: tokens, nav, footer, interior-page components.
   Homepage-only components live in home.css. */

:root {
  --bg: #0c0d0c;
  --bg-2: #101110;
  --card: #141514;
  --fg: #f2efe6;
  --muted: #9aa096;
  --accent: #27b05a;
  --accent-2: #2fc266;
  --green-deep: #123b23;
  --line: rgba(242, 239, 230, 0.09);
  --line-2: rgba(242, 239, 230, 0.18);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Archivo, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--accent);
  color: #0c0d0c;
}
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.display {
  font-family: Anton, "Archivo", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
}
.accent {
  color: var(--accent);
}

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 13, 12, 0.78);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: Anton, sans-serif;
  font-size: 21px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand .accent {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0c0d0c;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 8px;
  transition: transform 0.12s ease, background 0.15s;
  white-space: nowrap;
}
.btn:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}
.btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.btn.ghost:hover {
  background: rgba(242, 239, 230, 0.06);
  border-color: var(--fg);
}
.nav .menu-toggle {
  display: none;
}

/* ---------- Section shell ---------- */
section.block {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 22px;
}

/* ---------- Page header (interior pages) ---------- */
.page-head {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: -60% 0 auto 0;
  height: 160%;
  background: radial-gradient(
    55% 50% at 50% 30%,
    rgba(39, 176, 90, 0.14),
    rgba(39, 176, 90, 0) 70%
  );
  pointer-events: none;
}
.page-head .wrap {
  position: relative;
}
.page-head h1 {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 6rem);
}
.page-head p.sub {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-brand .brand {
  font-size: 26px;
}
.foot-brand p {
  color: var(--muted);
  max-width: 280px;
  margin: 16px 0 0;
  font-size: 15px;
}
.foot-col h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 700;
}
.foot-col a {
  display: block;
  color: #c9c5b8;
  padding: 7px 0;
  font-size: 15px;
  transition: color 0.15s;
}
.foot-col a:hover {
  color: var(--accent);
}
.foot-bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.foot-note {
  margin-top: 20px;
  color: #7d8378;
  font-size: 12.5px;
  line-height: 1.55;
  max-width: 760px;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  section.block {
    padding: 72px 0;
  }
}
