:root {
  --ink: #080b12;
  --ink-2: #111827;
  --panel: #111a2f;
  --panel-2: #17223d;
  --paper: #f3f0e8;
  --muted: #aab3c4;
  --line: rgba(255,255,255,.17);
  --line-dark: rgba(8,11,18,.16);
  --acid: #c7ff3d;
  --cyan: #41e2ff;
  --orange: #ff6a3d;
  --white: #ffffff;
  --shadow: 14px 14px 0 #080b12;
  --body-text: #ffffff;
  --page-bg:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 14% 12%, rgba(65,226,255,.18), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(199,255,61,.13), transparent 30%),
    linear-gradient(135deg, #070a12 0%, #101827 48%, #06070b 100%);
  --header-bg: rgba(7, 10, 18, .82);
  --body-grid-a: rgba(255,255,255,.035);
  --body-grid-b: rgba(255,255,255,.035);
  --hero-panel-bg: linear-gradient(145deg, var(--panel), #08101f);
  --hero-panel-border: rgba(255,255,255,.45);
  --hero-text: #d9dfec;
  --section-text: #c8d0df;
  --process-text: #dce4f2;
  --soft-card: rgba(255,255,255,.045);
  --soft-card-hover: rgba(255,255,255,.1);
  --card-body: #3a4456;
  --index-color: #687084;
  --stat-bg: #0a0f1d;
  --stat-text: #d8e0ef;
  --contact-label: #657083;
  --grain-opacity: .12;
}

body[data-theme="light"] {
  --ink: #0b1020;
  --ink-2: #1f2937;
  --panel: #ffffff;
  --panel-2: #e7eefc;
  --paper: #ffffff;
  --muted: #536075;
  --line: rgba(8,11,18,.16);
  --line-dark: rgba(8,11,18,.16);
  --acid: #6f9200;
  --cyan: #007fa8;
  --orange: #d8502a;
  --white: #ffffff;
  --shadow: 14px 14px 0 #0b1020;
  --body-text: #0b1020;
  --page-bg:
    linear-gradient(90deg, rgba(8,11,18,.05) 1px, transparent 1px),
    linear-gradient(rgba(8,11,18,.05) 1px, transparent 1px),
    radial-gradient(circle at 14% 12%, rgba(5,185,232,.17), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(215,255,56,.42), transparent 30%),
    linear-gradient(135deg, #f8f5ea 0%, #eef6ff 48%, #ffffff 100%);
  --header-bg: rgba(255,255,255,.84);
  --hero-panel-bg: linear-gradient(145deg, #ffffff, #edf4ff);
  --hero-panel-border: rgba(8,11,18,.46);
  --hero-text: #344053;
  --section-text: #4b5568;
  --process-text: #263246;
  --soft-card: rgba(255,255,255,.7);
  --soft-card-hover: rgba(255,255,255,.95);
  --card-body: #3a4456;
  --index-color: #687084;
  --stat-bg: #ffffff;
  --stat-text: #273246;
  --contact-label: #657083;
  --grain-opacity: .06;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--body-text);
  background: var(--page-bg);
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: var(--grain-opacity);
  background-image: linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.05) 25%, transparent 25%);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 900; letter-spacing: -.03em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #06070b;
  background: var(--acid);
  border: 2px solid var(--white);
  box-shadow: 5px 5px 0 var(--cyan);
  font-family: "JetBrains Mono", monospace;
}
.brand-name { font-size: 1.05rem; }

.nav { display: flex; gap: 8px; }
.nav a, .header-cta {
  padding: 12px 15px;
  color: var(--muted);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .9rem;
}
.nav a:hover { color: var(--white); border-color: var(--line); background: rgba(255,255,255,.04); }
.header-cta { color: var(--ink); background: var(--white); border-color: var(--white); }
.header-cta:hover { background: var(--acid); color: var(--ink); }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: var(--soft-card);
  color: var(--body-text);
  font: 800 .86rem/1 Inter, sans-serif;
  cursor: pointer;
  text-transform: uppercase;
}
.theme-toggle:hover { background: var(--soft-card-hover); }
.theme-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  font-size: .86rem;
  line-height: 1;
}

main { padding-inline: clamp(18px, 5vw, 64px); }
.section-grid, .tools, .process, .contact { max-width: 1220px; margin-inline: auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: clamp(70px, 9vw, 126px) 0 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--acid);
  font: 700 .78rem/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.eyebrow span { width: 28px; height: 10px; background: var(--acid); display: inline-block; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 890px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 8vw, 8.8rem);
  line-height: .84;
  letter-spacing: -.09em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2.25rem, 4vw, 5rem); line-height: .9; letter-spacing: -.07em; text-transform: uppercase; }
h3 { font-size: 1.35rem; line-height: 1.05; letter-spacing: -.04em; }

.hero-text { max-width: 650px; color: var(--hero-text); font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 0 22px;
  border: 2px solid var(--white);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--cyan); }
.button-primary { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.button-secondary { color: var(--white); background: transparent; }
.full { width: 100%; }

.hero-panel {
  position: relative;
  padding: 18px;
  min-height: 560px;
  background: var(--hero-panel-bg);
  border: 2px solid var(--hero-panel-border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 70px auto auto -70px;
  width: 240px;
  height: 240px;
  background: var(--cyan);
  opacity: .18;
}
.hero-panel::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -28px;
  width: 190px;
  height: 190px;
  background: var(--acid);
  opacity: .2;
}
.panel-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem;
}

.category-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.category-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  color: var(--white);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.category-card:hover {
  transform: translate(-3px, -3px);
  border-color: rgba(255,255,255,.55);
  background: var(--soft-card-hover);
}
.category-card span {
  color: var(--cyan);
  font: 800 .78rem/1 "JetBrains Mono", monospace;
}
.category-card strong {
  display: block;
  margin-top: 28px;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.category-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font: 600 .86rem/1.5 Inter, sans-serif;
}
.category-prime {
  background: var(--acid);
  color: var(--ink);
  border-color: var(--acid);
}
.category-prime span,
.category-prime small { color: rgba(8,11,18,.7); }
.category-dark {
  background: var(--ink);
  border-color: var(--cyan);
}
.category-accent {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--cyan);
}
.category-accent span,
.category-accent small { color: rgba(8,11,18,.72); }

.ticker {
  margin: 0 calc(clamp(18px, 5vw, 64px) * -1);
  display: flex;
  gap: 0;
  overflow: hidden;
  border-block: 2px solid var(--white);
  background: var(--acid);
  color: var(--ink);
}
.ticker span {
  flex: 1 0 auto;
  padding: 18px 28px;
  border-right: 2px solid var(--ink);
  font: 900 .9rem/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.tools, .process, .contact { padding: clamp(80px, 10vw, 140px) 0; }
.section-heading { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: 44px; }
.section-heading p:last-child, .contact p { color: var(--section-text); line-height: 1.75; font-size: 1.05rem; }
.tool-board { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--white); box-shadow: var(--shadow); }
.tool-card {
  min-height: 318px;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  border-right: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tool-card:last-child { border-right: 0; }
.tool-card p:not(.card-index) { color: var(--card-body); line-height: 1.65; }
.card-index { font-family: "JetBrains Mono", monospace; font-weight: 800; color: var(--index-color); }
.featured-card { background: var(--cyan); }

.process { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 80px); border-top: 1px solid var(--line); }
.process-grid { display: grid; gap: 14px; }
.process-step {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 94px;
  border: 1px solid var(--line);
  background: var(--soft-card);
}
.process-step strong { display: grid; place-items: center; background: var(--white); color: var(--ink); font-family: "JetBrains Mono", monospace; }
.process-step span { align-self: center; padding: 22px; color: var(--process-text); font-weight: 700; }

.stats {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  margin: 30px calc(clamp(18px, 5vw, 64px) * -1) 0;
  border-block: 2px solid var(--white);
}
.stat-card { padding: clamp(28px, 5vw, 58px); border-right: 2px solid var(--white); background: var(--stat-bg); }
.stat-card:last-child { border-right: 0; }
.stat-card span { display: block; font: 900 clamp(2.6rem, 6vw, 6rem)/.85 "JetBrains Mono", monospace; color: var(--acid); letter-spacing: -.08em; }
.stat-card p { margin: 18px 0 0; color: var(--stat-text); font-weight: 800; text-transform: uppercase; }
.stat-lead { background: var(--orange); color: var(--ink); }
.stat-lead span, .stat-lead p { color: var(--ink); }

.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.contact-panel { border: 2px solid var(--white); box-shadow: var(--shadow); background: var(--paper); color: var(--ink); }
.contact-row { padding: 28px; border-bottom: 2px solid var(--ink); }
.contact-row span { display: block; margin-bottom: 8px; color: var(--contact-label); font: 800 .77rem/1 "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.contact-row strong { font-size: 1.25rem; word-break: break-word; }
.contact-panel .button { border: 0; min-height: 74px; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}
.footer p { margin: 0; }
.footer a { color: var(--white); font-weight: 800; }


body[data-theme="light"] .nav a:hover { background: rgba(8,11,18,.05); }
body[data-theme="light"] .eyebrow { color: #4f6f00; }
body[data-theme="light"] .eyebrow span { background: #4f6f00; }
body[data-theme="light"] .button-primary { color: #ffffff; }
body[data-theme="light"] .brand-mark { color: #ffffff; }
body[data-theme="light"] .button-secondary { background: #ffffff; color: var(--ink); }
body[data-theme="light"] .category-card {
  color: var(--ink);
  background: rgba(255,255,255,.78);
  box-shadow: inset 0 0 0 1px rgba(8,11,18,.04);
}
body[data-theme="light"] .category-card:hover {
  background: #ffffff;
  border-color: rgba(8,11,18,.42);
}
body[data-theme="light"] .category-prime { background: var(--acid); }
body[data-theme="light"] .category-dark { background: var(--ink); color: #ffffff; }
body[data-theme="light"] .category-dark span { color: var(--cyan); }
body[data-theme="light"] .category-dark small { color: rgba(255,255,255,.78); }
body[data-theme="light"] .category-dark:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--cyan);
}
body[data-theme="light"] .category-dark:hover span { color: var(--cyan); }
body[data-theme="light"] .category-dark:hover small { color: rgba(255,255,255,.78); }
body[data-theme="light"] .category-accent { background: var(--cyan); }
body[data-theme="light"] .stats {
  border-block-color: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(8,11,18,.18);
}
body[data-theme="light"] .stat-card {
  border-right-color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(8,11,18,.1);
}
body[data-theme="light"] .stat-lead { background: var(--orange); }
body[data-theme="light"] .grain { mix-blend-mode: multiply; }
body[data-theme="light"] .nav a:hover, body[data-theme="light"] .footer a { color: var(--ink); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .nav { display: none; }
  .hero, .section-heading, .process, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .tool-board, .stats { grid-template-columns: repeat(2, 1fr); }
  .tool-card:nth-child(2) { border-right: 0; }
  .tool-card { border-bottom: 2px solid var(--ink); }
  .tool-card:nth-child(n+3) { border-bottom: 0; }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card { border-bottom: 2px solid var(--white); }
  body[data-theme="light"] .stat-card { border-bottom-color: var(--ink); }
  .stat-card:nth-child(n+3) { border-bottom: 0; }
}

@media (max-width: 620px) {
  .site-header { padding-block: 16px; }
  .brand-name { display: none; }
  .theme-label { display: none; }
  .theme-toggle { padding: 0 10px; }
  .header-cta { padding: 11px 12px; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-panel { min-height: auto; box-shadow: 9px 9px 0 var(--ink); }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 132px; }
  .ticker { flex-wrap: wrap; }
  .ticker span { flex-basis: 50%; }
  .tool-board, .stats { grid-template-columns: 1fr; box-shadow: 9px 9px 0 var(--ink); }
  .tool-card, .tool-card:nth-child(2), .stat-card, .stat-card:nth-child(2) { border-right: 0; border-bottom: 2px solid var(--ink); }
  .stat-card { border-bottom-color: var(--white); }
  body[data-theme="light"] .stat-card { border-bottom-color: var(--ink); }
  .tool-card:last-child, .stat-card:last-child { border-bottom: 0; }
  .process-step { grid-template-columns: 70px 1fr; }
  .footer { flex-direction: column; }
}

/* WordPress menu output compatibility */
.nav .nav-menu {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.brand-logo img {
  display: block;
  max-height: 44px;
  width: auto;
}