/* ============================================================
   SIGNALA — style.css
   Design benchmark: harvey.ai — restraint, confidence, space
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background: #1A1A1A;
  color: #1A1A1A;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

/* No rounded corners anywhere */
*, *::before, *::after {
  border-radius: 0 !important;
}

/* --- Navigation ------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 8% 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 1);
}

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 10px 24px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.nav-cta:hover {
  background: #ffffff;
  color: #1A1A1A;
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #ffffff;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1A1A1A;
  z-index: 99;
  flex-direction: column;
  padding: 48px 8%;
  gap: 32px;
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay-link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav-overlay-link:hover {
  color: #ffffff;
}

/* --- Hero ------------------------------------------------- */

.hero {
  position: relative;
  background: #1A1A1A;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 148px 8% 80px;
}

.hero-partner {
  position: absolute;
  top: 148px;
  right: 8%;
  text-align: right;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hero-partner:hover .hero-partner-logo {
  opacity: 1;
}

.hero-partner-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.hero-partner-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  display: block;
  margin-left: auto;
}

.hero-inner {
  max-width: 1200px;
  padding-top: 20vh;
}

/* Eyebrow */
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Blinking cursor */
.cursor {
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
  animation: blink 1s step-start infinite;
}

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

/* Headline */
.hero-headline {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 80px;
  color: #ffffff;
  line-height: 1.05;
  max-width: 680px;
}

/* Subheadline */
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  line-height: 1.7;
  margin-top: 28px;
}

/* CTA buttons — shared style */
.btn-outline {
  display: inline-block;
  margin-top: 48px;
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  background: #ffffff;
  color: #1A1A1A;
}

.btn-solid {
  display: inline-block;
  margin-top: 48px;
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #1A1A1A;
  border: 1.5px solid #ffffff;
  background: #ffffff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-solid:hover {
  background: transparent;
  color: #ffffff;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-ctas .btn-solid,
.hero-ctas .btn-outline {
  margin-top: 48px;
}

/* --- Founder Credibility ---------------------------------- */

.founder {
  background: #ffffff;
  padding: 120px 8%;
}

.founder-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1100px;
}

.founder-photo {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.founder-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #1B4D3E;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.founder-quote {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 24px;
  color: #1A1A1A;
  line-height: 1.5;
  max-width: 100%;
  font-style: normal;
}

.founder-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1A1A1A;
  margin-top: 24px;
  margin-bottom: 0;
}

.founder-role {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #666;
  margin: 4px 0 0 0;
  line-height: 1.5;
}

.founder-credentials {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: #999;
  margin: 8px 0 0 0;
  line-height: 1.6;
}

/* --- Testimonial ------------------------------------------ */

.testimonial {
  background: #F5F1EA;
  padding: 120px 8%;
}

.testimonial-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
  max-width: 1100px;
}

.testimonial-photo {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.testimonial-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #1B4D3E;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 24px;
  color: #1A1A1A;
  line-height: 1.5;
  max-width: 100%;
  margin: 0;
  font-style: normal;
}

.testimonial-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.testimonial-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.testimonial-logo-link:hover {
  opacity: 0.7;
}

.testimonial-logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1A1A1A;
}

.testimonial-role {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #666;
  margin: 4px 0 0 0;
  line-height: 1.5;
}

.testimonial-deal {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #999;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 10px 0 0 0;
  line-height: 1.5;
}

/* --- Final CTA -------------------------------------------- */

.cta-section {
  background: #1A1A1A;
  padding: 140px 8%;
}

.cta-inner {
  max-width: 1100px;
}

.cta-headline {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 48px;
  color: #ffffff;
  line-height: 1.1;
  max-width: 560px;
}

.cta-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 420px;
  margin-top: 20px;
  line-height: 1.7;
}

/* Override button margin for CTA section */
.cta-section .btn-outline,
.cta-section .btn-solid {
  margin-top: 40px;
}

.cta-demo-link {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 20px;
}

.cta-demo-link a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-demo-link a:hover {
  color: #ffffff;
}

/* --- Footer ----------------------------------------------- */

.footer {
  background: #1A1A1A;
  padding: 48px 8%;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: 1100px;
}

.footer-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-row-top img {
  height: 24px;
  width: auto;
}

.footer-link {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-row-bottom {
  margin-top: 24px;
  text-align: center;
}

.footer-legal {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.6;
}

/* --- Responsive ------------------------------------------- */

/* 1024px and below — adjust spacing */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 64px;
  }

  .founder-inner {
    grid-template-columns: 240px 1fr;
    gap: 56px;
  }

  .founder-photo {
    width: 240px;
    height: 240px;
  }

  .testimonial-inner {
    grid-template-columns: 1fr 240px;
    gap: 56px;
  }

  .testimonial-photo {
    width: 240px;
    height: 240px;
  }
}

/* 768px — tablet */
@media (max-width: 768px) {
  .nav {
    padding: 20px 6% 12px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 6% 72px;
  }

  .hero-partner {
    top: 100px;
    right: 6%;
  }

  .hero-partner-logo {
    height: 40px;
  }

  .hero-headline {
    font-size: 44px;
    max-width: 100%;
  }

  .hero-sub {
    font-size: 16px;
    max-width: 100%;
  }

  .founder {
    padding: 80px 6%;
  }

  .founder-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-photo {
    width: 100%;
    max-width: 300px;
    height: 300px;
  }

  .testimonial {
    padding: 80px 6%;
  }

  .testimonial-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial-photo-col {
    order: -1;
  }

  .testimonial-photo {
    width: 100%;
    max-width: 300px;
    height: 300px;
  }

  .cta-section {
    padding: 100px 6%;
  }

  .cta-headline {
    font-size: 32px;
  }

  .footer {
    padding: 40px 6%;
  }

  .footer-row-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* 375px — mobile */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .founder-photo {
    max-width: 100%;
    height: 260px;
  }

  .founder-quote {
    font-size: 20px;
  }

  .testimonial-quote {
    font-size: 20px;
  }

  .testimonial-photo {
    max-width: 100%;
    height: 260px;
  }

  .cta-headline {
    font-size: 28px;
  }
}
