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

:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #555555;
  --light: #999999;
  --border: #000000;
  --border-light: rgba(0,0,0,0.10);
  --border-mid: rgba(0,0,0,0.20);
}

* { margin:0; padding:0; box-sizing:border-box; }
::selection { background:#000; color:#fff; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--fg);
  font-family: "IBM Plex Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ═══ NAV ═══ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-bottom: 3px solid #000;
}

.nav-logo {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
}

.nav-logo-mark {
  background: #fff;
  color: #000;
  padding: 0.15rem 0.4rem;
  font-weight: 700;
  font-size: 0.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-links .nav-cta {
  color: #000;
  background: #fff;
  padding: 0.2rem 0.6rem;
  font-weight: 700;
}

.nav-links .nav-cta:hover { background: rgba(255,255,255,0.85); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  font-family: inherit;
}

/* ═══ LAYOUT ═══ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-pad {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.divider { border: none; border-top: 1px solid var(--border-light); }
.divider-heavy { border: none; border-top: 3px solid #000; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  font-family: inherit;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s, color 0.16s, transform 0.1s;
  border: 3px solid #000;
}

.btn-primary { background: #000; color: #fff; }
.btn-primary:hover { background: #222; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: #000; }
.btn-secondary:hover { background: #000; color: #fff; transform: translateY(-1px); }
.btn-white { background: #fff; color: #000; border-color: #fff; }
.btn-white:hover { background: rgba(255,255,255,0.85); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* ═══ HERO VIEWPORT ═══ */
.hero-viewport {
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 3px solid #000;
  position: relative;
}

.hero-viewport-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-scroll-hint {
  text-align: center;
  padding: 1rem;
  font-size: 1.2rem;
  color: var(--light);
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-statement {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  max-width: 950px;
}

.hero-statement em {
  font-style: normal;
  background: #000;
  color: #fff;
  padding: 0 0.12em;
}

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 620px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ═══ NAV GRID (home explore) ═══ */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 3px solid #000;
}

.nav-card {
  padding: 1.75rem;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  transition: background 0.15s, color 0.15s;
  position: relative;
}

.nav-card:nth-child(4n) { border-right: none; }
.nav-card:nth-last-child(-n+4) { border-bottom: none; }

.nav-card:hover { background: #000; color: #fff; }
.nav-card:hover .nav-card-num,
.nav-card:hover .nav-card-desc { color: rgba(255,255,255,0.6); }
.nav-card:hover .nav-card-arrow { color: #fff; }

.nav-card-dark {
  background: #000;
  color: #fff;
}
.nav-card-dark .nav-card-num,
.nav-card-dark .nav-card-desc { color: rgba(255,255,255,0.5); }
.nav-card-dark .nav-card-arrow { color: #fff; }
.nav-card-dark:hover { background: #222; }

.nav-card-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--light);
  margin-bottom: 0.6rem;
}

.nav-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.nav-card-desc {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.nav-card-arrow {
  font-size: 1.1rem;
  margin-top: 0.75rem;
  color: var(--light);
  transition: transform 0.15s;
}

.nav-card:hover .nav-card-arrow { transform: translateX(4px); }

/* ═══ LEGAL PAGES ═══ */
.legal-content {
  max-width: 780px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #333;
}

.legal-content h2 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 2rem 0 0.75rem;
  color: #000;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p { margin-bottom: 0.75rem; }

.legal-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
  font-size: 0.85rem;
}

.legal-content ul li { margin-bottom: 0.35rem; }

/* ═══ TICKER ═══ */
.ticker {
  overflow: hidden;
  white-space: nowrap;
  background: #000;
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  border-bottom: 3px solid #000;
}

.ticker-inner {
  display: inline-block;
  animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-sep {
  display: inline-block;
  margin: 0 2rem;
  opacity: 0.3;
}

/* ═══ COUNTERS ═══ */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 3px solid #000;
}

.counter {
  padding: 1.5rem;
  border-right: 1px solid var(--border-light);
  text-align: center;
}

.counter:last-child { border-right: none; }

.counter-num {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.counter-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
}

/* ═══ TERMINAL ═══ */
.terminal-section {
  background: #000;
  color: #fff;
  padding: 3rem 0;
}

.terminal {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem;
  max-width: 780px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.terminal-title {
  margin-left: 0.5rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
}

.line {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0.15rem;
}

.prompt { color: #fff; font-weight: 600; }

.cursor {
  display: inline-block;
  width: 0.6ch;
  height: 1.1em;
  background: #fff;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }

/* ═══ BOLD BLOCK (legacy, unused) ═══ */

/* ═══ PAGE HEADER ═══ */
.page-header {
  padding: 4rem 0 2.5rem;
  border-bottom: 3px solid #000;
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-intro {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 640px;
}

/* ═══ MANIFESTO ═══ */
.manifesto-text {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.7;
  max-width: 780px;
  font-weight: 500;
}

.manifesto-text strong { font-weight: 700; }

/* ═══ SERVICES GRID ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 3px solid #000;
  margin-top: 1.5rem;
}

.service-card {
  padding: 1.75rem;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }

.service-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--light);
  margin-bottom: 0.75rem;
}

.service-title {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #333;
}

/* ═══ PROCESS ═══ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 1.5rem;
}

.process-step {
  border-left: 3px solid #000;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
}

.process-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ═══ TWO-COL ═══ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1.5rem;
}

.two-col p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: #222;
  margin-bottom: 0.75rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.pill {
  border: 2px solid #000;
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.pill:hover { background: #000; color: #fff; }

/* ═══ CASES ═══ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 3px solid #000;
  margin-top: 1.5rem;
}

.case-card {
  padding: 2rem;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.case-card:nth-child(2n) { border-right: none; }
.case-card:nth-last-child(-n+2) { border-bottom: none; }

.case-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 0.6rem;
}

.case-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.case-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 0.75rem;
}

.case-result {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--border-light);
  padding-top: 0.6rem;
}

/* ═══ PRINCIPLES ═══ */
.principles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  margin-top: 1.5rem;
}

.principle {
  border-left: 3px solid #000;
  padding-left: 1.25rem;
}

.principle-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.principle-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ═══ PRICING ═══ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 3px solid #000;
  margin-top: 1.5rem;
}

.pricing-card {
  padding: 2rem;
  border-right: 1px solid var(--border-light);
}

.pricing-card:last-child { border-right: none; }
.pricing-card.featured { background: #000; color: #fff; }

.pricing-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light);
}

.pricing-card.featured .pricing-label { color: rgba(255,255,255,0.5); }

.pricing-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pricing-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 1.25rem;
}

.pricing-card.featured .pricing-desc { color: rgba(255,255,255,0.7); }

.pricing-includes {
  list-style: none;
  font-size: 0.78rem;
  line-height: 2;
  color: var(--muted);
}

.pricing-card.featured .pricing-includes { color: rgba(255,255,255,0.6); }
.pricing-includes li::before { content: "→ "; font-weight: 700; }
.pricing-card.featured .pricing-includes li::before { color: #fff; }

/* ═══ FAQ ═══ */
.faq-list { margin-top: 1.5rem; max-width: 780px; }

.faq-item { border-bottom: 1px solid var(--border-light); padding: 1.25rem 0; }

.faq-q {
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-q::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-top: 0;
}

.faq-item.open .faq-a { max-height: 300px; padding-top: 0.75rem; }

/* ═══ CONTACT SECTION (legacy, unused) ═══ */

/* ═══ CONTENT BLOCKS ═══ */
.content-block {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #222;
  max-width: 780px;
}

.content-block p { margin-bottom: 1rem; }
.content-block strong { font-weight: 700; color: #000; }

/* ═══ UNIFIED FOOTER ═══ */
.site-footer {
  background: #000;
  color: #fff;
  margin-top: auto;
}

.footer-quote {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.65;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-quote strong {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 3rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-cta {}

.footer-headline {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-sub {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  max-width: 440px;
}

.footer-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.15s;
}

.footer-nav a:hover { color: #fff; }

.footer-contact {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}

.footer-contact code {
  background: rgba(255,255,255,0.08);
  padding: 0.15rem 0.3rem;
  color: #fff;
  font-weight: 500;
}

.footer-contact p { margin-bottom: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom a:hover { color: #fff; }

/* ═══ MOBILE ═══ */
@media (max-width: 900px) {
  .nav-grid { grid-template-columns: 1fr 1fr; }
  .nav-card:nth-child(4n) { border-right: 1px solid var(--border-light); }
  .nav-card:nth-child(2n) { border-right: none; }
  .nav-card:nth-last-child(-n+4) { border-bottom: 1px solid var(--border-light); }
  .nav-card:nth-last-child(-n+2) { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }
  .service-card:last-child { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none !important; border-bottom: 1px solid var(--border-light); }
  .pricing-card:last-child { border-bottom: none; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card { border-right: none !important; }
  .case-card:last-child { border-bottom: none; }
  .principles-list { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr 1fr; }
  .counter:nth-child(2) { border-right: none; }
  .counter:nth-child(1), .counter:nth-child(2) { border-bottom: 1px solid var(--border-light); }
}

@media (max-width: 768px) {
  nav { padding: 0.6rem 1.25rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    border-bottom: 3px solid #333;
  }
  .hamburger { display: block; }
  .container { padding: 0 1.25rem; }
  .section-pad { padding-top: 3rem; padding-bottom: 3rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero-viewport { min-height: calc(100vh - 36px); }
  .hero-statement { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  .nav-grid { grid-template-columns: 1fr; }
  .nav-card { border-right: none !important; }
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .page-header { padding: 3rem 0 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.25rem; }
  .footer-quote { padding: 2rem 1.25rem; font-size: 0.95rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 1.25rem;
  }
  .footer-legal { justify-content: center; }
}
