/* sections.css
   Responsibility: the layout of this page's sections:
   header, hero, apps, about, contact, footer, and their breakpoints.
   Reusable pieces live in components.css. */

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 6, 6, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Hero: the emblem watermark is the one bold element on the page */
.hero {
  position: relative;
  overflow: hidden;
  padding: 116px 0 96px;
}

.hero-mark {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: min(42vw, 450px);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  animation: rise 0.7s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero h1 {
  max-width: 17ch;
}

.hero p {
  max-width: 52ch;
  margin-top: 22px;
  color: var(--text-dim);
  font-size: 19px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Shared section rhythm */
section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  margin-bottom: 14px;
}

.section-lede {
  color: var(--text-dim);
  max-width: 56ch;
  margin-bottom: 44px;
}

/* Apps: the Vaultara panel carries Vaultara's own brand navy */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  background: var(--vaultara-navy);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px;
  margin-bottom: 22px;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature h3 {
  font-size: 28px;
  line-height: 1.15;
}

.tagline {
  color: var(--vaultara-blue);
  font-weight: 600;
  margin-top: 4px;
}

.feature .body {
  color: #C0C6DA;
  margin-top: 16px;
}

.feature .status {
  color: #8A92AC;
  margin-top: 22px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-grid p {
  color: var(--text-dim);
}

/* Contact */
.contact p {
  color: var(--text-dim);
  max-width: 52ch;
}

.contact .btn {
  margin-top: 26px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--black-deep);
  padding: 34px 0;
  font-size: 14px;
  color: var(--text-faint);
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brandline {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* Breakpoints for section layout */
@media (max-width: 760px) {
  .nav-links {
    gap: 18px;
  }
  .hero {
    padding: 84px 0 68px;
  }
  .hero-mark {
    width: 62vw;
    right: -18vw;
    opacity: 0.05;
  }
  .feature {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 64px 0;
  }
}