/* ============================================================
   VERRO — COMPONENTS
   Site nav · Footer · Inner page hero · Shared patterns
   ============================================================ */

/* ── Site header / nav ────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo__mark {
  width: 32px;
  height: 32px;
}

.nav-logo__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--ink);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.14s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s2);
  color: var(--ink);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--s6) 0 var(--s8);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  display: block;
  padding: var(--s3) 0;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}

.nav-mobile a:last-child { border-bottom: none; }

.nav-mobile .btn {
  margin-top: var(--s6);
  text-align: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Site footer ──────────────────────────────────── */
.site-footer {
  background: var(--fairway);
  color: var(--mist);
  padding: var(--s24) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s16);
  padding-bottom: var(--s16);
  border-bottom: 1px solid rgba(237, 234, 226, 0.12);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s10);
  }
  .footer-brand { grid-column: 1 / -1; }
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s6);
}

.footer-logo__mark { width: 28px; height: 28px; }

.footer-logo__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--mist);
}

.footer-tagline {
  font-family: 'Newsreader', serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(237, 234, 226, 0.60);
  max-width: 280px;
}

.footer-col h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bentgrass-on-dark);
  margin-bottom: var(--s5);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--s3); }

.footer-col a {
  font-size: 14px;
  color: rgba(237, 234, 226, 0.70);
  text-decoration: none;
  transition: color 0.14s;
}

.footer-col a:hover { color: var(--mist); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s6) 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-tertiary-on-dark);
  flex-wrap: wrap;
  gap: var(--s4);
}

.footer-bottom-links {
  display: flex;
  gap: var(--s6);
}

.footer-bottom-links a {
  color: var(--text-tertiary-on-dark);
  text-decoration: none;
  transition: color 0.14s;
}

.footer-bottom-links a:hover { color: rgba(237, 234, 226, 0.70); }

/* ── Inner page hero ──────────────────────────────── */
.page-hero {
  padding: var(--s20) 0 var(--s16);
  border-bottom: 1px solid var(--hairline);
}

.page-hero .eyebrow { margin-bottom: var(--s5); }

.page-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: var(--s6);
}

.page-hero__title em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
}

.page-hero__desc {
  font-family: 'Newsreader', serif;
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ── Feature / module images ──────────────────────── */
/* Wraps real UI screenshot SVGs on features page and homepage */
.feature-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(20, 32, 27, 0.12);
  background: #E8E4DB;
  max-width: 960px;
  margin: var(--s12) auto 0;
}

.feature-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Phone-frame images (480×900 aspect) */
.feature-image-wrap--phone {
  max-width: 320px;
  border-radius: 20px;
}

.feature-image-wrap--phone-lg {
  max-width: 420px;
}

/* Two-up: browser + phone side by side */
.feature-image-pair {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 20px;
  align-items: end;
  margin-top: var(--s12);
}

@media (max-width: 768px) {
  .feature-image-pair {
    grid-template-columns: 1fr;
  }
  .feature-image-pair .feature-image-wrap--phone {
    max-width: 280px;
    margin: 0 auto;
  }
  .feature-image-wrap {
    border-radius: 12px;
    margin-top: var(--s8);
  }
}

/* On dark (add-on) section backgrounds, deepen the shadow */
.module-section--addon .feature-image-wrap {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.30);
}

/* ── Coming soon stub ─────────────────────────────── */
.stub-section {
  padding: var(--s24) 0;
  text-align: center;
}

.stub-section p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

/* ── Generic content section spacing ─────────────── */
.content-section {
  padding: var(--section-v) 0;
}

.content-section--dark {
  background: var(--ink);
  color: var(--mist);
}

.content-section--dark .section-title { color: var(--mist); }

.content-section--dark .section-desc { color: rgba(237, 234, 226, 0.65); }

.content-section--fairway {
  background: var(--fairway);
  color: var(--mist);
}

.content-section--fairway .section-title { color: var(--mist); }

.content-section--fairway .section-desc { color: rgba(237, 234, 226, 0.65); }

.content-section--paper {
  background: var(--paper);
}

.content-section--mist {
  background: var(--mist);
}
