:root {
  --red: #DA3232;
  --red-light: #DA323210;
  --black: #111111;
  --surface: #FFFFFF;
  --border: #da323251;
  --text: #111111;
  --muted: #625f5b;
  --muted2: #C2BFB9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, rgba(218, 50, 50, 0.05) 100%);
  background-attachment: fixed;
  background-size: 100% 200%;
  background-position: 0% 0%;
  animation: gradientDrift 6s ease-in-out infinite;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@keyframes gradientDrift {
  0% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 0% 0%;
  }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  height: 2rem;
  margin: -0.2rem -0.4rem;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--black);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
}

.logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
}

.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: contain;
}

.logo-img.jumped {
  transform: translateY(-5px);
}

.hero-title {
  width: 100%;
  max-width: 600px;
  height: auto;
}

@media (max-width: 768px) {
  .hero-title {
    max-width: 280px;
  }
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: var(--black);
  max-width: 460px;
  margin: 0 auto 2.8rem;
  font-weight: 500;
}

.cta-group {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1.5px solid var(--red);
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.1);
}

.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.2);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  color: var(--red);
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.1);
  border: 1.5px solid transparent;
}

.btn-outline:hover {
  background: var(--red-light);
  border-color: var(--red);
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.2);
  transform: translateY(-1px);
}

/* ── SECTIONS ── */
section {
  max-width: 860px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-label {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2 {
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 1.5rem;
}

h2 em {
  color: var(--red);
  font-style: normal;
}

p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

/* ── STAT STRIP ── */
.stat-grid {
  position: relative;
  height: 200px;
  display: flex;
  gap: 1rem;
  margin: 2rem -12vw;
}

.stat {
  position: absolute;
  width: 23%;
  padding: 1.5rem 1.5rem;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  color: var(--black);
  transition: color 0.2s, transform 0.2s ease, box-shadow 0.2s;
}

.stat:hover {
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.2);
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--black);
}

.stat-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.stat-connectors line {
  stroke: rgba(218, 50, 50, 0.3);
  stroke-width: 1.5px;
  stroke-dasharray: 4 4;
}

@media (max-width: 800px) {
  .stat-grid {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem auto;
  }

  .stat-connectors {
    display: none;
  }

  .stat {
    position: static;
    width: 100%;
  }
}

/* ── FEATURES ── */
.features-container {
  display: flex;
  gap: 2rem;
  margin-right: -5rem;
  align-items: center;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border-radius: 10px;
  padding: 1.3rem 1.8rem;
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.1);
  transition: color 0.2s, transform 0.2s ease, box-shadow 0.2s;
}

.feature:hover {
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.2);
  color: var(--red);
  transform: translateX(-2px);
}

.feature-num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-desc {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  width: 70%;
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .features-container {
    flex-direction: column;
    margin: 1rem auto;
  }
}

.mockup-wrapper {
  position: relative;
  height: 600px;
  flex-shrink: 0;
}

.mockup {
  height: 600px;
  margin: 0 auto;
}

.mockup-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mockup-img--active {
  opacity: 1;
}

.mockup-img--hover {
  opacity: 0;
}

/* ── DIVIDER ── */
hr.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 860px;
  margin: 0 auto;
}

/* ── FOUNDER ── */
.founder-block p strong {
  color: var(--black);
  font-weight: 600;
}

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.1);
  overflow: hidden;
  color: var(--black);
  transition: color 0.2s, transform 0.2s ease, box-shadow 0.2s;
}

.team-card:hover {
  box-shadow: 0 4px 18px rgba(218, 50, 50, 0.2);
  color: var(--red);
  transform: translateY(-2px);
}

.team-headshot {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--bg);
}

.team-headshot-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f0efed 0%, #e8e6e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-headshot-placeholder svg {
  opacity: 0.25;
}

.team-info {
  padding: 0.9rem 1.2rem 1.2rem;
}

.team-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.team-title {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem 2rem;
  max-width: 100%;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  height: 1.6rem;
  margin: -0.2rem -0.4rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-copy {
  width: 100%;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted2);
}

/* ── SCROLL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

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

  .stat-strip {
    grid-template-columns: 1fr;
  }

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