/* ---------------------------------------------------------------
   OurLifeVault marketing site — design tokens from
   "OurLifeVault Brand Guidelines" (Navy / Teal / Slate palette,
   Poppins headlines, Inter body copy).
------------------------------------------------------------------ */

:root {
  --navy: #103e73;
  --navy-dark: #0b2c53;
  --teal: #19b7b3;
  --teal-light: #7dd9d2;
  --slate: #273444;
  --white: #ffffff;

  --ink: var(--slate);
  --ink-muted: #5b6675;
  --surface: #ffffff;
  --surface-tint: #f4f9f9;
  --border: #e2e8ee;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-num: "IBM Plex Sans", "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 62, 115, 0.06), 0 1px 1px rgba(16, 62, 115, 0.04);
  --shadow-md: 0 12px 32px rgba(16, 62, 115, 0.12);
  --shadow-lg: 0 24px 64px rgba(16, 62, 115, 0.18);

  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.65;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #149490;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--surface-tint);
}

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

.btn-on-dark:hover {
  background: var(--teal-light);
  color: var(--navy-dark);
}

.btn-outline-on-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-on-dark:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

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

.brand img {
  width: 34px;
  height: 34px;
}

.brand-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.brand-word span {
  color: var(--teal);
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
}

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 96px;
  background: radial-gradient(1100px 480px at 85% -10%, rgba(25, 183, 179, 0.14), transparent),
    linear-gradient(180deg, #ffffff 0%, var(--surface-tint) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  margin-top: 16px;
}

.hero h1 .accent {
  color: var(--teal);
}

.hero p.lead {
  margin-top: 20px;
  font-size: 1.1rem;
  max-width: 52ch;
}

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

.hero-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--teal);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  border: 1px solid var(--border);
  max-width: 420px;
  width: 100%;
}

.hero-visual-card img {
  border-radius: var(--radius-md);
}

/* ---------- theme band (Protect / Organize / Understand / Plan / Preserve) ---------- */

.theme-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  padding: 36px 0;
}

.theme-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.theme-item {
  text-align: center;
  padding: 8px 10px;
  border-right: 1px solid var(--border);
}

.theme-item:last-child {
  border-right: none;
}

.theme-item .ic {
  width: 30px;
  height: 30px;
  margin: 0 auto 10px;
  color: var(--teal);
}

.theme-item h4 {
  font-size: 0.95rem;
}

.theme-item p {
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ---------- section shell ---------- */

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.02rem;
}

.section-tint {
  background: var(--surface-tint);
}

/* ---------- module grid ---------- */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}

.module-card .ic-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(25, 183, 179, 0.14), rgba(16, 62, 115, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.module-card .ic-badge svg {
  width: 22px;
  height: 22px;
  color: var(--navy);
}

.module-card h3 {
  font-size: 1.02rem;
}

.module-card p {
  margin-top: 6px;
  font-size: 0.86rem;
}

/* ---------- security / trust (dark band) ---------- */

.trust-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 96px 0;
}

.trust-band .section-head h2,
.trust-band .section-head .eyebrow {
  color: var(--white);
}

.trust-band .section-head .eyebrow {
  color: var(--teal-light);
}

.trust-band .section-head .eyebrow::before {
  background: var(--teal-light);
}

.trust-band .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 28px;
}

.trust-card .ic {
  width: 30px;
  height: 30px;
  color: var(--teal-light);
  margin-bottom: 16px;
}

.trust-card h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.trust-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* ---------- audience ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.audience-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
}

.audience-card .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(25, 183, 179, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.audience-card h3 {
  font-size: 1.2rem;
}

.audience-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.audience-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.audience-card li svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ---------- final CTA ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--teal) 0%, #12908c 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  margin: 0 24px;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin: 14px auto 0;
}

.cta-band .hero-ctas {
  justify-content: center;
  margin-top: 30px;
}

/* ---------- footer ---------- */

.footer {
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  max-width: 30ch;
}

.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- responsive ---------- */

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

  .hero-visual {
    order: -1;
  }

  .hero-visual-card {
    max-width: 320px;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .theme-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .theme-item:nth-child(3) {
    border-right: none;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.nav-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 16px;
  }

  .nav-links.nav-open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

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

  .nav-actions.nav-open .btn-ghost {
    display: inline-flex;
  }

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

  .theme-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-item:nth-child(3) {
    border-right: 1px solid var(--border);
  }

  .theme-item:nth-child(even) {
    border-right: none;
  }

  .cta-band {
    padding: 48px 24px;
  }
}

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

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

  .section {
    padding: 64px 0;
  }
}
