@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --lime:    #87ff71;
  --amber:   #ffce5c;
  --ink:     #192617;
  --ink-90:  rgba(25,38,23,0.9);
  --ink-60:  rgba(25,38,23,0.6);
  --ink-10:  rgba(25,38,23,0.08);
  --white:   #ffffff;
  --off-white: #f5faf4;
  --rail-w:  240px;
  --rail-w-collapsed: 56px;
  --radius:  4px;
  --font:    'Inter', system-ui, -apple-system, sans-serif;
  --max-content: 860px;
  --transition: 0.22s ease;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--off-white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #1a6600; }
ol, ul { list-style: none; }
button, input, textarea, select { font: inherit; }

/* ============================================================
   SCREEN-READER ONLY
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-toc-head { font-size: 1rem; margin-bottom: 0.5rem; }

/* ============================================================
   SITE WRAP + SIDE RAIL LAYOUT
   ============================================================ */
.site-wrap {
  display: flex;
  min-height: 100vh;
}

/* SIDE RAIL */
.side-rail {
  position: fixed;
  top: 0; left: 0;
  width: var(--rail-w);
  height: 100vh;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 200;
  overflow-y: auto;
  transition: transform var(--transition);
  border-right: 3px solid var(--lime);
}
.side-rail::before {
  content: '';
  position: absolute;
  top: -30px; right: -18px;
  width: 60px; height: 60px;
  background: var(--amber);
  transform: rotate(30deg);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  opacity: 0.18;
  pointer-events: none;
}

.rail-brand {
  padding: 18px 16px 12px;
  border-bottom: 2px dashed rgba(135,255,113,0.3);
}
.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  text-decoration: none;
}
.brand-text-icon {
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.5px;
  clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
}
.brand-text-icon:hover { background: var(--amber); color: var(--ink); }

.rail-links {
  flex: 1;
  padding: 12px 0;
}
.rail-links li a {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  border-left: 3px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.rail-links li a:hover,
.rail-links li a[aria-current="page"] {
  background: rgba(135,255,113,0.12);
  border-left-color: var(--lime);
  color: var(--lime);
}

.rail-ctas {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 2px dashed rgba(135,255,113,0.2);
  border-bottom: 2px dashed rgba(135,255,113,0.2);
}

.rail-search {
  padding: 12px 14px 16px;
}
.rail-search form {
  display: flex;
  gap: 4px;
}
.rail-search input[type="search"] {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(135,255,113,0.35);
  color: var(--white);
  padding: 7px 10px;
  border-radius: var(--radius);
  font-size: 13px;
  min-height: 36px;
}
.rail-search input[type="search"]::placeholder { color: rgba(255,255,255,0.45); }
.rail-search input[type="search"]:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.rail-search button {
  background: var(--lime);
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 12px;
  min-height: 36px;
  font-weight: 700;
}
.rail-search button:hover { background: var(--amber); }

/* PAGE BODY */
.page-body {
  margin-left: var(--rail-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* RAIL TOGGLE (mobile) */
.rail-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 300;
  background: var(--ink);
  color: var(--lime);
  border: 2px solid var(--lime);
  border-radius: var(--radius);
  width: 44px; height: 44px;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   MEMPHIS STRIP (home)
   ============================================================ */
.memphis-strip {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--lime) 0px,
    var(--lime) 18px,
    var(--amber) 18px,
    var(--amber) 36px,
    var(--ink) 36px,
    var(--ink) 54px
  );
  position: relative;
  overflow: visible;
}
.ms-triangle {
  position: absolute;
  top: -14px; left: 5%;
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 22px solid var(--amber);
  transform: rotate(-10deg);
}
.ms-circle {
  position: absolute;
  top: -18px; left: 20%;
  width: 28px; height: 28px;
  border: 4px solid var(--lime);
  border-radius: 50%;
  background: transparent;
}
.ms-squiggle {
  position: absolute;
  top: -14px; left: 40%;
  width: 40px; height: 18px;
  border-top: 4px solid var(--amber);
  border-radius: 50% 50% 0 0;
  transform: rotate(8deg);
}
.ms-dot-grid {
  position: absolute;
  top: -12px; right: 8%;
  width: 36px; height: 20px;
  background-image: radial-gradient(circle, var(--ink) 2px, transparent 2px);
  background-size: 8px 8px;
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 70vh;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(25,38,23,0.82) 70%);
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  margin-left: auto;
  max-width: 560px;
  padding: 60px 48px 100px 32px;
  text-align: right;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  margin-bottom: 14px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.hero-copy h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-slant {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 72px;
  background: var(--off-white);
  clip-path: polygon(0 100%, 100% 0%, 100% 100%);
  z-index: 3;
}

/* ============================================================
   INNER HEADER (non-home layouts)
   ============================================================ */
.inner-header {
  background: var(--ink);
  color: var(--white);
  padding: 48px 40px 56px;
  position: relative;
  overflow: hidden;
}
.inner-header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 40px;
  background: var(--off-white);
  clip-path: polygon(0 100%, 100% 0%, 100% 100%);
}
.inner-header-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ih-triangle {
  position: absolute;
  top: 10px; right: 80px;
  width: 0; height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid var(--lime);
  opacity: 0.15;
  transform: rotate(15deg);
}
.ih-dot-row {
  position: absolute;
  bottom: 30px; left: 24px;
  width: 120px; height: 24px;
  background-image: radial-gradient(circle, rgba(135,255,113,0.4) 2px, transparent 2px);
  background-size: 12px 12px;
}
.inner-header-copy {
  position: relative;
  z-index: 2;
  max-width: var(--max-content);
}
.inner-header-copy h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--white);
}
.inner-hero-img-wrap {
  position: absolute;
  right: 40px; top: 20px;
  width: 260px; height: 160px;
  overflow: hidden;
  border-radius: var(--radius);
  opacity: 0.7;
  z-index: 1;
}
.inner-hero-img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   BYLINE
   ============================================================ */
.byline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}
.byline strong { color: var(--lime); }
.byline time { font-variant-numeric: tabular-nums; }

/* INNER HEADER BYLINE (dark bg) */
.hero-copy .byline {
  color: rgba(255,255,255,0.72);
  text-align: right;
  margin-top: 8px;
}

/* ============================================================
   STAGE BADGE
   ============================================================ */
.stage-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
  text-transform: capitalize;
}
.stage-awareness  { background: var(--lime);  color: var(--ink); }
.stage-consideration { background: var(--amber); color: var(--ink); }
.stage-decision   { background: #ff6b6b; color: var(--white); }

/* ============================================================
   MAIN CONTENT + SIDEBAR
   ============================================================ */
main#main-content {
  display: flex;
  gap: 32px;
  padding: 48px 40px 48px;
  max-width: calc(var(--max-content) + 340px);
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}

.content-wrap {
  flex: 1;
  min-width: 0;
}
.content-wrap--narrow { max-width: var(--max-content); }

/* BODY CONTENT */
.body-content { margin-bottom: 48px; }
.body-content h2,
.body-content h3,
.body-content h4 { font-weight: 700; margin: 1.6em 0 0.6em; line-height: 1.3; }
.body-content h2 { font-size: 1.45rem; }
.body-content h3 { font-size: 1.18rem; }
.body-content p  { margin-bottom: 1em; }
.body-content ul, .body-content ol { padding-left: 1.4em; margin-bottom: 1em; }
.body-content ul { list-style: disc; }
.body-content ol { list-style: decimal; }
.body-content li { margin-bottom: 0.4em; }
.body-content table {
  width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px;
}
.body-content th, .body-content td {
  border: 1px solid var(--ink-10);
  padding: 10px 12px;
  text-align: left;
}
.body-content th { background: var(--ink); color: var(--white); font-weight: 600; }
.body-content tr:nth-child(even) td { background: rgba(135,255,113,0.06); }
.body-content blockquote {
  border-left: 4px solid var(--lime);
  padding: 12px 20px;
  background: rgba(135,255,113,0.08);
  margin: 1.2em 0;
  font-style: italic;
}
.body-content a { color: #1a6600; font-weight: 500; }
.body-content a:hover { color: var(--ink); }

/* EYEBROW */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  background: var(--amber);
  padding: 2px 8px;
  margin-bottom: 8px;
}

/* SIDEBAR */
.sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}
.sidebar-inner {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.sidebar-inner::before {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 50px; height: 50px;
  background: var(--lime);
  transform: rotate(45deg);
  opacity: 0.25;
}
.sidebar-inner h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.sidebar-links { margin-bottom: 20px; }
.sidebar-links li { border-bottom: 1px dashed var(--ink-10); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links li a {
  display: block;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.4;
}
.sidebar-links li a:hover { color: #1a6600; text-decoration: underline; }
.sidebar-links li a[aria-current="page"] { color: #1a6600; font-weight: 700; }

.sidebar-cta-box,
.sidebar-contact-box,
.sidebar-author-mini {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
}
.sidebar-cta-box .eyebrow,
.sidebar-contact-box .eyebrow,
.sidebar-author-mini .eyebrow { color: var(--ink); background: var(--lime); margin-bottom: 8px; }
.sidebar-cta-box p,
.sidebar-contact-box p,
.sidebar-author-mini p { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 12px; }

/* ============================================================
   CTAs / BUTTONS
   ============================================================ */
.cta {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 42px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}
.cta-signup {
  background: var(--lime);
  color: var(--ink);
  border: 2px solid var(--lime);
}
.cta-signup:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.cta-login {
  background: transparent;
  color: var(--lime);
  border: 2px solid var(--lime);
}
.cta-login:hover { background: rgba(135,255,113,0.12); color: var(--lime); }

.sidebar-cta { margin-top: 4px; font-size: 13px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 2px solid var(--lime);
  color: var(--lime);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  min-height: 42px;
  transition: background var(--transition);
}
.btn-outline:hover { background: rgba(135,255,113,0.15); }

/* ============================================================
   CHILD-PAGE CARDS
   ============================================================ */
.child-cards, .related-faqs, .faq-index { margin-bottom: 48px; }
.child-cards h2, .faq-index h2, .related-faqs h2 {
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 20px;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 16px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: 4px 6px 0 var(--ink); }
.card a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.card a:hover { color: #1a6600; }
.card small { font-size: 13px; color: var(--ink-60); line-height: 1.4; }
.card .card-date { font-size: 12px; color: var(--ink-60); margin-top: 4px; padding-bottom: 14px; }
.card-accent {
  display: block;
  height: 4px;
  background: var(--lime);
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.card::before {
  content: '';
  position: absolute;
  top: -8px; right: -8px;
  width: 24px; height: 24px;
  background: var(--amber);
  transform: rotate(45deg);
  opacity: 0.5;
}

/* FAQ LINK LIST */
.faq-link-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-link-list li {
  border-bottom: 1px solid var(--ink-10);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.faq-link-list li:first-child { border-top: 1px solid var(--ink-10); }
.faq-link-list li a { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.faq-link-list li a:hover { color: #1a6600; text-decoration: underline; }
.faq-link-list li small { font-size: 13px; color: var(--ink-60); line-height: 1.4; }

/* ============================================================
   AUTHOR SECTION
   ============================================================ */
.author-section { margin-top: 48px; }
.author-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.author-card-decor { position: absolute; top: 0; right: 0; pointer-events: none; }
.ac-triangle {
  display: block;
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-top: 60px solid var(--lime);
  opacity: 0.18;
}
.author-card-body { flex: 1; position: relative; z-index: 1; }
.author-card-body h2 { color: var(--lime); margin-bottom: 6px; font-size: 1.3rem; }
.author-credentials { font-size: 13.5px; color: rgba(255,255,255,0.65); margin-bottom: 12px; font-style: italic; }
.author-bio { font-size: 15px; color: rgba(255,255,255,0.88); line-height: 1.7; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap { margin-top: 32px; max-width: 600px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13.5px; font-weight: 600; }
.form-row input,
.form-row textarea {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--transition);
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(135,255,113,0.25); }
.form-row textarea { resize: vertical; min-height: 140px; }
.btn-submit {
  background: var(--lime);
  color: var(--ink);
  border: 2px solid var(--lime);
  border-radius: var(--radius);
  padding: 12px 28px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  min-height: 44px;
  align-self: flex-start;
  transition: background var(--transition), border-color var(--transition);
}
.btn-submit:hover { background: var(--amber); border-color: var(--amber); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--white);
  margin-top: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 0;
  border-top: 4px solid var(--lime);
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: -3px; left: 0;
  width: 100%; height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--lime) 0px, var(--lime) 20px,
    var(--amber) 20px, var(--amber) 40px
  );
  opacity: 0.5;
}

footer > div {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
footer > div:last-child { border-right: none; }

.footer-wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }

footer .eyebrow { background: rgba(255,206,92,0.2); color: var(--amber); margin-bottom: 14px; }

footer ol, footer ul { list-style: none; padding: 0; }
footer ol li, footer ul li { margin-bottom: 8px; }
footer ol li a, footer ul li a {
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
  text-decoration: none;
  transition: color var(--transition);
}
footer ol li a:hover, footer ul li a:hover { color: var(--lime); }

.rg-notice {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  border: 1px dashed rgba(135,255,113,0.25);
  padding: 10px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.copyright { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.footer-bottom-links { font-size: 12.5px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--lime); }

/* ============================================================
   REVEAL / SCROLL ANIMATION
   ============================================================ */
.reveal-block {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-block { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   MEMPHIS BACKGROUND PATTERN (subtle)
   ============================================================ */
.page-body > main#main-content {
  background-image:
    radial-gradient(circle, rgba(25,38,23,0.04) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --rail-w: 200px; }
  main#main-content { padding: 36px 28px; }
  .hero-copy { padding: 48px 32px 90px 24px; }
}

@media (max-width: 900px) {
  footer {
    grid-template-columns: 1fr 1fr;
  }
  footer > div:nth-child(2) { border-right: none; }
  .sidebar { width: 240px; }
}

@media (max-width: 768px) {
  :root { --rail-w: 260px; }

  .side-rail {
    transform: translateX(calc(-1 * var(--rail-w)));
  }
  .side-rail.is-open { transform: translateX(0); }

  .rail-toggle { display: flex; }

  .page-body { margin-left: 0; }

  .hero-section { min-height: 60vh; }
  .hero-copy {
    max-width: 100%;
    padding: 60px 24px 90px;
    text-align: left;
    margin-left: 0;
  }
  .hero-copy h1 { font-size: 1.7rem; }

  .inner-header { padding: 32px 20px 48px; }
  .inner-hero-img-wrap { display: none; }

  main#main-content {
    flex-direction: column;
    padding: 28px 20px 36px;
    gap: 24px;
  }
  .sidebar {
    width: 100%;
    position: static;
  }

  footer {
    grid-template-columns: 1fr;
  }
  footer > div { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  footer > div:last-child { border-bottom: none; }

  .card-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 1.45rem; }
  .inner-header-copy h1 { font-size: 1.35rem; }
  main#main-content { padding: 20px 16px 28px; }
  .inner-header { padding: 28px 16px 40px; }
}

/* ============================================================
   OVERLAY (mobile nav)
   ============================================================ */
.rail-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(25,38,23,0.7);
  z-index: 199;
}
.rail-overlay.is-active { display: block; }
