/* EXEIO CORP. — MVP corporate site */

:root {
  --dark: #050706;
  --light: #f4f3ef;

  --green: #7ce8a4;
  --green-deep: #1d9e5f;
  --green-glow: rgba(46, 180, 106, 0.35);

  --red: #cd3f3f;
  --red-light: #e05252;

  --text-on-dark: #eef2ef;
  --text-on-dark-muted: rgba(238, 242, 239, 0.6);
  --text-on-light: #15171a;
  --text-on-light-muted: rgba(21, 23, 26, 0.6);

  --card-border: rgba(21, 23, 26, 0.08);
  --card-shadow: 0 20px 60px rgba(21, 23, 26, 0.08);

  --max-width: 1400px;
  --pad: 52px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-on-light);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--green-deep);
  margin: 0 0 16px;
}

section.dark .eyebrow,
.dark .eyebrow {
  color: var(--green);
}

/* Dark section base */

.dark {
  background: var(--dark);
  color: var(--text-on-dark);
}

.dark p,
.dark .lead {
  color: var(--text-on-dark-muted);
}

/* Header */

.site-header {
  position: relative;
  z-index: 2;
  background: var(--dark);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 34px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}

.brand span {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text-on-dark);
}

.site-header nav a {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-left: 32px;
  color: var(--text-on-dark-muted);
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--green);
}

/* Hero */

.hero {
  position: relative;
  padding: 88px 0 120px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-glow) 0%, rgba(46, 180, 106, 0) 68%);
  pointer-events: none;
  animation: pulse 7s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

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

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 24px;
  max-width: 800px;
  letter-spacing: -0.01em;
  animation: float 6s ease-in-out infinite;
}

.hero .lead {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 0 36px;
}

/* Buttons */

.btn {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 16px 30px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--green-glow);
}

.btn-dark {
  background: var(--dark);
  color: var(--text-on-dark);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(5, 7, 6, 0.25);
}

/* Sections */

section {
  padding: 96px 0;
}

section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

section > .wrap > p {
  max-width: 680px;
  font-size: 1.05rem;
  color: var(--text-on-light-muted);
}

/* Reveal on scroll */

.reveal.reveal-armed {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.reveal-armed.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero h1,
  .hero-glow {
    animation: none;
  }
}

/* Services list */

.services {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services li {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 32px 28px;
}

.services h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.services p {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: 0.95rem;
}

/* Book cards */

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.book-card {
  display: flex;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 28px;
}

.book-card img {
  width: 110px;
  height: 165px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 12px 24px rgba(21, 23, 26, 0.18);
}

.book-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.book-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-deep);
  margin: 0 0 14px;
}

.book-card p:last-child {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: 0.95rem;
}

/* People cards */

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.person-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 28px;
}

.person-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--light);
  box-shadow: 0 12px 24px rgba(21, 23, 26, 0.18);
}

.person-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.person-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-deep);
  margin: 0 0 14px;
}

.person-card p:last-child {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: 0.95rem;
}

/* Contact */

.contact-box {
  background: var(--dark);
  border: 1px solid rgba(238, 242, 239, 0.1);
  border-radius: 18px;
  padding: 40px;
  max-width: 520px;
  margin-top: 24px;
}

.contact-box .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-on-dark-muted);
  margin: 0 0 10px;
}

.contact-box .email {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}

/* Footer */

.site-footer {
  padding: 40px 0;
  background: var(--dark);
  color: var(--text-on-dark);
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--text-on-dark-muted);
}

.site-footer nav a {
  color: var(--text-on-dark-muted);
  margin-left: 24px;
  transition: color 0.2s ease;
}

.site-footer nav a:first-child {
  margin-left: 0;
}

.site-footer nav a:hover {
  color: var(--green);
}

/* Legal page */

.legal {
  padding: 72px 0 110px;
}

.legal h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0 0 44px;
}

.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 44px 0 14px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  color: var(--text-on-light-muted);
  max-width: 680px;
}

.legal dl {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px 20px;
  max-width: 680px;
  margin: 0;
}

.legal dt {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-light-muted);
  padding-top: 2px;
}

.legal dd {
  margin: 0;
}

.legal dd a {
  color: var(--green-deep);
}

.legal dd a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-on-light-muted);
  margin-bottom: 16px;
}

.back-link:hover {
  color: var(--green-deep);
}

/* Responsive */

@media (max-width: 900px) {
  :root {
    --pad: 24px;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-glow {
    width: 600px;
    height: 600px;
    top: -160px;
  }

  section {
    padding: 64px 0;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .book-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .book-card,
  .person-card {
    flex-direction: column;
  }

  .person-card {
    align-items: center;
    text-align: center;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-header nav a {
    margin-left: 0;
    margin-right: 20px;
  }

  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav a {
    margin-left: 0;
    margin-right: 20px;
  }

  .legal dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .legal dt {
    margin-top: 14px;
  }
}
