.landing-header,
.shared-header,
.shared-footer {
  --shared-coral: #d96c5d;
  --shared-coral-dark: #bd574b;
  --shared-ink: #20242c;
  --shared-muted: #69707c;
  --shared-line: #e9e6e3;
  --shared-soft: #f8f7f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(233, 230, 227, .82);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
}

.landing-header-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--shared-ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.35px;
  line-height: 1;
}

.landing-brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: block;
  border-radius: 2px 19px 9px 3px;
  object-fit: contain;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

.landing-nav a {
  color: #59606c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.landing-nav a:hover {
  color: var(--shared-coral-dark);
}

.landing-nav .landing-nav-cta {
  padding: 9px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--shared-coral);
}

.landing-nav .landing-nav-cta:hover {
  color: #fff;
  background: var(--shared-coral-dark);
}

.shared-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: #fff;
  background: var(--shared-coral);
  box-shadow: 0 2px 10px rgba(87, 46, 41, .12);
}

.shared-header-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 64px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.shared-brand,
.shared-footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.35px;
  line-height: 1;
}

.shared-brand {
  flex: 0 0 auto;
  gap: 10px;
  color: #fff;
  font-size: 18px;
}

.shared-brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: block;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 2px 19px 9px 3px;
  background: rgba(255, 255, 255, .95);
  object-fit: contain;
}

.shared-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.shared-nav a {
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.shared-nav a:hover,
.shared-nav a.active {
  color: #fff;
}

.shared-nav a.active {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .7);
  text-underline-offset: 6px;
}

.shared-nav .shared-dashboard-link {
  padding: 8px 13px;
  border-radius: 6px;
  color: var(--shared-ink);
  background: #fff;
  text-decoration: none;
}

.shared-menu {
  display: none;
  border: 0;
  padding: 6px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}

.shared-footer {
  padding: 48px max(24px, calc((100vw - 1160px) / 2)) 30px;
  border-top: 1px solid var(--shared-line);
  color: var(--shared-muted);
  background: var(--shared-soft);
}

.shared-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.shared-footer-brand {
  gap: 10px;
  color: var(--shared-ink);
  font-size: 18px;
}

.shared-footer-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: block;
  object-fit: contain;
}

.shared-footer-summary p {
  max-width: 420px;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.shared-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.shared-footer-links a {
  color: #5f6671;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
}

.shared-footer-links a:hover {
  color: var(--shared-coral-dark);
}

.shared-footer-legal {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--shared-line);
  color: #90959e;
  font-size: 10px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .landing-nav a[href^="#"] {
    display: none;
  }

  .shared-menu {
    display: block;
  }

  .shared-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 13px 20px 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    background: var(--shared-coral);
    box-shadow: 0 8px 14px rgba(87, 46, 41, .13);
  }

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

  .shared-nav a {
    padding: 9px 0;
  }

  .shared-nav .shared-dashboard-link {
    padding: 9px 12px;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .landing-header-inner {
    width: calc(100% - 28px);
    min-height: 64px;
  }

  .landing-nav {
    gap: 8px;
  }

  .landing-nav a {
    display: none;
  }

  .landing-nav a[href="/login"],
  .landing-nav .landing-nav-cta {
    display: inline-flex;
  }

  .landing-nav a[href="/login"] {
    padding: 8px;
  }

  .landing-nav .landing-nav-cta {
    padding: 8px 10px;
  }

  .shared-header-inner {
    width: calc(100% - 28px);
  }

  .shared-footer-inner {
    flex-direction: column;
  }

  .shared-footer-links {
    justify-content: flex-start;
  }
}
