.nav-current {
  color: var(--text) !important;
  position: relative;
}
.nav-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* --- WP hero --- */
.wp-hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.wp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(4, 54, 21, .08), transparent 60%);
  pointer-events: none;
}
.wp-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.wp-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wp-hero-copy h1 {
  font-size: clamp(40px, 5.2vw, 60px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 18px 0 18px;
}
.wp-hero-copy .h1-sub {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: -.025em;
  margin-top: 4px;
}
.wp-hero-copy .lede {
  font-size: 18px;
  color: var(--text-sec);
  max-width: 520px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.wp-hero-copy code {
  background: rgba(0,0,0,.06);
  padding: 1px 6px;
  border-radius: 5px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.wp-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.wp-hero-copy .hero-badges { justify-content: flex-start; margin-top: 8px; }

/* --- WP admin mockup (hero visual) --- */
.wp-hero-media { position: relative; }
.wp-admin-mock {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sep);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.wp-admin-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1d2327;
  color: #c3c4c7;
  padding: 0 14px;
  height: 36px;
  font-size: 13px;
}
.wp-admin-bar .wp-logo {
  display: flex;
  align-items: center;
  color: #fff;
}
.wp-admin-bar span { color: #c3c4c7; }
.wp-admin-bar .wp-admin-plus {
  padding: 0 8px;
}
.wp-admin-bar .wp-admin-user {
  margin-left: auto;
}
.wp-admin-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 420px;
}
.wp-sidebar {
  background: #1d2327;
  padding: 8px 0;
}
.wp-menu {
  color: #c3c4c7;
  font-size: 13px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wp-menu-active {
  background: #043615;
  color: #fff;
  position: relative;
}
.wp-menu-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00d084;
}
.wp-menu-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00d084;
}
.wp-content {
  padding: 20px 22px;
  background: #f0f0f1;
}
.wp-content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.wp-content-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1d2327;
  letter-spacing: -.01em;
}
.wp-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-sec);
  font-weight: 500;
}
.wp-live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: wp-pulse 1.6s ease-in-out infinite;
}
@keyframes wp-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,.08); }
}
.wp-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.wp-kpi {
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}
.wp-kpi-label {
  font-size: 11px;
  color: var(--text-sec);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wp-kpi-val {
  font-size: 22px;
  font-weight: 700;
  color: #1d2327;
  margin: 2px 0 2px;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.wp-kpi-delta {
  font-size: 11px;
  font-weight: 600;
}
.wp-kpi-delta.up { color: #16a34a; }
.wp-kpi-delta.down { color: #dc2626; }
.wp-chart {
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.wp-chart svg { width: 100%; height: 80px; display: block; }
.wp-toplist {
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 6px;
  padding: 6px 12px;
}
.wp-tl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--sep);
  font-family: ui-monospace, monospace;
  color: var(--text-sec);
}
.wp-tl-row:last-child { border: 0; }
.wp-tl-row strong {
  color: #1d2327;
  font-variant-numeric: tabular-nums;
  font-family: 'Inter', sans-serif;
}

/* --- Code card (scriptet indsættes for dig) --- */
.wp-code-card { text-align: left; }
.wp-code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 10px;
}
.wp-code-head + .wp-code-head { margin-top: 22px; }
.wp-code-block {
  background: #1d2327;
  color: #e7e5e4;
  padding: 14px 16px;
  border-radius: 10px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.55;
  overflow-x: auto;
  margin: 0;
  position: relative;
}
.wp-code-before {
  opacity: .82;
}
.wp-code-before::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 7px,
    rgba(255,255,255,.03) 7px,
    rgba(255,255,255,.03) 14px
  );
  pointer-events: none;
}
.wp-code-check {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 208, 132, .08);
  border: 1px solid rgba(0, 208, 132, .25);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.wp-code-tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00d084;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* --- WP browser mock (dashboard in WP admin) --- */
.wp-browser {
  max-width: 540px;
  margin: 0 auto;
}
.wp-dashboard-body {
  padding: 16px 18px;
  background: #f0f0f1;
}
.wp-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.wp-dash-kpi {
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}
.wp-dash-kpi span {
  font-size: 10px;
  color: var(--text-sec);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wp-dash-kpi strong {
  font-size: 16px;
  font-weight: 700;
  color: #1d2327;
  margin: 2px 0 1px;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.wp-dash-kpi em {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
}
.wp-dash-kpi em.up { color: #16a34a; }
.wp-dash-kpi em.down { color: #dc2626; }
.wp-dash-chart {
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.wp-dash-chart svg { width: 100%; height: 90px; display: block; }
.wp-dash-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.wp-dash-col {
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 6px;
  padding: 10px 12px;
}
.wp-dash-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.wp-tabs {
  font-weight: 500;
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-ter);
}
.wp-tabs em { color: var(--accent); font-style: normal; font-weight: 700; }
.wp-tabs u { text-decoration: none; }
.wp-dash-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 11px;
  color: var(--text-sec);
  font-family: ui-monospace, monospace;
}
.wp-dash-row strong {
  color: #1d2327;
  font-variant-numeric: tabular-nums;
  font-family: 'Inter', sans-serif;
}

/* --- Post list card --- */
.wp-postlist-card { text-align: left; }
.wp-postlist-head,
.wp-postlist-row {
  display: grid;
  grid-template-columns: 1fr 80px 90px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.wp-postlist-head {
  padding: 8px 0 10px;
  border-bottom: 2px solid var(--sep);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.wp-postlist-head em {
  font-style: normal;
  color: var(--text-ter);
  font-weight: 500;
  margin-left: 4px;
}
.wp-postlist-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--sep);
  color: var(--text);
}
.wp-postlist-row:last-child { border: 0; }
.wp-postlist-row span:nth-child(1) { font-weight: 500; }
.wp-postlist-row span:nth-child(2) { color: var(--text-sec); font-size: 12px; }
.wp-postlist-row strong {
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-weight: 700;
}
.wp-postlist-row em {
  font-style: normal;
  font-size: 12px;
  margin-left: 4px;
}
.wp-postlist-row em.up { color: #16a34a; }
.wp-postlist-row em.down { color: #dc2626; }

/* --- Events card --- */
.wp-events-card { text-align: left; }
.wp-events-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sep);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.wp-events-tabs {
  font-weight: 500;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-ter);
}
.wp-events-tabs em { color: var(--accent); font-style: normal; font-weight: 700; }
.wp-events-tabs u { text-decoration: none; }
.wp-event-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
}
.wp-event-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: -.01em;
}
.wp-tag-wc    { background: rgba(147, 51, 234, .10); color: #7c3aed; }
.wp-tag-form  { background: rgba(4, 54, 21, .10);    color: #043615; }
.wp-tag-dl    { background: rgba(234, 88, 12, .10);  color: #c2410c; }
.wp-tag-out   { background: rgba(37, 99, 235, .10);  color: #1d4ed8; }
.wp-tag-search{ background: rgba(14, 165, 233, .10); color: #0369a1; }
.wp-tag-404   { background: rgba(220, 38, 38, .10);  color: #b91c1c; }
.wp-event-path {
  font-size: 12px;
  color: var(--text-sec);
  font-family: ui-monospace, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wp-event-row strong {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
  min-width: 36px;
}

/* --- Install steps (reusing .steps-grid / .step-card from main) --- */
.wp-install {
  padding: 100px 0 100px;
  background: #fbfbfa;
  border-top: 1px solid var(--sep);
  border-bottom: 1px solid var(--sep);
}
.wp-install .section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}
.wp-install .section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 10px 0 10px;
}
.wp-install .section-head .section-lede {
  color: var(--text-sec);
  font-size: 16px;
}

/* Custom step visuals for WP install */
.wp-step-visual {
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
}

.wp-plugin-card {
  font-size: 13px;
}
.wp-plugin-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.wp-plugin-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  flex-shrink: 0;
}
.wp-plugin-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  font-size: 13px;
  letter-spacing: -.005em;
}
.wp-plugin-meta {
  font-size: 11px;
  color: var(--text-sec);
}
.wp-plugin-btn {
  background: #2271b1;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.wp-signin-card {
  font-size: 13px;
}
.wp-signin-card .input-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  background: #fafafa;
  border: 1px solid var(--sep);
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 12px;
}
.wp-signin-card .input-label {
  color: var(--text-sec);
  font-weight: 500;
}
.wp-signin-card .input-value {
  color: var(--text);
  font-family: ui-monospace, monospace;
}
.wp-signin-card .step-btn {
  background: var(--accent);
  color: #fff;
  padding: 9px 14px;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.wp-match-card {
  font-size: 13px;
}
.wp-match-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  background: #fafafa;
  border: 1px solid var(--sep);
  margin-bottom: 6px;
  font-size: 12px;
  font-family: ui-monospace, monospace;
}
.wp-match-row:last-child { margin-bottom: 0; }
.wp-match-row.dim { opacity: .55; }
.wp-check {
  width: 18px;
  height: 18px;
  background: #00d084;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.wp-circle {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--sep);
  border-radius: 50%;
  flex-shrink: 0;
}
.wp-match-tag {
  margin-left: auto;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  background: rgba(0, 208, 132, .12);
  color: #02260f;
  padding: 2px 8px;
  border-radius: 999px;
}

/* --- Trust grid --- */
.wp-trust {
  padding: 100px 0 100px;
}
.wp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.wp-trust-item {
  background: var(--surface);
  border: 1px solid var(--sep);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.wp-trust-item:hover {
  border-color: rgba(0, 208, 132, .25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.wp-trust-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 14px;
}
.wp-trust-item h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}
.wp-trust-item p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.55;
  margin: 0;
}
.wp-trust-item a { color: var(--accent); font-weight: 600; }

/* --- Responsive --- */
@media (max-width: 1000px) {
  .wp-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wp-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .wp-admin-body { grid-template-columns: 1fr; }
  .wp-sidebar { display: none; }
  .wp-dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .wp-dash-bottom { grid-template-columns: 1fr; }
  .wp-event-row { grid-template-columns: 110px 1fr auto; }
  .wp-postlist-head,
  .wp-postlist-row { grid-template-columns: 1fr 70px; }
  .wp-postlist-head span:nth-child(2),
  .wp-postlist-row span:nth-child(2) { display: none; }
}
@media (max-width: 600px) {
  .wp-trust-grid { grid-template-columns: 1fr; }
  .wp-kpis { grid-template-columns: repeat(3, 1fr); }
  .wp-kpi-val { font-size: 18px; }
}
