/* ═══════════════════════════════════════════════
   TOKENS
   ═══════════════════════════════════════════════ */
:root {
  --ink:        #0F0D0A;
  --ink-2:      #16130F;
  --panel:      #1C1813;
  --panel-2:    #241F19;
  --panel-3:    #2C261F;
  --edge:       #3A3229;
  --edge-soft:  #2A241E;
  --bone:       #F0E9D9;
  --bone-dim:   #A89E8A;
  --bone-faint: #857B6B;
  --amber:      #E08A24;
  --amber-hi:   #F5A93F;
  --amber-dim:  rgba(224,138,36,0.12);
  --amber-edge: rgba(224,138,36,0.35);
  --amber-glow: rgba(224,138,36,0.18);
  --moss:       #7FA35A;
  --moss-dim:   rgba(127,163,90,0.12);
  --bevel: inset 1px 1px 0 rgba(255,255,255,0.05), inset -1px -1px 0 rgba(0,0,0,0.4);
  --bevel-in: inset 1px 1px 0 rgba(0,0,0,0.45), inset -1px -1px 0 rgba(255,255,255,0.03);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.45);
  --rail: 66px;
  --top:  60px;
  --wrap: 1200px;
  --r:    6px;
  --r-lg: 10px;
}

/* ═══════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--ink);
  color: var(--bone);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Subtle grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--amber); color: #17120A; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: var(--edge); border: 2px solid var(--ink-2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #4A4136; }
:focus-visible {
  outline: 2px solid var(--amber-hi);
  outline-offset: 3px;
  border-radius: 3px;
}
.shell { margin-left: var(--rail); }
.wrap  { max-width: var(--wrap); margin: 0 auto; padding: 0 2.25rem; }

/* ═══════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .45s ease, visibility .45s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-inner { width: 200px; text-align: center; }
.pre-name {
  font-family: 'Young Serif', serif; font-size: 1.2rem;
  color: var(--bone); margin-bottom: 1rem; letter-spacing: 0.02em;
}
.pre-bar {
  height: 4px; background: var(--panel);
  border-radius: 2px; overflow: hidden;
  box-shadow: var(--bevel-in);
}
.pre-bar span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--amber), var(--amber-hi));
  border-radius: 2px;
  animation: load 1s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes load { 0% { transform: translateX(-110%); } 100% { transform: translateX(320%); } }

/* ═══════════════════════════════════════════════
   LEFT RAIL
   ═══════════════════════════════════════════════ */
#rail {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--rail); z-index: 600;
  background: var(--panel);
  border-right: 1px solid var(--edge);
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem 0;
}
.rail-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  margin-bottom: 1.6rem;
  border-radius: var(--r);
  transition: background .15s ease;
}
.rail-mark:hover { background: var(--panel-3); }
.rail-mark img { width: 28px; height: 28px; object-fit: contain; }
.rail-tabs { display: flex; flex-direction: column; gap: .35rem; width: 100%; align-items: center; }
.rail-tab {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--bone-faint); font-size: 1.05rem;
  text-decoration: none; border-radius: var(--r);
  background: transparent;
  transition: color .15s ease, background .15s ease, transform .12s ease;
}
.rail-tab:hover { color: var(--bone); background: var(--panel-3); }
.rail-tab.active {
  color: var(--amber-hi);
  background: var(--panel-3);
  box-shadow: var(--bevel);
}
.rail-tab.active::before {
  content: ''; position: absolute; left: -11px; top: 11px; bottom: 11px;
  width: 3px; background: var(--amber); border-radius: 0 3px 3px 0;
  box-shadow: 0 0 8px var(--amber-glow);
}
.rail-tip {
  position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%);
  background: var(--panel-3); color: var(--bone);
  border: 1px solid var(--edge); box-shadow: var(--shadow-sm);
  font-size: .78rem; font-weight: 500; padding: .32rem .7rem; border-radius: var(--r);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .15s ease;
}
.rail-tab:hover .rail-tip { opacity: 1; }
.rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: .35rem; }
.rail-foot .rail-tab { font-size: 1rem; }

/* ═══════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════ */
#nav {
  position: sticky; top: 0; z-index: 500;
  height: var(--top);
  background: rgba(15,13,10,0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
#nav.scrolled {
  background: rgba(15,13,10,0.94);
  border-bottom-color: var(--edge-soft);
}
.navbar {
  max-width: var(--wrap); margin: 0 auto; height: 100%;
  padding: 0 2.25rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-brand {
  font-family: 'Young Serif', serif; font-size: 1.1rem;
  color: var(--bone); letter-spacing: .01em;
  transition: opacity .15s;
}
.nav-brand:hover { opacity: 0.9; }
.nav-brand b { color: var(--amber-hi); font-weight: 400; }
.nav-center { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav-link {
  font-size: .875rem; font-weight: 500; color: var(--bone-dim);
  padding: .42rem .85rem; border-radius: var(--r);
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--bone);
  background: rgba(255,255,255,0.04);
}
.nav-right { display: flex; align-items: center; gap: .45rem; }
.nav-icon {
  width: 36px; height: 36px; display: grid; place-items: center;
  color: var(--bone-dim); font-size: .95rem;
  border-radius: var(--r);
  transition: color .15s ease, background .15s ease;
}
.nav-icon:hover { color: var(--bone); background: rgba(255,255,255,0.05); }
.menu-toggle {
  display: none; margin-left: auto;
  background: var(--panel-2); border: 1px solid var(--edge); color: var(--bone);
  width: 38px; height: 36px; border-radius: var(--r); cursor: pointer;
  font-size: 1rem;
}
.mobile-nav {
  position: absolute; top: var(--top); left: 0; right: 0;
  background: var(--panel); border-bottom: 1px solid var(--edge);
  padding: .85rem 1.25rem 1.2rem;
  display: none; flex-direction: column;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: .65rem .5rem; font-size: .95rem; }
.mobile-nav-pills { display: flex; gap: .5rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--edge-soft); }

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: 'Archivo', sans-serif; font-size: .9rem; font-weight: 600;
  padding: .8rem 1.55rem; border-radius: var(--r);
  cursor: pointer; border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease,
              transform .1s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: .95rem; }
.btn-primary {
  background: linear-gradient(180deg, var(--amber-hi) 0%, var(--amber) 100%);
  color: #17120A;
  border-color: #C47A1E;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 2px 8px rgba(224,138,36,0.25);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #FFB84D 0%, var(--amber-hi) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 14px rgba(224,138,36,0.35);
}
.btn-secondary {
  background: var(--panel-2); color: var(--bone); border-color: var(--edge);
  box-shadow: var(--bevel);
}
.btn-secondary:hover {
  background: var(--panel-3);
  border-color: #4C4235;
}
.btn-sm { padding: .48rem 1.05rem; font-size: .84rem; }
.btn-file { font-weight: 400; color: rgba(23,18,10,.55); font-size: .78rem; }
.btn-secondary .btn-file { color: var(--bone-faint); }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  padding: 5rem 0 5.5rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(224,138,36,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(127,163,90,0.04) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--edge-soft) 20%, var(--edge-soft) 80%, transparent);
}
.hero-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 2.25rem;
  display: grid; grid-template-columns: minmax(0,1fr) 440px; gap: 4.5rem; align-items: center;
}
.hero-flag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; color: var(--moss);
  background: var(--moss-dim); border: 1px solid rgba(127,163,90,.28);
  padding: .32rem .75rem; border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-flag i { font-size: .8rem; }
.hero h1 {
  font-size: clamp(2.7rem, 5vw, 3.85rem);
  line-height: 1.05;
  margin-bottom: 1.15rem;
  background: linear-gradient(180deg, var(--bone) 40%, var(--bone-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.08rem; color: var(--bone-dim);
  max-width: 42ch; margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hero-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-size: .84rem; color: var(--bone-faint);
}
.hero-meta span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem 0;
}
.hero-meta i { color: var(--bone-faint); font-size: .78rem; opacity: 0.8; }

/* Client window mockup */
.client {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  box-shadow: var(--bevel), var(--shadow-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.client:hover {
  transform: translateY(-3px);
  box-shadow: var(--bevel), 0 28px 60px rgba(0,0,0,0.5);
}
.client-bar {
  display: flex; align-items: center; gap: .55rem;
  padding: .6rem .9rem;
  background: var(--panel-2);
  border-bottom: 1px solid var(--edge);
  font-size: .82rem; color: var(--bone-dim); font-weight: 500;
}
.client-bar img { width: 18px; height: 18px; object-fit: contain; }
.client-chip {
  margin-left: auto; font-size: .68rem; font-weight: 600;
  color: var(--moss); background: var(--moss-dim);
  border: 1px solid rgba(127,163,90,.25);
  padding: .15rem .5rem; border-radius: 100px;
  letter-spacing: 0.02em;
}
.client-main { display: grid; grid-template-columns: minmax(0,1fr) 48px; }
.client-view { padding: 1rem; border-right: 1px solid var(--edge-soft); }
.stats-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--edge-soft); border-radius: var(--r); overflow: hidden;
}
.stat-item {
  background: var(--panel-2); padding: 1rem .95rem;
}
.stat-lbl {
  font-size: .7rem; color: var(--bone-faint);
  letter-spacing: .03em; text-transform: uppercase; font-weight: 500;
  margin-bottom: .2rem;
}
.stat-num {
  font-family: 'Young Serif', serif;
  font-size: 1.7rem; line-height: 1.15; color: var(--amber-hi);
  font-variant-numeric: tabular-nums;
}
.chat {
  margin-top: 2px;
  background: var(--ink-2);
  border-radius: 0 0 var(--r) var(--r);
  padding: .85rem .95rem;
  font-size: .8rem; line-height: 1.55;
}
.chat-line { color: var(--bone-dim); margin-bottom: .28rem; }
.chat-line:last-child { margin-bottom: 0; }
.chat-who { color: var(--amber-hi); font-weight: 500; }
.chat-line b { color: var(--bone); font-weight: 600; }
.client-tabs {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  padding: .6rem 0; background: var(--panel-2);
}
.client-tabs i {
  width: 32px; height: 32px; display: grid; place-items: center;
  color: var(--bone-faint); font-size: .84rem; border-radius: 4px;
  transition: color .12s, background .12s;
}
.client-tabs i:first-child {
  color: var(--amber); background: var(--panel-3);
  box-shadow: var(--bevel);
}

/* ═══════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════ */
.band { padding: 5.5rem 0; border-bottom: 1px solid var(--edge-soft); }
.band-alt { background: var(--ink-2); }
.sec-kicker {
  font-size: .8rem; font-weight: 600; color: var(--amber);
  margin-bottom: .5rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.sec-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.15; margin-bottom: .85rem;
}
.sec-desc { color: var(--bone-dim); max-width: 42ch; font-size: 1.02rem; }

/* ═══════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════ */
.feat-grid {
  display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 4rem;
  align-items: start;
}
.feat-head { position: sticky; top: calc(var(--top) + 2.5rem); }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature-card {
  display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--edge-soft);
  border-radius: var(--r-lg);
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  border-color: var(--edge);
  background: var(--panel-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--amber);
  font-size: 1rem;
  background: var(--amber-dim);
  border: 1px solid var(--amber-edge);
  border-radius: var(--r);
}
.feature-title {
  font-family: 'Young Serif', serif;
  font-size: 1.08rem; margin-bottom: .3rem;
}
.feature-desc { font-size: .9rem; color: var(--bone-dim); line-height: 1.55; }

/* ═══════════════════════════════════════════════
   PLUGINS
   ═══════════════════════════════════════════════ */
.plug-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.filter-bar { display: flex; gap: .35rem; flex-wrap: wrap; }
.filter-btn {
  font-family: 'Archivo', sans-serif; font-size: .82rem; font-weight: 500;
  padding: .42rem .95rem; border-radius: 100px;
  background: transparent; color: var(--bone-dim);
  border: 1px solid var(--edge); cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.filter-btn:hover { color: var(--bone); background: var(--panel-3); border-color: var(--edge); }
.filter-btn.active {
  background: var(--amber-dim); color: var(--amber-hi);
  border-color: var(--amber-edge);
}
.plugins-grid {
  border: 1px solid var(--edge); border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.plugin-card {
  display: grid;
  grid-template-columns: 44px 200px minmax(0,1fr) 110px 80px;
  align-items: center; gap: 1.1rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--edge-soft);
  position: relative;
  transition: background .14s ease;
}
.plugins-grid .plugin-card:first-child { border-top: 0; }
.plugin-card:hover { background: var(--panel-2); }
.plugin-card:hover::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber-glow);
}
.plugin-icon {
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--ink-2);
  border: 1px solid var(--edge-soft);
  display: grid; place-items: center;
  overflow: hidden;
}
.plugin-icon img { width: 28px; height: 28px; object-fit: contain; }
.plugin-name { font-weight: 600; font-size: .95rem; }
.plugin-author { font-size: .76rem; color: var(--bone-faint); margin-top: .1rem; }
.plugin-desc { font-size: .875rem; color: var(--bone-dim); line-height: 1.45; }
.plugin-installs {
  font-size: .84rem; color: var(--bone-dim);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: center; gap: .4rem;
}
.plugin-installs i { color: var(--bone-faint); font-size: .72rem; }
.plugin-badge {
  justify-self: end;
  font-size: .72rem; font-weight: 600; color: var(--moss);
  background: var(--moss-dim); border: 1px solid rgba(127,163,90,.25);
  padding: .18rem .55rem; border-radius: 100px;
  letter-spacing: 0.02em;
}
.plugins-more {
  margin-top: 1.5rem; display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem; color: var(--bone-dim);
  padding: 1rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--edge-soft);
  border-radius: var(--r);
}
.plugins-more i { color: var(--amber); margin-top: .15rem; }
.plugins-more b { color: var(--bone); font-weight: 600; }
.plugins-more a { color: var(--amber-hi); font-weight: 500; }
.plugins-more a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════
   INSTALL STEPS
   ═══════════════════════════════════════════════ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2.75rem;
}
.step {
  padding: 2rem 1.75rem;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.step:hover {
  border-color: var(--amber-edge);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--amber-dim); color: var(--amber-hi);
  border: 1px solid var(--amber-edge); border-radius: 50%;
  font-size: .9rem; font-weight: 700;
  margin-bottom: 1.15rem;
}
.step-title {
  font-family: 'Young Serif', serif;
  font-size: 1.12rem; margin-bottom: .4rem;
}
.step-desc { font-size: .9rem; color: var(--bone-dim); line-height: 1.55; }

/* ═══════════════════════════════════════════════
   CTA + FOOTER
   ═══════════════════════════════════════════════ */
.cta-wrap { padding: 5rem 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
  background:
    linear-gradient(135deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  padding: 2.75rem 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-copy { position: relative; }
.cta-copy h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  margin-bottom: .45rem;
}
.cta-copy p { color: var(--bone-dim); max-width: 40ch; }
.cta-btns { display: flex; gap: .7rem; flex-wrap: wrap; position: relative; }

footer { padding: 3.25rem 0 3.5rem; border-top: 1px solid var(--edge-soft); }
.footer-inner {
  display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 3rem;
  align-items: start;
}
.footer-brand {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .75rem;
}
.footer-brand img { width: 26px; height: 26px; object-fit: contain; opacity: .85; }
.footer-brand-text { font-family: 'Young Serif', serif; font-size: 1.05rem; color: var(--bone); }
.footer-note { font-size: .84rem; color: var(--bone-faint); max-width: 32ch; line-height: 1.55; }
.footer-nav { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4 {
  font-family: 'Archivo', sans-serif;
  font-size: .75rem; font-weight: 600; color: var(--bone-faint);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: .15rem;
}
.footer-link {
  font-size: .88rem; color: var(--bone-dim);
  transition: color .15s;
}
.footer-link:hover { color: var(--amber-hi); }
.footer-copy {
  grid-column: 1 / -1; margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--edge-soft);
  font-size: .8rem; color: var(--bone-faint);
}

/* Page header for secondary pages */
.page-hero {
  padding: 4.25rem 0 3rem;
  border-bottom: 1px solid var(--edge-soft);
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(224,138,36,0.05) 0%, transparent 60%);
}
.page-hero h1 {
  font-size: clamp(2.15rem, 4vw, 2.9rem);
  margin-bottom: .75rem;
}
.page-hero p {
  color: var(--bone-dim);
  max-width: 48ch;
  font-size: 1.08rem;
}
.content-block { padding: 2.5rem 0; }
.content-block h2 {
  font-size: 1.5rem;
  margin-bottom: .9rem;
}
.content-block p {
  color: var(--bone-dim);
  margin-bottom: .9rem;
  max-width: 62ch;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1140px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .client { max-width: 440px; }
  .feat-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .feat-head { position: static; }
  .plugin-card { grid-template-columns: 44px 180px minmax(0,1fr) 90px; }
  .plugin-badge { display: none; }
}
@media (max-width: 900px) {
  .wrap, .navbar, .hero-inner { padding-left: 1.4rem; padding-right: 1.4rem; }
  .nav-center, .nav-right { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .band { padding: 4rem 0; }
  .feat-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: .75rem; }
  .cta-inner { padding: 2rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { justify-content: flex-start; }
  .shell { margin-left: 0; padding-bottom: 64px; }
  #rail {
    top: auto; right: 0; width: auto; height: 64px;
    flex-direction: row; justify-content: space-around; align-items: center;
    padding: 0 .5rem;
    border-right: 0; border-top: 1px solid var(--edge);
    background: rgba(28,24,19,0.96);
    backdrop-filter: blur(12px);
  }
  .rail-mark, .rail-tip { display: none; }
  .rail-tabs { flex-direction: row; gap: .2rem; }
  .rail-tab.active::before {
    left: 10px; right: 10px; top: -1px; bottom: auto;
    width: auto; height: 3px; border-radius: 0 0 3px 3px;
  }
  .rail-foot { margin-top: 0; flex-direction: row; }
}
@media (max-width: 620px) {
  .plugin-card {
    grid-template-columns: 40px minmax(0,1fr);
    gap: .75rem .9rem; padding: 1rem;
  }
  .plugin-desc, .plugin-installs { grid-column: 2; }
  .plugin-icon { width: 40px; height: 40px; }
  .hero-btns .btn, .cta-btns .btn { width: 100%; }
  .stats-wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
